/*!
 * IDDS HORIZON v3 — futuristic civic portal
 * Officers: scroll-snap deck (no Owl clip). Regional: brand stage.
 */

body.skin-magz:has(.home--horizon) nav.menu::after,
body.skin-magz:has(.home--horizon) footer.footer::before {
    display: none !important;
}

body.skin-magz .home--horizon {
    --hz-primary: var(--idds-primary, #1e3a8a);
    --hz-accent: var(--idds-accent, #b45309);
    --hz-border: color-mix(in srgb, var(--hz-primary) 12%, #e2e8f0);
    --hz-glow: color-mix(in srgb, var(--hz-primary) 10%, transparent);
    --hz-ink: #0f172a;
    position: relative;
    background:
        radial-gradient(900px 420px at 8% -8%, color-mix(in srgb, var(--hz-primary) 8%, transparent), transparent 60%),
        radial-gradient(800px 360px at 96% 4%, color-mix(in srgb, var(--hz-accent) 7%, transparent), transparent 58%),
        linear-gradient(180deg, #f7f9fc 0%, var(--hz-surface, #f4f6fb) 45%, #eef2f7 100%);
}

body.skin-magz .home--horizon .home-compose__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

body.skin-magz .home--horizon .container-content,
body.skin-magz .home--horizon .home-compose__slider {
    position: relative;
    z-index: 1;
}

body.skin-magz:has(.home--horizon) nav.menu {
    background: var(--hz-primary) !important;
    border-bottom: 0 !important;
    box-shadow:
        0 10px 28px color-mix(in srgb, var(--hz-primary) 22%, transparent),
        inset 0 -3px 0 color-mix(in srgb, var(--hz-accent) 85%, #fff) !important;
}

body.skin-magz .home--horizon .home-zone-head__kicker {
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--hz-accent);
}
body.skin-magz .home--horizon .home-zone-head__title {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--hz-ink);
}

body.skin-magz .home--horizon .portal-services__item {
    border-radius: 12px !important;
    background: #fff !important;
    border: 1px solid color-mix(in srgb, var(--hz-primary) 10%, #e2e8f0) !important;
    border-top: 1px solid color-mix(in srgb, var(--hz-primary) 10%, #e2e8f0) !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
body.skin-magz .home--horizon .portal-services__item:hover {
    transform: translateY(-2px);
    border-color: var(--hz-primary) !important;
    background: color-mix(in srgb, var(--hz-primary) 4%, #fff) !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--hz-primary) 10%, transparent) !important;
}
body.skin-magz .home--horizon .portal-services__ico {
    color: var(--hz-primary);
    background: color-mix(in srgb, var(--hz-primary) 8%, #fff);
    border-radius: 10px;
}
body.skin-magz .home--horizon .portal-stats__item {
    display: none;
}

/* ---- Slider ------------------------------------------------------------- */
.hz-slider { position: relative; isolation: isolate; }
.hz-slider__glow {
    position: absolute;
    inset: -6% 0;
    background: radial-gradient(ellipse 70% 55% at 50% 40%, var(--hz-glow), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hz-slider__frame {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: visible; /* never clip banner heads */
    background: transparent;
    box-shadow: none;
    border: 0;
}
.hz-slider--edge .hz-slider__frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--hz-border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
.hz-slider--edge .hz-slider__frame .hero-carousel--fit-banner {
    overflow: visible;
}
.hz-slider--wide {
    /* NEVER use 100vw bleed — it shatters page width / footer alignment */
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
}
.hz-slider--wide .hz-slider__frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .1);
}
body.skin-magz .home--horizon .hz-slider--wide .hero-carousel--fit-banner .carousel-item,
body.skin-magz .home--horizon .hz-slider--wide .hz-slider__frame {
    overflow: hidden;
}
body.skin-magz.preset-tanggamus .hz-slider--edge .hz-slider__frame,
body.skin-magz.preset-tanggamus .hz-slider--wide .hz-slider__frame {
    border-radius: 16px;
    border-bottom: 3px solid var(--hz-accent);
}
.hz-slider--glass .hz-slider__frame {
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .85);
    padding: .45rem;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
.hz-slider--glass .hz-slider__frame .hero-carousel {
    border-radius: 14px;
    overflow: hidden;
}
.hz-slider--frame .hz-slider__frame {
    padding: .55rem;
    background: #fff;
    border: 1px solid var(--hz-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .07);
}
.hz-slider--frame .hz-slider__frame::before { display: none; }

/* Banner graphics: full image visible, never cropped */
body.skin-magz .home--horizon .hz-slider .hero-carousel__veil {
    display: none;
}
body.skin-magz .home--horizon .hz-slider .hero-carousel--fit-banner .hero-carousel__img,
body.skin-magz .home--horizon .hz-slider .hero-carousel--fit-banner .carousel-item img {
    object-fit: contain !important;
    object-position: center center !important;
    aspect-ratio: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
}
body.skin-magz .home--horizon .hz-slider .hero-carousel--fit-banner .carousel-item,
body.skin-magz .home--horizon .hz-slider .hero-carousel--fit-banner .hero-carousel__media {
    overflow: visible !important;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--hz-primary) 5%, #f8fafc),
        color-mix(in srgb, var(--hz-accent) 6%, #fff));
}
body.skin-magz .home--horizon .hz-slider .hero-carousel--fit-cover .hero-carousel__img {
    object-fit: contain !important;
    aspect-ratio: auto;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
}
body.skin-magz .home--horizon .home-compose__slider--after { padding: 1rem 0 1.25rem; }
body.skin-magz .home--horizon .hz-slider .carousel-indicators [data-bs-target] {
    width: 7px; height: 7px; border-radius: 999px;
    background: color-mix(in srgb, var(--hz-primary) 35%, #fff); border: 0;
}
body.skin-magz .home--horizon .hz-slider .carousel-indicators .active {
    width: 22px; background: var(--hz-primary);
}

/* ---- Leaders shell (flat by default) ------------------------------------ */
.hz-leaders {
    margin: .2rem 0 1.5rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.hz-leaders__head {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.2rem;
}
.hz-leaders__badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--hz-primary), color-mix(in srgb, var(--hz-primary) 55%, var(--hz-accent)));
    box-shadow: 0 10px 24px color-mix(in srgb, var(--hz-primary) 30%, transparent);
    flex: 0 0 auto;
}
.hz-leaders__head-line {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--hz-primary), var(--hz-accent), transparent);
    opacity: .55;
}
.hz-leaders__kicker {
    display: block;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hz-accent);
    margin-bottom: .15rem;
}
.hz-leaders__title {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--hz-ink);
}
.hz-leaders__label {
    margin: 0 0 .85rem;
    font-size: .95rem;
    font-weight: 800;
    color: #1e293b;
}
.hz-leaders__section--bordered {
    margin-top: 1.35rem;
    padding-top: 1.3rem;
    border-top: 1px solid color-mix(in srgb, var(--hz-primary) 12%, #e2e8f0);
}

.hz-leaders__stage {
    position: relative;
    isolation: isolate;
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(520px 220px at 50% 0%, color-mix(in srgb, var(--hz-accent) 12%, transparent), transparent 70%),
        linear-gradient(160deg, #fff, color-mix(in srgb, var(--hz-primary) 5%, #fff));
    border: 1px solid var(--hz-border);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}
.hz-leaders__stage-glow {
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--hz-primary) 10%, transparent), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hz-leaders__stage-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .35;
    background-image:
        linear-gradient(color-mix(in srgb, var(--hz-primary) 6%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--hz-primary) 6%, transparent) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 100%);
}
.hz-leaders__stage > * { position: relative; z-index: 1; }
.hz-leaders__stage-glow,
.hz-leaders__stage-grid { z-index: 0; }
.hz-leaders__label--light {
    color: var(--hz-primary);
    text-align: center;
}

.hz-leaders__regional {
    display: grid;
    gap: 1.1rem;
    justify-content: center;
}
.hz-leaders__regional--count-1 { grid-template-columns: minmax(240px, 300px); }
.hz-leaders__regional--count-2 { grid-template-columns: repeat(2, minmax(230px, 290px)); }
.hz-leaders__regional--count-3 { grid-template-columns: repeat(3, minmax(200px, 260px)); }

/* ---- Officers deck ------------------------------------------------------ */
.hz-officers {
    position: relative;
    padding: .35rem 0 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.hz-officers--flat { padding-top: .15rem; }
.hz-officers__bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.hz-officers__title {
    margin: 0 0 .2rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--hz-ink);
}
.hz-officers__subtitle {
    margin: 0;
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
}
.hz-officers__controls { display: flex; gap: .45rem; flex: 0 0 auto; }
.hz-officers__nav {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--hz-border);
    background: #fff;
    color: var(--hz-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.hz-officers__nav:hover {
    background: var(--hz-primary);
    border-color: var(--hz-primary);
    color: #fff;
    transform: translateY(-1px);
}

.hz-officers__deck {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: .25rem;
    padding: .4rem .1rem 1.05rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--hz-primary) 35%, #cbd5e1) transparent;
}
.hz-officers__deck::-webkit-scrollbar { height: 6px; }
.hz-officers__deck::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--hz-primary) 40%, #94a3b8);
    border-radius: 999px;
}

