/* ===============================
           GLOBAL
        ================================ */
body {
    background-color: #f8fafc;
    color: #0f172a;
}

.hover-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(15, 23, 42, .08);
}

/* ===============================
           NAVBAR
        ================================ */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-brand {
    font-weight: 600;
    color: #020617 !important;
}

.navbar-brand i {
    color: #0ea5e9;
}

.nav-link {
    color: #334155 !important;
    font-weight: 500;
}

.nav-link:hover {
    color: #0ea5e9 !important;
}

/* ===============================
           ARTICLE CONTENT (UNCHANGED CORE)
        ================================ */
.article-content {
    max-width: 740px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #212529;
    margin: 0 auto;
    overflow-x: hidden;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content figure {
    margin: 2rem auto;
    text-align: center;
}

.article-content figure.image {
    max-width: 100%;
    width: 100%;
    margin: 2rem auto;
    text-align: center;
}

.article-content figure.image img {
    display: block;
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
}


.article-content figure.image:hover img {
    transform: scale(1.01);
}

.article-content figure figcaption {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: .5rem;
    font-style: italic;
}

.article-content figure.image-style-side {
    float: right;
    max-width: 45%;
    margin: .5rem 0 1rem 1.5rem;
}

.article-content::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 768px) {
    .article-content figure.image-style-side {
        float: none;
        max-width: 100%;
        margin: 1.5rem 0;
    }
}

/* ===============================
           FOOTER
        ================================ */
footer {
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

footer a {
    color: #475569;
    text-decoration: none;
    margin: 0 .5rem;
}

footer a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.site-footer h6 {
    color: #020617;
}

.site-footer a {
    color: #475569;
    text-decoration: none;
}

.site-footer a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

.site-footer i {
    color: #475569;
    transition: color .2s ease;
}

.site-footer i:hover {
    color: #0ea5e9;
}

/*sub header */
.sub-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sub-menu {
    display: flex;
    gap: 1.5rem;
    padding: .6rem 0;
    margin: 0;
    list-style: none;
    justify-content: center;
}

.sub-menu a {
    font-size: .9rem;
    color: #006aff;
    text-decoration: none;
    padding: .35rem .75rem;
    border-radius: 999px;
    transition: all .2s ease;
}

.sub-menu a:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* pil navbar */
.nav-cta {
    background: var(--bs-primary);
    color: #fff !important;
    padding: .45rem 1.1rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: .9rem;
    transition: all .2s ease;
}

.nav-cta:hover {
    background: #0b5ed7;
    /* atau darken primary kamu */
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .nav-cta {
        padding: .4rem .95rem;
        font-size: .85rem;
    }
}

/* logo */
.brand-logo {
    height: 32px;
    width: auto;
}

.brand-text {
    font-weight: 600;
    letter-spacing: .2px;
    color: #0f172a;
}

/*@media (max-width: 576px) {
    .brand-text {
        display: none;
    }
}*/