body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
button, .btn, .section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
:root { 
    --brand:#E6D8C3;
    --secondary:#C2A68C;
    --light: #FAF4EB;
}
.light-background {
    background: var(--light)!important;
}
.main-button {
    border-color: var(--secondary);
    color: #111;
    transition: transform .08s ease;
}
.main-button:hover {
    border-color: var(--secondary);
    color: #111;
    transform: translateY(-2px);
}
.secondary-border {
    border-color: var(--secondary);
}
/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    backdrop-filter: saturate(180%) blur(8px);
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}
.site-header::after{
    content:"";
    position:absolute; 
    left:0; 
    right:0; 
    bottom:-1px;
    height:2px; 
    background:linear-gradient(90deg, var(--light), var(--brand), var(--secondary));
}
.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    min-height: 64px;
}
.site-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: #212529;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    position:relative; 
    overflow:hidden;
}
.site-nav-link::after{
    content:""; 
    position:absolute; 
    left:12px; 
    right:12px; 
    bottom:6px;
    height:2px; 
    background:linear-gradient(90deg,var(--brand), var(--secondary)); 
    opacity:.12; 
    transform:scaleX(0);
    transform-origin:left; 
    transition:transform .25s ease, opacity .25s ease;
}
.site-nav-link:hover::after{
    transform:scaleX(1); opacity:.6;
}
.site-nav-link:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(13,110,253,.25);
}
.site-nav-link .bi {
    font-size: 1.1rem;
    line-height: 1;
}
.site-nav-link.left { justify-self: start; }
.site-nav-link.right { justify-self: end; }
.logo {
    justify-self: center;
    display: inline-block;
}
.logo img {
    display: block;
    height: 70px;
    width: auto;
}
.nav-categories {
    position: relative;
}

.categories-toggle {
    cursor: pointer;
    background: none;
    border: 0;
    /* padding: 0; */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #212529;
}

.categories-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-radius: 12px;
    margin-top: 8px;
    min-width: 180px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1050;
}

.categories-dropdown.show {
    display: flex;
    animation: fadeIn .18s ease-out;
}

.categories-dropdown .dropdown-item {
    padding: 10px 16px;
    color: #111;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: start;
}

