/* Stable editorial cards for Programs and Insights. */
.program-accent-teal,
.program-accent-green,
.program-accent-blue,
.program-accent-amber {
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 59, 64, 0.1) !important;
    border-top-width: 4px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 28px rgba(18, 59, 64, 0.1) !important;
}

.program-accent-teal .overlay-card-image,
.program-accent-green .overlay-card-image,
.program-accent-blue .overlay-card-image,
.program-accent-amber .overlay-card-image {
    height: 230px !important;
    min-height: 230px !important;
    object-fit: cover !important;
}

.program-accent-teal .overlay-card-shade,
.program-accent-green .overlay-card-shade,
.program-accent-blue .overlay-card-shade,
.program-accent-amber .overlay-card-shade {
    display: none !important;
}

.program-accent-teal .overlay-card-content,
.program-accent-green .overlay-card-content,
.program-accent-blue .overlay-card-content,
.program-accent-amber .overlay-card-content {
    position: static !important;
    padding: 1.25rem 1.35rem 1.4rem !important;
    color: var(--brand-ink, #123b40) !important;
}

.program-accent-teal .overlay-card-label,
.program-accent-green .overlay-card-label,
.program-accent-blue .overlay-card-label,
.program-accent-amber .overlay-card-label,
.program-accent-teal .overlay-card-title,
.program-accent-green .overlay-card-title,
.program-accent-blue .overlay-card-title,
.program-accent-amber .overlay-card-title {
    color: var(--brand-ink, #123b40) !important;
}

.program-accent-teal .overlay-card-date,
.program-accent-green .overlay-card-date,
.program-accent-blue .overlay-card-date,
.program-accent-amber .overlay-card-date,
.program-accent-teal .overlay-card-description,
.program-accent-green .overlay-card-description,
.program-accent-blue .overlay-card-description,
.program-accent-amber .overlay-card-description {
    color: var(--text-gray, #667477) !important;
}

/* Only the About feature list stays still on hover. */
.about-features li:hover {
    transform: none !important;
}

/* Programs: clear landscape image, floating category chip, and white body. */
.program-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.program-card-new {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 64, 0.1);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(18, 59, 64, 0.1);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.program-card-link:hover .program-card-new,
.program-card-link:focus-visible .program-card-new {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(18, 59, 64, 0.16);
}

.program-card-new-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dfeceb;
}

.program-card-new-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.program-card-link:hover .program-card-new-media img,
.program-card-link:focus-visible .program-card-new-media img {
    transform: scale(1.03);
}

.program-card-new-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(8, 127, 122, 0.12);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(18, 59, 64, 0.16);
    color: #087f7a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.program-card-new-content {
    position: relative;
    z-index: 1;
    padding: 1.2rem 1.25rem 1.35rem;
}

.program-card-new-title {
    margin: 0;
    color: #123b40;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
}

.program-card-new-description {
    display: -webkit-box;
    margin: 0.65rem 0 0;
    overflow: hidden;
    color: #667477;
    font-size: 0.9rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Insights: no pseudo-elements, blobs, gradients, or overlay treatment. */
.insight-card-link {
    display: block;
    height: 100%;
}

.insight-card-link .news-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 64, 0.1);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(18, 59, 64, 0.1);
}

.insight-card-link .news-card::before,
.insight-card-link .news-card::after {
    display: none !important;
    content: none !important;
}

.insight-card-link .news-card-media {
    aspect-ratio: 16 / 9;
    height: auto;
}

.insight-card-link .news-card-body {
    min-height: 190px;
    padding: 1.2rem 1.25rem 1.35rem;
}

.insight-card-link .news-card-label {
    color: #087f7a;
}

.insight-card-link .news-card-date,
.insight-card-link .news-card-description {
    color: #667477;
}

.program-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: min(1100px, 100%);
    margin: 0 auto;
}

.program-home-item {
    display: flex;
    width: 100%;
}

.program-home-item .program-card-link,
.program-home-item .program-card-link > * {
    width: 100%;
    height: 100%;
}

#programs .program-card-link {
    width: 100%;
}

.editorial-program-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    width: 100%;
    margin: 0;
}

.editorial-program-grid-item {
    grid-column: span 6;
    display: block;
    width: 100%;
}

.editorial-program-empty {
    grid-column: 1 / -1;
}

/* Services: match the image-led editorial card language used by Programs. */
.services-container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

.service-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-card-premium {
    position: relative;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    border-radius: 14px;
    background: #123b40;
    box-shadow: 0 10px 28px rgba(18, 59, 64, 0.14);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card-link:hover .service-card-premium,
.service-card-link:focus-visible .service-card-premium {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(18, 59, 64, 0.22);
}

.service-card-premium-media {
    position: absolute;
    inset: 0;
    height: 100%;
    background: #123b40;
}

.service-card-premium-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-card-premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 59, 64, 0.04) 24%,
        rgba(8, 34, 38, 0.92) 100%
    );
}

.service-card-link:hover .service-card-premium-media img,
.service-card-link:focus-visible .service-card-premium-media img {
    transform: scale(1.04);
}

.service-card-premium-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(18, 59, 64, 0.16);
    color: #087f7a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-card-premium-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 1.35rem;
}

.service-card-premium-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
}

.service-card-premium-description {
    display: -webkit-box;
    margin: 0.65rem 0 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.service-card-premium-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.service-card-premium-more i {
    transition: transform 0.25s ease;
}

.service-card-link:hover .service-card-premium-more i,
.service-card-link:focus-visible .service-card-premium-more i {
    transform: translate(2px, -2px);
}

.service-card-link:focus-visible {
    outline: 3px solid rgba(32, 178, 170, 0.35);
    outline-offset: 4px;
}

/* Keep the Services page calm while giving the cards a subtle surface contrast. */
.services-container {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
    background: #eef8f6;
}

.services-container .services-grid {
    width: min(1200px, 100%);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1200px) {
    .services-container .services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.1rem;
        width: min(1240px, calc(100% - 2rem));
    }
}

.services-container .service-card-label {
    width: fit-content;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #e0f3ef;
    color: #087f7a;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
}

.services-container .service-card {
    border-top: 3px solid #20b2aa;
    box-shadow: 0 12px 28px rgba(18, 59, 64, 0.08);
}

.services-container .service-card-link:hover .service-card {
    box-shadow: 0 18px 34px rgba(18, 59, 64, 0.14);
}

/* About page: tighter reading measure and a more balanced editorial rhythm. */
.about-hero .row {
    min-height: 0;
    align-items: center;
}

.about-hero .col-lg-6:first-child {
    flex: 0 0 55%;
    max-width: 55%;
}

.about-hero .col-lg-6:last-child {
    flex: 0 0 45%;
    max-width: 45%;
}

.about-hero .col-lg-6:first-child > * {
    max-width: 38rem;
}

@media (min-width: 768px) {
    .about-hero .col-lg-6:first-child .lead {
        text-align: justify;
        text-justify: inter-word;
    }
}

.about-hero .about-image-wrapper {
    height: 320px;
    margin-top: 0;
}

