:root {
    --ath-green: #0b6b3a;
    --ath-green-dark: #07512c;
    --ath-green-soft: #eef8f2;
    --ath-gold: #d8a928;
    --ath-ink: #17211b;
    --ath-muted: #657069;
    --ath-line: #dfe8e2;
    --ath-surface: #ffffff;
    --ath-radius: 18px;
    --ath-shadow: 0 14px 40px rgba(9, 73, 40, .10);
}

.ansor-trapang-home-page .entry-title,
.ansor-trapang-home-page .wp-block-post-title,
.ansor-trapang-home-page main > header,
.ansor-trapang-home-page .page-header {
    display: none !important;
}

.ansor-trapang-home-page .entry-content,
.ansor-trapang-home-page .wp-block-post-content {
    margin-top: 0 !important;
}

.ath-home,
.ath-home * {
    box-sizing: border-box;
}

.ath-home {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 70px;
    color: var(--ath-ink);
    font-family: inherit;
}

.ath-home a {
    color: inherit;
    text-decoration: none;
}

.ath-home img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ath-ticker {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    margin-bottom: 22px;
    border: 1px solid var(--ath-line);
    border-radius: 999px;
    background: var(--ath-surface);
    overflow: hidden;
}

.ath-ticker__label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--ath-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ath-ticker__items {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}

.ath-ticker__items::-webkit-scrollbar { display: none; }
.ath-ticker__items a:hover { color: var(--ath-green); }

.ath-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .9fr);
    gap: 18px;
    margin-bottom: 44px;
}

.ath-hero__main,
.ath-hero__side {
    min-width: 0;
}

.ath-hero__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ath-card {
    overflow: hidden;
    background: var(--ath-surface);
    border: 1px solid var(--ath-line);
    border-radius: var(--ath-radius);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ath-card:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 107, 58, .28);
    box-shadow: var(--ath-shadow);
}

.ath-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ath-green-soft);
}

.ath-card__body { padding: 16px; }
.ath-card__title { margin: 8px 0 7px; font-size: 19px; line-height: 1.35; }
.ath-card__title a:hover { color: var(--ath-green); }
.ath-card__meta { color: var(--ath-muted); font-size: 13px; }
.ath-card__excerpt { margin: 10px 0 0; color: var(--ath-muted); font-size: 14px; line-height: 1.65; }

.ath-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--ath-green-soft);
    color: var(--ath-green-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.ath-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, var(--ath-green-dark), var(--ath-green));
    color: rgba(255,255,255,.9);
    font-weight: 900;
    letter-spacing: .12em;
}

.ath-card--hero {
    position: relative;
    min-height: 500px;
    border: 0;
    color: #fff;
}

.ath-card--hero .ath-card__image {
    position: absolute;
    inset: 0;
    height: 100%;
}

.ath-card--hero .ath-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.82) 100%);
}

.ath-card--hero .ath-card__body {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: 28px;
}

.ath-card--hero .ath-badge { background: var(--ath-gold); color: #17211b; }
.ath-card--hero .ath-card__title { max-width: 820px; margin-top: 12px; font-size: clamp(26px, 3vw, 42px); line-height: 1.16; }
.ath-card--hero .ath-card__meta { color: rgba(255,255,255,.82); }
.ath-card--hero .ath-card__excerpt { display: none; }

.ath-card--hero-small .ath-card__image { height: 150px; }
.ath-card--hero-small .ath-card__body { padding: 13px; }
.ath-card--hero-small .ath-card__title { font-size: 15px; margin: 7px 0 5px; }
.ath-card--hero-small .ath-card__excerpt { display: none; }

.ath-section {
    margin: 46px 0;
}

.ath-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.ath-section__head h2,
.ath-about h2 {
    margin: 3px 0 0;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
}

.ath-section__eyebrow {
    color: var(--ath-green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ath-text-link {
    color: var(--ath-green) !important;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.ath-category-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 18px;
}

.ath-card--feature .ath-card__image { height: 350px; }
.ath-card--feature .ath-card__title { font-size: 25px; }

.ath-category-grid__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
}

.ath-card--compact {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: stretch;
    min-height: 112px;
}

.ath-card--compact .ath-card__image { height: 100%; min-height: 112px; }
.ath-card--compact .ath-card__body { padding: 12px 14px; }
.ath-card--compact .ath-card__title { margin: 6px 0 4px; font-size: 16px; line-height: 1.3; }
.ath-card--compact .ath-card__excerpt { display: none; }

.ath-section--programs {
    padding: 34px;
    border-radius: 24px;
    background: var(--ath-green-dark);
    color: #fff;
}

.ath-section--programs .ath-section__eyebrow { color: #bce7cd; }
.ath-program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ath-program {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 190px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 18px;
    background: rgba(255,255,255,.09);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.10);
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ath-program::after {
    content: "→";
    position: absolute;
    right: 20px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--ath-green-dark);
    font-size: 18px;
    font-weight: 900;
    transition: transform .2s ease;
}
.ath-program:hover {
    transform: translateY(-5px);
    background: #fff;
    border-color: #fff;
    color: var(--ath-green-dark) !important;
    box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.ath-program:hover::after { transform: translateX(3px); background: var(--ath-green); color: #fff; }
.ath-program__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: rgba(255,255,255,.16);
    font-size: 21px;
    font-weight: 900;
}
.ath-program:hover .ath-program__icon { background: var(--ath-green-soft); color: var(--ath-green-dark); }
.ath-program strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.25;
}
.ath-program > span:last-child {
    max-width: 90%;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.6;
}
.ath-program:hover > span:last-child { color: var(--ath-muted); }

.ath-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ath-gallery-item {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 17px;
    background: var(--ath-green-soft);
}

.ath-gallery-item::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.8));
}

