/* Chlorito B1 v2: mobilní kategorie (jen do 767 px, desktop beze změny). Nasazeno 2026-11-04, návrh ux-kategorie/varianta-b.html. v2: kulaté medaile, bez štítku slevy v Nejprodávanějších. v3: názvy produktů celé 3 řádky. v4: nadpis Nejprodávanější jako H1. v5 (varianta A): těsné mezery, Zobrazit další kategorie jako odkaz, hlavička webu zůstává při scrollu dolů nahoře. v6: Nejprodávanější neposkakují při změně výšky okna (schování adresního řádku), větší mezera za Zobrazit další kategorie. v7: jen pro mobilní verzi stránky (body.mobile), počítač v úzkém okně a iPad na rozdělené obrazovce dostávají počítačové HTML, které by styly rozbily */
@media (max-width: 767px) {
  /* Hlavička webu: šablona ji při scrollu dolů schová (html.scrolled-down), na kategoriích zůstává nahoře nad lištou Filtry */
  html.scrolled-down body.mobile.type-category #header { transform: none !important; }
  /* Popis kategorie: odkaz „Více“ na střed (showmore FV Studia zůstává) */
  .mobile.type-category .fvstudio-showmore-wrapper { text-align: center; }
  .mobile.type-category .category-perex { margin-bottom: 12px !important; }
  .mobile.type-category .category-perex .fvstudio-showmore-wrapper { padding: 0 0 2px !important; margin-top: -16px !important; }

  /* Podkategorie: po jedné na řádek, větší písmo, od páté schované (odkazy zůstávají v HTML) */
  .mobile.type-category .subcategories.with-image li { padding: 4px 0; }
  .mobile.type-category .subcategories.with-image li a { height: 60px; padding: 0 12px 0 8px; }
  .mobile.type-category .subcategories.with-image li a .image { width: 70px; flex: 0 0 70px; margin-right: 12px; }
  .mobile.type-category .subcategories.with-image li a img { width: 70px; height: 50px; object-fit: contain; }
  .mobile.type-category .subcategories.with-image li a .text { font-size: 14px; line-height: 1.3; }
  .mobile.type-category .subcategories.with-image:not(.ux-open) li:nth-child(n+5) { display: none; }
  .mobile.type-category .subcategories.with-image { margin-bottom: 4px !important; }
  .mobile .ux-more-cats { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 auto 16px; padding: 4px 12px; background: none; border: 0; font-size: 16px; font-weight: 700; color: #15AAE2; text-decoration: underline; cursor: pointer; }
  .mobile .ux-more-cats svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .2s; }
  .mobile .ux-more-cats[aria-expanded="true"] svg { transform: rotate(180deg); }

  /* Nejprodávanější: vždy 3, medaile, sleva, bez tlačítka Zobrazit více */
  .mobile.type-category .products-top-wrapper .toggle-top-products { display: none !important; }
  .mobile.type-category .products-top-wrapper .products-top-header { font-size: 20px !important; line-height: 30px !important; margin: 10px 0 10px !important; }
  /* šablona při každé změně výšky okna (schování adresního řádku) znovu označí třetí produkt .inactive: position absolute, výška 0, scale(0). Bez těchto pravidel blok na okamžik sjede o 131 px */
  .mobile.type-category .products-top > .product.inactive { position: static !important; display: block !important; visibility: visible !important; opacity: 1 !important; height: auto !important; max-height: none !important; overflow: visible !important; transform: none !important; }
  .mobile.type-category .products-top-wrapper .products-top { height: auto !important; max-height: none !important; overflow: visible !important; }
  .mobile.type-category .products-top-wrapper .products-top .product .p::before { width: 30px !important; height: 30px !important; min-width: 30px !important; max-width: 30px !important; flex: 0 0 30px !important; border-radius: 50% !important; padding: 0 !important; display: flex !important; align-items: center; justify-content: center; line-height: 1 !important; font-size: 14px !important; font-weight: 700; color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 1px 3px rgba(0,0,0,.18); align-self: center; }
  .mobile.type-category .products-top-wrapper .products-top .product:nth-child(1) .p::before { background: radial-gradient(circle at 35% 30%, #FBE38A, #D4A017 70%) !important; color: #5A4300 !important; }
  .mobile.type-category .products-top-wrapper .products-top .product:nth-child(2) .p::before { background: radial-gradient(circle at 35% 30%, #F1F3F5, #A7AFB7 70%) !important; color: #3E454C !important; }
  .mobile.type-category .products-top-wrapper .products-top .product:nth-child(3) .p::before { background: radial-gradient(circle at 35% 30%, #EDB98A, #B0703A 70%) !important; color: #4A2A0E !important; }
  .mobile.type-category .products-top-wrapper .products-top .prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
  .mobile.type-category .products-top-wrapper .products-top .prices .price-final { order: 0; }
  .mobile.type-category .products-top-wrapper .products-top .prices .price-standard-wrapper:not(.price-standard-wrapper-placeholder) { display: inline !important; order: 1; }
  .mobile.type-category .products-top-wrapper .products-top .prices .price-standard-wrapper-placeholder { display: none !important; }
  .mobile.type-category .products-top-wrapper .products-top .prices .price-standard-label { display: none !important; }
  .mobile.type-category .products-top-wrapper .products-top .prices .price-standard { display: inline !important; text-decoration: line-through; color: #6C6C6C; font-size: 12px; }
  .mobile.type-category .products-top .price-standard strong { font-weight: 400; }
  .mobile.type-category .products-top-wrapper .products-top .prices .price-save { display: none !important; }
  .mobile.type-category .products-top-wrapper .products-top .prices:has(.price-standard) .price-final { color: #C4007A !important; }

  /* Lišta: Filtry jako výrazné tlačítko, Seřadit dle jen text, bez linky, připnutá při scrollu */
  .mobile.type-category .category-content-wrapper { display: flex; flex-wrap: wrap; align-items: center; }
  .mobile.type-category .category-content-wrapper > * { flex: 0 0 100%; min-width: 0; }
  .mobile.type-category .category-content-wrapper > .filters-unveil-button-wrapper,
  .mobile.type-category .category-content-wrapper > .dkLab-filters-wrapper { position: sticky; top: 50px; z-index: 30; background: #fff; padding: 6px 0; margin: 0; border: 0; }
  .mobile.type-category .category-content-wrapper > .filters-unveil-button-wrapper { flex: 1 1 0; }
  .mobile.type-category .category-content-wrapper > .dkLab-filters-wrapper { flex: 0 0 auto; }
  .mobile.type-category .unveil-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #004282 !important; border-color: #004282 !important; border-radius: 6px; padding: 10px 14px; font-size: 14.5px; font-weight: 700; color: #fff !important; }
  .mobile.type-category .unveil-button::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 5h18M6 12h12M10 19h4'/%3E%3C/svg%3E") center / contain no-repeat; }
  .mobile.type-category .dkLab-filters-wrapper .category-header { border: 0; margin: 0; padding: 0; }
  .mobile.type-category .listSorting h4 { background: none !important; border: 0 !important; color: #1F1F1F !important; padding: 8px 2px 8px 10px !important; font-size: 13.5px; font-weight: 500; margin: 0; }

  /* Produkty: dva vedle sebe */
  .mobile.type-category .products-block { flex-wrap: wrap; margin: 0 -4px; }
  .mobile.type-category .products-block > .product { flex: 0 0 50%; width: 50% !important; max-width: 50%; padding: 4px; }
  .mobile.type-category .products-block > .product .p { margin: 0; padding: 8px 6px 10px; height: 100%; }
  .mobile.type-category .products-block > .product .p-desc,
  .mobile.type-category .products-block > .product .quantity,
  .mobile.type-category .products-block > .product .flags-extra { display: none !important; }
  .mobile.type-category .products-block > .product .flags-default .flag { font-size: 9.5px; padding: 2px 6px; }
  .mobile.type-category .products-block > .product .name { font-size: 13px; line-height: 1.35; padding: 0 2px; height: auto !important; max-height: none !important; overflow: visible !important; }
  .mobile.type-category .products-block > .product .name span { display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.05em; }
  .mobile.type-category .products-block > .product .price-final { font-size: 16px; font-weight: 700; }
  .mobile.type-category .products-block > .product .availability { font-size: 12px; }
  .mobile.type-category .products-block > .product .btn-cart { width: 100%; margin: 6px 0 0; padding: 8px 6px; font-size: 13px; line-height: 1.2; }
}


/* Kategorie /a/ Akce (4. 12. 2026, Patrik): bez filtru, výpis přes celou šířku, na počítači 4 produkty na řádek */
.type-category.in-a .filters-unveil-button-wrapper, .type-category.in-a #filters-wrapper { display: none !important; }
@media (min-width: 768px) {
  .type-category.in-a .sidebar-left { display: none !important; }
  .type-category.in-a .content-wrapper-in > .content { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; padding-left: 0 !important; }
  .type-category.in-a #products .product { width: 25% !important; flex: 0 0 25% !important; max-width: 25% !important; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .type-category.in-a #products .product { width: 33.333% !important; flex: 0 0 33.333% !important; max-width: 33.333% !important; }
}


/* === Karty produktů, počítač (návrh A, schválil Patrik 4. 12. 2026, rozšířeno 4. 12. na homepage, vyhledávání, značky a detail, 5. 12. štítky v detailu, Výprodej, počítadlo, kopírování názvu). Jen body.desktop, jen #content. === */
.desktop #products.products-block{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0!important}
.desktop #products.products-block>.product{width:auto!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important;border:0!important;display:flex!important;min-width:0}
@media (max-width:1199px){.desktop #products.products-block{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:768px){.desktop.in-a #products.products-block{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:768px) and (max-width:1099px){.desktop.in-a #products.products-block{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* bez bočního panelu (vyhledávání, značky): 4 v řadě, pod 1200 px 3 */
@media (min-width:1200px){.desktop.one-column-body #products.products-block{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:768px) and (max-width:1199px){.desktop.one-column-body #products.products-block{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){.desktop #products.products-block{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.desktop #content .products-block .product>.p{width:100%;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column;position:relative;background:#fff;border:1px solid #DFE6EE!important;border-radius:8px!important;padding:14px!important;margin:0!important;box-shadow:none;text-align:center}
.desktop #content .products-block .p>.image{display:block;position:relative;margin:0 0 10px!important;padding:0!important;text-align:center}
.desktop #content .products-block .p>.image img{display:block;width:100%;height:auto;margin:0 auto}
.desktop #content .products-block .p-in{display:flex!important;flex-direction:column;flex:1 1 auto;padding:0!important;margin:0!important}
.desktop #content .products-block .p-in-in{padding:0!important;margin:0!important;min-height:0!important;height:auto!important}
.desktop #content .products-block .p-in .name{display:block;height:auto!important;min-height:44px;max-height:none!important;font-size:15px!important;line-height:22px!important;font-weight:600;margin:0!important;padding:0!important;overflow:visible}
.desktop #content .products-block .ratings-wrapper{display:none!important}
.desktop #content .products-block .p-bottom{margin:auto 0 0!important;padding:8px 0 0!important}
.desktop #content .products-block .p-price-row{display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important}
.desktop #content .products-block .p-price-row::before,.desktop #content .products-block .p-price-row::after,.desktop #content .products-block .prices::before,.desktop #content .products-block .prices::after{display:none!important;content:none!important}
.desktop #content .products-block .prices{display:flex!important;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:2px 8px;margin:0!important;padding:0!important;min-height:0!important;height:auto!important}
.desktop #content .products-block .price-final{font-size:20px!important;line-height:1.2!important;margin:0!important;padding:0!important;width:auto!important;flex:none}
.desktop #content .products-block .price-final strong{font-weight:700}
.desktop #content .products-block .price-standard{font-size:13px!important;line-height:1.2!important;margin:0!important;color:#DB2420;text-decoration:line-through}
.desktop #content .products-block .price-standard strong{font-weight:500}
.desktop #content .products-block .price-save{display:none!important}
/* měrná cena (zákonná, nechat vidět): ztlumená, menší a šedá, na samostatném řádku pod cenou */
.desktop #content .products-block .price-measure{flex:0 0 100%;order:5;font-size:12px!important;line-height:1.35!important;font-weight:400!important;color:#6B7385!important;margin:1px 0 0!important;padding:0!important}
.desktop #content .products-block .availability{font-size:13px!important;line-height:1.3!important;margin:3px 0 0!important;padding:0!important;height:auto!important;min-height:0!important}
.desktop #content .products-block .p-tools{margin:12px 0 0!important;padding:0!important}
.desktop #content .products-block .p-tools form{display:flex!important;align-items:stretch;gap:8px;margin:0!important}
.desktop #content .products-block .p-tools .quantity{flex:none;width:100px!important;height:44px!important;margin:0!important;padding:0 32px!important;border-radius:999px}
.desktop #content .products-block .p-tools .quantity label{flex:1 1 auto;width:auto!important;height:100%!important}
.desktop #content .products-block .p-tools .quantity .amount{width:100%!important;height:100%!important;font-size:15px!important;font-weight:500}
.desktop #content .products-block .p-tools .quantity .increase,.desktop #content .products-block .p-tools .quantity .decrease{top:0!important;width:32px!important;height:100%!important}
.desktop #content .products-block .p-tools .quantity .increase{right:2px!important;left:auto!important}
.desktop #content .products-block .p-tools .quantity .decrease{left:2px!important;right:auto!important}
.desktop #content .products-block .p-tools .btn-cart{flex:1 1 auto;min-width:0;width:auto!important;height:44px!important;margin:0!important;padding:0 12px!important;font-size:15px!important;font-weight:700!important;line-height:1!important;background:#24B24E!important;border-color:#24B24E!important;color:#fff!important;border-radius:999px!important;white-space:nowrap}
.desktop #content .products-block .p-tools .btn-cart:hover{background:#1E9A43!important;border-color:#1E9A43!important}
.desktop #content .products-block .p-tools>a.btn{width:100%!important;height:44px!important;border-radius:999px!important;display:flex!important;align-items:center;justify-content:center;margin:0!important}
.desktop #content .products-block .flags-extra{position:absolute!important;top:6px!important;right:-4px!important;left:auto!important;bottom:auto!important;width:auto!important;height:auto!important;z-index:2;pointer-events:none}
.desktop #content .products-block .flags-extra .flag-freeshipping{font-family:Outfit,Poppins,sans-serif!important;font-size:12px!important;font-weight:700!important;line-height:1!important;text-transform:none!important;height:auto!important;width:auto!important;max-width:none!important;margin:0!important;padding:6px 10px 7px!important;border-radius:0!important;white-space:nowrap;background:#7A4399!important;color:#fff!important;transform:rotate(3deg);transform-origin:right center}
/* štítky: karty i obrázek v detailu; pořadí Akce, Výprodej, Tip, Vyrobeno v EU, Novinka; nejvýš 2 (skript dává .chl-skryt a .chl-druhy) */
.desktop #content .products-block .flags-default{position:absolute!important;top:6px!important;left:-4px!important;right:auto!important;bottom:auto!important;width:auto!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:0;z-index:2;pointer-events:none}
.desktop #content .p-image>.flags-default{position:absolute!important;top:14px!important;left:-6px!important;right:auto!important;bottom:auto!important;width:auto!important;height:auto!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:0;z-index:2;pointer-events:none}
.desktop #content :is(.products-block,.p-image) .flags-default .flag{font-family:Outfit,Poppins,sans-serif!important;font-size:12px!important;font-weight:700!important;line-height:1!important;letter-spacing:.01em;text-transform:none!important;height:auto!important;width:auto!important;max-width:none!important;margin:0!important;padding:6px 10px 7px!important;border-radius:0!important;white-space:nowrap;transform:rotate(-3deg);transform-origin:left center;background:#8CD2F4!important;color:#1A1937!important;order:9}
.desktop #content .p-image>.flags-default .flag{font-size:15px!important;padding:8px 13px 9px!important}
.desktop #content :is(.products-block,.p-image) .flags-default .flag-action{background:#DB2420!important;color:#fff!important;order:1}
.desktop #content :is(.products-block,.p-image) .flags-default .flag-action[data-sleva]::after{content:" " attr(data-sleva)}
.desktop #content :is(.products-block,.p-image) .flags-default .flag-custom1{background:#FFC702!important;color:#1A1937!important;order:2}
.desktop #content :is(.products-block,.p-image) .flags-default .flag-tip{background:#F79836!important;color:#fff!important;order:3}
.desktop #content :is(.products-block,.p-image) .flags-default .flag-vyrobeno-v-eu{background:#263B96!important;color:#fff!important;order:4}
.desktop #content :is(.products-block,.p-image) .flags-default .flag-new{order:5}
.desktop #content :is(.products-block,.p-image) .flags-default .flag.chl-skryt{display:none!important}
.desktop #content :is(.products-block,.p-image) .flags-default .flag.chl-druhy{transform:rotate(1.5deg);margin:-1px 0 0 12px!important}
.desktop #content .p-image>.flags-default .flag.chl-druhy{margin:-1px 0 0 16px!important}
/* počítadlo: mínus, číslo a plus na jedné ose */
.desktop #content .products-block .p-tools .quantity{align-items:center}
.desktop #content .products-block .p-tools .quantity .increase,.desktop #content .products-block .p-tools .quantity .decrease{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
.desktop #content .products-block .p-tools .quantity .increase::before,.desktop #content .products-block .p-tools .quantity .decrease::before{line-height:1!important;height:auto!important;width:auto!important;top:0!important;margin:0!important}
.desktop #content .products-block .p-tools .quantity label{display:flex!important;align-items:center;justify-content:center}
.desktop #content .products-block .p-tools .quantity .amount{font-family:Poppins,sans-serif!important;line-height:normal!important;padding:0!important;margin:0!important;text-align:center;border:0!important}
/* slidery: bez kurzoru „uchopit“, název produktu jde označit a zkopírovat (táhnutí myší vypíná skript) */
.desktop #content .product-slider,.desktop #content .product-slider :is(.products-block,.product,.p,.p-in,.p-in-in,.p-bottom,.p-price-row,.prices,.availability){cursor:auto!important}
.desktop #content .products-block .name{-webkit-user-select:text!important;user-select:text!important;-webkit-user-drag:none}
.desktop #content .product-slider .products-block,.desktop #content .products-block.product-slider{align-items:stretch!important}
.desktop #content .product-slider .products-block>.product,.desktop #content .products-block.product-slider>.product{display:flex!important;height:auto!important;border:0!important}

/* ===== Blog: vzhled clanku C1 (4. 12. 2026). Zdroj projects/chlorito/blog-vzhled-2026-12/nasazeni/blog-c1.css.
   Jen detail clanku (body.type-post). Pravidla zavisla na skriptu az po html.chl-c1 (skript v ux-b1-10.js),
   bez skriptu zustane citelny clanek v uzkem sloupci. Navrat: v Zahlavi vratit ux-b1-8.css a ux-b1-9.js. ===== */

/* sloupec, pismo, carousel sirsi nez sloupec */
.type-post .news-item-detail h1,.type-post .news-item-detail .text{max-width:740px;margin-left:auto;margin-right:auto;display:block}
.type-post .news-item-detail .text{font-size:18px;line-height:1.75;color:#1A1937;counter-reset:kap}
.type-post .news-item-detail .text p{margin:0 0 1.15em}
.type-post .news-item-detail .text .ppcar{width:min(1138px,calc(100vw - 32px));position:relative;left:50%;transform:translateX(-50%)}

/* fotky: nikdy pres celou obrazovku; jpg na sirku od 1000 px (skript da .chl-foto) pres sloupec, ostatni (na vysku, produkty, schemata) cele do 480 px */
.type-post .news-item-detail .text img:not(.ppcar img){display:block;max-width:100%;width:auto;height:auto;max-height:480px;margin:8px auto}
/* fotka na sirku: pres sloupec v puvodnim pomeru, zaobleni jen na fotce samotne, bez ramecku a stinu (oprava 4. 12. vecer) */
.type-post .news-item-detail .text img.chl-foto:not(.ppcar img){width:100%;max-height:none;border-radius:16px}

/* kapitoly: cislo v sikmem ctverci (manual kap. 6a) */
.type-post .news-item-detail .text h2{counter-increment:kap;font-size:26px;line-height:1.25;margin:2.3em 0 .7em;display:flex;gap:14px;align-items:flex-start}
.type-post .news-item-detail .text h2::before{content:counter(kap);flex:0 0 36px;height:36px;background:#8CD2F4;color:#1A1937;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-top:-2px;transform:rotate(-3deg)}

/* citace: box; Rada chemika jen u citaci chemika (skript da .chl-rada) */
.type-post .news-item-detail .text blockquote{position:relative;background:#EAF7FD;border:0;border-radius:0;padding:22px 24px;margin:1.8em 0;font-style:normal}
.type-post .news-item-detail .text blockquote p:last-child{margin-bottom:0}
.type-post .news-item-detail .text blockquote.chl-rada{padding-left:96px;min-height:96px}
.type-post .news-item-detail .text blockquote.chl-rada::before{content:"";position:absolute;left:18px;top:20px;width:60px;height:60px;transform:rotate(-3deg);background:#8CD2F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1937' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 0 0 1.7 3h10.6a2 2 0 0 0 1.7-3l-5-9V3'/%3E%3Cpath d='M7.5 15h9'/%3E%3C/svg%3E") center/30px no-repeat}
.type-post .news-item-detail .text blockquote.chl-rada::after{content:"Rada chemika";position:absolute;left:96px;top:-13px;background:#8CD2F4;color:#1A1937;font-size:13px;font-weight:700;padding:4px 12px;transform:rotate(-3deg)}

/* svetle modry pas od drobeckove navigace po zahlavi */
.type-post .breadcrumbs{background:#EAF7FD;box-shadow:0 0 0 100vmax #EAF7FD;clip-path:inset(0 -100vmax);margin-bottom:0!important;padding-bottom:6px}
.type-post .breadcrumbs a,.type-post .breadcrumbs span{color:#1A1937}
.type-post .content-wrapper-in,.type-post main#content,.type-post .content-inner{padding-top:0!important;margin-top:0!important}
.type-post .news-item-detail article>header{position:relative;width:100vw;left:50%;transform:translateX(-50%);background:#EAF7FD;margin:0 0 40px;padding:28px 16px 40px}
.type-post .news-item-detail article>header h1{font-size:38px;line-height:1.18;max-width:740px;margin:0 auto 6px}
.type-post{overflow-x:hidden}

/* zahlavi ze skriptu: rubrika jako badge, delfin v kolecku, perex, autor, datum, cas cteni */
.chl-c1 .news-item-detail article>header time{display:none}
.chl-c-in{max-width:740px;margin:0 auto;position:relative;padding-right:170px}
.chl-c-in h1{max-width:none!important;margin:0 0 6px!important}
.chl-kat{display:inline-block;background:#8CD2F4;color:#1A1937;font-size:14px;font-weight:700;padding:6px 14px;transform:rotate(-3deg);margin:0 0 20px 2px;text-decoration:none!important}
.chl-delfin{position:absolute;right:0;top:6px;width:150px;height:150px;border-radius:50%;object-fit:cover;box-shadow:0 10px 30px rgba(26,25,55,.12)}
.chl-perex{font-size:20px;line-height:1.6;color:#1A1937;margin:18px 0 0;font-weight:500}
.chl-meta{color:#5b6170;font-size:14px;margin:18px 0 0}
.chl-meta i{font-style:normal;color:#B8C2CC;margin:0 9px}
.chl-meta b{color:#1A1937;font-weight:600}
.chl-meta .chl-autor-odkaz{color:#1A1937;font-weight:600;text-decoration:none}
.chl-avatar{width:26px;height:26px;border-radius:50%;object-fit:cover;vertical-align:middle;margin:-3px 8px 0 0}

/* konec clanku: autor a Ctete dal */
.chl-konec{max-width:740px;margin:40px auto 0}
.chl-autor{display:flex;gap:16px;align-items:flex-start;border-top:1px solid #E3EAF0;border-bottom:1px solid #E3EAF0;padding:22px 0}
.chl-foto{flex:0 0 96px;width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:center 30%;background:#EAF7FD}
.chl-autor small{display:table;background:#8CD2F4;color:#1A1937;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.04em;padding:3px 10px;transform:rotate(-3deg);margin:0 0 8px 2px}
.chl-autor b{font-size:18px;color:#1A1937}
.chl-autor div>span{display:block;color:#5b6170;font-size:15px;line-height:1.55;margin-top:2px}
.chl-dal{margin:34px 0 10px}
.chl-dal-h{font-size:24px;margin:0 0 16px}
.chl-dal-g{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.chl-dal-k{display:block;background:#fff;border:1px solid #E3EAF0;overflow:hidden;color:#1A1937;transition:box-shadow .2s}
.chl-dal-k,.chl-dal-k *{text-decoration:none!important}
.chl-dal-k:hover{box-shadow:0 10px 30px rgba(26,25,55,.10)}
.chl-dal-img{display:block;aspect-ratio:16/9;background:#EAF7FD center/cover}
.chl-dal-k b{display:block;font-size:18px;line-height:1.3;padding:14px 16px 4px}
.chl-dal-k>span:last-child{display:block;color:#5b6170;font-size:14px;line-height:1.5;padding:0 16px 16px}

/* predchozi a dalsi clanek: odkazy misto tlacitek, kazdy na jednu stranu sloupce */
.type-post .news-item-detail .next-prev{max-width:740px;margin:28px auto 8px;display:flex;justify-content:space-between;gap:24px}
.type-post .news-item-detail .next-prev a.btn{background:none!important;border:0!important;box-shadow:none!important;border-radius:0;padding:4px 0;min-height:0;height:auto;color:#1A1937!important;font-size:16px;font-weight:600;text-transform:none;text-decoration:underline;text-decoration-color:#8CD2F4;text-decoration-thickness:3px;text-underline-offset:6px}
.type-post .news-item-detail .next-prev a.btn:hover{color:#005076!important;text-decoration-color:#005076}
.type-post .news-item-detail .next-prev a[data-testid=buttonPreviousArticle]::before{content:"\2190\00a0\00a0"}
.type-post .news-item-detail .next-prev a[data-testid=buttonNextArticle]{margin-left:auto}
.type-post .news-item-detail .next-prev a[data-testid=buttonNextArticle]::after{content:"\00a0\00a0\2192"}

@media (max-width:767px){
 .type-post .news-item-detail .text{font-size:17px}
 .type-post .news-item-detail .text h2{font-size:22px}
 .type-post .news-item-detail article>header{padding:18px 16px 26px}
 .type-post .news-item-detail article>header h1{font-size:28px!important}
 .type-post .news-item-detail .text blockquote.chl-rada{padding:44px 18px 18px}
 .type-post .news-item-detail .text blockquote.chl-rada::before{width:44px;height:44px;left:16px;top:-14px;background-size:24px}
 .type-post .news-item-detail .text blockquote.chl-rada::after{left:68px}
 .chl-c-in{padding-right:0}
 .chl-delfin{position:static;width:72px;height:72px;float:right;margin:0 0 8px 12px}
 .chl-perex{font-size:18px}
 .chl-meta{font-size:13px;line-height:1.7}.chl-meta i{margin:0 6px}
 .chl-konec{margin:32px 0 0}
 .chl-foto{flex-basis:72px;width:72px;height:72px}
 .chl-dal-g{grid-template-columns:1fr;gap:14px}
 .chl-dal-k{display:grid;grid-template-columns:112px 1fr;align-items:start}
 .chl-dal-img{grid-row:span 2;aspect-ratio:auto;height:100%;min-height:96px}
 .chl-dal-k b{font-size:16px;padding:12px 12px 2px}.chl-dal-k>span:last-child{font-size:13px;padding:0 12px 12px}
}

/* autor: odkaz na stranku autora v boxu */
.chl-autor b a{color:#1A1937;text-decoration:none}
.chl-autor b a:hover{text-decoration:underline;text-decoration-color:#8CD2F4}
.chl-autor-vse{display:inline-block;margin-top:8px;font-size:14px;font-weight:600;color:#005076!important}

/* stranky autoru (/autor-tomas-fuka/ ap.): obsah z editoru, trida chl-as */
.chl-as{max-width:740px;margin:0 auto;font-size:17px;line-height:1.7;color:#1A1937}
.chl-as .chl-as-foto{width:160px;height:160px;border-radius:50%;object-fit:cover;display:block;margin:0 0 6px}
.chl-as .chl-as-role{display:inline-block;background:#8CD2F4;color:#1A1937;font-weight:700;font-size:14px;padding:5px 14px;transform:rotate(-3deg);margin:0 0 14px 2px}
.chl-as h2{font-size:24px;margin:34px 0 12px}
.chl-as .chl-as-clanky{list-style:none;padding:0;margin:0;columns:2;column-gap:32px}
.chl-as .chl-as-clanky li{break-inside:avoid;padding:7px 0;border-bottom:1px solid #E3EAF0}
.chl-as .chl-as-clanky a{color:#1A1937;text-decoration:none;font-weight:500}
.chl-as .chl-as-clanky a:hover{color:#005076;text-decoration:underline}
@media (max-width:767px){.chl-as .chl-as-clanky{columns:1}.chl-as .chl-as-foto{width:120px;height:120px}}
