/* =========================================================
   RESET & DASAR
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #29231e;
    background: #f7f4ef;
    line-height: 1.7;

    height: auto !important;
    min-height: 100vh !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    position: static !important;
}

/* PENTING:
   Mencegah teks panjang tanpa spasi
   keluar dari container/card */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 9999;

    background: rgba(255, 255, 255, 0.92);

    border-bottom: 1px solid rgba(112, 67, 31, 0.12);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-inner {
    width: 94%;
    max-width: 1250px;

    min-height: 84px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 5px;

    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;

    object-fit: contain;
    display: block;

    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    display: inline-block;

    white-space: nowrap;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;

    color: #70431f;

    line-height: 1;

    transform: skewX(-5deg);
}

.brand-sahabat {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 600;

    color: #59483a;
}

.brand-tembakau {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;

    color: #70431f;
}

.brand-tagline {
    margin-top: 4px;

    font-size: 10px;
    letter-spacing: 0.6px;

    color: #907966;

    text-transform: uppercase;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 28px;
}

.nav-menu a {
    position: relative;

    padding: 8px 0;

    color: #51473f;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition: 0.3s ease;
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #79502f;

    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #79502f;
}

.nav-menu a:hover::after {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #e9dfd1 0%,
            #f1e9df 55%,
            #f7f4ef 100%
        );

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    right: -160px;
    top: -180px;

    border: 1px solid rgba(110, 75, 42, 0.15);

    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -80px;
    top: -110px;

    border: 1px solid rgba(110, 75, 42, 0.10);

    border-radius: 50%;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 700px;

    padding: 100px 0;
}

.hero-label {
    display: inline-block;

    position: relative;

    margin-bottom: 18px;

    padding: 7px 15px;

    border-left: 3px solid #79502f;

    color: #79502f;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.hero h1 {
    max-width: 760px;

    margin-bottom: 25px;

    color: #332419;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 60px;
    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -1px;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-description {
    max-width: 570px;

    margin-bottom: 35px;

    color: #655b52;

    font-size: 18px;

    line-height: 1.8;
}

.btn {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 24px;

    background: #6f4425;

    color: white;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 8px 20px rgba(80, 48, 25, 0.15);

    transition: 0.3s ease;
}

.btn:hover {
    background: #513019;

    transform: translateY(-2px);

    box-shadow: 0 12px 25px rgba(80, 48, 25, 0.22);
}


/* =========================================================
   ARTIKEL
========================================================= */

.articles {
    padding: 105px 0;

    background: #f7f4ef;

    overflow: hidden;
}


/* =========================================================
   JUDUL SECTION
========================================================= */

.section-title {
    max-width: 680px;

    margin: 0 auto 50px;

    text-align: center;
}

.section-label {
    margin-bottom: 10px;

    color: #8a5a35;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.section-title h2 {
    margin-bottom: 13px;

    color: #34271d;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 42px;
    font-weight: 600;

    line-height: 1.2;
}

.section-title > p:last-child {
    color: #81766c;

    font-size: 15px;
}


/* =========================================================
   ARTICLE GRID
========================================================= */

.article-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 26px;

    width: 100%;
}


/* =========================================================
   ARTICLE CARD
========================================================= */

.article-card {
    width: 100%;
    min-width: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e7dfd6;

    border-radius: 10px;

    box-shadow: 0 6px 22px rgba(70, 45, 25, 0.045);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.article-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 35px rgba(70, 45, 25, 0.11);
}


/* =========================================================
   GAMBAR ARTIKEL
========================================================= */

.article-image {
    position: relative;

    width: 100%;

    height: 235px;

    overflow: hidden;

    background: #e7e1d9;
}

.article-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.045);
}


/* =========================================================
   KALAU TIDAK ADA GAMBAR
========================================================= */

.no-image {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #917b67;
}

.no-image i {
    font-size: 30px;
}

.no-image span {
    font-size: 12px;
}


/* =========================================================
   ISI ARTICLE CARD
========================================================= */

.article-content {
    width: 100%;
    min-width: 0;

    padding: 25px 26px 27px;

    overflow: hidden;
}


/* =========================================================
   KATEGORI
   DISEMBUNYIKAN SESUAI PERMINTAAN
========================================================= */

.article-category {
    display: none !important;
}


/* =========================================================
   JUDUL ARTICLE CARD
========================================================= */