.ath-gallery-item span {
    position: absolute;
    z-index: 2;
    inset: auto 16px 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.ath-about {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 34px;
    align-items: center;
    margin: 50px 0 30px;
    padding: 36px;
    border: 1px solid var(--ath-line);
    border-radius: 24px;
    background: linear-gradient(135deg, var(--ath-green-soft), #fff 62%);
}

.ath-about__mark {
    display: grid;
    place-items: center;
    min-height: 240px;
    border-radius: 20px;
    background: var(--ath-green);
    color: #fff;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 950;
    line-height: .95;
    letter-spacing: -.04em;
    text-align: center;
}

.ath-about__content p { max-width: 720px; color: var(--ath-muted); line-height: 1.75; }
.ath-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.ath-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border-radius: 999px; font-weight: 800; }
.ath-button--primary { background: var(--ath-green); color: #fff !important; }
.ath-button--outline { border: 1px solid var(--ath-green); color: var(--ath-green) !important; }

.ath-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    border-radius: 18px;
    background: #17211b;
    color: #fff;
}

.ath-social strong { display: block; margin-bottom: 4px; font-size: 18px; }
.ath-social span { color: rgba(255,255,255,.7); font-size: 14px; }
.ath-social__links { display: flex; gap: 9px; flex-wrap: wrap; }
.ath-social__links a { padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 13px; font-weight: 800; }
.ath-social__links a:hover { background: #fff; color: #17211b; }

.ath-empty {
    width: min(900px, calc(100% - 32px));
    margin: 40px auto;
    padding: 30px;
    border: 1px solid var(--ath-line);
    border-radius: 16px;
    text-align: center;
}

@media (max-width: 960px) {
    .ath-hero { grid-template-columns: 1fr; }
    .ath-hero__side { grid-template-columns: repeat(2, 1fr); }
    .ath-category-grid { grid-template-columns: 1fr; }
    .ath-program-grid { grid-template-columns: repeat(2, 1fr); }
    .ath-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .ath-about { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-home { width: min(100% - 20px, 1180px); margin-top: 14px; }
    .ath-ticker { grid-template-columns: 1fr; gap: 8px; border-radius: 15px; }
    .ath-ticker__label { width: max-content; }
    .ath-card--hero { min-height: 430px; }
    .ath-card--hero .ath-card__body { padding: 20px; }
    .ath-hero__side { grid-template-columns: 1fr; }
    .ath-card--hero-small { display: grid; grid-template-columns: 120px 1fr; }
    .ath-card--hero-small .ath-card__image { height: 100%; min-height: 120px; }
    .ath-card--feature .ath-card__image { height: 250px; }
    .ath-card--feature .ath-card__title { font-size: 21px; }
    .ath-card--compact { grid-template-columns: 105px 1fr; }
    .ath-section { margin: 34px 0; }
    .ath-section__head { align-items: flex-start; }
    .ath-section--programs { padding: 24px 18px; }
    .ath-program-grid { grid-template-columns: 1fr; }
    .ath-gallery-grid { grid-template-columns: 1fr; }
    .ath-about { padding: 22px; }
    .ath-about__mark { min-height: 180px; }
    .ath-social { align-items: flex-start; flex-direction: column; }
}

/* v1.0.2: template beranda khusus untuk block theme */
body.ath-forced-front-page .ath-front-main {
    margin: 0;
    padding: 0;
    max-width: none;
}
body.ath-forced-front-page .ath-home {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.ath-forced-front-page .ath-home {
        width: min(100% - 20px, 1180px);
    }
}

/* v1.0.3: header khusus yang ringkas dan responsif */
body.ath-forced-front-page {
    background: #f7f9f7;
}

.ath-site-shell {
    min-height: 100vh;
}

.ath-site-header {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 12px 36px rgba(8, 67, 37, .08);
}

.ath-header-top {
    background: var(--ath-green-dark);
    color: #fff;
}

.ath-header-top__inner {
    min-height: 38px;
    padding: 7px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ath-header-top__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.ath-header-social {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.ath-header-social a {
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.ath-header-social a:hover {
    background: #fff;
    color: var(--ath-green-dark);
}

.ath-brand-row {
    padding: 22px 34px 18px;
}

.ath-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--ath-ink);
    text-decoration: none;
}

.ath-brand__logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
    flex: 0 0 auto;
}

.ath-brand__copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ath-brand__copy strong {
    font-size: clamp(25px, 3vw, 43px);
    line-height: 1.05;
    letter-spacing: -.025em;
}

.ath-brand__copy span {
    color: var(--ath-muted);
    font-size: clamp(13px, 1.4vw, 17px);
}

.ath-header-banner {
    margin: 0 34px 18px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--ath-green-soft);
}

.ath-header-banner img {
    display: block;
    width: 100%;
    max-height: 210px;
    object-fit: cover;
}

.ath-main-nav {
    position: relative;
    padding: 0 24px;
    background: var(--ath-green);
}

.ath-main-menu {
    display: block;
}

.ath-nav-list,
.ath-main-menu > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ath-nav-list li,
.ath-main-menu li {
    position: relative;
    margin: 0;
}

.ath-nav-list a,
.ath-main-menu a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 17px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.ath-nav-list a:hover,
.ath-main-menu a:hover,
.ath-main-menu .current-menu-item > a {
    background: rgba(255,255,255,.13);
}

.ath-main-menu .sub-menu {
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: 0 0 12px 12px;
    background: var(--ath-green-dark);
    box-shadow: 0 12px 28px rgba(0,0,0,.15);
}

.ath-main-menu li:hover > .sub-menu {
    display: block;
}

.ath-main-menu .sub-menu a {
    min-height: 40px;
    border-radius: 8px;
}

.ath-menu-toggle {
    display: none;
    width: 100%;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

body.ath-forced-front-page .ath-home {
    margin-top: 26px;
}

@media (max-width: 782px) {
    .ath-site-header {
        width: 100%;
    }

    .ath-header-top__inner {
        padding-inline: 18px;
    }

    .ath-header-top__label {
        display: none;
    }

    .ath-header-social {
        width: 100%;
        justify-content: center;
    }

    .ath-brand-row {
        padding: 18px 18px 14px;
    }

    .ath-brand {
        gap: 13px;
    }

    .ath-brand__logo {
        width: 66px;
        height: 66px;
    }

    .ath-brand__copy strong {
        font-size: clamp(22px, 7vw, 30px);
    }

    .ath-brand__copy span {
        font-size: 12px;
    }

    .ath-header-banner {
        margin: 0 14px 14px;
        border-radius: 12px;
    }

    .ath-header-banner img {
        max-height: 165px;
    }

    .ath-main-nav {
        padding: 0 14px;
    }

    .ath-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .ath-main-menu {
        display: none;
        padding-bottom: 12px;
    }

    .ath-main-menu.is-open {
        display: block;
    }

    .ath-nav-list,
    .ath-main-menu > ul {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .ath-nav-list a,
    .ath-main-menu a {
        min-height: 43px;
        justify-content: center;
        border-radius: 8px;
    }

    .ath-main-menu .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 12px 7px;
        box-shadow: none;
        background: transparent;
    }
}

@media (max-width: 430px) {
    .ath-brand__copy strong {
        font-size: 20px;
    }

    .ath-brand__copy span {
        max-width: 240px;
    }

    .ath-brand__logo {
        width: 56px;
        height: 56px;
    }
}


/* v1.0.4: footer ringkas, menggantikan footer tema yang terlalu padat */
.ath-site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #10271c;
    color: #fff;
}
.ath-footer-main {
    display: grid;
    grid-template-columns: 1.35fr .75fr 1fr;
    gap: 42px;
    padding: 42px;
}
.ath-footer-brand__link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}
.ath-footer-brand__link img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    flex: 0 0 auto;
}
.ath-footer-brand__link strong,
.ath-footer-links > strong,
.ath-footer-contact > strong {
    display: block;
    margin-bottom: 11px;
    font-size: 17px;
}
.ath-footer-brand__link strong { margin: 0; font-size: 21px; line-height: 1.2; }
.ath-footer-brand__link small { display: block; margin-top: 5px; color: rgba(255,255,255,.68); }
.ath-footer-brand p,
.ath-footer-contact p {
    max-width: 480px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.7;
}
.ath-footer-links nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 18px;
}
.ath-footer-links a {
    color: rgba(255,255,255,.78);
    font-size: 14px;
    text-decoration: none;
}
.ath-footer-links a:hover { color: #fff; }
.ath-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.ath-footer-social a {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.ath-footer-social a:hover { background: #fff; color: #10271c; }
.ath-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 42px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.64);
    font-size: 12px;
}
body.ath-forced-front-page footer.wp-block-template-part,
body.ath-forced-front-page .wp-site-blocks > footer:not(.ath-site-footer) {
    display: none !important;
}
@media (max-width: 820px) {
    .ath-footer-main { grid-template-columns: 1fr 1fr; }
    .ath-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-site-footer { width: min(100% - 20px, 1180px); border-radius: 18px 18px 0 0; }
    .ath-footer-main { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
    .ath-footer-brand { grid-column: auto; }
    .ath-footer-brand__link { align-items: flex-start; }
    .ath-footer-brand__link img { width: 56px; height: 56px; }
    .ath-footer-links nav { grid-template-columns: 1fr 1fr; }
    .ath-footer-bottom { align-items: flex-start; flex-direction: column; padding: 14px 22px; }
}


/* v1.0.5: desktop footer polish + cache bust */
.ath-footer-main {
    align-items: start;
}
.ath-footer-brand__link span {
    display: flex;
    flex-direction: column;
}
.ath-footer-links nav,
.ath-footer-contact {
    align-content: start;
}
.ath-footer-links a,
.ath-footer-contact p,
.ath-footer-brand p {
    word-break: break-word;
}
@media (min-width: 821px) {
    .ath-footer-main {
        grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr) minmax(260px, 1fr);
        gap: 34px;
    }
    .ath-footer-brand__link img {
        width: 74px;
        height: 74px;
    }
}

@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-program { min-height: 155px; padding: 20px; }
    .ath-program::after { right: 16px; bottom: 16px; }
}


/* v1.0.8: single article pages use the same shell */
.ath-post-shell {
    width: min(940px, calc(100% - 32px));
    margin: 28px auto 48px;
}
.ath-post {
    background: var(--ath-surface);
    border: 1px solid var(--ath-line);
    border-radius: 26px;
    box-shadow: 0 14px 40px rgba(9, 73, 40, .07);
}
.ath-post__inner {
    padding: 34px;
}
.ath-post__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ath-muted);
    font-size: 13px;
    margin-bottom: 14px;
}
.ath-post__breadcrumbs a:hover { color: var(--ath-green); }
.ath-post__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.ath-post__cat {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--ath-green-soft);
    color: var(--ath-green-dark) !important;
    font-size: 12px;
    font-weight: 800;
}
.ath-post__title {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.14;
    letter-spacing: -.03em;
}
.ath-post__meta {
    color: var(--ath-muted);
    font-size: 14px;
    margin-bottom: 22px;
}
.ath-post__image {
    overflow: hidden;
    margin-bottom: 26px;
    border-radius: 22px;
    background: var(--ath-green-soft);
}
.ath-post__image img {
    display: block;
    width: 100%;
    height: auto;
}
.ath-post__content {
    color: #243029;
    font-size: 17px;
    line-height: 1.9;
}
.ath-post__content > *:first-child { margin-top: 0; }
.ath-post__content h2,
.ath-post__content h3,
.ath-post__content h4 {
    margin-top: 1.7em;
    margin-bottom: .6em;
    line-height: 1.3;
}
.ath-post__content p,
.ath-post__content ul,
.ath-post__content ol,
.ath-post__content blockquote {
    margin: 0 0 1.05em;
}
.ath-post__content a {
    color: var(--ath-green);
    text-decoration: underline;
}
.ath-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}
.ath-post__content blockquote {
    margin-left: 0;
    padding: 18px 22px;
    border-left: 4px solid var(--ath-green);
    border-radius: 0 16px 16px 0;
    background: var(--ath-green-soft);
}
.ath-post-related {
    margin-top: 26px;
}
.ath-post-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 960px) {
    .ath-post-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-post-shell { width: min(100% - 20px, 940px); margin-top: 16px; }
    .ath-post__inner { padding: 20px; }
    .ath-post__title { font-size: 30px; }
    .ath-post__content { font-size: 16px; line-height: 1.8; }
}


/* v1.0.11: article images and galleries polished */
.ath-post__content figure,
.ath-post__content .wp-block-image {
    margin: 24px 0;
    padding: 10px;
    border: 1px solid var(--ath-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(9, 73, 40, .06);
}
.ath-post__content figure img,
.ath-post__content .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}
.ath-post__content figcaption,
.ath-post__content .wp-element-caption {
    margin-top: 10px;
    color: var(--ath-muted);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}