.hz-officer {
    position: relative;
    /* Fill row evenly (4-up) while still scrollable when more officers exist */
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 200px;
    max-width: 260px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem .85rem 1.05rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--hz-primary) 10%, #e2e8f0);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    overflow: hidden;
    isolation: isolate;
    min-height: 100%;
    height: auto;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (max-width: 991.98px) {
    .hz-officer {
        flex-basis: calc((100% - 1rem) / 2);
        max-width: none;
    }
}
@media (max-width: 575.98px) {
    .hz-officer {
        flex-basis: min(220px, 78vw);
        max-width: none;
    }
}
.hz-officer:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--hz-primary) 28%, var(--hz-border));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--hz-primary) 10%, transparent);
}
.hz-officer__aura {
    position: absolute;
    inset: 0 0 auto 0;
    height: 92px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--hz-primary) 20%, transparent),
        color-mix(in srgb, var(--hz-accent) 16%, transparent));
    z-index: 0;
    pointer-events: none;
}
.hz-officer__photo {
    position: relative;
    z-index: 1;
    width: 104px;
    height: 104px;
    margin: 0 0 .75rem;
    flex: 0 0 104px;
}
.hz-officer__ring { display: none; }
.hz-officer__aura { display: none; }
.hz-officer__photo img {
    position: relative;
    z-index: 1;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: #e2e8f0;
    border: 3px solid color-mix(in srgb, var(--hz-primary) 12%, #fff);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
    display: block;
}
@keyframes hz-officer-spin { to { transform: rotate(360deg); } }

.hz-officer__body {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    min-height: 0;
}
.hz-officer__role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, var(--hz-primary), color-mix(in srgb, var(--hz-primary) 55%, var(--hz-accent)));
    box-shadow: 0 6px 14px color-mix(in srgb, var(--hz-primary) 25%, transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hz-officer__name {
    margin: .1rem 0 0;
    font-size: .96rem;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.25;
    color: var(--hz-ink);
    min-height: calc(1.25em * 2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.hz-officer__position {
    margin: 0;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.4;
    color: #475569;
    min-height: calc(1.4em * 2);
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.hz-officer__nip {
    margin: .55rem 0 0;
    width: 100%;
    padding: .45rem .55rem;
    border-radius: 10px;
    font-size: .62rem;
    font-weight: 600;
    line-height: 1.2;
    color: #334155;
    background: color-mix(in srgb, var(--hz-primary) 7%, #f1f5f9);
    border: 1px solid color-mix(in srgb, var(--hz-primary) 12%, transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    font-variant-numeric: tabular-nums;
    margin-top: auto;
}
.hz-officer__nip span {
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--hz-primary);
    margin-right: .25rem;
}

/* Layout DNA */
.hz-leaders--elevated {
    box-shadow: 0 28px 64px color-mix(in srgb, var(--hz-primary) 14%, transparent);
}
.hz-leaders--elevated .hz-leaders__stage {
    background:
        radial-gradient(520px 240px at 50% 0%, color-mix(in srgb, var(--hz-accent) 14%, transparent), transparent 70%),
        linear-gradient(160deg, #fff, color-mix(in srgb, var(--hz-primary) 7%, #fff));
    box-shadow: 0 20px 48px color-mix(in srgb, var(--hz-primary) 12%, transparent);
}
.hz-leaders--elevated .hz-officers {
    background:
        radial-gradient(600px 220px at 0% 0%, color-mix(in srgb, var(--hz-accent) 12%, transparent), transparent 65%),
        linear-gradient(145deg, color-mix(in srgb, var(--hz-primary) 5%, #fff), #fff);
}
.hz-leaders--elevated .hz-officers__title { color: var(--hz-ink); }
.hz-leaders--elevated .hz-officers__subtitle { color: #64748b; }
.hz-leaders--elevated .hz-officer { background: #fff; }
.hz-leaders--minimal .hz-officers { padding: 1rem; }
.hz-leaders--minimal .hz-officer { flex-basis: min(240px, 80vw); }

/* Regional portrait cards */
body.skin-magz .home--horizon .leader-card {
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--hz-primary) 12%, #e2e8f0);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    overflow: hidden;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
    height: auto !important;
    max-width: none !important;
}
body.skin-magz .home--horizon .leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px color-mix(in srgb, var(--hz-primary) 18%, transparent);
}
body.skin-magz .home--horizon .hz-leaders__stage .leader-card {
    border: 1px solid var(--hz-border);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}
body.skin-magz .home--horizon .leader-card__photo {
    margin: 0;
    width: 100%;
    height: 320px !important;
    flex: 0 0 320px !important;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background:
        radial-gradient(120% 80% at 50% 100%, color-mix(in srgb, var(--hz-primary) 12%, transparent), transparent 60%),
        linear-gradient(180deg, #eef2f7, #e2e8f0);
}
body.skin-magz .home--horizon .leader-card__photo img {
    width: auto !important;
    max-width: 92% !important;
    height: 96% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    padding: 0 !important;
    background: transparent !important;
    display: block;
    margin: 0 auto;
}
body.skin-magz .home--horizon .leader-card__body {
    text-align: center;
    min-height: 0 !important;
    padding: 1rem 1rem 1.15rem !important;
}
body.skin-magz .home--horizon .leader-card__role { color: var(--hz-primary); font-weight: 800; }
body.skin-magz .home--horizon .leader-card__name {
    font-size: .98rem;
    font-weight: 800;
    color: var(--hz-ink);
    min-height: 0 !important;
}
body.skin-magz .home--horizon .leader-card__position { min-height: 0 !important; }
body.skin-magz .home--horizon .leader-card--regional { border-top: 4px solid var(--hz-accent); }

@media (max-width: 992px) {
    .hz-leaders__regional--count-2,
    .hz-leaders__regional--count-3 {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .hz-slider--wide {
        margin-inline: 0;
        width: 100%;
        max-width: 100%;
        padding-inline: 0;
    }
    body.skin-magz .home--horizon .leader-card__photo {
        height: 250px !important;
        flex-basis: 250px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hz-officer__ring { animation: none; }
    body.skin-magz .home--horizon .portal-services__item:hover,
    body.skin-magz .home--horizon .leader-card:hover,
    .hz-officer:hover { transform: none; }
}

/* ==========================================================================
   ARTICLE / SINGLE — share, author, related (all dinas)
   ========================================================================== */
body.skin-magz .single--horizon {
    --hz-primary: var(--idds-primary, #1e3a8a);
    --hz-accent: var(--idds-accent, #f59e0b);
    --hz-ink: #0b1220;
    --hz-border: color-mix(in srgb, var(--hz-primary) 14%, #e2e8f0);
    background:
        radial-gradient(900px 420px at 5% -5%, color-mix(in srgb, var(--hz-accent) 14%, transparent), transparent 60%),
        radial-gradient(800px 380px at 95% 0%, color-mix(in srgb, var(--hz-primary) 12%, transparent), transparent 55%),
        linear-gradient(180deg, #f4f7fb, #f8fafc 40%, #eef2f7);
    padding-bottom: 2.5rem;
}
body.skin-magz .single--horizon .breadcrumb {
    background: transparent;
    padding: .85rem 0 .5rem;
    margin: 0;
}
body.skin-magz .single--horizon .breadcrumb a { color: var(--hz-primary); font-weight: 600; }
body.skin-magz .single--horizon article.main-article {
    background: rgba(255,255,255,.92);
    border: 1px solid var(--hz-border);
    border-radius: 22px;
    padding: 1.5rem 1.6rem 1.35rem;
    box-shadow: 0 18px 44px rgba(15,23,42,.06);
    backdrop-filter: blur(12px);
}
body.skin-magz .single--horizon article.main-article header h1 {
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--hz-ink);
    line-height: 1.2;
}
body.skin-magz .single--horizon article.main-article .details {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .85rem;
    color: #64748b;
    font-size: .86rem;
}
body.skin-magz .single--horizon article.main-article .details a {
    color: var(--hz-primary);
    font-weight: 700;
}

body.skin-magz .hz-section-label {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 1.75rem 0 1rem;
}
body.skin-magz .hz-section-label span {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hz-primary);
    white-space: nowrap;
}
body.skin-magz .hz-section-label::after {
    content: "";
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--hz-primary), var(--hz-accent), transparent);
    opacity: .45;
}

body.skin-magz .hz-share-wrap.sharing,
body.skin-magz .single .sharing.hz-share-wrap {
    display: block !important;
    width: 100% !important;
    margin: 1.5rem 0 0 !important;
    padding: 0 !important;
}
body.skin-magz .hz-share {
    padding: 1.2rem 1.25rem 1.3rem;
    border-radius: 20px;
    background:
        radial-gradient(520px 200px at 100% 0%, color-mix(in srgb, var(--hz-accent) 16%, transparent), transparent 70%),
        linear-gradient(145deg, color-mix(in srgb, var(--hz-primary) 6%, #fff), #fff);
    border: 1px solid var(--hz-border);
    box-shadow: 0 14px 36px rgba(15,23,42,.05);
}
body.skin-magz .hz-share__head {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1rem;
}
body.skin-magz .hz-share__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--hz-primary), color-mix(in srgb, var(--hz-primary) 55%, var(--hz-accent)));
    box-shadow: 0 10px 22px color-mix(in srgb, var(--hz-primary) 28%, transparent);
}
body.skin-magz .hz-share__kicker {
    margin: 0;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hz-accent);
}
body.skin-magz .hz-share__title {
    margin: .1rem 0 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--hz-ink);
    letter-spacing: -.02em;
}
body.skin-magz .hz-share__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
body.skin-magz .hz-share__list li { float: none !important; margin: 0 !important; }
body.skin-magz .hz-share__btn {
    display: inline-flex !important;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    width: auto !important;
    height: auto !important;
    padding: .55rem .95rem !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid color-mix(in srgb, var(--share-color, var(--hz-primary)) 22%, #e2e8f0);
    color: var(--hz-ink) !important;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.05);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
body.skin-magz .hz-share__btn i {
    font-size: 1rem;
    line-height: 1;
    width: 1.1em;
    text-align: center;
    color: var(--share-color, var(--hz-primary)) !important;
    margin: 0 !important;
}
body.skin-magz .hz-share__btn span {
    color: inherit !important;
    font-size: .82rem;
    font-weight: 700;
}
body.skin-magz .hz-share__btn:hover {
    background: var(--share-color, var(--hz-primary)) !important;
    border-color: var(--share-color, var(--hz-primary)) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--share-color, var(--hz-primary)) 28%, transparent);
    opacity: 1 !important;
}
body.skin-magz .hz-share__btn:hover i,
body.skin-magz .hz-share__btn:hover span { color: #fff !important; }

body.skin-magz .hz-author {
    position: relative;
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    padding: 1.35rem 1.35rem 1.4rem;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), color-mix(in srgb, var(--hz-primary) 4%, #fff));
    border: 1px solid var(--hz-border);
    box-shadow: 0 16px 40px rgba(15,23,42,.06);
    overflow: hidden;
}
body.skin-magz .hz-author__rail {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--hz-primary), var(--hz-accent));
}
body.skin-magz .hz-author__avatar { margin: 0; flex: 0 0 auto; }
body.skin-magz .hz-author__avatar img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--hz-primary) 25%, transparent), 0 12px 28px rgba(15,23,42,.12);
    background: #e2e8f0;
}
body.skin-magz .hz-author__kicker {
    margin: 0 0 .15rem;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hz-accent);
}
body.skin-magz .hz-author__job {
    margin: 0 0 .2rem;
    font-size: .78rem;
    font-weight: 800;
    color: var(--hz-primary);
    text-transform: uppercase;
    letter-spacing: .06em;
}
body.skin-magz .hz-author__name {
    margin: 0 0 .4rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--hz-ink);
}
body.skin-magz .hz-author__about {
    margin: 0;
    color: #475569;
    font-size: .92rem;
    line-height: 1.5;
}
body.skin-magz .hz-author__social {
    list-style: none;
    margin: .75rem 0 0;
    padding: 0;
    display: flex;
    gap: .45rem;
}
body.skin-magz .hz-author__social a {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--link-color, var(--hz-primary)) 12%, #fff);
    color: var(--link-color, var(--hz-primary));
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
body.skin-magz .hz-author__social a:hover {
    background: var(--link-color, var(--hz-primary));
    color: #fff;
    transform: translateY(-2px);
}

body.skin-magz .hz-related__card {
    border-radius: 18px !important;
    overflow: hidden;
    border: 1px solid var(--hz-border) !important;
    background: #fff !important;
    box-shadow: 0 12px 32px rgba(15,23,42,.06) !important;
    transition: transform .22s ease, box-shadow .22s ease;
}
body.skin-magz .hz-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px color-mix(in srgb, var(--hz-primary) 14%, transparent) !important;
}
body.skin-magz .hz-related__card figure img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
body.skin-magz .hz-related__card h2 a {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--hz-ink);
}
body.skin-magz .hz-related__card .category a {
    color: var(--hz-primary);
    font-weight: 700;
}