.categories-dropdown .dropdown-item:hover {
    background-color: var(--light);
    color: #000;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Header END */

/* Footer */
.site-footer{
    margin-top: 48px;
    background:#fff;
    border-top:1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -1px 8px rgba(17,17,26,0.06);
    position: relative;
}
.site-footer::before{
    content:"";
    position:absolute; left:0; right:0; top:0;
    height:2px;
    background:linear-gradient(90deg, var(--light), var(--brand), var(--secondary));
}
.site-footer .container{
    padding-top: 20px;
    padding-bottom: 28px;
}
.footer-links{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:10px;
}
.footer-link{
    color:#212529;
    text-decoration:none;
    font-family:'Poppins', sans-serif;
    font-weight:600;
    letter-spacing:.02em;
    font-size:.95rem;
    transition:opacity .2s ease;
}
.footer-links .sep{ color:rgba(0,0,0,.35); }
.footer-copy{
    text-align:center;
    color:#6b7280;
    margin:0 0 18px;
    font-size:.95rem;
    font-family:'Lato', sans-serif;
}
.footer-badges{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}
.badge-item{
    display:inline-flex;
    border-radius:14px;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    overflow:hidden;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.badge-item:hover{
    transform: translateY(-1px);
    border-color: rgba(0,0,0,.14);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.badge-item img{
    display:block;
    height:50px;
    width:auto;
}
/* Footer END */

/* Blog Page */
.hero {
    position: relative;
    color: #fff;
    isolation: isolate;
}
.hero--cover {
    min-height: 62vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.25)) , 
        var(--hero-bg) center/cover no-repeat;
}
.hero--blog {
    padding-block: clamp(56px, 8vh, 96px);
}
.hero-title {
    font-family: 'Poppins', sans-serif;
    line-height: 1.15;
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin: 0;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    opacity: .95;
    text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.section-latest-posts .section-title, .section-top-posts .section-title, .section-archive-posts .section-title{
    font-size: clamp(2rem, 2.4vw, 2rem);
    margin-bottom: .75rem;
}
.post-card{
    background: #fff;
    border: 1px solid var(--secondary);
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
    transition: box-shadow .2s ease, transform .08s ease;
}
.post-card:hover{
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.post-card .thumb{
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 12px;
}
.post-card .thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.post-card .meta{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: .82rem;
    letter-spacing: .02em;
    color: #6b7280;
    margin-bottom: 10px;
}
.post-card .meta .views{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #111827;
}
.post-card .meta .date{
    font-weight: 600;
    color: #374151;
}
.post-card .divider{
    height: 1px;
    background: var(--secondary);
    border-radius: 2px;
    margin-bottom: 10px;
}
.post-card .title{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.6vw, 1rem);
    line-height: 1.25;
    margin: 0 0 6px;
    color: #111;
}
.post-card .excerpt{
    color: #4b5563;
    font-size: .95rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-pill{
    border-radius: 10px;
    border-width: 1px;
}
/* Blog Page END */

/* Swiper */
.generic-swiper { padding: 4px 6px 28px; }
.generic-swiper .swiper-slide { height: auto; }
.generic-swiper .post-card { height: 100%; }

.generic-swiper .swiper-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
}
.generic-swiper .swiper-button-prev,
.generic-swiper .swiper-button-next {
    position: static;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--light);
    color: #111;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    border: 1px solid var(--secondary);
}
.generic-swiper .swiper-button-prev:hover,
.generic-swiper .swiper-button-next:hover {
    transform: translateY(-2px);
}
.generic-swiper .swiper-button-prev::after,
.generic-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}
/* Swiper END */
/* Category */
.pagination-brand .page-link{
    border: 1px solid var(--secondary);
    color: #111;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: .02em;
    border-radius: 8px;
    margin: 0 4px;
    min-width: 38px;
    text-align: center;
    transition: background-color .15s ease, color .15s ease, transform .08s ease, box-shadow .15s ease;
}
.pagination-brand .page-link:hover{
    background-color: var(--light);
    color: #111;
    transform: translateY(-1px);
}
.pagination-brand .page-item.active .page-link{
    background: var(--light);
    border-color: var(--secondary);
    color: #111;
}
.pagination-brand .page-item.disabled .page-link{
    color: #9ca3af;
    background-color: #f9fafb;
    border-color: rgba(0,0,0,0.12);
    cursor: not-allowed;
    transform: none;
}
.pagination-brand .page-link:focus{
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 40%, transparent);
    outline: none;
}
.pagination-brand .page-link .bi{
    vertical-align: -1px;
}
/* Category END */
/* Article */
.article-hero{
    position: relative;
    margin: 0 0 16px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    border:1px solid rgba(0,0,0,.06);
}
.article-hero img{
    width: 100%; height: auto; display:block; object-fit: cover;
}
.badge{
    position: absolute;
    top: 12px;
    padding: 6px 12px;
    background: var(--light);
    border: 1px solid var(--secondary);
    color: #111;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .85rem;
}
.badge-cat{ left: 12px; }
.badge-meta{ right: 12px; }
.toc-card{
    background: var(--light);
    border: 1px solid var(--secondary);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    padding: 16px 18px;
    margin: 14px 0 22px;
}
.toc-card h6{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0 0 6px;
}
.toc-list{
    list-style: none; padding: 0; margin: 0;
}
.toc-list li + li{ margin-top: 6px; }
.toc-link{
    text-decoration: none;
    color: #0f172a;
    border-radius: 8px;
    display:inline-block;
    padding: 6px 8px;
}
.toc-link:hover{ background: rgba(0,0,0,.04); }
.article-content h2, .article-content h3{
    scroll-margin-top: 90px;
}
.article-content h2{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 22px 0 8px;
}
.article-content h3{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 18px 0 6px;
}
.article-content p{ margin-bottom: 14px; }
.share-block{
    display:flex; align-items:center; gap:12px;
    padding: 12px 0; border-top:1px solid rgba(0,0,0,.08); margin-top: 10px;
}
.share-title{
    font-family: 'Poppins', sans-serif; font-weight:600;
}
.share-icons a{
    display:inline-flex; align-items:center; justify-content:center;
    width:36px; height:36px; border-radius:50%;
    background: var(--light); color:#111; border:1px solid var(--secondary);
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    margin-right:6px; text-decoration:none;
}
.share-icons a:hover{ transform: translateY(-1px); }
.article-nav-link{
    display:inline-flex; align-items:center; gap:8px;
    background: var(--light); color:#111; text-decoration:none;
    border:1px solid var(--secondary); border-radius:10px;
    padding:10px 14px; box-shadow: 0 2px 6px rgba(0,0,0,.06);
    font-family: 'Poppins', sans-serif; font-weight:600;
}
.article-nav-link:hover{ transform: translateY(-1px); }
.article-nav .prev i{ order:-1; }
.article-nav .next i{}
.sidebar-sticky{ position: sticky; top: 88px; }
.sidebar-card{
    background: var(--light);
    border:1px solid var(--secondary);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    padding: 16px;
}
.sidebar-card h6{
    font-family:'Poppins', sans-serif; font-weight:600; margin:0 0 8px;
}
.other-list{ list-style:none; padding:0; margin:0; }
.other-list li + li{ margin-top: 10px; }
.other-item{
    display:flex; align-items:center; gap:10px;
    text-decoration:none; color:#0f172a;
    padding:6px 8px; border-radius:10px;
}
.other-item:hover{ background: rgba(0, 0, 0, .04); }
.other-item img{
    width:48px; 
    height:48px; 
    border-radius:10px; 
    object-fit:cover; 
    display:block;
    border: 1px solid var(--secondary)
}
.article-content img {
    max-width: 100%;
    max-height: max-content;
    border-radius: 14px;
}
/* Article END */

