/* ekonom-gid.courses — design signature: editorial comparison layout */
:root {
  --green: #1a7f4e;
  --green-light: #e8f5ee;
  --green-dark: #115c38;
  --amber: #e8910a;
  --amber-light: #fff8ed;
  --bg: #f7f9f8;
  --surface: #ffffff;
  --border: #dde8e3;
  --text: #1c2b25;
  --text-muted: #5a7268;
  --text-light: #8ca89f;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 12px rgba(26,127,78,.10);
  --shadow-md: 0 4px 24px rgba(26,127,78,.14);
  --max-w: 1160px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }

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

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
.site-header {
  background: var(--surface);
  border-bottom: 2px solid var(--green);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--green); }
.logo-icon { width: 36px; height: 36px; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a { font-size: .88rem; font-weight: 500; color: var(--text); padding: 6px 12px; border-radius: var(--radius-sm); transition: background .2s, color .2s; }
.site-nav a:hover, .site-nav a.active { background: var(--green-light); color: var(--green); text-decoration: none; }
.nav-cta { background: var(--amber) !important; color: #fff !important; font-weight: 600 !important; }
.nav-cta:hover { background: #c97b08 !important; }

/* ── Breadcrumb ── */
.breadcrumb { padding: 14px 0 0; font-size: .83rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span + span::before { content: ' › '; margin: 0 4px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}
.hero-label { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 4px 16px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 18px; max-width: 780px; margin-left: auto; margin-right: auto; }
.hero p { font-size: 1.15rem; opacity: .9; max-width: 620px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Trust bar ── */
.trust-bar { background: var(--surface); border-top: 3px solid var(--amber); border-bottom: 1px solid var(--border); padding: 22px 0; }
.trust-bar-inner { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item-icon { font-size: 1.5rem; }
.trust-item-text strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--green); line-height: 1; }
.trust-item-text span { font-size: .8rem; color: var(--text-muted); }

/* ── Buttons ── */
.btn { display: inline-block; font-weight: 700; border-radius: var(--radius-sm); padding: 14px 28px; font-size: 1rem; cursor: pointer; border: none; transition: transform .15s, box-shadow .15s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: #c97b08; color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }

/* ── Section headings ── */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--text); margin-bottom: 10px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 36px; max-width: 600px; }
.section-title-center { text-align: center; }
.section-sub-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Cards grid ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: .93rem; color: var(--text-muted); line-height: 1.6; }
.card-link { display: inline-block; margin-top: 14px; font-size: .88rem; font-weight: 600; color: var(--green); }

/* ── Comparison table ── */
.comparison-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.comparison-table th { background: var(--green); color: #fff; font-weight: 700; padding: 14px 18px; text-align: left; }
.comparison-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.comparison-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--green-light); }
.comparison-table .winner-row td { background: var(--amber-light) !important; font-weight: 600; }
.comparison-table .winner-badge { display: inline-block; background: var(--amber); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-left: 6px; }
.check { color: var(--green); font-weight: 700; }
.cross { color: #c0392b; }

/* ── Featured product card ── */
.product-featured {
  background: linear-gradient(135deg, var(--green-light), var(--amber-light));
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 36px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
}
.product-featured h3 { font-size: 1.5rem; font-weight: 800; color: var(--green-dark); margin-bottom: 10px; }
.product-featured p { color: var(--text-muted); margin-bottom: 18px; }
.product-featured .price { font-size: 2rem; font-weight: 900; color: var(--green); }
.product-featured .price-old { font-size: 1rem; color: var(--text-light); text-decoration: line-through; margin-right: 8px; }
.product-badge-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 10px; }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-amber { background: var(--amber-light); color: var(--amber); }
.badge-winner { background: var(--amber); color: #fff; }

/* ── CTA banner ── */
.cta-banner { background: linear-gradient(135deg, var(--green-dark), var(--green)); border-radius: var(--radius); padding: 48px 40px; text-align: center; color: #fff; }
.cta-banner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { opacity: .9; margin-bottom: 28px; font-size: 1.05rem; }

/* ── Inline CTA strip ── */
.cta-strip { background: var(--amber-light); border: 1px solid #f0c060; border-left: 4px solid var(--amber); border-radius: var(--radius-sm); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 36px 0; }
.cta-strip p { font-weight: 600; font-size: 1rem; margin: 0; }

/* ── Article layout ── */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-body h2 { font-size: 1.45rem; font-weight: 800; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--green-light); color: var(--text); }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body li { margin-bottom: 6px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .92rem; }
.article-body table th { background: var(--green); color: #fff; padding: 11px 14px; text-align: left; }
.article-body table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.article-body table tr:nth-child(even) td { background: var(--green-light); }
.article-intro { font-size: 1.1rem; color: var(--text-muted); border-left: 4px solid var(--green); padding-left: 18px; margin-bottom: 28px; }

/* ── Sidebar ── */
.sidebar { position: sticky; top: 80px; }
.sidebar-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.sidebar-box h4 { font-size: .95rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box ul li { padding: 5px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-cta { background: linear-gradient(135deg, var(--green-light), var(--amber-light)); border: 2px solid var(--green); border-radius: var(--radius); padding: 24px; text-align: center; }
.sidebar-cta h4 { font-size: 1.05rem; font-weight: 800; color: var(--green-dark); margin-bottom: 8px; }
.sidebar-cta p { font-size: .88rem; color: var(--text-muted); margin-bottom: 16px; }
.sidebar-cta .price { font-size: 1.5rem; font-weight: 900; color: var(--green); margin-bottom: 14px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq-q { width: 100%; background: none; border: none; padding: 18px 22px; text-align: left; font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--text); }
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--green); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 22px 18px; color: var(--text-muted); line-height: 1.7; font-size: .95rem; }
.faq-item.open .faq-a { display: block; }

/* ── Ratings / stars ── */
.stars { color: #f0b429; font-size: 1.1rem; letter-spacing: 2px; }
.rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rating-num { font-size: 1.4rem; font-weight: 900; color: var(--green); }

/* ── Review cards ── */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.review-card .stars { font-size: .95rem; }
.review-card p { font-size: .93rem; margin: 10px 0; color: var(--text-muted); font-style: italic; }
.review-author { font-size: .84rem; font-weight: 600; color: var(--text-muted); }

/* ── Process steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; counter-increment: step; position: relative; }
.step-num { width: 36px; height: 36px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; margin-bottom: 14px; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--text-muted); }

/* ── Alert / note ── */
.note { background: var(--green-light); border-left: 4px solid var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; font-size: .93rem; margin: 20px 0; }
.note strong { color: var(--green-dark); }
.note-warning { background: var(--amber-light); border-left-color: var(--amber); }

/* ── Related links ── */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related-link { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .9rem; font-weight: 600; color: var(--green); display: block; transition: box-shadow .2s; }
.related-link:hover { box-shadow: var(--shadow); text-decoration: none; }
.related-link span { display: block; font-size: .8rem; font-weight: 400; color: var(--text-muted); margin-top: 4px; }

/* ── Footer ── */
.site-footer { background: var(--text); color: rgba(255,255,255,.75); padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-about .logo { color: #fff; margin-bottom: 12px; }
.footer-about p { font-size: .88rem; line-height: 1.7; }
.footer-col h5 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ── Blog list ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img { height: 160px; background: linear-gradient(135deg, var(--green-light), var(--amber-light)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-card-body { padding: 22px; }
.blog-meta { font-size: .8rem; color: var(--text-muted); margin-bottom: 8px; display: flex; gap: 12px; }
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--green); text-decoration: none; }
.blog-card-body p { font-size: .88rem; color: var(--text-muted); }
.tag { display: inline-block; background: var(--green-light); color: var(--green); font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 10px; margin-right: 4px; }

/* ── Page header (inner pages) ── */
.page-header { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); color: #fff; padding: 52px 0 40px; }
.page-header h1 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.page-header p { opacity: .9; font-size: 1.05rem; max-width: 640px; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-featured { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 28px; }
}
@media (max-width: 600px) {
  .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 8px; }
  .site-nav { justify-content: center; }
  .hero { padding: 48px 0 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: .82rem; }
  .comparison-table td, .comparison-table th { padding: 10px 12px; }
  .cta-strip { flex-direction: column; text-align: center; }
}

/* ===== 2026-10 rebuild: content blocks ===== */
.eyebrow{font-size:.85rem;color:var(--text-muted);margin-bottom:6px}
.article-body .tip-box,.article-body .warning-box,.article-body .note{border-radius:var(--radius);padding:16px 18px;margin:22px 0;line-height:1.6}
.article-body .tip-box{background:var(--green-light);border-left:4px solid var(--green)}
.article-body .warning-box{background:var(--amber-light);border-left:4px solid var(--amber)}
.article-body .note{background:var(--bg);border:1px solid var(--border);font-size:.95rem}
.cta-chapter{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:26px 0;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--amber);border-radius:var(--radius)}
.cta-chapter p{flex:1 1 320px;margin:0!important;font-weight:600}
.cta-small{display:block;font-size:.78rem;color:var(--text-muted);margin-top:6px}
.cta-chapter .cta-small{flex-basis:100%;margin-top:0}
.cta-box{margin:34px 0;padding:24px;background:var(--green-light);border-radius:var(--radius);text-align:center}
.cta-box h2{margin-top:0!important}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:10px;padding:0 16px}
.faq summary{cursor:pointer;font-weight:700;padding:14px 0;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:var(--green);font-weight:800}
.faq details[open] summary::after{content:"−"}
.faq details p{padding-bottom:14px;margin:0}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:12px}
.card-link-wrap{display:block;color:inherit;text-decoration:none}
.card-link-wrap:hover{text-decoration:none}
.hub .cards{margin-top:16px}
.footer-util{list-style:none;margin-top:12px;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.88rem}
.footer-util a{color:inherit;opacity:.85}
.sidebar-box li strong{font-weight:700}
/* calculator */
.calc{margin:20px 0 28px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.calc h3{margin-top:0}
.calc-hint{font-size:.9rem;color:var(--text-muted)}
.calc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px 16px;margin:12px 0}
.calc-row{display:flex;flex-direction:column;gap:4px;font-size:.9rem}
.calc-row input{padding:9px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);font:inherit;width:100%}
.calc-income input{max-width:260px;font-weight:700}
.calc-out{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.calc-out div{background:var(--green-light);border-radius:var(--radius-sm);padding:10px 12px}
.calc-out span{display:block;font-size:.8rem;color:var(--text-muted)}
.calc-out strong{font-size:1.15rem}
.calc-verdict{font-weight:600}
@media (max-width:600px){.calc-out{grid-template-columns:1fr}.cta-chapter .btn{width:100%;text-align:center}}
.page-header .eyebrow,.hero .eyebrow{color:rgba(255,255,255,.78)}
.page-header .breadcrumb,.page-header .breadcrumb a,.page-header .breadcrumb span{color:rgba(255,255,255,.72)}
.page-header .breadcrumb a:hover{color:#fff}
@media (max-width:768px){
  .site-header{position:static}
  .site-nav{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%}
  .site-nav::-webkit-scrollbar{display:none}
  .site-nav a{white-space:nowrap;flex:0 0 auto}
}