@media (max-width: 576px) {
    body.skin-magz .hz-author { flex-direction: column; align-items: center; text-align: center; }
    body.skin-magz .hz-author__social { justify-content: center; }
    body.skin-magz .hz-share__btn span { display: none; }
    body.skin-magz .hz-share__btn {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        justify-content: center;
    }
}

/* ==========================================================================
   CIVIC FLAT + PER-DINAS IDENTITY
   ========================================================================== */
body.skin-magz .home--horizon .hz-leaders--flat .hz-leaders__badge { display: none; }
body.skin-magz .home--horizon .hz-leaders--minimal .hz-leaders__head { margin-bottom: .85rem; }
body.skin-magz .home--horizon .hz-leaders--minimal .leader-card__photo {
    height: 240px !important;
    flex: 0 0 240px !important;
}

/* News: reduce nested chrome */
body.skin-magz .home--horizon .home-zone--news .block,
body.skin-magz .home--horizon .home-zone--news .widget {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
body.skin-magz .home--horizon .home-compose__aside .block,
body.skin-magz .home--horizon .home-compose__aside .widget {
    background: #fff !important;
    border: 1px solid color-mix(in srgb, var(--hz-primary) 10%, #e2e8f0) !important;
    border-radius: 14px !important;
    padding: 1rem !important;
    box-shadow: none !important;
}

/* Frame DNA accents (layout already differs; reinforce chrome) */
body.skin-magz .home-frame--bento .portal-services {
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}
body.skin-magz .home-frame--bento .portal-services__item:first-child {
    grid-column: span 2;
}
body.skin-magz .home-frame--magazine .home-zone-head__title {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.04em;
}
body.skin-magz .home-frame--split .home-zone--access {
    border-left: 3px solid var(--hz-primary);
    padding-left: 1rem;
}
body.skin-magz .home-frame--orbit .portal-services {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: .65rem;
}
body.skin-magz .home-frame--orbit .portal-services__item {
    flex: 0 0 148px;
}
body.skin-magz .home-frame--cascade .home-zone {
    margin-bottom: 1.25rem;
    padding: 1rem 0 0;
    border-top: 1px solid color-mix(in srgb, var(--hz-primary) 10%, #e2e8f0);
}
body.skin-magz .home-accent--line .home-zone-head__title {
    border-bottom: 2px solid var(--hz-accent);
    padding-bottom: .35rem;
    display: inline-block;
}
body.skin-magz .home-accent--glow .portal-services__ico {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--hz-primary) 12%, transparent);
}
body.skin-magz .home-accent--mesh .home-zone--access {
    background:
        radial-gradient(circle at 10% 20%, color-mix(in srgb, var(--hz-primary) 6%, transparent), transparent 40%),
        radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--hz-accent) 7%, transparent), transparent 35%);
    border-radius: 16px;
    padding: 1rem;
}

/* Flagship Tanggamus — edge accent on slider */
body.skin-magz.preset-tanggamus .hz-slider--edge .hz-slider__frame {
    border-left: 4px solid var(--hz-accent);
}
