@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');


/* =====================================================
   GLOBAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f3f3f3;
    font-family: 'Poppins', sans-serif;
    color: #111;
}

a {
    text-decoration: none;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    height: 75px;
    background: #ffffff;
    padding: 0;
}

.navbar-container {
    width: 92%;
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;

    color: #000;
}

.brand:hover {
    color: #000;
}

.brand-logo {
    width: 48px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    line-height: 1.05;
}

.school-name {
    font-size: 20px;
    font-weight: 800;
}

.school-short {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    position: relative;

    color: #000;

    font-size: 15px;
    font-weight: 700;

    padding: 8px 0;
}

.nav-item:hover {
    color: #1a6f8b;
}

.nav-item.active {
    color: #1a6f8b;
}

.nav-item.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #1a6f8b;
}

.login-button {
    padding: 9px 25px;

    background: #1a6f8b;
    color: #fff;

    border-radius: 30px;

    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 8px 20px rgba(26, 111, 139, 0.25);

    transition: 0.2s;
}

.login-button:hover {
    background: #155d74;
    color: #fff;

    transform: translateY(-2px);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    height: 630px;

    background: #fff;

    overflow: hidden;
}

.hero-photo {
    position: absolute;

    top: 0;
    right: 0;

    width: 72%;
    height: 100%;
}

.hero-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* =====================================================
   GRADIENT PUTIH + BAYANGAN SEPERTI FIGMA
===================================================== */

.hero-gradient {
    position: absolute;

    inset: 0;

    z-index: 1;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 20%,
        rgba(255,255,255,0.99) 28%,
        rgba(255,255,255,0.95) 34%,
        rgba(255,255,255,0.78) 40%,
        rgba(255,255,255,0.43) 47%,
        rgba(255,255,255,0.18) 53%,
        rgba(255,255,255,0) 61%
    );
}

/* BAYANGAN / SOFT SHADOW DI BATAS PUTIH */
.hero-gradient::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 36%;
    height: 100%;

    background: #ffffff;

    box-shadow:
        18px 0 28px rgba(255,255,255,0.78),
        32px 0 50px rgba(255,255,255,0.50);

    pointer-events: none;
}


/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
    position: absolute;

    z-index: 3;

    left: 12.8%;
    top: 66px;

    width: 400px;
}

.hero-content h1 {
    margin-bottom: 11px;

    color: #1a6f8b;

    font-size: 35px;
    line-height: 1.5;

    font-weight: 700;

    white-space: nowrap;
}

.hero-content p {
    width: 430px;

    margin-bottom: 28px;

    color: #111;

    font-size: 25px;
    line-height: 1.55;

    font-weight: 500;
}

.explore-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 9px 17px;

    background: #1a6f8b;

    color: #fff;

    border-radius: 30px;

    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 8px 18px rgba(26,111,139,0.2);

    transition: 0.2s;
}

.explore-button:hover {
    background: #155d74;
    color: #fff;

    transform: translateY(-2px);
}


/* =====================================================
   STATISTIK
===================================================== */

.stats-box {
    position: absolute;

    z-index: 5;

    left: 12.8%;
    bottom: 40px;

    width: 380px;
    height: 105px;

    display: flex;
    align-items: stretch;

    background: rgba(188, 211, 219, 0.90);

    border-radius: 20px;

    overflow: hidden;
}

.stat {
    width: 33.333%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    border-right: 1px solid rgba(0,0,0,0.35);
}

.stat:last-child {
    border-right: none;
}

.stat-icon {
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 3px;

    font-size: 28px;
}

.people-icon,
.teacher-icon {
    font-size: 42px;
    line-height: 1;
}

.award-icon {
    font-size: 36px;
    line-height: 1;
}

.stat-title {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
}

.stat-number {
    margin-top: 3px;

    font-size: 10px;
    font-weight: 800;
}

/* =====================================================
   JUDUL SECTION
   BERITA + PROGRAM + GALERI
===================================================== */

.news-section .section-title,
.program-section .section-title,
.gallery-section .section-title {
    margin-bottom: 38px;

    color: #1a6f8b;

    text-align: center;

    font-size: 28px !important;
    line-height: 1.2;

    font-weight: 800;
}


/* =====================================================
   BERITA
===================================================== */

.news-section {
    padding: 45px 28px 35px;

    background: #f3f3f3;
}

