/*!
 * OPD polish — tiered services, hours, hero product, info rail,
 * family typography, empty states, footer, micro-motion, mobile fold.
 */
body.skin-magz[data-opd-theme] .opd-layout {
    --opd-space: clamp(1rem, 2.5vw, 2rem);
    --opd-radius: .85rem;
    --opd-ink: #0f172a;
    --opd-muted: #475569;
}

/* Family typography / spacing */
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="health"] {
    --opd-radius: .65rem;
    letter-spacing: .01em;
}
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="forest"],
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="agri"],
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="culture"] {
    --opd-radius: 1.15rem;
}
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="forest"] .opd-svc__title,
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="agri"] .opd-svc__title,
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="culture"] .opd-svc__title {
    letter-spacing: -.01em;
}
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="digital"] {
    --opd-radius: .5rem;
}
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="digital"] .opd-svc__grid {
    gap: .75rem;
}
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="emergency"] .opd-hours__status {
    background: #fee2e2;
    color: #991b1b;
}
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="finance"] .opd-svc__card,
body.skin-magz[data-opd-theme] .opd-layout[data-opd-scene="security"] .opd-svc__card {
    border-radius: .4rem;
}

/* Service cards tiered */
body.skin-magz[data-opd-theme] .opd-svc {
    padding: var(--opd-space);
    max-width: 1600px;
    margin: 0 auto;
}
body.skin-magz[data-opd-theme] .opd-svc__head { margin-bottom: 1rem; }
body.skin-magz[data-opd-theme] .opd-svc__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary, #900000);
}
body.skin-magz[data-opd-theme] .opd-svc__lead {
    margin: .35rem 0 0;
    color: var(--opd-muted);
    font-size: .92rem;
}
body.skin-magz[data-opd-theme] .opd-svc__grid {
    display: grid;
    grid-template-columns: repeat(var(--opd-svc-cols, 3), minmax(0, 1fr));
    gap: 1rem;
}
body.skin-magz[data-opd-theme] .opd-svc__card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .9rem;
    align-items: start;
    padding: 1.05rem 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--opd-radius);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.skin-magz[data-opd-theme] .opd-svc__card--primary {
    border-color: color-mix(in srgb, var(--color-primary) 35%, #e2e8f0);
    background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--opd-scene-surface, #f8fafc) 70%, #fff));
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}
body.skin-magz[data-opd-theme] .opd-svc__card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}
body.skin-magz[data-opd-theme] .opd-svc__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .65rem;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: color-mix(in srgb, var(--color-primary) 12%, #fff);
    color: var(--color-primary);
}
body.skin-magz[data-opd-theme] .opd-svc__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .35rem;
}
body.skin-magz[data-opd-theme] .opd-svc__badge,
body.skin-magz[data-opd-theme] .opd-svc__prio {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .2rem .45rem;
    border-radius: .35rem;
}
body.skin-magz[data-opd-theme] .opd-svc__badge--online { background: #dcfce7; color: #166534; }
body.skin-magz[data-opd-theme] .opd-svc__badge--loket { background: #e2e8f0; color: #334155; }
body.skin-magz[data-opd-theme] .opd-svc__badge--siaga { background: #fee2e2; color: #991b1b; }
body.skin-magz[data-opd-theme] .opd-svc__badge--dokumen { background: #e0f2fe; color: #075985; }
body.skin-magz[data-opd-theme] .opd-svc__badge--survei { background: #fef3c7; color: #92400e; }
body.skin-magz[data-opd-theme] .opd-svc__prio { background: var(--color-secondary, #FCA416); color: #111; }
body.skin-magz[data-opd-theme] .opd-svc__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--opd-ink);
    line-height: 1.3;
}
body.skin-magz[data-opd-theme] .opd-svc__blurb {
    margin: .35rem 0 .55rem;
    font-size: .84rem;
    color: var(--opd-muted);
    line-height: 1.45;
}
body.skin-magz[data-opd-theme] .opd-svc__cta {
    font-size: .82rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* Hours strip */
body.skin-magz[data-opd-theme] .opd-hours {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    align-items: center;
    margin-top: .95rem;
    padding: .7rem .85rem;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
}
body.skin-magz[data-opd-theme] .opd-split-hero .opd-hours,
body.skin-magz[data-opd-theme] .opd-organic-hero .opd-hours,
body.skin-magz[data-opd-theme] .opd-layout--induk .opd-hours {
    background: #fff;
    border-color: #e2e8f0;
    color: var(--opd-ink);
}
body.skin-magz[data-opd-theme] .opd-hours__status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: .78rem;
}
body.skin-magz[data-opd-theme] .opd-hours__status.is-closed {
    background: #fee2e2;
    color: #991b1b;
}
body.skin-magz[data-opd-theme] .opd-hours__status--siaga {
    background: #fee2e2;
    color: #991b1b;
}
body.skin-magz[data-opd-theme] .opd-hours__status--online {
    background: #e0f2fe;
    color: #075985;
}
body.skin-magz[data-opd-theme] .opd-hours__dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent);
}
body.skin-magz[data-opd-theme] .opd-hours__label {
    margin: 0;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .8;
}
body.skin-magz[data-opd-theme] .opd-hours__detail {
    margin: .1rem 0 0;
    font-size: .9rem;
    font-weight: 700;
}
body.skin-magz[data-opd-theme] .opd-hours__holiday {
    margin: .25rem 0 0;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: .88;
}
body.skin-magz[data-opd-theme] .opd-hours__phone {
    margin-left: auto;
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

/* Hero product */
body.skin-magz[data-opd-theme] .opd-hero-product {
    margin: 0;
    position: relative;
    border-radius: var(--opd-hero-radius, 1rem);
    overflow: hidden;
    isolation: isolate;
    min-height: 220px;
    background: linear-gradient(145deg, var(--color-primary), var(--opd-scene-accent, var(--color-secondary)));
    box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}
body.skin-magz[data-opd-theme] .opd-hero-product__media {
    position: relative;
    aspect-ratio: var(--opd-hero-ratio, 21/9);
    min-height: 220px;
    max-height: min(52vh, 520px);
}
body.skin-magz[data-opd-theme] .opd-hero-product__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 1;
}

/* Welcome / slider banners: natural aspect, full width — never crop or letterbox sides */
body.skin-magz[data-opd-theme] .opd-hero-product--fit-banner {
    background:
        radial-gradient(120% 80% at 50% 100%, color-mix(in srgb, var(--color-primary, #900000) 35%, #0b1220), transparent 70%),
        linear-gradient(180deg, #0f172a, #0b1220);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}
body.skin-magz[data-opd-theme] .opd-hero-product--fit-banner .opd-hero-product__media {
    aspect-ratio: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    height: auto !important;
}
body.skin-magz[data-opd-theme] .opd-hero-product--fit-banner .opd-hero-product__img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    vertical-align: middle;
}
body.skin-magz[data-opd-theme] .opd-fold-hero--cinema .opd-fold-hero__media--full,
body.skin-magz[data-opd-theme] .opd-split-hero--cinema .opd-split-hero-media--full,
body.skin-magz[data-opd-theme] .opd-organic-hero--cinema .opd-organic-hero-media--full {
    max-width: none;
    margin: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.skin-magz[data-opd-theme] .opd-fold-hero--cinema .opd-hero-product--fit-banner,
body.skin-magz[data-opd-theme] .opd-split-hero--cinema .opd-hero-product--fit-banner,
body.skin-magz[data-opd-theme] .opd-organic-hero--cinema .opd-hero-product--fit-banner {
    border-radius: 0;
    --opd-hero-radius: 0;
}
body.skin-magz[data-opd-theme] .opd-hero-product__fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: stretch;
}
body.skin-magz[data-opd-theme] .opd-hero-product__media:not(.is-fallback) .opd-hero-product__fallback {
    opacity: 0;
    pointer-events: none;
}
body.skin-magz[data-opd-theme] .opd-hero-product__media.is-fallback .opd-hero-product__fallback {
    opacity: 1;
}
body.skin-magz[data-opd-theme] .opd-hero-product__fallback .opd-illustration,
body.skin-magz[data-opd-theme] .opd-hero-product__fallback .opd-illustration__svg {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 220px;
    border-radius: 0 !important;
    margin: 0 !important;
}
body.skin-magz[data-opd-theme] .opd-hero-product__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem 1.15rem 1.1rem;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .82));
    color: #fff;
    display: grid;
    gap: .2rem;
}
body.skin-magz[data-opd-theme] .opd-hero-product__kicker {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-secondary, #FCA416);
}
body.skin-magz[data-opd-theme] .opd-hero-product__title {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.25;
}
body.skin-magz[data-opd-theme] .opd-hero-product__text {
    font-size: .88rem;
    opacity: .9;
    max-width: 42rem;
}

/* Info rail (pengumuman + dokumen) */
body.skin-magz[data-opd-theme] .opd-info-rail--docs-only {
    grid-template-columns: 1fr;
}
body.skin-magz[data-opd-theme] .opd-info-rail__col {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--opd-radius);
    padding: 1rem 1.1rem 1.15rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}
body.skin-magz[data-opd-theme] .opd-info-rail__head h2 {
    margin: 0 0 .85rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
}
body.skin-magz[data-opd-theme] .opd-info-rail__list {
    display: grid;
    gap: .55rem;
}
body.skin-magz[data-opd-theme] .opd-info-rail__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .65rem;
    align-items: center;
    padding: .8rem .9rem;
    border-radius: .65rem;
    border: 1px solid #eef2f7;
    border-left: 4px solid var(--color-secondary, #FCA416);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, transform .2s ease;
}
body.skin-magz[data-opd-theme] .opd-info-rail__item:hover {
    border-color: color-mix(in srgb, var(--color-primary) 35%, #e2e8f0);
    transform: translateX(2px);
}
body.skin-magz[data-opd-theme] .opd-info-rail__item--doc {
    border-left-color: #0ea5e9;
}
body.skin-magz[data-opd-theme] .opd-info-rail__tag {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #92400e;
    background: #fef3c7;
    padding: .2rem .4rem;
    border-radius: .3rem;
}
body.skin-magz[data-opd-theme] .opd-info-rail__tag--doc {
    color: #075985;
    background: #e0f2fe;
}
body.skin-magz[data-opd-theme] .opd-info-rail__item-title {
    font-weight: 700;
    color: var(--opd-ink);
    line-height: 1.35;
}
body.skin-magz[data-opd-theme] .opd-info-rail__date {
    font-size: .78rem;
    color: #64748b;
    white-space: nowrap;
}

/* Empty state */
body.skin-magz[data-opd-theme] .opd-empty {
    text-align: center;
    padding: 1.35rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: var(--opd-radius);
    background: color-mix(in srgb, var(--opd-scene-surface, #f8fafc) 80%, #fff);
}
body.skin-magz[data-opd-theme] .opd-empty__mark {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto .75rem;
    border-radius: .65rem;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 25%, transparent), transparent),
        #fff;
    border: 1px solid #e2e8f0;
}
body.skin-magz[data-opd-theme] .opd-empty__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--opd-ink);
}
body.skin-magz[data-opd-theme] .opd-empty__text {
    margin: .4rem auto 0;
    max-width: 28rem;
    color: var(--opd-muted);
    font-size: .9rem;
    line-height: 1.5;
}
body.skin-magz[data-opd-theme] .opd-empty__action {
    display: inline-block;
    margin-top: .85rem;
    padding: .45rem .85rem;
    border-radius: .5rem;
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    font-size: .85rem;
}

/* OPD pejabat: compact regional */
body.skin-magz[data-opd-theme] .hz-leaders--opd .hz-agency--featured .hz-agency__photo img {
    width: 200px;
    height: 200px;
}
body.skin-magz[data-opd-theme] .hz-regional-compact {
    padding: .85rem 1rem;
    border-radius: .85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
body.skin-magz[data-opd-theme] .hz-regional-compact__label {
    margin: 0 0 .55rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
}
body.skin-magz[data-opd-theme] .hz-regional-compact__row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
}
body.skin-magz[data-opd-theme] .hz-regional-compact__card {
    display: flex;
    align-items: center;
    gap: .65rem;
}
body.skin-magz[data-opd-theme] .hz-regional-compact__card img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
}
body.skin-magz[data-opd-theme] .hz-regional-compact__card strong {
    display: block;
    font-size: .9rem;
    color: var(--opd-ink);
}
body.skin-magz[data-opd-theme] .hz-regional-compact__card span {
    display: block;
    font-size: .78rem;
    color: #64748b;
}

/* Footer */
body.skin-magz[data-opd-theme] .opd-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}
body.skin-magz[data-opd-theme] .opd-footer__hours {
    margin: .55rem 0 0;
    opacity: .85;
    font-size: .9rem;
}
body.skin-magz[data-opd-theme] .opd-footer__map {
    color: var(--color-secondary, #FCA416);
    font-weight: 700;
    text-decoration: none;
}
body.skin-magz[data-opd-theme] .opd-footer__map-embed {
    margin-top: .75rem;
    border-radius: .65rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    aspect-ratio: 16 / 9;
    max-width: 28rem;
}
body.skin-magz[data-opd-theme] .opd-footer__map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
body.skin-magz[data-opd-theme] .opd-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .85rem;
}
body.skin-magz[data-opd-theme] .opd-footer__social a {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: .5rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--soc, #64748b) 22%, #0f172a);
    color: #fff;
    text-decoration: none;
}

