/* ============================================================
   TRAVELBUDDY — EDITORIAL THEME
   Design tokens: warm ink & paper palette, serif display type
   NOTE: variable names kept stable (--primary, --text, --bg, etc.)
   because several templates (post.php, category.php) reference
   them directly via inline style="...var(--x)..." attributes.
   ============================================================ */

:root {
    --primary: #b3502c;          /* terracotta / rust — accent */
    --primary-dark: #8f3f21;
    --secondary: #a9812f;        /* brass / gold — secondary accent */
    --text: #201a14;             /* warm ink */
    --text-light: #6b6255;       /* warm gray for secondary copy */
    --bg: #faf6f0;               /* warm paper background */
    --border: #e6ddd0;           /* warm hairline */
    --radius: 10px;
    --shadow: 0 14px 34px rgba(32, 26, 20, 0.10);

    /* extended tokens */
    --card: #ffffff;
    --accent-soft: #f4e6d9;
    --shadow-soft: 0 4px 16px rgba(32, 26, 20, 0.06);
    --shadow-lg: 0 24px 60px rgba(32, 26, 20, 0.16);
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--text-light);
    -webkit-text-fill-color: var(--text-light);
    display: block;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--primary);
    background: var(--accent-soft);
}

.nav a.active {
    color: var(--primary);
    background: var(--accent-soft);
}

.nav .social-link {
    padding: 8px 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.nav .social-link:hover {
    color: var(--primary);
    background: var(--accent-soft);
}

.btn-search {
    padding: 7px 16px;
    border-radius: 30px;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    text-decoration: none;
}

.btn-search:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-search i {
    font-size: 0.75rem;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px 4px 4px;
    border-radius: 30px;
    background: var(--accent-soft);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-user:hover {
    background: #ecd9c6;
}

.nav-user .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.nav-user .user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.btn-logout {
    padding: 7px 16px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-light);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-logout:hover {
    border-color: #b3392c;
    color: #b3392c;
    background: rgba(179, 57, 44, 0.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
}

.menu-toggle:hover {
    background: var(--accent-soft);
}

.nav-separator {
    width: 1px;
    height: 22px;
    background: var(--border);
    margin: 0 4px;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--card);
        padding: 16px 20px;
        box-shadow: var(--shadow-lg);
        gap: 2px;
        border-top: 1px solid var(--border);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    .nav.open { display: flex; }

    .nav a { padding: 12px 16px; width: 100%; border-radius: 8px; }
    .nav .social-link { font-size: 1rem; justify-content: flex-start; }
    .btn-search { width: 100%; justify-content: center; padding: 10px; }
    .nav-user { width: 100%; justify-content: center; padding: 8px 16px; }
    .btn-logout { width: 100%; text-align: center; padding: 10px; }
    .nav-separator { display: none; }
}

@media (max-width: 480px) {
    .logo-tagline { display: none; }
    .logo-text { font-size: 1.15rem; }
    .logo-icon { width: 32px; height: 32px; font-size: 0.9rem; }
    .header-inner { height: 62px; }
    .nav { top: 62px; }
}

/* ============================================================
   HERO / TOP DESTINATIONS MAP
   ============================================================ */
.hero-map {
    background: linear-gradient(180deg, #f2e9dc 0%, var(--bg) 100%);
    padding: 52px 0 44px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.hero-header {
    text-align: center;
    margin-bottom: 40px;
}

.hero-header h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    font-weight: 600;
    font-style: italic;
    color: var(--text);
    margin-bottom: 10px;
}

.hero-header h1 i {
    color: var(--primary);
    font-size: 0.7em;
}

.hero-header .sub {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: var(--text-light);
    font-style: normal;
}

.world-map-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    text-align: center;
}

.map-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.world-map-container {
    background-color: #f2e9dc;
    background-image: radial-gradient(rgba(179, 80, 44, 0.14) 1px, transparent 1px);
    background-size: 15px 15px;
    border-radius: 20px;
    padding: 22px;
    border: 1px solid var(--border);
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 16px;
    background: var(--card);
    border-radius: 14px;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.country-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(179, 80, 44, 0.1);
    background: var(--card);
}

.country-flag {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.country-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.country-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-count {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--primary);
    color: white;
    padding: 1px 9px;
    border-radius: 5px;
    line-height: 1.6;
    flex-shrink: 0;
    margin-left: 6px;
    min-width: 26px;
    text-align: center;
}

.map-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 28px;
    padding: 18px 20px;
    margin-top: 16px;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 26px;
    background: var(--border);
}

@media (max-width: 1024px) {
    .country-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero-map { padding: 36px 0 30px; }
    .country-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px; }
    .country-card { padding: 8px 12px; }
    .country-flag { font-size: 1.15rem; }
    .country-name { font-size: 0.78rem; }
    .country-count { font-size: 0.68rem; padding: 1px 7px; min-width: 22px; }
    .map-stats { gap: 4px 14px; padding: 14px 16px; }
    .stat-number { font-size: 1.15rem; }
    .stat-label { font-size: 0.74rem; }
    .stat-divider { height: 22px; }
}

