:root {
    --primary: #7a1b41;
    --primary-rgb: 122, 27, 65;
    --primary-dark: #5c1432;
    --primary-mid: #963059;
    --primary-light: #edd5df;
    --secondary: #963059;
    --secondary-light: #7a1b41;
    --dark: #1a1a2e;
    --text: #3d3d3d;
    --text-muted: #6c757d;
    --bg-light: #faf7f5;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', sans-serif;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    overflow-x: clip;
    max-width: 100%;
}

/* ── Viewport Layout (desktop: 40vh + 30vh + 25vh + 5vh) ── */
body.viewport-fit .container-fluid {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

/* Index desktop: section video/info tetap full-bleed + grid viewport */
@media (min-width: 992px) {
    body.viewport-fit {
        height: 100vh;
        overflow: hidden;
        display: grid;
        grid-template-rows: 40vh 30vh 25vh 5vh;
    }

    body.viewport-fit .hero-section {
        grid-row: 1;
        height: 40vh;
        max-height: 40vh;
    }

    body.viewport-fit #video-kegiatan {
        grid-row: 2;
        height: 30vh;
        max-height: 30vh;
    }

    body.viewport-fit #info-section {
        grid-row: 3;
        height: 25vh;
        max-height: 25vh;
    }

    body.viewport-fit .home-footer {
        grid-row: 4;
        height: 5vh;
        min-height: 5vh;
        max-height: 5vh;
        padding: 0;
        display: flex;
        align-items: center;
    }

    body.viewport-fit .home-footer .container,
    body.viewport-fit .home-footer-inner {
        height: 100%;
    }

    body.viewport-fit .home-footer-inner {
        min-height: 0;
    }

    body.viewport-fit .home-footer-copy {
        font-size: 0.72rem;
    }

    body.viewport-fit .home-footer-social a {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    body.viewport-fit .container-fluid.section-fill {
        max-width: 100%;
        width: 100%;
        margin-inline: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

body.viewport-fit .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin: 0;
}

body.viewport-fit .section-fill {
    padding: 0;
    margin: 0;
}

body.viewport-fit .hero-content {
    padding-top: 56px;
    display: flex;
    align-items: center;
    width: 100%;
}

body.viewport-fit .hero-content .container {
    display: flex;
    align-items: center;
}

body.viewport-fit .hero-about {
    font-size: clamp(0.72rem, 1.2vw, 0.85rem);
    line-height: 1.45;
    margin: 0;
    max-width: 92%;
}

body.viewport-fit .hero-slogan {
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.15;
    margin: 0;
}

body.viewport-fit .hero-slider-dots {
    bottom: 0.65rem;
}

body.viewport-fit .hero-dot {
    width: 7px;
    height: 7px;
}

body.viewport-fit .hero-section {
    min-height: unset;
}

body.viewport-fit #video-kegiatan {
    min-height: 0;
}

body.viewport-fit #info-section {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.viewport-fit .home-footer {
    flex-shrink: 0;
}

.section-row {
    overflow-x: clip;
    overflow-y: hidden;
    min-height: 0;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.section-fill {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

body.viewport-fit #video-kegiatan .section-fill {
    height: 100%;
}

body.viewport-fit .media-row {
    flex: 1;
    min-height: 0;
    height: 100%;
}

body.viewport-fit .media-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

body.viewport-fit .video-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 0;
    min-height: 0;
    height: 100%;
}

body.viewport-fit .video-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: none;
    background: #111;
    cursor: pointer;
    overflow: hidden;
}

body.viewport-fit .video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.viewport-fit .video-play {
    position: absolute;
    inset: 0;
    z-index: 1;
}

body.viewport-fit .foto-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 0;
    min-height: 0;
    height: 100%;
}

body.viewport-fit .foto-item {
    position: relative;
    aspect-ratio: unset;
    min-height: 0;
    height: 100%;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: #111;
}

body.viewport-fit .foto-item:hover {
    transform: none;
}