.ath-post__content .wp-block-gallery,
.ath-post__content .blocks-gallery-grid,
.ath-post__content .wp-block-gallery.has-nested-images,
.ath-post__content .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
    align-items: stretch;
}
.ath-post__content .wp-block-gallery .wp-block-image,
.ath-post__content .wp-block-gallery.has-nested-images .wp-block-image,
.ath-post__content .blocks-gallery-item,
.ath-post__content .gallery-item {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px;
    min-width: 0;
    float: none !important;
}
.ath-post__content .blocks-gallery-item figure,
.ath-post__content .wp-block-gallery .wp-block-image figure,
.ath-post__content .gallery-item .gallery-icon,
.ath-post__content .gallery-item figure {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}
.ath-post__content .wp-block-gallery .wp-block-image > a,
.ath-post__content .blocks-gallery-item > a,
.ath-post__content .gallery-item .gallery-icon a {
    display: block;
    width: 100%;
}
.ath-post__content .wp-block-gallery .wp-block-image img,
.ath-post__content .wp-block-gallery.has-nested-images .wp-block-image img,
.ath-post__content .blocks-gallery-item img,
.ath-post__content .gallery-item .gallery-icon img {
    width: 100% !important;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    box-shadow: 0 10px 22px rgba(15, 56, 33, 0.10);
}
.ath-post__content .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ath-post__content .gallery-caption {
    margin-top: 8px;
    color: var(--ath-muted);
    font-size: 12px;
    text-align: center;
}
.ath-post__content .aligncenter {
    margin-left: auto;
    margin-right: auto;
}
.ath-post__content .alignwide,
.ath-post__content .alignfull {
    max-width: 100%;
}
.ath-post-related {
    margin-top: 34px;
    padding-top: 6px;
}
.ath-post-related .ath-card__image {
    height: 210px;
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .ath-post__content figure,
    .ath-post__content .wp-block-image,
    .ath-post__content .gallery-item {
        padding: 6px;
        border-radius: 14px;
    }
    .ath-post__content .wp-block-gallery .wp-block-image img,
    .ath-post__content .wp-block-gallery.has-nested-images .wp-block-image img,
    .ath-post__content .blocks-gallery-item img,
    .ath-post__content .gallery-item .gallery-icon img {
        height: 138px;
    }
}

/* v1.0.12: halaman Profil, Berita, Galeri, Agenda, dan Kontak */
.ath-content-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 30px auto 54px;
}
.ath-page-hero {
    margin-bottom: 24px;
    padding: 34px 38px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--ath-green-dark), var(--ath-green));
    color: #fff;
}
.ath-page-hero .ath-section__eyebrow { color: #bce7cd; }
.ath-page-hero h1 {
    margin: 5px 0 8px;
    color: #fff;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
}
.ath-page-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.7;
}
.ath-page-card {
    padding: 30px;
    border: 1px solid var(--ath-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 73, 40, .06);
}
.ath-page-prose {
    color: #243029;
    font-size: 17px;
    line-height: 1.85;
}
.ath-page-prose > *:first-child { margin-top: 0; }
.ath-page-prose > *:last-child { margin-bottom: 0; }
.ath-page-prose h2, .ath-page-prose h3 { line-height: 1.3; }
.ath-menu-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.ath-menu-post-grid .ath-card__image { height: 220px; }
.ath-menu-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.ath-menu-gallery__item {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--ath-green-soft);
    box-shadow: 0 10px 28px rgba(9, 73, 40, .08);
}
.ath-menu-gallery__item::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
}
.ath-menu-gallery__item img { transition: transform .28s ease; }
.ath-menu-gallery__item:hover img { transform: scale(1.035); }
.ath-menu-gallery__item span {
    position: absolute;
    z-index: 2;
    inset: auto 18px 17px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}
.ath-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
}
.ath-contact-card p { color: var(--ath-muted); line-height: 1.7; }
.ath-contact-social {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}
.ath-contact-social a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 15px;
    border: 1px solid var(--ath-line);
    border-radius: 13px;
    font-weight: 800;
}
.ath-contact-social a:hover {
    border-color: var(--ath-green);
    background: var(--ath-green-soft);
    color: var(--ath-green);
}
.ath-page-empty { color: var(--ath-muted); text-align: center; }
.ath-pagination { margin-top: 28px; }
.ath-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ath-pagination a, .ath-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--ath-line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}
.ath-pagination .current {
    border-color: var(--ath-green);
    background: var(--ath-green);
    color: #fff;
}
@media (max-width: 960px) {
    .ath-menu-post-grid, .ath-menu-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ath-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-content-shell { width: min(100% - 20px, 1180px); margin-top: 16px; }
    .ath-page-hero { padding: 25px 22px; border-radius: 18px; }
    .ath-page-card { padding: 22px; border-radius: 17px; }
    .ath-menu-post-grid, .ath-menu-gallery { grid-template-columns: 1fr; }
    .ath-menu-gallery__item { min-height: 230px; }
}


/* v1.0.14: Visi dan Misi */
.ath-vision-mission {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr);
    gap: 18px;
    margin: 36px 0;
}
.ath-vision-card,
.ath-mission-card {
    border-radius: 24px;
    padding: 32px;
}
.ath-vision-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 310px;
    background: linear-gradient(145deg, var(--ath-green-dark), var(--ath-green));
    color: #fff;
}
.ath-vision-card .ath-section__eyebrow {
    color: #c7f0d8;
}
.ath-vision-card h2,
.ath-mission-card h2 {
    margin: 7px 0 16px;
    font-size: clamp(28px, 3vw, 40px);
}
.ath-vision-card p {
    margin: 0;
    font-size: clamp(23px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.ath-mission-card {
    border: 1px solid var(--ath-line);
    background: #fff;
    box-shadow: 0 14px 40px rgba(9, 73, 40, .07);
}
.ath-mission-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ath-mission;
}
.ath-mission-list li {
    counter-increment: ath-mission;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--ath-line);
    border-radius: 15px;
    background: var(--ath-green-soft);
    color: #27332c;
    font-size: 14px;
    line-height: 1.6;
}
.ath-mission-list li::before {
    content: counter(ath-mission);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ath-green);
    color: #fff;
    font-weight: 900;
}
.ath-vision-mission--compact {
    margin-top: 28px;
    margin-bottom: 34px;
}
.ath-content-shell .ath-vision-mission {
    margin-top: 24px;
}
@media (max-width: 900px) {
    .ath-vision-mission {
        grid-template-columns: 1fr;
    }
    .ath-vision-card {
        min-height: 230px;
    }
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-vision-card,
    .ath-mission-card {
        padding: 22px;
        border-radius: 18px;
    }
    .ath-mission-list {
        grid-template-columns: 1fr;
    }
    .ath-vision-card p {
        font-size: 25px;
    }
}


/* v1.0.15: perbaikan foto pada halaman Berita/Agenda */
.ath-menu-post-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.ath-menu-post-grid .ath-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ath-menu-post-grid .ath-card__image {
    height: 250px;
    border-bottom: 1px solid var(--ath-line);
    background: var(--ath-green-soft);
}
.ath-menu-post-grid .ath-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transition: transform .28s ease;
}
.ath-menu-post-grid .ath-card:hover .ath-card__image img {
    transform: scale(1.04);
}
.ath-menu-post-grid .ath-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 18px;
}
.ath-menu-post-grid .ath-badge {
    margin-bottom: 8px;
}
.ath-menu-post-grid .ath-card__title {
    font-size: 26px;
    line-height: 1.28;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ath-menu-post-grid .ath-card__meta {
    margin-top: auto;
    padding-top: 8px;
}
.ath-menu-post-grid .ath-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 960px) {
    .ath-menu-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ath-menu-post-grid .ath-card__title {
        font-size: 22px;
    }
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-menu-post-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ath-menu-post-grid .ath-card__image {
        height: 240px;
    }
    .ath-menu-post-grid .ath-card__title {
        font-size: 24px;
        -webkit-line-clamp: 2;
    }
}


/* v1.0.17: logo resmi pada bagian Tentang Kami */
.ath-about__mark {
    padding: 24px;
    background: linear-gradient(145deg, #0f7a39, #0c6a32);
    gap: 14px;
}
.ath-about__logo-wrap {
    display: grid;
    place-items: center;
    width: min(100%, 280px);
    aspect-ratio: 1 / 1;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0,0,0,.12);
}
.ath-about__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.ath-about__mark-caption {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-about__logo-wrap {
        width: min(100%, 220px);
        padding: 18px;
        border-radius: 22px;
    }
    .ath-about__mark-caption {
        font-size: 12px;
    }
}


/* v1.0.18: galeri menampilkan foto lebih utuh */
.ath-menu-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.ath-menu-gallery__item {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 14px;
    border: 1px solid var(--ath-line);
    background: #fff;
}
.ath-menu-gallery__item::after {
    display: none;
}
.ath-menu-gallery__item img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center center;
    border-radius: 14px;
    background: #f4f8f5;
    transition: transform .28s ease;
}
.ath-menu-gallery__item:hover img {
    transform: scale(1.02);
}
.ath-menu-gallery__item span {
    position: static;
    inset: auto;
    margin-top: 12px;
    color: var(--ath-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}
@media (max-width: 960px) {
    .ath-menu-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ath-menu-gallery__item img {
        height: 280px;
    }
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-menu-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ath-menu-gallery__item {
        padding: 12px;
        border-radius: 16px;
    }
    .ath-menu-gallery__item img {
        height: 260px;
    }
}


/* v1.0.19: halaman Galeri hanya menampilkan foto */
.ath-menu-gallery__item {
    margin: 0;
    cursor: default;
}
.ath-menu-gallery__item span {
    display: none !important;
}
.ath-menu-gallery__item:hover img {
    transform: none;
}


/* v1.0.21: galeri foto khusus dari menu dashboard */
.ath-content-page--galeri .ath-menu-gallery__item { padding: 10px; }
.ath-content-page--galeri .ath-menu-gallery__item img { border-radius: 12px; }


/* v1.0.22: judul header 2 susun kapital */
.ath-brand__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.ath-brand__title span:first-child {
    font-size: clamp(18px, 1.9vw, 24px);
    font-weight: 900;
    line-height: 1.05;
}
.ath-brand__title span:last-child {
    font-size: clamp(24px, 2.65vw, 38px);
    font-weight: 900;
    line-height: 1.02;
}
@media (max-width: 820px) {
    .ath-brand__title span:first-child {
        font-size: clamp(15px, 3.2vw, 18px);
    }
    .ath-brand__title span:last-child {
        font-size: clamp(20px, 5vw, 28px);
    }
}
@media (max-width: 430px) {
    .ath-brand__title span:first-child {
        font-size: 13px;
    }
    .ath-brand__title span:last-child {
        font-size: 18px;
    }
}


/* v1.0.23: nomor kontak dan WhatsApp Channel */
.ath-contact-phones {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ath-line);
}
.ath-contact-phones > strong {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
}
.ath-contact-phone-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ath-contact-phone-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--ath-green);
    border-radius: 999px;
    color: var(--ath-green) !important;
    font-weight: 800;
    text-decoration: none;
}
.ath-contact-phone-list a:hover {
    background: var(--ath-green);
    color: #fff !important;
}
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-contact-phone-list {
        display: grid;
        grid-template-columns: 1fr;
    }
    .ath-contact-phone-list a {
        justify-content: center;
    }
}


