/* Poradňa a detail článku */

.hero-image img,.card-photo img,.article-figure img{height:auto}
html{scroll-behavior:smooth;scroll-padding-top:24px}
:root{--ink:#24472b}
.advice-hero{display:grid;grid-template-columns:1.03fr .97fr;gap:clamp(28px,5vw,74px);align-items:center;padding-block:42px 38px}
.eyebrow{margin:0 0 12px;color:#536b40;font-size:.875rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
h1,h2,h3{font-family:Nunito,Arial,sans-serif;color:var(--ink)}
.advice-hero h1{font-size:clamp(3rem,5vw,4.65rem);line-height:1.04;letter-spacing:-.04em;margin:0 0 18px}
.hero-lead{font-size:clamp(1.05rem,1.5vw,1.2rem);line-height:1.65;max-width:49ch;margin:0}
.hero-image{margin:0}
.hero-image img{display:block;width:100%;aspect-ratio:1.65;object-fit:cover;border-radius:65px 16px 45px 16px}
.hero-image figcaption{margin:8px 7px 0;font-size:.875rem;color:#5a6953}
.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:19px}
.section-heading h2{font-size:1.75rem;margin:0}
.section-heading p{color:#586a4c;margin:0}
.article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.article-card{border:1px solid var(--line);border-radius:23px;overflow:hidden;display:flex;flex-direction:column;background:#fff;transition:box-shadow .2s,transform .2s}
.article-card:hover{box-shadow:0 10px 26px #24472b13;transform:translateY(-3px)}
.card-photo{display:block;overflow:hidden}
.card-photo img{display:block;width:100%;aspect-ratio:1.55;object-fit:cover;transition:transform .3s}
.article-card:hover img{transform:scale(1.025)}
.card-body{padding:22px;display:flex;flex-direction:column;flex:1}
.card-topic{font-size:.875rem;color:#617944;font-weight:700;margin:0 0 10px}
.article-card h3{font-size:clamp(1.35rem,1.9vw,1.7rem);line-height:1.2;margin:0 0 13px;letter-spacing:-.02em}
.article-card h3 a{text-decoration:none}
.card-description{line-height:1.65;margin:0 0 24px;color:#4c5946}
.card-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px}
.card-bottom a{font-weight:700;color:#476b12;text-underline-offset:4px}
.read-time{font-size:.875rem;color:#626f5d}
.principle{display:grid;grid-template-columns:.65fr 1.35fr;gap:35px;border-top:1px solid var(--line);margin-top:35px;padding-top:27px}
.principle h2{font-size:1.45rem;line-height:1.2;margin:0}
.principle p{margin:0;line-height:1.7;max-width:78ch}
.overview-offer{margin-top:35px;margin-bottom:45px}
.article-page{padding-block:32px 45px}
.crumbs{list-style:none;margin:0 0 25px;padding:0;display:flex;flex-wrap:wrap;gap:9px;font-size:.875rem;color:#5e6d55}
.crumbs li+li:before{content:'/';padding-right:9px;color:#84917d}
.crumbs a{text-underline-offset:3px}
.article-header{max-width:940px}
.article-header h1{font-size:clamp(2.05rem,4.1vw,3.5rem);line-height:1.08;letter-spacing:-.035em;margin:0 0 20px;text-wrap:balance}
.article-lead{font-size:1.16rem;line-height:1.7;margin:0 0 18px;max-width:76ch}
.article-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:.9rem;color:#637358;margin-bottom:28px}
.article-layout{display:grid;grid-template-columns:minmax(190px,.63fr) minmax(0,2fr);gap:clamp(30px,4.5vw,68px);align-items:start}
.article-sidebar{position:sticky;top:24px;padding:19px 19px 22px;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.article-sidebar h2{font-size:1.05rem;margin:0 0 13px}
.toc{display:grid;gap:13px;font-size:.94rem;line-height:1.45}
.toc a{white-space:normal;color:#3e5d31;text-underline-offset:3px}
.article-content{max-width:800px;min-width:0}
.article-figure{margin:0 0 26px}
.article-figure img{display:block;width:100%;aspect-ratio:1.95;object-fit:cover;border-radius:20px 8px 20px 8px}
.article-figure figcaption{margin-top:9px;font-size:.875rem;color:#63705c}
.takeaway{padding:21px 24px;background:var(--surface);border-left:4px solid var(--accent);border-radius:0 15px 15px 0;margin-bottom:30px}
.takeaway h2{font-size:1.1rem;margin:0 0 6px}
.takeaway p{margin:0;line-height:1.65}
.article-section{margin-block:30px}
.article-section h2{font-size:clamp(1.4rem,2.2vw,1.85rem);line-height:1.2;letter-spacing:-.02em;margin:0 0 14px}
.article-section p{line-height:1.8;margin:0 0 14px}
.article-section li{line-height:1.75;margin-bottom:12px}
.article-section ol{padding-left:23px}
.article-section a,.source-list a{color:#416b23;text-underline-offset:3px}
.table-scroll{overflow-x:auto;margin-bottom:19px}
.table-scroll table{border-collapse:collapse;width:100%;font-size:.94rem;line-height:1.65;min-width:450px}
.table-scroll caption{text-align:left;font-weight:700;color:#526743;padding-bottom:10px}
.table-scroll th,.table-scroll td{text-align:left;border:1px solid #dce6d4;padding:12px;vertical-align:top}
.table-scroll thead{background:var(--surface)}
.table-scroll tbody th{min-width:90px}
.article-cta{border:1px solid #d7e4ca;border-radius:18px;background:var(--surface);padding:25px;margin-top:30px}
.article-cta h2{font-size:1.5rem;line-height:1.2;margin:0 0 11px}
.article-cta p{margin:0 0 18px;line-height:1.65}
.cta-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.cta-links>a:not(.offer-button){color:#416b23;text-underline-offset:3px}
.back-index{display:inline-block;margin-top:28px;color:#416b23;font-weight:700;text-underline-offset:4px}
@media(max-width:1030px){.article-grid{gap:15px}.card-body{padding:19px}.advice-hero{gap:28px}.article-layout{grid-template-columns:200px minmax(0,1fr);gap:28px}.footer-contact{grid-template-columns:1fr}}
@media(max-width:760px){.advice-hero{grid-template-columns:1fr;padding-top:30px;gap:23px}.advice-hero h1{font-size:3.1rem}.hero-image img{aspect-ratio:2.1;border-radius:40px 12px 27px 12px}.article-grid{grid-template-columns:1fr;gap:23px}.card-photo img{aspect-ratio:1.8}.article-card h3{font-size:1.6rem}.section-heading{align-items:start;flex-direction:column;gap:5px}.principle{grid-template-columns:1fr;gap:12px}.article-layout{grid-template-columns:1fr;gap:22px}.article-sidebar{position:static}.toc{grid-template-columns:1fr 1fr;gap:13px 20px}.article-header h1{font-size:2.3rem}.article-lead{font-size:1.05rem}.article-figure img{aspect-ratio:1.5}.article-section p{line-height:1.75}.offer-button{font-size:1rem}.takeaway{padding:18px}.article-cta{padding:21px}.article-meta{margin-bottom:22px}}
@media(max-width:420px){.toc{grid-template-columns:1fr}.advice-hero h1{font-size:2.8rem}.article-header h1{font-size:2.05rem}.hero-image figcaption{font-size:.875rem}.article-card .card-bottom{gap:8px}.article-section ol{padding-left:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.article-card,.card-photo img{transition:none}.article-card:hover{transform:none}.article-card:hover img{transform:none}}
.offer-panel { border-color: #d3e2c2; background: linear-gradient(115deg, #f1f7e9, #edf4e8); }
/* Výzva v Poradni (v náhľade boli štýly priamo v HTML) */
.overview-offer-title { margin: 0 0 10px; color: var(--green); font: 800 1.65rem/1.2 Nunito, Arial, sans-serif; }
.overview-offer-text { margin: 0; }
/* V detaile článku sa plávajúce tlačidlo „Napíšte nám“ nezobrazuje (ako v náhľade) */
.article-section figure { margin: 18px 0; }
.article-section figure img { display: block; width: 100%; height: auto; border-radius: 14px 6px 14px 6px; }
.article-section ul { padding-left: 22px; }
.toc a.is-active { font-weight: 700; }
.article-lead p { margin: 0 0 10px; }
.article-lead p:last-child { margin-bottom: 0; }
.takeaway p + p { margin-top: 8px; }
.article-sidebar p { margin: 0; }