.vision-section .vision-card {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    padding: 2.5rem !important;
}

.mission-section .row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mission-section .row > [class*="col-"] {
    width: 100%;
    max-width: none;
}

.mission-section .mission-card {
    padding: 1.65rem 1.25rem;
    border-top: 3px solid rgba(32, 178, 170, 0.6);
    box-shadow: 0 8px 22px rgba(18, 59, 64, 0.08);
    text-align: left;
}

.mission-section .mission-icon {
    margin-right: auto;
    margin-left: auto;
}

.goals-section .goal-item {
    border-left: 3px solid rgba(32, 178, 170, 0.65);
    box-shadow: 0 6px 18px rgba(18, 59, 64, 0.07);
}

@media (max-width: 991.98px) {
    .about-hero .col-lg-6:first-child,
    .about-hero .col-lg-6:last-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mission-section .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .about-hero .col-lg-6:first-child .lead {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem !important;
    }

    .mission-section .mission-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .mission-section .mission-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.85rem;
    }

    .mission-section .mission-icon i {
        font-size: 1.1rem;
    }

    .mission-section .mission-card h4 {
        margin-bottom: 0.55rem;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .mission-section .mission-card p {
        display: none;
    }

    .vision-section .vision-card {
        padding: 1.15rem !important;
    }

    .vision-section .vision-card p {
        display: block;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .mission-section > .container > .text-center > .lead,
    .goals-section > .container > .text-center > .lead,
    .goals-section .goal-item p {
        display: none;
    }

    .goals-section .goal-item {
        padding: 0.85rem;
        border-radius: 10px;
    }

    .goals-section .goal-emoji {
        min-width: 38px;
        font-size: 1.5rem;
    }

    .goals-section .goal-item h5 {
        margin-bottom: 0.35rem;
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .goals-section .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        margin-right: 0;
        margin-left: 0;
    }

    .goals-section .row > [class*="col-"] {
        width: 100%;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .goals-section .goal-item {
        height: 100%;
        align-items: flex-start;
        margin-bottom: 0;
    }

    .goals-section .goal-emoji {
        flex: 0 0 28px;
        min-width: 28px;
        font-size: 1.2rem;
    }

    .goals-section .goal-item h5 {
        font-size: 0.72rem;
    }

    .about-hero .col-lg-6:first-child .lead {
        text-align: left;
    }

    .about-hero .col-lg-6:first-child > * {
        max-width: none;
    }

    .about-hero .about-image-wrapper {
        height: 240px;
    }

    .vision-section .vision-card {
        padding: 1.5rem !important;
    }

    .mission-section .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Homepage service cards use the original white-body treatment. */
.home-content-section .service-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 64, 0.1);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(18, 59, 64, 0.1);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-content-section .service-card-link:hover .service-card,
.home-content-section .service-card-link:focus-visible .service-card {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(18, 59, 64, 0.16);
}

.home-content-section .service-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dfeceb;
}

.home-content-section .service-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-content-section .service-card-link:hover .service-card-media img,
.home-content-section .service-card-link:focus-visible .service-card-media img {
    transform: scale(1.03);
}

.home-content-section .service-card-body {
    min-height: 178px;
    padding: 1rem 1.05rem 1.1rem;
}

.home-content-section .service-card-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #087f7a;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-content-section .service-card-title {
    margin: 0;
    color: #123b40;
    font-size: 0.95rem;
    line-height: 1.3;
}

.home-content-section .service-card-description {
    display: -webkit-box;
    margin: 0.5rem 0 0;
    overflow: hidden;
    color: #667477;
    font-size: 0.75rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-content-section .service-card-more {
    margin-top: 0.7rem;
    color: #087f7a;
    font-size: 0.7rem;
}

@media (max-width: 991.98px) {
    .program-home-grid,
    .editorial-program-grid,
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .program-home-item,
    .editorial-program-grid-item,
    .editorial-program-empty {
        grid-column: auto;
        width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .program-home-grid,
    .editorial-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Programs page: 2 kolom compact bahkan di layar sangat kecil */
@media (max-width: 575.98px) {
    .editorial-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .services-container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .service-card-premium {
        min-height: 320px;
    }

    .service-card-premium-content {
        padding: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .program-card-new-content,
    .insight-card-link .news-card-body {
        padding: 1rem;
    }
}

/* Match Portfolio's image-led card language without decorative blobs. */
#programs::before,
#programs::after,
#programs > .container::before,
#programs > .container::after,
#programs .row::before,
#programs .row::after,
#programs .row > div::before,
#programs .row > div::after,
.programs-grid-section::before,
.programs-grid-section::after,
.programs-grid-section > .container::before,
.programs-grid-section > .container::after,
.programs-grid-section .row::before,
.programs-grid-section .row::after,
.programs-grid-section .row > div::before,
.programs-grid-section .row > div::after,
.programs-section-redesigned::before,
.programs-section-redesigned::after,
.programs-section-redesigned > .container::before,
.programs-section-redesigned > .container::after,
.programs-section-redesigned .row::before,
.programs-section-redesigned .row::after,
.programs-section-redesigned .row > div::before,
.programs-section-redesigned .row > div::after {
    display: none !important;
    background: transparent !important;
    content: none !important;
}

.program-card-new,
.insight-card-link .news-card {
    position: relative;
    min-height: 330px;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #123b40;
    box-shadow: 0 10px 28px rgba(18, 59, 64, 0.14);
}

.program-card-new-media,
.insight-card-link .news-card-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    height: 100%;
    background: #123b40;
}

.program-card-new-media img,
.insight-card-link .news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.program-card-new-media::after,
.insight-card-link .news-card-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 59, 64, 0.02) 25%,
        rgba(8, 34, 38, 0.9) 100%
    );
    content: "";
}

.program-card-new-content,
.insight-card-link .news-card-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    min-height: 0;
    padding: 1.35rem;
    background: transparent;
}

.program-card-new-title,
.insight-card-link .news-card-title {
    color: #ffffff;
}

.program-card-new-description,
.insight-card-link .news-card-description,
.insight-card-link .news-card-date {
    color: rgba(255, 255, 255, 0.86);
}

.program-card-new-badge,
.insight-card-link .news-card-label {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.55rem;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(18, 59, 64, 0.16);
    color: #087f7a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.program-card-new-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    margin: 0;
    padding: 0.38rem 0.7rem;
}

.insight-card-link .news-card-label {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.program-card-link:hover .program-card-new,
.insight-card-link:hover .news-card {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(18, 59, 64, 0.22);
}

.program-card-link:hover .program-card-new-media img,
.insight-card-link:hover .news-card-media img {
    transform: scale(1.04);
}

.program-card-new::before,
.program-card-new::after,
.insight-card-link .news-card::before,
.insight-card-link .news-card::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 575.98px) {
    /* Hapus min-height agar card mengikuti aspect-ratio natural seperti service cards */
    .programs-grid-section .program-card-new,
    .insight-card-link .news-card {
        min-height: unset;
    }

    .program-card-new-content,
    .insight-card-link .news-card-body {
        padding: 0.75rem 0.85rem;
    }
}

