* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --warna-bg: #0a0a0a;
    --warna-teks: #ffffff;
    --warna-hero-bg: #111111;
    --warna-hero-teks: #ffffff;
    --warna-kartu: #1f1f1f;
    --warna-garis: #262626;
}

@media (prefers-color-scheme: light) {
    :root {
        --warna-bg: #f5f5f5;
        --warna-teks: #111111;
        --warna-hero-bg: #ffffff;
        --warna-hero-teks: #111111;
        --warna-kartu: #ffffff;
        --warna-garis: #e0e0e0;
    }
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--warna-bg);
    color: var(--warna-teks);
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-section {
    background-color: var(--warna-hero-bg);
    color: var(--warna-hero-teks);
    text-align: center;
    padding: 15px 0 30px 0;
    border-bottom: 1px solid var(--warna-garis);
    transition: all 0.3s ease;
}

body .hero-section h2,
body .hero-content h2 {
    font-size: 1.8rem;
    white-space: normal;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    margin: 12px auto;
    display: block;
}

body .hero-section p:not(.tagline) {
    font-size: 15px;
    color: #ffffff;
    text-align: center;
    font-weight: 500;
    margin-bottom: 5px;
}

body .hero-section .tagline,
body .hero-content .tagline {
    font-size: 14px;
    white-space: normal;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    font-style: italic;
    color: #cccccc;
    line-height: 1.5;
    margin: 8px auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 50px;
}

.logo h1 .latin {
    font-family: 'BernhardTango BT', serif;
    text-transform: capitalize;
    font-size: 2rem;
    color: #fff;
    margin-right: 5px;
    letter-spacing: 0;
}

.logo h1 span:last-child {
    font-family: 'Oswald', sans-serif;
    color: #ffd700;
    font-weight: bold;
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #fdd835;
    border-bottom: 2px solid #fdd835;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

ol {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}

ol li::marker {
    font-weight: bold;
    color: #d97706;
}

ul li::marker {
    font-weight: bold;
    color: #d97706;
}

ol, ul {
    padding-left: 1.2rem;
    margin-left: 0;
}

ul li,
ol li {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: justify;
}

ol li p {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.7;
    margin-top: 4px;
    margin-bottom: 8px;
    text-align: justify;
}

.list-dalanan {
    padding-left: 2rem;
    margin-left: 0;
}

.filosofi-box {
    background-color: #818181;
    color: #fff;
    padding: 30px;
    margin: 20px auto 40px;
    max-width: 700px;
    position: relative;
    box-shadow: 0 10px 20px rgba(237, 202, 5, 0.84);
    border-left: 5px solid #000;
    border-radius: 12px;
}

.filosofi-box h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.5;
    color: #000;
}

.konten-naskah {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 12px;
    text-align: justify;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: relative;
    color: #000000 !important;
    z-index: 1;
}

.konten-naskah p,
.konten-naskah h2,
.konten-naskah h3,
.konten-naskah strong {
    color: #000000 !important;
}

