/* ═══ COUNTRY PAGE STYLES ═══ */

/* Country Hero */
.country-hero{position:relative;min-height:55vh;display:flex;align-items:flex-end;overflow:hidden}
.country-hero-img{position:absolute;inset:0;background-size:cover;background-position:center;animation:heroZoom 30s ease-in-out infinite alternate}
.country-hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(42,34,24,0.92) 0%,rgba(42,34,24,0.5) 40%,rgba(42,34,24,0.1) 70%,rgba(42,34,24,0) 100%)}
.country-hero-content{position:relative;z-index:2;padding:2rem clamp(1.5rem,4vw,3rem) clamp(2.5rem,5vw,4rem);max-width:800px}
.country-hero-badge{display:inline-block;font-size:1.1rem;font-weight:700;color:#fff;margin-bottom:0.5rem}
.country-hero-tag{display:inline-block;background:var(--red);color:#fff;padding:0.2rem 0.6rem;border-radius:3px;font-size:0.62rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;margin-left:0.75rem;vertical-align:middle}
.country-hero-content h2{font-family:var(--serif);font-size:clamp(1.8rem,4vw,2.8rem);font-weight:900;line-height:1.1;color:#fff;margin-bottom:1rem}
.country-hero-sub{font-family:var(--serif);font-style:italic;font-size:clamp(0.9rem,1.3vw,1.1rem);color:rgba(255,255,255,0.7);max-width:600px;line-height:1.6;margin-bottom:0.75rem}
.country-hero-updated{font-size:0.72rem;color:rgba(255,255,255,0.5);display:flex;align-items:center;gap:0.3rem}

/* Breadcrumb */
.breadcrumb{padding:1rem clamp(1.5rem,4vw,3rem);font-size:0.75rem;color:var(--text-faint);max-width:1200px;margin:0 auto;border-bottom:1px solid var(--rule)}
.breadcrumb a{color:var(--text-muted);transition:color 0.2s}
.breadcrumb a:hover{color:var(--red)}
.breadcrumb span{margin:0 0.3rem}
.breadcrumb .current{color:var(--text);font-weight:600}

/* Article Layout */
.country-article{max-width:800px;margin:0 auto;padding:2.5rem clamp(1.5rem,4vw,3rem)}
.country-article section{margin-bottom:3rem;padding-bottom:2.5rem;border-bottom:1px solid var(--rule)}
.country-article section:last-of-type{border-bottom:none}
.country-article h2{font-family:var(--serif);font-size:clamp(1.4rem,2.5vw,1.8rem);font-weight:900;margin-bottom:1rem;line-height:1.2}
.country-article p{font-size:0.95rem;color:var(--text-muted);line-height:1.75;margin-bottom:1rem}
.country-article ul,.country-article ol{padding-left:1.5rem;margin-bottom:1rem}
.country-article li{font-size:0.92rem;color:var(--text-muted);line-height:1.7;margin-bottom:0.5rem}
.country-article li strong{color:var(--text)}
.country-article em{font-style:italic}

/* Key Facts Box */
.key-facts{background:var(--surface-alt);border:1px solid var(--rule);border-radius:6px;padding:1.5rem;margin-bottom:2.5rem}
.key-facts h3{font-family:var(--serif);font-size:1.1rem;font-weight:700;margin-bottom:1rem;padding-bottom:0.5rem;border-bottom:2px solid var(--red)}
.facts-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem}
.fact-item{display:flex;flex-direction:column;gap:0.15rem}
.fact-label{font-size:0.68rem;font-weight:600;text-transform:uppercase;letter-spacing:0.06em;color:var(--text-faint)}
.fact-value{font-size:0.92rem;font-weight:600;color:var(--text)}
.fact-value.yes{color:var(--green)}
@media(max-width:500px){.facts-grid{grid-template-columns:1fr}}

/* Table of Contents */
.toc{background:var(--surface);border:1px solid var(--rule);border-radius:6px;padding:1.2rem 1.5rem;margin-bottom:2.5rem}
.toc h4{font-size:0.78rem;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;color:var(--text-faint);margin-bottom:0.8rem}
.toc ol{list-style:decimal;padding-left:1.2rem;margin:0}
.toc li{font-size:0.88rem;margin-bottom:0.4rem;color:var(--text-muted)}
.toc li a{color:var(--text);font-weight:500;transition:color 0.2s}
.toc li a:hover{color:var(--red)}

/* Coverage Grid */
.coverage-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}
.coverage-card{padding:1.2rem;border-radius:6px;border:1px solid var(--rule)}
.coverage-card.covered{background:var(--green-dim);border-color:rgba(45,106,48,0.15)}
.coverage-card.not-covered{background:var(--red-dim);border-color:rgba(139,0,0,0.1)}
.coverage-card h4{font-size:0.82rem;font-weight:700;margin-bottom:0.6rem}
.coverage-card.covered h4{color:var(--green)}
.coverage-card.not-covered h4{color:var(--red)}
.coverage-card ul{list-style:none;padding:0;margin:0}
.coverage-card li{font-size:0.82rem;color:var(--text-muted);line-height:1.5;margin-bottom:0.3rem;padding-left:0}
@media(max-width:500px){.coverage-grid{grid-template-columns:1fr}}

/* Cost Table */
.cost-table-wrapper{overflow-x:auto;margin-bottom:1.5rem}
.cost-table{width:100%;border-collapse:collapse;font-size:0.85rem}
.cost-table thead th{background:var(--surface-dark);color:var(--text-light);padding:0.7rem 1rem;text-align:left;font-weight:600;font-size:0.72rem;text-transform:uppercase;letter-spacing:0.05em}
.cost-table thead th:first-child{border-radius:4px 0 0 0}
.cost-table thead th:last-child{border-radius:0 4px 0 0}
.cost-table tbody td{padding:0.6rem 1rem;border-bottom:1px solid var(--rule);color:var(--text-muted)}
.cost-table tbody tr:hover{background:var(--red-dim)}

/* Cost Examples */
.cost-examples{margin-bottom:1.5rem}
.cost-examples h4{font-family:var(--serif);font-size:1rem;font-weight:700;margin-bottom:0.8rem}
.cost-example-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.5rem}
.cost-ex{display:flex;justify-content:space-between;align-items:center;padding:0.65rem 1rem;background:var(--surface-alt);border-radius:4px;font-size:0.85rem}
.cost-label{color:var(--text-muted)}
.cost-price{font-weight:700;color:var(--text);font-family:var(--sans);font-variant-numeric:tabular-nums}
@media(max-width:500px){.cost-example-grid{grid-template-columns:1fr}}

