:root {
    --green: #082216;
    --green-dark: #04110b;
    --gold: #d5a242;
    --gold-light: #ebd197;
    --cream: #faf6ee;
}

/* --- HERO SECTION --- */
.blogs-hero {
    position: relative;
    background: linear-gradient(rgba(8, 34, 22, 0.75), rgba(4, 17, 11, 0.9)), url('../images/places/japan.jpg') center/cover no-repeat !important;
    color: var(--cream);
    padding: 120px 0 80px !important;
    overflow: hidden;
}

.blogs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(195, 146, 59, 0.15), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(198, 139, 89, 0.08), transparent 45%);
    pointer-events: none;
}

.blogs-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

.blogs-hero h1 em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 500;
}

/* --- STICKY FILTER TABS --- */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    justify-content: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .filter-tabs {
        justify-content: flex-start;
        padding-bottom: 8px;
    }
}

.filter-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--green);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
}

/* --- BLOG GRID & STATIC CARDS --- */
.blogs-grid-section {
    background-color: var(--cream);
    min-height: 500px;
}

.blog-grid .chronicle-card {
    width: 100% !important;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: none !important;
}

.blog-grid .chronicle-card:hover {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

.blog-grid .chronicle-img-wrapper {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 260px;
}

.blog-grid .chronicle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none !important;
}

.blog-grid .chronicle-card:hover .chronicle-img-wrapper img {
    transform: none !important;
}

.blog-grid .img-hover-action {
    display: none !important;
}

.blog-grid .chronicle-info {
    padding: 24px;
}

.blog-grid .chronicle-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.blog-grid .chronicle-card:hover .chronicle-title {
    color: var(--gold);
}

.blog-grid .chronicle-meta {
    font-size: 0.8rem;
    color: #718096;
    border-top: 1px solid #edf2f7;
    padding-top: 15px;
}

/* --- PAGINATION --- */
.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.page-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.page-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
}

.page-btn.prev-next {
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
}

/* ==========================================================================
   BLOG DETAILED PAGE STYLES
   ========================================================================== */
.blog-detail-hero {
    position: relative;
    padding: 180px 0 100px !important;
    background: linear-gradient(rgba(8, 34, 22, 0.75), rgba(4, 17, 11, 0.9)), url('../images/places/japan.jpg') center/cover no-repeat !important;
    color: var(--cream);
}

.blog-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
}

.blog-detail-meta {
    font-size: 0.9rem;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.blog-content-wrapper {
    position: relative;
    z-index: 10;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .blog-content-wrapper {
        padding: 20px 0;
    }
}

.blog-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.blog-body h2 {
    font-family: 'Playfair Display', serif;
    color: var(--green);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.blog-body h3 {
    font-family: 'Playfair Display', serif;
    color: var(--green);
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-author-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff9e9;
    border: 1px solid rgba(213, 162, 66, 0.18);
    padding: 18px 22px;
    margin-top: 3rem;
    border-radius: 14px;
}

.blog-author-card .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green);
}

.blog-quote {
    border-left: 4px solid var(--gold);
    padding-left: 24px;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--green);
    margin: 2.5rem 0;
}

.blog-tip-box {
    background: var(--cream);
    border-left: 4px solid var(--green);
    padding: 24px;
    border-radius: 0 8px 8px 0;
    margin: 2.5rem 0;
}

.blog-tip-title {
    font-weight: 700;
    color: var(--green);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-author-card {
    border-top: 1px solid #edf2f7;
    padding-top: 40px;
    margin-top: 50px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .blog-grid .chronicle-img-wrapper {
        height: 150px;
    }
    .blog-grid .chronicle-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    .blog-grid .chronicle-info {
        padding: 12px;
    }
    .blog-grid .chronicle-meta {
        font-size: 0.65rem;
        padding-top: 10px;
    }
    .blog-author-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 15px !important;
    }
    .blog-body {
        font-size: 1rem;
        line-height: 1.7;
    }
    .blog-body h2 {
        font-size: 1.5rem;
        margin-top: 1.8rem;
        margin-bottom: 0.8rem;
    }
    .blog-body h3 {
        font-size: 1.25rem;
        margin-top: 1.4rem;
        margin-bottom: 0.6rem;
    }
    .blog-body .lead {
        font-size: 1.1rem !important;
    }
    .blog-quote {
        font-size: 1.05rem;
        padding-left: 16px;
        margin: 1.8rem 0;
    }
    .blog-tip-box {
        padding: 16px;
        margin: 1.8rem 0;
    }
}

@media (max-width: 768px) {
    .blogs-hero {
        padding: 80px 0 40px !important;
    }
    .blog-detail-hero {
        padding: 110px 0 50px !important;
    }
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
