/* ═══════════════════════════════════════════════════════
   EuroSOR — Single Country Guide Template
   ═══════════════════════════════════════════════════════ */

.esg-single-wrap { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; color: #1E293B; line-height: 1.6; }
.esg-single-wrap *, .esg-single-wrap *::before, .esg-single-wrap *::after { box-sizing: border-box; }
.esg-container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ─── Hero ─── */
.esg-hero { position: relative; min-height: var(--hero-height, 400px); display: flex; align-items: flex-end; background-size: cover; background-position: center; background-color: #1E293B; overflow: hidden; }
.esg-hero-overlay { position: absolute; inset: 0; background: rgba(15,23,42,var(--hero-overlay, 0.6)); }
.esg-hero-content { position: relative; z-index: 2; padding-bottom: 48px; width: 100%; }
.esg-hero-label { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.esg-hero-title { font-size: 36px; font-weight: 700; color: #fff; margin: 0; line-height: 1.2; max-width: 560px; }

/* ─── Sticky Nav ─── */
.esg-nav { background: #fff; border-bottom: 1px solid #E2E8F0; position: sticky; top: 0; z-index: 100; }
.esg-nav-links { display: flex; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.esg-nav-link { display: inline-flex; align-items: center; padding: 14px 20px; font-size: 14px; font-weight: 500; color: #64748B; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: all 0.2s; }
.esg-nav-link:hover, .esg-nav-link.active { color: #2563EB; border-bottom-color: #2563EB; }

/* ─── Sections ─── */
.esg-section { padding: 56px 0; }
.esg-section-gray { background: #F8FAFC; }
.esg-section-title { font-size: 28px; font-weight: 700; color: #0F172A; margin: 0 0 8px; }
.esg-section-subtitle { font-size: 15px; color: #64748B; margin: 0 0 32px; max-width: 640px; }

/* ─── Overview + Stats ─── */
.esg-overview-grid { display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: start; }
.esg-overview-text p { font-size: 15px; color: #334155; line-height: 1.7; margin: 0 0 16px; }
.esg-overview-text p:first-child { font-size: 16px; font-weight: 500; color: #0F172A; }
.esg-stats-sidebar { display: flex; flex-direction: column; gap: 12px; }
.esg-stat-card { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 10px; padding: 20px; text-align: center; }
.esg-stat-value { display: block; font-size: 28px; font-weight: 700; color: #0F172A; line-height: 1.2; }
.esg-stat-label { display: block; font-size: 13px; color: #64748B; margin-top: 4px; }

/* ─── Snapshot Table ─── */
.esg-snapshot-table { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; margin-top: 24px; }
.esg-snapshot-row { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid #F1F5F9; }
.esg-snapshot-row:last-child { border-bottom: 0; }
.esg-snapshot-label { padding: 16px 20px; font-size: 14px; font-weight: 600; color: #0F172A; background: #FAFBFC; }
.esg-snapshot-value { padding: 16px 20px; font-size: 14px; color: #475569; }

/* ─── Tabs (Quickstart) ─── */
.esg-tabs { margin-top: 24px; }
.esg-tabs-nav { display: flex; gap: 0; border-bottom: 1px solid #E2E8F0; overflow-x: auto; }
.esg-tab-btn { padding: 12px 20px; font-size: 14px; font-weight: 500; color: #64748B; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.esg-tab-btn:hover { color: #1E293B; }
.esg-tab-btn.active { color: #2563EB; border-bottom-color: #2563EB; }
.esg-tabs-content { padding: 32px 0 0; }
.esg-tab-pane { display: none; }
.esg-tab-pane.active { display: block; }
.esg-tab-pane h3, .esg-tab-pane h4 { font-size: 16px; font-weight: 600; color: #0F172A; margin: 24px 0 8px; }
.esg-tab-pane h3:first-child, .esg-tab-pane h4:first-child { margin-top: 0; }
.esg-tab-pane p { font-size: 14px; color: #475569; line-height: 1.7; }
.esg-tab-pane ul, .esg-tab-pane ol { font-size: 14px; color: #475569; padding-left: 20px; }
.esg-tab-pane li { margin-bottom: 6px; }
.esg-tab-pane blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid #2563EB; background: #F8FAFC; border-radius: 0 8px 8px 0; font-size: 14px; color: #334155; }

/* Content cards inside tabs */
.esg-content-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; padding: 24px; margin-bottom: 16px; }
.esg-content-card h4 { margin-top: 0 !important; }
.esg-takeaway { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid #2563EB; background: #F0F7FF; border-radius: 0 6px 6px 0; font-size: 14px; }
.esg-takeaway strong { color: #2563EB; }

/* ─── Channels Grid ─── */
.esg-channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.esg-channel-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s; }
.esg-channel-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.esg-channel-image { height: 180px; overflow: hidden; }
.esg-channel-image img { width: 100%; height: 100%; object-fit: cover; }
.esg-channel-body { padding: 20px; }
.esg-channel-title { font-size: 16px; font-weight: 600; color: #0F172A; margin: 0 0 8px; }
.esg-channel-desc { font-size: 13px; color: #64748B; line-height: 1.6; }
.esg-channel-desc p { margin: 0 0 8px; }

.esg-note-card { margin-top: 24px; padding: 16px 20px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; }
.esg-note-card p { font-size: 14px; color: #92400E; margin: 0; }

/* ─── Support Section ─── */
.esg-support-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; margin-top: 24px; }
.esg-support-content p { font-size: 14px; color: #475569; line-height: 1.7; margin: 0 0 16px; }
.esg-support-content hr { border: none; border-top: 1px solid #E2E8F0; margin: 20px 0; }
.esg-support-image img { width: 100%; border-radius: 10px; }

/* ─── FAQ Grid ─── */
.esg-faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.esg-faq-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; padding: 24px; }
.esg-faq-q { font-size: 15px; font-weight: 600; color: #0F172A; margin: 0 0 8px; }
.esg-faq-a { font-size: 13px; color: #64748B; line-height: 1.6; }
.esg-faq-a p { margin: 0; }

/* ─── Disclaimer ─── */
.esg-disclaimer-section { padding: 32px 0; }
.esg-disclaimer { font-size: 12px; color: #94A3B8; line-height: 1.6; margin: 0; max-width: 640px; }

/* ─── CTA ─── */
.esg-cta { padding: 64px 0; text-align: center; }
.esg-cta-inner { max-width: 640px; }
.esg-cta-title { font-size: 30px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.esg-cta-desc { font-size: 15px; color: rgba(255,255,255,0.8); margin: 0 0 28px; line-height: 1.6; }
.esg-cta-btn { display: inline-block; padding: 14px 32px; font-size: 15px; font-weight: 600; color: #fff; border-radius: 8px; text-decoration: none; transition: opacity 0.2s; }
.esg-cta-btn:hover { opacity: 0.9; color: #fff; text-decoration: none; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .esg-hero-title { font-size: 26px; }
    .esg-overview-grid { grid-template-columns: 1fr; }
    .esg-stats-sidebar { flex-direction: row; flex-wrap: wrap; }
    .esg-stat-card { flex: 1; min-width: 120px; }
    .esg-snapshot-row { grid-template-columns: 1fr; }
    .esg-snapshot-label { border-bottom: none; padding-bottom: 4px; }
    .esg-snapshot-value { padding-top: 4px; }
    .esg-channels-grid { grid-template-columns: 1fr; }
    .esg-support-grid { grid-template-columns: 1fr; }
    .esg-faq-grid { grid-template-columns: 1fr; }
    .esg-section { padding: 40px 0; }
    .esg-section-title { font-size: 22px; }
}

@media (max-width: 480px) {
    .esg-container { padding: 0 16px; }
    .esg-hero-content { padding-bottom: 32px; }
    .esg-hero-title { font-size: 22px; }
}