.konten-naskah::before {
    content: "";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 460px;
    height: 560px;
    background-image: url('gudang/butterfly-mesin-jahit.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

.konten-naskah p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.tulkiyem {
    text-align: center;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.btn-jelajah {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 15px;
}

.btn-jelajah:hover {
    background-color: #ffd700;
}

.bingkai-kata {
    background: #ffffff;
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 20px 15px;
    max-width: 80%;
    margin: 30px auto 50px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.header-kata {
    color: #ccac00;
    font-size: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}

.kata-motivasi {
    color: #111111;
    font-size: 20px;
    font-style: italic;
    line-height: 1.7;
    margin: 0 auto 15px auto;
    max-width: 85%;
}

.tanggal-kata {
    display: block;
    color: #999;
    font-size: 12px;
    letter-spacing: 1px;
}

.log-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    padding: 20px 20px 80px 20px;
}

@media (min-width: 1024px) {
    .log-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.log-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.log-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
}

.log-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.log-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.log-date {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
    display: block;
}

.log-title {
    font-size: 13px;
    font-weight: bold;
    color: #222;
    margin: 0 0 12px 0;
    line-height: 1.4;
    flex-grow: 1;
}

.btn-tonton {
    background-color: #db9b00;
    color: #ffffff !important;
    text-align: center;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
    display: inline-block;
    align-self: center;
    margin-top: auto;
}

.btn-tonton:hover {
    background-color: #b88200;
}

.header-tengah {
    justify-content: center !important;
}

.container:has(.isi-artikel-jangkep:target) .isi-artikel-jangkep:not(:target) {
    display: none;
}

.judul-utama,
.sub-judul {
    text-align: center;
}

.rak-kategori {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    align-items: start;
}

.kolom-kategori {
    margin-bottom: 20px;
}

.nama-kategori {
    font-size: 1.4rem;
    color: floralwhite;
    font-weight: bold;
    border-bottom: 3px solid #ffcc00;
    padding-bottom: 8px;
    margin-bottom: 25px;
    text-align: left;
    letter-spacing: 1px;
}

.bungkus-kartu-vertikal {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.kartu-konten {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kartu-konten h2,
.kartu-konten h3,
.kartu-konten h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #000000;
    font-size: 1.4rem;
}

.potongan-cerita {
    color: #333333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.link-waca {
    align-self: flex-start;
    color: #b9a117;
    text-decoration: underline;
    font-weight: bold;
}

.link-waca:hover {
    color: #ffd700;
}

.isi-artikel-jangkep {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #dddddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.judul-cerita {
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.3;
}

.tanggal-posting {
    color: #666666;
    font-style: italic;
    font-size: 0.9rem;
}

.isi-artikel-jangkep blockquote {
    background-color: #000000;
    color: #ffcc00;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    border-left: 5px solid #ffcc00;
    margin: 30px 0;
    border-radius: 4px;
}

.isi-artikel-jangkep blockquote p {
    font-size: 0.80rem;
    font-style: italic;
    color: #fff;
    text-align: center;
    padding-top: 20px;
}

.isi-artikel-jangkep p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #222222;
    margin-bottom: 20px;
    text-align: justify;
}

.isi-artikel-jangkep {
    scroll-margin-top: 120px;
}

.tombol-bali-wadah {
    margin-top: 40px;
    border-top: 1px dashed #cccccc;
    padding-top: 20px;
}

.btn-kembali {
    display: inline-block;
    color: #b9a117;
    text-decoration: none;
    font-weight: bold;
}

.btn-kembali:hover {
    color: #ffd700;
}

/* PAGE TITLE */
.page-title {
    text-align: center;
    padding: 60px 0 40px;
}

.page-title h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.karya-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 35px;
    padding: 30px;
}

.karya-card {
    display: flex;
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.karya-card:hover {
    border: 2px solid #ffd700;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.karya-frame {
    flex: 0 0 35%;
    position: relative;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.slide:hover {
    opacity: 0.9;
}

.slide.active {
    display: block;
}

.dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.karya-frame:hover .dots-container {
    opacity: 1;
    pointer-events: auto;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.dot.active {
    background: #ffc107;
    width: 20px;
    border-radius: 10px;
}

.karya-grid .karya-card img,
.karya-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.karya-info {
    flex: 0 0 65%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.karya-info h3 {
    text-align: center;
    color: #b9a117;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    margin-top: 10px;
    text-transform: uppercase;
}

.karya-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    text-align: justify;
    width: 100%;
    font-style: italic;
}

.garis-marwah {
    height: 3px;
    background: linear-gradient(to right, #000, #ffd700, #000);
    width: 60%;
    margin: 15px auto;
    border-radius: 2px;
}

.label-kategori {
    color: #b9a117;
    font-weight: bold;
    font-size: 1.3rem;
    margin-top: 15px;
    text-align: center;
    margin-bottom: 10px;
    display: inline-block;
}

.wa-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    z-index: 9999;
    transition: 0.3s;
}

.wa-floating:hover {
    transform: scale(1.1);
}

.modal-zoom {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 100%;
    max-height: 100vh;
    border: 5px solid #fff;
    border-radius: 10px;
}

.modal-dots-container {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
    z-index: 10001;
}

.dot-modal {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.dot-modal.active,
.dot-modal:hover {
    background-color: #ffcc00;
    width: 35px;
    border-radius: 8px;
}

.close-btn {
    position: fixed;
    z-index: 10001;
    top: 20px;
    right: 30px;
    color: #ffcc00;
    font-size: 40px;
    padding: 10px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.close-btn:hover {
    color: #c21717;
    transition: color 0.3s ease;
}

.card {
    transition: all 0.4s ease;
}

.didelikne {
    display: none;
}

.filter-buttons {
    text-align: center;
    margin: 20px 0;
}

.filter-buttons button {
    background-color: #000;
    color: #ffc107;
    border: 2px solid #ffc107;
    padding: 10px 20px;
    margin: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;

}

.filter-buttons button:hover,
.filter-buttons button.active {
    background-color: #ffc107;
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.filter-buttons button.aktif {
    background-color: #ffc107;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
    border-color: #000;
}

/* TENTANG KAMI */
.konten-biografi {
    background: #fff;
    margin-top: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 15px;
}

.intro-vidio-box {
    text-align: center;
    margin-bottom: 60px;
}

.intro-vidio {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    border: 5px solid #ffc107;
    object-fit: cover;
    display: block;
    margin: 30px auto 0px;
}

.naskah-bio {
    text-align: justify;
    font-size: 1.1rem;
    color: #333;
}

.naskah-bio h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin: 30px 0 15px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

.naskah-bio p {
    margin-bottom: 20px;
}

.pondasi-box {
    background: #000;
    color: #fff;
    padding: 30px;
    margin: 40px 0;
    border-left: 10px solid #555;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.pondasi-box h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #aaa;
}

.pondasi-box p {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    font-style: normal;
    margin-bottom: 0;
}

.salam {
    text-align: center;
    margin-top: 50px;
    font-family: 'Oswald', sans-serif;
}

.salam h5 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.salam p {
    color: #777;
    letter-spacing: 2px;
}

.container-tulkiyem {
    display: flex;
    justify-content: center;
    padding: 20px;
    border-radius: 12px;
}

.list-tulkiyem {
    list-style-type: disc;
    max-width: 700px;
    text-align: left;
    line-height: 1.8;
}

.list-tulkiyem li {
    margin-bottom: 15px;
    color: #333;
}

.poin-tulkiyem {
    margin-top: 20px;
    padding-left: 20px;
}

.poin-tulkiyem ul {
    list-style-type: disc;
    color: #111;
}

.poin-tulkiyem li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.poin-tulkiyem strong {
    font-weight: 700;
}

.tulkiyem-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    text-align: left;
}

.tulkiyem-box ul {
    list-style-type: disc;
    color: #333;
    max-width: 600px;
}

.tulkiyem-box li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
}

footer {
    background-color: #111;
    color: #ede6e6;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.8rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#btnMumbul {
    display: none;
    position: fixed;
    bottom: 30px;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 0;
    left: 20px;
    z-index: 9999;
    border: none;
    outline: none;
    background-color: rgba(239, 245, 67, 0.8);
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

#btnMumbul:hover {
    background-color: rgba(255, 193, 7, 1);
}

.hamburger {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    text-align: right;
    padding: 10px 20px;
}

.foto-ilustrasi {
    display: block !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 30px auto !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* 2. Setelan Gambare */
.foto-ilustrasi img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
    margin: 0 auto !important;
}

.foto-ilustrasi figcaption {
    font-size: 0.85rem !important;
    color: #555555 !important;
    font-style: italic !important;
    margin-top: 12px !important;
    line-height: 1.4 !important;
    padding: 0 10px !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.chat-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #0288d1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite ease-in-out;
}

.chat-floating-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-tooltip {
    position: absolute;
    bottom: 75px;
    right: 0;
    background-color: #dbb90f;
    color: #000000;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.chat-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 22px;
    border-width: 6px;
    border-style: solid;
    border-color: #dbb90f transparent transparent transparent;
}

.chat-floating-btn:hover {
    transform: scale(1.08);
}

@media screen and (max-width: 850px) {
    .logo {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .logo h1 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        white-space: nowrap !important;
        gap: 6px !important;
        margin: 0 !important;
    }

    .logo h1 .latin,
    .logo h1 span:last-child {
        font-size: 0.95rem !important;
        line-height: 1 !important;
    }

    .logo img {
        height: 26px !important;
        width: auto !important;
    }

    .log-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        padding: 20px 20px 80px 20px !important;
    }

     .log-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        padding: 20px 20px 80px 20px !important;
    }

    nav ul {
        gap: 8px !important;
    }

    nav a {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {

    .log-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
        padding: 20px 20px 80px 20px !important;
    }

    .header-content {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 6px 10px !important;
        height: auto !important;
        min-height: 0 !important;
        width: 92% !important;
        box-sizing: border-box !important;
    }

     .logo h1 {
        display: flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        gap: 6px;
    }

    .logo h1 .latin,
    .logo h1 span:last-child {
        font-size: 1.3rem !important;
    }

    .logo img {
        height: 30px;
    }

    .log-title {
        font-size: 0.85rem !important;
        line-height: 1.3;
    }

    .btn-tonton {
        padding: 6px 14px !important;
        font-size: 0.75rem !important;
    }

    nav ul {
        gap: 8px !important;
    }

    nav a {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }

    .karya-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
        padding: 8px;
    }
}

@media screen and (max-width: 678px) {
    .container {
        width: 97% !important;
        max-width: 97% !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .header-content {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 6px 10px !important;
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .logo h1 {
        display: flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        gap: 6px;
    }

    .logo h1 .latin,
    .logo h1 span:last-child {
        font-size: 1.2rem !important;
    }

    .logo img {
        height: 30px;
    }

    .hamburger {
        display: block !important;
        font-size: 20px;
        color: #fff;
        cursor: pointer;
    }

    nav {
        position: relative;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #000;
        position: absolute;
        right: 0;
        top: 35px;
        width: max-content;
        text-align: center;
        padding: 10px 20px;
        margin: 0;
        list-style: none;
        gap: 5px;
        z-index: 999;
        border: 1px solid #222;
    }

    nav ul li a {
        text-decoration: none !important;
        color: #fff !important;
        display: block;
        width: 100%;
    }

    nav ul.aktif {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    body .hero-section,
    body .hero-content {
        padding: 40px 10px !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    body .hero-section h2,
    body .hero-content h2 {
        font-size: 1.4rem;
        white-space: normal;
        letter-spacing: 0.5px;
        text-align: center;
        width: 100%;
        margin: 12px auto;
        display: block;
    }

    body .hero-section p,
    body .hero-content p {
        font-size: 14px;
        white-space: normal;
        letter-spacing: 0.5px;
        text-align: center;
        width: 100%;
        font-style: italic;
        color: #666;
        line-height: 1.5;
        margin: 8px auto;
        display: block;
    }

    .kata-motivasi {
        font-size: 1.1rem;
    }

    .pondasi-box p {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }

    .konten-naskah,
    .konten-biografi {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        box-sizing: border-box !important;
    }

    .naskah-bio,
    .konten-log,
    .intro-vidio-box {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        box-sizing: border-box !important;
    }

    .kata-kata-box,
    .box-log {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .filosofi-box {
        margin: 20px auto;
        width: 100% !important;
    }

    .karya-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
        padding: 8px;
    }

    .karya-card {
        flex-direction: column;
        height: auto;
        margin-bottom: 0;
    }

    body .container .karya-frame {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        flex: none;
    }

    .karya-frame .slide,
    .karya-frame img {
        height: 250px !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: bottom !important;
    }

    body .container .karya-info {
        padding: 10px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .karya-info h3,
    .karya-card h3 {
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin-top: 5px !important;
        margin-bottom: 3px !important;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body .container .karya-info p {
        font-size: 0.75rem;
        line-height: 1.3;
        display: block;
    }

    .label-kategori {
        font-size: 13px !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        padding: 2px 6px !important;
    }

    .filter-buttons {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 10px 8px !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .filter-buttons button {
        flex: 1 1 auto !important;
        margin: 0 !important;
        padding: 5px 6px !important;
        font-size: 10px !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .log-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 8px 8px 75px 8px !important;
    }

    .log-thumbnail {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    .log-content {
        padding: 6px 8px 8px 8px !important;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        background: #ffffff;
    }

    .log-date {
        font-size: 0.58rem !important;
        color: #888;
        margin-bottom: 2px;
    }

    .log-title {
        font-size: 0.68rem !important;
        line-height: 1.2;
        margin: 0 0 8px 0 !important;
        color: #222;
        font-weight: bold;
        flex-grow: 1;
    }

    .btn-tonton {
        padding: 4px 12px !important;
        font-size: 0.58rem !important;
        border-radius: 12px !important;
        text-align: center;
        display: inline-block !important;
        letter-spacing: 0.2px;
        align-self: center !important;
        margin-top: auto !important;
    }

    .rak-kategori {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding-left: 8px;
        padding-right: 8px;
        box-sizing: border-box;
    }

    .kolom-kategori {
        min-width: 0;
    }

    .nama-kategori {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .bungkus-kartu-vertikal {
        gap: 10px;
    }

    .kartu-konten {
        padding: 12px;
    }

    .kartu-konten h2 {
        font-size: 0.9rem;
    }

    .potongan-cerita {
        font-size: 0.90rem;
        margin-bottom: 15px;
    }

    .link-waca {
        font-size: 0.9rem;
    }

    .judul-cerita {
        font-size: 1.1rem;
    }

    #modalGambar .close-btn {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 999999 !important;
        transform: none !important;
    }

    .wa-floating {
        width: 42px !important;
        bottom: 15px !important;
        right: 15px !important;
    }

    #btnMumbul {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
        bottom: 15px !important;
        left: 15px !important;
        padding: 0 !important;
        line-height: 35px !important;
    }

     .chat-tooltip {
        display: none !important;
    }

    .chat-floating-btn img,
    a img[alt*="Mbakyu Tulkiyem"] {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
    }

    .chat-floating-btn {
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .chat-floating-btn img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }
}
