/* ==========================================================================
   JAI-D.COM - CLEAN EDITORIAL TRAVEL & CHARITY MAGAZINE THEME
   Inspired by: National Geographic Traveler, Condé Nast Traveler, AFAR
   ========================================================================== */

:root {
    /* Typography */
    --font-heading: 'Playfair Display', 'Pridi', 'Prompt', Georgia, serif;
    --font-thai-heading: 'Prompt', 'Pridi', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Palette: Organic Warm Off-White, Deep Forest Pine & Terracotta */
    --bg-page: #FAF9F6;
    --bg-surface: #FFFFFF;
    --bg-surface-subtle: #F3F2EE;
    --bg-dark: #14221C;
    
    --color-pine: #1A2E26;
    --color-pine-light: #284439;
    --color-terracotta: #C26D43;
    --color-terracotta-hover: #A85832;
    --color-terracotta-subtle: #F8ECE5;
    
    --color-text-main: #1C1C1A;
    --color-text-secondary: #5E5D59;
    --color-text-muted: #878580;
    
    /* Borders & Hairlines */
    --border-light: 1px solid #EAE8E2;
    --border-medium: 1px solid #D8D5CC;
    --border-dark: 1px solid #23352D;

    /* Soft, Natural Shadows */
    --shadow-sm: 0 2px 8px rgba(28, 28, 26, 0.04);
    --shadow-md: 0 8px 24px rgba(28, 28, 26, 0.06);
    --shadow-lg: 0 16px 36px rgba(28, 28, 26, 0.08);

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    --transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-page);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--color-text-main);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-article {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   CATEGORY TAG BADGE (CLEAN EDITORIAL)
   ========================================================================== */
.cat-tag {
    display: inline-block;
    font-family: var(--font-thai-heading);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-pine);
    background: var(--bg-surface-subtle);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cat-tag:hover {
    background: var(--color-pine);
    color: #fff;
}

.cat-tag-charity {
    color: var(--color-terracotta);
    background: var(--color-terracotta-subtle);
}

.cat-tag-charity:hover {
    background: var(--color-terracotta);
    color: #fff;
}

.meta-dot {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin: 0 6px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background: #fff;
    border-bottom: var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 16px;
}

.site-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-pine);
    letter-spacing: 2px;
    line-height: 1;
}

.brand-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--color-terracotta);
    font-weight: 700;
    margin-top: 3px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-search-trigger {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-search-trigger:hover {
    color: var(--color-pine);
    background: var(--bg-surface-subtle);
}

.search-text {
    font-family: var(--font-thai-heading);
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-charity-header {
    background: var(--color-terracotta);
    color: #fff;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-thai-heading);
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-charity-header:hover {
    background: var(--color-terracotta-hover);
    color: #fff;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.burger-bar {
    width: 22px;
    height: 2px;
    background: var(--color-pine);
    border-radius: 1px;
}

/* Desktop Navigation */
.desktop-nav {
    border-top: var(--border-light);
    background: #fff;
}

.desktop-nav .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    list-style: none;
    padding: 10px 0;
}

.nav-links li a {
    font-family: var(--font-thai-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 4px 0;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-pine);
    transition: width 0.25s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--color-pine);
    font-weight: 600;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* ==========================================================================
   1. LEAD COVER FEATURE
   ========================================================================== */
.lead-cover-section {
    padding: 40px 0 48px 0;
}

.lead-cover-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-md);
    border: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.lead-cover-media {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
    height: 380px;
}

.lead-cover-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.lead-cover-card:hover .lead-cover-media img {
    transform: scale(1.03);
}

.lead-meta-top {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.lead-kicker {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-terracotta);
}

.lead-title {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-pine);
    margin-bottom: 14px;
}

.lead-title a:hover {
    color: var(--color-terracotta);
}

.lead-excerpt {
    font-size: 0.98rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}

.lead-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding-top: 16px;
    border-top: var(--border-light);
}

.byline-author strong {
    color: var(--color-text-main);
}

/* ==========================================================================
   2. HIGHLIGHTS GRID (3 COLUMNS)
   ========================================================================== */
.highlights-section {
    padding: 48px 0;
    border-top: var(--border-light);
}

.section-title-bar {
    margin-bottom: 32px;
}

.section-heading {
    font-family: var(--font-thai-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-pine);
    line-height: 1.25;
}

