:root {
    --indigo: #2D3A5C;
    --indigo-light: #3D4E7A;
    --warm-cream: #F5F0E8;
    --sand: #E8DFD0;
    --earth: #8B7355;
    --terracotta: #C4704B;
    --white: #FEFCF9;
    --text: #2C2419;
    --text-muted: #6B5D4F;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Breadcrumb ──────────────────────────────────────── */

.breadcrumb {
    max-width: 860px;
    margin: 0 auto;
    padding: 5rem 2rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--indigo);
    text-decoration: underline;
}

.breadcrumb .sep {
    margin: 0 0.4rem;
    opacity: 0.5;
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
    background: var(--indigo);
    color: #fff;
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.breadcrumb + .hero {
    padding-top: 2.5rem;
}

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.hero-flag {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Sections ────────────────────────────────────────── */

.section {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 2rem 0;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--indigo);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.section-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}

/* ── Quick Facts ─────────────────────────────────────── */

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: var(--warm-cream);
    border: 1.5px solid var(--sand);
    border-radius: 14px;
    padding: 1.5rem;
}

.fact-item {
    text-align: center;
}

.fact-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.fact-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

/* ── Advisory ────────────────────────────────────────── */

.advisory-card {
    display: block;
    background: var(--white);
    border: 1.5px solid var(--sand);
    border-radius: 14px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.advisory-card:hover {
    border-color: var(--indigo);
    box-shadow: 0 2px 12px rgba(45, 58, 92, 0.08);
}

.advisory-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    margin-bottom: 0.75rem;
}

.advisory-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.55;
}

.advisory-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--terracotta);
}

/* ── Health ───────────────────────────────────────────── */

.health-card {
    background: var(--white);
    border: 1.5px solid var(--sand);
    border-radius: 14px;
    padding: 1.5rem;
}

.health-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.health-list li {
    font-size: 0.92rem;
    color: var(--text);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.health-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #16A34A;
    font-weight: 700;
}

/* ── Card Grid ───────────────────────────────────────── */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.card {
    display: block;
    background: var(--white);
    border: 1.5px solid var(--sand);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
    border-color: var(--indigo);
    box-shadow: 0 2px 10px rgba(45, 58, 92, 0.08);
}

.card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--indigo);
    margin-bottom: 0.2rem;
}

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

.view-all-wrap {
    text-align: center;
    margin-top: 1.25rem;
}

.view-all-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* ── Destination Photo Grid ──────────────────────────── */

.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
}

.dest-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    text-decoration: none;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

.dest-overlay h3 {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ── CTA Box ─────────────────────────────────────────── */

.cta-box {
    max-width: 860px;
    margin: 2.5rem auto;
    padding: 2.5rem 2rem;
    background: var(--warm-cream);
    border: 1.5px solid var(--sand);
    border-radius: 14px;
    text-align: center;
}

.cta-box h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--indigo);
    margin-bottom: 0.5rem;
}

.cta-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.cta-btn {
    display: inline-block;
    background: var(--terracotta);
    color: #fff;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.97rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.cta-btn:hover {
    opacity: 0.88;
}

/* ── Footer ──────────────────────────────────────────── */

footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--sand);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Countries Index ─────────────────────────────────── */

.countries-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    border: 1.5px solid var(--sand);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.country-card:hover {
    border-color: var(--indigo);
    box-shadow: 0 2px 12px rgba(45, 58, 92, 0.08);
}

.country-flag {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.country-info {
    flex: 1;
    min-width: 0;
}

.country-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--indigo);
    margin-bottom: 0.15rem;
}

.country-stats {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.country-arrow {
    font-size: 1.2rem;
    color: var(--terracotta);
    flex-shrink: 0;
    font-weight: 700;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 600px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-flag {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .breadcrumb {
        padding-top: 4.5rem;
    }
}

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

    .facts-grid {
        grid-template-columns: 1fr;
    }
}

/* Card body padding */
.card-body { padding: 1rem 1.25rem 1.25rem; }

/* Inline alert content (from /alerts/ pages) */
.advisory-badge-inline {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1.25rem; border-radius: 10px;
    font-weight: 700; font-size: 1.1rem; margin-bottom: 1.25rem;
}
.alert-detail-content {
    max-width: 860px;
}
.alert-detail-content .alert-section {
    margin-bottom: 1.5rem; padding: 1.5rem;
    border: 1px solid var(--sand); border-radius: 12px;
    background: white;
}
.alert-detail-content .alert-section h2 {
    font-size: 1.15rem; font-weight: 700; color: var(--indigo);
    margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.alert-detail-content .alert-section p {
    font-size: 0.92rem; color: var(--text-muted); line-height: 1.7;
}
.alert-detail-content .alert-section a { color: var(--terracotta); }
.alert-detail-content .big-level-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 10px;
    font-weight: 700; font-size: 0.95rem; margin-bottom: 0.75rem;
}
.alert-detail-content .big-level-badge.l1 { background: #f0fdf4; color: #16a34a; }
.alert-detail-content .big-level-badge.l2 { background: #fefce8; color: #a16207; }
.alert-detail-content .big-level-badge.l3 { background: #fff7ed; color: #ea580c; }
.alert-detail-content .big-level-badge.l4 { background: #fef2f2; color: #dc2626; }
.alert-detail-content .risk-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.alert-detail-content .risk-tag {
    font-size: 0.8rem; padding: 0.25rem 0.75rem;
    border-radius: 15px; font-weight: 500;
}
.alert-detail-content .source-link {
    display: inline-block; margin-top: 0.5rem;
    font-size: 0.8rem; color: var(--terracotta);
}
.alert-detail-content .tabiji-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.75rem; }
.alert-detail-content .tabiji-link {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.5rem 1rem; border: 1px solid var(--sand);
    border-radius: 8px; text-decoration: none; color: var(--terracotta);
    font-size: 0.85rem; font-weight: 500; transition: all 0.2s;
}
.alert-detail-content .tabiji-link:hover { background: var(--warm-cream); border-color: var(--terracotta); }

/* Best Places by Month grid */
.month-section { padding-bottom: 1rem; }
.month-cards { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.month-cards-label {
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 12px; text-align: center;
}
.month-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.month-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 14px 8px; border-radius: 12px; border: 2px solid var(--sand);
    background: #fff; text-decoration: none; color: var(--text);
    font-size: 0.9rem; font-weight: 600; transition: all 0.15s; text-align: center;
}
.month-card span { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); }
.month-card.live { border-color: var(--indigo); background: #f0f4fa; }
.month-card.live span { color: var(--indigo); font-weight: 500; }
.month-card.live:hover {
    background: var(--indigo); color: #fff;
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(45,58,92,0.2);
}
.month-card.live:hover span { color: rgba(255,255,255,0.8); }
@media (max-width: 768px) { .month-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .month-grid { grid-template-columns: repeat(3, 1fr); } }