/* Provider Cards */
.provider-cards{display:grid;gap:1rem;margin-bottom:1.5rem}
.provider-card{border:1px solid var(--rule);border-radius:6px;padding:1.2rem;transition:border-color 0.3s,box-shadow 0.3s}
.provider-card:hover{border-color:rgba(139,0,0,0.2);box-shadow:0 4px 16px rgba(0,0,0,0.06)}
.provider-card.featured{border-color:var(--red);border-width:2px;background:var(--red-dim)}
.provider-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.5rem}
.provider-header h4{font-family:var(--serif);font-size:1.1rem;font-weight:700}
.provider-badge{background:var(--red);color:#fff;padding:0.2rem 0.6rem;border-radius:3px;font-size:0.62rem;font-weight:700;letter-spacing:0.05em;text-transform:uppercase}
.provider-desc{font-size:0.85rem;color:var(--text-muted);line-height:1.6;margin-bottom:0.6rem}
.provider-stats{display:flex;gap:1.5rem;font-size:0.78rem;color:var(--text-faint);margin-bottom:0.6rem}
.provider-pros{display:flex;flex-wrap:wrap;gap:0.4rem}
.provider-pros .pro,.provider-pros .con{font-size:0.75rem;padding:0.2rem 0.6rem;border-radius:3px;font-weight:500}
.provider-pros .pro{background:var(--green-dim);color:var(--green)}
.provider-pros .con{background:var(--red-dim);color:#8B0000}

/* CTA Block */
.cta-block{text-align:center;margin:2rem 0}
.final-cta{background:var(--surface-alt);border:1px solid var(--rule);border-radius:8px;padding:2.5rem;margin-bottom:0}
.final-cta h3{font-family:var(--serif);font-size:1.3rem;font-weight:900;margin-bottom:0.5rem}
.final-cta p{color:var(--text-muted);font-size:0.92rem;margin-bottom:1.5rem}

/* Penalty List */
.penalty-list{display:grid;gap:1rem}
.penalty-entry{display:flex;gap:1rem;align-items:flex-start;padding:1rem;background:var(--surface-alt);border-radius:6px;border:1px solid var(--rule)}
.penalty-icon{font-size:1.5rem;flex-shrink:0;width:40px;text-align:center}
.penalty-entry h4{font-size:0.92rem;font-weight:700;color:var(--text);margin-bottom:0.3rem}
.penalty-entry p{font-size:0.85rem;color:var(--text-muted);line-height:1.6;margin:0}

/* Steps List */
.steps-list{list-style:none;padding:0;counter-reset:step}
.steps-list li{counter-increment:step;position:relative;padding:1rem 1rem 1rem 3.5rem;margin-bottom:0.75rem;background:var(--surface-alt);border-radius:6px;border:1px solid var(--rule)}
.steps-list li::before{content:counter(step);position:absolute;left:1rem;top:1rem;width:28px;height:28px;background:var(--red);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0.78rem;font-weight:700}
.steps-list li strong{display:block;font-size:0.95rem;color:var(--text);margin-bottom:0.3rem}
.steps-list li p{font-size:0.85rem;color:var(--text-muted);line-height:1.6;margin:0}

/* Tips Grid */
.tips-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem}
.tip-card{padding:1.2rem;border:1px solid var(--rule);border-radius:6px;background:var(--surface);transition:border-color 0.3s}
.tip-card:hover{border-color:rgba(139,0,0,0.2)}
.tip-num{font-family:var(--serif);font-size:1.4rem;font-weight:900;color:var(--red-dim);display:block;margin-bottom:0.3rem;line-height:1;opacity:0.4}
.tip-card h4{font-size:0.88rem;font-weight:700;color:var(--text);margin-bottom:0.3rem}
.tip-card p{font-size:0.82rem;color:var(--text-muted);line-height:1.5;margin:0}
@media(max-width:500px){.tips-grid{grid-template-columns:1fr}}

/* Related Countries */
.related-countries{max-width:800px;margin:0 auto 3rem;padding:0 clamp(1.5rem,4vw,3rem)}
.related-countries h3{font-family:var(--serif);font-size:1.1rem;font-weight:700;margin-bottom:1rem;text-align:center}
.related-grid{display:flex;justify-content:center;gap:0.75rem;flex-wrap:wrap}
.related-card{display:flex;align-items:center;gap:0.5rem;padding:0.6rem 1.5rem;border:1px solid var(--rule-bold);border-radius:4px;font-size:0.88rem;font-weight:600;color:var(--text);transition:all 0.2s;text-decoration:none}
.related-card:hover{border-color:var(--red);color:var(--red);background:var(--red-dim)}
.related-card .flag{font-size:1.2rem}