/* v1.0.24: tampilan Agenda khusus, pamflet terlihat utuh */
.ath-agenda-list {
    display: grid;
    gap: 24px;
}
.ath-agenda-card {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--ath-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(9, 73, 40, .08);
}
.ath-agenda-card__poster {
    display: grid;
    place-items: center;
    min-height: 440px;
    padding: 16px;
    background: linear-gradient(145deg, #eaf7f0, #f7fbf8);
}
.ath-agenda-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.ath-agenda-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}
.ath-agenda-card__badge {
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ath-green-soft);
    color: var(--ath-green-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.ath-agenda-card__content h2 {
    margin: 15px 0 12px;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.18;
}
.ath-agenda-card__content h2 a:hover {
    color: var(--ath-green);
}
.ath-agenda-card__content p {
    margin: 0 0 22px;
    color: var(--ath-muted);
    font-size: 16px;
    line-height: 1.75;
}
.ath-agenda-card__button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 10px 17px;
    border-radius: 999px;
    background: var(--ath-green);
    color: #fff !important;
    font-weight: 800;
}
.ath-agenda-card__button:hover {
    background: var(--ath-green-dark);
}
.ath-agenda-card--compact {
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
}
.ath-agenda-card--compact .ath-agenda-card__poster {
    min-height: 360px;
}
.ath-agenda-card--compact .ath-agenda-card__poster img {
    max-height: 430px;
}
@media (max-width: 820px) {
    .ath-agenda-card,
    .ath-agenda-card--compact {
        grid-template-columns: 1fr;
    }
    .ath-agenda-card__poster,
    .ath-agenda-card--compact .ath-agenda-card__poster {
        min-height: 0;
        padding: 12px;
    }
    .ath-agenda-card__poster img,
    .ath-agenda-card--compact .ath-agenda-card__poster img {
        width: 100%;
        height: auto;
        max-height: none;
    }
    .ath-agenda-card__content {
        padding: 24px;
    }
}
@media (max-width: 480px) {
    .ath-agenda-card {
        border-radius: 18px;
    }
    .ath-agenda-card__content {
        padding: 20px;
    }
    .ath-agenda-card__content h2 {
        font-size: 26px;
    }
}


/* =========================================================
   Versi 1.1.0 — Profil organisasi, TikTok, WhatsApp, statistik
   ========================================================= */
.ath-nav-caret { margin-left: 7px; font-size: 13px; opacity: .82; }
.ath-main-menu .sub-menu { min-width: 255px; }
.ath-main-menu .sub-menu .current-menu-item > a { background: rgba(255,255,255,.14); }

