/* Detail článku blogu (single.htm) */
.cl { padding: 1rem 0 2rem; }

/* Hlavička */
.cl-hlava { max-width: 1044px; margin: 0 auto 3rem; }
.cl-zpet { display: inline-flex; align-items: center; gap: .35rem; font-size: 14px; font-weight: 600; color: #424851; text-decoration: none; margin-bottom: 1.25rem; }
.cl-zpet:hover { color: #3B6600; }
.cl-stitky { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.cl-stitky a { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: #EEF6DC; color: #3B6600; text-decoration: none; }
.cl-stitky a:hover { background: #E3F2C2; }
.cl-hlava h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1.15; margin-bottom: 1.1rem; }
.cl-perex { font-size: 19px; line-height: 1.65; color: #424851; margin-bottom: 1.25rem; }
.cl-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 14px; color: #424851; }
.cl-meta .bi { color: #96D320; margin-right: .3rem; }
.cl-obrazek img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 14px 30px rgba(33, 37, 42, .10); }

/* Tělo: text + obsah */
.cl-telo { max-width: 1044px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: 4rem; justify-content: center; }
.cl-text { font-size: 18px; line-height: 1.75; color: #212529; min-width: 0; }
.cl-text p { margin: 0 0 1.25rem; }
.cl-text h2 { font-size: 26px; font-weight: 900; line-height: 1.3; margin: 2.75rem 0 1rem; scroll-margin-top: 100px; }
.cl-text h3 { font-size: 21px; font-weight: 800; margin: 2rem 0 .75rem; scroll-margin-top: 100px; }
.cl-text strong { font-weight: 700; color: #000; }
.cl-text a { color: #3B6600; text-decoration: underline; text-decoration-color: #96D320; text-underline-offset: 3px; }
.cl-text a:hover { color: #21252A; }
.cl-text ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.cl-text ul li { position: relative; padding-left: 34px; margin-bottom: .75rem; }
.cl-text ul li::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #96D320 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cl-text ol { padding-left: 1.4rem; margin: 0 0 1.5rem; }
.cl-text ol li { margin-bottom: .6rem; padding-left: .3rem; }
.cl-text ol li::marker { font-weight: 800; color: #3B6600; }
.cl-text blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid #96D320; background: #F9FBE8; border-radius: 0 16px 16px 0; font-size: 19px; }
.cl-text img { max-width: 100%; height: auto; border-radius: 16px; }
.cl-text p:has(> a > img), .cl-text p:has(> img) { text-align: center; margin: 2rem 0; }
.cl-text .cl-zvetsit { display: inline-block; cursor: zoom-in; }

/* Obsah článku */
.cl-obsah { position: sticky; top: 110px; align-self: start; font-size: 14px; }
.cl-obsah strong { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3B6600; margin-bottom: .75rem; }
.cl-obsah ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid #EEF6DC; }
.cl-obsah li a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: #424851; text-decoration: none; line-height: 1.4; }
.cl-obsah li a:hover { color: #21252A; }
.cl-obsah li a.aktivni { color: #21252A; font-weight: 700; border-left-color: #96D320; }
.cl-obsah-mobil { display: none; }

/* Výzva uprostřed článku */
.cl-vyzva { display: flex; gap: 1.25rem; align-items: center; margin: 2.5rem 0; padding: 1.5rem 1.75rem; background: #21252A; border-radius: 24px; color: #fff; }
.cl-vyzva .cl-vyzva-tile { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; background: rgba(150, 211, 32, .16); display: flex; align-items: center; justify-content: center; }
.cl-vyzva .cl-vyzva-tile svg { width: 32px; height: 32px; }
.cl-vyzva strong { display: block; font-size: 19px; font-weight: 900; color: #fff; margin-bottom: .2rem; }
.cl-vyzva span { display: block; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.cl-text .cl-vyzva a.btn { margin-left: auto; white-space: nowrap; color: #fff; text-decoration: none; }

/* Sdílení */
.cl-sdileni { max-width: 1044px; margin: 2.5rem auto 0; display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: 4rem; justify-content: center; }
.cl-sdileni-in { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-top: 1.5rem; border-top: 1px solid #E7EAE0; }
.cl-sdileni-in > span { font-size: 14px; font-weight: 700; margin-right: .4rem; }
.cl-sdileni-in a, .cl-sdileni-in button { display: inline-flex; align-items: center; gap: .4rem; padding: 7px 14px; border-radius: 28px; border: 1.5px solid #D9DED0; background: #fff; font-size: 13px; font-weight: 600; color: #21252A; text-decoration: none; cursor: pointer; transition: border-color .2s, background-color .2s; }
.cl-sdileni-in a:hover, .cl-sdileni-in button:hover { border-color: #96D320; background: #F9FBE8; }

@media (max-width: 991px) {
    .cl-telo, .cl-sdileni { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .cl-obsah { display: none; }
    .cl-obsah-mobil { display: block; margin: 0 0 2rem; border-radius: 16px; background: #F9FBE8; }
    .cl-obsah-mobil summary { padding: 1rem 1.25rem; font-size: 15px; font-weight: 800; cursor: pointer; list-style: none; }
    .cl-obsah-mobil summary::after { content: "+"; float: right; color: #3B6600; }
    .cl-obsah-mobil[open] summary::after { content: "–"; }
    .cl-obsah-mobil ol { margin: 0; padding: 0 1.25rem 1rem 2.4rem; font-size: 15px; }
    .cl-obsah-mobil li { margin-bottom: .4rem; }
    .cl-obsah-mobil a { color: #21252A; }
    .cl-hlava .cl-obrazek { margin-top: 2rem; }
}
@media (max-width: 575px) {
    .cl-text { font-size: 17px; }
    .cl-vyzva { flex-direction: column; align-items: flex-start; }
    .cl-text .cl-vyzva a.btn { margin-left: 0; }
}

/* Blok „Související“ pod článkem zarovnaný se šířkou článku */
.cl ~ .souv > .container > .row > div { flex: 0 0 100%; max-width: 1044px; margin-left: auto; margin-right: auto; }

/* Krátké články bez obsahu: jeden vycentrovaný sloupec */
.cl-telo.bez-obsahu, .cl-sdileni.bez-obsahu { grid-template-columns: minmax(0, 720px); }
.cl-text iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; height: auto; border: 0; border-radius: 16px; margin: 2rem 0; box-shadow: 0 14px 30px rgba(33, 37, 42, .10); }

/* Karty „Další články“ */
.souv-karta { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 6px rgba(33, 37, 42, .06), 0 8px 20px rgba(33, 37, 42, .07); color: #21252A; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.souv-karta:hover { transform: translateY(-6px); box-shadow: 0 14px 26px rgba(33, 37, 42, .13); color: #21252A; }
.souv-karta-obr { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #F2F3F3; }
.souv-karta-obr img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.souv-karta:hover .souv-karta-obr img { transform: scale(1.04); }
.souv-karta-telo { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.3rem 1.3rem; }
.souv-karta-stitky { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .7rem; }
.souv-karta-stitky span { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #EEF6DC; color: #3B6600; }
.souv-karta strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.35; margin-bottom: .5rem; }
.souv-karta small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.55; color: #424851; }
.souv-karta-dale { margin-top: auto; padding-top: .9rem; font-size: 14px; font-weight: 700; color: #21252A; }
.souv-karta-dale .bi { margin-left: 4px; color: #96D320; display: inline-block; transition: transform .3s; }
.souv-karta:hover .souv-karta-dale .bi { transform: translateX(4px); }

/* Karta služby pod článkem */
.souv { padding: 3rem 0 1rem; }
.souv h2 { font-size: 28px; font-weight: 900; margin-bottom: 1.25rem; }
.souv-sluzba { display: flex; gap: 1.25rem; align-items: center; background: #F9FBE8; border-radius: 24px; padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; position: relative; transition: transform .3s, box-shadow .3s; }
.souv-sluzba:hover { transform: translateY(-4px); box-shadow: 0 14px 22px #e4e8d4; }
.souv-tile { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; }
.souv-tile svg { width: 34px; height: 34px; }
.souv-stitek { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3B6600; margin-bottom: .2rem; }
.souv-sluzba h3 { font-size: 1.2rem; font-weight: 900; margin: 0 0 .35rem; }
.souv-sluzba h3 a { color: #000; text-decoration: none; }
.souv-sluzba p { font-size: 15px; line-height: 1.55; color: #424851; margin: 0; }
.souv-sluzba .bi { margin-left: auto; font-size: 22px; color: #96D320; transition: transform .3s; }
.souv-sluzba:hover .bi { transform: translateX(4px); }
.cl-vyzva svg .ik-linka { fill: #96D320; }
@media (max-width: 575px) { .souv-sluzba { flex-direction: column; align-items: flex-start; } .souv-sluzba .bi { display: none; } }

/* Výpis blogu a kategorií (partialy blog-filtr a blog-karty) */
.blog-hlava { text-align: center; padding: 1.5rem 0 2.5rem; }
.blog-hlava h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 900; margin-bottom: .75rem; }
.blog-nadtitulek { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3B6600; text-decoration: none; margin-bottom: .5rem; }
.blog-perex { max-width: 640px; margin: 0 auto 1.75rem; font-size: 18px; line-height: 1.6; color: #424851; }
.blog-filtr { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.blog-filtr a { display: inline-flex; align-items: center; gap: .45rem; padding: 8px 16px; border-radius: 28px; border: 1.5px solid #D9DED0; background: #fff; font-size: 14px; font-weight: 600; color: #21252A; text-decoration: none; transition: border-color .2s, background-color .2s; }
.blog-filtr a span { font-size: 12px; font-weight: 700; color: #6B7280; }
.blog-filtr a:hover { border-color: #96D320; background: #F9FBE8; color: #21252A; }
.blog-filtr a.aktivni { background: #96D320; border-color: #96D320; color: #fff; }
.blog-filtr a.aktivni span { color: rgba(255, 255, 255, .85); }
.blog-vypis { padding: 1rem 0 3rem; }
.blog-strankovani { display: flex; justify-content: center; margin-top: 2.5rem; }
.blog-strankovani .pagination { margin: 0; }