
:root{
  --green:#415f16;--green-dark:#26380e;--cream:#f6f1e3;--brown:#34291d;
  --gold:#d69b2d;--text:#1d1d1b;--border:#ded5c5;--muted:#6b6257;
  --shadow:0 12px 35px rgba(0,0,0,.08)
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#faf8f3}
img{max-width:100%;display:block} a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,calc(100% - 36px));margin:auto}
.site-header{background:#fff;border-bottom:1px solid #e8e3da;position:sticky;top:0;z-index:20}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 0}
.logo img{width:175px}.header-actions{display:flex;align-items:center;gap:12px}
.search{height:42px;border:1px solid #d7d0c5;border-radius:8px;padding:0 14px;min-width:240px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:12px 18px;font-weight:700;font-size:14px}
.btn-primary{background:var(--green);color:#fff}.btn-ghost{border:1px solid rgba(255,255,255,.75);color:#fff}
.btn-light{background:#f6f1e3;color:var(--green-dark)}.btn-gold{background:#fff7e2;color:#704d0c;border:1px solid #e2b14e}
.main-nav{border-top:1px solid #f0ede7}.nav-inner{display:flex;gap:36px;justify-content:center;padding:13px 0;font-size:14px;font-weight:700}
.hero{background:linear-gradient(90deg,#2a3a10 0%,#475f1f 55%,#6f7d3a 100%);color:#fff}
.hero-inner{min-height:390px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;overflow:hidden}
.hero-copy{padding:50px 0;position:relative}.eyebrow{font-size:13px;letter-spacing:.18em;font-weight:700;color:#f0d291}
.hero h1{font-size:48px;line-height:1.05;margin:12px 0 18px;max-width:650px}
.hero p{font-size:19px;line-height:1.5;max-width:560px;color:#f1f0e7}.hero-buttons{display:flex;gap:12px;margin-top:25px}
.hero-image{height:390px;overflow:hidden}.hero-image img{width:100%;height:100%;object-fit:cover}
.category-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}
.category-card{min-height:140px;border:1px solid var(--border);border-radius:14px;padding:24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;box-shadow:var(--shadow)}
.category-card .icon{font-size:34px;margin-bottom:8px}.category-card strong{font-size:20px}.category-card small{margin-top:6px;color:#6a6258}
.category-card.recipes{background:#f7f4e8}.category-card.guides{background:#eef2e7}.category-card.ideas{background:#fbf2dd}
.content-section{padding:44px 0 24px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}
.section-head h2{margin:0;font-size:25px}.section-head a{font-size:13px;font-weight:700;color:var(--green)}
.article-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.article-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,.05);transition:.18s}
.article-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.09)}
.article-card>img{width:100%;aspect-ratio:4/3;object-fit:cover}.card-body{padding:15px}
.tag{display:inline-block;padding:5px 8px;border-radius:4px;color:#fff;font-size:10px;font-weight:700;margin-bottom:9px}
.tag.green{background:#5b7a24}.tag.blue{background:#4c7aa3}.tag.orange{background:#c37a2c}
.card-body h3{font-size:19px;line-height:1.2;margin:0 0 8px}.card-body p{font-size:14px;line-height:1.45;color:#685f55;margin:0}
.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:28px 0}
.feature{min-height:210px;border-radius:14px;padding:26px;display:flex;align-items:end;justify-content:space-between;gap:20px}
.feature h2{margin:6px 0 8px;font-size:27px}.feature p{margin:0;max-width:470px;line-height:1.45}.feature .kicker,.kicker{font-weight:700;font-size:12px;letter-spacing:.08em}
.feature.author{background:linear-gradient(135deg,#314515,#596f28);color:#fff}
.search-suggest-card{min-height:210px;border:1px solid var(--border);border-radius:14px;background:#fff7e8;padding:24px;display:grid;grid-template-columns:.85fr 1.15fr;gap:22px;align-items:center;box-shadow:0 8px 26px rgba(0,0,0,.05)}
.search-suggest-copy h2{margin:6px 0 8px;font-size:27px}.search-suggest-copy p{margin:0;color:#6a6258;line-height:1.45}
.search-big{width:100%;height:48px;border:1px solid #d5c7a5;border-radius:9px;padding:0 14px;font-size:16px;background:#fff}
.suggestions{margin-top:7px;background:#fff;border:1px solid #ddd4c5;border-radius:9px;overflow:hidden}
.suggestions a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid #eee8de;font-size:13px}
.suggestions a:last-child{border-bottom:0}.suggestions small{font-size:9px;font-weight:700;color:#fff;background:var(--green);border-radius:4px;padding:4px 6px}
.all-results{display:inline-block;margin-top:9px;font-size:12px;font-weight:700;color:var(--green)}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px;margin-bottom:36px}
.benefits div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center}
.benefits span{font-size:27px;grid-row:1/3}.benefits strong{font-size:14px}.benefits small{color:#777065}
.site-footer{background:#34291d;color:#fff;padding:34px 0;margin-top:40px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}.footer-grid div{display:flex;flex-direction:column;gap:9px}
.footer-grid a{color:#e8dfd3;font-size:13px}.footer-logo{width:145px;filter:brightness(0) invert(1)}.footer-grid p{font-size:12px;color:#cfc5b7}

/* category */
.page-head{padding:38px 0 20px}.page-head h1{font-size:42px;margin:0 0 10px}.page-head p{color:var(--muted);max-width:720px;line-height:1.55}
.gold-inline{display:grid;grid-template-columns:40% 60%;border:1px solid #e6bf6d;background:linear-gradient(135deg,#f2d79f,#f8e8c6);border-radius:14px;overflow:hidden;margin:12px 0 30px}
.gold-inline img{width:100%;height:100%;min-height:260px;object-fit:cover}.gold-inline .gold-copy{padding:26px}
.gold-inline h2{margin:6px 0 10px;font-size:28px;color:#5b4112}.gold-inline p{color:#6b5328;line-height:1.55}

/* article detail */
.article-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;padding:38px 0}
.article-main{background:#fff;border:1px solid var(--border);border-radius:14px;padding:28px;box-shadow:0 8px 25px rgba(0,0,0,.05)}
.article-main h1{font-size:42px;line-height:1.08;margin:8px 0 14px}.article-meta{color:var(--muted);font-size:13px;margin-bottom:20px}
.article-hero-img{width:100%;max-height:560px;object-fit:cover;border-radius:12px;margin-bottom:20px}
.article-perex{font-size:19px;line-height:1.55;color:#3f3a33;background:#f7f3e8;border-radius:10px;padding:20px;margin:0 0 22px}
.article-body{font-size:17px;line-height:1.72}.article-body h2{color:var(--green-dark);margin-top:28px}
.article-body ul{padding-left:24px}.article-body li{margin:7px 0}
.sidebar-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;margin-bottom:18px}.sidebar-card h3{margin:0 0 12px}
.sidebar-card a{display:block;padding:8px 0;border-bottom:1px solid #eee7dc;font-size:14px}.sidebar-card a:last-child{border-bottom:0}

/* simple profile/static */
.simple-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:28px;box-shadow:0 8px 25px rgba(0,0,0,.05);margin:38px auto;max-width:850px}
.simple-card h1{margin-top:0}

@media (max-width:850px){
  .wrap{width:min(100% - 24px,760px)}.topbar{padding:12px 0}.logo img{width:145px}.search{display:none}
  .header-actions .btn{padding:10px 12px;font-size:12px}.main-nav{overflow:auto}.nav-inner{justify-content:flex-start;gap:22px;white-space:nowrap;padding:11px 12px;width:max-content}
  .hero-inner{grid-template-columns:1fr}.hero-copy{padding:34px 0 24px}.hero h1{font-size:35px}.hero p{font-size:16px}.hero-image{height:230px;margin:0 -12px}
  .category-strip{grid-template-columns:repeat(3,1fr);gap:8px}.category-card{min-height:110px;padding:14px 8px}.category-card strong{font-size:15px}.category-card small{font-size:11px}
  .article-grid{grid-template-columns:1fr 1fr}.feature-row{grid-template-columns:1fr}.search-suggest-card{grid-template-columns:1fr}.benefits{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}.article-shell{grid-template-columns:1fr}.gold-inline{grid-template-columns:1fr}.gold-inline img{min-height:220px;max-height:300px}
}
@media (max-width:520px){
  .hero h1,.article-main h1,.page-head h1{font-size:30px}.hero-buttons{flex-direction:column;align-items:stretch}
  .category-strip{grid-template-columns:1fr 1fr}.category-card:nth-child(3){grid-column:1/-1}.article-grid{grid-template-columns:1fr}
  .feature{align-items:flex-start;flex-direction:column}.benefits{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.article-main{padding:20px}
}

/* ===== BETA v12: DETAIL ČLÁNKU ===== */
.article-detail-page{background:#faf8f3;padding:28px 0 36px}
.article-detail-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(280px,.9fr);gap:24px}
.article-main{min-width:0}
.article-breadcrumb{font-size:12px;color:var(--muted);margin-bottom:12px}
.article-type-tag{display:inline-flex;align-items:center;background:var(--green);color:#fff;border-radius:5px;padding:5px 9px;font-weight:700;font-size:11px;margin-bottom:11px}
.article-title{font-size:42px;line-height:1.06;margin:0 0 11px}
.article-lead{font-size:17px;color:#675f55;line-height:1.55;margin:0 0 16px;max-width:850px}
.article-meta{display:flex;flex-wrap:wrap;gap:15px 22px;padding:13px 0 17px;border-bottom:1px solid var(--border);font-size:12px;color:#625a50}
.article-meta strong{color:#2e271f}
.article-gallery{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px;margin-top:18px}
.article-gallery-main img{display:block;width:100%;height:430px;object-fit:cover;border-radius:14px;border:1px solid var(--border);background:#f2ecdf}
.article-gallery-thumbs{display:grid;gap:10px}
.article-gallery-thumbs img{width:100%;height:98px;object-fit:cover;border-radius:10px;border:1px solid var(--border);background:#f2ecdf}
.article-info-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:14px;margin-top:14px}
.article-box{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}
.article-box h2{font-size:19px;margin:0 0 12px}
.article-box ul,.article-box ol{margin:0;padding-left:22px;line-height:1.7}
.article-body{margin-top:18px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px;line-height:1.7}
.article-body h2{font-size:22px;margin-top:0}
.article-video{position:relative;padding-top:56.25%;margin:18px 0;border-radius:10px;overflow:hidden;background:#111}
.article-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.article-signature{margin-top:16px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;display:flex;gap:14px;align-items:center}
.article-signature .avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#e8efdd;color:var(--green);font-weight:800}
.article-signature strong{display:block;margin-bottom:3px}
.article-cta{margin-top:16px;background:#f6f1df;border:1px solid #d7c99e;border-radius:12px;padding:18px;display:flex;justify-content:space-between;gap:16px;align-items:center}
.article-sidebar{display:flex;flex-direction:column;gap:14px}
.gold-card{background:linear-gradient(180deg,#fff5c9,#ffe8a1);border:3px solid #e6a819;border-radius:16px;padding:14px;box-shadow:0 8px 24px rgba(170,112,0,.15)}
.gold-card .gold-label{text-align:center;font-weight:800;color:#9d6500;letter-spacing:.08em;font-size:12px;margin-bottom:9px}
.gold-card img{width:100%;height:170px;object-fit:cover;border-radius:10px;border:1px solid rgba(166,106,0,.25)}
.gold-card h3{font-size:18px;margin:10px 0 6px}
.gold-card p{font-size:13px;line-height:1.45;color:#64533c}
.sidebar-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px}
.sidebar-card h3{font-size:16px;margin:0 0 12px}
.related-item{display:grid;grid-template-columns:76px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #eee7db}
.related-item:last-child{border-bottom:0}
.related-item img{width:76px;height:58px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}
.related-item strong{font-size:13px;line-height:1.3}
.related-item p{font-size:11px;color:var(--muted);margin:4px 0 0;line-height:1.35}
.views-note{font-size:11px;color:#7f7568;margin-top:8px}
@media(max-width:980px){
  .article-detail-grid{grid-template-columns:1fr}
  .article-sidebar{display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .article-title{font-size:34px}
  .article-gallery{grid-template-columns:1fr}
  .article-gallery-main img{height:330px}
  .article-gallery-thumbs{grid-template-columns:repeat(3,1fr)}
  .article-gallery-thumbs img{height:90px}
  .article-info-grid{grid-template-columns:1fr}
  .article-sidebar{grid-template-columns:1fr}
}
@media(max-width:520px){
  .article-detail-page{padding-top:18px}
  .article-title{font-size:29px}
  .article-lead{font-size:15px}
  .article-gallery-main img{height:260px}
  .article-gallery-thumbs img{height:76px}
  .article-cta{flex-direction:column;align-items:flex-start}
}


/* ===== BETA v15 – GLOBÁLNÍ PRÉMIOVÝ BOX BEZ KORUNKY ===== */
.premium-box{
  position:relative;box-sizing:border-box;background:linear-gradient(180deg,#fff8d9 0%,#ffe9a7 100%);
  border:2px solid #e6a20c;border-radius:14px;padding:18px;box-shadow:0 10px 28px rgba(164,108,0,.14)
}
.premium-box:before{content:"";position:absolute;inset:5px;border:1px solid rgba(230,162,12,.55);border-radius:10px;pointer-events:none}
.premium-box__label{position:relative;z-index:1;text-align:center;margin:0 0 13px;color:#9c6100;font-size:18px;font-weight:800}
.premium-box__body{position:relative;z-index:1;display:grid;grid-template-columns:42% 1fr;gap:13px;align-items:center}
.premium-box__image{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;display:block}
.premium-box__title{margin:0 0 7px;font-size:18px;line-height:1.25}
.premium-box__perex{margin:0 0 12px;font-size:13px;line-height:1.45;color:#5e513f}
.premium-box__button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px;border-radius:7px;background:#355f12;color:#fff!important;font-size:12px;font-weight:800;text-decoration:none}
@media(max-width:980px){
 .article-sidebar{display:contents}
 .premium-box{grid-column:1;margin-top:16px}
}
@media(max-width:640px){
 .premium-box{padding:16px 13px}
 .premium-box__body{grid-template-columns:40% 1fr;gap:10px}
 .premium-box__label{font-size:16px}
 .premium-box__title{font-size:16px}
 .premium-box__perex{font-size:12px}
}


/* ===== BETA v16: PROFIL AUTORA ===== */
.author-page{background:#faf8f3;padding:30px 0 38px}
.author-breadcrumb{font-size:12px;color:var(--muted);margin-bottom:14px}
.author-page h1{font-size:42px;line-height:1.05;margin:0 0 8px;text-transform:uppercase}
.author-subtitle{font-size:17px;color:#655d53;margin:0 0 18px}
.author-owner-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.author-owner-actions .btn{min-width:150px;text-align:center}
.author-profile-card{
  display:grid;grid-template-columns:170px minmax(0,1fr);
  gap:22px;background:#fff;border:1px solid #d8cfae;border-radius:14px;
  padding:22px;box-shadow:0 8px 26px rgba(0,0,0,.04)
}
.author-avatar-wrap{text-align:center}
.author-avatar{width:128px;height:128px;border-radius:50%;object-fit:cover;border:4px solid #d4c696;background:#eef1ef}
.author-name{font-size:24px;font-weight:800;margin:3px 0 4px}
.author-role{color:#655d53;margin-bottom:16px}
.author-stats{
  display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #e6ded0;
  background:#fffaf0;border-radius:10px;overflow:hidden
}
.author-stat{padding:15px 12px;border-right:1px solid #e6ded0;min-height:100px}
.author-stat:last-child{border-right:0}
.author-stat small{display:block;color:#746b60;font-size:11px;margin-bottom:8px}
.author-stat strong{font-size:16px;line-height:1.25}
.author-stat--articles{background:#fff5d8}
.author-stat--articles strong{display:block;font-size:30px;color:#d67c00;margin-bottom:4px}
.author-stat--articles a{font-size:11px;font-weight:800;color:#395c16}
.author-latest{padding-top:32px}
.author-latest .section-head{margin-bottom:14px}
.author-latest .article-grid{grid-template-columns:repeat(4,1fr)}
.author-view-all{text-align:center;margin-top:18px}
.author-help{
  margin-top:26px;background:#fff7df;border:1px solid #dfcf99;border-radius:12px;
  padding:18px;display:flex;justify-content:space-between;gap:18px;align-items:center
}
.author-help strong{display:block;font-size:18px;margin-bottom:4px}
.author-help span{color:#6d6458;font-size:13px}
@media(max-width:980px){
  .author-profile-card{grid-template-columns:140px minmax(0,1fr)}
  .author-stats{grid-template-columns:repeat(2,1fr)}
  .author-stat{border-bottom:1px solid #e6ded0}
  .author-stat--articles{grid-column:1/-1}
  .author-latest .article-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .author-page{padding-top:20px}
  .author-page h1{font-size:30px}
  .author-profile-card{grid-template-columns:1fr;padding:16px}
  .author-avatar{width:104px;height:104px}
  .author-profile-main{text-align:center}
  .author-stats{text-align:left;grid-template-columns:1fr 1fr}
  .author-stat--articles{grid-column:1/-1;text-align:center}
  .author-owner-actions{display:grid;grid-template-columns:1fr 1fr}
  .author-owner-actions .btn{min-width:0}
  .author-owner-actions .btn:last-child{grid-column:1/-1}
  .author-latest .article-grid{grid-template-columns:1fr}
  .author-help{flex-direction:column;align-items:flex-start}
  .author-help .btn{width:100%;text-align:center}
}


/* ===== LIVE compatibility additions ===== */
.site-header .userbar-live{display:flex;align-items:center;gap:0}
.site-header .userbar-live a{
  display:inline-flex;align-items:center;justify-content:center;height:42px;
  padding:0 12px;background:#4f6fc8;color:#fff;font-size:13px;font-weight:700
}
.site-header .userbar-live a:first-child{border-radius:8px 0 0 8px}
.site-header .userbar-live a:last-child{border-radius:0 8px 8px 0}
.site-header .header-actions{flex-wrap:wrap}
.site-header .search-form{margin:0}
.site-header .search-form .search{display:block}

.live-flash{width:min(1180px,calc(100% - 36px));margin:16px auto;padding:12px 14px;border-radius:9px}
.live-flash.alert-success{background:#edf8ef;border:1px solid #c7e5ca;color:#225b2b}
.live-flash.alert-danger{background:#fff0ee;border:1px solid #efc5be;color:#7c2d23}
.live-flash.alert-warning{background:#fff7e6;border:1px solid #ead5a5;color:#75520d}


.site-footer .footer-admin-block{display:flex;flex-direction:column;gap:9px}
.site-footer .footer-admin-block *{max-width:100%}
.site-footer .footer-admin-block a{color:#e8dfd3;font-size:13px}
.site-footer .toplist-live{display:flex;align-items:flex-start;justify-content:flex-start}
.site-footer .toplist-live img{width:88px!important;height:120px!important;filter:none}

.homepage-live .hero .hero-copy .article-perex p{margin:0}
.homepage-live .article-card .card-body p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.homepage-live .article-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.homepage-live .search-suggest-card form{margin:0}
.homepage-live .search-suggest-card .all-results{display:inline-block}

@media (max-width:850px){
  .site-header .header-actions{justify-content:flex-end}
  .site-header .userbar-live{order:3;width:100%;justify-content:flex-end}
}


/* ===== V22 HOTFIX: full 1180px content + legacy responsiveness ===== */
.live-content-shell{position:relative;min-width:0}


/* Keep legacy templates usable until each one is converted to BETA markup. */
.articledetail-wrapper,
.page-wrapper,
.article-list,
.gallery,
.article-body,
.signature,
.info{
  min-width:0;
}
.articledetail-wrapper img,
.page-wrapper img,
.article-list img,
.article-body img,
.signature img{
  max-width:100%;
  height:auto;
}
.articledetail-wrapper .gallery-view{
  overflow:hidden;
}
.articledetail-wrapper .gallery-view img{
  display:block;
  width:100%;
  max-height:560px;
  object-fit:cover;
}
.articledetail-wrapper .gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:8px;
}
.articledetail-wrapper .gallery-thumbs a{min-width:0}
.articledetail-wrapper .gallery-thumbs img{
  width:100%;
  height:88px;
  object-fit:cover;
  border-radius:8px;
}
.articledetail-wrapper iframe{
  max-width:100%;
}
.article-body table,
.page-wrapper table{
  max-width:100%;
  display:block;
  overflow-x:auto;
}

/* Home stays 1:1 with test site. */
.homepage-live .wrap,
.homepage-live .hero-inner,
.homepage-live .category-strip,
.homepage-live .content-section,
.homepage-live .feature-row,
.homepage-live .benefits{
  width:min(1180px,calc(100% - 36px));
  margin-left:auto;
  margin-right:auto;
}
.homepage-live .hero .hero-inner{width:min(1180px,calc(100% - 36px))}
.homepage-live .hero{width:100%}

/* Old Bootstrap rows can otherwise create horizontal overflow on mobile. */
@media(max-width:850px){
  .articledetail-wrapper .row,
  .page-wrapper .row{
    margin-left:0;
    margin-right:0;
  }
  .articledetail-wrapper .gallery-thumbs{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:520px){
  .articledetail-wrapper .gallery-thumbs{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .articledetail-wrapper .gallery-thumbs img{height:72px}
}


/* =========================================================
   V23 COMPLETE RESPONSIVE FRONTEND
   Testovací web /design-ai-082026 je vizuální zdroj pravdy.
   ========================================================= */

/* Global content safety */
body{overflow-x:hidden}
main,section,article,aside,form,div{min-width:0}
img,video,iframe,embed,object{max-width:100%}
iframe{border:0}
.live-page{background:#faf8f3;padding:28px 0 40px}
.live-page>.wrap{width:min(1180px,calc(100% - 36px));margin:auto}
.live-page-head{padding:10px 0 22px}
.live-page-head h1{font-size:42px;line-height:1.08;margin:0 0 8px}
.live-page-head p{color:var(--muted);font-size:16px;line-height:1.55;max-width:760px;margin:0}
.live-breadcrumb{font-size:12px;color:var(--muted);margin-bottom:12px}

/* Header: do not let old CSS distort the BETA layout */
.site-header .topbar{float:none!important;height:auto!important}
.site-header .header-actions{float:none!important}
.site-header .main-nav{height:auto!important}
.site-header .nav-inner{float:none!important}
.site-header .logo{float:none!important}
.site-header .logo img{height:auto!important}
.site-header .search-form{width:auto}
.site-header .search-form .search{box-sizing:border-box}
.site-header .userbar-live{white-space:nowrap}

/* Universal modern buttons */
.live-page .btn,
.site-header .btn,
.site-footer .btn{
  border:0;letter-spacing:0;text-transform:none;
  border-radius:8px;padding:12px 18px;font-size:14px;font-weight:700;line-height:1.2
}
.live-page .btn-primary,.live-page .btn-default{background:var(--green);color:#fff}
.live-page .btn-edit{background:#506f9d;color:#fff}
.live-page .btn-gold{background:#fff7e2;color:#704d0c;border:1px solid #e2b14e}

/* Generic cards */
.live-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:24px;box-shadow:0 8px 25px rgba(0,0,0,.05)}
.live-card + .live-card{margin-top:18px}
.live-note{background:#f6f1e3;border:1px solid #e0d5c0;border-radius:10px;padding:14px 16px;color:#5f574d;line-height:1.5}
.live-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}

/* Category overview */
.live-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.live-subcategory{
  display:grid;grid-template-columns:100px 1fr;gap:18px;align-items:center;
  background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;
  box-shadow:0 8px 25px rgba(0,0,0,.04);transition:.18s
}
.live-subcategory:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.08)}
.live-subcategory img{width:100px;height:100px;object-fit:contain}
.live-subcategory h2{margin:0 0 7px;font-size:20px;color:var(--text)}
.live-subcategory p{margin:0;color:var(--muted);line-height:1.45;font-size:14px}

/* Shared article listing */
.live-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.live-article-card{
  display:block;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,.05);transition:.18s
}
.live-article-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.09)}
.live-article-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.live-article-card__body{padding:15px}
.live-article-card h3{font-size:18px;line-height:1.25;margin:0 0 8px}
.live-article-card p{font-size:13px;line-height:1.45;color:#685f55;margin:0}
.live-empty{background:#fff7e8;border:1px solid #e6d3a9;border-radius:12px;padding:18px;margin:18px 0}

/* Gold / premium box */
.live-premium{
  position:relative;background:linear-gradient(180deg,#fff8d9 0%,#ffe9a7 100%);
  border:2px solid #e6a20c;border-radius:14px;padding:18px;margin:12px 0 28px;
  box-shadow:0 10px 28px rgba(164,108,0,.14)
}
.live-premium:before{content:"";position:absolute;inset:5px;border:1px solid rgba(230,162,12,.55);border-radius:10px;pointer-events:none}
.live-premium__label{position:relative;z-index:1;text-align:center;margin:0 0 13px;color:#9c6100;font-size:18px;font-weight:800}
.live-premium__body{position:relative;z-index:1;display:grid;grid-template-columns:42% 1fr;gap:18px;align-items:center}
.live-premium img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.live-premium h2{font-size:24px;line-height:1.2;margin:0 0 8px}
.live-premium p{font-size:14px;line-height:1.5;color:#5e513f;margin:0 0 12px}

/* Pagination */
.live-pagination{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin:28px 0}
.live-pagination a,.live-pagination span{
  display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;
  border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text)
}
.live-pagination .current{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}

/* ===== FORMS / ACCOUNT / NEW ARTICLE ===== */
.live-form-shell{max-width:900px;margin:0 auto}
.live-form-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:26px;box-shadow:0 8px 25px rgba(0,0,0,.05)}
.live-form-card .conditions{margin:0 0 20px;background:#fff7e8;border:1px solid #e6d3a9;border-radius:12px;padding:15px 18px}
.live-form-card .conditions p{margin:5px 0;font-size:13px;line-height:1.45}
.live-form-card .form-group{margin-bottom:16px}
.live-form-card label,
.live-form-card form label{display:block;font-weight:700;font-size:13px;margin:0 0 6px;color:#3b342d}
.live-form-card input[type=text],
.live-form-card input[type=email],
.live-form-card input[type=password],
.live-form-card input[type=url],
.live-form-card input[type=file],
.live-form-card select,
.live-form-card textarea{
  display:block;width:100%!important;max-width:100%;min-height:46px;
  padding:10px 12px;border:1px solid #d8d0c4;border-radius:8px;background:#fff;
  font:inherit;color:var(--text);box-shadow:none;box-sizing:border-box
}
.live-form-card textarea{min-height:130px;resize:vertical}
.live-form-card input[type=submit],
.live-form-card button[type=submit]{
  border:0;border-radius:8px;background:var(--green);color:#fff;
  min-height:44px;padding:0 20px;font-size:14px;font-weight:800;cursor:pointer
}
.live-form-card .well,.live-form-card .toggle-link{
  background:#f6f1e3;border:1px solid #e0d5c0;border-radius:9px;padding:13px 15px;margin:12px 0;color:#5e554a
}
.live-form-card .toggle-link{cursor:pointer;font-weight:700}
.live-form-card .collapse-steps .row{margin-left:-7px;margin-right:-7px}
.live-form-card .collapse-steps .col-6{padding-left:7px;padding-right:7px}
.live-form-card .box-steps,.live-form-card .box-ingredients{
  background:#faf8f3;border:1px solid var(--border);border-radius:12px;padding:16px
}
.live-form-card .box-steps h2,.live-form-card .box-ingredients h2{font-size:18px;margin:0 0 12px}
.live-form-card .button-special{
  background:#eef2e7;border:1px solid #cad5ba;border-radius:8px!important;padding:10px!important;color:var(--green-dark)!important;font-weight:700
}

/* CKEditor */
.live-form-card .cke{width:100%!important;max-width:100%!important;border:1px solid #d8d0c4!important;border-radius:8px;overflow:hidden}
.live-form-card .cke_inner{width:100%!important}
.live-form-card .cke_top{white-space:normal!important}
.live-form-card .cke_toolbox{white-space:normal!important}
.live-form-card .cke_contents{min-height:300px!important;height:clamp(300px,46vh,520px)!important}
.live-form-card .cke_wysiwyg_frame,.live-form-card .cke_wysiwyg_div{width:100%!important}

/* Dropzone / upload previews */
.live-form-card .dropzone,.live-form-card .dz-default{
  width:100%!important;min-height:130px!important;border:2px dashed #d4c9b8!important;
  border-radius:12px;background:#faf8f3!important;padding:30px 16px!important;text-align:center
}
.live-form-card .uploadedImages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.live-form-card .uploadedImages figure{display:flex!important;flex-direction:column;margin:0!important;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}
.live-form-card .uploadedImages img{width:100%!important;height:130px!important;object-fit:cover}
.live-form-card .uploadedImages .removeBtn,.live-form-card .uploadedImages .previewBtn{
  display:block;padding:8px 6px;text-align:center;font-size:11px;text-decoration:none
}
.live-form-card .uploadedImages .removeBtn{background:#493a31;color:#fff}
.live-form-card .uploadedImages .previewBtn{background:var(--green);color:#fff}
.live-form-card .preview-selected{outline:3px solid var(--gold)}

/* Begin new article */
.live-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}
.live-choice-card{
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  min-height:240px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px;box-shadow:var(--shadow)
}
.live-choice-card img{width:100px;height:100px;object-fit:contain;margin:10px auto}
.live-choice-card strong{font-size:21px;margin-bottom:8px}

/* Account pages */
.live-auth{max-width:560px;margin:0 auto}
.live-auth .live-form-card form > div{margin-bottom:14px}
.live-auth .forgotten_password{display:block;margin-top:12px}
.live-auth .forgotten_password a{padding:0;color:var(--green);font-weight:700}

.live-settings{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}
.live-settings-nav{background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px;height:max-content}
.live-settings-nav a{display:block;padding:12px;border-radius:8px;font-weight:700}
.live-settings-nav .active a{background:#eef2e7;color:var(--green-dark)}

/* ===== AUTHOR PROFILE ===== */
.author-page{padding:30px 0 38px}
.author-owner-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.author-profile-card{display:grid;grid-template-columns:170px minmax(0,1fr);gap:22px;background:#fff;border:1px solid #d8cfae;border-radius:14px;padding:22px;box-shadow:0 8px 26px rgba(0,0,0,.04)}
.author-avatar-wrap{text-align:center}
.author-avatar{width:128px;height:128px;border-radius:50%;object-fit:cover;border:4px solid #d4c696;background:#eef1ef}
.author-name{font-size:24px;font-weight:800;margin:3px 0 4px}
.author-role{color:#655d53;margin-bottom:16px}
.author-stats{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #e6ded0;background:#fffaf0;border-radius:10px;overflow:hidden}
.author-stat{padding:15px 12px;border-right:1px solid #e6ded0;min-height:95px}
.author-stat:last-child{border-right:0}
.author-stat small{display:block;color:#746b60;font-size:11px;margin-bottom:8px}
.author-stat strong{font-size:16px;line-height:1.25}
.author-stat--articles{background:#fff5d8}
.author-stat--articles strong{display:block;font-size:30px;color:#d67c00;margin-bottom:4px}

/* ===== ARTICLE DETAIL ===== */
.article-detail-page{background:#faf8f3;padding:28px 0 36px}
.article-detail-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(280px,.9fr);gap:24px}
.article-main-modern{min-width:0;background:#fff;border:1px solid var(--border);border-radius:14px;padding:28px;box-shadow:0 8px 25px rgba(0,0,0,.05)}
.article-breadcrumb{font-size:12px;color:var(--muted);margin-bottom:12px}
.article-title{font-size:42px;line-height:1.06;margin:0 0 11px}
.article-lead{font-size:17px;color:#675f55;line-height:1.55;margin:0 0 16px}
.article-meta-modern{display:flex;flex-wrap:wrap;gap:15px 22px;padding:13px 0 17px;border-bottom:1px solid var(--border);font-size:12px;color:#625a50}
.article-gallery{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px;margin-top:18px}
.article-gallery-main img{display:block;width:100%;height:430px;object-fit:cover;border-radius:14px;border:1px solid var(--border);background:#f2ecdf}
.article-gallery-thumbs{display:grid;gap:10px}
.article-gallery-thumbs img{width:100%;height:98px;object-fit:cover;border-radius:10px;border:1px solid var(--border)}
.article-info-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:14px;margin-top:14px}
.article-box{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}
.article-box h2{font-size:19px;margin:0 0 12px}
.article-box ul,.article-box ol{margin:0;padding-left:22px;line-height:1.7}
.article-body-modern{margin-top:18px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px;font-size:16px;line-height:1.7;overflow-wrap:anywhere}
.article-body-modern img{height:auto;max-width:100%}
.article-body-modern iframe{width:100%;aspect-ratio:16/9;height:auto;border-radius:10px;margin:12px 0}
.article-signature-modern{margin-top:16px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px}
.article-sidebar{display:flex;flex-direction:column;gap:14px}
.article-admin-note{background:#eef5ff;border:1px solid #c8d8eb;border-radius:10px;padding:12px 14px;margin-bottom:12px}
.article-admin-note a{font-weight:700;color:#3b5f8d}

/* Static page */
.live-static{background:#fff;border:1px solid var(--border);border-radius:14px;padding:28px;box-shadow:0 8px 25px rgba(0,0,0,.05)}
.live-static img{height:auto}
.live-static table{max-width:100%;display:block;overflow-x:auto}

/* Search */
.live-search-page .live-article-grid{margin-top:18px}

/* MOBILE */
@media(max-width:980px){
  .live-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .live-category-grid{grid-template-columns:1fr}
  .live-premium__body{grid-template-columns:1fr}
  .article-detail-grid{grid-template-columns:1fr}
  .article-sidebar{display:grid;grid-template-columns:1fr 1fr}
  .author-profile-card{grid-template-columns:140px minmax(0,1fr)}
  .author-stats{grid-template-columns:repeat(2,1fr)}
  .author-stat--articles{grid-column:1/-1}
  .live-settings{grid-template-columns:1fr}
}
@media(max-width:850px){
  .site-header .topbar{display:grid!important;grid-template-columns:1fr auto;gap:10px;padding:12px 0!important}
  .site-header .logo img{width:145px!important}
  .site-header .header-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important}
  .site-header .search-form{display:none!important}
  .site-header .header-actions>.btn{display:inline-flex!important}
  .site-header .main-nav{overflow-x:auto!important}
  .site-header .nav-inner{width:max-content!important;min-width:100%;justify-content:center!important;gap:26px!important;padding:11px 12px!important}
  .live-page>.wrap{width:min(100% - 24px,760px)}
  .live-form-card{padding:18px}
  .live-form-card .collapse-steps .row{display:block;margin:0}
  .live-form-card .collapse-steps .col-6{width:100%;max-width:none;padding:0;margin-bottom:12px}
  .live-form-card .uploadedImages{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-gallery{grid-template-columns:1fr}
  .article-gallery-main img{height:330px}
  .article-gallery-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .article-gallery-thumbs img{height:90px}
  .article-info-grid{grid-template-columns:1fr}
  .article-sidebar{grid-template-columns:1fr}
}
@media(max-width:640px){
  .live-page{padding-top:18px}
  .live-page-head h1,.article-title{font-size:30px}
  .live-article-grid{grid-template-columns:1fr}
  .live-choice-grid{grid-template-columns:1fr}
  .live-choice-card{min-height:180px}
  .live-form-card{padding:14px;border-radius:10px}
  .live-form-card .cke_contents{height:340px!important;min-height:280px!important}
  .live-form-card .uploadedImages{grid-template-columns:1fr 1fr}
  .author-profile-card{grid-template-columns:1fr;padding:16px}
  .author-avatar{width:104px;height:104px}
  .author-stats{grid-template-columns:1fr 1fr}
  .author-stat--articles{grid-column:1/-1;text-align:center}
  .article-main-modern{padding:18px}
  .article-gallery-main img{height:260px}
  .article-gallery-thumbs img{height:76px}
}
@media(max-width:420px){
  .site-header .topbar{grid-template-columns:1fr auto!important}
  .site-header .logo img{width:130px!important}
  .site-header .header-actions>.btn{padding:10px 11px!important;font-size:11px!important}
  .site-header .nav-inner{justify-content:flex-start!important;gap:22px!important}
  .live-form-card .uploadedImages{grid-template-columns:1fr}
  .live-form-card .cke_top{padding:6px!important}
}

/* =========================================================
   TYPOGRAFIE LIVE — zachování původního fontu iNÁVODY
   ========================================================= */
html,
body,
.site-header,
.main-nav,
.homepage-live,
.live-page,
.article-detail-page,
.site-footer,
input,
select,
textarea,
button {
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
}

/* Textové prvky nového designu používají původní Roboto */
.site-header a,
.main-nav a,
.homepage-live h1,
.homepage-live h2,
.homepage-live h3,
.homepage-live p,
.homepage-live span,
.homepage-live strong,
.homepage-live small,
.live-page h1,
.live-page h2,
.live-page h3,
.live-page p,
.live-page span,
.live-page strong,
.live-page small,
.article-detail-page h1,
.article-detail-page h2,
.article-detail-page h3,
.article-detail-page p,
.article-detail-page span,
.article-detail-page strong,
.article-detail-page small,
.site-footer,
.site-footer a,
.site-footer strong,
.site-footer p,
.btn {
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
}

/* Font Awesome / ikonové fonty se nesmí přepsat */
.fa,
.fas,
.far,
.fab,
.fal,
.fad {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
}

/* =========================================================
   V31 — HP TOP ARTICLE + FOOTER / TOPLIST FINAL TUNING
   2026-08-20
   ========================================================= */
:root{--brand-turquoise:#34c3c0;--hero-green-dark:#304914;--hero-green-light:#6b7d38}

/* HP only: compact TOP article for normal 100% desktop zoom */
@media (min-width:981px){
  .homepage-live .hero{background:linear-gradient(90deg,var(--hero-green-dark) 0%,#476320 58%,var(--hero-green-light) 100%)}
  .homepage-live .hero .hero-inner{width:min(1080px,calc(100% - 48px));min-height:315px;grid-template-columns:1fr 1fr}
  .homepage-live .hero-copy{padding:32px 0}
  .homepage-live .hero h1{font-size:38px;line-height:1.08;margin:9px 0 13px;max-width:520px;font-family:Roboto,Arial,Helvetica,sans-serif!important;font-weight:700}
  .homepage-live .hero .eyebrow{font-family:Roboto,Arial,Helvetica,sans-serif!important;font-size:12px;letter-spacing:.16em;font-weight:700}
  .homepage-live .hero p,.homepage-live .hero .article-perex{font-family:Roboto,Arial,Helvetica,sans-serif!important;font-size:15px;line-height:1.5;max-width:500px}
  .homepage-live .hero-buttons{margin-top:16px;gap:10px}
  .homepage-live .hero-buttons .btn{padding:10px 15px;font-size:13px}
  .homepage-live .hero-image{height:315px}
}

/* Preserve compact/mobile behaviour without changing the approved mobile layout */
@media (max-width:980px){
  .homepage-live .hero{background:linear-gradient(90deg,var(--hero-green-dark) 0%,#476320 58%,var(--hero-green-light) 100%)}
}

/* Footer: content sits inside the site instead of hugging the edges */
.site-footer{padding:48px 0 34px;margin-top:40px}
.site-footer .wrap{width:min(1120px,calc(100% - 48px));margin-left:auto;margin-right:auto}
.site-footer .footer-grid{align-items:start;gap:34px}
.site-footer a:hover,.site-footer a:focus{color:var(--brand-turquoise)}
.site-footer .footer-logo{width:145px;filter:none!important;height:auto}

/* TOPlist is part of the footer flow. Never float over page content. */
.site-footer .toplist-live{position:static!important;float:none!important;inset:auto!important;transform:none!important;z-index:auto!important;display:flex;align-items:flex-start;justify-content:flex-start;margin-top:12px;width:auto!important}
.site-footer .toplist-live img,.site-footer .toplist-live iframe{display:block;max-width:100%!important;filter:none!important}

/* Small brand accent only, not large turquoise surfaces */
.site-footer .footer-grid strong,.site-footer .footer-grid h3{border-bottom:2px solid transparent}
.site-footer .footer-grid strong:hover,.site-footer .footer-grid h3:hover{border-bottom-color:var(--brand-turquoise)}

@media(max-width:850px){
  .site-footer{padding-top:36px}
  .site-footer .wrap{width:min(100% - 28px,760px)}
  .site-footer .toplist-live{margin-top:16px}
}

/* =========================================================
   V32 — WHITE FOOTER + TOPLIST LEFT + NEW CATEGORY ICONS
   2026-08-20
   ========================================================= */

/* Footer: clean white version */
.site-footer{
  background:#fff!important;
  color:#24211d!important;
  border-top:1px solid #e7e0d6!important;
  padding:48px 0 38px!important;
}
.site-footer .wrap{position:relative!important}
.site-footer,
.site-footer p,
.site-footer span,
.site-footer strong,
.site-footer h2,
.site-footer h3,
.site-footer h4{color:#24211d!important}
.site-footer a{color:#3f3932!important;text-decoration:none}
.site-footer a:hover,.site-footer a:focus{color:#34c3c0!important}
.site-footer .footer-logo{filter:none!important;opacity:1!important;width:145px!important;height:auto!important}
.site-footer .footer-grid a,
.site-footer .footer-admin-block a{color:#3f3932!important}
.site-footer .footer-grid p{color:#6b645c!important}
.site-footer .footer-grid strong,
.site-footer .footer-grid h3{color:#24211d!important}

/* TOPlist: desktop fixed visually under copyright in the LEFT footer column */
@media (min-width:851px){
  .site-footer .footer-grid{position:relative!important;min-height:470px}
  .site-footer .toplist-live{
    position:absolute!important;
    left:0!important;
    top:118px!important;
    right:auto!important;
    bottom:auto!important;
    margin:0!important;
    width:88px!important;
    height:auto!important;
    display:block!important;
    transform:none!important;
    float:none!important;
    z-index:1!important;
  }
  .site-footer .toplist-live img,
  .site-footer .toplist-live iframe{
    width:88px!important;
    height:auto!important;
    max-width:88px!important;
    display:block!important;
    filter:none!important;
  }
}

/* Mobile/tablet: keep TOPlist in normal flow so nothing overlaps */
@media (max-width:850px){
  .site-footer .footer-grid{min-height:0!important}
  .site-footer .toplist-live{
    position:static!important;
    width:auto!important;
    height:auto!important;
    margin:14px 0 0!important;
    display:block!important;
  }
  .site-footer .toplist-live img,
  .site-footer .toplist-live iframe{width:88px!important;height:auto!important}
}

/* /novy-clanek: replace old blue illustrations with the new HP-style symbols */
.live-choice-card{position:relative!important}
.live-choice-card img{display:none!important}
.live-choice-card strong{order:1}
.live-choice-card .btn{order:3}
.live-choice-card::before{
  order:2;
  display:block;
  font-size:34px;
  line-height:1;
  margin:16px auto 22px;
}
.live-choice-card:nth-child(1)::before{content:"🍲"}
.live-choice-card:nth-child(2)::before{content:"🔧"}
.live-choice-card:nth-child(3)::before{content:"💡"}
.live-choice-card:nth-child(1){background:#f7f4e8!important}
.live-choice-card:nth-child(2){background:#eef2e7!important}
.live-choice-card:nth-child(3){background:#fbf2dd!important}
.live-choice-card strong{font-size:21px!important;font-weight:700!important;color:#171717!important}


/* =========================================================
   V33 — iNÁVODY BRAND SYSTEM
   Logo palette: charcoal #343B43 + turquoise #35C4C2.
   Green is intentionally removed from major UI surfaces.
   ========================================================= */
:root{
  --brand-charcoal:#343b43;
  --brand-navy:#102733;
  --brand-navy-2:#173845;
  --brand-teal:#1c5258;
  --brand-turquoise:#35c4c2;
  --brand-cyan:#00dfe9;
  --brand-pale:#eefafa;
  --brand-pale-blue:#eef4f8;

  /* Override legacy green variables globally so old buttons/components
     inherit the new iNÁVODY palette instead of introducing green again. */
  --green:#35c4c2;
  --green-dark:#102733;
}

/* Primary actions across the new frontend */
.btn-primary,
.live-page .btn-primary,
.live-page .btn-default{
  background:var(--brand-turquoise)!important;
  border-color:var(--brand-turquoise)!important;
  color:var(--brand-navy)!important;
}
.btn-primary:hover,
.live-page .btn-primary:hover,
.live-page .btn-default:hover{
  background:var(--brand-cyan)!important;
  border-color:var(--brand-cyan)!important;
  color:#071c26!important;
}
.btn-light{
  background:#f7fbfb!important;
  color:var(--brand-navy)!important;
}
.btn-ghost{
  background:transparent!important;
  border:1px solid rgba(53,196,194,.95)!important;
  color:#fff!important;
}

/* HP TOP article: compact, premium, directly based on the logo colours. */
.homepage-live .hero{
  background:
    radial-gradient(circle at 74% 26%,rgba(0,223,233,.12),transparent 31%),
    linear-gradient(118deg,var(--brand-navy) 0%,var(--brand-navy-2) 56%,var(--brand-teal) 100%)!important;
}
@media (min-width:981px){
  .homepage-live .hero .hero-inner{
    width:min(1040px,calc(100% - 56px))!important;
    min-height:292px!important;
    grid-template-columns:1fr 1fr!important;
  }
  .homepage-live .hero-copy{padding:27px 0!important}
  .homepage-live .hero h1{
    font-family:Roboto,Arial,Helvetica,sans-serif!important;
    font-size:35px!important;
    line-height:1.08!important;
    font-weight:700!important;
    max-width:500px!important;
    margin:8px 0 12px!important;
  }
  .homepage-live .hero .article-perex,
  .homepage-live .hero-copy > p{
    max-width:490px!important;
    padding:15px 17px!important;
    font-size:14px!important;
    line-height:1.48!important;
    background:rgba(255,255,255,.94)!important;
    color:#27343a!important;
  }
  .homepage-live .hero-buttons{margin-top:14px!important}
  .homepage-live .hero-buttons .btn{padding:9px 14px!important;font-size:12px!important}
  .homepage-live .hero-image,
  .homepage-live .hero-image img{
    height:292px!important;
    min-height:292px!important;
  }
}
.homepage-live .hero .eyebrow{
  color:#83f7f3!important;
  font-family:Roboto,Arial,Helvetica,sans-serif!important;
  font-weight:700!important;
}
.homepage-live .hero .btn-primary{
  background:var(--brand-turquoise)!important;
  color:var(--brand-navy)!important;
}
.homepage-live .hero .btn-ghost{
  border-color:#79e9e5!important;
  color:#fff!important;
}

/* Lower author CTA follows the same brand, so no isolated green slab remains. */
.feature.author{
  background:
    radial-gradient(circle at 95% 10%,rgba(0,223,233,.14),transparent 32%),
    linear-gradient(135deg,#122b37 0%,#1b4851 100%)!important;
}
.feature.author .btn-light{
  background:#f3fbfb!important;
  color:#12313b!important;
}

/* Homepage category cards: three related tones from one identity. */
.category-card.recipes{background:#edfafa!important;border-color:#c9ecea!important}
.category-card.guides{background:#edf3f7!important;border-color:#d0dee7!important}
.category-card.ideas{background:#eff9fa!important;border-color:#cae9eb!important}
.category-card .icon{filter:none!important}

/* Article tags stay distinguishable but live inside the logo palette. */
.tag.green{background:#2fb8b6!important}
.tag.blue{background:#365f78!important}
.tag.orange{background:#168c9b!important}
.article-type-tag{background:var(--brand-turquoise)!important;color:var(--brand-navy)!important}

/* Section/navigation accents */
.section-head a,
.all-results,
.live-pagination a,
.article-body h2{
  color:#177f88!important;
}
.suggestions a:last-child small,
.suggestions small{
  background:#177f88!important;
}

/* /novy-clanek: same symbols and colour language as HP */
.live-choice-card img{display:none!important}
.live-choice-card .choice-symbol{
  display:block!important;
  font-size:34px!important;
  line-height:1!important;
  margin:16px auto 22px!important;
  order:2!important;
}
.live-choice-card:nth-child(1){background:#edfafa!important;border-color:#c9ecea!important}
.live-choice-card:nth-child(2){background:#edf3f7!important;border-color:#d0dee7!important}
.live-choice-card:nth-child(3){background:#eff9fa!important;border-color:#cae9eb!important}
.live-choice-card strong{order:1!important}
.live-choice-card .btn{order:3!important}

/* Homepage: 8 newest articles = 4 + 4 on normal desktop. */
.homepage-live .article-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:850px){
  .homepage-live .article-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){
  .homepage-live .article-grid{grid-template-columns:1fr!important}
}

/* Footer V33: real four-column layout, white, compact and readable. */
.site-footer{
  background:#fff!important;
  color:#28353b!important;
  border-top:1px solid #dfe7e8!important;
  padding:44px 0 34px!important;
}
.site-footer .footer-grid-v33{
  display:grid!important;
  grid-template-columns:1.15fr 1fr 1fr .8fr!important;
  gap:42px!important;
  align-items:start!important;
  min-height:0!important;
}
.site-footer .footer-grid-v33 > div{
  min-width:0!important;
}
.site-footer .footer-brand-block{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:11px!important;
}
.site-footer .footer-brand-logo{
  display:inline-block!important;
  line-height:0!important;
}
.site-footer .footer-logo{
  display:block!important;
  width:150px!important;
  height:auto!important;
  filter:none!important;
  opacity:1!important;
}
.site-footer .footer-brand-block p{
  margin:0!important;
  color:#657178!important;
}
.site-footer .footer-column,
.site-footer .footer-admin-block{
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
}
.site-footer a{color:#34454c!important}
.site-footer a:hover{color:#159ca2!important}
.site-footer strong,
.site-footer h3,
.site-footer h4{color:#1d3039!important}

/* TOPlist: normal flow directly below copyright, never absolute/fixed. */
.site-footer .toplist-live{
  position:static!important;
  display:block!important;
  width:88px!important;
  height:auto!important;
  margin:5px 0 0!important;
  inset:auto!important;
  transform:none!important;
  z-index:auto!important;
}
.site-footer .toplist-live img,
.site-footer .toplist-live iframe{
  display:block!important;
  width:88px!important;
  max-width:88px!important;
  height:auto!important;
  filter:none!important;
}

@media(max-width:980px){
  .site-footer .footer-grid-v33{
    grid-template-columns:1fr 1fr!important;
    gap:30px!important;
  }
}
@media(max-width:600px){
  .site-footer .footer-grid-v33{
    grid-template-columns:1fr!important;
  }
  .homepage-live .hero{
    background:linear-gradient(150deg,var(--brand-navy) 0%,var(--brand-teal) 100%)!important;
  }
}


/* =========================================================
   V34 — ROUTE REPAIR / STATIC PAGES / SEARCH / FAILSAFE
   ========================================================= */

/* Generic route shell: every non-HP route gets the same proportions. */
.live-page{
  width:100%!important;
  padding:30px 0 52px!important;
  background:#fbf8f2!important;
  font-family:Roboto,Arial,Helvetica,sans-serif!important;
}
.live-page > .wrap{
  width:min(1180px,calc(100% - 36px))!important;
  max-width:1180px!important;
  margin:0 auto!important;
}
.live-page,
.live-page *{
  font-family:Roboto,Arial,Helvetica,sans-serif!important;
}
.live-breadcrumb{
  font-size:13px!important;
  line-height:1.4!important;
  color:#73685e!important;
  margin:0 0 12px!important;
}
.live-page-head{
  padding:0 0 22px!important;
}
.live-page-head h1,
.live-static-title{
  margin:0 0 10px!important;
  font-size:40px!important;
  line-height:1.08!important;
  font-weight:700!important;
  color:#20282d!important;
}

/* Static /stranka/* pages: one consistent readable card. */
.live-static{
  width:100%!important;
  max-width:1040px!important;
  margin:0 auto!important;
  padding:34px 38px!important;
  background:#fff!important;
  border:1px solid #dfd6c8!important;
  border-radius:14px!important;
  box-shadow:0 8px 28px rgba(20,35,40,.05)!important;
  color:#30373b!important;
  font-size:16px!important;
  line-height:1.65!important;
  overflow:hidden!important;
}
.live-static h1,
.live-static h2,
.live-static h3,
.live-static h4{
  font-family:Roboto,Arial,Helvetica,sans-serif!important;
  color:#1d3039!important;
  font-weight:700!important;
  line-height:1.2!important;
}
.live-static h1{font-size:40px!important}
.live-static h2{font-size:27px!important;margin-top:32px!important}
.live-static h3{font-size:21px!important;margin-top:25px!important}
.live-static p,
.live-static li,
.live-static td,
.live-static th,
.live-static div{
  font-family:Roboto,Arial,Helvetica,sans-serif!important;
}
.live-static p{margin:0 0 16px!important}
.live-static ul,
.live-static ol{padding-left:24px!important}
.live-static a{color:#168d96!important;font-weight:600!important}
.live-static img{max-width:100%!important;height:auto!important}
.live-static iframe,
.live-static video{max-width:100%!important}
.live-static table{width:100%!important;max-width:100%!important;overflow-x:auto!important}

/* Category pages: explicit safety layer so old/global rules cannot blow them up.
   2026-08-25: category icons enlarged centrally for better use of card whitespace. */
.live-category-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:18px!important;
}
.live-subcategory{
  display:grid!important;
  grid-template-columns:145px 1fr!important;
  gap:22px!important;
  align-items:center!important;
  min-height:180px!important;
  padding:22px!important;
  background:#fff!important;
  border:1px solid #dfd6c8!important;
  border-radius:14px!important;
  text-decoration:none!important;
  overflow:hidden!important;
}
.live-subcategory img{
  width:135px!important;
  max-width:135px!important;
  height:135px!important;
  object-fit:contain!important;
}
.live-subcategory h2{
  margin:0 0 8px!important;
  font-size:21px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:#1f3038!important;
}
.live-subcategory p{
  margin:0!important;
  font-size:14px!important;
  line-height:1.5!important;
  color:#655f58!important;
}

/* Search results use exactly the same visual card language as HP. */
.live-search-wrap{max-width:1180px!important}
.live-search-results .live-premium{display:none!important}
.live-search-results .live-article-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  margin-top:18px!important;
}
.live-search-results .live-article-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  background:#fff!important;
  border:1px solid #dfd6c8!important;
  border-radius:12px!important;
  overflow:hidden!important;
  box-shadow:0 8px 25px rgba(0,0,0,.05)!important;
  text-decoration:none!important;
}
.live-search-results .live-article-card > img{
  display:block!important;
  width:100%!important;
  aspect-ratio:4/3!important;
  height:auto!important;
  object-fit:cover!important;
  background:#eef4f5!important;
}
.live-search-results .live-article-card__body{
  padding:15px!important;
}
.live-search-results .live-article-card__body h3{
  margin:0 0 8px!important;
  font-size:19px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:#1d1d1b!important;
}
.live-search-results .live-article-card__body p{
  margin:0!important;
  font-size:14px!important;
  line-height:1.45!important;
  color:#685f55!important;
}
.tag.neutral{
  background:#315966!important;
  color:#fff!important;
}

/* Auth/settings/user article pages: consistent cards and inputs. */
.live-auth{max-width:620px!important;margin:0 auto!important}
.live-form-card{
  background:#fff!important;
  border:1px solid #dfd6c8!important;
  border-radius:14px!important;
  padding:24px!important;
  box-shadow:0 8px 25px rgba(0,0,0,.05)!important;
}
.live-form-card input,
.live-form-card select,
.live-form-card textarea{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.live-settings{
  max-width:980px!important;
  margin:0 auto!important;
}

/* Guard against old global image/font rules on all modern pages. */
.site-header .logo img{
  width:175px!important;
  max-width:175px!important;
  height:auto!important;
}
.live-page img{
  max-width:100%!important;
}
.live-page h1,
.live-page h2,
.live-page h3,
.live-page h4{
  font-family:Roboto,Arial,Helvetica,sans-serif!important;
}

@media(max-width:900px){
  .live-search-results .live-article-grid{grid-template-columns:1fr 1fr!important}
  .live-category-grid{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  .live-page{padding:22px 0 38px!important}
  .live-page > .wrap{width:calc(100% - 24px)!important}
  .live-page-head h1,
  .live-static-title{font-size:30px!important}
  .live-static{padding:22px 18px!important}
  .live-static h1{font-size:30px!important}
  .live-static h2{font-size:23px!important}
  .live-search-results .live-article-grid{grid-template-columns:1fr!important}
  .live-subcategory{
    grid-template-columns:118px 1fr!important;
    padding:16px!important;
    min-height:140px!important;
  }
  .live-subcategory img{
    width:108px!important;
    max-width:108px!important;
    height:108px!important;
  }
  .site-header .logo img{
    width:145px!important;
    max-width:145px!important;
  }
}


/* =========================================================
   V34B — HEADER AUTH BUTTONS + NEW ARTICLE ICON FIX
   ========================================================= */

/* Přihlášení a registrace nesmí vizuálně splývat do jednoho tlačítka. */
.site-header .userbar,
.header-actions .userbar{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.site-header .userbar > a,
.header-actions .userbar > a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:50px!important;
  padding:0 18px!important;
  border-radius:10px!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.site-header .userbar > a + a,
.header-actions .userbar > a + a{
  margin-left:0!important;
}
.site-header .userbar .user-col{
  border-radius:10px!important;
}
.site-header .userbar .user-col:first-child{
  margin-right:0!important;
}
.site-header .userbar .user-col + .user-col{
  border-left:0!important;
}

/* Vynutíme viditelnou mezeru i u starší struktury headeru. */
.site-header .header-actions > a + a,
.site-header .header-actions > .userbar + .cta-write{
  margin-left:10px!important;
}

/* /novy-clanek: každá karta má právě jednu vizuální ikonu. */
.live-create-card .icon,
.live-create-card .live-create-icon,
.live-choice-card .icon,
.live-choice-card .live-choice-icon{
  display:block!important;
}
.live-create-card .icon + .icon,
.live-create-card .live-create-icon + .live-create-icon,
.live-choice-card .icon + .icon,
.live-choice-card .live-choice-icon + .live-choice-icon{
  display:none!important;
}

@media(max-width:850px){
  .site-header .userbar,
  .header-actions .userbar{
    gap:7px!important;
  }
  .site-header .userbar > a,
  .header-actions .userbar > a{
    padding:0 12px!important;
  }
}


/* =========================================================
   SPEED 04 — STABILITY PATCH
   ========================================================= */

/* /novy-clanek: older CSS already generated emoji with ::before.
   The template now contains .choice-symbol itself, so kill the legacy pseudo-icon. */
.live-choice-card::before{
    content:none!important;
    display:none!important;
}

/* Footer admin content can contain UL/LI from old editable blocks.
   Reset browser bullets/indentation so the white V33 footer keeps its intended layout. */
.site-footer ul,
.site-footer ol{
    list-style:none!important;
    margin:0!important;
    padding:0!important;
}
.site-footer li{
    margin:0 0 8px 0!important;
    padding:0!important;
}
.site-footer .footer-admin-block,
.site-footer .footer-column{
    text-align:left!important;
}
.site-footer .footer-admin-block > *:first-child,
.site-footer .footer-column > *:first-child{
    margin-top:0!important;
}
.site-footer .footer-admin-block > *:last-child,
.site-footer .footer-column > *:last-child{
    margin-bottom:0!important;
}


/* =========================================================
   V35 — MOBILE CLEANUP + ACCOUNT CONTROLS
   ========================================================= */

/* 1) HP TOP/Zlatý rám: on mobile show headline + image + CTA, no perex. */
@media (max-width:767px){
  .homepage-live .hero .article-perex{
    display:none!important;
  }
}

/* 2) Mobile article cards: compact = tag + title + image, no perex. */
@media (max-width:767px){
  .homepage-live .article-card .card-body > p,
  .live-article-card__body > p{
    display:none!important;
  }
}

/* 3) Restore logged-in profile/settings/admin/logout controls.
      Existing design remains, only visibility/function is restored. */
@media (max-width:850px){
  .site-header .userbar-live{
    display:flex!important;
    order:3!important;
    width:100%!important;
    justify-content:flex-end!important;
    white-space:nowrap!important;
  }
  .site-header .userbar-live a{
    min-width:40px!important;
    height:38px!important;
    padding:0 9px!important;
    font-size:12px!important;
  }
}
@media (max-width:520px){
  .site-header .userbar-live{
    display:flex!important;
  }
  .site-header .header-actions{
    row-gap:6px!important;
  }
  .site-header .userbar-live a:first-child{
    max-width:150px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

/* 4) Search/list cards keep stable widths on desktop/mobile. */
.live-article-card,
.homepage-live .article-card{
  min-width:0;
}


/* =========================================================
   V36 — FOOTER OWNERSHIP + BRAND PREVIEW CLEANUP
   ========================================================= */

/* Footer has only: brand/TOPlist + admin Footer 1 + admin Footer 2.
   No hard-coded "Užitečné" column. */
.site-footer .footer-grid-v33{
  grid-template-columns:1.05fr 1.15fr 1.35fr!important;
  gap:46px!important;
  align-items:start!important;
}

/* Admin blocks are the single source of truth for footer content. */
.site-footer .footer-admin-block{
  min-width:0!important;
  width:100%!important;
}
.site-footer .footer-admin-block ul,
.site-footer .footer-admin-block ol{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
.site-footer .footer-admin-block li{
  margin:0 0 8px!important;
  padding:0!important;
}

/* If old footer-useful markup ever survives in stale Latte cache, hide it. */
.site-footer .footer-useful{
  display:none!important;
}

@media(max-width:980px){
  .site-footer .footer-grid-v33{
    grid-template-columns:1fr 1fr!important;
    gap:30px!important;
  }
  .site-footer .footer-brand-block{
    grid-column:1/-1!important;
  }
}
@media(max-width:600px){
  .site-footer .footer-grid-v33{
    grid-template-columns:1fr!important;
  }
  .site-footer .footer-brand-block{
    grid-column:auto!important;
  }
}




/* =========================================================
   V37 — MOBILE PREMIUM + ARTICLE TYPOGRAPHY
   2026-08-21
   Desktop premium layout intentionally unchanged.
   ========================================================= */

/* Category/subcategory TOP: mobile only, hide perex globally. */
@media (max-width:767px){
  .live-premium .live-premium__perex{
    display:none!important;
  }
  .live-premium .live-actions{
    margin-top:12px!important;
  }
}

/* Article body: presentation only. Stored article HTML is untouched. */
.article-body-modern{
  font-size:17px;
  line-height:1.72;
  color:#292622;
}
.article-body-modern > *:first-child{margin-top:0}
.article-body-modern > *:last-child{margin-bottom:0}
.article-body-modern p{margin:0 0 1em}
.article-body-modern h2{
  font-size:25px;line-height:1.25;color:var(--brand-navy);
  margin:1.55em 0 .6em;font-weight:700
}
.article-body-modern h3{
  font-size:20px;line-height:1.3;color:var(--brand-charcoal);
  margin:1.35em 0 .55em;font-weight:700
}
.article-body-modern h4{
  font-size:18px;line-height:1.35;margin:1.2em 0 .5em;font-weight:700
}
.article-body-modern ul,
.article-body-modern ol{
  margin:.55em 0 1.15em;padding-left:1.65em
}
.article-body-modern li{margin:.38em 0;padding-left:.15em}
.article-body-modern li > ul,
.article-body-modern li > ol{margin:.35em 0 .55em}
.article-body-modern blockquote{
  margin:1.25em 0;padding:14px 18px;border-left:4px solid var(--brand-turquoise);
  background:var(--brand-pale);border-radius:0 9px 9px 0
}
.article-body-modern table{
  width:100%;max-width:100%;display:block;overflow-x:auto;
  border-collapse:collapse;margin:1.2em 0
}
.article-body-modern th,
.article-body-modern td{padding:9px 11px;border:1px solid var(--border);vertical-align:top}
.article-body-modern a{color:#167d82;text-decoration:underline;text-underline-offset:2px}
.article-body-modern img{
  display:block;max-width:100%!important;height:auto!important;margin:1.1em auto
}
.article-body-modern figure{max-width:100%;margin:1.2em auto}
.article-body-modern figure img{margin:0 auto}
.article-body-modern figcaption{font-size:13px;line-height:1.45;color:var(--muted);margin-top:7px;text-align:center}
.article-body-modern pre{max-width:100%;overflow-x:auto}
.article-body-modern hr{border:0;border-top:1px solid var(--border);margin:1.6em 0}

@media(max-width:640px){
  .article-body-modern{font-size:16px;line-height:1.68;padding:18px}
  .article-body-modern h2{font-size:22px}
  .article-body-modern h3{font-size:19px}
  .article-body-modern ul,
  .article-body-modern ol{padding-left:1.4em}
}


/* =========================================================
   V37 — MOBILE SEARCH + FOOTER SOCIALS
   Desktop search stays unchanged.
   ========================================================= */

/* Mobile search is a separate compact copy of the existing search form.
   It uses the same /hledat/ route and expression parameter. */
.mobile-search-row{
  display:none;
}

@media(max-width:850px){
  .mobile-search-row{
    display:block;
    width:100%;
    background:#fff;
    padding:0 12px 10px;
  }
  .mobile-search-form{
    display:flex;
    align-items:center;
    width:min(100%,760px);
    margin:0 auto;
    border:1px solid #d8dfe3;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    min-height:42px;
  }
  .mobile-search-form input{
    flex:1 1 auto;
    min-width:0;
    height:42px;
    border:0!important;
    outline:0;
    padding:0 12px;
    background:#fff;
    color:#1d252b;
    font:inherit;
    font-size:14px;
  }
  .mobile-search-form input::placeholder{
    color:#7a858c;
  }
  .mobile-search-form button{
    flex:0 0 44px;
    width:44px;
    height:42px;
    border:0;
    border-left:1px solid #e3e8ea;
    background:#f7fbfb;
    color:var(--brand-navy,#102733);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
  }
  .mobile-search-form button:hover,
  .mobile-search-form button:focus{
    background:var(--brand-pale,#eefafa);
    color:var(--brand-turquoise,#35c4c2);
  }
}

/* Social links belong only to the fixed brand part of the footer.
   Footer 1 / Footer 2 from administration stay untouched. */
.site-footer .footer-socials{
  display:flex;
  align-items:center;
  gap:9px;
  margin:14px 0 0;
}
.site-footer .footer-socials a{
  width:36px;
  height:36px;
  border:1px solid #dbe4e6;
  border-radius:50%;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:0!important;
  background:#fff;
  color:var(--brand-navy,#102733)!important;
  font-size:16px!important;
  line-height:1;
  transition:.18s ease;
}
.site-footer .footer-socials a:hover,
.site-footer .footer-socials a:focus{
  border-color:var(--brand-turquoise,#35c4c2);
  background:var(--brand-pale,#eefafa);
  color:var(--brand-turquoise,#35c4c2)!important;
  transform:translateY(-1px);
}
.site-footer .footer-social-tiktok{
  display:block;
  font-size:20px;
  line-height:1;
  font-weight:800;
  transform:translateY(-1px);
}

@media(max-width:600px){
  .site-footer .footer-socials{
    margin-top:12px;
    flex-wrap:wrap;
  }
}


/* =========================================================
   V37 FIX 01 — mobile search ONLY + social icons 2x2
   ========================================================= */
.mobile-search-row{
  display:none !important;
}
@media (max-width:850px){
  .mobile-search-row{
    display:block !important;
  }
}

/* Social icons: fixed 2 x 2 grid on desktop AND mobile */
.site-footer .footer-socials{
  display:grid !important;
  grid-template-columns:36px 36px !important;
  grid-auto-rows:36px !important;
  gap:9px !important;
  width:max-content !important;
  align-items:center !important;
  justify-items:center !important;
}
.site-footer .footer-socials a{
  margin:0 !important;
}


/* =========================================================
   V37 FIX 02 — MOBILE GOLD FRAME + COMPACT MOBILE HEADER
   Desktop intentionally unchanged.
   ========================================================= */

@media (max-width:850px){

  /* GOLD/TOP ARTICLE:
     suppress perex/summary globally on mobile, including category pages.
     Multiple selectors intentionally cover historical/current template names. */
  .top-article .perex,
  .top-article .article-perex,
  .top-article .description,
  .top-article .summary,
  .top-article p:not(.top-label),
  .top-clanek .perex,
  .top-clanek .article-perex,
  .top-clanek .description,
  .top-clanek .summary,
  .top-clanek p:not(.top-label),
  .gold-article .perex,
  .gold-article .article-perex,
  .gold-article .description,
  .gold-article .summary,
  .gold-article p:not(.top-label),
  .golden-article .perex,
  .golden-article .article-perex,
  .golden-article .description,
  .golden-article .summary,
  .golden-article p:not(.top-label),
  .top-category-article .perex,
  .top-category-article .description,
  .top-category-article .summary,
  .category-top-article .perex,
  .category-top-article .description,
  .category-top-article .summary{
    display:none !important;
  }

  /* MOBILE HEADER:
     keep logo in its own clean row, then place auth + Add article together.
     Search remains on the following row. */
  .site-header .header-inner{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
  }

  .site-header .header-user,
  .site-header .user-menu,
  .site-header .auth-links,
  .site-header .login-register{
    order:2 !important;
  }

  .site-header .add-article,
  .site-header .btn-add-article,
  .site-header a[href="/novy-clanek"]{
    order:2 !important;
  }

  /* Where header controls already use a flex wrapper, force a single compact line. */
  .site-header .header-actions,
  .site-header .header-controls,
  .site-header .user-actions{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:8px !important;
  }

  .site-header .header-actions .add-article,
  .site-header .header-actions .btn-add-article,
  .site-header .header-controls .add-article,
  .site-header .header-controls .btn-add-article,
  .site-header .user-actions .add-article,
  .site-header .user-actions .btn-add-article{
    margin:0 !important;
  }
}


/* =========================================================
   V37 FIX 03 — FINAL MOBILE HEADER + GLOBAL MOBILE TOP PEREX
   Desktop intentionally unchanged.
   ========================================================= */

/* Desktop: keep the original login/register buttons exactly as before. */
.mobile-account-menu{
  display:none;
}

/* Mobile only */
@media (max-width:850px){

  /* 1) GOLD/TOP ARTICLE ON CATEGORY PAGES:
        this is the actual perex class used by article-list.latte. */
  .live-premium__perex{
    display:none !important;
  }

  /* Keep spacing clean after the perex disappears. */
  .live-premium h2{
    margin-bottom:12px !important;
  }
  .live-premium .live-actions{
    margin-top:0 !important;
  }

  /* 2) Guest account:
        hide the large blue login/register block only on mobile. */
  .userbar-guest-desktop{
    display:none !important;
  }

  /* Replace it with one compact user icon. */
  .mobile-account-menu{
    display:block;
    position:relative;
    flex:0 0 auto;
    order:3;
  }
  .mobile-account-menu summary{
    list-style:none;
    width:44px;
    height:44px;
    border:0;
    border-radius:10px;
    background:#4f6fc8;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:18px;
  }
  .mobile-account-menu summary::-webkit-details-marker{
    display:none;
  }
  .mobile-account-menu[open] summary{
    background:#3f5eb9;
  }

  .mobile-account-dropdown{
    position:absolute;
    top:52px;
    right:0;
    z-index:100;
    min-width:185px;
    background:#fff;
    border:1px solid #dbe1e5;
    border-radius:10px;
    box-shadow:0 12px 28px rgba(0,0,0,.14);
    overflow:hidden;
  }
  .mobile-account-dropdown a{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:46px;
    padding:0 14px;
    background:#fff;
    color:#17252d;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
  }
  .mobile-account-dropdown a + a{
    border-top:1px solid #edf0f2;
  }
  .mobile-account-dropdown a:hover,
  .mobile-account-dropdown a:focus{
    background:#eefafa;
    color:#102733;
  }

  /* 3) Compact first row:
        logo + Napsat článek + user icon on one line.
        Search stays on the next line. */
  .site-header .topbar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
    padding:12px 0 !important;
  }

  .site-header .header-actions{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    width:auto !important;
  }

  .site-header .header-actions > .btn{
    order:2 !important;
    margin:0 !important;
    min-height:44px !important;
    height:44px !important;
    padding:0 12px !important;
    font-size:12px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
  }

  .site-header .logo{
    min-width:0 !important;
  }
  .site-header .logo img{
    width:145px !important;
    max-width:100% !important;
  }
}

@media (max-width:420px){
  .site-header .logo img{
    width:128px !important;
  }
  .site-header .header-actions{
    gap:6px !important;
  }
  .site-header .header-actions > .btn{
    padding:0 9px !important;
    font-size:11px !important;
  }
  .mobile-account-menu summary{
    width:42px;
    height:42px;
  }
}


/* =========================================================
   V37 FIX 04 — FINAL ACCOUNT ICON ON DESKTOP + MOBILE
   Guest login/register use the same compact user icon everywhere.
   Logged-in account/admin controls remain unchanged.
   ========================================================= */

/* Guest: hide old blue login/register block on ALL screen sizes. */
.userbar-guest-desktop{
  display:none !important;
}

/* Guest: show one compact account icon on ALL screen sizes. */
.mobile-account-menu{
  display:block !important;
  position:relative;
  flex:0 0 auto;
}

/* Shared icon appearance */
.mobile-account-menu summary{
  list-style:none;
  width:44px;
  height:44px;
  border:0;
  border-radius:10px;
  background:#4f6fc8;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:18px;
}
.mobile-account-menu summary::-webkit-details-marker{
  display:none;
}
.mobile-account-menu[open] summary{
  background:#3f5eb9;
}

/* Shared dropdown appearance */
.mobile-account-dropdown{
  position:absolute;
  top:52px;
  right:0;
  z-index:100;
  min-width:185px;
  background:#fff;
  border:1px solid #dbe1e5;
  border-radius:10px;
  box-shadow:0 12px 28px rgba(0,0,0,.14);
  overflow:hidden;
}
.mobile-account-dropdown a{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:46px;
  padding:0 14px;
  background:#fff;
  color:#17252d;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.mobile-account-dropdown a + a{
  border-top:1px solid #edf0f2;
}
.mobile-account-dropdown a:hover,
.mobile-account-dropdown a:focus{
  background:#eefafa;
  color:#102733;
}

/* Desktop: keep current header layout, only replace the guest buttons with icon. */
@media (min-width:851px){
  .site-header .header-actions{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
  }
  .mobile-account-menu{
    order:2 !important;
  }
  .site-header .header-actions > .btn{
    order:3 !important;
  }
}

/* Mobile keeps FIX03 compact row. */
@media (max-width:850px){
  .mobile-account-menu{
    order:3 !important;
  }
}


/* =========================================================
   V37 FIX 05 — DEFINITIVE HEADER + CATEGORY TOP MOBILE
   ========================================================= */

/* OLD guest login/register markup is removed from @layout.latte.
   Only the account icon remains for logged-out visitors. */

/* Desktop account icon */
.mobile-account-menu{
  display:block !important;
  position:relative;
  flex:0 0 auto;
}

/* MOBILE: category TOP/zlatý frame must never show perex.
   Covers current and historical premium markup. */
@media (max-width:850px){
  .category-top-premium .live-premium__perex,
  .live-premium .live-premium__perex,
  .premium-box .premium-box__perex,
  .gold-inline .gold-copy > p,
  .gold-card > p{
    display:none !important;
  }

  /* Header: logo | Napsat článek | account icon */
  .site-header .topbar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
  }

  .site-header .header-actions{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    width:auto !important;
  }

  .site-header .header-actions > .btn{
    order:1 !important;
    margin:0 !important;
    min-height:44px !important;
    height:44px !important;
    padding:0 11px !important;
    font-size:12px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
  }

  .site-header .mobile-account-menu{
    order:2 !important;
  }

  .site-header .logo img{
    width:145px !important;
    max-width:100% !important;
  }
}

@media (max-width:420px){
  .site-header .logo img{
    width:128px !important;
  }
  .site-header .header-actions{
    gap:6px !important;
  }
  .site-header .header-actions > .btn{
    padding:0 8px !important;
    font-size:11px !important;
  }
}


/* =========================================================
   V37 FIX 06 — DEFINITIVE MOBILE CATEGORY TOP: NO PEREX
   ========================================================= */
@media (max-width:850px){

  /* Category TOP / gold frame:
     keep image + title, hide every descriptive paragraph/perex.
     Desktop is untouched. */
  .category-top-premium p,
  .live-premium.category-top-premium p,
  .live-premium__perex,
  .premium-box__perex,
  .gold-inline .gold-copy p,
  .gold-card p{
    display:none !important;
  }

  /* Remove empty spacing left after hidden perex. */
  .category-top-premium h2,
  .live-premium.category-top-premium h2,
  .live-premium h2{
    margin-bottom:0 !important;
  }
}


/* =========================================================
   V37 FIX 08 — EXACT MOBILE HERO CTA FIX
   Actual homepage markup uses .hero-buttons + .btn-ghost.
   ========================================================= */
@media (max-width:850px){
  .homepage-live .hero .hero-buttons .btn-ghost{
    display:none !important;
  }

  .homepage-live .hero .hero-buttons{
    display:block !important;
  }

  .homepage-live .hero .hero-buttons .btn-primary{
    display:flex !important;
    width:100% !important;
    justify-content:center !important;
    align-items:center !important;
    margin:0 !important;
  }
}

/* =========================================================
   V38 TEST — KOMPAKTNI TOP CLANEK V PREHLEDU KATEGORII
   2026-08-25
   CIL:
   - desktop: TOP zustava dominantni pres celou sirku, ale je vyrazne nizsi
   - mobil: TOP je kompaktni horizontalni karta podobna velikosti podkategorii
   - homepage TOP se timto pravidlem nemeni
   ========================================================= */

/* DESKTOP / TABLET NAD 850 px */
@media (min-width:851px){
  .live-page .live-premium{
    padding:12px 16px 14px !important;
    margin:10px 0 24px !important;
  }

  .live-page .live-premium__label{
    margin:0 0 10px !important;
    font-size:17px !important;
    line-height:1.15 !important;
  }

  .live-page .live-premium__body{
    grid-template-columns:42% 1fr !important;
    gap:18px !important;
    align-items:center !important;
  }

  .live-page .live-premium img{
    width:100% !important;
    height:220px !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
  }

  .live-page .live-premium h2{
    font-size:23px !important;
    line-height:1.2 !important;
    margin:0 0 8px !important;
  }

  .live-page .live-premium p{
    font-size:14px !important;
    line-height:1.45 !important;
    margin:0 !important;
  }
}

/* MOBIL */
@media (max-width:850px){
  .live-page .live-premium{
    padding:12px !important;
    margin:10px 0 18px !important;
    border-width:2px !important;
    border-radius:14px !important;
  }

  .live-page .live-premium:before{
    inset:4px !important;
    border-radius:10px !important;
  }

  .live-page .live-premium__label{
    margin:0 0 9px !important;
    font-size:15px !important;
    line-height:1.1 !important;
  }

  .live-page .live-premium__body{
    display:grid !important;
    grid-template-columns:120px minmax(0,1fr) !important;
    gap:14px !important;
    align-items:center !important;
  }

  .live-page .live-premium img{
    width:120px !important;
    max-width:120px !important;
    height:120px !important;
    aspect-ratio:1/1 !important;
    object-fit:cover !important;
    border-radius:10px !important;
  }

  .live-page .live-premium h2{
    font-size:20px !important;
    line-height:1.2 !important;
    margin:0 !important;
  }

  .live-page .live-premium p,
  .live-page .live-premium__perex,
  .live-page .live-premium .live-actions{
    display:none !important;
  }
}

@media (max-width:420px){
  .live-page .live-premium__body{
    grid-template-columns:105px minmax(0,1fr) !important;
    gap:12px !important;
  }

  .live-page .live-premium img{
    width:105px !important;
    max-width:105px !important;
    height:105px !important;
  }

  .live-page .live-premium h2{
    font-size:18px !important;
  }
}

/* =========================================================
   V39 — HOMEPAGE COMPACT MOBILE + 3x4 ARTICLE SECTIONS
   2026-08-25
   BALÍK:
   1) menší nadpisy POSLEDNÍ RECEPTY / NÁPADY / NÁVODY
   2) mobil: články 2 vedle sebe
   3) mobil: kompaktnější TOP článek na homepage
   4) mobil: RECEPTY / NÁVODY / NÁPADY jako 3 kompaktní klikací tlačítka
   ========================================================= */

/* 1) HP — méně křiklavé nadpisy sekcí */
.homepage-live .content-section .section-head h2{
  font-size:19px !important;
  line-height:1.2 !important;
  font-weight:600 !important;
  letter-spacing:.01em !important;
}

@media(max-width:767px){
  .homepage-live .content-section .section-head{
    margin-bottom:12px !important;
  }

  .homepage-live .content-section .section-head h2{
    font-size:16px !important;
    line-height:1.2 !important;
    font-weight:600 !important;
  }

  .homepage-live .content-section .section-head a{
    font-size:10px !important;
  }
}


/* 2) HP — mobilní výpis článků 2 × 2 v každé sekci */
@media(max-width:767px){
  .homepage-live .article-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .homepage-live .article-card{
    border-radius:10px !important;
  }

  .homepage-live .article-card .card-body{
    padding:10px !important;
  }

  .homepage-live .article-card .card-body h3{
    font-size:15px !important;
    line-height:1.22 !important;
    margin:0 0 5px !important;
  }

  .homepage-live .article-card .tag{
    font-size:8px !important;
    padding:4px 5px !important;
    margin-bottom:6px !important;
  }

  .homepage-live .article-card .card-body > p{
    display:none !important;
  }
}

@media(max-width:420px){
  .homepage-live .article-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  .homepage-live .article-card .card-body{
    padding:8px !important;
  }

  .homepage-live .article-card .card-body h3{
    font-size:14px !important;
  }
}


/* 3) HP TOP ČLÁNEK — mobil: stejný styl, menší výška */
@media(max-width:767px){
  .homepage-live .hero .hero-inner{
    min-height:0 !important;
    grid-template-columns:1fr !important;
  }

  .homepage-live .hero-copy{
    padding:18px 0 12px !important;
  }

  .homepage-live .hero .eyebrow{
    font-size:11px !important;
    line-height:1.2 !important;
    letter-spacing:.16em !important;
    margin-bottom:6px !important;
  }

  .homepage-live .hero h1{
    font-size:27px !important;
    line-height:1.08 !important;
    margin:6px 0 13px !important;
  }

  .homepage-live .hero .article-perex{
    display:none !important;
  }

  .homepage-live .hero-buttons{
    margin-top:0 !important;
  }

  .homepage-live .hero-buttons .btn-primary{
    min-height:44px !important;
    padding:9px 14px !important;
    font-size:13px !important;
    border-radius:9px !important;
  }

  .homepage-live .hero-image{
    height:155px !important;
    min-height:155px !important;
    margin:0 !important;
    overflow:hidden !important;
  }

  .homepage-live .hero-image img{
    width:100% !important;
    height:155px !important;
    min-height:155px !important;
    object-fit:cover !important;
  }
}

@media(max-width:420px){
  .homepage-live .hero h1{
    font-size:25px !important;
  }

  .homepage-live .hero-image,
  .homepage-live .hero-image img{
    height:145px !important;
    min-height:145px !important;
  }
}


/* 4) HP HLAVNÍ KATEGORIE — mobil: 3 jasná klikací tlačítka v jedné řadě */
@media(max-width:767px){
  .homepage-live .category-strip{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px !important;
    margin-top:14px !important;
  }

  .homepage-live .category-card,
  .homepage-live .category-card:nth-child(3){
    grid-column:auto !important;
    min-height:82px !important;
    padding:9px 4px !important;
    border-width:1.5px !important;
    border-style:solid !important;
    border-radius:12px !important;
    box-shadow:0 5px 14px rgba(16,39,51,.10) !important;
    transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease !important;
  }

  .homepage-live .category-card .icon{
    font-size:27px !important;
    line-height:1 !important;
    margin:0 0 6px !important;
  }

  .homepage-live .category-card strong{
    font-size:12px !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    letter-spacing:.01em !important;
  }

  .homepage-live .category-card small{
    display:none !important;
  }

  .homepage-live .category-card:active{
    transform:translateY(1px) scale(.98) !important;
    box-shadow:0 2px 7px rgba(16,39,51,.13) !important;
  }

  .homepage-live .category-card.recipes{
    border-color:#8ddbd8 !important;
  }

  .homepage-live .category-card.guides{
    border-color:#a9c7d8 !important;
  }

  .homepage-live .category-card.ideas{
    border-color:#91dadd !important;
  }
}

@media(min-width:768px){
  .homepage-live .category-card:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 11px 26px rgba(16,39,51,.11) !important;
  }
}

/* =========================================================
   V42 — DESKTOP EXTRA COMPACT CATEGORY LAYOUT
   2026-08-25
   Cíl: výrazně užší a hustší desktop podobný referenčnímu měřítku.
   Mobilní zobrazení zůstává beze změny.
   ========================================================= */

@media (min-width:981px){

  /* Celý obsah kategorií stáhnout do výrazně užšího centrálního sloupce */
  .live-page > .wrap,
  .live-page .live-page-head,
  .live-page .live-premium,
  .live-page .live-category-grid{
    width:min(880px,calc(100% - 80px)) !important;
    max-width:880px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Nadpis stránky méně roztažený */
  .live-page-head{
    padding:6px 0 12px !important;
  }

  .live-page-head h1{
    font-size:30px !important;
    line-height:1.05 !important;
    margin-bottom:6px !important;
  }

  .live-page-head p{
    font-size:13px !important;
    line-height:1.4 !important;
    max-width:680px !important;
  }

  /* TOP článek — jasně prémiový, ale kompaktní */
  .live-page .live-premium{
    margin-top:8px !important;
    margin-bottom:14px !important;
    padding:12px !important;
    border:2px solid #e6a20c !important;
    border-radius:14px !important;
    background:linear-gradient(135deg,#fff9df 0%,#ffedb2 100%) !important;
    box-shadow:0 8px 20px rgba(164,108,0,.13) !important;
  }

  .live-page .live-premium:before{
    inset:4px !important;
    border-radius:10px !important;
  }

  .live-page .live-premium__label{
    margin:0 0 8px !important;
    font-size:15px !important;
    line-height:1 !important;
    letter-spacing:.05em !important;
  }

  .live-page .live-premium__body{
    display:grid !important;
    grid-template-columns:300px minmax(0,1fr) !important;
    gap:18px !important;
    align-items:center !important;
  }

  .live-page .live-premium img{
    width:300px !important;
    max-width:300px !important;
    height:160px !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
    border-radius:9px !important;
    box-shadow:0 2px 8px rgba(0,0,0,.08) !important;
  }

  .live-page .live-premium h2{
    margin:0 0 5px !important;
    font-size:19px !important;
    line-height:1.18 !important;
  }

  .live-page .live-premium p{
    margin:0 0 8px !important;
    font-size:12px !important;
    line-height:1.35 !important;
  }

  .live-page .live-premium .btn,
  .live-page .live-premium a.btn{
    min-height:34px !important;
    padding:7px 12px !important;
    font-size:11px !important;
  }

  /* Podkategorie — výrazně menší než dosud */
  .live-page .live-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .live-page .live-subcategory{
    grid-template-columns:76px minmax(0,1fr) !important;
    gap:11px !important;
    min-height:104px !important;
    padding:11px 12px !important;
    border-radius:10px !important;
    box-shadow:0 3px 10px rgba(0,0,0,.03) !important;
  }

  .live-page .live-subcategory img{
    width:70px !important;
    max-width:70px !important;
    height:70px !important;
    object-fit:contain !important;
  }

  .live-page .live-subcategory h2{
    margin:0 0 4px !important;
    font-size:15px !important;
    line-height:1.15 !important;
  }

  .live-page .live-subcategory p{
    margin:0 !important;
    font-size:11px !important;
    line-height:1.28 !important;
  }

  /* Trochu víc obsahu nad přehybem obrazovky */
  .live-page{
    padding-top:18px !important;
    padding-bottom:28px !important;
  }
}

/* =========================================================
   V43 — MOBIL: VŠECHNY VÝPISY ČLÁNKŮ 2 VEDLE SEBE
   2026-08-25
   Příklad: Recepty > Snídaně > výpis článků.
   Stejný princip jako na homepage.
   ========================================================= */

@media (max-width:767px){

  /* Moderní výpisy článků napříč kategoriemi, podkategoriemi a hledáním */
  .live-page .live-article-grid,
  .live-search-results .live-article-grid,
  .author-page .article-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  /* Pokud některá stránka používá starší article-grid, drž také 2 sloupce */
  .live-page .article-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  /* Kompaktní karta jako na HP */
  .live-page .live-article-card,
  .live-search-results .live-article-card,
  .live-page .article-card,
  .author-page .article-card{
    min-width:0 !important;
    border-radius:10px !important;
  }

  .live-page .live-article-card__body,
  .live-search-results .live-article-card__body,
  .live-page .article-card .card-body,
  .author-page .article-card .card-body{
    padding:9px !important;
  }

  .live-page .live-article-card h3,
  .live-search-results .live-article-card h3,
  .live-page .article-card h3,
  .author-page .article-card h3{
    font-size:14px !important;
    line-height:1.2 !important;
    margin:0 0 5px !important;
  }

  /* Na dvousloupcovém mobilním výpisu perex schovat */
  .live-page .live-article-card__body > p,
  .live-search-results .live-article-card__body > p,
  .live-page .article-card .card-body > p,
  .author-page .article-card .card-body > p{
    display:none !important;
  }

  .live-page .tag,
  .live-search-results .tag,
  .author-page .tag{
    font-size:8px !important;
    padding:4px 5px !important;
    margin-bottom:6px !important;
  }
}

/* Ani na velmi úzkých telefonech se výpis nesesype zpět na 1 sloupec */
@media (max-width:420px){
  .live-page .live-article-grid,
  .live-search-results .live-article-grid,
  .live-page .article-grid,
  .author-page .article-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  .live-page .live-article-card__body,
  .live-search-results .live-article-card__body,
  .live-page .article-card .card-body,
  .author-page .article-card .card-body{
    padding:8px !important;
  }

  .live-page .live-article-card h3,
  .live-search-results .live-article-card h3,
  .live-page .article-card h3,
  .author-page .article-card h3{
    font-size:13px !important;
  }
}

/* =========================================================
   V44 — DESKTOP COMPACT SYSTEM
   2026-08-25
   Cíl: desktopově kompaktní, přehledný layout inspirovaný
   referenční hustotou Toprecepty, ale se zachováním identity iNÁVODY.
   Mobilní pravidla z V43 zůstávají beze změny.
   ========================================================= */

@media (min-width:981px){

  /* ---------- JEDNOTNÁ DESKTOPOVÁ ŠÍŘKA ---------- */
  .homepage-live .wrap,
  .homepage-live .hero-inner,
  .homepage-live .category-strip,
  .homepage-live .content-section,
  .homepage-live .feature-row,
  .homepage-live .benefits,
  .live-page > .wrap,
  .live-page .live-page-head,
  .live-page .live-premium,
  .live-page .live-category-grid{
    width:min(960px,calc(100% - 72px)) !important;
    max-width:960px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* ---------- HOMEPAGE TOP / HERO ---------- */
  .homepage-live .hero{
    width:100% !important;
  }

  .homepage-live .hero .hero-inner{
    min-height:235px !important;
    grid-template-columns:1fr 1fr !important;
  }

  .homepage-live .hero-copy{
    padding:22px 0 !important;
  }

  .homepage-live .hero .eyebrow{
    font-size:10px !important;
    letter-spacing:.14em !important;
    margin-bottom:5px !important;
  }

  .homepage-live .hero h1{
    font-size:30px !important;
    line-height:1.06 !important;
    max-width:430px !important;
    margin:6px 0 10px !important;
  }

  .homepage-live .hero .article-perex,
  .homepage-live .hero-copy > p{
    max-width:420px !important;
    padding:11px 13px !important;
    font-size:12px !important;
    line-height:1.4 !important;
    margin:0 !important;
  }

  .homepage-live .hero-buttons{
    margin-top:10px !important;
    gap:8px !important;
  }

  .homepage-live .hero-buttons .btn{
    padding:8px 12px !important;
    min-height:34px !important;
    font-size:11px !important;
  }

  .homepage-live .hero-image,
  .homepage-live .hero-image img{
    height:235px !important;
    min-height:235px !important;
    object-fit:cover !important;
  }

  /* ---------- HP HLAVNÍ KATEGORIE ---------- */
  .homepage-live .category-strip{
    gap:10px !important;
    margin-top:16px !important;
  }

  .homepage-live .category-card{
    min-height:88px !important;
    padding:11px 8px !important;
    border-radius:10px !important;
    box-shadow:0 4px 12px rgba(16,39,51,.06) !important;
  }

  .homepage-live .category-card .icon{
    font-size:24px !important;
    margin-bottom:5px !important;
  }

  .homepage-live .category-card strong{
    font-size:14px !important;
    line-height:1.1 !important;
  }

  .homepage-live .category-card small{
    margin-top:3px !important;
    font-size:10px !important;
  }

  /* ---------- HP SEKTORY ČLÁNKŮ ---------- */
  .homepage-live .content-section{
    padding:22px 0 10px !important;
  }

  .homepage-live .content-section + .content-section{
    padding-top:16px !important;
  }

  .homepage-live .section-head{
    margin-bottom:10px !important;
  }

  .homepage-live .content-section .section-head h2{
    font-size:16px !important;
    font-weight:700 !important;
  }

  .homepage-live .content-section .section-head a{
    font-size:9px !important;
  }

  .homepage-live .article-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .homepage-live .article-card{
    border-radius:9px !important;
    box-shadow:0 4px 12px rgba(0,0,0,.04) !important;
  }

  /* Nižší obrázek jako na referenčním desktopu */
  .homepage-live .article-card > img{
    aspect-ratio:16/10 !important;
    object-fit:cover !important;
  }

  .homepage-live .article-card .card-body{
    padding:9px !important;
  }

  .homepage-live .article-card .tag{
    font-size:7px !important;
    padding:3px 4px !important;
    margin-bottom:5px !important;
  }

  .homepage-live .article-card .card-body h3{
    font-size:13px !important;
    line-height:1.18 !important;
    margin:0 0 5px !important;
  }

  .homepage-live .article-card .card-body p{
    font-size:10px !important;
    line-height:1.3 !important;
    -webkit-line-clamp:2 !important;
  }

  /* ---------- SPODNÍ HP BLOKY ---------- */
  .homepage-live .feature-row{
    gap:12px !important;
    padding:18px 0 !important;
  }

  .homepage-live .feature,
  .homepage-live .search-suggest-card{
    min-height:145px !important;
    padding:17px !important;
  }

  .homepage-live .feature h2,
  .homepage-live .search-suggest-copy h2{
    font-size:20px !important;
  }

  .homepage-live .benefits{
    padding:14px !important;
    gap:8px !important;
    margin-bottom:24px !important;
  }

  /* ---------- KATEGORIE / PODKATEGORIE ---------- */
  .live-page{
    padding-top:16px !important;
    padding-bottom:26px !important;
  }

  .live-page .live-page-head{
    padding:4px 0 10px !important;
  }

  .live-page .live-page-head h1{
    font-size:28px !important;
    line-height:1.05 !important;
    margin-bottom:5px !important;
  }

  .live-page .live-page-head p{
    max-width:650px !important;
    font-size:12px !important;
    line-height:1.35 !important;
  }

  /* TOP článek kategorie: výrazný, ale kompaktní */
  .live-page .live-premium{
    margin-top:7px !important;
    margin-bottom:12px !important;
    padding:11px !important;
    border-radius:13px !important;
    box-shadow:0 7px 18px rgba(164,108,0,.12) !important;
  }

  .live-page .live-premium__label{
    margin:0 0 7px !important;
    font-size:14px !important;
  }

  .live-page .live-premium__body{
    grid-template-columns:285px minmax(0,1fr) !important;
    gap:16px !important;
  }

  .live-page .live-premium img{
    width:285px !important;
    max-width:285px !important;
    height:150px !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
    border-radius:8px !important;
  }

  .live-page .live-premium h2{
    font-size:18px !important;
    line-height:1.16 !important;
    margin:0 0 5px !important;
  }

  .live-page .live-premium p{
    font-size:11px !important;
    line-height:1.32 !important;
    margin:0 0 7px !important;
  }

  .live-page .live-premium .btn,
  .live-page .live-premium a.btn{
    min-height:32px !important;
    padding:6px 10px !important;
    font-size:10px !important;
  }

  .live-page .live-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
  }

  .live-page .live-subcategory{
    grid-template-columns:68px minmax(0,1fr) !important;
    gap:10px !important;
    min-height:94px !important;
    padding:10px 11px !important;
    border-radius:9px !important;
    box-shadow:0 3px 9px rgba(0,0,0,.028) !important;
  }

  .live-page .live-subcategory img{
    width:62px !important;
    max-width:62px !important;
    height:62px !important;
    object-fit:contain !important;
  }

  .live-page .live-subcategory h2{
    font-size:14px !important;
    line-height:1.15 !important;
    margin:0 0 3px !important;
  }

  .live-page .live-subcategory p{
    font-size:10.5px !important;
    line-height:1.25 !important;
  }
}

/* =========================================================
   V45 — SJEDNOCENÍ DESKTOPU: TOP + PODKATEGORIE + VÝPISY
   2026-08-25
   - HP články zůstávají beze změny
   - Výpisy článků mimo HP mají stejné měřítko jako HP
   - TOP v kategoriích je prémiová karta, ne žlutý banner
   - Podkategorie jsou proporčně navázané na TOP kartu
   - Mobilní pravidla V43 zůstávají beze změny
   ========================================================= */

@media (min-width:981px){

  /* ---------- JEDNOTNÁ ŠÍŘKA OBSAHU ---------- */
  .live-page > .wrap,
  .live-page .live-page-head,
  .live-page .live-premium,
  .live-page .live-category-grid,
  .live-page .live-article-grid{
    width:min(960px,calc(100% - 72px)) !important;
    max-width:960px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* ---------- TOP ČLÁNEK V KATEGORII ---------- */
  .live-page .live-premium{
    position:relative !important;
    box-sizing:border-box !important;
    margin-top:10px !important;
    margin-bottom:14px !important;
    padding:14px !important;

    /* méně žluté plochy, více prémiová karta */
    background:linear-gradient(180deg,#fffdf7 0%,#fff7dd 100%) !important;
    border:2px solid #e3a21c !important;
    border-radius:14px !important;
    box-shadow:0 7px 18px rgba(132,86,0,.10) !important;
    overflow:hidden !important;
  }

  .live-page .live-premium:before{
    content:"" !important;
    position:absolute !important;
    inset:5px !important;
    border:1px solid rgba(227,162,28,.38) !important;
    border-radius:10px !important;
    pointer-events:none !important;
  }

  /* TOP label jako menší prémiový štítek */
  .live-page .live-premium__label{
    position:relative !important;
    z-index:2 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    margin:0 0 9px 0 !important;
    padding:5px 10px !important;
    border-radius:999px !important;
    background:#f2b52f !important;
    color:#5e3a00 !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:800 !important;
    letter-spacing:.05em !important;
    text-align:left !important;
  }

  .live-page .live-premium__body{
    position:relative !important;
    z-index:1 !important;
    display:grid !important;
    grid-template-columns:250px minmax(0,1fr) !important;
    gap:18px !important;
    align-items:center !important;
  }

  .live-page .live-premium img{
    width:250px !important;
    max-width:250px !important;
    height:140px !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
    border-radius:9px !important;
    box-shadow:none !important;
  }

  .live-page .live-premium h2{
    margin:0 0 6px !important;
    font-size:18px !important;
    line-height:1.18 !important;
    font-weight:700 !important;
  }

  .live-page .live-premium p{
    margin:0 0 8px !important;
    font-size:11.5px !important;
    line-height:1.35 !important;
  }

  .live-page .live-premium .btn,
  .live-page .live-premium a.btn{
    min-height:32px !important;
    padding:6px 10px !important;
    font-size:10px !important;
    border-radius:7px !important;
  }

  /* ---------- PODKATEGORIE: PROPORČNÍ K TOP ---------- */
  .live-page .live-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .live-page .live-subcategory{
    grid-template-columns:82px minmax(0,1fr) !important;
    gap:12px !important;
    align-items:center !important;
    min-height:112px !important;
    padding:12px 14px !important;
    border-radius:10px !important;
    background:#fff !important;
    box-shadow:0 3px 10px rgba(0,0,0,.03) !important;
  }

  .live-page .live-subcategory img{
    width:76px !important;
    max-width:76px !important;
    height:76px !important;
    object-fit:contain !important;
  }

  .live-page .live-subcategory h2{
    margin:0 0 4px !important;
    font-size:15px !important;
    line-height:1.17 !important;
    font-weight:700 !important;
  }

  .live-page .live-subcategory p{
    margin:0 !important;
    font-size:10.5px !important;
    line-height:1.28 !important;
  }

  /* ---------- VŠECHNY VÝPISY ČLÁNKŮ = STEJNÉ MĚŘÍTKO JAKO HP ---------- */
  .live-page .live-article-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .live-page .live-article-card{
    border-radius:9px !important;
    box-shadow:0 4px 12px rgba(0,0,0,.04) !important;
    overflow:hidden !important;
    min-width:0 !important;
  }

  .live-page .live-article-card img{
    width:100% !important;
    aspect-ratio:16/10 !important;
    height:auto !important;
    object-fit:cover !important;
  }

  .live-page .live-article-card__body{
    padding:9px !important;
  }

  .live-page .live-article-card h3{
    font-size:13px !important;
    line-height:1.18 !important;
    margin:0 0 5px !important;
  }

  .live-page .live-article-card p{
    font-size:10px !important;
    line-height:1.3 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .live-page .live-article-card .tag,
  .live-page .live-article-card__body .tag{
    font-size:7px !important;
    padding:3px 4px !important;
    margin-bottom:5px !important;
  }
}

/* =========================================================
   V46 — PRO UX / CX POLISH
   2026-08-25
   Cíl: profesionálnější, kompaktnější a konzistentnější desktop.
   Inspirace: hustota obsahu a jasná hierarchie velkých obsahových webů.
   Mobilní layout z V43/V45 zůstává zachován; níže jsou primárně desktop úpravy.
   ========================================================= */

:root{
  --ui-surface:#ffffff;
  --ui-bg:#faf9f6;
  --ui-border:#e4dfd7;
  --ui-text:#17212a;
  --ui-muted:#6f6a63;
  --ui-shadow:0 4px 14px rgba(16,39,51,.055);
  --ui-shadow-hover:0 8px 22px rgba(16,39,51,.09);
  --ui-radius:10px;
}

/* Lepší globální pocit klikatelnosti */
a,button,.btn,.category-card,.live-subcategory,.article-card,.live-article-card{
  -webkit-tap-highlight-color:transparent;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(53,196,194,.28)!important;
  outline-offset:2px!important;
}

/* =========================================================
   DESKTOP / NOTEBOOK
   ========================================================= */
@media (min-width:981px){

  /* ---------- HLAVIČKA: MENŠÍ, ČISTŠÍ, VÍCE OBSAHU NAD PŘEHYBEM ---------- */
  .site-header .wrap{
    width:min(1120px,calc(100% - 56px))!important;
  }

  .site-header .topbar{
    padding:11px 0!important;
    min-height:66px!important;
  }

  .site-header .logo img{
    width:142px!important;
    height:auto!important;
  }

  .site-header .header-actions{
    gap:8px!important;
  }

  .site-header .search-form .search{
    width:215px!important;
    min-width:215px!important;
    height:38px!important;
    padding:0 12px!important;
    font-size:12px!important;
    border-radius:8px!important;
  }

  .site-header .userbar-live a{
    height:38px!important;
    min-height:38px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }

  .site-header .header-actions>.btn{
    min-height:38px!important;
    padding:0 15px!important;
    font-size:12px!important;
  }

  .site-header .nav-inner{
    padding:9px 0!important;
    gap:30px!important;
    font-size:12px!important;
  }

  /* ---------- STRÁNKOVÁ TYPOGRAFIE: MÉNĚ XL, VÍC PROFESIONÁLNÍ ---------- */
  .live-page .live-breadcrumb,
  .article-breadcrumb,
  .author-breadcrumb{
    font-size:10px!important;
    margin-bottom:7px!important;
    color:#817a72!important;
  }

  .live-page .live-page-head{
    padding:3px 0 10px!important;
  }

  .live-page .live-page-head h1{
    font-size:24px!important;
    line-height:1.08!important;
    margin:0 0 5px!important;
    letter-spacing:-.015em!important;
  }

  .live-page .live-page-head p{
    font-size:11px!important;
    line-height:1.35!important;
    margin:0!important;
  }

  .live-page .live-page-head .btn,
  .live-page .live-page-head a.btn{
    min-height:34px!important;
    padding:7px 11px!important;
    font-size:11px!important;
    border-radius:7px!important;
  }

  /* ---------- TOP KARTA: VÝRAZNÁ, ALE NE UKŘIČENÁ ---------- */
  .live-page .live-premium{
    padding:12px!important;
    margin-top:8px!important;
    margin-bottom:13px!important;
    border-radius:12px!important;
    background:linear-gradient(180deg,#fffdf8 0%,#fff7df 100%)!important;
    box-shadow:0 5px 15px rgba(132,86,0,.085)!important;
  }

  .live-page .live-premium__label{
    margin:0 0 8px 0!important;
    padding:4px 9px!important;
    font-size:10px!important;
    letter-spacing:.04em!important;
  }

  .live-page .live-premium__body{
    grid-template-columns:235px minmax(0,1fr)!important;
    gap:16px!important;
  }

  .live-page .live-premium img{
    width:235px!important;
    max-width:235px!important;
    height:128px!important;
    border-radius:8px!important;
  }

  .live-page .live-premium h2{
    font-size:16px!important;
    line-height:1.18!important;
    margin:0 0 4px!important;
    letter-spacing:-.01em!important;
  }

  .live-page .live-premium p{
    font-size:10.5px!important;
    line-height:1.32!important;
    margin:0 0 7px!important;
    max-width:560px!important;
  }

  .live-page .live-premium .btn,
  .live-page .live-premium a.btn{
    min-height:30px!important;
    padding:5px 9px!important;
    font-size:9px!important;
  }

  /* ---------- PODKATEGORIE: STEJNÝ RYTMUS, VÍC VZDUCHU V TEXTU ---------- */
  .live-page .live-category-grid{
    gap:9px!important;
  }

  .live-page .live-subcategory{
    grid-template-columns:74px minmax(0,1fr)!important;
    gap:11px!important;
    min-height:104px!important;
    padding:11px 12px!important;
    border:1px solid var(--ui-border)!important;
    border-radius:10px!important;
    box-shadow:var(--ui-shadow)!important;
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease!important;
  }

  .live-page .live-subcategory:hover{
    transform:translateY(-1px)!important;
    box-shadow:var(--ui-shadow-hover)!important;
    border-color:#d4cec4!important;
  }

  .live-page .live-subcategory img{
    width:68px!important;
    max-width:68px!important;
    height:68px!important;
  }

  .live-page .live-subcategory h2{
    font-size:14px!important;
    line-height:1.16!important;
    margin:0 0 4px!important;
  }

  .live-page .live-subcategory p{
    font-size:10px!important;
    line-height:1.28!important;
    color:#706a62!important;
  }

  /* ---------- VÝPISY ČLÁNKŮ: STEJNÝ DESIGN JAKO HP ---------- */
  .live-page .live-article-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
  }

  .live-page .live-article-card{
    border:1px solid var(--ui-border)!important;
    border-radius:9px!important;
    box-shadow:var(--ui-shadow)!important;
    transition:transform .15s ease,box-shadow .15s ease!important;
  }

  .live-page .live-article-card:hover{
    transform:translateY(-2px)!important;
    box-shadow:var(--ui-shadow-hover)!important;
  }

  .live-page .live-article-card img{
    aspect-ratio:16/10!important;
  }

  .live-page .live-article-card__body{
    padding:9px!important;
  }

  .live-page .live-article-card h3{
    font-size:13px!important;
    line-height:1.18!important;
    margin:0 0 5px!important;
  }

  .live-page .live-article-card p{
    font-size:9.8px!important;
    line-height:1.28!important;
    color:#716b63!important;
  }

  /* ---------- HOMEPAGE: KOMPAKTNĚJŠÍ HERO + KATEGORIE, ČLÁNKY ZŮSTÁVAJÍ ---------- */
  .homepage-live .hero .hero-inner{
    min-height:220px!important;
  }

  .homepage-live .hero-copy{
    padding:18px 0!important;
  }

  .homepage-live .hero h1{
    font-size:28px!important;
    line-height:1.05!important;
    margin:5px 0 9px!important;
    max-width:410px!important;
  }

  .homepage-live .hero .article-perex,
  .homepage-live .hero-copy>p{
    font-size:11px!important;
    line-height:1.35!important;
    max-width:400px!important;
    padding:10px 12px!important;
  }

  .homepage-live .hero-image,
  .homepage-live .hero-image img{
    height:220px!important;
    min-height:220px!important;
  }

  .homepage-live .hero-buttons{
    margin-top:9px!important;
  }

  .homepage-live .hero-buttons .btn{
    min-height:32px!important;
    padding:6px 10px!important;
    font-size:10px!important;
  }

  .homepage-live .category-strip{
    margin-top:13px!important;
    gap:9px!important;
  }

  .homepage-live .category-card{
    min-height:80px!important;
    padding:9px 7px!important;
    border-radius:10px!important;
  }

  .homepage-live .category-card .icon{
    font-size:22px!important;
    margin-bottom:4px!important;
  }

  .homepage-live .category-card strong{
    font-size:13px!important;
  }

  .homepage-live .category-card small{
    font-size:9px!important;
  }

  /* ---------- DETAIL ČLÁNKU: ČITELNOST A PROFESIONÁLNÍ EDITORIAL ---------- */
  .article-detail-grid{
    grid-template-columns:minmax(0,1fr) 260px!important;
    gap:20px!important;
  }

  .article-main-modern{
    padding:22px!important;
    border-radius:12px!important;
    box-shadow:var(--ui-shadow)!important;
  }

  .article-title{
    font-size:32px!important;
    line-height:1.08!important;
    margin-bottom:8px!important;
    letter-spacing:-.02em!important;
  }

  .article-lead{
    font-size:14px!important;
    line-height:1.5!important;
    margin-bottom:12px!important;
  }

  .article-meta-modern{
    gap:10px 16px!important;
    padding:10px 0 12px!important;
    font-size:10px!important;
  }

  .article-gallery-main img{
    height:380px!important;
    border-radius:10px!important;
  }

  .article-body-modern{
    font-size:15px!important;
    line-height:1.68!important;
    padding:20px!important;
    border-radius:10px!important;
  }

  .article-body-modern h2{
    font-size:21px!important;
    line-height:1.2!important;
    margin:26px 0 10px!important;
  }

  .article-body-modern h3{
    font-size:17px!important;
    line-height:1.25!important;
  }

  .article-sidebar{
    gap:12px!important;
  }

  /* ---------- PROFIL AUTORA ---------- */
  .author-page{
    padding-top:22px!important;
  }

  .author-page h1{
    font-size:30px!important;
  }

  .author-profile-card{
    grid-template-columns:125px minmax(0,1fr)!important;
    gap:18px!important;
    padding:18px!important;
    border-radius:12px!important;
    box-shadow:var(--ui-shadow)!important;
  }

  .author-avatar{
    width:104px!important;
    height:104px!important;
  }

  .author-name{
    font-size:20px!important;
  }

  .author-stat{
    min-height:78px!important;
    padding:11px 10px!important;
  }

  /* ---------- FORMULÁŘE ---------- */
  .live-form-card{
    border-radius:12px!important;
    box-shadow:var(--ui-shadow)!important;
  }

  .live-form-card input[type=text],
  .live-form-card input[type=email],
  .live-form-card input[type=password],
  .live-form-card input[type=url],
  .live-form-card select,
  .live-form-card textarea{
    border-color:#d9d3ca!important;
    background:#fff!important;
    transition:border-color .15s ease,box-shadow .15s ease!important;
  }

  .live-form-card input:focus,
  .live-form-card select:focus,
  .live-form-card textarea:focus{
    border-color:#35c4c2!important;
    box-shadow:0 0 0 3px rgba(53,196,194,.12)!important;
    outline:none!important;
  }

  /* ---------- FOOTER: MÉNĚ TĚŽKÝ ---------- */
  .site-footer{
    margin-top:28px!important;
    padding-top:34px!important;
    padding-bottom:28px!important;
  }

  .site-footer .footer-grid-v33,
  .site-footer .footer-grid{
    gap:30px!important;
  }

  .site-footer a,
  .site-footer p{
    font-size:11px!important;
  }
}

/* =========================================================
   TABLET / MOBIL: JEN JEMNÝ POLISH, ROZLOŽENÍ NEMĚNIT
   ========================================================= */
@media (max-width:980px){
  .btn{
    border-radius:8px!important;
  }

  .live-page .live-subcategory,
  .homepage-live .article-card,
  .live-page .live-article-card{
    box-shadow:0 4px 12px rgba(16,39,51,.05)!important;
  }
}

/* =========================================================
   V47 — MOBILE COMPACT HEADER + HP CTA + ARTICLE DETAIL
   2026-08-25
   BALÍK:
   1) menší CTA "ZOBRAZIT ČLÁNEK" v TOP článku na HP
   2) menší "NAPSAT ČLÁNEK" v mobilním headeru
   3) sjednocený kompaktní mobilní detail článku pro RECEPT/NÁVOD/NÁPAD
   ========================================================= */

@media (max-width:767px){

  /* 1) Homepage TOP CTA — menší, vlevo, nepřes celou šířku */
  .homepage-live .hero-buttons{
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    margin-top:8px !important;
  }

  .homepage-live .hero-buttons .btn-primary{
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    min-height:38px !important;
    padding:8px 14px !important;
    font-size:12px !important;
    line-height:1 !important;
    border-radius:8px !important;
  }

  /* 2) Mobilní header — menší "NAPSAT ČLÁNEK", vyvážené s user panelem */
  .site-header .header-actions > .btn,
  .site-header .header-actions > a.btn{
    min-height:36px !important;
    height:36px !important;
    padding:0 10px !important;
    font-size:11px !important;
    border-radius:8px !important;
    white-space:nowrap !important;
  }

  .site-header .userbar-live a{
    min-height:36px !important;
    height:36px !important;
    padding:0 8px !important;
    font-size:11px !important;
  }

  .site-header .topbar{
    padding:9px 0 !important;
    row-gap:6px !important;
  }

  /* 3) Detail článku — jeden kompaktní systém pro všechny typy článků */
  .article-detail-page{
    padding-top:12px !important;
    padding-bottom:26px !important;
  }

  /* Admin/autor informační box nesmí sežrat čtvrt obrazovky */
  .article-admin-note,
  .article-detail-page .article-admin-note{
    margin:0 0 10px !important;
    padding:8px 10px !important;
    border-radius:8px !important;
    font-size:12px !important;
    line-height:1.3 !important;
  }

  .article-admin-note a,
  .article-detail-page .article-admin-note a{
    font-size:12px !important;
  }

  /* Hlavní bílá karta */
  .article-main-modern{
    padding:14px !important;
    border-radius:10px !important;
  }

  /* Breadcrumb */
  .article-breadcrumb{
    margin:0 0 8px !important;
    font-size:10px !important;
    line-height:1.3 !important;
  }

  /* Typ + podkategorie */
  .article-type-tag,
  .article-detail-page .tag{
    min-height:0 !important;
    padding:4px 7px !important;
    margin:0 5px 7px 0 !important;
    border-radius:5px !important;
    font-size:9px !important;
    line-height:1 !important;
  }

  /* H1 — dost výrazné, ale ne billboard */
  .article-title{
    margin:0 0 9px !important;
    font-size:28px !important;
    line-height:1.06 !important;
    letter-spacing:-.015em !important;
  }

  /* Perex */
  .article-lead{
    margin:0 0 10px !important;
    font-size:16px !important;
    line-height:1.42 !important;
  }

  /* Meta blok, pokud na daném článku existuje */
  .article-meta-modern,
  .article-meta{
    gap:8px 12px !important;
    padding:8px 0 9px !important;
    margin:0 !important;
    font-size:10px !important;
    line-height:1.25 !important;
  }

  /* Galerie musí začít co nejvýš */
  .article-gallery{
    margin-top:10px !important;
    gap:8px !important;
  }

  .article-gallery-main img{
    height:auto !important;
    max-height:none !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    border-radius:9px !important;
  }

  .article-gallery-thumbs{
    gap:6px !important;
    margin-top:6px !important;
  }

  .article-gallery-thumbs img{
    height:70px !important;
    border-radius:7px !important;
  }

  /* U samostatných info boxů ubrat zbytečnou výšku */
  .article-info-grid{
    gap:9px !important;
    margin-top:10px !important;
  }

  .article-box{
    padding:12px !important;
    border-radius:9px !important;
  }

  .article-box h2{
    margin:0 0 8px !important;
    font-size:16px !important;
  }
}

@media (max-width:420px){

  .article-title{
    font-size:26px !important;
  }

  .article-lead{
    font-size:15px !important;
    line-height:1.4 !important;
  }

  .article-main-modern{
    padding:12px !important;
  }

  .site-header .header-actions > .btn,
  .site-header .header-actions > a.btn{
    padding:0 8px !important;
    font-size:10px !important;
  }

  .homepage-live .hero-buttons .btn-primary{
    min-height:36px !important;
    padding:7px 12px !important;
    font-size:11px !important;
  }
}

/* =========================================================
   V48 — DETAIL ČLÁNKU / RECEPTU
   2026-08-25
   - metadata přesunuta pod perex
   - galerie výš a profesionálnější
   - strukturované Ingredience / Postup s ikonami
   - PC: 2 sloupce; mobil: boxy pod sebou
   - bez vymyšleného času/porcí
   ========================================================= */

.article-meta-top{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px 18px !important;
  margin:0 0 12px !important;
  padding:9px 0 11px !important;
  border-top:1px solid var(--border) !important;
  border-bottom:1px solid var(--border) !important;
  color:#6b655e !important;
}

.article-meta-top .article-meta-item{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  min-width:0 !important;
}

.article-meta-top .article-meta-item i{
  color:#25aaa8 !important;
  width:14px !important;
  text-align:center !important;
}

.article-meta-top a{
  color:inherit !important;
  font-weight:600 !important;
  text-decoration:none !important;
}

.article-meta-top a:hover{
  color:#159a98 !important;
}

.article-gallery-main{
  position:relative !important;
}

.article-gallery-main > a{
  position:relative !important;
  display:block !important;
}

.article-zoom-hint{
  position:absolute !important;
  right:12px !important;
  bottom:12px !important;
  width:34px !important;
  height:34px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  background:rgba(37,170,168,.94) !important;
  color:#fff !important;
  box-shadow:0 4px 12px rgba(0,0,0,.16) !important;
  pointer-events:none !important;
}

.article-recipe-grid{
  align-items:stretch !important;
}

.article-box--ingredients,
.article-box--steps{
  background:#fff !important;
  border:1px solid #ddd6cb !important;
  box-shadow:0 4px 14px rgba(16,39,51,.04) !important;
}

.article-recipe-grid .article-box h2{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  color:#1d2b31 !important;
}

.article-box-icon{
  flex:0 0 auto !important;
  width:30px !important;
  height:30px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:8px !important;
  background:#e7f7f5 !important;
  color:#159a98 !important;
  font-size:14px !important;
}

.article-box--ingredients ul,
.article-box--steps ol{
  margin-top:3px !important;
}

.article-box--ingredients li,
.article-box--steps li{
  margin-bottom:6px !important;
}

.article-box--steps ol{
  counter-reset:recipe-step !important;
  list-style:none !important;
  padding-left:0 !important;
}

.article-box--steps ol li{
  position:relative !important;
  padding-left:34px !important;
  min-height:26px !important;
}

.article-box--steps ol li:before{
  counter-increment:recipe-step !important;
  content:counter(recipe-step) !important;
  position:absolute !important;
  left:0 !important;
  top:1px !important;
  width:23px !important;
  height:23px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  background:#26aaa8 !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:800 !important;
  line-height:1 !important;
}

@media (min-width:981px){
  .article-main-modern{
    padding:20px !important;
  }

  .article-title{
    font-size:30px !important;
    margin-bottom:6px !important;
  }

  .article-lead{
    font-size:13px !important;
    line-height:1.45 !important;
    margin-bottom:10px !important;
  }

  .article-meta-top{
    font-size:10px !important;
  }

  .article-gallery{
    margin-top:12px !important;
  }

  .article-gallery-main img{
    height:360px !important;
  }

  .article-recipe-grid{
    grid-template-columns:minmax(0,.92fr) minmax(0,1.35fr) !important;
    gap:12px !important;
    margin-top:12px !important;
  }

  .article-recipe-grid .article-box{
    padding:15px !important;
  }

  .article-recipe-grid .article-box h2{
    font-size:16px !important;
    margin:0 0 10px !important;
  }

  .article-recipe-grid .article-box ul,
  .article-recipe-grid .article-box ol{
    font-size:12px !important;
    line-height:1.5 !important;
  }

  .article-body-modern{
    margin-top:12px !important;
  }
}

@media (max-width:767px){
  .article-meta-top{
    gap:6px 12px !important;
    padding:7px 0 8px !important;
    margin-bottom:8px !important;
    font-size:9px !important;
  }

  .article-meta-top .article-meta-item{
    gap:4px !important;
  }

  .article-gallery{
    margin-top:8px !important;
  }

  .article-zoom-hint{
    width:30px !important;
    height:30px !important;
    right:9px !important;
    bottom:9px !important;
    font-size:12px !important;
  }

  .article-recipe-grid{
    grid-template-columns:1fr !important;
    gap:8px !important;
    margin-top:9px !important;
  }

  .article-recipe-grid .article-box{
    padding:11px !important;
  }

  .article-recipe-grid .article-box h2{
    font-size:15px !important;
    margin:0 0 8px !important;
  }

  .article-box-icon{
    width:27px !important;
    height:27px !important;
    font-size:12px !important;
  }

  .article-recipe-grid .article-box ul,
  .article-recipe-grid .article-box ol{
    font-size:13px !important;
    line-height:1.45 !important;
  }

  .article-box--steps ol li{
    padding-left:31px !important;
  }

  .article-box--steps ol li:before{
    width:21px !important;
    height:21px !important;
    font-size:10px !important;
  }

  .article-body-modern{
    margin-top:9px !important;
  }
}

/* =========================================================
   V50c — CHECKLIST INGREDIENCÍ / ROBUSTNÍ OPRAVA
   Nativní checkbox = spolehlivé klikání na PC i mobilu
   ========================================================= */

.article-box--ingredients .ingredient-checklist{
  list-style:none !important;
  margin:4px 0 0 !important;
  padding:0 !important;
}

.ingredient-checklist__item{
  margin:0 !important;
  padding:0 !important;
  border-bottom:1px solid rgba(115,105,93,.14);
}

.ingredient-checklist__item:last-child{
  border-bottom:0;
}

.ingredient-checklist__label{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  align-items:start;
  gap:9px;
  width:100%;
  padding:7px 2px;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
}

.ingredient-checklist__checkbox{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  position:static !important;
  opacity:1 !important;
  pointer-events:auto !important;
  width:18px !important;
  height:18px !important;
  margin:1px 0 0 !important;
  padding:0 !important;
  accent-color:#25aaa8;
  cursor:pointer;
}

.ingredient-checklist__text{
  color:#1f262a;
  line-height:1.4;
  transition:color .15s ease,opacity .15s ease;
}

.ingredient-checklist__checkbox:checked + .ingredient-checklist__text{
  color:#8b8781 !important;
  opacity:.72 !important;
  text-decoration-line:line-through !important;
  text-decoration-thickness:1px !important;
  text-decoration-color:#9c9891 !important;
}

@media (min-width:981px){
  .ingredient-checklist__label{
    padding:6px 2px;
    gap:8px;
  }
  .ingredient-checklist__text{
    font-size:12px;
  }
}

@media (max-width:767px){
  .ingredient-checklist__label{
    grid-template-columns:24px minmax(0,1fr);
    gap:10px;
    padding:9px 1px;
  }
  .ingredient-checklist__checkbox{
    width:20px !important;
    height:20px !important;
  }
  .ingredient-checklist__text{
    font-size:13px;
    line-height:1.45;
  }
}