/* Impact numbers: clear content, no haze or decorative texture. */
.impact-stats-section {
    position: relative;
    overflow: visible;
    background: #eef8f6 !important;
    color: #123b40 !important;
}

.impact-stats-section::before {
    display: none !important;
    content: none !important;
}

.impact-stats-section .section-header {
    position: relative;
    z-index: 1;
}

.impact-stats-section .section-header h2 {
    color: #123b40 !important;
}

.impact-stats-section .section-header p {
    color: #667477 !important;
}

.impact-stats-section .stat-item-redesigned {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 2rem 1.5rem 1.75rem;
    border: 1px solid rgba(18, 59, 64, 0.1);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(18, 59, 64, 0.08);
    backdrop-filter: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.impact-stats-section .stat-item-redesigned:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(18, 59, 64, 0.14);
}

.impact-stats-section .stat-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 1.25rem;
    background: #e0f3ef;
    color: #087f7a;
    font-size: 2rem;
}

.impact-stats-section .stat-item-redesigned:hover .stat-icon {
    background: #e0f3ef;
    color: #087f7a;
    transform: none;
}

.impact-stats-section .stat-number {
    margin-bottom: 0.35rem;
    color: #123b40;
}

.impact-stats-section .stat-label {
    color: #667477;
}

/* Hard reset for the impact section's legacy translucent layers. */
#impact,
#impact::before,
#impact::after,
#impact > .container,
#impact > .container::before,
#impact > .container::after,
#impact .section-header,
#impact .section-header::before,
#impact .section-header::after,
#impact .row,
#impact .row::before,
#impact .row::after,
#impact .row > div,
#impact .row > div::before,
#impact .row > div::after {
    background: #eef8f6 !important;
    background-image: none !important;
    box-shadow: none !important;
}

#impact {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate;
}

#impact::before,
#impact::after,
#impact > .container::before,
#impact > .container::after,
#impact .section-header::before,
#impact .section-header::after,
#impact .row::before,
#impact .row::after,
#impact .row > div::before,
#impact .row > div::after {
    display: none !important;
    content: none !important;
}

#impact .stat-item-redesigned {
    background: #ffffff !important;
    background-image: none !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
}

/* Shared call-to-action buttons use a deliberate, compact editorial treatment. */
.about-content > .btn-primary,
.home-content-section .text-center.mt-5 .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 56px;
    padding: 0.85rem 1.45rem !important;
    border: 1px solid var(--brand-teal) !important;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(32, 178, 170, 0.2);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

/* Unified detail hierarchy and natural navigation (Project/Service editorial theme) */
.offering-detail-section {
    padding: 2.75rem 0 4.5rem;
    background: #f7faf9;
}

.offering-detail-section .container {
    max-width: 1120px;
}

.offering-detail-section .back-button-wrapper {
    margin-bottom: 2rem;
}

.offering-detail-section .back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0;
    color: var(--brand-teal-dark) !important;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(8, 127, 122, 0.35);
}

.offering-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: stretch;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid rgba(8, 127, 122, 0.22);
    border-bottom: 1px solid rgba(8, 127, 122, 0.22);
}

.offering-detail-image-wrapper {
    min-height: 345px;
    background: #dcebe7;
}

.offering-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 345px;
    object-fit: cover;
}

.offering-detail-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-left: 4px solid var(--brand-teal);
}

.program-offering-detail .offering-detail-summary {
    border-left-color: #6b8f71;
}

.offering-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    color: var(--brand-teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.program-offering-detail .offering-detail-kicker {
    color: #587a5f;
}

.offering-detail-title {
    margin: 0 0 1.35rem;
    color: var(--brand-ink, #0f2d2e);
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    font-weight: 750;
    line-height: 1.08;
}

.offering-detail-lead {
    margin: 0;
    color: #536668;
    font-size: 1.12rem;
    line-height: 1.75;
}

.offering-detail-content {
    max-width: 860px;
    margin: 2.75rem auto 0;
    padding: 0 0.5rem;
}

.offering-detail-body {
    color: #4f5f61;
    font-size: 1rem;
    line-height: 1.78;
    column-count: 1;
}

.offering-detail-body h2,
.offering-detail-body h3,
.offering-detail-body h4 {
    margin-top: 2.4rem;
    margin-bottom: 0.8rem;
    color: var(--brand-ink, #0f2d2e);
    line-height: 1.25;
}

.offering-detail-body h2:first-child,
.offering-detail-body h3:first-child {
    margin-top: 0;
}

.offering-detail-body h2 {
    font-size: 1.6rem;
}

.offering-detail-body h3 {
    font-size: 1.3rem;
}

.offering-detail-body p {
    margin-bottom: 1.25rem;
}

.offering-detail-body ul,
.offering-detail-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.offering-detail-body li {
    margin-bottom: 0.6rem;
    padding-left: 0.25rem;
}

.offering-detail-section .post-navigation {
    max-width: 860px;
    margin: 3rem auto 0;
}

/* Service detail: a more consultative layout than the editorial Program detail. */
.service-offering-detail {
    background: #f2f8f7;
}

.service-offering-detail .container {
    max-width: 1180px;
}

.service-detail-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
    border: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 42px rgba(18, 59, 64, 0.12);
}

.service-detail-hero .offering-detail-image-wrapper {
    min-height: 470px;
}

.service-detail-hero .offering-detail-image {
    min-height: 470px;
}

.service-detail-hero .offering-detail-summary {
    position: relative;
    padding: clamp(2.4rem, 5vw, 4.5rem);
    border-left: 0;
    background: #343a40;
}

.service-detail-hero .offering-detail-summary::before {
    position: absolute;
    top: 0;
    right: 2.5rem;
    width: 4.5rem;
    height: 4px;
    background: #20b2aa;
    content: "";
}

.service-detail-hero .offering-detail-kicker {
    color: #7edbd1;
}

.service-detail-hero .service-detail-breadcrumb,
.service-detail-hero .service-detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.62);
}

.service-detail-hero .offering-detail-title {
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 3.65rem);
    letter-spacing: -0.02em;
}

.service-detail-hero .offering-detail-lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.service-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1100px;
    padding: 3.25rem 0.5rem 0;
}

.service-detail-section-label,
.service-detail-aside-label {
    display: block;
    margin-bottom: 1rem;
    color: #087f7a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-detail-body {
    padding-right: 0;
}

.service-detail-body > p:first-of-type {
    color: #123b40;
    font-size: 1.18rem;
    line-height: 1.75;
}

.service-detail-aside {
    position: static;
    padding: 1.75rem;
    border-top: 3px solid #20b2aa;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(18, 59, 64, 0.08);
}

.service-detail-aside-mark {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: #e0f3ef;
    color: #087f7a;
}

.service-detail-aside h2 {
    margin: 0 0 0.75rem;
    color: #123b40;
    font-size: 1.35rem;
    line-height: 1.2;
}

.service-detail-aside p {
    margin-bottom: 1.35rem;
    color: #667477;
    font-size: 0.88rem;
    line-height: 1.6;
}