.ath-section--tiktok {
    display: grid;
    grid-template-columns: minmax(280px,.78fr) minmax(320px,1.22fr);
    gap: 34px;
    align-items: center;
    overflow: hidden;
    padding: 38px;
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 10%, rgba(37,244,238,.12), transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(254,44,85,.14), transparent 32%),
        linear-gradient(145deg,#121719,#20282b);
    color: #fff;
    box-shadow: 0 24px 70px rgba(7,35,25,.16);
}
.ath-tiktok-copy .ath-section__eyebrow { color: #67eee9; }
.ath-tiktok-copy h2 { margin: 9px 0 14px; color: #fff; font-size: clamp(28px,3.2vw,43px); line-height: 1.08; }
.ath-tiktok-copy p { margin: 0 0 22px; color: rgba(255,255,255,.72); line-height: 1.72; }
.ath-tiktok-handle { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.06); }
.ath-tiktok-handle span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #111; }
.ath-button--dark { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #111 !important; }
.ath-button--dark:hover { transform: translateY(-2px); background: #eef8f2; }
.ath-tiktok-embed-wrap { display: flex; justify-content: center; min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.ath-tiktok-embed-wrap .tiktok-embed { width: 100%; margin: 0 !important; }

.ath-whatsapp-cta {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 22px;
    align-items: center;
    margin: 0 0 44px;
    padding: 30px 34px;
    overflow: hidden;
    border-radius: 25px;
    background: linear-gradient(130deg,#07512c,#0a7a42 65%,#129453);
    color: #fff;
    box-shadow: 0 20px 50px rgba(7,81,44,.20);
}
.ath-whatsapp-cta::after { content:""; position:absolute; right:-65px; top:-95px; width:240px; height:240px; border-radius:50%; border:45px solid rgba(255,255,255,.07); }
.ath-whatsapp-cta__icon { position:relative; z-index:1; display:grid; place-items:center; width:70px; height:70px; border-radius:22px; background:#fff; color:#0a7a42; font-size:34px; font-weight:900; box-shadow:0 14px 30px rgba(0,0,0,.12); }
.ath-whatsapp-cta__copy { position:relative; z-index:1; }
.ath-whatsapp-cta__copy > span { color:#c9f7dc; font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.ath-whatsapp-cta h2 { margin:6px 0 7px; color:#fff; font-size:clamp(23px,3vw,35px); }
.ath-whatsapp-cta p { margin:0; color:rgba(255,255,255,.78); line-height:1.6; }
.ath-whatsapp-cta > a { position:relative; z-index:1; display:inline-flex; align-items:center; gap:9px; min-height:48px; padding:11px 18px; border-radius:999px; background:#fff; color:#07512c !important; font-weight:900; white-space:nowrap; }
.ath-whatsapp-cta > a:hover { transform:translateY(-2px); box-shadow:0 12px 25px rgba(0,0,0,.14); }

.ath-section--statistics {
    padding: 38px;
    border: 0;
    border-radius: 27px;
    background: linear-gradient(140deg,#063b23,#0b6b3a);
    color: #fff;
    box-shadow: 0 24px 60px rgba(6,59,35,.18);
}
.ath-section__head--light h2 { color:#fff; }
.ath-section__head--light .ath-section__eyebrow { color:#bce7cd; }
.ath-stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.ath-stat { min-width:0; padding:24px 20px; border:1px solid rgba(255,255,255,.14); border-radius:19px; background:rgba(255,255,255,.075); text-align:center; backdrop-filter:blur(6px); }
.ath-stat__number { display:block; margin-bottom:4px; color:#fff; font-size:clamp(39px,5vw,62px); line-height:1; font-weight:950; letter-spacing:-.045em; }
.ath-stat__label { display:block; color:#fff; font-size:15px; font-weight:900; }
.ath-stat small { display:block; margin-top:7px; color:rgba(255,255,255,.62); font-size:11px; line-height:1.45; }

.ath-profile-hub { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin:20px 0 36px; }
.ath-profile-hub > a { display:grid; grid-template-columns:auto 1fr auto; gap:17px; align-items:center; padding:24px; border:1px solid var(--ath-line); border-radius:20px; background:#fff; box-shadow:0 10px 28px rgba(9,73,40,.06); transition:.2s ease; }
.ath-profile-hub > a:hover { transform:translateY(-3px); border-color:rgba(11,107,58,.35); box-shadow:var(--ath-shadow); }
.ath-profile-hub > a > span { display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:var(--ath-green-soft); color:var(--ath-green-dark); font-size:13px; font-weight:950; }
.ath-profile-hub strong { display:block; margin-bottom:5px; font-size:19px; }
.ath-profile-hub p { margin:0; color:var(--ath-muted); font-size:13px; line-height:1.55; }
.ath-profile-hub b { color:var(--ath-green); font-size:22px; }
.ath-content-page--profil .ath-section--statistics { margin-top:24px; }

.ath-org-chart { padding:30px; border:1px solid var(--ath-line); border-radius:25px; background:linear-gradient(180deg,#f7fbf8,#fff); box-shadow:var(--ath-shadow); }
.ath-org-chart__period { width:max-content; max-width:100%; margin:0 auto 24px; padding:9px 16px; border-radius:999px; background:var(--ath-green); color:#fff; font-size:12px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.ath-org-guidance,.ath-org-daily { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; max-width:850px; margin:0 auto 22px; }
.ath-org-chair { max-width:440px; margin:0 auto 22px; }
.ath-org-card { display:flex; align-items:center; gap:15px; min-width:0; padding:19px; border:1px solid var(--ath-line); border-radius:18px; background:#fff; box-shadow:0 9px 25px rgba(9,73,40,.06); }
.ath-org-card--guidance { border-color:#d8e4dc; background:#f7faf8; }
.ath-org-card--chair { padding:24px; border:0; background:linear-gradient(135deg,#07512c,#0b6b3a); color:#fff; box-shadow:0 18px 40px rgba(7,81,44,.20); }
.ath-org-avatar { display:grid; place-items:center; flex:0 0 auto; width:56px; height:56px; border-radius:17px; background:var(--ath-green-soft); color:var(--ath-green-dark); font-size:17px; font-weight:950; }
.ath-org-card--chair .ath-org-avatar { background:#fff; }
.ath-org-role { display:block; margin-bottom:3px; color:var(--ath-green); font-size:11px; font-weight:950; letter-spacing:.07em; text-transform:uppercase; }
.ath-org-card--chair .ath-org-role { color:#bce7cd; }
.ath-org-card h2,.ath-org-card h3 { margin:0; color:inherit; font-size:18px; line-height:1.25; }
.ath-org-card--chair h2 { color:#fff; font-size:25px; }
.ath-org-section-head { max-width:760px; margin:34px auto 19px; text-align:center; }
.ath-org-section-head span { display:block; color:var(--ath-green-dark); font-size:23px; font-weight:950; }
.ath-org-section-head p { margin:7px 0 0; color:var(--ath-muted); font-size:13px; line-height:1.6; }
.ath-org-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.ath-org-card--field { align-items:flex-start; }
.ath-org-card--field p { margin:6px 0 0; color:var(--ath-muted); font-size:12px; line-height:1.5; }

.ath-chair-profile { display:grid; grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr); gap:30px; align-items:stretch; padding:30px; border:1px solid var(--ath-line); border-radius:28px; background:linear-gradient(135deg,#ffffff 0%,#fbfefc 100%); box-shadow:var(--ath-shadow); overflow:hidden; }
.ath-chair-profile__portrait { display:flex; flex-direction:column; min-height:560px; border-radius:24px; background:linear-gradient(145deg,#eef7f0,#dcefe1); overflow:hidden; position:relative; }
.ath-chair-profile__portrait::after { content:""; position:absolute; inset:auto -55px -70px auto; width:210px; height:210px; border-radius:50%; background:rgba(11,107,58,.08); pointer-events:none; }
.ath-chair-profile__photo-frame { flex:1; display:flex; align-items:flex-end; justify-content:center; min-height:440px; overflow:hidden; }
.ath-chair-profile__photo-frame img { width:100%; height:100%; min-height:440px; object-fit:cover; object-position:center top; display:block; }
.ath-chair-profile__portrait-caption { position:relative; z-index:1; padding:18px 20px 20px; background:linear-gradient(135deg,#07512c,#0b6b3a); color:#fff; text-align:left; }
.ath-chair-profile__portrait-caption span { display:block; margin-bottom:4px; color:rgba(255,255,255,.72); font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.ath-chair-profile__portrait-caption strong { display:block; font-size:25px; line-height:1.05; }
.ath-chair-profile__portrait-caption small { display:block; margin-top:5px; color:rgba(255,255,255,.75); font-size:12px; font-weight:700; }
.ath-chair-profile__content { display:flex; flex-direction:column; justify-content:center; padding:8px 4px; }
.ath-chair-profile__content h2 { margin:7px 0 4px; color:var(--ath-green-dark); font-size:clamp(38px,5vw,60px); line-height:1; }
.ath-chair-profile__role { margin:0 0 24px; color:var(--ath-green-dark); font-size:17px; font-weight:800; }
.ath-chair-profile__facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ath-chair-profile__facts article { min-width:0; padding:15px 16px; border:1px solid #dfeae3; border-radius:16px; background:var(--ath-green-soft); }
.ath-chair-profile__facts span { display:block; color:var(--ath-muted); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.ath-chair-profile__facts strong { display:block; margin-top:5px; color:var(--ath-ink); font-size:15px; line-height:1.45; }
.ath-chair-profile__facts small { display:block; margin-top:4px; color:var(--ath-green-dark); font-size:11px; font-weight:800; }
.ath-chair-profile__direction { margin-top:18px; padding:20px; border-left:4px solid var(--ath-gold); border-radius:0 16px 16px 0; background:#fffaf0; }
.ath-chair-profile__direction strong { color:#745714; font-size:12px; text-transform:uppercase; letter-spacing:.06em; }
.ath-chair-profile__direction p { margin:7px 0 0; color:var(--ath-ink); font-size:20px; font-weight:950; line-height:1.35; }
.ath-chair-profile__quote { margin:16px 0 0; padding:20px 22px; border:0; border-radius:18px; background:#f5faf7; box-shadow:inset 0 0 0 1px #dfeae3; }
.ath-chair-profile__quote span { display:block; margin-bottom:8px; color:var(--ath-green-dark); font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.ath-chair-profile__quote p { margin:0; color:var(--ath-ink); font-size:16px; line-height:1.75; font-style:italic; }
.ath-history-page { position:relative; overflow:hidden; padding:38px; }
.ath-history-page::before { content:"ANSOR TRAPANG"; position:absolute; right:-10px; bottom:-18px; color:rgba(11,107,58,.045); font-size:62px; font-weight:950; letter-spacing:-.04em; }
.ath-history-page > * { position:relative; z-index:1; }

@media (max-width: 940px) {
    .ath-section--tiktok { grid-template-columns:1fr; }
    .ath-stat-grid { grid-template-columns:repeat(2,1fr); }
    .ath-whatsapp-cta { grid-template-columns:auto 1fr; }
    .ath-whatsapp-cta > a { grid-column:1/-1; justify-self:start; margin-left:92px; }
}
@media (max-width: 720px) {
    .ath-profile-hub,.ath-org-fields { grid-template-columns:1fr; }
    .ath-chair-profile { grid-template-columns:1fr; padding:18px; }
    .ath-chair-profile__portrait { min-height:0; }
    .ath-org-chart { padding:20px; }
}
@media (max-width: 560px) {
    .ath-section--tiktok { padding:24px 18px; border-radius:21px; }
    .ath-tiktok-embed-wrap { padding:6px; }
    .ath-whatsapp-cta { grid-template-columns:1fr; gap:15px; padding:24px 20px; text-align:left; }
    .ath-whatsapp-cta__icon { width:58px; height:58px; border-radius:18px; }
    .ath-whatsapp-cta > a { grid-column:auto; justify-self:stretch; justify-content:center; margin-left:0; white-space:normal; text-align:center; }
    .ath-section--statistics { padding:25px 17px; }
    .ath-stat-grid { gap:9px; }
    .ath-stat { padding:20px 10px; }
    .ath-stat__label { font-size:13px; }
    .ath-org-guidance,.ath-org-daily { grid-template-columns:1fr; }
    .ath-org-card { padding:16px; }
    .ath-chair-profile__facts { grid-template-columns:1fr; }
    .ath-profile-hub > a { padding:18px 15px; gap:12px; }
}

/* =========================================================
   Versi 1.1.2 — kontras panel, ticker, dan jelajah kategori
   ========================================================= */

/* Semua judul di atas panel hijau harus menggunakan warna terang. */
.ath-section--programs .ath-section__head h2,
.ath-section--programs .ath-section__head h2 a,
.ath-vision-card h2 {
    color: #fff !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.ath-section--programs .ath-section__eyebrow,
.ath-vision-card .ath-section__eyebrow {
    color: #c9f3d9 !important;
}
.ath-vision-card p {
    color: #fff !important;
}
.ath-program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ath-program {
    min-width: 0;
}
.ath-program strong,
.ath-program > span:last-child {
    overflow-wrap: anywhere;
}

/* Ticker berita berjalan secara terus-menerus. */
.ath-ticker__viewport {
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}
.ath-ticker__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: ath-news-ticker 42s linear infinite;
}
.ath-ticker__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
}
.ath-ticker__group a {
    position: relative;
    color: var(--ath-ink);
}
.ath-ticker__group a::after {
    content: "•";
    position: absolute;
    right: -17px;
    color: var(--ath-green);
    opacity: .55;
}
.ath-ticker__group a:hover,
.ath-ticker__group a:focus-visible {
    color: var(--ath-green);
}
.ath-ticker__viewport:hover .ath-ticker__track,
.ath-ticker__viewport:focus-within .ath-ticker__track {
    animation-play-state: paused;
}
@keyframes ath-news-ticker {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(-50%,0,0); }
}
@media (prefers-reduced-motion: reduce) {
    .ath-ticker__viewport {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
        scrollbar-width: thin;
    }
    .ath-ticker__track { animation: none; }
    .ath-ticker__group[aria-hidden="true"] { display: none; }
}

/* Daftar kategori publik pada halaman Berita dan arsip kategori. */
.ath-category-explorer {
    margin: 0 0 26px;
    padding: 23px 25px;
    border: 1px solid var(--ath-line);
    border-radius: 20px;
    background: linear-gradient(135deg, #fff, #f3faf6);
    box-shadow: 0 10px 30px rgba(9,73,40,.055);
}
.ath-category-explorer__heading {
    margin-bottom: 15px;
}
.ath-category-explorer__heading h2 {
    margin: 4px 0 0;
    color: var(--ath-ink);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.15;
}
.ath-category-explorer__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.ath-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #d7e7dd;
    border-radius: 999px;
    background: #fff;
    color: var(--ath-green-dark) !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.ath-category-chip span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--ath-green-soft);
    color: var(--ath-green-dark);
    font-size: 11px;
}
.ath-category-chip:hover,
.ath-category-chip:focus-visible,
.ath-category-chip.is-current {
    transform: translateY(-1px);
    border-color: var(--ath-green);
    background: var(--ath-green);
    color: #fff !important;
}
.ath-category-chip:hover span,
.ath-category-chip:focus-visible span,
.ath-category-chip.is-current span {
    background: rgba(255,255,255,.18);
    color: #fff;
}
.ath-category-description > * {
    margin: 0;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

/* Label kategori pada kartu kini merupakan tautan. */
a.ath-badge {
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
a.ath-badge:hover,
a.ath-badge:focus-visible {
    transform: translateY(-1px);
    background: var(--ath-green);
    color: #fff;
}
.ath-card--hero a.ath-badge:hover,
.ath-card--hero a.ath-badge:focus-visible {
    background: #fff;
    color: #17211b;
}

@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-ticker {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    .ath-ticker__label {
        justify-self: start;
    }
    .ath-ticker__track {
        animation-duration: 52s;
    }
    .ath-category-explorer {
        padding: 20px 17px;
        border-radius: 17px;
    }
    .ath-category-explorer__chips {
        gap: 7px;
    }
    .ath-category-chip {
        min-height: 38px;
        padding: 7px 11px;
        font-size: 12px;
    }
}


/* =========================================================
   Versi 1.1.3 — ticker tanpa jeda dan pratinjau per kategori
   ========================================================= */

/* Paksa ticker selalu bergerak, termasuk pada perangkat yang mengaktifkan
   pengurangan animasi. Tidak ada scrollbar dan tidak berhenti saat disentuh. */
.ath-ticker__viewport {
    overflow: hidden !important;
    scrollbar-width: none !important;
    cursor: default;
    touch-action: pan-y;
}
.ath-ticker__viewport::-webkit-scrollbar {
    display: none !important;
}
.ath-ticker__track {
    animation: ath-news-ticker-v113 36s linear infinite !important;
    animation-play-state: running !important;
    transform: translate3d(0,0,0);
}
.ath-ticker__viewport:hover .ath-ticker__track,
.ath-ticker__viewport:focus-within .ath-ticker__track,
.ath-ticker__viewport:active .ath-ticker__track {
    animation-play-state: running !important;
}
@keyframes ath-news-ticker-v113 {
    0% { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-50%,0,0); }
}
@media (prefers-reduced-motion: reduce) {
    .ath-ticker__viewport {
        overflow: hidden !important;
        mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent) !important;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent) !important;
    }
    .ath-ticker__track {
        animation: ath-news-ticker-v113 36s linear infinite !important;
    }
    .ath-ticker__group[aria-hidden="true"] {
        display: flex !important;
    }
}

/* Di halaman Jelajahi Kategori, judul sudah berada pada hero sehingga kotak
   kategori cukup menampilkan tombol pilihan tanpa judul berulang. */
.ath-category-explorer--compact {
    padding: 17px 20px;
}

.ath-category-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.ath-category-preview {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ath-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(9,73,40,.075);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ath-category-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(9,73,40,.12);
}
.ath-category-preview__image {
    display: block;
    height: 245px;
    overflow: hidden;
    background: var(--ath-green-soft);
}
.ath-category-preview__image img,
.ath-category-preview__image .ath-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.ath-category-preview:hover .ath-category-preview__image img {
    transform: scale(1.035);
}
.ath-category-preview__body {
    padding: 22px 23px 24px;
}
.ath-category-preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}
.ath-category-preview__name {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--ath-green-soft);
    color: var(--ath-green-dark) !important;
    font-size: 12px;
    font-weight: 850;
}
.ath-category-preview__top > span {
    color: var(--ath-muted);
    font-size: 12px;
    white-space: nowrap;
}
.ath-category-preview h2 {
    margin: 0 0 9px;
    color: var(--ath-ink);
    font-size: clamp(21px, 2.2vw, 28px);
    line-height: 1.16;
}
.ath-category-preview h2 a:hover {
    color: var(--ath-green);
}
.ath-category-preview__meta {
    margin-bottom: 12px;
    color: var(--ath-muted);
    font-size: 12px;
}
.ath-category-preview p {
    margin: 0;
    color: var(--ath-muted);
    line-height: 1.7;
}
.ath-category-preview__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid var(--ath-line);
}
.ath-category-preview__actions a:first-child {
    color: var(--ath-green-dark) !important;
    font-weight: 850;
}
.ath-category-preview__actions a:last-child {
    color: var(--ath-muted) !important;
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}
.ath-category-preview__actions a:hover {
    color: var(--ath-green) !important;
}

@media (max-width: 760px) {
    .ath-ticker__track {
        animation-duration: 46s !important;
    }
    .ath-category-showcase {
        grid-template-columns: 1fr;
    }
    .ath-category-preview__image {
        height: 220px;
    }
}
@media (max-width: 430px) {
    .ath-category-explorer--compact {
        padding: 15px 14px;
    }
    .ath-category-preview__body {
        padding: 19px 18px 21px;
    }
    .ath-category-preview__actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .ath-category-preview__actions a:last-child {
        text-align: left;
    }
}
\n\n/* ==========================================================
   Versi 1.1.4 — grid kategori lebih ringkas dan padat
   ========================================================== */
.ath-category-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.ath-category-preview {
    border-radius: 17px;
    box-shadow: 0 10px 28px rgba(9,73,40,.065);
}
.ath-category-preview__image {
    height: 150px;
}
.ath-category-preview__body {
    padding: 15px 16px 16px;
}
.ath-category-preview__top {
    gap: 8px;
    margin-bottom: 9px;
}
.ath-category-preview__name {
    min-height: 27px;
    padding: 5px 9px;
    font-size: 10px;
    line-height: 1.2;
}
.ath-category-preview__top > span {
    font-size: 10px;
}
.ath-category-preview h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.ath-category-preview__meta {
    margin-bottom: 8px;
    font-size: 10px;
}
.ath-category-preview p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.ath-category-preview__actions {
    gap: 8px;
    margin-top: 12px;
    padding-top: 11px;
    font-size: 11px;
}
.ath-category-preview__actions a:first-child {
    white-space: nowrap;
}
.ath-category-preview__actions a:last-child {
    overflow: hidden;
    max-width: 52%;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1250px) {
    .ath-category-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 860px) {
    .ath-category-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .ath-category-preview__image {
        height: 145px;
    }
}
@media (max-width: 560px) {
    .ath-category-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .ath-category-preview {
        border-radius: 14px;
    }
    .ath-category-preview__image {
        height: 105px;
    }
    .ath-category-preview__body {
        padding: 11px 11px 12px;
    }
    .ath-category-preview__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 7px;
    }
    .ath-category-preview__name {
        min-height: 24px;
        padding: 4px 7px;
        font-size: 9px;
    }
    .ath-category-preview__top > span {
        display: none;
    }
    .ath-category-preview h2 {
        margin-bottom: 6px;
        font-size: 14px;
        line-height: 1.2;
        -webkit-line-clamp: 3;
    }
    .ath-category-preview__meta {
        margin-bottom: 0;
        font-size: 9px;
    }
    .ath-category-preview p {
        display: none;
    }
    .ath-category-preview__actions {
        margin-top: 9px;
        padding-top: 8px;
        font-size: 10px;
    }
    .ath-category-preview__actions a:last-child {
        display: none;
    }
}


/* ==========================================================
   Versi 1.1.5 — thumbnail kategori kotak dan grid konsisten
   ========================================================== */
.ath-category-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.ath-category-preview__image {
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
}
.ath-category-preview__image img,
.ath-category-preview__image .ath-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 1250px) {
    .ath-category-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 860px) {
    .ath-category-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .ath-category-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}


/* ==========================================================
   Versi 1.1.6 — Ruang Khidmat responsif HP/tablet/desktop
   ========================================================== */
/* Desktop tetap empat kartu dalam satu baris. */
.ath-section--programs .ath-program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ath-section--programs .ath-program,
.ath-section--programs .ath-program strong,
.ath-section--programs .ath-program > span:last-child {
    min-width: 0;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none;
}

/* Tablet: dua kartu per baris. */
@media (max-width: 960px) {
    .ath-section--programs .ath-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* HP: satu kartu penuh per baris agar teks tidak pecah per huruf. */
@media (max-width: 900px) {
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ath-section--programs {
        padding: 24px 18px;
    }
    .ath-section--programs .ath-section__head {
        margin-bottom: 18px;
    }
    .ath-section--programs .ath-program-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .ath-section--programs .ath-program {
        min-height: 0;
        padding: 18px 58px 18px 18px;
        border-radius: 16px;
    }
    .ath-section--programs .ath-program__icon {
        width: 42px;
        height: 42px;
        margin-bottom: 13px;
    }
    .ath-section--programs .ath-program strong {
        margin-bottom: 6px;
        font-size: 20px;
        line-height: 1.25;
        white-space: normal;
    }
    .ath-section--programs .ath-program > span:last-child {
        max-width: none;
        padding-right: 4px;
        font-size: 14px;
        line-height: 1.55;
        white-space: normal;
    }
    .ath-section--programs .ath-program::after {
        right: 15px;
        bottom: 15px;
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 390px) {
    .ath-section--programs {
        padding-inline: 14px;
    }
    .ath-section--programs .ath-program {
        padding: 16px 52px 16px 16px;
    }
    .ath-section--programs .ath-program strong {
        font-size: 18px;
    }
    .ath-section--programs .ath-program > span:last-child {
        font-size: 13px;
    }
}


/* v1.1.8: kartu Artikel Lainnya lebih ringkas dengan thumbnail kotak */
.ath-post-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.ath-post-related .ath-card {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    align-items: stretch;
    min-height: 168px;
}
.ath-post-related .ath-card__image {
    width: 142px;
    height: 142px;
    aspect-ratio: 1 / 1;
    margin: 13px 0 13px 13px;
    border-radius: 15px;
    align-self: start;
}
.ath-post-related .ath-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ath-post-related .ath-image-placeholder {
    min-height: 0;
    height: 100%;
}
.ath-post-related .ath-card__body {
    min-width: 0;
    padding: 14px 14px 14px 16px;
}
.ath-post-related .ath-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 7px;
    font-size: 16px;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.ath-post-related .ath-card__excerpt {
    display: none;
}
.ath-post-related .ath-card__meta {
    font-size: 12px;
}

@media (max-width: 1180px) {
    .ath-post-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 720px) {
    .ath-post-related__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ath-post-related .ath-card {
        grid-template-columns: 108px minmax(0, 1fr);
        min-height: 128px;
    }
    .ath-post-related .ath-card__image {
        width: 108px;
        height: 108px;
        margin: 10px 0 10px 10px;
        border-radius: 13px;
    }
    .ath-post-related .ath-card__body {
        padding: 11px 12px 11px 13px;
    }
    .ath-post-related .ath-card__title {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }
    .ath-post-related .ath-badge {
        padding: 4px 7px;
        font-size: 9px;
    }
}


/* v1.1.9: sticky navbar + hero headline outside the photo */
.ath-main-nav {
    position: sticky;
    top: 0;
    z-index: 9990;
    box-shadow: 0 8px 22px rgba(5, 54, 29, .12);
}
body.admin-bar .ath-main-nav {
    top: 32px;
}

/* Keep the lead photo visible: the headline now lives below the image. */
.ath-card--hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    color: var(--ath-ink);
    background: #fff;
    border: 1px solid var(--ath-line);
}
.ath-card--hero .ath-card__image {
    position: relative;
    inset: auto;
    height: clamp(320px, 36vw, 470px);
    flex: 0 0 auto;
}
.ath-card--hero .ath-card__image::after {
    background: linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,.16) 100%);
}
.ath-card--hero .ath-card__body {
    position: static;
    inset: auto;
    padding: 20px 24px 24px;
    background: #fff;
}
.ath-card--hero .ath-card__title {
    max-width: none;
    margin: 10px 0 8px;
    color: var(--ath-green-dark);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.18;
}
.ath-card--hero .ath-card__title a {
    color: inherit;
}
.ath-card--hero .ath-card__title a:hover,
.ath-card--hero .ath-card__title a:focus-visible {
    color: var(--ath-green);
}
.ath-card--hero .ath-card__meta {
    color: var(--ath-muted);
}

@media (max-width: 782px) {
    body.admin-bar .ath-main-nav {
        top: 46px;
    }
}
@media (max-width: 640px) {
    .ath-card--hero {
        min-height: 0;
    }
    .ath-card--hero .ath-card__image {
        height: 280px;
    }
    .ath-card--hero .ath-card__body {
        padding: 16px 17px 18px;
    }
    .ath-card--hero .ath-card__title {
        font-size: 24px;
    }
}


/* v1.1.10: sticky header responsif
   Desktop: seluruh header (topbar + identitas + menu) tetap terlihat.
   Mobile: identitas boleh lewat; hanya menu utama yang tetap terlihat. */
@media (min-width: 783px) {
    .ath-site-header {
        position: sticky;
        top: 0;
        z-index: 9990;
    }
    body.admin-bar .ath-site-header {
        top: 32px;
    }
    .ath-main-nav {
        position: relative;
        top: auto;
        z-index: auto;
    }
}

@media (max-width: 782px) {
    /* display:contents menghindari navbar dibatasi tinggi wrapper header,
       sehingga sticky menu dapat mengikuti viewport sepanjang halaman. */
    .ath-site-header {
        position: static;
        display: contents;
        width: auto;
        margin: 0;
        box-shadow: none;
    }
    .ath-main-nav {
        position: sticky;
        top: 0;
        z-index: 9990;
        box-shadow: 0 8px 22px rgba(5, 54, 29, .14);
    }
    body.admin-bar .ath-main-nav {
        top: 46px;
    }
}


/* ==========================================================
   v1.1.11 — Compatibility pass untuk semua ukuran perangkat
   HP kecil/besar, tablet, laptop, desktop, dan layar lebar.
   ========================================================== */
html {
    max-width: 100%;
    overflow-x: hidden;
}
body.ath-forced-front-page {
    max-width: 100%;
    overflow-x: clip;
}
.ath-site-shell,
.ath-front-main,
.ath-home,
.ath-content-shell,
.ath-post-shell,
.ath-site-header,
.ath-site-footer,
.ath-section,
.ath-card,
.ath-category-preview,
.ath-program,
.ath-agenda-card,
.ath-org-card {
    min-width: 0;
}
.ath-site-shell img,
.ath-site-shell video,
.ath-site-shell iframe,
.ath-site-shell embed,
.ath-site-shell object {
    max-width: 100%;
}
.ath-site-shell h1,
.ath-site-shell h2,
.ath-site-shell h3,
.ath-site-shell p,
.ath-site-shell a,
.ath-site-shell span,
.ath-site-shell strong {
    word-break: normal;
    overflow-wrap: break-word;
}
.ath-tiktok-embed-wrap,
.ath-tiktok-embed-wrap blockquote,
.ath-tiktok-embed-wrap .tiktok-embed {
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Desktop/laptop: seluruh header menempel. */
@media (min-width: 1024px) {
    .ath-site-header {
        position: sticky;
        top: 0;
        z-index: 9990;
        display: block;
    }
    body.admin-bar .ath-site-header {
        top: 32px;
    }
    .ath-main-nav {
        position: relative;
        top: auto;
        z-index: auto;
    }
}

/* Laptop/tablet menengah: identitas lebih kompak. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .ath-site-header {
        width: min(100% - 24px, 1320px);
    }
    .ath-header-top__inner {
        padding-inline: 20px;
    }
    .ath-brand-row {
        padding: 16px 24px 14px;
    }
    .ath-brand__logo {
        width: 68px;
        height: 68px;
    }
    .ath-brand__title span:first-child {
        font-size: 17px;
    }
    .ath-brand__title span:last-child {
        font-size: clamp(25px, 3vw, 32px);
    }
    .ath-brand__copy > span:last-child {
        font-size: 13px;
    }
    .ath-nav-list a,
    .ath-main-menu a {
        padding-inline: 14px;
        font-size: 13px;
    }
}

/* Tablet: header identitas lewat seperti biasa, navbar saja menempel. */
@media (min-width: 783px) and (max-width: 1023px) {
    .ath-site-header {
        position: static;
        display: contents;
        width: auto;
        margin: 0;
        box-shadow: none;
    }
    .ath-header-top,
    .ath-brand-row,
    .ath-header-banner {
        max-width: 100%;
    }
    .ath-main-nav {
        position: sticky;
        top: 0;
        z-index: 9990;
        box-shadow: 0 8px 22px rgba(5,54,29,.14);
    }
    body.admin-bar .ath-main-nav {
        top: 32px;
    }
    .ath-brand-row {
        padding: 17px 24px 15px;
    }
    .ath-brand__logo {
        width: 68px;
        height: 68px;
    }
    .ath-brand__title span:first-child {
        font-size: 16px;
    }
    .ath-brand__title span:last-child {
        font-size: clamp(24px, 4.2vw, 31px);
    }
}

/* Tablet dan HP: jangan ada grid yang memaksa lebar layar. */
@media (max-width: 960px) {
    .ath-home,
    .ath-content-shell,
    .ath-site-footer,
    .ath-post-shell {
        max-width: calc(100% - 24px);
    }
    .ath-hero,
    .ath-category-grid,
    .ath-about,
    .ath-contact-grid,
    .ath-section--tiktok,
    .ath-chair-profile,
    .ath-agenda-card,
    .ath-agenda-card--compact {
        grid-template-columns: minmax(0, 1fr);
    }
    .ath-footer-main {
        gap: 28px;
    }
}

/* HP / tablet kecil. */
@media (max-width: 782px) {
    .ath-site-header {
        position: static;
        display: contents;
    }
    .ath-main-nav {
        position: sticky;
        top: 0;
        z-index: 9990;
    }
    body.admin-bar .ath-main-nav {
        top: 46px;
    }
    .ath-main-menu.is-open {
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .ath-header-social {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .ath-header-social::-webkit-scrollbar {
        display: none;
    }
    .ath-header-social a {
        flex: 0 0 auto;
    }
    .ath-brand {
        width: 100%;
        min-width: 0;
    }
    .ath-brand__copy {
        min-width: 0;
    }
    .ath-brand__title span:last-child {
        white-space: normal;
    }
    .ath-ticker {
        border-radius: 16px;
    }
    .ath-ticker__group {
        font-size: 13px;
    }
    .ath-section__head {
        gap: 12px;
    }
    .ath-section__head h2 {
        line-height: 1.15;
    }
    .ath-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ath-profile-hub,
    .ath-org-fields,
    .ath-org-guidance,
    .ath-org-daily {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* HP umum. */
@media (max-width: 640px) {
    .ath-home,
    .ath-content-shell,
    .ath-post-shell,
    .ath-site-footer {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    .ath-brand-row {
        padding-inline: 14px;
    }
    .ath-brand__logo {
        width: 54px;
        height: 54px;
    }
    .ath-brand__title span:first-child {
        font-size: 12px;
    }
    .ath-brand__title span:last-child {
        font-size: clamp(17px, 5.2vw, 22px);
        line-height: 1.08;
    }
    .ath-brand__copy > span:last-child {
        font-size: 11px;
        line-height: 1.35;
    }
    .ath-main-nav {
        padding-inline: 10px;
    }
    .ath-hero__side {
        grid-template-columns: minmax(0, 1fr);
    }
    .ath-card--hero .ath-card__image {
        height: clamp(220px, 68vw, 300px);
    }
    .ath-category-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ath-category-preview h2 {
        overflow-wrap: break-word;
    }
    .ath-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ath-footer-links nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ath-footer-main {
        padding-inline: 18px;
    }
}

/* HP sangat kecil (320–390 px): kurangi padding dan ukuran tanpa memecah kata. */
@media (max-width: 390px) {
    .ath-home,
    .ath-content-shell,
    .ath-post-shell,
    .ath-site-footer {
        width: calc(100% - 14px);
        max-width: calc(100% - 14px);
    }
    .ath-header-top__inner {
        padding-inline: 10px;
    }
    .ath-brand-row {
        padding: 13px 10px 12px;
    }
    .ath-brand {
        gap: 9px;
    }
    .ath-brand__logo {
        width: 48px;
        height: 48px;
    }
    .ath-brand__title span:first-child {
        font-size: 11px;
    }
    .ath-brand__title span:last-child {
        font-size: 16px;
    }
    .ath-brand__copy > span:last-child {
        font-size: 10px;
    }
    .ath-category-showcase {
        gap: 8px;
    }
    .ath-category-preview__body {
        padding: 10px;
    }
    .ath-category-preview h2 {
        font-size: 13px;
    }
    .ath-stat-grid {
        gap: 8px;
    }
    .ath-stat {
        padding: 17px 8px;
    }
    .ath-stat__number {
        font-size: 34px;
    }
    .ath-stat__label {
        font-size: 12px;
    }
    .ath-stat small {
        font-size: 9px;
    }
    .ath-post__content .wp-block-gallery,
    .ath-post__content .blocks-gallery-grid,
    .ath-post__content .wp-block-gallery.has-nested-images,
    .ath-post__content .gallery {
        gap: 7px;
    }
    .ath-post__content .wp-block-gallery .wp-block-image img,
    .ath-post__content .wp-block-gallery.has-nested-images .wp-block-image img,
    .ath-post__content .blocks-gallery-item img,
    .ath-post__content .gallery-item .gallery-icon img {
        height: 118px;
    }
}

/* Layar sangat lebar: batasi panjang baris agar tetap elegan. */
@media (min-width: 1600px) {
    .ath-site-header {
        width: min(1420px, calc(100% - 48px));
    }
    .ath-home,
    .ath-content-shell,
    .ath-site-footer {
        width: min(1240px, calc(100% - 48px));
    }
}


/* ==========================================================
   v1.1.12 — Sticky navigation konsisten lintas perangkat
   Header identitas tetap berada di alur halaman; navbar saja
   yang menempel setelah pengguna melakukan scroll.
   ========================================================== */
@media (min-width: 783px) {
    .ath-site-header {
        position: static !important;
        top: auto !important;
        z-index: auto !important;
        display: contents !important;
        width: auto !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .ath-header-top,
    .ath-brand-row,
    .ath-header-banner,
    .ath-main-nav {
        width: min(1320px, calc(100% - 32px));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .ath-brand-row {
        background: #fff;
    }

    .ath-main-nav {
        position: sticky !important;
        top: 0 !important;
        z-index: 9990 !important;
        box-shadow: 0 8px 22px rgba(5, 54, 29, .14);
    }

    body.admin-bar .ath-main-nav {
        top: 32px !important;
    }
}

@media (min-width: 1600px) {
    .ath-header-top,
    .ath-brand-row,
    .ath-header-banner,
    .ath-main-nav {
        width: min(1420px, calc(100% - 48px));
    }
}

@media (max-width: 782px) {
    .ath-main-nav {
        position: sticky !important;
        top: 0 !important;
        z-index: 9990 !important;
    }
    body.admin-bar .ath-main-nav {
        top: 46px !important;
    }
}


/* v1.1.13: kartu samping kategori konsisten dan ringkas */
.ath-category-grid__list {
    align-content: start;
    grid-auto-rows: auto;
}
.ath-category-grid__list .ath-card--compact {
    min-height: 118px;
    max-height: 142px;
    overflow: hidden;
}
.ath-category-grid__list .ath-card--compact .ath-card__image {
    height: 100%;
    min-height: 118px;
    max-height: 142px;
}
.ath-category-grid__list .ath-card--compact .ath-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 11px 14px;
}
.ath-category-grid__list .ath-card--compact .ath-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 6px 0 5px;
    font-size: 15px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.ath-category-grid__list .ath-card--compact .ath-card__meta {
    font-size: 11px;
}

@media (max-width: 900px) {
    .ath-category-grid__list .ath-card--compact {
        max-height: none;
    }
    .ath-category-grid__list .ath-card--compact .ath-card__image {
        max-height: none;
    }
}

/* v1.2.0: finishing SEO/content architecture, documentation, agenda, contact */
.ath-documentation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.ath-documentation-grid--page {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ath-documentation-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ath-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(9, 73, 40, .07);
    transition: transform .22s ease, box-shadow .22s ease;
}
.ath-documentation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(9, 73, 40, .11);
}
.ath-documentation-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #edf4ef;
}
.ath-documentation-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .28s ease;
}
.ath-documentation-card:hover .ath-documentation-card__image img { transform: scale(1.035); }
.ath-documentation-card__body { padding: 16px 17px 17px; }
.ath-documentation-card__body > span {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #edf8f1;
    color: #0b6838;
    font-size: 11px;
    font-weight: 800;
}
.ath-documentation-card__body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.28;
}
.ath-documentation-card__body h3 a { color: var(--ath-ink); text-decoration: none; }
.ath-documentation-card__body h3 a:hover { color: var(--ath-green); }
.ath-documentation-card__body small {
    display: block;
    margin-top: 9px;
    color: var(--ath-muted);
}
.ath-documentation-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--ath-green);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}
.ath-documentation-note,
.ath-documentation-intro p {
    color: var(--ath-muted);
    line-height: 1.65;
}
.ath-documentation-note { margin: 16px 0 0; font-size: 12px; }
.ath-documentation-intro { margin-bottom: 20px; }
.ath-documentation-intro strong { display:block; margin-bottom:6px; font-size:18px; color:var(--ath-ink); }
.ath-documentation-intro p { margin:0; }

.ath-agenda-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ath-agenda-card__date {
    color: var(--ath-muted);
    font-size: 13px;
    font-weight: 700;
}
.ath-agenda-card__badge--upcoming { background:#e8f7ee; color:#086a38; }
.ath-agenda-card__badge--today { background:#fff3cc; color:#7a5600; }
.ath-agenda-card__badge--past { background:#eef1ef; color:#637069; }
.ath-agenda-card__badge--unknown { background:#edf8f1; color:#0b6838; }
.ath-agenda-group + .ath-agenda-group { margin-top: 36px; }
.ath-agenda-group__head { margin-bottom: 16px; }
.ath-agenda-group__head h2 { margin:4px 0 0; font-size:clamp(26px,3vw,38px); color:var(--ath-ink); }
.ath-agenda-group--past .ath-agenda-card { background:#fbfcfb; }
.ath-agenda-group--past .ath-agenda-card__poster img { filter:saturate(.86); }

.ath-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 22px;
}
.ath-contact-panel--address { grid-column: 1 / -1; }
.ath-contact-panel h2 { margin: 7px 0 10px; color:var(--ath-ink); }
.ath-contact-panel p { margin:0; color:var(--ath-muted); line-height:1.7; }
.ath-contact-phone-list--modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.ath-contact-phone-list--modern a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 10px;
    align-items: center;
    padding: 14px 15px;
    border: 1px solid var(--ath-line);
    border-radius: 14px;
    background: #f7fbf8;
    color: var(--ath-green);
    text-decoration: none;
}
.ath-contact-phone-list--modern a > span { grid-row:1 / 3; font-size:22px; }
.ath-contact-phone-list--modern a strong { font-size:16px; }
.ath-contact-phone-list--modern a small { color:var(--ath-muted); font-size:11px; }
.ath-contact-social--modern { margin-top:16px; }
.ath-contact-social--modern a { min-height:48px; }

@media (max-width: 1100px) {
    .ath-documentation-grid--page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .ath-documentation-grid,
    .ath-documentation-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ath-contact-layout { grid-template-columns: 1fr; }
    .ath-contact-panel--address { grid-column:auto; }
}
@media (max-width: 520px) {
    .ath-documentation-grid,
    .ath-documentation-grid--page { gap:10px; }
    .ath-documentation-card { border-radius:14px; }
    .ath-documentation-card__body { padding:11px 11px 13px; }
    .ath-documentation-card__body h3 { font-size:14px; }
    .ath-documentation-card__body > span { font-size:9px; padding:5px 7px; }
    .ath-documentation-card__body small { font-size:10px; }
    .ath-documentation-card__link { font-size:11px; margin-top:10px; }
    .ath-contact-phone-list--modern { grid-template-columns: 1fr; }
    .ath-agenda-group__head h2 { font-size:26px; }
}


/* v1.2.1: Profil Ketua responsif */
@media (max-width: 960px) {
    .ath-chair-profile { grid-template-columns:1fr; gap:20px; }
    .ath-chair-profile__portrait { min-height:0; }
    .ath-chair-profile__photo-frame { min-height:420px; }
    .ath-chair-profile__photo-frame img { min-height:420px; max-height:620px; object-fit:cover; object-position:center top; }
}
@media (max-width: 620px) {
    .ath-chair-profile { padding:14px; border-radius:22px; }
    .ath-chair-profile__photo-frame { min-height:340px; }
    .ath-chair-profile__photo-frame img { min-height:340px; max-height:480px; }
    .ath-chair-profile__portrait-caption { padding:15px 16px 17px; }
    .ath-chair-profile__portrait-caption strong { font-size:22px; }
    .ath-chair-profile__content { padding:4px 2px; }
    .ath-chair-profile__content h2 { font-size:38px; }
    .ath-chair-profile__role { font-size:14px; line-height:1.5; }
    .ath-chair-profile__facts { grid-template-columns:1fr; gap:9px; }
    .ath-chair-profile__direction { padding:16px; }
    .ath-chair-profile__direction p { font-size:17px; }
    .ath-chair-profile__quote { padding:17px; }
    .ath-chair-profile__quote p { font-size:14px; line-height:1.7; }
}


/* v1.2.2 — tombol kembali ke atas */
.ath-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: #0b6b38;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 68, 35, .24);
    font: 900 25px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.92);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease, background .2s ease;
}
.ath-scroll-top:hover,
.ath-scroll-top:focus-visible {
    background: #084f2b;
    transform: translateY(0) scale(1.04);
}
.ath-scroll-top:focus-visible {
    outline: 3px solid rgba(255,255,255,.92);
    outline-offset: 3px;
}
.ath-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
@media (max-width: 640px) {
    .ath-scroll-top {
        right: 16px;
        bottom: 18px;
        width: 46px;
        height: 46px;
        font-size: 23px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ath-scroll-top { transition: none; }
}