@media (max-width: 480px) {
    .country-grid { grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
    .country-card { padding: 6px 10px; }
    .country-count { min-width: 20px; }
    .map-stats { flex-direction: column; gap: 6px; padding: 12px; }
    .stat-divider { display: none; }
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 58px 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--text);
}

.section-title i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.9rem;
}

.section-subtitle {
    flex-basis: 100%;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.category-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-soft);
    background: var(--accent-soft);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--accent-soft);
    position: relative;
    transition: transform 0.45s ease;
}

.category-card:hover .category-image {
    transform: scale(1.06);
}

.category-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 4rem;
    color: var(--primary);
    background: var(--accent-soft);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 26, 20, 0.08) 0%, rgba(32, 26, 20, 0.78) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    color: white;
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(180deg, rgba(179, 80, 44, 0.25) 0%, rgba(32, 26, 20, 0.82) 100%);
}

.category-icon {
    font-size: 2.3rem;
    margin-bottom: 6px;
    display: block;
}

.category-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: white;
    display: block;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.category-count {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.16);
    padding: 2px 13px;
    border-radius: 20px;
    margin-top: 6px;
    backdrop-filter: blur(4px);
    display: inline-block;
}

@media (max-width: 992px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-name { font-size: 0.92rem; }
    .category-icon { font-size: 1.9rem; }
    .section-title { font-size: 1.4rem; margin-top: 44px; }
}

@media (max-width: 480px) {
    .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .category-name { font-size: 0.82rem; }
    .category-icon { font-size: 1.5rem; }
    .category-count { font-size: 0.62rem; padding: 1px 9px; }
}

/* ============================================================
   POPULAR DESTINATIONS
   ============================================================ */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 4px 0 24px;
}

.dest-card {
    display: block;
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
    border: 1px solid var(--border);
}

.dest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.dest-img-wrap {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: var(--accent-soft);
}

.dest-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.dest-card:hover .dest-img-wrap img {
    transform: scale(1.08);
}

.dest-body {
    padding: 14px 16px 16px;
}

.dest-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.dest-card .place {
    color: var(--text-light);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dest-card .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(32, 26, 20, 0.72);
    backdrop-filter: blur(3px);
    padding: 3px 11px;
    border-radius: 30px;
    font-size: 0.68rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.2px;
}

/* Theme Strip */
.theme-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px 0 24px;
}