.article-content h3 {
    width: 100%;
    max-width: 100%;

    margin-bottom: 11px;

    color: #33271e;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;
    font-weight: 600;

    line-height: 1.35;

    /*
       PENTING:
       Judul panjang tetap turun baris.
       Tidak boleh keluar card.
    */
    overflow-wrap: anywhere;
    word-break: break-word;

    /*
       Jangan gunakan overflow hidden di sini.
       Supaya judul tetap bisa tampil semua.
    */
}


/* =========================================================
   DESKRIPSI ARTICLE
   MAKSIMAL 2 BARIS + ...
========================================================= */

.article-excerpt {
    width: 100%;
    max-width: 100%;

    margin-bottom: 18px;

    color: #756b62;

    font-size: 13.5px;

    line-height: 1.75;

    overflow-wrap: anywhere;
    word-break: break-word;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    line-clamp: 2;

    overflow: hidden;
}


/* =========================================================
   READ MORE
========================================================= */

.read-more {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    max-width: 100%;

    color: #754b2b;

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}

.read-more:hover {
    gap: 12px;

    color: #4f2e18;
}


/* =========================================================
   EMPTY ARTICLES
========================================================= */

.empty-articles {
    grid-column: 1 / -1;

    padding: 70px 20px;

    text-align: center;

    color: #81766c;
}

.empty-articles i {
    margin-bottom: 15px;

    font-size: 38px;
}

.empty-articles h3 {
    margin-bottom: 5px;

    color: #493a2e;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    position: relative;

    padding: 115px 0;

    background: #fff;

    overflow: hidden;
}

.about::before {
    content: "";

    position: absolute;

    left: -180px;
    top: 50px;

    width: 350px;
    height: 350px;

    border: 1px solid #eee4d9;

    border-radius: 50%;
}

.about-content {
    position: relative;

    z-index: 2;

    max-width: 780px;

    margin: auto;

    text-align: center;
}

.about-content h2 {
    margin-bottom: 25px;

    color: #34271d;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 40px;

    line-height: 1.2;
}

.about-content > p:last-child {
    color: #71675e;

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================================
   LOKASI KAMI
========================================================= */

.location {
    padding: 65px 0 75px;

    background: #eee8df;

    overflow: hidden;
}

.location-title {
    max-width: 650px;

    margin: 0 auto 32px;

    text-align: center;
}

.location-title p {
    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #8a6a4e;
}

.location-title h2 {
    margin-bottom: 8px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 34px;
    font-weight: 600;

    color: #3f291b;
}

.location-title span {
    color: #756d66;

    font-size: 15px;
}

.location-card {
    width: 100%;
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.45fr 0.8fr;

    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    border: 1px solid #e3ddd5;

    box-shadow: 0 8px 25px rgba(63, 41, 27, 0.06);
}

.location-map {
    height: 330px;
}

.location-map iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}

.location-info {
    padding: 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.location-icon {
    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    background: #eee8df;

    color: #70431f;

    border-radius: 50%;

    font-size: 17px;
}

.location-label {
    margin-bottom: 6px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.8px;

    color: #9a8775;
}

.location-info h3 {
    margin-bottom: 8px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
    font-weight: 600;

    color: #3f291b;
}

.location-info > p:not(.location-label) {
    margin-bottom: 22px;

    color: #777;

    font-size: 14px;

    line-height: 1.7;
}

.location-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    padding: 10px 15px;

    border: 1px solid #70431f;

    border-radius: 5px;

    color: #70431f;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s ease;
}

.location-button:hover {
    background: #70431f;

    color: white;
}


/* =========================================================
   DETAIL ARTIKEL
========================================================= */

.article-detail {
    width: calc(100% - 40px);

    max-width: 850px;

    margin: 80px auto;

    padding: 50px;

    background: #fff;

    border: 1px solid #e6ded5;

    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(70, 45, 25, 0.06);

    overflow: hidden;
}


/* =========================================================
   TANGGAL
========================================================= */

.article-date {
    width: 100%;

    margin-bottom: 10px;

    color: #8a7d71;

    font-size: 13px;

    overflow-wrap: anywhere;
}


/* =========================================================
   JUDUL DETAIL ARTIKEL
========================================================= */