body.viewport-fit .foto-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.viewport-fit .foto-item:hover img {
    transform: none;
}

body.viewport-fit .video-play i {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    padding-left: 2px;
}

body.viewport-fit .info-cards-row {
    flex: 1;
    min-height: 0;
    align-items: stretch;
}

body.viewport-fit .info-cards-row > [class*="col-"] {
    display: flex;
    min-height: 0;
}

body.viewport-fit .info-panel {
    padding: 0.65rem 0.85rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: var(--white);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

body.viewport-fit .info-panel.info-panel-struktur {
    overflow: visible;
}

body.viewport-fit .info-cards-row > [class*="col-"]:last-child .info-panel {
    border-right: none;
}

body.viewport-fit .panel-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.5rem;
    flex-shrink: 0;
}

body.viewport-fit .info-panel-struktur {
    align-items: stretch;
    justify-content: flex-start;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    overflow: visible;
}

body.viewport-fit .struktur-scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    width: 100%;
}

body.viewport-fit .struktur-scroll::-webkit-scrollbar {
    width: 5px;
}

body.viewport-fit .struktur-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

body.viewport-fit .struktur-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body.viewport-fit .pengurus-grid {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    width: 100%;
    /* ruang di atas agar foto 1 & 2 (overflow translate) tidak terpotong */
    padding: 2.1rem 0.35rem 0.85rem;
    overflow: visible;
}

body.viewport-fit .pengurus-circle {
    position: relative;
    display: block;
    width: min(100%, 220px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: visible;
}

body.viewport-fit .pengurus-circle .pengurus-item {
    position: absolute;
    width: 72px;
    text-align: center;
    transform: translate(-50%, -50%);
    min-width: 0;
    padding-inline: 0;
    overflow: visible;
}

body.viewport-fit .pengurus-item--nw { left: 18%; top: 18%; grid-column: auto; grid-row: auto; }
body.viewport-fit .pengurus-item--ne { left: 82%; top: 18%; grid-column: auto; grid-row: auto; }
body.viewport-fit .pengurus-item--center { left: 50%; top: 50%; z-index: 2; grid-column: auto; grid-row: auto; }
body.viewport-fit .pengurus-item--sw { left: 18%; top: 82%; grid-column: auto; grid-row: auto; }
body.viewport-fit .pengurus-item--se { left: 82%; top: 82%; grid-column: auto; grid-row: auto; }

body.viewport-fit .pengurus-row {
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: start;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

body.viewport-fit .pengurus-row--cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
}

body.viewport-fit .pengurus-row .pengurus-item {
    text-align: center;
    min-width: 0;
    padding-inline: 0.1rem;
    overflow: hidden;
}

body.viewport-fit .pengurus-photo {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.15);
}

body.viewport-fit .pengurus-circle .pengurus-photo,
body.viewport-fit .pengurus-item--center .pengurus-photo {
    width: 64px;
    height: 64px;
}

body.viewport-fit .pengurus-row--cols-5 .pengurus-photo {
    width: 48px;
    height: 48px;
}