.news-box {
    min-height: 430px;

    padding: 38px 55px 50px;

    background: #fff;

    border-radius: 20px;

    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.news-row {
    align-items: stretch;
}

.news-card {
    width: 100%;
    min-height: 550px;

    margin: auto;

    padding: 16px 16px 18px;

    background: #fff;

    border: 1px solid #d1d1d1;

    border-radius: 15px;

    box-shadow: 0 4px 7px rgba(0,0,0,0.20);

    transition: 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-date {
    margin-bottom: 8px;

    text-align: right;

    color: #777;

    font-size: 11px;
    font-weight: 500;
}

.news-card img {
    width: 100%;
    height: 380px;

    display: block;

    object-fit: cover;

    border-radius: 4px;

    margin-bottom: 12px;
}

.news-card h3 {
    margin-bottom: 8px;

    font-size: 15px;
    line-height: 1.4;

    font-weight: 700;
}

.news-card p {
    min-height: 42px;

    margin-bottom: 10px;

    font-size: 13px;
    line-height: 1.5;

    color: #333;
}

.news-card a {
    color: #1a6f8b;

    font-size: 12px;
    font-weight: 600;
}

.news-card a:hover {
    text-decoration: underline;
}


/* =====================================================
   PROGRAM KEAHLIAN
===================================================== */

.program-section {
    padding: 58px 6.5% 65px;

    background: #fff;
}

.program-container {
    padding: 0;
}

.program-card {
    height: 380px;

    padding: 25px 20px;

    background: #fff;

    border-radius: 22px;

    box-shadow: 0 7px 18px rgba(0,0,0,0.12);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    transition: 0.25s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-image {
    width: 180px;
    height: 180px;

    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.program-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.program-card h3 {
    margin: 0;

    font-size: 15px;
    line-height: 1.5;

    font-weight: 700;
}


/* =====================================================
   GALERI
===================================================== */

.gallery-section {
    width: 94%;

    margin: 0 auto 80px;

    padding: 42px 15px 35px;

    background: #dcdcdc;

    border-radius: 17px;

    box-shadow:
        inset 0 2px 8px rgba(0,0,0,0.20),
        0 4px 8px rgba(0,0,0,0.08);
}

.gallery-container {
    max-width: 100%;

    margin: auto;
}

.gallery-card {
    width: 100%;
    height: 350px;

    padding: 10px;

    background: #fff;

    border-radius: 17px;

    box-shadow: 0 4px 7px rgba(0,0,0,0.25);

    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 10px;

    display: block;

    transition: 0.3s;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-button {
    display: table;
    margin: 35px auto 0;

    border: none;
    background: transparent;

    color: #111;

    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;

    cursor: pointer;
    text-decoration: none;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .gallery-container {
        width: 90%;
        height: auto;

        min-height: 620px;

        padding: 40px 15px 30px;
    }

    .gallery-section .section-title {
        margin-bottom: 35px;
        font-size: 24px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 160px);
        gap: 25px 15px;
    }

    .gallery-button {
        margin-top: 35px;
    }
}


@media (max-width: 420px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-container {
        min-height: 900px;
    }
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 40px 7% 42px;

    background: #eef7fb;

    color: #111;
}

.footer h3 {
    margin-bottom: 12px;

    font-size: 20px;
    font-weight: 700;
}

.contact-list p,
.location-contact p {
    margin-bottom: 5px;

    font-size: 15px;
    line-height: 1.45;

    font-weight: 500;
}

.location {
    display: flex;
    gap: 20px;
}

.location-contact {
    flex: 1;
}

.map {
    width: 300px;
    height: 200px;

    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .navbar-container {
        width: 94%;
    }

    .nav-menu {
        gap: 15px;
    }

    .hero-content,
    .stats-box {
        left: 8%;
    }

    .hero-photo {
        width: 75%;
    }

    .news-box {
        padding-left: 30px;
        padding-right: 30px;
    }

    .news-card {
        min-height: 300px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .navbar {
        height: auto;
        padding: 15px 0;
    }

    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        height: 650px;
    }

    .hero-photo {
        width: 100%;
        height: 430px;

        top: auto;
        bottom: 0;
    }

    .hero-gradient {
        background: linear-gradient(
            180deg,
            #fff 0%,
            #fff 25%,
            rgba(255,255,255,0.85) 40%,
            rgba(255,255,255,0) 70%
        );
    }

    .hero-gradient::after {
        width: 100%;
        height: 55%;

        box-shadow:
            0 18px 30px rgba(255,255,255,0.70),
            0 30px 50px rgba(255,255,255,0.40);
    }

    .hero-content {
        top: 45px;
        left: 8%;

        width: 85%;
    }

    .hero-content h1 {
        white-space: normal;
    }

    .hero-content p {
        width: 90%;
    }

    .stats-box {
        left: 8%;
        bottom: 25px;

        width: 84%;
    }


    /* BERITA */

    .news-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .news-box {
        padding: 30px 15px;
    }

    .news-section .section-title {
        font-size: 24px !important;
    }

    .news-card {
        width: 100%;
        min-height: 300px;

        margin-bottom: 20px;
    }

    .news-card img {
        height: 160px;
    }

    .news-card h3 {
        font-size: 13px;
    }

    .news-card p {
        font-size: 10px;
    }

    .news-card a {
        font-size: 10px;
    }


    /* PROGRAM */

    .program-section {
        padding-left: 8%;
        padding-right: 8%;
    }

    .program-section .section-title {
        font-size: 24px !important;
    }

    .program-card {
        height: 300px;
    }

    .program-image {
        width: 100px;
        height: 100px;
    }

    .program-card h3 {
        font-size: 13px;
    }


    /* GALERI */

    .gallery-section {
        width: 90%;
    }

    .gallery-section .section-title {
        font-size: 24px !important;
    }


    /* FOOTER */

    .location {
        flex-direction: column;
    }

    .map {
        width: 100%;
    }

}
/* =====================================================
   RESPONSIVE FIX - MOBILE
===================================================== */

@media (max-width: 768px) {

    /* ================= NAVBAR ================= */

    .navbar {
        height: auto;
        min-height: 75px;
        padding: 12px 0;
    }

    .navbar-container {
        width: 90%;
        height: auto;

        flex-direction: column;
        gap: 15px;
    }

    .brand {
        width: 100%;
        justify-content: flex-start;
    }

    .brand-logo {
        width: 42px;
        height: 48px;
    }

    .school-name {
        font-size: 16px;
    }

    .school-short {
        font-size: 11px;
    }

    .nav-menu {
        width: 100%;

        display: flex;
        flex-wrap: wrap;

        justify-content: center;
        align-items: center;

        gap: 12px 18px;
    }

    .nav-item {
        font-size: 12px;
        padding: 5px 0;
    }

    .login-button {
        padding: 8px 18px;
        font-size: 11px;
    }


    /* ================= HERO ================= */

    .hero {
        height: 650px;
    }

    .hero-photo {
        width: 100%;
        height: 430px;

        top: auto;
        bottom: 0;
    }

    .hero-gradient {
        background: linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 28%,
            rgba(255,255,255,0.92) 42%,
            rgba(255,255,255,0.55) 55%,
            rgba(255,255,255,0) 72%
        );
    }

    .hero-gradient::after {
        width: 100%;
        height: 55%;

        box-shadow:
            0 18px 30px rgba(255,255,255,0.70),
            0 30px 50px rgba(255,255,255,0.40);
    }

    .hero-content {
        top: 40px;
        left: 7%;

        width: 86%;
    }

    .hero-content h1 {
        margin-bottom: 10px;

        font-size: 26px;
        line-height: 1.35;

        white-space: normal;
    }

    .hero-content p {
        width: 100%;

        margin-bottom: 22px;

        font-size: 14px;
        line-height: 1.6;
    }

    .explore-button {
        padding: 9px 17px;
        font-size: 12px;
    }


    /* ================= STATISTIK ================= */

    .stats-box {
        left: 7%;
        bottom: 22px;

        width: 86%;
        height: 85px;

        border-radius: 18px;
    }

    .people-icon,
    .teacher-icon {
        font-size: 28px;
    }

    .award-icon {
        font-size: 25px;
    }

    .stat-title {
        font-size: 7px;
    }

    .stat-number {
        font-size: 8px;
    }


    /* ================= JUDUL SECTION ================= */

    .news-section .section-title,
    .program-section .section-title,
    .gallery-section .section-title {
        margin-bottom: 28px;

        font-size: 24px !important;
        line-height: 1.25;
    }


    /* ================= BERITA ================= */

    .news-section {
        padding: 35px 15px 30px;
    }

    .news-box {
        min-height: auto;

        padding: 25px 15px 30px;

        border-radius: 18px;
    }

    .news-card {
        min-height: auto;

        padding: 12px 12px 16px;

        margin-bottom: 20px;

        border-radius: 14px;
    }

    .news-date {
        font-size: 8px;
    }

    .news-card img {
        width: 100%;
        height: 190px;

        margin-bottom: 10px;
    }

    .news-card h3 {
        font-size: 13px;
        line-height: 1.4;
    }

    .news-card p {
        min-height: auto;

        font-size: 10px;
        line-height: 1.5;
    }

    .news-card a {
        font-size: 10px;
    }


    /* ================= PROGRAM ================= */

    .program-section {
        padding: 45px 7% 50px;
    }

    .program-card {
        width: 100%;
        height: 280px;

        margin-bottom: 20px;

        padding: 20px 15px;

        border-radius: 20px;
    }

    .program-image {
        width: 110px;
        height: 110px;

        margin-bottom: 18px;
    }

    .program-card h3 {
        font-size: 13px;
        line-height: 1.45;
    }


    /* ================= GALERI ================= */

    .gallery-section {
        width: 92%;

        margin: 0 auto 55px;

        padding: 35px 12px 30px;

        border-radius: 16px;
    }

    .gallery-container {
        width: 100%;
        max-width: 100%;
    }

    .gallery-card {
        width: 100%;
        height: 220px;

        padding: 9px;

        border-radius: 15px;
    }

    .gallery-card img {
        border-radius: 9px;
    }

    .gallery-button {
        margin-top: 25px;

        font-size: 13px;
    }


    /* ================= FOOTER ================= */

    .footer {
        padding: 35px 7% 40px;

        text-align: center;
    }

    .footer h3 {
        font-size: 16px;
    }

    .contact-list p,
    .location-contact p {
        font-size: 11px;
        line-height: 1.6;
    }

    .location {
        flex-direction: column;
        gap: 25px;
    }

    .location-contact {
        width: 100%;
    }

    .map {
        width: 100%;
        height: 200px;
    }
}


/* =====================================================
   RESPONSIVE - HP KECIL
===================================================== */

@media (max-width: 480px) {

    /* NAVBAR */

    .navbar-container {
        width: 92%;
    }

    .brand-logo {
        width: 38px;
        height: 44px;
    }

    .school-name {
        font-size: 14px;
    }

    .school-short {
        font-size: 10px;
    }

    .nav-menu {
        gap: 8px 13px;
    }

    .nav-item {
        font-size: 11px;
    }

    .login-button {
        padding: 7px 15px;
        font-size: 10px;
    }


    /* HERO */

    .hero {
        height: 670px;
    }

    .hero-photo {
        height: 410px;
    }

    .hero-content {
        top: 35px;
        left: 6%;

        width: 88%;
    }

    .hero-content h1 {
        font-size: 23px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .explore-button {
        font-size: 11px;
        padding: 8px 15px;
    }


    /* STATISTIK */

    .stats-box {
        left: 6%;
        width: 88%;

        height: 80px;
    }

    .people-icon,
    .teacher-icon {
        font-size: 24px;
    }

    .award-icon {
        font-size: 22px;
    }

    .stat-title {
        font-size: 6px;
    }

    .stat-number {
        font-size: 7px;
    }


    /* BERITA */

    .news-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .news-box {
        padding: 22px 12px 25px;
    }

    .news-card img {
        height: 160px;
    }

    .news-card h3 {
        font-size: 12px;
    }

    .news-card p {
        font-size: 9px;
    }


    /* PROGRAM */

    .program-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .program-card {
        height: 250px;
    }

    .program-image {
        width: 90px;
        height: 90px;
    }

    .program-card h3 {
        font-size: 12px;
    }


    /* GALERI */

    .gallery-section {
        width: 94%;

        padding-left: 10px;
        padding-right: 10px;
    }

    .gallery-card {
        height: 190px;
    }

    .gallery-button {
        font-size: 12px;
    }


    /* FOOTER */

    .footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .footer h3 {
        font-size: 14px;
    }

    .contact-list p,
    .location-contact p {
        font-size: 9px;
    }

    .map {
        height: 170px;
    }
}
/* =====================================================
   KOMENTAR FOOTER
===================================================== */

.comment-section {
    width: 100%;
    max-width: 620px;

    margin-top: 32px;
    padding-top: 24px;

    border-top: 1px solid rgba(26, 111, 139, 0.18);
}

.comment-section h3 {
    margin: 0 0 5px;

    color: #1a6f8b;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.3;
}

.comment-description {
    margin: 0 0 16px;

    color: #666;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.5;
}


/* =====================================================
   FORM KOMENTAR
===================================================== */

.comment-form-row {
    display: flex;
    flex-direction: column;

    gap: 9px;

    width: 100%;
}

.comment-form-row input,
.comment-form-row textarea {
    width: 100%;

    padding: 10px 13px;

    border: 1px solid #d7e1e5;
    border-radius: 7px;

    background: #ffffff;
    color: #222;

    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 400;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* INPUT NAMA */

.comment-form-row input {
    height: 40px;
}


/* TEXTAREA */

.comment-form-row textarea {
    min-height: 82px;

    resize: vertical;
}


/* PLACEHOLDER */

.comment-form-row input::placeholder,
.comment-form-row textarea::placeholder {
    color: #a5a5a5;
}


/* =====================================================
   FOCUS
===================================================== */

.comment-form-row input:focus,
.comment-form-row textarea:focus {
    border-color: #1a6f8b;

    box-shadow:
        0 0 0 3px rgba(26, 111, 139, 0.08);
}


/* =====================================================
   BUTTON KIRIM
===================================================== */

.comment-form-row button {
    align-self: flex-start;

    height: 36px;

    padding: 0 17px;

    border: none;
    border-radius: 7px;

    background: #1a6f8b;
    color: #ffffff;

    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.comment-form-row button:hover {
    background: #155d74;

    transform: translateY(-1px);
}


/* =====================================================
   PESAN BERHASIL
===================================================== */

.comment-success {
    width: 100%;

    margin-bottom: 12px;

    padding: 9px 12px;

    border: 1px solid #c8e3d0;
    border-radius: 7px;

    background: #f0faf3;
    color: #327344;

    font-size: 10px;

    line-height: 1.4;
}


/* =====================================================
   PESAN ERROR
===================================================== */

.comment-error {
    display: block;

    margin-top: 4px;

    color: #dc3545;

    font-size: 9px;
    font-weight: 400;
}


/* =====================================================
   KOMENTAR - MOBILE
===================================================== */

@media (max-width: 768px) {

    .comment-section {
        max-width: 100%;

        margin-top: 28px;
        padding-top: 20px;
    }

    .comment-section h3 {
        font-size: 16px;
    }

    .comment-description {
        margin-bottom: 14px;

        font-size: 10px;
    }

    .comment-form-row input,
    .comment-form-row textarea {
        font-size: 10px;
    }

    .comment-form-row input {
        height: 38px;
    }

    .comment-form-row textarea {
        min-height: 75px;
    }

    .comment-form-row button {
        width: 100%;

        height: 36px;
    }
}


/* =====================================================
   KOMENTAR - HP KECIL
===================================================== */

@media (max-width: 480px) {

    .comment-section {
        margin-top: 24px;
        padding-top: 18px;
    }

    .comment-section h3 {
        font-size: 14px;
    }

    .comment-description {
        font-size: 9px;
    }

    .comment-form-row {
        gap: 8px;
    }

    .comment-form-row input,
    .comment-form-row textarea {
        font-size: 9px;

        border-radius: 6px;
    }

    .comment-form-row input {
        height: 36px;
    }

    .comment-form-row textarea {
        min-height: 70px;
    }

    .comment-form-row button {
        height: 34px;

        font-size: 9px;
    }

    .comment-success {
        font-size: 9px;
    }

    .comment-error {
        font-size: 8px;
    }
}
/* =====================================================
   DETAIL BERITA
===================================================== */

.berita-detail-section {
    padding: 38px 28px 60px;
    background: #f3f3f3;
    min-height: 650px;
}

.berita-detail-box {
    max-width: 1100px;
    margin: 0 auto;

    padding: 35px 55px 45px;

    background: #fff;

    border-radius: 17px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.berita-detail-title {
    margin-bottom: 8px;

    color: #1a6f8b;

    text-align: center;

    font-size: 24px;
    line-height: 1.4;

    font-weight: 800;
}

.berita-detail-date {
    margin-bottom: 30px;

    color: #777;

    text-align: center;

    font-size: 9px;
    font-weight: 500;
}

.berita-detail-content {
    display: flex;
    align-items: flex-start;

    gap: 35px;
}

.berita-detail-image {
    width: 48%;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 13px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.berita-detail-image img {
    width: 100%;
    height: 310px;

    display: block;

    object-fit: cover;
}

.berita-detail-text {
    flex: 1;
}

.berita-detail-text h2 {
    margin-bottom: 15px;

    color: #111;

    font-size: 18px;
    line-height: 1.5;

    font-weight: 800;
}

.berita-detail-description {
    color: #333;

    font-size: 11px;
    line-height: 1.8;

    font-weight: 400;

    white-space: pre-line;
}

.berita-back {
    display: inline-flex;

    align-items: center;

    margin-top: 35px;

    color: #1a6f8b;

    font-size: 10px;
    font-weight: 700;

    transition: 0.2s;
}

.berita-back:hover {
    color: #155d74;

    transform: translateX(-3px);
}


/* =====================================================
   DETAIL BERITA - RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .berita-detail-section {
        padding: 25px 15px 45px;
    }

    .berita-detail-box {
        padding: 25px 20px 30px;
    }

    .berita-detail-title {
        font-size: 20px;
    }

    .berita-detail-content {
        flex-direction: column;
        gap: 25px;
    }

    .berita-detail-image {
        width: 100%;
    }

    .berita-detail-image img {
        height: 220px;
    }

    .berita-detail-text h2 {
        font-size: 16px;
    }

    .berita-detail-description {
        font-size: 10px;
    }

}
/* =====================================================
   DETAIL BERITA - SESUAI FIGMA
===================================================== */

.berita-detail-page {
    width: 100%;
    min-height: 667px;
    padding: 52px 20px 48px;
    background: #ffffff;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* JUDUL BERITA */

.berita-detail-heading {
    margin: 0 0 30px;
    text-align: center;
    color: #08758d;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

/* BOX UTAMA */

.berita-detail-card {
    width: 100%;
    max-width: 980px;
    min-height: 469px;
    margin: 0 auto;

    padding: 35px 33px 31px;

    display: flex;
    align-items: center;
    gap: 42px;

    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 17px;

    box-shadow:
        0 3px 4px rgba(0, 0, 0, 0.25),
        0 2px 12px rgba(0, 0, 0, 0.08);

    box-sizing: border-box;
}

/* BAGIAN KIRI */

.berita-detail-left {
    width: 378px;
    flex-shrink: 0;
}

.berita-detail-date {
    height: 20px;
    margin-bottom: 4px;

    padding-right: 7px;

    text-align: right;

    color: #858585;
    font-size: 10px;
    line-height: 20px;
    font-weight: 500;
}

/* GAMBAR */

.berita-detail-image {
    width: 378px;
    height: 378px;

    overflow: hidden;

    background: #eeeeee;
}

.berita-detail-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

/* BAGIAN KANAN */

.berita-detail-right {
    flex: 1;
    min-width: 0;
}

/* JUDUL BERITA */

.berita-detail-title {
    margin: 0 0 18px;

    color: #08758d;

    text-align: center;

    font-size: 22px;
    line-height: 1.55;
    font-weight: 700;
}

/* DESKRIPSI */

.berita-detail-description {
    margin: 0;

    color: #111111;

    font-size: 13px;
    line-height: 1.58;
    font-weight: 400;

    text-align: left;

    white-space: pre-line;
}

/* KEMBALI */

.berita-detail-back {
    display: block;

    width: fit-content;

    margin: 28px auto 0;

    color: #111111;

    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;

    text-decoration: none;

    transition: 0.2s ease;
}

.berita-detail-back:hover {
    color: #08758d;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .berita-detail-page {
        padding: 40px 15px;
    }

    .berita-detail-card {
        max-width: 700px;

        padding: 30px;

        flex-direction: column;
        gap: 25px;
    }

    .berita-detail-left {
        width: 100%;
        max-width: 378px;
    }

    .berita-detail-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .berita-detail-right {
        width: 100%;
    }

    .berita-detail-title {
        font-size: 20px;
    }

    .berita-detail-description {
        font-size: 12px;
    }
}


@media (max-width: 500px) {

    .berita-detail-page {
        min-height: 100vh;
        padding: 35px 12px;
    }

    .berita-detail-heading {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .berita-detail-card {
        padding: 22px 18px 25px;
        border-radius: 15px;
    }

    .berita-detail-title {
        font-size: 18px;
        line-height: 1.45;
    }

    .berita-detail-description {
        font-size: 11px;
        line-height: 1.6;
    }
}


html {
    overflow-y: scroll !important;
    height: auto !important;
}

body {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    position: static !important;
}