.article-detail h1 {
    width: 100%;
    max-width: 100%;

    margin-bottom: 30px;

    color: #34271d;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 44px;

    line-height: 1.2;

    letter-spacing: -0.5px;

    /*
       INI YANG MENGATASI JUDUL
       KELUAR BORDER DI SCREENSHOT.
    */
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   DETAIL IMAGE
========================================================= */

.detail-image {
    width: 100%;

    height: 420px;

    margin-bottom: 30px;

    overflow: hidden;

    border-radius: 9px;

    background: #e7e1d9;
}

.detail-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================================
   ISI DETAIL ARTIKEL
========================================================= */

.article-text {
    width: 100%;
    max-width: 100%;

    color: #4f4842;

    font-size: 17px;

    line-height: 1.9;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-text p {
    max-width: 100%;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-back {
    margin-top: 35px;
}


/* =========================================================
   ADMIN
========================================================= */

.admin-container {
    padding: 60px 0;

    overflow: hidden;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;

    padding: 60px 0 25px;

    background: #211b17;

    color: white;

    overflow: hidden;
}

.footer::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #6f4425,
            #b28a62,
            #6f4425
        );
}

.footer-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}

.footer-brand h3 {
    margin-bottom: 5px;

    font-size: 22px;
}

.footer-brand p {
    color: #b7aaa0;

    font-size: 13px;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.social-media {
    display: flex;

    align-items: center;

    gap: 18px;
}

.footer .social-media {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 22px;

    margin: 5px 0 28px;
}

.social-media a,
.footer .social-media a {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.28);

    border-radius: 50%;

    color: #fff;

    font-size: 23px;

    transition: all 0.3s ease;
}

.social-media a:hover,
.footer .social-media a:hover {
    background: #fff;

    color: #6f4425;

    transform: translateY(-4px);
}


/* =========================================================
   FOOTER LINE
========================================================= */

.footer-line {
    width: 100%;
    max-width: 1000px;

    height: 1px;

    margin: 0 auto 20px;

    background: rgba(255, 255, 255, 0.12);
}

.copyright {
    color: #8f847c;

    font-size: 12px;

    text-align: center;
}

.copyright span {
    color: #b39a82;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero h1 {
        font-size: 48px;
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-menu {
        gap: 20px;
    }
}


/* =========================================================
   HP / TABLET KECIL
========================================================= */