.theme-pill {
    background: var(--card);
    padding: 9px 24px;
    border-radius: 30px;
    border: 1px solid var(--border);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.theme-pill:hover {
    border-color: var(--primary);
    background: var(--accent-soft);
    color: var(--primary-dark);
}

/* ============================================================
   BLOG / ARTICLE GRID
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 26px;
    margin: 4px 0 32px;
}

.blog-card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.blog-img {
    height: 190px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.06);
}

.blog-body {
    padding: 18px 20px 20px;
}

.blog-body h3 {
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.32;
    margin-bottom: 8px;
    color: var(--text);
}

.blog-body h3 a:hover {
    color: var(--primary);
}

.blog-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.blog-meta {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.76rem;
    color: var(--text-light);
    display: flex;
    gap: 14px;
    letter-spacing: 0.1px;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-header {
    padding: 44px 0 26px;
    background: transparent;
    border-bottom: 1px solid var(--border);
}

.post-header h1 {
    font-size: clamp(2rem, 4.2vw, 2.9rem);
    line-height: 1.18;
    font-weight: 600;
    max-width: 820px;
    color: var(--text);
}

.post-meta {
    color: var(--text-light);
    font-size: 0.88rem;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 12px 0 4px;
    font-family: var(--font-body);
}

.post-featured-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 24px 0;
    box-shadow: var(--shadow-soft);
}

.post-content {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.85;
    max-width: 780px;
    margin: 0 auto;
    padding: 20px 0 40px;
    color: var(--text);
}

.post-content p:first-of-type::first-letter {
    font-family: var(--font-display);
    float: left;
    font-size: 3.6rem;
    line-height: 0.82;
    font-weight: 600;
    padding: 6px 10px 0 0;
    color: var(--primary);
}

.post-content h2 {
    margin: 42px 0 14px;
    font-size: 1.65rem;
}

.post-content h3 {
    margin: 28px 0 12px;
    font-size: 1.3rem;
}

.post-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.post-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 22px;
    margin: 28px 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text);
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 14px;
    font-family: var(--font-body);
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

.category-hero {
    background: transparent;
    padding: 44px 0 30px;
    border-bottom: 1px solid var(--border);
}

.category-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-hero .cat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.category-hero .sub {
    color: var(--text-light);
    margin-top: 10px;
    font-size: 1.02rem;
    max-width: 640px;
}

.category-hero .count-line {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 6px;
    letter-spacing: 0.2px;
}

.pagination a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: var(--primary) !important;
    color: var(--primary);
}

.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 2.6rem;
    color: var(--accent-soft);
    margin-bottom: 14px;
    display: block;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-header { padding: 40px 0 20px; }
.search-header h1 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); }

.search-results {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 20px 0 40px;
}

.search-result {
    background: var(--card);
    padding: 22px 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.search-result:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.search-result h3 { font-size: 1.18rem; }
.search-result h3 a:hover { color: var(--primary); }

.search-result .meta {
    font-size: 0.84rem;
    color: var(--text-light);
    display: flex;
    gap: 14px;
    margin-top: 6px;
    font-family: var(--font-body);
}

.search-result .excerpt {
    margin: 10px 0;
    color: var(--text-light);
    font-family: var(--font-body);
}

.search-result .read-more {
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.88rem;
}

/* ============================================================
   BUTTONS & FORMS (shared)
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(179, 80, 44, 0.25);
}

.btn-secondary {
    background: var(--card);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--accent-soft);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

.form-group { margin-bottom: 14px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    background: var(--card);
    color: var(--text);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(179, 80, 44, 0.12);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--text);
    color: #b9ac99;
    padding: 56px 0 24px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 34px;
}

.footer h3 {
    font-size: 1.3rem;
    font-style: italic;
}

.footer h3,
.footer h4 {
    color: #fff;
    margin-bottom: 14px;
}

.footer a {
    display: block;
    margin-bottom: 8px;
    color: #b9ac99;
    transition: 0.2s;
    font-size: 0.92rem;
}

.footer a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 14px;
    font-size: 1.25rem;
}

.social-icons a {
    display: inline-block;
    margin-bottom: 0;
    color: #b9ac99;
}

.social-icons a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.86rem;
    color: #8a7f6c;
}

/* ============================================================
   RESPONSIVE (global)
   ============================================================ */
@media (max-width: 768px) {
    .post-header h1 { font-size: 1.8rem; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .dest-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .blog-grid { grid-template-columns: 1fr; }
    .dest-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