/* ----- Responsive ----- */
@media (max-width: 768px) {
    /* Header */
    .header-grid { min-height: 56px; }
    .site-nav-link {
        font-size: 0.88rem;
        padding: 8px 0;
        gap: 6px;
    }
    .logo img { height: 42px; }
    .categories-dropdown {
        position: fixed;
        top: 64px;
        right: 16px;
        left: 16px;
        margin: 0 auto;
        width: auto;
        border-radius: 10px;
        padding-block: 4px;
    }
    /* Header END */

    /* Footer */
    .site-footer .container{ padding-top:16px; padding-bottom:22px; }
    .badge-item img{ height:46px; }
    .footer-link{ font-size:.9rem; }
    /* Footer END */

    /* Blog Page */
    .hero--cover { min-height: 48vh; }
    .hero--blog { padding-block: 48px; }
    /* .hero-inner { max-width: 92%; } */
    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.8rem);
    }
    .section-latest-posts .section-title, .section-top-posts .section-title, .section-archive-posts .section-title{
        font-size: clamp(1.5rem, 2.4vw, 1.5rem);
        margin-bottom: .75rem;
    }
    /* Blog Page END */
    /* Category */
    .pagination-brand .page-link{
        border-radius: 6px;
        min-width: 34px;
        margin: 0 2px;
        padding: .375rem .5rem;
        font-size: .95rem;
    }
    /* Category END */
    /* Article */
    .badge{ font-size:.8rem; padding:5px 10px; }
    .sidebar-sticky{ position: static; }
    .share-icons a{ width:34px; height:34px; }
    .badge-cat{ 
        left: 12px;
        bottom: 12px;
        top: auto;
    }
    .badge-meta{ 
        left: 12px; 
        right: auto;
    }
    /* Article END */
}
/* ----- Responsive END ----- */