@media (max-width: 768px) {

    /* NAVBAR */

    .navbar-inner {
        width: 88%;
        max-width: none;

        min-height: 68px;

        margin: 0 auto;

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        justify-content: space-between !important;

        gap: 10px;

        padding: 8px 0;
    }

    .brand {
        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        gap: 5px;

        flex-shrink: 0;

        min-width: 0;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-tagline {
        display: none;
    }

    .navbar-inner .nav-menu {
        display: none !important;
    }


    /* HAMBURGER */

    .menu-toggle {
        display: flex !important;

        flex-direction: column !important;

        align-items: center !important;

        justify-content: center !important;

        flex-shrink: 0;

        width: 42px;
        height: 42px;

        padding: 8px;

        margin: 0;

        border: none;
        outline: none;

        background: transparent;

        cursor: pointer;

        gap: 5px;
    }

    .menu-toggle span {
        display: block !important;

        width: 23px !important;

        height: 2px !important;

        margin: 0 !important;

        padding: 0 !important;

        background: #4f3828;

        border-radius: 2px;
    }


    /* HERO */

    .hero {
        min-height: 540px;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 38px;

        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 15px;

        line-height: 1.75;
    }

    .btn {
        padding: 13px 20px;

        font-size: 13px;
    }


    /* ARTIKEL */

    .articles {
        padding: 70px 0;
    }

    .section-title {
        margin-bottom: 38px;

        padding: 0 5px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .article-grid {
        width: 100%;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .article-card {
        width: 100%;

        min-width: 0;
    }

    .article-image {
        height: 120px;
    }

    .article-content {
        padding: 15px 14px 17px;
    }

    .article-content h3 {
        font-size: 16px;

        line-height: 1.35;

        margin-bottom: 8px;
    }

    .article-excerpt {
        font-size: 12px;

        line-height: 1.5;

        margin-bottom: 13px;
    }

    .read-more {
        font-size: 11px;

        gap: 5px;
    }


    /* ABOUT */

    .about {
        padding: 80px 0;
    }

    .about-content h2 {
        font-size: 32px;
    }


    /* LOCATION */

    .location {
        padding: 55px 0 65px;
    }

    .location-title h2 {
        font-size: 29px;
    }

    .location-card {
        grid-template-columns: 1fr;
    }

    .location-map {
        height: 280px;
    }

    .location-info {
        padding: 30px 25px;
    }


    /* FOOTER */

    .footer-top {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }

    .social-media {
        gap: 20px;
    }


    /* DETAIL ARTIKEL */

    .article-detail {
        width: calc(100% - 30px);

        margin: 60px auto;

        padding: 28px 22px;
    }

    .article-detail h1 {
        font-size: 34px;

        line-height: 1.2;

        margin-bottom: 24px;
    }

    .detail-image {
        height: 300px;
    }

    .article-text {
        font-size: 16px;

        line-height: 1.8;
    }


    /* MOBILE MENU */

    .mobile-menu {
        position: absolute;

        top: 68px;

        left: 6%;
        right: 6%;

        display: none;

        flex-direction: column;

        background: rgba(255, 255, 255, 0.96);

        backdrop-filter: blur(12px);

        -webkit-backdrop-filter: blur(12px);

        border: 1px solid rgba(112, 67, 31, 0.12);

        border-radius: 10px;

        box-shadow: 0 12px 30px rgba(63, 41, 27, 0.12);

        overflow: hidden;

        z-index: 999;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        padding: 15px 20px;

        color: #51473f;

        font-size: 14px;

        font-weight: 600;

        border-bottom: 1px solid rgba(112, 67, 31, 0.08);

        transition: 0.25s ease;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu a:hover {
        background: #f3ede5;

        color: #70431f;
    }
}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }


    /* NAVBAR */

    .navbar-inner {
        width: 90%;

        min-height: 64px;

        padding: 8px 0;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 15px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }


    /* HERO */

    .hero {
        min-height: 520px;
    }

    .hero-content {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 33px;
    }

    .hero-label {
        font-size: 9px;
    }

    .hero-description {
        font-size: 14px;
    }


    /* ARTICLE */

    .articles {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .article-image {
        height: 105px;
    }

    .article-content {
        padding: 12px 11px 14px;
    }

    .article-content h3 {
        font-size: 15px;

        line-height: 1.3;

        margin-bottom: 7px;
    }

    .article-excerpt {
        font-size: 11px;

        line-height: 1.45;

        margin-bottom: 11px;
    }

    .read-more {
        font-size: 10px;

        gap: 4px;
    }


    /* DETAIL */

    .article-detail {
        width: calc(100% - 20px);

        margin: 45px auto;

        padding: 22px 17px;

        border-radius: 10px;
    }

    .article-date {
        font-size: 12px;
    }

    .article-detail h1 {
        font-size: 29px;

        line-height: 1.2;

        margin-bottom: 20px;

        letter-spacing: -0.3px;
    }

    .detail-image {
        height: 250px;

        margin-bottom: 22px;
    }

    .article-text {
        font-size: 15px;

        line-height: 1.8;
    }


    /* LOCATION */

    .location-info {
        padding: 25px 20px;
    }

    .location-map {
        height: 240px;
    }
}


/* =========================================================
   FIX SCROLL
========================================================= */

main {
    height: auto !important;

    min-height: 0 !important;

    overflow: visible !important;
}

.hero,
.articles,
.about,
.location,
.footer {
    position: relative;
}


/* =========================================================
   FINAL ANTI-OVERFLOW PROTECTION
   JANGAN DIHAPUS
========================================================= */

/*
   Ini lapisan pengaman terakhir.
   Kalau user memasukkan judul seperti:

   Jsj...aaaaaaaaaaaaaaaaaaaaaaaaaaaa

   atau:

   BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

   teks tetap dipaksa berada di dalam
   area yang tersedia.
*/

.article-card,
.article-content,
.article-content h3,
.article-excerpt,
.article-detail,
.article-detail h1,
.article-text {
    min-width: 0;

    max-width: 100%;

    overflow-wrap: anywhere;

    word-wrap: break-word;
}


/* Jangan sampai gambar / media membuat halaman melebar */

.article-card img,
.article-detail img,
.detail-image img,
.article-image img,
iframe {
    max-width: 100%;
}


/* =========================================================
   SELESAI
========================================================= */

/* ========================================
   SEARCH ARTIKEL
======================================== */

.article-search {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 35px;
}

.search-box {
    width: 100%;

    display: flex;
    align-items: center;

    padding: 0 18px;

    background: #ffffff;

    border: 1px solid #e1d8ce;
    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(70, 45, 25, 0.05);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.search-box:focus-within {
    border-color: #8a5a35;

    box-shadow:
        0 6px 22px rgba(70, 45, 25, 0.09);
}

.search-box i {
    flex-shrink: 0;

    color: #8b8178;

    font-size: 17px;
}

.search-box input {
    width: 100%;

    padding: 15px 12px;

    border: none;
    outline: none;

    background: transparent;

    color: #33271e;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #a49a91;
}

.search-info {
    min-height: 18px;

    margin: 10px 3px 0;

    color: #8a7d71;

    font-size: 12px;

    text-align: left;
}

/* TIDAK ADA HASIL */

.search-empty {
    grid-column: 1 / -1;

    padding: 55px 20px;

    text-align: center;

    color: #8a7d71;
}

.search-empty i {
    display: block;

    margin-bottom: 12px;

    font-size: 30px;

    color: #a28d79;
}

.search-empty h3 {
    margin-bottom: 5px;

    color: #493a2e;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;
}

.search-empty p {
    margin: 0;

    font-size: 13px;
}


/* ========================================
   SEARCH MOBILE
======================================== */

@media (max-width: 768px) {

    .article-search {
        max-width: 100%;

        margin-bottom: 25px;
    }

    .search-box {
        padding: 0 14px;

        border-radius: 10px;
    }

    .search-box input {
        padding: 13px 10px;

        font-size: 13px;
    }

    .search-box i {
        font-size: 15px;
    }

    .search-info {
        font-size: 11px;
    }
}


@media (max-width: 480px) {

    .article-search {
        margin-bottom: 20px;
    }

    .search-box {
        padding: 0 12px;
    }

    .search-box input {
        padding: 12px 8px;

        font-size: 12px;
    }
}

/* ========================================
   FIX MOBILE MENU + FOOTER
   ======================================== */

/* Pastikan halaman tidak menghasilkan area putih
   saat scroll melewati batas bawah */
html {
    background: #211b17;
}

body {
    background: #f7f4ef;
}

/* FOOTER */
.footer {
    position: relative;
    width: 100%;
    background: #211b17;
    color: #fff;
    overflow: hidden;
}

/* ========================================
   MOBILE MENU - FIX FINAL
   ======================================== */

@media (max-width: 768px) {

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    .navbar-inner {
        position: relative;
    }

    .mobile-menu {
        position: absolute;

        top: calc(100% + 8px);
        left: 0;
        right: 0;

        width: 100%;

        display: none;
        flex-direction: column;

        background: rgba(255, 255, 255, 0.98);

        border: 1px solid rgba(112, 67, 31, 0.14);
        border-radius: 12px;

        box-shadow:
            0 12px 30px rgba(63, 41, 27, 0.16);

        overflow: hidden;

        z-index: 10000;
    }

    .mobile-menu.active {
        display: flex !important;
    }

    .mobile-menu a {
        display: block;

        width: 100%;

        padding: 15px 20px;

        color: #51473f;

        font-size: 14px;
        font-weight: 600;

        border-bottom: 1px solid rgba(112, 67, 31, 0.08);

        background: transparent;

        transition:
            background 0.25s ease,
            color 0.25s ease;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu a:hover,
    .mobile-menu a:active {
        background: #f3ede5;
        color: #70431f;
    }

    /* HAMBURGER */

    .menu-toggle {
        position: relative;
        z-index: 10001;

        display: flex !important;

        width: 42px;
        height: 42px;

        padding: 8px;

        align-items: center;
        justify-content: center;
        flex-direction: column;

        gap: 5px;

        border: none;
        outline: none;

        background: transparent;

        cursor: pointer;
    }

    .menu-toggle span {
        display: block !important;

        width: 24px !important;
        height: 2px !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #4f3828;

        border-radius: 2px;

        transition: 0.25s ease;
    }
}

/* HP KECIL */

@media (max-width: 480px) {

    .mobile-menu {
        left: 0;
        right: 0;
        width: 100%;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .menu-toggle span {
        width: 23px !important;
    }
}