.service-detail-aside-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #087f7a;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.service-detail-aside-link i {
    transition: transform 0.25s ease;
}

.service-detail-aside-link:hover i,
.service-detail-aside-link:focus-visible i {
    transform: translateX(4px);
}

.service-offering-detail .post-navigation {
    max-width: 1020px;
    margin-top: 3.5rem;
}

@media (max-width: 991.98px) {
    .offering-detail-section {
        padding-top: 2rem;
    }

    .offering-detail-hero {
        grid-template-columns: 1fr;
        border-top: 1px solid rgba(8, 127, 122, 0.22);
        border-bottom: 0;
    }

    .offering-detail-image-wrapper,
    .offering-detail-image {
        min-height: 245px;
    }

    .offering-detail-summary {
        padding: 2rem 1.5rem 2.25rem;
        border-left: 0;
        border-top: 4px solid var(--brand-teal);
    }

    .program-offering-detail .offering-detail-summary {
        border-top-color: #6b8f71;
    }

    .service-detail-hero {
        grid-template-columns: 1fr;
        border-radius: 0 0 14px 14px;
    }

    .service-detail-hero .offering-detail-image-wrapper,
    .service-detail-hero .offering-detail-image {
        min-height: 280px;
    }

    .service-detail-hero .offering-detail-summary {
        padding: 2rem 1.5rem 2.25rem;
        border-top: 0;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 3rem;
    }

    .service-detail-body {
        padding-right: 0;
    }

    .service-detail-aside {
        position: static;
    }

    .offering-detail-content {
        padding: 0;
    }
}

.news-detail-section .back-button-wrapper,
.service-detail-section .back-button-wrapper {
    margin-bottom: 1.25rem;
}

.news-detail-section .back-button,
.service-detail-section .back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0;
    border: 0 !important;
    border-bottom: 1px solid rgba(8, 127, 122, 0.35) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--brand-teal-dark) !important;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.news-detail-section .back-button:hover,
.service-detail-section .back-button:hover {
    background: transparent !important;
    color: var(--brand-teal) !important;
    border-bottom-color: var(--brand-teal) !important;
    transform: translateX(-3px);
}

.news-detail-section .news-detail-header,
.service-detail-section .news-detail-header {
    margin-bottom: 0.75rem;
}

.service-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
    color: #7a8889;
    font-size: 0.82rem;
}

.service-detail-breadcrumb a {
    color: var(--brand-teal-dark);
    font-weight: 600;
    text-decoration: none;
}