.section-sub {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    margin-top: 4px;
    display: block;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highlight-card {
    background: #fff;
    border-radius: var(--radius-sm);
    border: var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-media {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.highlight-card:hover .card-media img {
    transform: scale(1.04);
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.card-title {
    font-family: var(--font-thai-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-pine);
    margin-bottom: 8px;
}

.card-title a:hover {
    color: var(--color-terracotta);
}

.card-excerpt {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   3. CHARITY & GIVING MISSION FEATURE
   ========================================================================== */
.charity-feature-section {
    padding: 36px 0 52px 0;
}

.charity-feature-card {
    background: var(--bg-dark);
    color: #fff;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    padding: 48px;
    align-items: center;
}

.charity-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #E29F75;
    margin-bottom: 14px;
}

.charity-title {
    font-family: var(--font-thai-heading);
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 14px;
}

.charity-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #D1D9D5;
    margin-bottom: 24px;
}

.btn-charity-primary {
    background: var(--color-terracotta);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-thai-heading);
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-charity-primary:hover {
    background: #fff;
    color: var(--color-pine);
    transform: translateY(-2px);
}

.charity-media {
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
    height: 310px;
}

.charity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================================
   4. LATEST ARTICLES GRID (2 COLUMNS)
   ========================================================================== */
.latest-articles-section {
    padding: 48px 0 72px 0;
    border-top: var(--border-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.article-card {
    background: #fff;
    border-radius: var(--radius-sm);
    border: var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-media {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.article-card:hover .article-media img {
    transform: scale(1.03);
}

.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-title {
    font-family: var(--font-thai-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-pine);
    margin-bottom: 10px;
}

.article-title a:hover {
    color: var(--color-terracotta);
}

.article-excerpt {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: var(--border-light);
    font-size: 0.82rem;
}

.article-author {
    color: var(--color-text-muted);
}

.article-read-more {
    font-family: var(--font-thai-heading);
    font-weight: 600;
    color: var(--color-pine);
}

.article-read-more:hover {
    color: var(--color-terracotta);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.clean-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.clean-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.clean-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-thai-heading);
    font-size: 0.88rem;
    font-weight: 600;
    background: #fff;
    border: var(--border-light);
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.clean-pagination .page-numbers.current {
    background: var(--color-pine);
    color: #fff;
    border-color: var(--color-pine);
}

.clean-pagination a.page-numbers:hover {
    background: var(--bg-surface-subtle);
    color: var(--color-pine);
    border-color: var(--color-pine);
}

/* ==========================================================================
   SINGLE ARTICLE EDITORIAL READING EXPERIENCE
   ========================================================================== */
.single-header {
    padding: 40px 0 20px 0;
    text-align: center;
}

.single-breadcrumbs {
    font-family: var(--font-thai-heading);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.single-breadcrumbs a:hover {
    color: var(--color-pine);
}

.single-cat-wrap {
    margin-bottom: 14px;
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-pine);
    margin-bottom: 20px;
}

.single-byline-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    padding-bottom: 20px;
}

.byline-author-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.byline-author-box strong {
    color: var(--color-text-main);
}

.single-featured-media {
    margin-bottom: 40px;
}

.featured-media-box {
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
    height: 480px;
}

.featured-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.single-article-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    border: var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 64px;
}

.article-body {
    font-size: 1.12rem;
    line-height: 1.95;
    color: #2D2D2A;
}

.article-body p {
    margin-bottom: 24px;
}

.single-article-content .article-body > p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    float: left;
    line-height: 0.85;
    margin-right: 10px;
    color: var(--color-pine);
    font-weight: 700;
}

.article-body h2,
.article-body h3 {
    font-family: var(--font-thai-heading);
    color: var(--color-pine);
    font-weight: 700;
    margin: 40px 0 14px 0;
    line-height: 1.35;
}

.article-body h2 {
    font-size: 1.65rem;
    border-bottom: var(--border-light);
    padding-bottom: 8px;
}

.article-body blockquote {
    margin: 32px 0;
    padding: 20px 28px;
    background: var(--bg-page);
    border-left: 3px solid var(--color-terracotta);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-pine);
    line-height: 1.65;
}

.article-body img {
    border-radius: var(--radius-sm);
    margin: 28px auto;
    max-width: 100%;
    height: auto;
}

/* Tags Wrap */
.article-tags-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: var(--border-light);
    flex-wrap: wrap;
}

.tags-label {
    font-family: var(--font-thai-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.tag-link {
    font-family: var(--font-thai-heading);
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    background: var(--bg-surface-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.tag-link:hover {
    background: var(--color-pine);
    color: #fff;
}

/* Share Bar */
.article-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--bg-surface-subtle);
    border-radius: var(--radius-sm);
}

.share-label {
    font-family: var(--font-thai-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-pine);
}

.share-btns {
    display: flex;
    gap: 8px;
}

.btn-share {
    font-family: var(--font-thai-heading);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: var(--border-light);
    background: #fff;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition);
}

.btn-share:hover {
    background: var(--color-pine);
    color: #fff;
}

/* Author Card */
.article-author-card {
    margin-top: 36px;
    padding: 28px;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    border: var(--border-light);
    display: flex;
    gap: 18px;
    align-items: center;
}

.author-avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-pine);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.author-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.author-name {
    font-family: var(--font-thai-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-pine);
    margin: 2px 0 4px 0;
}

.author-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Related Section */
.related-section {
    padding: 48px 0 72px 0;
    border-top: var(--border-light);
}

/* ==========================================================================
   ARCHIVE & PAGE STYLES
   ========================================================================== */
.archive-header {
    background: #fff;
    border-bottom: var(--border-light);
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.archive-kicker {
    font-family: var(--font-thai-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-terracotta);
    letter-spacing: 0.8px;
}

.archive-title {
    font-family: var(--font-thai-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-pine);
    margin: 6px 0;
}

.archive-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.no-posts-box {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: var(--border-light);
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(20, 34, 28, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.search-modal.is-active {
    display: flex;
}

.search-modal-content {
    width: 100%;
    max-width: 620px;
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.search-heading {
    font-family: var(--font-thai-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-pine);
}

.search-close-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.search-close-btn:hover {
    color: var(--color-pine);
}

.search-form {
    display: flex;
    border-bottom: 2px solid var(--color-pine);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-thai-heading);
    font-size: 1.15rem;
    color: var(--color-text-main);
}

.search-submit {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: var(--color-pine);
    cursor: pointer;
    padding: 0 8px;
}

.search-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.search-tag-label {
    color: var(--color-text-muted);
}

.search-tags a {
    color: var(--color-terracotta);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 2100;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: right 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.mobile-drawer.is-active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: var(--border-light);
}

.btn-drawer-close {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.mobile-nav-list {
    margin-top: 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.mobile-nav-list li a {
    font-family: var(--font-thai-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
    display: block;
    padding: 6px 0;
}

.mobile-nav-list li a:hover {
    color: var(--color-terracotta);
}

.mobile-nav-list li a.mobile-charity-link {
    color: var(--color-terracotta);
}

.mobile-drawer-footer {
    padding-top: 18px;
    border-top: var(--border-light);
}

.drawer-quote {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--bg-dark);
    color: #C0CAC4;
    border-top: 3px solid var(--color-pine-light);
}

.footer-top {
    padding: 56px 24px 40px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 36px;
}

.footer-brand .brand-title {
    color: #fff;
}

.footer-brand .brand-sub {
    color: #E29F75;
}

.footer-about-text {
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 14px 0 18px 0;
    color: #A9B7B0;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background: var(--color-terracotta);
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: var(--font-thai-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-nav-list li a {
    font-size: 0.86rem;
    color: #A9B7B0;
}

.footer-nav-list li a:hover {
    color: #fff;
    padding-left: 3px;
}

.footer-charity-desc {
    font-size: 0.86rem;
    line-height: 1.7;
    color: #A9B7B0;
    margin-bottom: 14px;
}

.btn-footer-charity-link {
    font-family: var(--font-thai-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: #E29F75;
}

.btn-footer-charity-link:hover {
    color: #fff;
}

.footer-quote {
    font-size: 0.86rem;
    font-style: italic;
    color: #A9B7B0;
    line-height: 1.65;
    border-left: 2px solid var(--color-terracotta);
    padding-left: 10px;
    margin-bottom: 8px;
}

.quote-author {
    font-size: 0.78rem;
    color: #798C82;
}

.footer-bottom {
    background: #0D1713;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: #798C82;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.btn-back-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .lead-cover-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }
    .lead-cover-media {
        height: 300px;
    }
    .charity-feature-card {
        grid-template-columns: 1fr;
        padding: 36px;
    }
    .charity-media {
        height: 260px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .search-text {
        display: none;
    }
    .btn-charity-header span {
        display: none;
    }
    .lead-cover-card {
        padding: 20px;
    }
    .lead-cover-media {
        height: 220px;
    }
    .lead-title {
        font-size: 1.6rem;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-media {
        height: 200px;
    }
    .single-post-title {
        font-size: 1.85rem;
    }
    .featured-media-box {
        height: 260px;
    }
    .single-article-content {
        padding: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