/* Micro-motion — default visible; animate only opacity/transform end state */
body.skin-magz[data-opd-theme] .opd-scene-stage,
body.skin-magz[data-opd-theme] .opd-sig,
body.skin-magz[data-opd-theme] .opd-hero-product,
body.skin-magz[data-opd-theme] .opd-svc__card {
    opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
    body.skin-magz[data-opd-theme] .opd-scene-stage,
    body.skin-magz[data-opd-theme] .opd-sig,
    body.skin-magz[data-opd-theme] .opd-hero-product {
        animation: opd-rise .55s ease forwards;
    }
    body.skin-magz[data-opd-theme] .opd-svc__card {
        animation: opd-rise .45s ease forwards;
    }
    body.skin-magz[data-opd-theme] .opd-svc__card:nth-child(2) { animation-delay: .05s; }
    body.skin-magz[data-opd-theme] .opd-svc__card:nth-child(3) { animation-delay: .1s; }
    body.skin-magz[data-opd-theme] .opd-svc__card:nth-child(4) { animation-delay: .15s; }
}
@keyframes opd-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    body.skin-magz[data-opd-theme] .opd-scene-stage,
    body.skin-magz[data-opd-theme] .opd-sig,
    body.skin-magz[data-opd-theme] .opd-svc__card,
    body.skin-magz[data-opd-theme] .opd-hero-product {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 991.98px) {
    body.skin-magz[data-opd-theme] .opd-scene-stage,
    body.skin-magz[data-opd-theme] .opd-sig,
    body.skin-magz[data-opd-theme] .opd-svc__card,
    body.skin-magz[data-opd-theme] .opd-hero-product,
    body.skin-magz[data-opd-theme] .opd-layout,
    body.skin-magz[data-opd-theme] .opd-body-stack {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    body.skin-magz[data-opd-theme] .opd-sig__actions a,
    body.skin-magz[data-opd-theme] .opd-fold-cta a,
    body.skin-magz[data-opd-theme] .opd-footer a {
        position: relative;
        z-index: 2;
        pointer-events: auto !important;
    }
}

/* Mobile first-fold: keep SKM + 1 layanan + contact visible */
@media (max-width: 900px) {
    body.skin-magz[data-opd-theme] .opd-svc__grid {
        grid-template-columns: 1fr !important;
    }
    body.skin-magz[data-opd-theme] .opd-info-rail {
        grid-template-columns: 1fr;
    }
    body.skin-magz[data-opd-theme] .opd-fold-hero {
        padding-bottom: 1rem !important;
    }
    body.skin-magz[data-opd-theme] .opd-fold-cta a:nth-child(n+4) {
        display: none;
    }
    body.skin-magz[data-opd-theme] .opd-hero-product__media {
        aspect-ratio: 16/9;
        max-height: none;
        min-height: 180px;
    }
    body.skin-magz[data-opd-theme] .opd-hero-product--fit-banner .opd-hero-product__media {
        aspect-ratio: auto !important;
        min-height: 0 !important;
    }
    body.skin-magz[data-opd-theme] .opd-hours {
        width: 100%;
    }
    body.skin-magz[data-opd-theme] .opd-hours__phone {
        margin-left: 0;
    }
}
@media (max-width: 520px) {
    body.skin-magz[data-opd-theme] .opd-fold-cta {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: .5rem !important;
    }
    body.skin-magz[data-opd-theme] .opd-fold-cta__skm,
    body.skin-magz[data-opd-theme] .opd-fold-cta__primary {
        display: inline-flex !important;
        justify-content: center;
        text-align: center;
    }
    body.skin-magz[data-opd-theme] .opd-fold-cta a:nth-child(n+3) {
        display: none !important;
    }
}

/* OPD: hide incomplete dark-mode toggles (chrome hard-codes light surfaces) */
body.skin-magz.opd-layout nav.menu .float-end a#icon_sun,
body.skin-magz.opd-layout nav.menu .float-end a#icon_moon,
body.skin-magz.opd-layout nav.menu .float-end a#icon_system,
body.skin-magz[data-opd-theme]:not([data-opd-theme="tanggamus"]):not([data-opd-theme="default"]) nav.menu .float-end a#icon_sun,
body.skin-magz[data-opd-theme]:not([data-opd-theme="tanggamus"]):not([data-opd-theme="default"]) nav.menu .float-end a#icon_moon,
body.skin-magz[data-opd-theme]:not([data-opd-theme="tanggamus"]):not([data-opd-theme="default"]) nav.menu .float-end a#icon_system {
    display: none !important;
}