body.viewport-fit .pengurus-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.viewport-fit .pengurus-nama {
    font-size: 0.8rem;
    line-height: 1.25;
    margin: 0.3rem 0 0;
    font-weight: 600;
    color: var(--dark);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

body.viewport-fit .pengurus-circle .pengurus-nama {
    font-size: 0.68rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

body.viewport-fit .pengurus-jabatan {
    font-size: 0.72rem;
    line-height: 1.2;
    margin: 0.05rem 0 0;
    color: var(--primary);
    font-weight: 500;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

body.viewport-fit .pengurus-circle .pengurus-jabatan {
    font-size: 0.6rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

body.viewport-fit .info-panel-kegiatan {
    min-height: 0;
}

body.viewport-fit .kegiatan-scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.viewport-fit .kegiatan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

body.viewport-fit .kegiatan-list::-webkit-scrollbar {
    width: 5px;
}

body.viewport-fit .kegiatan-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

body.viewport-fit .kegiatan-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body.viewport-fit .kegiatan-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.viewport-fit .kegiatan-list li:last-child {
    border-bottom: none;
}

body.viewport-fit .kegiatan-link {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.4rem 0;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

body.viewport-fit .kegiatan-link:hover {
    color: var(--primary);
}

body.viewport-fit .kegiatan-date {
    font-size: 0.62rem;
    color: var(--primary);
    font-weight: 600;
}

body.viewport-fit .kegiatan-judul {
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--text);
}

body.viewport-fit .info-panel-opini {
    min-height: 0;
}

body.viewport-fit .artikel-scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.viewport-fit .artikel-list {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

body.viewport-fit .artikel-list::-webkit-scrollbar {
    width: 5px;
}

body.viewport-fit .artikel-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

body.viewport-fit .artikel-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body.viewport-fit .artikel-item {
    display: grid;
    grid-template-columns: clamp(72px, 32%, 104px) 1fr;
    grid-template-areas:
        "thumb judul"
        "thumb desc";
    gap: 0.3rem 0.65rem;
    align-items: start;
    flex: 0 0 auto;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

body.viewport-fit .artikel-item:hover {
    opacity: 0.85;
}

body.viewport-fit .artikel-thumb {
    grid-area: thumb;
    width: 100%;
    min-height: 100%;
    align-self: stretch;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

body.viewport-fit .artikel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.viewport-fit .artikel-judul {
    grid-area: judul;
    flex-shrink: 0;
    min-width: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.viewport-fit .artikel-ringkas {
    grid-area: desc;
    flex-shrink: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.viewport-fit .kontak-list li {
    padding: 0.25rem 0;
}

body.viewport-fit .kontak-list li > i {
    font-size: 0.8rem;
}

body.viewport-fit .kontak-list strong {
    font-size: 0.58rem;
}

body.viewport-fit .kontak-list span {
    font-size: 0.68rem;
}

/* ── Hero ── */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.03);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.2s ease, transform 6s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(26, 26, 46, 0.82) 0%, rgba(var(--primary-rgb), 0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    width: 100%;
}

.hero-content .container {
    width: 100%;
    margin-inline: auto;
}

@media (min-width: 992px) {
    .hero-content .container {
        max-width: 960px;
    }

    .hero-slogan {
        font-size: clamp(2rem, 3.2vw, 2.85rem);
        max-width: 520px;
    }

    .hero-about {
        font-size: clamp(0.95rem, 1.15vw, 1.08rem);
        max-width: 460px;
    }
}

@media (min-width: 1200px) {
    .hero-content .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .hero-content .container {
        max-width: 1320px;
    }
}

.hero-split {
    width: 100%;
}

.hero-col-slogan {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 1.5rem;
}

.hero-col-about {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 1.5rem;
}

.hero-about {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin: 0;
    max-width: 480px;
    text-align: right;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin: 0;
    text-align: left;
    max-width: 420px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.45rem;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--white);
    border-color: var(--white);
}

.kontak-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kontak-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text);
}

.kontak-list li:last-child {
    border-bottom: none;
}

.kontak-list i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.btn-outline-light {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: var(--transition);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* ── Sections ── */
.section-padding {
    padding: 5rem 0;
}

.bg-light-custom {
    background: var(--bg-light);
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Video ── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 0;
    height: 100%;
}

.video-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: none;
    background: #111;
    cursor: pointer;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.video-thumb:hover img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease;
}

.video-play i {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.video-thumb:hover .video-play {
    background: rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
    border: none;
}

/* ── Foto Grid ── */
.foto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 0;
    height: 100%;
}

.foto-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    transition: var(--transition);
    background: #111;
}

.foto-item:hover {
    transform: none;
    box-shadow: none;
}

.foto-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.foto-item:hover img {
    transform: none;
}

.foto-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.foto-item:hover .foto-caption {
    transform: translateY(0);
}

.foto-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    color: var(--text-muted);
}

.foto-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ── Kontak ── */
.kontak-list {
    list-style: none;
    padding: 0;
}

.kontak-list li {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kontak-list li:last-child {
    border-bottom: none;
}

.kontak-list li > i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.kontak-list strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
    opacity: 0.8;
}

.kontak-list span {
    font-size: 0.95rem;
}

/* ── Footer Index ── */
.home-footer {
    background: #7a1b41;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.85rem 0;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.home-footer-copy {
    margin: 0;
    line-height: 1.4;
}

.home-footer-copy strong {
    color: var(--white);
    font-weight: 600;
}

.home-footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.home-footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ── Footer (legacy compact) ── */
.site-footer {
    background: #7a1b41;
    color: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.site-footer strong {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    body.viewport-fit {
        height: auto;
        overflow-y: auto;
        overflow-x: clip;
        display: block;
    }

    .hero-section,
    #video-kegiatan,
    #info-section,
    .section-row,
    .section-fill,
    .media-row,
    .info-cards-row {
        overflow-x: clip;
        max-width: 100%;
    }

    .container-fluid.section-fill {
        overflow-x: clip;
    }

    .hero-content {
        overflow-x: clip;
        max-width: 100%;
    }

    .hero-content .container {
        max-width: 100%;
        overflow-x: clip;
    }

    body.viewport-fit .hero-section,
    body.viewport-fit #video-kegiatan,
    body.viewport-fit #info-section {
        height: auto;
        min-height: unset;
        overflow: visible;
        display: block;
    }

    body.viewport-fit #info-section .section-fill,
    body.viewport-fit #info-section .info-cards-row {
        flex: none;
        min-height: auto;
        height: auto;
        overflow: visible;
    }

    body.viewport-fit .info-cards-row > [class*="col-"] {
        display: block;
        min-height: auto;
        height: auto;
    }

    body.viewport-fit .info-panel {
        overflow: visible;
        min-height: auto;
        height: auto;
        flex: none;
    }

    body.viewport-fit .struktur-scroll,
    body.viewport-fit .kegiatan-scroll,
    body.viewport-fit .artikel-scroll {
        flex: none;
        min-height: auto;
        height: auto;
        overflow: visible;
        max-height: none;
    }

    body.viewport-fit .kegiatan-list,
    body.viewport-fit .artikel-list {
        flex: none;
        min-height: auto;
        overflow: visible;
        max-height: none;
    }

    #info-section.section-row,
    #video-kegiatan.section-row {
        overflow: visible;
        min-height: auto;
    }

    #info-section .section-fill {
        overflow: visible;
        min-height: auto;
        display: block;
    }

    /* Hero full viewport di mobile */
    body.viewport-fit .hero-section,
    .hero-section {
        min-height: 100vh;
        height: 100vh;
        display: flex;
        align-items: center;
    }

    body.viewport-fit .hero-content,
    .hero-content {
        padding-top: 5.5rem;
        padding-bottom: 3rem;
        min-height: 100vh;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.viewport-fit .hero-content .container,
    .hero-content .container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    body.viewport-fit .hero-split,
    .hero-split {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    body.viewport-fit .hero-col-slogan,
    body.viewport-fit .hero-col-about,
    .hero-col-slogan,
    .hero-col-about {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        text-align: center;
        width: 100%;
    }

    body.viewport-fit .hero-slogan,
    .hero-slogan {
        font-size: clamp(1.85rem, 7vw, 2.5rem);
        line-height: 1.2;
        text-align: center;
        max-width: 100%;
        margin-inline: auto;
    }

    body.viewport-fit .hero-about,
    .hero-about {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        line-height: 1.6;
        text-align: center;
        max-width: 100%;
        margin-inline: auto;
    }

    body.viewport-fit .hero-slider-dots {
        bottom: 1.25rem;
    }

    body.viewport-fit .video-thumb,
    body.viewport-fit .foto-item {
        aspect-ratio: 16/9;
        min-height: 180px;
    }

    body.viewport-fit .foto-grid {
        min-height: 0;
    }

    /* Video + foto stack */
    #video-kegiatan .media-row > [class*="col-"] + [class*="col-"] {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    /* Panel struktur, kegiatan, opini */
    #info-section {
        padding: 0.5rem 0 0;
    }

    .home-footer {
        padding: 1rem 0 1.25rem;
    }

    .home-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .home-footer-social {
        justify-content: center;
    }

    .info-cards-row > [class*="col-"] {
        padding: 0 0.75rem;
        margin-bottom: 0.75rem;
    }

    .info-cards-row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    .info-panel {
        border-radius: 14px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
        min-height: auto;
        padding: 1.25rem 1rem;
    }

    .panel-title {
        font-size: 1.05rem;
        margin-bottom: 0.85rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--primary-light);
    }

    /* Struktur organisasi */
    body.viewport-fit .struktur-scroll,
    .struktur-scroll {
        max-height: none;
        overflow: visible;
    }

    #struktural-organisasi,
    .info-panel-struktur {
        overflow: visible;
        max-width: 100%;
    }

    body.viewport-fit .info-panel-struktur {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        overflow: visible;
    }

    .pengurus-grid {
        gap: 1.25rem;
        padding: 2.5rem 0.15rem 0.85rem;
        width: 100%;
        align-items: center;
    }

    body.viewport-fit .pengurus-grid {
        padding: 2.5rem 0.15rem 0.85rem;
        align-items: center;
    }

    .pengurus-circle,
    body.viewport-fit .pengurus-circle {
        position: relative;
        display: block;
        width: min(100%, 280px);
        aspect-ratio: 1 / 1;
        overflow: visible;
    }

    .pengurus-circle .pengurus-item,
    body.viewport-fit .pengurus-circle .pengurus-item {
        position: absolute;
        width: 84px;
        transform: translate(-50%, -50%);
        max-width: none;
    }

    .pengurus-row {
        display: grid;
        gap: 0.3rem;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        padding-inline: 0.1rem;
    }

    body.viewport-fit .pengurus-row {
        width: 100%;
        max-width: 100%;
        gap: 0.3rem;
    }

    .pengurus-row--cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: 100%;
    }

    .pengurus-photo {
        width: 54px;
        height: 54px;
    }

    .pengurus-circle .pengurus-photo,
    .pengurus-item--center .pengurus-photo,
    body.viewport-fit .pengurus-circle .pengurus-photo,
    body.viewport-fit .pengurus-item--center .pengurus-photo {
        width: 68px;
        height: 68px;
    }

    .pengurus-row--cols-5 .pengurus-photo,
    body.viewport-fit .pengurus-row--cols-5 .pengurus-photo {
        width: 46px;
        height: 46px;
    }

    body.viewport-fit .pengurus-photo {
        width: 54px;
        height: 54px;
    }

    .pengurus-nama {
        font-size: 0.78rem;
        margin-top: 0.35rem;
        white-space: normal;
        overflow: visible;
        line-height: 1.2;
        word-break: break-word;
    }

    .pengurus-jabatan {
        font-size: 0.7rem;
        white-space: normal;
        overflow: visible;
        line-height: 1.2;
        word-break: break-word;
    }

    body.viewport-fit .pengurus-nama {
        font-size: 0.78rem;
        white-space: normal;
    }

    body.viewport-fit .pengurus-jabatan {
        font-size: 0.7rem;
        white-space: normal;
    }

    /* Semua nama/jabatan struktur: wrap */
    .pengurus-circle .pengurus-nama,
    .pengurus-circle .pengurus-jabatan,
    body.viewport-fit .pengurus-circle .pengurus-nama,
    body.viewport-fit .pengurus-circle .pengurus-jabatan {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* Kegiatan terbaru */
    body.viewport-fit .kegiatan-scroll,
    body.viewport-fit .artikel-scroll,
    .kegiatan-scroll,
    .artikel-scroll {
        flex: none;
        min-height: auto;
        height: auto;
        max-height: none;
        overflow: visible;
        display: block;
    }

    body.viewport-fit .kegiatan-list,
    .kegiatan-list {
        overflow: visible;
    }

    .kegiatan-link {
        padding: 0.85rem 0;
    }

    .kegiatan-date {
        font-size: 0.8rem;
    }

    .kegiatan-judul {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    /* Opini / berita */
    body.viewport-fit .artikel-list,
    .artikel-list {
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .artikel-item {
        grid-template-columns: clamp(110px, 34%, 145px) 1fr;
        gap: 0.45rem 0.85rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .artikel-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .artikel-thumb {
        min-height: 100%;
        height: auto;
        border-radius: 10px;
    }

    .artikel-judul {
        font-size: 1.15rem;
        line-height: 1.4;
    }

    .artikel-ringkas {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }

    .site-footer .col-md-6 {
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {
    body.viewport-fit .hero-section,
    .hero-section {
        min-height: 100vh;
        height: 100vh;
    }

    body.viewport-fit .hero-content,
    .hero-content {
        min-height: 100vh;
        height: 100%;
        padding-top: 5rem;
    }

    .hero-split .col-lg-6 + .col-lg-6 {
        margin-top: 1.25rem;
    }

    .foto-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        min-height: 0;
    }

    .pengurus-grid {
        gap: 1rem;
    }

    .pengurus-circle,
    body.viewport-fit .pengurus-circle {
        position: relative;
        display: block;
        width: min(100%, 240px);
        aspect-ratio: 1 / 1;
        overflow: visible;
    }

    .pengurus-grid,
    body.viewport-fit .pengurus-grid {
        padding: 2.25rem 0.15rem 0.75rem;
    }

    .pengurus-circle .pengurus-item,
    body.viewport-fit .pengurus-circle .pengurus-item {
        position: absolute;
        width: 76px;
        transform: translate(-50%, -50%);
    }

    .pengurus-photo {
        width: 46px;
        height: 46px;
    }

    .pengurus-circle .pengurus-photo,
    .pengurus-item--center .pengurus-photo,
    body.viewport-fit .pengurus-circle .pengurus-photo,
    body.viewport-fit .pengurus-item--center .pengurus-photo {
        width: 58px;
        height: 58px;
    }

    .pengurus-row--cols-5 .pengurus-photo,
    body.viewport-fit .pengurus-row--cols-5 .pengurus-photo {
        width: 40px;
        height: 40px;
    }

    body.viewport-fit .pengurus-photo {
        width: 46px;
        height: 46px;
    }

    .pengurus-nama {
        font-size: 0.72rem;
    }

    .pengurus-jabatan {
        font-size: 0.64rem;
    }

    body.viewport-fit .pengurus-nama {
        font-size: 0.72rem;
    }

    body.viewport-fit .pengurus-jabatan {
        font-size: 0.64rem;
    }

    .pengurus-row {
        gap: 0.25rem;
    }

    .info-cards-row > [class*="col-"] {
        padding: 0 0.65rem;
    }
}

@media (max-width: 991.98px) {
    .hero-col-about,
    .hero-col-slogan {
        padding: 0;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .hero-col-slogan {
        justify-content: center;
    }

    .hero-col-about {
        justify-content: center;
        margin-top: 1rem;
    }

    .hero-about {
        max-width: 100%;
        text-align: center;
        margin-inline: auto;
    }

    .hero-slogan {
        text-align: center;
        max-width: 100%;
        margin-inline: auto;
    }

    .hero-split {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* ── Bottom Panels ── */
.info-panel {
    background: var(--white);
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.struktur-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.struktur-scroll {
    flex: 1;
    min-height: 0;
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    width: 100%;
}

.struktur-scroll::-webkit-scrollbar {
    width: 5px;
}

.struktur-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.struktur-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.pengurus-grid {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    width: 100%;
    padding: 2.75rem 0.35rem 1rem;
    overflow: visible;
}

.pengurus-circle {
    position: relative;
    display: block;
    width: min(100%, 300px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: visible;
}

.pengurus-circle .pengurus-item {
    position: absolute;
    width: 110px;
    text-align: center;
    transform: translate(-50%, -50%);
    min-width: 0;
    padding-inline: 0;
    overflow: visible;
}

.pengurus-item--nw { left: 18%; top: 18%; }
.pengurus-item--ne { left: 82%; top: 18%; }
.pengurus-item--center { left: 50%; top: 50%; z-index: 2; }
.pengurus-item--sw { left: 18%; top: 82%; }
.pengurus-item--se { left: 82%; top: 82%; }

.pengurus-row {
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: start;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.pengurus-row--cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
}

.pengurus-row .pengurus-item {
    text-align: center;
    min-width: 0;
    padding-inline: 0.2rem;
    overflow: hidden;
}

.pengurus-photo {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.18);
}

.pengurus-circle .pengurus-photo,
.pengurus-item--center .pengurus-photo {
    width: 96px;
    height: 96px;
}

.pengurus-row--cols-5 .pengurus-photo {
    width: 68px;
    height: 68px;
}

.pengurus-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pengurus-nama {
    font-size: 1.02rem;
    line-height: 1.3;
    margin: 0.45rem 0 0;
    font-weight: 600;
    color: var(--dark);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.pengurus-circle .pengurus-nama {
    font-size: 0.82rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.pengurus-jabatan {
    font-size: 0.9rem;
    line-height: 1.25;
    margin: 0.1rem 0 0;
    color: var(--primary);
    font-weight: 500;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.pengurus-circle .pengurus-jabatan {
    font-size: 0.72rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.kegiatan-scroll {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.kegiatan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.kegiatan-list::-webkit-scrollbar {
    width: 6px;
}

.kegiatan-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.kegiatan-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.kegiatan-link {
    display: block;
    padding: 0.65rem 0;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.kegiatan-link:hover {
    color: var(--primary);
}

.kegiatan-date {
    display: block;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.kegiatan-judul {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
}

.artikel-scroll {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.artikel-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.artikel-list::-webkit-scrollbar {
    width: 6px;
}

.artikel-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.artikel-item {
    display: grid;
    grid-template-columns: clamp(110px, 35%, 150px) 1fr;
    grid-template-areas:
        "thumb judul"
        "thumb desc";
    gap: 0.45rem 0.85rem;
    align-items: start;
    text-decoration: none;
    color: inherit;
}

.artikel-item:hover .artikel-judul {
    color: var(--primary);
}

.artikel-thumb {
    grid-area: thumb;
    width: 100%;
    min-height: 100%;
    align-self: stretch;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}

.artikel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.artikel-judul {
    grid-area: judul;
    min-width: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artikel-ringkas {
    grid-area: desc;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Detail Pages ── */
.page-detail {
    background: var(--bg-light);
    min-height: 100vh;
}

.detail-navbar {
    background: rgba(26, 26, 46, 0.96);
    padding: 0.75rem 0;
}

.detail-main {
    padding: 2rem 0 3rem;
}

.detail-article {
    max-width: 800px;
    margin: 0 auto;
}

.detail-hero-img {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    max-height: 360px;
}

.detail-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-meta {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.detail-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
}

/* Integrasi dengan layout PHP (main wrapper) */
body.viewport-fit .home-koi-main {
    display: contents;
}

body.viewport-fit .wa-float {
    bottom: 1rem;
    right: 1rem;
    z-index: 1050;
}

/* Struktur organisasi — mobile (override base rules di atas) */
@media (max-width: 991.98px) {
    #struktural-organisasi,
    .info-panel-struktur,
    body.viewport-fit .info-panel-struktur {
        overflow: visible;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.viewport-fit .struktur-scroll,
    .struktur-scroll {
        overflow: visible;
        max-width: 100%;
        width: 100%;
    }

    body.viewport-fit .pengurus-grid,
    .pengurus-grid {
        width: 100%;
        max-width: 100%;
        padding: 2.5rem 0.25rem 0.85rem;
        align-items: center;
        box-sizing: border-box;
        overflow: visible;
    }

    body.viewport-fit .pengurus-circle,
    .pengurus-circle {
        position: relative;
        display: block;
        width: min(100%, 280px);
        aspect-ratio: 1 / 1;
        overflow: visible;
    }

    body.viewport-fit .pengurus-circle .pengurus-item,
    .pengurus-circle .pengurus-item {
        position: absolute;
        width: 84px;
        max-width: none;
        transform: translate(-50%, -50%);
    }

    body.viewport-fit .pengurus-row,
    .pengurus-row {
        display: grid;
        width: 100%;
        max-width: 100%;
        gap: 0.25rem;
        box-sizing: border-box;
        padding-inline: 0;
    }

    body.viewport-fit .pengurus-row--cols-5,
    .pengurus-row--cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: 100%;
    }

    body.viewport-fit .pengurus-row .pengurus-item,
    .pengurus-row .pengurus-item {
        min-width: 0;
        max-width: 100%;
        padding-inline: 0.05rem;
        box-sizing: border-box;
    }

    body.viewport-fit .pengurus-photo,
    .pengurus-photo {
        width: 48px;
        height: 48px;
        max-width: 100%;
    }

    body.viewport-fit .pengurus-circle .pengurus-photo,
    body.viewport-fit .pengurus-item--center .pengurus-photo,
    .pengurus-circle .pengurus-photo,
    .pengurus-item--center .pengurus-photo {
        width: 64px;
        height: 64px;
    }

    body.viewport-fit .pengurus-row--cols-5 .pengurus-photo,
    .pengurus-row--cols-5 .pengurus-photo {
        width: 40px;
        height: 40px;
    }

    body.viewport-fit .pengurus-nama,
    body.viewport-fit .pengurus-jabatan,
    .pengurus-nama,
    .pengurus-jabatan {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        max-width: 100%;
    }

    body.viewport-fit .pengurus-circle .pengurus-nama,
    body.viewport-fit .pengurus-circle .pengurus-jabatan,
    .pengurus-circle .pengurus-nama,
    .pengurus-circle .pengurus-jabatan {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.viewport-fit .pengurus-nama,
    .pengurus-nama {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-top: 0.3rem;
    }

    body.viewport-fit .pengurus-jabatan,
    .pengurus-jabatan {
        font-size: 0.67rem;
        line-height: 1.2;
    }
}

@media (max-width: 575.98px) {
    body.viewport-fit .pengurus-grid,
    .pengurus-grid {
        padding: 2.15rem 0.15rem 0.75rem;
    }

    body.viewport-fit .pengurus-circle,
    .pengurus-circle {
        position: relative;
        display: block;
        width: min(100%, 230px);
        aspect-ratio: 1 / 1;
        overflow: visible;
    }

    body.viewport-fit .pengurus-circle .pengurus-item,
    .pengurus-circle .pengurus-item {
        position: absolute;
        width: 72px;
        transform: translate(-50%, -50%);
    }

    body.viewport-fit .pengurus-photo,
    .pengurus-photo {
        width: 46px;
        height: 46px;
    }

    body.viewport-fit .pengurus-circle .pengurus-photo,
    body.viewport-fit .pengurus-item--center .pengurus-photo,
    .pengurus-circle .pengurus-photo,
    .pengurus-item--center .pengurus-photo {
        width: 54px;
        height: 54px;
    }

    body.viewport-fit .pengurus-row--cols-5 .pengurus-photo,
    .pengurus-row--cols-5 .pengurus-photo {
        width: 36px;
        height: 36px;
    }

    body.viewport-fit .pengurus-nama,
    .pengurus-nama {
        font-size: 0.68rem;
    }

    body.viewport-fit .pengurus-jabatan,
    .pengurus-jabatan {
        font-size: 0.62rem;
    }

    body.viewport-fit .pengurus-row,
    .pengurus-row {
        gap: 0.2rem;
    }
}