.news-detail-section .news-date {
    display: inline-block;
    color: var(--brand-teal);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.news-detail-section .news-detail-title,
.service-detail-section .news-detail-title {
    margin-bottom: 1.5rem;
    font-size: clamp(1.85rem, 3.8vw, 2.85rem);
    font-weight: 700;
    color: var(--brand-ink, #0f2d2e);
    line-height: 1.18;
}

.news-detail-section .news-detail-image-wrapper,
.service-detail-section .news-detail-image-wrapper {
    width: 100%;
    max-height: 480px;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.news-detail-section .news-detail-image,
.service-detail-section .news-detail-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    display: block;
}

.news-detail-section .news-detail-text,
.service-detail-section .news-detail-text {
    color: #4f5f61;
    font-size: 1.02rem;
    line-height: 1.85;
    padding: 2.25rem 2.5rem;
}

@media (max-width: 767.98px) {
    .news-detail-section .news-detail-text,
    .service-detail-section .news-detail-text {
        padding: 1.5rem 1.25rem;
    }
}

.service-detail-intro {
    margin: 0 0 1.5rem;
    color: #4a5c5e;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
}

.news-detail-section .news-detail-text h2,
.service-detail-section .news-detail-text h2 {
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
    color: var(--brand-ink, #0f2d2e);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
}

.news-detail-section .news-detail-text h3,
.service-detail-section .news-detail-text h3 {
    margin-top: 1.85rem;
    margin-bottom: 0.75rem;
    color: var(--brand-ink, #0f2d2e);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.news-detail-section .news-detail-text h4,
.service-detail-section .news-detail-text h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--brand-ink, #0f2d2e);
    font-size: 1.12rem;
    font-weight: 600;
}

.news-detail-section .news-detail-text p,
.service-detail-section .news-detail-text p {
    margin-bottom: 1.25rem;
}

.news-detail-section .news-detail-text strong,
.service-detail-section .news-detail-text strong {
    color: var(--brand-ink, #0f2d2e);
    font-weight: 700;
}

.news-detail-section .news-detail-text blockquote,
.service-detail-section .news-detail-text blockquote {
    margin: 1.75rem 0;
    padding: 1rem 1.35rem;
    border-left: 3px solid var(--brand-teal);
    background: #f4faf9;
    color: var(--brand-teal-dark);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.news-detail-section .news-detail-text blockquote p,
.service-detail-section .news-detail-text blockquote p {
    margin: 0;
}

.news-detail-section .news-detail-text ul,
.service-detail-section .news-detail-text ul,
.news-detail-section .news-detail-text ol,
.service-detail-section .news-detail-text ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.news-detail-section .news-detail-text li,
.service-detail-section .news-detail-text li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

/* Post navigation matching the clean, natural editorial project theme */
.news-detail-section .post-navigation,
.service-detail-section .post-navigation,
.project-detail-section .post-navigation,
.offering-detail-section .post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 2.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(8, 127, 122, 0.18);
    background: transparent !important;
}

.news-detail-section .post-nav-link,
.service-detail-section .post-nav-link,
.project-detail-section .post-nav-link,
.offering-detail-section .post-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(8, 127, 122, 0.18) !important;
    border-radius: 10px !important;
    background: #f2fbfa !important;
    color: var(--brand-teal-dark) !important;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(18, 59, 64, 0.06) !important;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.news-detail-section .post-nav-link.prev-post,
.service-detail-section .post-nav-link.prev-post,
.project-detail-section .post-nav-link.prev-post,
.offering-detail-section .post-nav-link.prev-post {
    margin-right: auto;
}

.news-detail-section .post-nav-link.next-post,
.service-detail-section .post-nav-link.next-post,
.project-detail-section .post-nav-link.next-post,
.offering-detail-section .post-nav-link.next-post {
    margin-left: auto;
}

.news-detail-section .post-nav-link.prev-post:hover,
.service-detail-section .post-nav-link.prev-post:hover,
.project-detail-section .post-nav-link.prev-post:hover,
.offering-detail-section .post-nav-link.prev-post:hover {
    background: #e0f3ef !important;
    color: var(--brand-teal) !important;
    border-color: rgba(8, 127, 122, 0.35) !important;
    transform: translateX(-4px);
}

.news-detail-section .post-nav-link.next-post:hover,
.service-detail-section .post-nav-link.next-post:hover,
.project-detail-section .post-nav-link.next-post:hover,
.offering-detail-section .post-nav-link.next-post:hover {
    background: #e0f3ef !important;
    color: var(--brand-teal) !important;
    border-color: rgba(8, 127, 122, 0.35) !important;
    transform: translateX(4px);
}

.news-detail-section .post-nav-link .nav-text,
.project-detail-section .post-nav-link .nav-text,
.offering-detail-section .post-nav-link .nav-text,
.news-detail-section .post-nav-link i,
.project-detail-section .post-nav-link i,
.offering-detail-section .post-nav-link i {
    color: #667477 !important;
    overflow-wrap: anywhere;
}

.news-detail-section .post-nav-link:hover .nav-text,
.project-detail-section .post-nav-link:hover .nav-text,
.offering-detail-section .post-nav-link:hover .nav-text,
.news-detail-section .post-nav-link:hover i,
.project-detail-section .post-nav-link:hover i,
.offering-detail-section .post-nav-link:hover i {
    color: #087f7a !important;
}

@media (max-width: 575.98px) {
    .news-detail-section .post-navigation,
    .service-detail-section .post-navigation,
    .project-detail-section .post-navigation,
    .offering-detail-section .post-navigation {
        flex-direction: row;
        gap: 0.65rem;
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .news-detail-section .post-nav-link,
    .service-detail-section .post-nav-link,
    .project-detail-section .post-nav-link {
        flex: 1 1 0;
        justify-content: center;
        min-height: 40px;
        padding: 0.55rem 0.45rem;
        font-size: 0.55rem;
        line-height: 1.25;
        text-align: center;
    }

    .news-detail-section .post-nav-link.prev-post,
    .service-detail-section .post-nav-link.prev-post,
    .project-detail-section .post-nav-link.prev-post,
    .offering-detail-section .post-nav-link.prev-post {
        order: 1;
        margin-right: 0;
    }

    .news-detail-section .post-nav-link.next-post,
    .service-detail-section .post-nav-link.next-post,
    .project-detail-section .post-nav-link.next-post,
    .offering-detail-section .post-nav-link.next-post {
        order: 2;
        margin-left: 0;
    }
}

.project-detail-meta {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--brand-teal);
    background: #f2fbfa;
    color: #536466;
    font-size: 0.92rem;
}

.project-detail-meta span {
    display: flex;
    gap: 0.65rem;
}

.project-detail-meta b {
    min-width: 4.2rem;
    color: var(--brand-ink);
    font-weight: 700;
}

.service-detail-body h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: #123b40;
    font-size: 1.25rem;
    font-weight: 700;
}

.service-detail-body ul {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.service-detail-body li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
    color: #445558;
}

.service-detail-body p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: #445558;
}

.about-content > .btn-primary i,
.home-content-section .text-center.mt-5 .btn-primary i {
    margin-left: 0.65rem !important;
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.about-content > .btn-primary:hover,
.home-content-section .text-center.mt-5 .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(32, 178, 170, 0.3);
}

.about-content > .btn-primary:hover i,
.home-content-section .text-center.mt-5 .btn-primary:hover i {
    transform: translateX(4px);
}

@media (max-width: 575.98px) {
    .about-content > .btn-primary,
    .home-content-section .text-center.mt-5 .btn-primary {
        min-width: 190px;
        min-height: 52px;
        font-size: 0.95rem;
    }
}

/* Portfolio cards follow the compact project-board layout. */
.projects-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    width: min(100%, 1320px);
    margin-right: auto;
    margin-left: auto;
}

.portfolio-grid > div,
.projects-grid > .overlay-card-link {
    min-width: 0;
}

.portfolio-grid > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.portfolio-card {
    min-height: 330px !important;
    height: 330px !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(18, 59, 64, 0.16);
}

.portfolio-card-image,
.portfolio-card .overlay-card-image {
    min-height: 330px !important;
}

.portfolio-card .overlay-card-shade {
    background: linear-gradient(
        180deg,
        rgba(8, 34, 38, 0.02) 20%,
        rgba(8, 34, 38, 0.9) 100%
    );
}

.portfolio-card .overlay-card-content {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.85rem 1rem 0.75rem;
}

.portfolio-card .overlay-card-label {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-block;
    max-width: calc(100% - 2.5rem);
    margin: 0;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(245, 252, 243, 0.94);
    color: #28714d;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-card .overlay-card-title {
    max-width: calc(100% - 2.5rem);
    font-size: 1rem;
    line-height: 1.22;
}

.portfolio-card .overlay-card-description {
    display: none;
}

.portfolio-card-meta {
    display: grid;
    gap: 0.18rem;
    max-width: calc(100% - 2.5rem);
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.62rem;
    line-height: 1.3;
}

.portfolio-card-meta span {
    display: flex;
    gap: 0.45rem;
}

.portfolio-card-meta b {
    min-width: 2.7rem;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 500;
}

.portfolio-card-arrow {
    position: absolute;
    right: 0.85rem;
    bottom: 0.75rem;
    z-index: 2;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.7rem;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.overlay-card-link:hover .portfolio-card-arrow,
.overlay-card-link:focus-visible .portfolio-card-arrow {
    background: #ffffff;
    color: #123b40;
}

@media (max-width: 575.98px) {
    .projects-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card,
    .portfolio-card .overlay-card-image {
        min-height: 320px !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .projects-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .service-offering-detail .service-detail-content {
        padding-top: 3rem;
    }
}

/* Final Service Detail tone: deep teal page, restrained navigation, no post pager. */
.service-offering-detail {
    padding-top: calc(var(--page-top-space, 104px) + 0.75rem);
    background: #123b40;
}

.service-offering-detail .back-button-wrapper {
    display: block;
    margin-bottom: 1.35rem;
}

.service-offering-detail .back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(126, 219, 209, 0.45) !important;
    border-radius: 999px !important;
    background: rgba(18, 59, 64, 0.72) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
}

.service-offering-detail .back-button i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.service-offering-detail .back-button:hover,
.service-offering-detail .back-button:focus-visible {
    border-color: #7edbd1 !important;
    background: rgba(126, 219, 209, 0.12) !important;
    color: #7edbd1 !important;
}

.service-offering-detail .back-button:hover i,
.service-offering-detail .back-button:focus-visible i {
    transform: translateX(-3px);
}

/* Reading surface: keep the hero charcoal, but give the long-form content room to breathe. */
.service-offering-detail {
    background: #f4f7f6;
}

.service-offering-detail .back-button {
    border-color: rgba(8, 127, 122, 0.38) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: #087f7a !important;
}

.service-offering-detail .back-button:hover,
.service-offering-detail .back-button:focus-visible {
    border-color: #087f7a !important;
    background: #e0f3ef !important;
    color: #087f7a !important;
}

.service-offering-detail .service-detail-content {
    color: #536668;
}

.service-offering-detail .service-detail-section-label {
    color: #7edbd1;
}

.service-offering-detail .offering-detail-body,
.service-offering-detail .offering-detail-body p,
.service-offering-detail .offering-detail-body li {
    color: #536668;
}

.service-offering-detail .offering-detail-body > p:first-of-type {
    color: #123b40;
}

.service-offering-detail .offering-detail-body h2,
.service-offering-detail .offering-detail-body h3,
.service-offering-detail .offering-detail-body h4 {
    color: #123b40;
}

.service-offering-detail .service-detail-aside {
    background: #123b40;
    box-shadow: 0 14px 30px rgba(4, 24, 27, 0.22);
}

.service-offering-detail .service-detail-aside h2 {
    color: #ffffff;
}

.service-offering-detail .service-detail-aside p {
    color: rgba(255, 255, 255, 0.78);
}

.service-offering-detail .service-detail-aside-label {
    color: #7edbd1;
}

.service-offering-detail .service-detail-aside-link {
    color: #7edbd1;
}

.service-offering-detail .post-navigation {
    margin-top: 3rem;
}

/* Program detail post navigation */
.program-offering-detail {
    padding-top: calc(var(--page-top-space, 104px) + 0.75rem);
}

.program-offering-detail .back-button-wrapper {
    display: block;
    margin-bottom: 1.35rem;
}

.program-offering-detail .back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(8, 127, 122, 0.45) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    color: #087f7a !important;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
}

.program-offering-detail .back-button i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.program-offering-detail .back-button:hover,
.program-offering-detail .back-button:focus-visible {
    border-color: #087f7a !important;
    background: #e0f3ef !important;
    color: #087f7a !important;
}

.program-offering-detail .back-button:hover i,
.program-offering-detail .back-button:focus-visible i {
    transform: translateX(-3px);
}

@media (max-width: 767.98px) {
    .service-offering-detail {
        padding-top: calc(var(--page-top-space, 88px) + 0.65rem);
    }

    .service-offering-detail .back-button-wrapper {
        margin-bottom: 0.9rem;
    }

    .program-offering-detail {
        padding-top: calc(var(--page-top-space, 88px) + 0.65rem);
    }

    .program-offering-detail .back-button-wrapper {
        margin-bottom: 0.9rem;
    }
}

/* Compact responsive pass: preserve content while reducing excess vertical rhythm. */
@media (min-width: 576px) and (max-width: 991.98px) {
    .home-content-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .home-content-section .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .program-home-grid,
    .editorial-program-grid,
    .services-grid {
        gap: 1rem;
    }

    .program-card-new {
        min-height: 290px;
    }

    .service-card-premium {
        min-height: 300px;
    }

    .home-content-section .service-card-body {
        min-height: 155px;
        padding: 0.85rem 0.9rem 0.95rem;
    }

    .home-content-section .service-card-description {
        -webkit-line-clamp: 2;
    }

    .service-offering-detail .service-detail-hero,
    .program-offering-detail .offering-detail-hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    }

    .service-detail-hero .offering-detail-image-wrapper,
    .service-detail-hero .offering-detail-image,
    .program-offering-detail .offering-detail-image-wrapper,
    .program-offering-detail .offering-detail-image {
        min-height: 330px;
    }

    .service-detail-hero .offering-detail-summary,
    .program-offering-detail .offering-detail-summary {
        padding: 2rem;
    }

    .service-detail-hero .offering-detail-title,
    .program-offering-detail .offering-detail-title {
        font-size: clamp(1.8rem, 4vw, 2.6rem);
    }

    .service-detail-content {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 2rem;
        padding-top: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    html {
        overflow-x: clip;
    }

    body {
        overflow-x: hidden;
    }

    .about-section-redesigned .row {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .about-section-redesigned .about-image-container {
        display: none;
    }

    .about-section-redesigned .about-content > .btn {
        min-width: 0;
        min-height: 0 !important;
        padding: 0.5rem 0.85rem !important;
        font-size: 0.75rem;
    }

    .home-content-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .home-content-section .row {
        --bs-gutter-x: 0.85rem;
        --bs-gutter-y: 0.85rem;
    }

    .program-home-grid,
    .editorial-program-grid,
    .services-grid {
        gap: 0.45rem;
    }

    .program-card-new {
        min-height: 230px;
        border-radius: 10px;
    }

    .program-card-new-content {
        padding: 1rem;
    }

    .program-card-new-title {
        font-size: 1rem;
    }

    .program-card-new-description {
        margin-top: 0.45rem;
        font-size: 0.78rem;
        -webkit-line-clamp: 3;
    }

    .service-card-premium {
        min-height: 285px;
        border-radius: 10px;
    }

    .service-card-premium-content {
        padding: 1rem;
    }

    .home-content-section .service-card-body {
        min-height: 145px;
        padding: 0.8rem 0.85rem 0.9rem;
    }

    .home-content-section .service-card-title {
        font-size: 0.9rem;
    }

    .home-content-section .service-card-description {
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
    }

    .service-detail-content {
        gap: 2rem;
        padding-top: 2.25rem;
    }

    .service-detail-hero .offering-detail-summary,
    .program-offering-detail .offering-detail-summary {
        padding: 1.65rem 1.15rem 1.8rem;
    }

    .service-detail-hero .offering-detail-title,
    .program-offering-detail .offering-detail-title {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .service-detail-hero .offering-detail-lead,
    .program-offering-detail .offering-detail-lead {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .service-detail-aside {
        padding: 1.35rem;
    }
}

/* Keep footer contact details aligned with the address text at every viewport. */
.footer-redesign .footer-top .col-lg-4 .text-light {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 0;
}

.footer-redesign .footer-top .col-lg-4 .text-light span {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Final compact card grids for tablet and mobile. */
@media (max-width: 991.98px) {
    .services-container,
    .programs-grid-section .container,
    .projects-showcase .container,
    .news-listing-section .container {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }

    .services-grid,
    .editorial-program-grid,
    .program-home-grid,
    .projects-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    #services .row,
    #news .row,
    #impact .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
        margin-right: 0;
        margin-left: 0;
    }

    #services .row > [class*="col-"],
    #news .row > [class*="col-"],
    #impact .row > [class*="col-"] {
        width: 100%;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    #services .row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #services .service-home-column {
        width: 100% !important;
        max-width: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .editorial-program-grid-item {
        grid-column: auto;
    }

    .portfolio-grid > [class*="col-"],
    .home-content-section .row > [class*="col-"] {
        padding-right: 0.425rem;
        padding-left: 0.425rem;
    }

    .home-content-section .row {
        margin-right: -0.425rem;
        margin-left: -0.425rem;
    }

    .home-content-section .section-header {
        max-width: 34rem;
        margin-bottom: 1.35rem;
    }

    .home-content-section .section-header h2,
    .impact-stats-section .section-header h2,
    .partners-section h2 {
        margin-top: 0.6rem !important;
        margin-bottom: 0.55rem !important;
        font-size: clamp(1.25rem, 3.5vw, 1.8rem) !important;
    }

    .home-content-section .section-header p,
    .impact-stats-section .section-header p,
    .partners-section .lead {
        margin-top: 0.35rem !important;
        font-size: 0.76rem !important;
        line-height: 1.45;
    }

    .home-content-section .text-center.mt-5 {
        margin-top: 1.35rem !important;
    }

    .home-content-section .text-center.mt-5 .btn-primary {
        min-width: 0;
        min-height: 0;
        padding: 0.58rem 0.85rem !important;
        font-size: 0.72rem;
    }

    .portfolio-card,
    .portfolio-card .overlay-card-image {
        min-height: 230px !important;
        height: 230px !important;
    }

    .portfolio-card .overlay-card-content {
        padding: 0.65rem 0.7rem 0.6rem;
    }

    .portfolio-card .overlay-card-title {
        font-size: 0.78rem;
    }

    .portfolio-card .overlay-card-label {
        top: 0.55rem;
        left: 0.55rem;
        max-width: calc(100% - 1rem);
        padding: 0.2rem 0.4rem;
        font-size: 0.48rem;
    }

    .services-container .service-card-body,
    .news-listing-section .news-card-body {
        padding: 0.85rem;
    }

    .services-container .service-card-title,
    .news-listing-section .news-card-title {
        font-size: 0.88rem;
        line-height: 1.3;
    }

    .services-container .service-card-description,
    .news-listing-section .news-card-description {
        font-size: 0.72rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .services-container .service-card-more {
        margin-top: 0.55rem;
        font-size: 0.65rem;
    }

    .impact-stats-section {
        padding-top: 2.75rem !important;
        padding-bottom: 2.75rem !important;
    }

    .impact-stats-section .row {
        --bs-gutter-x: 0.85rem;
        --bs-gutter-y: 0.85rem;
    }

    .impact-stats-section .stat-item-redesigned {
        padding: 1rem 0.65rem 0.9rem;
    }

    .impact-stats-section .stat-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.55rem;
        font-size: 1.2rem;
    }

    .impact-stats-section .stat-number {
        font-size: 1.1rem;
    }

    .impact-stats-section .stat-label {
        font-size: 0.62rem;
    }
}

@media (max-width: 575.98px) {
    .contact-header {
        padding: 5.5rem 1rem 2.5rem;
    }

    .contact-header h1 {
        margin-bottom: 0.75rem;
        font-size: 1.85rem;
        line-height: 1.15;
    }

    .contact-header p {
        max-width: 21rem;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .contact-section {
        padding: 2.5rem 0;
    }

    .contact-layout {
        gap: 1.5rem;
        margin-top: 0;
    }

    .contact-map h3,
    .contact-info h3 {
        margin-bottom: 0.85rem;
        font-size: 1.35rem;
    }

    .map-container iframe {
        height: 220px;
    }

    .contact-methods {
        gap: 0.85rem;
    }

    .contact-item {
        border-radius: 10px;
    }

    .contact-link {
        min-width: 0;
        padding: 0.85rem;
    }

    .contact-icon-circle {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        margin-right: 0.75rem;
    }

    .contact-icon-circle i {
        font-size: 1.35rem !important;
    }

    .contact-details {
        min-width: 0;
    }

    .contact-method-title {
        margin-bottom: 0.2rem;
        font-size: 0.9rem;
    }

    .contact-primary,
    .contact-details p {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .contact-desc {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .hero-slider-container {
        height: 58vh;
        min-height: 430px;
    }

    .hero-slide-content .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero-title-redesigned {
        margin-top: 0.75rem;
        margin-bottom: 0.7rem !important;
        font-size: clamp(1.55rem, 7vw, 1.85rem);
        line-height: 1.15;
    }

    .hero-tagline {
        margin-bottom: 0.9rem !important;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .hero-description {
        max-width: 20rem;
        margin-bottom: 1.35rem !important;
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .hero-cta-group .btn {
        width: min(68vw, 240px) !important;
        padding: 0.5rem 0.85rem !important;
        font-size: 0.7rem;
    }

    .hero-slider-dots {
        bottom: 0.75rem;
    }

    .news-listing-title {
        max-width: calc(100vw - 2rem);
        white-space: normal !important;
    }

    .services-container .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .services-grid,
    .editorial-program-grid,
    .program-home-grid,
    .projects-grid,
    .portfolio-grid {
        gap: 0.45rem;
    }

    #services .row,
    #news .row,
    #impact .row {
        gap: 0.7rem;
    }

    .home-content-section .row > [class*="col-"] {
        padding-right: 0.35rem;
        padding-left: 0.35rem;
    }

    .home-content-section .row {
        margin-right: -0.35rem;
        margin-left: -0.35rem;
    }

    .home-content-section .service-card-body {
        min-height: 132px;
        padding: 0.65rem 0.7rem 0.75rem;
    }

    .home-content-section .service-card-label {
        margin-bottom: 0.25rem;
        font-size: 0.48rem;
    }

    .home-content-section .service-card-title {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .home-content-section .service-card-description {
        margin-top: 0.35rem;
        font-size: 0.61rem;
        line-height: 1.35;
    }

    .home-content-section .service-card-more {
        margin-top: 0.45rem;
        font-size: 0.56rem;
    }

    .services-container .service-card-body,
    .news-listing-section .news-card-body {
        padding: 0.65rem 0.7rem 0.75rem;
    }

    .services-container .service-card-label,
    .news-listing-section .news-card-label,
    .news-listing-section .news-card-date {
        margin-bottom: 0.25rem;
        font-size: 0.48rem;
    }

    .services-container .service-card-title,
    .news-listing-section .news-card-title {
        font-size: 0.7rem;
        line-height: 1.25;
    }

    .services-container .service-card-description,
    .news-listing-section .news-card-description {
        margin-top: 0.35rem;
        font-size: 0.6rem;
        line-height: 1.35;
    }

    .services-container .service-card-more {
        margin-top: 0.4rem;
        font-size: 0.54rem;
    }

    .portfolio-card,
    .portfolio-card .overlay-card-image {
        min-height: 210px !important;
        height: 210px !important;
    }

    .portfolio-card .overlay-card-title {
        font-size: 0.66rem;
    }

    .portfolio-card .overlay-card-description {
        display: none;
    }

    .portfolio-card-meta {
        display: grid;
        margin-top: 0.35rem;
        padding-top: 0.3rem;
        gap: 0.1rem;
        font-size: 0.52rem;
        line-height: 1.25;
    }

    .portfolio-card-meta b {
        min-width: 2.1rem;
        font-size: 0.5rem;
    }

    .news-grid .news-card-body,
    .home-content-section .news-card-body {
        min-height: 118px;
        padding: 0.65rem 0.7rem 0.75rem;
    }

    .home-content-section .news-card-title {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .home-content-section .news-card-description {
        font-size: 0.61rem;
        line-height: 1.35;
        -webkit-line-clamp: 2;
    }

    .home-content-section .news-card-label,
    .home-content-section .news-card-date {
        font-size: 0.48rem;
    }

    .partners-section {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }
}

/* Final mobile balance: slightly larger Programs cards, quieter hero controls, compact footer. */
@media (max-width: 991.98px) {
    .program-home-grid .program-card-new {
        min-height: 315px;
    }

    /* Programs page: biarkan card mengikuti aspect-ratio natural */
    .editorial-program-grid .program-card-new {
        min-height: unset;
    }

    .hero-cta-group .btn {
        width: min(78vw, 280px) !important;
        min-height: 0 !important;
        padding: 0.55rem 1rem !important;
        font-size: 0.74rem;
    }

    .hero-slider-dots {
        gap: 7px;
        bottom: 18px;
    }

    .hero-slider-dot {
        width: 8px !important;
        height: 8px !important;
        border-width: 1px;
    }

    .footer-redesign .footer-top {
        padding-top: 2rem !important;
        padding-bottom: 1.75rem !important;
    }

    .footer-redesign .footer-top .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem 0.9rem;
        margin-right: 0;
        margin-left: 0;
    }

    .footer-redesign .footer-top .row > [class*="col-"] {
        width: 100%;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .footer-redesign .footer-top .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1rem;
    }

    .footer-redesign .footer-top .row > :nth-child(2),
    .footer-redesign .footer-top .row > :nth-child(3) {
        display: none;
    }

    .footer-redesign .footer-top .row > .col-lg-4 {
        grid-column: auto;
    }

    .footer-redesign h4,
    .footer-redesign h5 {
        margin-bottom: 0.55rem !important;
        font-size: 0.82rem;
    }

    .footer-redesign p,
    .footer-redesign .footer-links,
    .footer-redesign .footer-top .text-light {
        margin-bottom: 0.55rem !important;
        font-size: 0.65rem;
        line-height: 1.45;
    }

    .footer-redesign .footer-links li {
        margin-bottom: 0.25rem;
    }

    .footer-redesign .footer-top .col-lg-4 .text-light {
        font-size: 0.56rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .footer-redesign .footer-top .col-lg-4 .text-light span {
        overflow-wrap: anywhere;
    }

    .footer-redesign .social-icons {
        gap: 0.55rem !important;
    }

    .footer-redesign .social-icons .fs-4 {
        font-size: 0.95rem !important;
    }

    .footer-redesign .footer-bottom {
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
        font-size: 0.58rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #services .row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        margin-right: 0;
        margin-left: 0;
    }

    #services .service-home-column {
        width: 100% !important;
        max-width: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .services-container .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.85rem;
    }
}

@media (max-width: 991.98px) {
    .hero-slider-container {
        height: 58vh;
        min-height: 430px;
    }

    .hero-slide-content .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero-title-redesigned {
        margin-top: 0.75rem;
        margin-bottom: 0.7rem !important;
        font-size: clamp(1.55rem, 5vw, 1.85rem);
        line-height: 1.15;
    }

    .hero-tagline {
        margin-bottom: 0.9rem !important;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .hero-description {
        max-width: 32rem;
        margin-bottom: 1.35rem !important;
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .hero-cta-group {
        align-items: center;
        justify-content: center;
    }

    .hero-cta-group .btn {
        width: min(68vw, 240px) !important;
        margin-right: auto;
        margin-left: auto;
        padding: 0.5rem 0.85rem !important;
        font-size: 0.7rem;
        text-align: center;
    }

    .hero-slider-dots {
        bottom: 0.75rem;
        gap: 6px;
    }

    .hero-slider-dot {
        width: 7px !important;
        height: 7px !important;
        min-width: 7px;
        padding: 0;
        border-width: 1px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .about-section-redesigned .about-image-container {
        display: none;
    }

    .hero-cta-group .btn {
        width: min(42vw, 280px) !important;
        min-height: 40px !important;
        padding: 0.55rem 1rem !important;
        font-size: 0.74rem;
        justify-content: center;
        text-align: center;
    }

    .news-detail-section .post-navigation,
    .service-detail-section .post-navigation,
    .project-detail-section .post-navigation {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding-top: 1.75rem;
    }

    .news-detail-section .post-nav-link,
    .service-detail-section .post-nav-link,
    .project-detail-section .post-nav-link {
        width: auto !important;
        flex: 0 1 auto;
        min-height: 44px;
        padding: 0.65rem 0.8rem;
        font-size: 0.78rem;
        justify-content: center;
    }

    .news-detail-section .post-nav-link.prev-post,
    .service-detail-section .post-nav-link.prev-post,
    .project-detail-section .post-nav-link.prev-post,
    .offering-detail-section .post-nav-link.prev-post {
        order: 1;
        margin-right: auto;
    }

    .news-detail-section .post-nav-link.next-post,
    .service-detail-section .post-nav-link.next-post,
    .project-detail-section .post-nav-link.next-post,
    .offering-detail-section .post-nav-link.next-post {
        order: 2;
        margin-left: auto;
    }
}

@media (max-width: 575.98px) {
    .program-home-grid .program-card-new,
    .insight-card-link .news-card,
    .news-section-redesigned .news-card {
        min-height: 240px;
    }

    /* Programs page cards: no min-height, follow aspect-ratio */
    .editorial-program-grid .program-card-new {
        min-height: unset !important;
    }

    .program-home-grid {
        gap: 0.45rem;
    }

    .program-home-item .program-card-link {
        padding: 0;
    }

    .hero-cta-group {
        align-items: center;
        justify-content: center;
    }

    .hero-cta-group .btn {
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .hero-slider-dots {
        gap: 6px;
    }

    .hero-slider-dot {
        width: 7px !important;
        height: 7px !important;
        min-width: 7px;
        padding: 0;
        border-width: 1px;
    }

    .hero-slider-dots {
        bottom: 13px;
    }

    .partners-section .partner-image {
        max-width: 70px;
        max-height: 38px;
    }

    .partners-section .partner-card {
        min-width: 120px;
        height: 72px;
        padding: 0.5rem 0.35rem;
    }

    .partners-section .partners-scroll-container {
        gap: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .footer-redesign .footer-top .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem 0.6rem;
    }

    .footer-redesign .footer-top .row > :nth-child(2),
    .footer-redesign .footer-top .row > :nth-child(3) {
        display: none;
    }

    .footer-redesign .footer-top .row > .col-lg-4 {
        grid-column: auto;
    }

    .footer-redesign .footer-top .col-lg-4 .text-light {
        min-width: 0;
        overflow-wrap: normal;
    }

    .footer-redesign .footer-top .col-lg-4 .text-light span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* ── Mobile compact: kurangi margin-bottom section-header di semua home sections ── */
@media (max-width: 575.98px) {
    #programs .section-header,
    #projects .section-header,
    #services .section-header,
    #news .section-header {
        margin-bottom: 1rem !important;
    }
}

/* ── FIX ROOT CAUSE: program page (our_program) section spacing on mobile ── */
@media (max-width: 575.98px) {
    /* Kurangi padding-bottom header section (judul "Our Programs") */
    .program-header-section {
        padding-bottom: 1.25rem !important;
    }

    /* Kurangi padding-top card grid section */
    .programs-grid-section {
        padding-top: 1.25rem !important;
        padding-bottom: 2rem !important;
    }

    /* Kurangi gap antar card di grid program page */
    .editorial-program-grid {
        gap: 0.5rem !important;
    }

    /* Kurangi tinggi card agar lebih compact */
    .editorial-program-grid .program-card-new {
        min-height: 200px !important;
    }
}

@media (max-width: 767.98px) {
    /* Tablet: sedikit compact juga */
    .program-header-section {
        padding-bottom: 1.75rem !important;
    }

    .programs-grid-section {
        padding-top: 1.75rem !important;
    }
}