/* Mobile fold: pejabat after hero, avoid double-tight gaps */
@media (max-width: 991.98px) {
    body.skin-magz[data-opd-theme] .arch-pejabat,
    body.skin-magz[data-opd-theme] .hz-leaders {
        margin-top: .35rem !important;
    }
    body.skin-magz[data-opd-theme] .hz-leaders__head {
        margin-bottom: .5rem !important;
    }
    body.skin-magz[data-opd-theme] .hz-leaders__regional {
        gap: .75rem !important;
    }
}

/* Organic fold: identity + visual side-by-side (fills empty right batik wash) */
body.skin-magz[data-opd-theme] .opd-organic-hero--split {
    padding: clamp(1.1rem, 2.8vw, 2rem) clamp(1rem, 3vw, 2rem) clamp(.85rem, 2vw, 1.25rem);
    max-width: 1600px;
    margin: 0 auto;
}
body.skin-magz[data-opd-theme] .opd-organic-hero__stage {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: center;
}
body.skin-magz[data-opd-theme] .opd-organic-hero__card {
    position: relative;
    z-index: 1;
    max-width: none;
    padding: clamp(.85rem, 2vw, 1.25rem);
    border-radius: 1.1rem;
    background: color-mix(in srgb, #fff 88%, var(--color-primary) 12%);
    border: 1px solid color-mix(in srgb, var(--color-primary) 14%, transparent);
    box-shadow: 0 14px 36px color-mix(in srgb, var(--color-primary) 10%, transparent);
}
body.skin-magz[data-opd-theme] .opd-organic-hero__title {
    margin: .55rem 0 .45rem;
    max-width: 28ch;
    line-height: 1.15;
}
body.skin-magz[data-opd-theme] .opd-organic-hero__lead {
    margin: 0 0 .85rem;
    max-width: 42ch;
    color: #475569;
    line-height: 1.55;
}
body.skin-magz[data-opd-theme] .opd-organic-hero__visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}
body.skin-magz[data-opd-theme] .opd-organic-hero__visual .opd-hero-product {
    margin: 0;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--color-primary) 16%, transparent);
}
body.skin-magz[data-opd-theme] .opd-organic-hero__visual .opd-hero-product--composed {
    --opd-hero-ratio: 4 / 3;
}
body.skin-magz[data-opd-theme] .opd-organic-hero__visual .opd-hero-product--fit-banner {
    --opd-hero-ratio: auto;
}
body.skin-magz[data-opd-theme] .opd-organic-hero__meta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1rem;
    margin-top: 1rem;
    padding: .85rem 0 0;
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
}
body.skin-magz[data-opd-theme] .opd-organic-hero__meta .opd-home-search,
body.skin-magz[data-opd-theme] .opd-organic-hero__meta .opd-app-feature {
    max-width: none;
    margin-top: 0;
}
@media (max-width: 991.98px) {
    body.skin-magz[data-opd-theme] .opd-organic-hero__stage {
        grid-template-columns: 1fr;
    }
    body.skin-magz[data-opd-theme] .opd-organic-hero__visual {
        order: -1;
    }
    body.skin-magz[data-opd-theme] .opd-organic-hero__meta {
        grid-template-columns: 1fr;
    }
    body.skin-magz[data-opd-theme] .opd-organic-hero__title {
        max-width: none;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    body.skin-magz[data-opd-theme] .opd-organic-hero__stage {
        grid-template-columns: 1fr 1fr;
    }
}

/* Shared compact fold (service / split / induk) — parity with organic */
body.skin-magz[data-opd-theme] .opd-fold-hero--split,
body.skin-magz[data-opd-theme] .opd-split-hero--split,
body.skin-magz[data-opd-theme] .opd-induk-hero {
    padding: clamp(1.1rem, 2.8vw, 2rem) clamp(1rem, 3vw, 2rem) clamp(.85rem, 2vw, 1.25rem);
    max-width: 1600px;
    margin: 0 auto;
}
/* Duo default only — other folds override in idds-opd-variants.css */
body.skin-magz[data-opd-theme] [data-opd-fold="duo"] .opd-fold-hero__stage--duo,
body.skin-magz[data-opd-theme] [data-opd-fold="duo"] .opd-split-hero__stage--duo,
body.skin-magz[data-opd-theme] [data-opd-fold="duo"] .opd-induk-hero__stage--duo {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: stretch;
}
body.skin-magz[data-opd-theme] .opd-fold-hero__card,
body.skin-magz[data-opd-theme] .opd-split-hero__card,
body.skin-magz[data-opd-theme] .opd-induk-hero__card {
    position: relative;
    z-index: 1;
    padding: clamp(.85rem, 2vw, 1.25rem);
    border-radius: 1.1rem;
}
body.skin-magz[data-opd-theme] .opd-fold-hero--service .opd-fold-hero__card {
    background: color-mix(in srgb, #000 22%, transparent);
    border: 1px solid color-mix(in srgb, #fff 22%, transparent);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
}
body.skin-magz[data-opd-theme] .opd-fold-hero--service .opd-fold-hero__title {
    margin: .55rem 0 .45rem;
    line-height: 1.15;
    color: #fff;
}
body.skin-magz[data-opd-theme] .opd-fold-hero--service .opd-fold-hero__lead {
    margin: 0 0 .85rem;
    max-width: 42ch;
    line-height: 1.55;
    opacity: .92;
    color: #fff;
}
body.skin-magz[data-opd-theme] .opd-split-hero__card {
    background: color-mix(in srgb, var(--opd-scene-surface, #f8fafc) 88%, #fff);
    border: 1px solid color-mix(in srgb, var(--color-primary) 14%, transparent);
    box-shadow: 0 14px 36px color-mix(in srgb, var(--color-primary) 10%, transparent);
}
body.skin-magz[data-opd-theme] .opd-split-hero__card .opd-fold-hero__title {
    margin: .55rem 0 .45rem;
    color: #0f172a;
    line-height: 1.15;
}
body.skin-magz[data-opd-theme] .opd-split-hero__card .opd-fold-hero__lead {
    margin: 0 0 .85rem;
    max-width: 42ch;
    color: #475569;
    line-height: 1.55;
}
body.skin-magz[data-opd-theme] .opd-induk-hero__card {
    background: color-mix(in srgb, #fff 92%, var(--color-primary) 8%);
    border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
}
body.skin-magz[data-opd-theme] .opd-fold-hero__visual,
body.skin-magz[data-opd-theme] .opd-split-hero__visual,
body.skin-magz[data-opd-theme] .opd-induk-hero__visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}
body.skin-magz[data-opd-theme] .opd-fold-hero__visual .opd-hero-product,
body.skin-magz[data-opd-theme] .opd-split-hero__visual .opd-hero-product,
body.skin-magz[data-opd-theme] .opd-organic-hero__visual .opd-hero-product {
    margin: 0;
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}
/* Composed illustration may use a fixed frame; photos must never be cropped */
body.skin-magz[data-opd-theme] .opd-fold-hero__visual .opd-hero-product--composed,
body.skin-magz[data-opd-theme] .opd-split-hero__visual .opd-hero-product--composed,
body.skin-magz[data-opd-theme] .opd-organic-hero__visual .opd-hero-product--composed {
    --opd-hero-ratio: 4 / 3;
    overflow: hidden;
}
body.skin-magz[data-opd-theme] .opd-fold-hero__visual .opd-hero-product--fit-banner,
body.skin-magz[data-opd-theme] .opd-split-hero__visual .opd-hero-product--fit-banner,
body.skin-magz[data-opd-theme] .opd-organic-hero__visual .opd-hero-product--fit-banner,
body.skin-magz[data-opd-theme] .opd-induk-hero__visual .opd-hero-product--fit-banner {
    --opd-hero-ratio: auto;
    overflow: hidden; /* radius only — image itself is height:auto + contain */
    background:
        radial-gradient(120% 80% at 50% 100%, color-mix(in srgb, var(--color-primary, #900000) 28%, #0b1220), transparent 72%),
        #0b1220;
}
body.skin-magz[data-opd-theme] .opd-fold-hero__visual .opd-hero-product--fit-banner .opd-hero-product__media,
body.skin-magz[data-opd-theme] .opd-split-hero__visual .opd-hero-product--fit-banner .opd-hero-product__media,
body.skin-magz[data-opd-theme] .opd-organic-hero__visual .opd-hero-product--fit-banner .opd-hero-product__media,
body.skin-magz[data-opd-theme] .opd-induk-hero__visual .opd-hero-product--fit-banner .opd-hero-product__media {
    aspect-ratio: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    height: auto !important;
}
body.skin-magz[data-opd-theme] .opd-fold-hero__visual .opd-hero-product--fit-banner .opd-hero-product__img,
body.skin-magz[data-opd-theme] .opd-split-hero__visual .opd-hero-product--fit-banner .opd-hero-product__img,
body.skin-magz[data-opd-theme] .opd-organic-hero__visual .opd-hero-product--fit-banner .opd-hero-product__img,
body.skin-magz[data-opd-theme] .opd-induk-hero__visual .opd-hero-product--fit-banner .opd-hero-product__img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}
body.skin-magz[data-opd-theme] .opd-fold-hero__meta,
body.skin-magz[data-opd-theme] .opd-split-hero__meta,
body.skin-magz[data-opd-theme] .opd-induk-hero__meta,
body.skin-magz[data-opd-theme] .opd-organic-hero__meta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1rem;
    margin-top: 1rem;
    padding: .85rem 0 0;
}
body.skin-magz[data-opd-theme] .opd-fold-hero--service .opd-fold-hero__meta {
    border-top: 1px solid color-mix(in srgb, #fff 22%, transparent);
}
body.skin-magz[data-opd-theme] .opd-split-hero__meta,
body.skin-magz[data-opd-theme] .opd-induk-hero__meta {
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
}
body.skin-magz[data-opd-theme] .opd-fold-hero__meta .opd-home-search,
body.skin-magz[data-opd-theme] .opd-split-hero__meta .opd-home-search,
body.skin-magz[data-opd-theme] .opd-induk-hero__meta .opd-home-search,
body.skin-magz[data-opd-theme] .opd-fold-hero__meta .opd-app-feature,
body.skin-magz[data-opd-theme] .opd-split-hero__meta .opd-app-feature,
body.skin-magz[data-opd-theme] .opd-induk-hero__meta .opd-app-feature {
    max-width: none;
    margin-top: 0;
}

/* Fold CTA: max 2 — always clickable above DNA/wash overlays */
body.skin-magz[data-opd-theme] .opd-fold-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .85rem;
    position: relative;
    z-index: 6;
    pointer-events: auto;
}
body.skin-magz[data-opd-theme] .opd-fold-cta__btn {
    position: relative;
    z-index: 6;
    pointer-events: auto !important;
    cursor: pointer;
}
body.skin-magz[data-opd-theme] .opd-fold-cta__btn:nth-child(n+3) {
    display: none !important;
}

/* Scene wash / DNA must never steal clicks on PC or mobile */
body.skin-magz[data-opd-theme] .opd-scene-wash,
body.skin-magz[data-opd-theme] .tg-dna__layer,
body.skin-magz[data-opd-theme] .tg-dna__ribbon,
body.skin-magz[data-opd-theme] .tg-dna__rail,
body.skin-magz[data-opd-theme] .tg-dna__corner,
body.skin-magz[data-opd-theme] .tg-dna__watermark,
body.skin-magz[data-opd-theme] .batik-ketupat,
body.skin-magz[data-opd-theme] .opd-sig__batik,
body.skin-magz[data-opd-theme] .opd-sig__seal {
    pointer-events: none !important;
}
body.skin-magz[data-opd-theme] .tg-dna > .opd-scene-wash {
    z-index: 0 !important;
}
body.skin-magz[data-opd-theme] .opd-fold-hero__card,
body.skin-magz[data-opd-theme] .opd-split-hero__card,
body.skin-magz[data-opd-theme] .opd-organic-hero__card,
body.skin-magz[data-opd-theme] .opd-induk-hero__card,
body.skin-magz[data-opd-theme] .opd-sig__inner,
body.skin-magz[data-opd-theme] .opd-sig__actions {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
body.skin-magz[data-opd-theme] .opd-sig__actions a {
    position: relative;
    z-index: 6;
    pointer-events: auto !important;
    cursor: pointer;
}
body.skin-magz[data-opd-theme] .opd-footer a,
body.skin-magz[data-opd-theme] .opd-float-cta a {
    pointer-events: auto !important;
    cursor: pointer;
}

/* News grids — mobile single column */
body.skin-magz[data-opd-theme] .opd-news-grid--service {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 1.25rem;
}
body.skin-magz[data-opd-theme] .opd-news-grid--organic,
body.skin-magz[data-opd-theme] .opd-news-grid--induk {
    display: grid;
    gap: 1rem;
}
@media (max-width: 900px) {
    body.skin-magz[data-opd-theme] .opd-news-grid--service {
        grid-template-columns: 1fr !important;
    }
    body.skin-magz[data-opd-theme] .opd-news-article {
        grid-template-columns: 1fr !important;
    }
}

/* Hide empty aux / empty body blocks */
body.skin-magz[data-opd-theme] .opd-home-aux:not(:has(.opd-status-video)),
body.skin-magz[data-opd-theme] .opd-body-stack__block:empty,
body.skin-magz[data-opd-theme] .opd-body-stack__block:not(:has(*)) {
    display: none;
}
body.skin-magz[data-opd-theme] .opd-kpi-strip:empty {
    display: none;
}

/* Mobile: visual first, lighten batik wash */
@media (max-width: 991.98px) {
    body.skin-magz[data-opd-theme] .opd-fold-hero__stage,
    body.skin-magz[data-opd-theme] .opd-split-hero__stage,
    body.skin-magz[data-opd-theme] .opd-induk-hero__stage {
        grid-template-columns: 1fr;
    }
    body.skin-magz[data-opd-theme] .opd-fold-hero__visual,
    body.skin-magz[data-opd-theme] .opd-split-hero__visual,
    body.skin-magz[data-opd-theme] .opd-induk-hero__visual {
        order: -1;
    }
    body.skin-magz[data-opd-theme] .opd-fold-hero__meta,
    body.skin-magz[data-opd-theme] .opd-split-hero__meta,
    body.skin-magz[data-opd-theme] .opd-induk-hero__meta {
        grid-template-columns: 1fr;
    }
    body.skin-magz[data-opd-theme] .opd-layout .batik-ketupat {
        opacity: .05 !important;
    }
    body.skin-magz[data-opd-theme] .opd-fold-cta {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: .5rem !important;
    }
}

/* Skip-link already in magz index; ensure visible focus target for fold CTA */
body.skin-magz[data-opd-theme] #opd-fold-cta-anchor:target,
body.skin-magz[data-opd-theme] #main-content:focus {
    outline: none;
}
body.skin-magz[data-opd-theme] .opd-fold-cta:focus-within {
    outline: 2px solid var(--color-secondary, #FCA416);
    outline-offset: 4px;
    border-radius: .5rem;
}

/* Heading rhythm: one H1 in fold, sections use H2 */
body.skin-magz[data-opd-theme] .opd-layout h1.opd-fold-hero__title {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 800;
}
body.skin-magz[data-opd-theme] .opd-body-stack h2 {
    font-weight: 800;
    line-height: 1.25;
}

