/* ═══════════════════════════════════════════════════════════════
   TopEpoxy — te-blog.css  ·  VERZE: 4 (5. 7. 2026)
   Styly VÝHRADNĚ pro články blogu (body.type-post). Dvě vrstvy:
   A) restyle Pobo widgetů (widget-, rc-, pb-) — drží staré články,
      dokud nejsou zmigrované; HTML se nemění.
   B) tb- KOMPONENTY pro články v NAŠEM HTML (migrace z Poba) —
      vzor WOW z produktových detailů (tw-) a hubu (tk-).
   Izolace: vše navěšeno na body.type-post (jinde se nic neaplikuje).
   Nasazení: nahrát do /user/documents/upload/css/ a do hlavičky:
   <link rel="stylesheet" href="/user/documents/upload/css/te-blog.css?v=4">
   Párový JS: te-blog.js (progress bar, doba čtení; TOC jen pro Pobo).
   Po každé změně zvednout číslo zde i v ?v=.
   ═══════════════════════════════════════════════════════════════ */

/* ── LAYOUT: čitelný sloupec místo plné šířky (1358 px → 900 px) ── */
body.type-post .news-item-detail{max-width:900px;margin:0 auto;
 font-family:'Inter',system-ui,sans-serif;color:#3A4654}
body.type-post .news-item-detail h1{font-size:clamp(26px,3.4vw,38px);font-weight:800;
 letter-spacing:-.6px;line-height:1.2;color:#06263F;margin:8px 0 10px}
body.type-post .news-item-detail>time{display:inline-block;font-size:13px;font-weight:600;
 color:#5A6E80;background:#F3F8FC;border:1px solid #E2EAF1;border-radius:999px;
 padding:4px 14px;margin:0 0 18px}
body.type-post .tb-readtime{color:#0E4D73;font-weight:700}

/* ── ČTECÍ PROGRESS BAR (vkládá te-blog.js) ── */
body.type-post .tb-progress{position:fixed;top:0;left:0;height:3px;width:0;z-index:9999;
 background:linear-gradient(90deg,#0E4D73,#35C3E8);transition:width .1s linear;pointer-events:none}

/* ── OBSAH NÁVODU (TOC z kapitol, vkládá te-blog.js) ── */
body.type-post .tb-toc{scroll-margin-top:110px;background:linear-gradient(135deg,#F3F8FC,#fff);border:1px solid #D9E6F0;
 border-radius:16px;padding:16px 20px;margin:6px 0 22px}
body.type-post .tb-toc__head{font-size:15px;font-weight:800;color:#06263F;margin:0 0 10px}
body.type-post .tb-toc__head::before{content:"☰";color:#35C3E8;margin-right:8px;font-weight:900}
body.type-post .tb-toc ol{margin:0;padding:0;list-style:none;counter-reset:tbtoc;
 display:grid;grid-template-columns:1fr 1fr;gap:4px 22px}
body.type-post .tb-toc li{counter-increment:tbtoc;padding:3px 0}
body.type-post .tb-toc li::before{content:counter(tbtoc);display:inline-block;width:21px;height:21px;
 margin-right:9px;background:#D9F2FB;color:#0E4D73;border-radius:50%;
 font-size:11.5px;font-weight:800;text-align:center;line-height:21px}
body.type-post .tb-toc a{color:#0E4D73;font-weight:600;font-size:14px;text-decoration:none}
body.type-post .tb-toc a:hover{text-decoration:underline;text-decoration-color:#35C3E8}
@media (max-width:640px){body.type-post .tb-toc ol{grid-template-columns:1fr}}

/* ── TYPOGRAFIE OBSAHU (Pobo widget-typography) ── */
body.type-post .widget-typography{font-size:15.5px;line-height:1.7;color:#3A4654}
body.type-post .widget-typography strong{color:#122334}
body.type-post .widget-typography a{color:#0E4D73;font-weight:700;text-decoration:none;
 border-bottom:1px dotted #35C3E8}
body.type-post .widget-typography a:hover{border-bottom-style:solid}
body.type-post .widget-typography h2{font-size:clamp(19px,2.3vw,24px);font-weight:800;
 letter-spacing:-.4px;color:#0E4D73;margin:32px 0 12px;padding-bottom:8px;
 border-bottom:3px solid #D9F2FB}
body.type-post .widget-typography h3{font-size:16.5px;font-weight:800;color:#122334;margin:20px 0 8px}
body.type-post .widget-typography h4{font-size:15px;font-weight:800;color:#0E4D73;margin:16px 0 6px}
body.type-post .widget-typography ul li::marker,
body.type-post .widget-typography ol li::marker{color:#35C3E8;font-weight:800}

/* ── KAPITOLY (Pobo widget-title-line) = hlavní předěly článku ── */
body.type-post .rc-title-line{margin:44px 0 6px}
body.type-post .rc-title-line__wrap{position:relative;padding-top:14px}
body.type-post .rc-title-line__wrap::before{content:"";position:absolute;top:0;left:0;
 width:64px;height:4px;border-radius:2px;background:linear-gradient(90deg,#0E4D73,#35C3E8)}
body.type-post .rc-title-line__title{font-size:clamp(22px,2.8vw,29px);font-weight:800;
 letter-spacing:-.5px;line-height:1.25;color:#06263F;margin:0;border:none;padding:0}
/* fixní hlavička Shoptetu nesmí překrýt cíl kotvy z TOC */
body.type-post .rc-title-line__title{scroll-margin-top:120px}

/* ── PRODUKTOVÝ SPOTLIGHT (rc-image-left/right-overlay) ── */
body.type-post .rc-image-left-overlay,
body.type-post .rc-image-right-overlay{background:linear-gradient(135deg,#F3F8FC,#fff);
 border:1px solid #D9E6F0;border-radius:16px;padding:20px 22px}
body.type-post .rc-image-left-overlay h2,
body.type-post .rc-image-right-overlay h2{border:none;padding:0;margin:0 0 10px}
body.type-post .rc-image-left-overlay__image img,
body.type-post .rc-image-right-overlay__image img{border-radius:12px}
body.type-post .rc-image-left-overlay__link,
body.type-post .rc-image-right-overlay__link{display:inline-block;background:#F5A623;
 color:#06263F !important;font-weight:800;font-size:14px;border:none !important;
 border-radius:10px;padding:10px 22px;margin-top:12px;text-decoration:none;
 box-shadow:0 4px 14px rgba(245,166,35,.35);transition:transform .2s,box-shadow .2s}
body.type-post .rc-image-left-overlay__link:hover,
body.type-post .rc-image-right-overlay__link:hover{transform:translateY(-2px);
 box-shadow:0 8px 20px rgba(245,166,35,.45)}

/* ── PRODUKTOVÉ KARTY (pb-product-card v karuselech) ── */
body.type-post .pb-product-card{background:#fff;border:1px solid #E2EAF1;border-radius:14px;
 padding:12px;height:100%;transition:border-color .2s,box-shadow .2s,transform .2s}
body.type-post .pb-product-card:hover{border-color:#B9E5F5;transform:translateY(-3px);
 box-shadow:0 10px 26px rgba(6,38,63,.12)}
body.type-post .pb-product-card__image-container img{border-radius:10px}
body.type-post .pb-product-card__title{font-size:13.5px;font-weight:700;line-height:1.35;
 color:#0E4D73;margin:8px 0 4px;border:none;padding:0}
body.type-post .pb-product-card__price{display:block;font-size:14.5px;font-weight:800;
 color:#06263F;margin:0 0 8px}
body.type-post .pb-product-card__link{display:inline-block;font-size:13px;font-weight:800;
 color:#0E4D73 !important;background:#fff;border:2px solid #B9E5F5 !important;border-radius:9px;
 padding:6px 16px;text-decoration:none;transition:background .2s,border-color .2s,color .2s}
body.type-post .pb-product-card:hover .pb-product-card__link{background:#F5A623;
 border-color:#F5A623 !important;color:#06263F !important}

/* ── VÝHODY/NEVÝHODY (rc-rating-two) — vzor tk-pros/tk-cons ── */
body.type-post .rc-rating-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.type-post .rc-rating-two__const,
body.type-post .rc-rating-two__pros{border-radius:14px;padding:16px 18px;border:1px solid #E2EAF1;background:#fff}
/* tón panelu podle obsahu (plus = zelený, minus = červený) — Pobo má třídy prohozené, řídíme se položkami */
body.type-post .rc-rating-two__const:has(.rc-rating-two__list-item--plus),
body.type-post .rc-rating-two__pros:has(.rc-rating-two__list-item--plus){background:#F2FAF5;border-color:#CBE8D5}
body.type-post .rc-rating-two__const:has(.rc-rating-two__list-item--minus),
body.type-post .rc-rating-two__pros:has(.rc-rating-two__list-item--minus){background:#FCF5F4;border-color:#F0D6D2}
body.type-post .rc-rating-two__header{font-size:16px;font-weight:800;color:#122334;
 border:none;padding:0;margin:0 0 10px}
body.type-post .rc-rating-two__list{list-style:none;margin:0;padding:0}
body.type-post .rc-rating-two__list-item{position:relative;padding:4px 0 4px 26px;font-size:14px}
body.type-post .rc-rating-two__list-item--plus::before{content:"✓";position:absolute;left:0;top:4px;
 color:#0E7A3B;font-weight:900}
body.type-post .rc-rating-two__list-item--minus::before{content:"✗";position:absolute;left:0;top:4px;
 color:#C0392B;font-weight:900}
@media (max-width:640px){body.type-post .rc-rating-two{grid-template-columns:1fr}}

/* ── OBRÁZKY, GALERIE, VIDEO ── */
body.type-post .rc-image-left__img,
body.type-post .rc-image-right__img,
body.type-post .rc-image-half-left__img,
body.type-post .widget-gallery img{border-radius:12px;box-shadow:0 6px 20px rgba(6,38,63,.10)}
body.type-post .rc-gallery__image-title{display:block;text-align:center;font-size:12.5px;
 font-style:italic;color:#5A6E80;margin-top:7px}
body.type-post .pb-embed-responsive{border-radius:14px;overflow:hidden;
 box-shadow:0 8px 24px rgba(6,38,63,.14)}

/* ── CTA TLAČÍTKO (widget-text-button .btn-primary) ── */
body.type-post .widget-container .btn.btn-primary{background:#F5A623;border-color:#F5A623;
 color:#06263F;font-weight:800;border-radius:12px;padding:12px 28px;
 box-shadow:0 4px 14px rgba(245,166,35,.35);transition:transform .2s,box-shadow .2s}
body.type-post .widget-container .btn.btn-primary:hover{background:#E8991B;border-color:#E8991B;
 transform:translateY(-2px);box-shadow:0 8px 20px rgba(245,166,35,.45)}

/* ── PŘEDCHOZÍ/DALŠÍ ČLÁNEK ── */
body.type-post .news-item-detail .next-prev a{color:#0E4D73;font-weight:700;text-decoration:none;
 border:1px solid #E2EAF1;border-radius:10px;padding:8px 18px;display:inline-block;margin:4px 6px;
 transition:border-color .2s,box-shadow .2s}
body.type-post .news-item-detail .next-prev a:hover{border-color:#B9E5F5;
 box-shadow:0 6px 16px rgba(6,38,63,.10)}

@media (prefers-reduced-motion:reduce){
 body.type-post .pb-product-card,
 body.type-post .rc-image-left-overlay__link,
 body.type-post .rc-image-right-overlay__link,
 body.type-post .widget-container .btn.btn-primary{transition:none}
 body.type-post .tb-progress{transition:none}}

/* ═══════════════════════════════════════════════════════════════
   VRSTVA B (v2): tb- komponenty — články v NAŠEM HTML (bez Poba)
   Obal článku: <div class="tb"> … </div>
   ═══════════════════════════════════════════════════════════════ */
body.type-post .tb{font-family:'Inter',system-ui,sans-serif;color:#3A4654;
 font-size:15.5px;line-height:1.7}
body.type-post .tb strong{color:#122334}
body.type-post .tb a{color:#0E4D73;font-weight:700;text-decoration:none;border-bottom:1px dotted #35C3E8}
body.type-post .tb a:hover{border-bottom-style:solid}
body.type-post .tb img{max-width:100%;height:auto}

/* úvodní perex — větší, tmavší */
body.type-post .tb-lead{font-size:17px;line-height:1.75;color:#122334}

/* stat strip (klíčová čísla návodu) */
body.type-post .tb-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}
body.type-post .tb-stat{background:linear-gradient(135deg,#06263F,#0E4D73);border-radius:14px;
 padding:14px 10px;text-align:center}
body.type-post .tb-stat b{display:block;font-size:19px;font-weight:800;color:#8FE3FF;letter-spacing:-.3px}
body.type-post .tb-stat span{font-size:11.5px;color:#B8CFDE;line-height:1.35;display:block;margin-top:3px}
@media (max-width:640px){body.type-post .tb-stats{grid-template-columns:1fr 1fr}}

/* kapitoly: velké číslo + titulek + gradientní linka */
body.type-post h2.tb-kap{display:flex;align-items:baseline;gap:14px;margin:54px 0 14px;
 padding-top:14px;position:relative;border:none;scroll-margin-top:120px;
 font-size:clamp(22px,2.8vw,29px);font-weight:800;letter-spacing:-.5px;line-height:1.25;color:#06263F}
body.type-post h2.tb-kap::before{content:"";position:absolute;top:0;left:0;width:64px;height:4px;
 border-radius:2px;background:linear-gradient(90deg,#0E4D73,#35C3E8)}
body.type-post h2.tb-kap>span{flex:none;font-size:34px;font-weight:800;color:#35C3E8;
 opacity:.4;letter-spacing:-2px;line-height:1}
body.type-post .tb h2:not(.tb-kap){font-size:clamp(19px,2.3vw,24px);font-weight:800;letter-spacing:-.4px;
 color:#0E4D73;margin:32px 0 12px;padding-bottom:8px;border-bottom:3px solid #D9F2FB;scroll-margin-top:120px}
body.type-post .tb h3{font-size:16.5px;font-weight:800;color:#122334;margin:22px 0 8px}
body.type-post .tb h4{font-size:15px;font-weight:800;color:#0E4D73;margin:16px 0 6px}

/* checklist ✓ (náhrada emoji ✔/✅ odrážek) */
body.type-post .tb ul.tb-check{list-style:none;margin:10px 0;padding:0}
body.type-post .tb ul.tb-check>li{position:relative;padding:4px 0 4px 32px}
body.type-post .tb ul.tb-check>li::before{content:"✓";position:absolute;left:0;top:6px;
 width:21px;height:21px;background:#D9F2FB;color:#0E4D73;border-radius:50%;
 font-size:12px;font-weight:900;text-align:center;line-height:21px}
/* běžné odrážky › (náhrada 🔹) */
body.type-post .tb ul:not(.tb-check):not(.tb-toc-list){list-style:none;margin:10px 0;padding:0}
body.type-post .tb ul:not(.tb-check):not(.tb-toc-list)>li{position:relative;padding:4px 0 4px 24px}
body.type-post .tb ul:not(.tb-check):not(.tb-toc-list)>li::before{content:"›";position:absolute;left:5px;top:2px;
 color:#35C3E8;font-weight:900;font-size:16px}
body.type-post .tb ul ul{margin:2px 0 0}
body.type-post .tb ul ul>li{font-size:14px;color:#5A6E80}

/* TIP / POZOR boxy (náhrada 💡 odstavců) */
body.type-post .tb-tip,body.type-post .tb-warn{border-radius:0 12px 12px 0;
 padding:12px 18px;margin:14px 0}
body.type-post .tb-tip{background:#FFF8EC;border-left:4px solid #F5A623}
body.type-post .tb-warn{background:#FCF5F4;border-left:4px solid #C0392B}
body.type-post .tb-tip::before,body.type-post .tb-warn::before{display:inline-block;margin:0 9px 0 0;
 vertical-align:1px;font-size:10px;font-weight:900;letter-spacing:.6px;color:#fff;border-radius:6px;padding:3px 8px}
body.type-post .tb-tip::before{content:"TIP";background:#F5A623}
body.type-post .tb-warn::before{content:"POZOR";background:#C0392B}

/* kroky (timeline s čísly) */
body.type-post .tb ol.tb-steps{list-style:none;counter-reset:tbs;margin:14px 0;padding:0}
body.type-post .tb ol.tb-steps>li{counter-increment:tbs;position:relative;
 padding:6px 0 14px 44px;border-left:2px solid #D9F2FB;margin-left:14px}
body.type-post .tb ol.tb-steps>li:last-child{border-left-color:transparent}
body.type-post .tb ol.tb-steps>li::before{content:counter(tbs);position:absolute;left:-15px;top:4px;
 width:28px;height:28px;background:linear-gradient(135deg,#0E4D73,#35C3E8);color:#fff;
 border-radius:50%;font-size:13px;font-weight:800;text-align:center;line-height:28px}

/* výhody / nevýhody */
body.type-post .tb-pc{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
body.type-post .tb-pros,body.type-post .tb-cons{border-radius:14px;padding:16px 18px}
body.type-post .tb-pros{background:#F2FAF5;border:1px solid #CBE8D5}
body.type-post .tb-cons{background:#FCF5F4;border:1px solid #F0D6D2}
body.type-post .tb-pros>b,body.type-post .tb-cons>b{display:block;font-size:15.5px;color:#122334;margin:0 0 8px}
body.type-post .tb-pros ul,body.type-post .tb-cons ul{list-style:none;margin:0;padding:0}
body.type-post .tb-pros li,body.type-post .tb-cons li{position:relative;padding:4px 0 4px 26px;font-size:14px}
body.type-post .tb .tb-pc .tb-pros ul>li,body.type-post .tb .tb-pc .tb-cons ul>li{padding:4px 0 4px 26px}
body.type-post .tb .tb-pc .tb-pros ul>li::before{content:"✓";position:absolute;left:0;top:4px;color:#0E7A3B;font-weight:900;
 width:auto;height:auto;background:none;font-size:14px;line-height:inherit}
body.type-post .tb .tb-pc .tb-cons ul>li::before{content:"✗";position:absolute;left:0;top:4px;color:#C0392B;font-weight:900;
 width:auto;height:auto;background:none;font-size:14px;line-height:inherit}
@media (max-width:640px){body.type-post .tb-pc{grid-template-columns:1fr}}

/* obrázek + text vedle sebe */
body.type-post .tb-split{display:grid;grid-template-columns:300px 1fr;gap:22px;
 align-items:start;margin:18px 0}
body.type-post .tb-split--rev{grid-template-columns:1fr 300px}
body.type-post .tb-split>figure{margin:0}
body.type-post .tb-split--rev>figure{order:2}
body.type-post .tb-split img{width:100%;border-radius:12px;box-shadow:0 6px 20px rgba(6,38,63,.10)}
body.type-post .tb-split :is(h3,h4):first-child{margin-top:0}
@media (max-width:760px){body.type-post .tb-split,body.type-post .tb-split--rev{grid-template-columns:1fr}
 body.type-post .tb-split--rev>figure{order:0}}

/* figury a galerie */
body.type-post .tb figure{margin:18px 0}
body.type-post .tb figure img{width:100%;border-radius:12px;box-shadow:0 6px 20px rgba(6,38,63,.10)}
body.type-post .tb figcaption{text-align:center;font-size:12.5px;font-style:italic;color:#5A6E80;margin-top:7px}
body.type-post .tb-gal{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0}
body.type-post .tb-gal figure{margin:0}
@media (max-width:520px){body.type-post .tb-gal{grid-template-columns:1fr}}

/* produktový spotlight (doporučený produkt s CTA) */
body.type-post .tb-prod{display:grid;grid-template-columns:1fr 280px;gap:22px;align-items:center;
 background:linear-gradient(135deg,#F3F8FC,#fff);border:1px solid #D9E6F0;border-radius:16px;
 padding:22px 24px;margin:22px 0}
body.type-post .tb-prod>figure{margin:0}
body.type-post .tb-prod img{width:100%;border-radius:12px}
body.type-post .tb-prod h3{margin-top:0;font-size:19px;color:#06263F}
@media (max-width:760px){body.type-post .tb-prod{grid-template-columns:1fr}
 body.type-post .tb-prod>figure{order:-1;max-width:340px}}

/* jantarové CTA tlačítko */
body.type-post .tb-btn{display:inline-block;background:#F5A623;color:#06263F !important;
 font-weight:800;font-size:14px;border:none !important;border-radius:10px;padding:11px 24px;
 margin-top:10px;text-decoration:none;box-shadow:0 4px 14px rgba(245,166,35,.35);
 transition:transform .2s,box-shadow .2s}
body.type-post .tb-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(245,166,35,.45)}

/* mřížka produktových karet (bez cen — stárnou; užitek místo ceny) */
body.type-post .tb-recwrap{position:relative;margin:18px 0}
body.type-post .tb-rec{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:18px 0;
 padding:4px 2px 10px;scrollbar-width:thin;scrollbar-color:#B9E5F5 transparent}
body.type-post .tb-recwrap .tb-rec{margin:0}
body.type-post .tb-rec::-webkit-scrollbar{height:6px}
body.type-post .tb-rec::-webkit-scrollbar-track{background:transparent}
body.type-post .tb-rec::-webkit-scrollbar-thumb{background:#B9E5F5;border-radius:3px}
body.type-post .tb-rec>a{position:relative;flex:0 0 205px;scroll-snap-align:start;
 display:flex;flex-direction:column;background:#fff;border:1px solid #E2EAF1;
 border-radius:14px;padding:14px;text-decoration:none;border-bottom:1px solid #E2EAF1 !important;
 transition:border-color .2s,box-shadow .2s,transform .2s}
body.type-post .tb-rec>a:hover{border-color:#B9E5F5;transform:translateY(-3px);
 box-shadow:0 10px 26px rgba(6,38,63,.12)}
body.type-post .tb-rec img{width:100%;height:120px;object-fit:contain;margin-bottom:10px}
body.type-post .tb-rec b{font-size:13.5px;font-weight:700;line-height:1.35;color:#0E4D73}
body.type-post .tb-rec span{font-size:12.5px;color:#5A6E80;margin-top:4px;flex:1}
body.type-post .tb-rec i{font-style:normal;font-size:13px;font-weight:800;color:#F5A623;margin-top:8px}
/* badge „NAŠE VOLBA" na první kartě (jen seznamy s jasným favoritem: .tb-rec--pick) */
body.type-post .tb-rec--pick>a:first-child{border-color:#8FD8EE;box-shadow:0 0 0 1px #8FD8EE}
body.type-post .tb-rec--pick>a:first-child::before{content:"★ NAŠE VOLBA";position:absolute;top:10px;left:10px;
 background:#F5A623;color:#06263F;font-size:10px;font-weight:900;letter-spacing:.5px;
 border-radius:6px;padding:3px 8px;z-index:1;box-shadow:0 3px 10px rgba(245,166,35,.4)}
body.type-post .tb-rec--pick>a:first-child img{margin-top:14px}
/* šipky carouselu (vkládá JS, jen když obsah přetéká) */
body.type-post .tb-recnav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;
 border-radius:50%;border:1px solid #D9E6F0;background:#fff;color:#0E4D73;font-size:17px;font-weight:900;
 cursor:pointer;z-index:2;box-shadow:0 6px 18px rgba(6,38,63,.18);display:flex;align-items:center;
 justify-content:center;transition:opacity .2s,transform .2s;line-height:1}
body.type-post .tb-recnav:hover{transform:translateY(-50%) scale(1.08)}
body.type-post .tb-recnav--prev{left:-13px}
body.type-post .tb-recnav--next{right:-13px}
body.type-post .tb-recnav[disabled]{opacity:0;pointer-events:none}
@media (max-width:900px){body.type-post .tb-recnav{display:none}}

/* video 16:9 */
body.type-post .tb-video{position:relative;padding-top:56.25%;border-radius:14px;overflow:hidden;
 box-shadow:0 8px 24px rgba(6,38,63,.14);margin:20px 0}
body.type-post .tb-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* kalkulačky vedle sebe */
body.type-post .tb-calc{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:16px 0}
@media (max-width:760px){body.type-post .tb-calc{grid-template-columns:1fr}}

/* závěrečný CTA band */
body.type-post .tb-band{background:linear-gradient(135deg,#06263F,#0E4D73);border-radius:18px;
 padding:30px 32px;margin:36px 0 10px;text-align:center}
body.type-post .tb .tb-band h2{border:none;color:#fff;margin:0 0 8px;padding:0;font-size:clamp(20px,2.6vw,26px)}
body.type-post .tb .tb-band p{color:#B8CFDE;margin:0 0 6px;font-size:15px}
body.type-post .tb-band .tb-btn{margin-top:14px}

/* ── v3: HERO článku (foto + overlay + meta chipy) ── */
body.type-post .tb-hero{position:relative;border-radius:18px;overflow:hidden;margin:2px 0 20px;
 box-shadow:0 14px 38px rgba(6,38,63,.22)}
body.type-post .tb-hero img{display:block;width:100%;max-height:440px;object-fit:cover}
body.type-post .tb-hero::after{content:"";position:absolute;inset:0;
 background:linear-gradient(180deg,rgba(6,38,63,0) 30%,rgba(6,38,63,.86) 100%)}
body.type-post .tb-hero__txt{position:absolute;left:26px;right:26px;bottom:20px;z-index:1;color:#fff}
body.type-post .tb-hero__eyebrow{display:inline-block;background:#F5A623;color:#06263F;
 font-size:11px;font-weight:900;letter-spacing:1.2px;border-radius:999px;padding:4px 12px;margin-bottom:10px}
body.type-post .tb-hero__title{font-size:clamp(19px,2.6vw,27px);font-weight:800;letter-spacing:-.4px;
 line-height:1.25;margin:0;text-shadow:0 2px 12px rgba(0,0,0,.35)}
body.type-post .tb-hero__meta{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:10px}
body.type-post .tb-hero__meta span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);
 backdrop-filter:blur(4px);border-radius:999px;padding:3px 12px;font-size:12px;font-weight:600;color:#DCEFF9}
@media (max-width:640px){body.type-post .tb-hero img{max-height:300px}
 body.type-post .tb-hero__txt{left:16px;right:16px;bottom:14px}}

/* drop cap úvodního odstavce */
body.type-post .tb-lead::first-letter{float:left;font-size:52px;line-height:.85;font-weight:800;
 color:#0E4D73;padding:5px 10px 0 0}

/* box „Co budete potřebovat" */
body.type-post .tb-box{background:linear-gradient(135deg,#F3F8FC,#fff);border:1px solid #D9E6F0;
 border-radius:16px;padding:18px 22px;margin:18px 0}
body.type-post .tb-box>b{display:block;font-size:15.5px;font-weight:800;color:#06263F;margin-bottom:10px}
body.type-post .tb-box>b::before{content:"🛠";margin-right:8px}
body.type-post .tb .tb-box ul.tb-check{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;margin:0}
@media (max-width:640px){body.type-post .tb .tb-box ul.tb-check{grid-template-columns:1fr}}

/* zvýraznění kapitoly po skoku z obsahu (přidává JS) */
@keyframes tbKapHi{0%{background:#FFF4DC}100%{background:transparent}}
body.type-post h2.tb-kap--hi{animation:tbKapHi 1.6s ease-out;border-radius:10px}

/* jemný zoom fotek v galeriích a splitech */
body.type-post .tb-gal img,body.type-post .tb-split img,body.type-post .tb figure img{transition:transform .3s ease}
body.type-post .tb-gal figure:hover img,body.type-post .tb-split figure:hover img{transform:scale(1.025)}

/* plovoucí tlačítko „Obsah" (vkládá JS po odscrollování obsahu) */
body.type-post .tb-fab{position:fixed;left:18px;bottom:18px;z-index:998;display:inline-flex;align-items:center;gap:7px;
 background:linear-gradient(135deg,#06263F,#0E4D73);color:#fff;font-family:'Inter',system-ui,sans-serif;
 font-size:13px;font-weight:700;border:none;border-radius:999px;padding:10px 18px;cursor:pointer;
 box-shadow:0 8px 24px rgba(6,38,63,.35);opacity:0;transform:translateY(14px);pointer-events:none;
 transition:opacity .25s,transform .25s}
body.type-post .tb-fab::before{content:"☰";color:#8FE3FF;font-size:14px}
body.type-post .tb-fab.tb-fab--on{opacity:1;transform:none;pointer-events:auto}
body.type-post .tb-fab:hover{box-shadow:0 12px 30px rgba(6,38,63,.45)}
@media (max-width:900px){body.type-post .tb-fab{left:12px;bottom:12px;padding:9px 15px}}

/* ── v4: SROVNÁVACÍ TABULKY ── */
body.type-post .tb-table{overflow-x:auto;border:1px solid #E2EAF1;border-radius:13px;margin:14px 0;background:#fff}
body.type-post .tb-table table{border-collapse:collapse;width:100%;margin:0;font-size:13.5px}
body.type-post .tb-table thead tr{background:#06263F}
body.type-post .tb-table thead th{color:#fff;padding:10px 13px;text-align:left;border:none;font-weight:700;white-space:nowrap}
body.type-post .tb-table td{padding:10px 13px;border:none;border-bottom:1px solid #E2EAF1;vertical-align:top;color:#3A4654}
body.type-post .tb-table tbody tr:last-child td{border-bottom:none}
body.type-post .tb-table tbody tr:nth-child(even){background:#F3F8FC}
body.type-post .tb-table td:first-child{font-weight:700;color:#122334}
body.type-post .tb-table .ok{color:#0E7A3B;font-weight:900}
body.type-post .tb-table .no{color:#C0392B;font-weight:900}

/* vizuální lišta (zrnitost brusiva apod.) */
body.type-post .tb-bar{position:relative;height:8px;min-width:110px;background:#E8F1F8;border-radius:4px;
 overflow:hidden;margin-top:6px}
body.type-post .tb-bar>i{position:absolute;left:0;top:0;bottom:0;border-radius:4px;
 background:linear-gradient(90deg,#0E4D73,#35C3E8)}

/* ── v4: ČASOVÁ OSA PROJEKTU ── */
body.type-post .tb-tl{display:flex;margin:20px 0 8px;overflow-x:auto;padding-bottom:6px}
body.type-post .tb-tl>div{flex:1;min-width:128px;position:relative;text-align:center;padding:28px 8px 0}
body.type-post .tb-tl>div::before{content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);
 width:14px;height:14px;border-radius:50%;background:linear-gradient(135deg,#0E4D73,#35C3E8);
 box-shadow:0 0 0 3px #D9F2FB}
body.type-post .tb-tl>div::after{content:"";position:absolute;top:12px;left:calc(50% + 11px);
 right:calc(-50% + 11px);height:2px;background:#D9F2FB}
body.type-post .tb-tl>div:last-child::after{content:none}
body.type-post .tb-tl b{display:block;font-size:13px;font-weight:800;color:#06263F;line-height:1.3}
body.type-post .tb-tl i{display:block;font-style:normal;font-size:12.5px;font-weight:800;color:#0E4D73;margin-top:3px}
body.type-post .tb-tl span{display:block;font-size:11.5px;color:#5A6E80;margin-top:2px;line-height:1.35}

/* ── v4: TOOLTIPY odborných pojmů (CSS-only, hover + focus/tap) ── */
body.type-post .tb-tt{position:relative;cursor:help;font-weight:700;color:#0E4D73;
 border-bottom:1px dashed #F5A623;outline:none}
body.type-post .tb-tt::after{content:attr(data-tt);position:absolute;left:50%;bottom:calc(100% + 9px);
 transform:translateX(-50%) translateY(4px);width:max-content;max-width:270px;background:#06263F;color:#DCEFF9;
 font-size:12.5px;font-weight:500;line-height:1.5;border-radius:10px;padding:9px 13px;opacity:0;
 pointer-events:none;transition:opacity .18s,transform .18s;z-index:60;
 box-shadow:0 10px 26px rgba(6,38,63,.32);text-align:left;white-space:normal}
body.type-post .tb-tt::before{content:"";position:absolute;left:50%;bottom:calc(100% + 4px);
 transform:translateX(-50%);border:5px solid transparent;border-top-color:#06263F;opacity:0;
 transition:opacity .18s;z-index:60}
body.type-post .tb-tt:hover::after,body.type-post .tb-tt:focus::after{opacity:1;transform:translateX(-50%) translateY(0)}
body.type-post .tb-tt:hover::before,body.type-post .tb-tt:focus::before{opacity:1}

/* ── v4: panel „V KOSTCE" (shrnutí kapitoly) ── */
body.type-post .tb-sum{background:linear-gradient(135deg,#EAF6FC,#F8FCFE);border:1px solid #C9E8F6;
 border-radius:16px;padding:16px 20px;margin:22px 0}
body.type-post .tb-sum>b{display:inline-block;background:#0E4D73;color:#8FE3FF;font-size:10.5px;
 font-weight:900;letter-spacing:1.2px;border-radius:6px;padding:3px 10px;margin:0 0 8px}
body.type-post .tb-sum>strong{display:block;font-size:15.5px;font-weight:800;color:#06263F;margin:0 0 8px}
body.type-post .tb .tb-sum ul{margin:0}
body.type-post .tb .tb-sum ul.tb-check>li{padding-top:3px;padding-bottom:3px}

@media (prefers-reduced-motion:reduce){
 body.type-post .tb-tt::after,body.type-post .tb-tt::before,body.type-post .tb-recnav{transition:none}
 body.type-post .tb-btn,body.type-post .tb-rec>a,body.type-post .tb-fab,
 body.type-post .tb-gal img,body.type-post .tb-split img,body.type-post .tb figure img{transition:none}
 body.type-post h2.tb-kap--hi{animation:none}}
