/*
Theme Name: Mělnicko
Description: Šablona pro regionální zpravodajský web: titulní strana s hlavními zprávami, rubrikami a nejčtenějšími články, lišta „Právě teď“, reklamní plochy a napojení na plugin Mělnicko Reality.
Version: 1.8.33
Requires at least: 6.2
Requires PHP: 7.4
Author: Mělnicko.cz
License: GPL-2.0-or-later
Text Domain: melnicko
*/

/* Písmo Open Sans je přibalené v šabloně (nenačítá se z Googlu). */
@font-face{font-family:'Open Sans';font-weight:400;font-display:swap;src:url(assets/fonts/open-sans-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Open Sans';font-weight:400;font-display:swap;src:url(assets/fonts/open-sans-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Open Sans';font-weight:600;font-display:swap;src:url(assets/fonts/open-sans-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02FF,U+1E00-1EFF}
@font-face{font-family:'Open Sans';font-weight:600;font-display:swap;src:url(assets/fonts/open-sans-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:'Open Sans';font-weight:700;font-display:swap;src:url(assets/fonts/open-sans-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02FF,U+1E00-1EFF}
@font-face{font-family:'Open Sans';font-weight:700;font-display:swap;src:url(assets/fonts/open-sans-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:'Open Sans';font-weight:800 900;font-display:swap;src:url(assets/fonts/open-sans-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02FF,U+1E00-1EFF}
@font-face{font-family:'Open Sans';font-weight:800 900;font-display:swap;src:url(assets/fonts/open-sans-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC}

:root {
	--accent: #1480c4;
	--accent-dark: #0e5f94;
	--hot: #c8282a;
	--ink: #16202b;
	--ink-2: #2b3340;
	--muted: #5b6573;
	--line: #e3e7ec;
	--soft: #f4f6f9;
	--surface: #fff;
	--bg: #fff;
	--radius: 10px;
	--font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.01em; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.icon { display: inline-block; vertical-align: middle; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: #c5ccd6; color: var(--ink); }
.btn--ghost { background: transparent; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--hot { background: var(--hot); border-color: var(--hot); color: #fff; }
.btn--hot:hover { filter: brightness(.93); color: #fff; }

/* Horní lišta */
.topbar { background: var(--ink); color: #c9d0da; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar a { color: #e8ecf1; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__icon .icon { width: 16px; height: 16px; }

/* Hlavička */
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; flex-direction: column; }
.brand__name { font-size: 34px; font-weight: 900; letter-spacing: -.035em; color: var(--ink); text-decoration: none; line-height: 1; }
.brand__name span { color: var(--accent); }
.brand__name:hover { color: var(--ink); }
.brand__name--light { color: #fff; font-size: 26px; }
.brand__name--light:hover { color: #fff; }
.brand__tagline { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.custom-logo { max-height: 64px; width: auto; display: block; }
.masthead__search { display: flex; align-items: center; background: var(--soft); border-radius: 999px; padding: 4px 4px 4px 16px; width: 320px; max-width: 100%; border: 1px solid transparent; }
.masthead__search:focus-within { border-color: var(--accent); background: #fff; }
.masthead__search input { border: 0; background: transparent; font: inherit; font-size: 15px; flex: 1; min-width: 0; outline: none; padding: 6px 0; }
.masthead__search button { border: 0; background: var(--accent); color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.masthead__search .icon { width: 18px; height: 18px; }
.masthead__menu { display: none; border: 0; background: none; padding: 6px; cursor: pointer; color: var(--ink); }

.nav { border-top: 1px solid var(--line); background: var(--surface); }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__list a { display: block; padding: 13px 14px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav__list a:hover { color: var(--accent); }
.nav__list .current-menu-item > a, .nav__list .current-cat > a { border-bottom-color: var(--accent); color: var(--accent); }
@media (min-width: 761px) { .nav__search { display: none; } }
.nav__search { padding: 12px 0; }
.nav__reality a { color: var(--hot); }
.nav__reality a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--hot); margin-right: 7px; vertical-align: 2px; }
.nav__list .nav__reality.current-menu-item > a { border-bottom-color: var(--hot); color: var(--hot); }

/* Lišta Právě teď */
.ticker { background: var(--hot); color: #fff; }
.ticker__inner { display: flex; align-items: center; gap: 16px; min-height: 44px; overflow: hidden; }
.ticker__label { font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; background: rgba(0, 0, 0, .18); padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.ticker__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ticker__list time { font-weight: 800; opacity: .85; margin-right: 4px; }
.ticker__list a { color: #fff; text-decoration: none; font-weight: 600; }
.ticker__list a:hover { text-decoration: underline; }

/* Reklama */
.ad { margin: 24px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; font-family: var(--font); }
.ad img { display: block; margin: 0 auto; max-width: 100%; height: auto; border-radius: 4px; }
.ad a { display: inline-block; max-width: 100%; }
.ad picture { display: block; }
.layout__side .ad { margin: 0; }
.layout__side .ad--sidebar_sticky { margin: 0 0 26px; } /* Velký banner pod Mělnicko teď (1.8.1); dřív sticky na konci panelu. */
.feed .ad { padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); }
.entry .ad--inline { margin: 1.6em 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 720px; }
.footer { margin-top: 40px; }

/* Vyskakovací okno */
.ad-popup { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 14, 20, .72); opacity: 0; transition: opacity .25s; }
.ad-popup[hidden] { display: none; }
.ad-popup.is-visible { opacity: 1; }
.ad-popup__box { position: relative; background: #fff; border-radius: 12px; padding: 30px 18px 14px; width: auto; max-width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); text-align: center; transform: translateY(12px) scale(.98); transition: transform .25s; }
.ad-popup.is-visible .ad-popup__box { transform: none; }
.ad-popup__box .ad__label { position: absolute; top: 10px; left: 16px; margin: 0; }
.ad-popup__content img { display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; margin: 0 auto; border-radius: 6px; }
.ad-popup__content a { display: inline-block; }
.ad-popup__close { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.ad-popup__close:hover { background: var(--line); }
.ad-popup__skip { margin-top: 10px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 6px; }
body.has-popup { overflow: hidden; }

/* Nadpisy sekcí a štítky rubrik */
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 22px; font-weight: 900; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.section-title a { color: var(--ink); text-decoration: none; }
.section-title__more { font-size: 14px; font-weight: 600; color: var(--accent) !important; }
.section-title--light { color: #fff; border-bottom-color: rgba(255, 255, 255, .35); }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); text-decoration: none; margin-bottom: 6px; }
.kicker:hover { color: var(--accent-dark); }

/* Karty článků */
.story { position: relative; }
.story__media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); aspect-ratio: 16 / 9; }
.story__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.story:hover .story__media img { transform: scale(1.03); }
.thumb-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e8edf3, #d6dee8); }
.story__body { padding-top: 12px; }
.story__title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; }
.story__title a { color: var(--ink); text-decoration: none; }
.story__title a:hover { color: var(--accent); }
.story__excerpt { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.story__meta { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.story--lead { position: relative; height: 100%; }
.story--lead .story__media { position: relative; aspect-ratio: auto; height: 100%; min-height: 440px; }
.story--lead .story__media img { position: absolute; inset: 0; }
.story--lead .story__media::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: linear-gradient(180deg, rgba(10, 14, 20, 0) 35%, rgba(10, 14, 20, .85) 100%); }
.story--lead .story__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 32px; color: #fff; pointer-events: none; }
.story--lead .story__body a { pointer-events: auto; }
.story--lead .kicker { background: var(--hot); color: #fff; padding: 3px 8px; border-radius: 4px; }
.story--lead .story__title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; line-height: 1.1; }
.story--lead .story__title a { color: #fff; }
.story--lead .story__excerpt { color: #e7ebf0; font-size: 17px; max-width: 720px; }
.story--lead .story__meta { color: #c3cad4; }

.story--side { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.story--side:last-child { border-bottom: 0; padding-bottom: 0; }
.story--side .story__media { aspect-ratio: 4 / 3; border-radius: 8px; }
.story--side .story__body { padding-top: 0; }
.story--side .story__title { font-size: 16px; }
.story--side .kicker { margin-bottom: 3px; font-size: 11px; }
.story--side .story__meta { margin-top: 4px; }

.story--row { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.story--row:first-child { padding-top: 0; }
.story--row .story__body { padding-top: 0; }
.story--row .story__title { font-size: 20px; }

/* Titulní strana */
.home-main { padding-top: 24px; padding-bottom: 40px; }
.top-stories { display: grid; grid-template-columns: 1.75fr 1fr; gap: 24px; margin-bottom: 40px; }
.top-stories > *, .layout > *, .cat-block__grid > *, .related__grid > * { min-width: 0; }
.top-stories__side { display: flex; flex-direction: column; gap: 14px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.layout__side { align-self: stretch; display: flex; flex-direction: column; gap: 28px; }
.more-link { margin: 22px 0 0; }

.reality-band { margin: 48px -20px; padding: 32px 20px 36px; background: linear-gradient(135deg, #0d2a47, #0b5394 60%, #1667b0); border-radius: 0; color: #fff; }
.reality-band__head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: center; margin-bottom: 26px; }
.reality-band__head p { margin: 0; color: #d6e3f2; font-size: 17px; }
.reality-band .mr-search { color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); border: 0; }
.reality-band .mr-search__types { display: none; }
.reality-band__links { margin: 24px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }

.cat-block { margin-top: 44px; }
.cat-block__grid, .related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.related__grid { grid-template-columns: repeat(3, 1fr); }

/* Postranní panel */
.widget__title { font-size: 17px; font-weight: 900; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.widget ul { margin: 0; padding-left: 18px; }
.tip-box { padding: 18px; border-radius: 10px; background: var(--soft, #f4f6f9); border-left: 4px solid var(--hot, #c8282a); }
.tip-box p { margin: 0 0 12px; font-size: 15px; }
.topbar__tip, .topbar__hl { font-weight: 700; }
.topbar__help { padding: 0; border: 0; background: none; color: #e8ecf1; font: inherit; font-weight: 700; cursor: pointer; }
.topbar__help::before { content: "✉ "; }
.topbar__help:hover, .topbar__help:focus-visible { color: #fff; text-decoration: underline; }
.popular { list-style: none; counter-reset: pop; margin: 0; padding: 0; display: grid; gap: 14px; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.popular li::before { content: counter(pop); font-size: 28px; font-weight: 900; color: var(--accent); line-height: 1; opacity: .9; }
.popular a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; }
.popular a:hover { color: var(--accent); }

/* Článek */
.article { padding-top: 26px; min-width: 0; }
.article__title { font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.article__perex { font-size: 20px; line-height: 1.5; color: var(--ink-2); font-weight: 500; margin: 0 0 18px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; color: var(--muted); font-size: 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article__author { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.article__author img { border-radius: 50%; }
.article__meta .icon { width: 16px; height: 16px; margin-top: -2px; }
.article__image { margin: 22px 0; }
.article__image img { width: 100%; border-radius: var(--radius); display: block; }
.article__image figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry { font-family: var(--serif); font-size: 19px; line-height: 1.7; color: #1e242d; }
.entry > * { max-width: 720px; }
.entry p { margin: 0 0 1.15em; }
.entry h2, .entry h3 { font-family: var(--font); margin: 1.6em 0 .6em; }
.entry blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); font-style: italic; color: var(--ink-2); }
.entry figure { margin: 1.5em 0; }
.entry figcaption { font-family: var(--font); font-size: 13px; color: var(--muted); }
.entry a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry .ad { font-family: var(--font); }
.page-article .entry { font-family: var(--font); font-size: 17px; }
.page-article .entry > * { max-width: none; }
.article__foot { margin: 28px 0; display: grid; gap: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { background: var(--soft); color: var(--ink-2); padding: 5px 12px; border-radius: 999px; font-size: 14px; text-decoration: none; }
.tags a:hover { background: var(--accent); color: #fff; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { display: inline-flex; padding: 9px 16px; border-radius: 8px; color: #fff; text-decoration: none; font: inherit; font-size: 14px; font-weight: 700; border: 0; cursor: pointer; }
.share__btn:hover { color: #fff; filter: brightness(.92); }
.share__btn--fb { background: #1877f2; }
.share__btn--x { background: #111; }
.share__btn--ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.share__note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.share__btn--wa { background: #1fa855; }
.share__btn--copy { background: var(--soft); color: var(--ink); }
.share__btn--copy:hover { color: var(--ink); }
.related { margin-top: 36px; }
.comments { margin-top: 40px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .search-form input { width: 100%; padding: 10px 12px; border: 1px solid #cfd6df; border-radius: 8px; font: inherit; }
.comment-form .submit { background: var(--accent); color: #fff; border: 0; padding: 12px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* Výpisy */
.archive-head { padding: 30px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.page-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin: 0; letter-spacing: -.02em; }
.archive-head__desc { color: var(--muted); margin-top: 8px; }
.page-wrap { padding-top: 30px; padding-bottom: 60px; }
.page-wrap .page-title { margin-bottom: 24px; }
.pagination { margin: 28px 0; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 30px 0; }
.notfound-latest { max-width: 820px; margin-top: 44px; }
.search-form { display: flex; gap: 8px; max-width: 520px; }

/* Patička */
.footer { background: #0f141b; color: #aeb7c3; margin-top: 60px; font-size: 15px; }
.footer a { color: #e3e8ee; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
.footer .widget__title { color: #fff; border-bottom-color: rgba(255, 255, 255, .2); font-size: 15px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__menu { display: flex !important; gap: 16px; }

/* Realitní stránky v rámci šablony */
.mr-reality .footer { margin-top: 0; }

@media (max-width: 1080px) {
	.cat-block__grid { grid-template-columns: repeat(2, 1fr); }
	.reality-band__head { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
	.top-stories, .layout { grid-template-columns: 1fr; }
	.ad--sidebar_sticky { position: static; }
	.footer__top { grid-template-columns: 1fr 1fr; }
	.story--lead .story__media { min-height: 340px; }
}
@media (max-width: 760px) {
	.masthead__menu { display: block; }
	.masthead__inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
	.brand { flex: 1; }
	.brand__name { font-size: 26px; }
	.brand__tagline { display: none; }
	.masthead__search { display: none; }
	.nav { display: none; }
	.nav.is-open { display: block; }
	.nav__list { flex-direction: column; }
	.nav__list a { border-bottom: 1px solid var(--line); }
	.story--row { grid-template-columns: 120px 1fr; gap: 14px; }
	.story--row .story__title { font-size: 17px; }
	.story--row .story__excerpt { display: none; }
	.story--side { grid-template-columns: 110px 1fr; }
	.story--lead .story__body { padding: 18px; }
	.story--lead .story__excerpt { display: none; }
	.story--lead .story__media { min-height: 300px; }
	.related__grid { grid-template-columns: 1fr; }
	.entry { font-size: 18px; }
	.article__perex { font-size: 18px; }
}
@media (max-width: 560px) {
	.cat-block__grid, .footer__top { grid-template-columns: 1fr; }
	.reality-band { margin-left: -20px; margin-right: -20px; }
}
.single .layout__side { padding-top: 26px; }
.widget .mr-mini { padding: 0; }

/* Vzhled podle loga Mělnicko */
.topbar { background: var(--accent); color: #e6f1fa; }
.topbar a { color: #fff; }
.topbar__sep { opacity: .6; }
.masthead { border-bottom: 0; }
.masthead__inner { padding-top: 16px; padding-bottom: 12px; }
.brand { align-items: flex-start; }
.brand__logo-link { display: block; line-height: 0; }
.brand__logo, .brand .custom-logo { display: block; height: 72px; max-height: none; width: auto; }
.brand__tagline { margin: 6px 0 0; color: var(--hot); font-weight: 700; font-size: 15px; }
.masthead__search { background: #f1f6fb; }
.masthead__search button { background: var(--hot); }
.swoosh { display: block; width: 100%; height: 14px; margin-top: -2px; color: var(--accent); }
.nav { border-bottom: 1px solid var(--line); }
.nav__list a:hover { color: var(--accent); }
.nav__reality a { color: var(--ink); }
.nav__list .current-menu-item > a, .nav__list .current-cat > a { color: var(--accent); border-bottom-color: var(--hot); }
.kicker { color: var(--hot); }
.kicker:hover { color: var(--accent); }
.popular li::before { color: var(--hot); }
.entry blockquote { border-left-color: var(--hot); }
.section-title, .widget__title { border-bottom: 3px solid var(--accent); font-weight: 800; }
.article__title, .page-title, .story--lead .story__title { font-weight: 800; letter-spacing: -.015em; }
.reality-band { background: linear-gradient(120deg, var(--accent-dark), var(--accent) 65%, #2b95d6); }
.mr-btn--primary { background: var(--accent); border-color: var(--accent); }
.mr-chip input:checked + span { background: var(--accent); border-color: var(--accent); }
.mr-badge--top, .mr-btn--accent { background: var(--hot); border-color: var(--hot); }
.mr-cta { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); }
.footer { background: #0b3350; color: #c6d6e4; }
.footer a { color: #fff; }
.footer__logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 10px; line-height: 0; }
.footer__logo img { display: block; height: 44px; width: auto; }
.footer__tag { color: #fff; font-weight: 700; margin: 14px 0 10px; }
.footer__social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.footer__social a { background: rgba(255, 255, 255, .1); padding: 6px 12px; border-radius: 999px; font-size: 14px; text-decoration: none; }
.footer__social a:hover { background: rgba(255, 255, 255, .2); text-decoration: none; }
.footer__tv { display: inline-block; margin-top: 18px; background: #fff; padding: 8px 12px; border-radius: 10px; line-height: 0; }
.footer__tv img { height: 40px; width: auto; display: block; }
.footer .widget__title { border-bottom-color: rgba(255, 255, 255, .25); }
@media (max-width: 760px) {
	.brand__logo, .brand .custom-logo { height: 38px; }
	.brand__tagline { display: none; }
	.masthead__inner { padding-top: 10px; padding-bottom: 8px; }
	.topbar__mail, .topbar__sep { display: none; }
}

/* Kompaktnější vzhled na počítači: menší písmo a fotky (mobil zůstává beze změny). */
@media (min-width: 761px) {
	body { font-size: 15px; }
	.container { max-width: 1180px; }
	.brand__logo, .brand .custom-logo { height: 58px; }
	.brand__tagline { font-size: 13px; }
	.nav__list a { font-size: 14px; padding: 10px 12px; }
	.section-title { font-size: 19px; margin-bottom: 14px; }
	.widget__title { font-size: 15px; }
	.kicker { font-size: 11px; margin-bottom: 4px; }

	/* Karty článků */
	.story__body { padding-top: 9px; }
	.story__title { font-size: 16px; }
	.story__excerpt { font-size: 14px; margin-top: 6px; }
	.story__meta { font-size: 12px; margin-top: 6px; }
	.story--lead .story__media { min-height: 340px; }
	.story--lead .story__body { padding: 20px 24px; }
	.story--lead .story__title { font-size: clamp(22px, 2.4vw, 30px); }
	.story--lead .story__excerpt { font-size: 15px; }
	.story--side { grid-template-columns: 112px 1fr; gap: 12px; padding-bottom: 12px; }
	.story--side .story__title { font-size: 14px; }
	.story--row { grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; }
	.story--row .story__title { font-size: 17px; }
	.top-stories { gap: 20px; margin-bottom: 32px; }
	.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
	.cat-block__grid, .related__grid { gap: 18px; }
	.popular li { grid-template-columns: 28px 1fr; }
	.popular li::before { font-size: 22px; }
	.popular a { font-size: 14px; }

	/* Detail článku */
	.article__title { font-size: clamp(24px, 2.8vw, 34px); }
	.article__perex { font-size: 17px; }
	.article__meta { font-size: 13px; }
	.article__image { margin: 18px 0; max-width: 720px; }
	.article__image img { max-height: 420px; object-fit: cover; }
	.entry { font-size: 17px; line-height: 1.65; }
	.entry > * { max-width: 680px; }
	.entry img { max-height: 460px; width: auto; }
	.page-article .entry { font-size: 15px; }
	.page-title { font-size: clamp(24px, 2.6vw, 32px); }
	.footer { font-size: 14px; }
}

/* Telefon: menší písmo, fotky beze změny. */
@media (max-width: 760px) {
	body { font-size: 14px; }
	.nav__list a { font-size: 14px; padding: 10px 11px; }
	.section-title { font-size: 17px; }
	.widget__title { font-size: 15px; }
	.kicker { font-size: 10px; }
	.story__title { font-size: 15px; }
	.story__excerpt { font-size: 13px; }
	.story__meta { font-size: 12px; }
	.story--lead .story__title { font-size: 20px; }
	.story--lead .story__excerpt { font-size: 14px; }
	.story--side .story__title, .story--row .story__title { font-size: 14px; }
	.popular a { font-size: 14px; }
	.popular li::before { font-size: 20px; }
	.article__title { font-size: 22px; }
	.article__perex { font-size: 15px; }
	.article__meta { font-size: 12px; }
	.entry { font-size: 15px; line-height: 1.6; }
	.page-article .entry { font-size: 14px; }
	.page-title { font-size: 22px; }
	.footer { font-size: 13px; }
}

/* Počet přečtení u článků */
.views { display: inline-flex; align-items: center; gap: 3px; margin-left: 10px; white-space: nowrap; }
.views .icon { width: 14px; height: 14px; }
.story--lead .views { color: #c3cad4; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Patička: provozovatel a právní odkazy */
.footer__operator { margin: 0 0 6px; flex-basis: 100%; }
.footer__legal { margin: 0 0 6px; display: flex; gap: 16px; flex-wrap: wrap; flex-basis: 100%; }
.footer__legal:empty { display: none; }

/* Komerční sdělení */
.commercial-label { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fff4d6; color: #7a5600; border: 1px solid #f0d58a; padding: 2px 8px; border-radius: 4px; margin: 0 6px 6px 0; }
.story--lead .commercial-label { background: #fff4d6; }

/* Datum a svátek v horní liště */
.topbar__date { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.topbar__names strong { font-weight: 700; color: #fff; }
.topbar__holiday { font-weight: 600; }
@media (max-width: 760px) {
	.topbar { font-size: 12px; }
	.topbar__inner { min-height: 0; padding-top: 6px; padding-bottom: 6px; align-items: flex-start; gap: 10px; }
	.topbar__date { gap: 0 10px; min-width: 0; }
	.topbar__holiday { flex-basis: 100%; }
	.topbar__links { flex: none; gap: 10px; }
}

/* Počasí */
.topbar__weather strong { color: #fff; }
.weather__now { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.weather__icon { font-size: 40px; line-height: 1; }
.weather__temp { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
.weather__desc { display: block; color: var(--muted); font-size: 13px; }
.weather__days { list-style: none; margin: 0; padding: 0; }
.weather__days li { display: grid; grid-template-columns: 1fr 28px auto 52px; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.weather__dicon { font-size: 20px; text-align: center; }
.weather__rain { color: #1f6fb2; font-size: 12px; text-align: right; }
.weather__src { margin: 8px 0 0; font-size: 11px; color: var(--muted); }
.weather__src a { color: inherit; }

/* Menu na mobilu vždy viditelné: jeden řádek, posouvá se prstem do strany. Tlačítko v hlavičce otevírá hledání. */
@media (max-width: 760px) {
	.nav { display: block; }
	.nav__list { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.nav__list li { scroll-snap-align: start; }
	.nav__list a { border-bottom: 3px solid transparent; padding: 10px 11px; }
	.nav__search { display: none; padding: 10px 0 4px; }
	.nav.is-open .nav__search { display: block; }
	.nav .container { padding-left: 8px; padding-right: 0; }
}

/* Popisek „Reklama“ menší a nenápadný. */
.ad__label { font-size: 9px; letter-spacing: .06em; line-height: 1.2; margin-bottom: 2px; opacity: .75; font-weight: 400; }
/* Horoskop v postranním panelu */
.horo-signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.horo-signs a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 600; text-align: center; }
.horo-signs a span { font-size: 20px; line-height: 1; color: var(--accent); }
.horo-signs a:hover { border-color: var(--accent); color: var(--accent); }


/* =====================================================================
   1.6 – kompaktní hlavička, menu, Dnes na Mělnicku, bloky, mobil
   ===================================================================== */

/* Přístupnost: viditelné zaměření, dostatečný kontrast malého textu */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.topbar { background: var(--accent-dark); }
.section-title__more, .today__more, .crumbs a, .related__more a { color: var(--accent-dark) !important; }
.btn { min-height: 44px; justify-content: center; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; }

/* Hlavička: menu (hamburger) – logo – hledání */
.masthead__btn { display: none; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.masthead__btn:hover { background: var(--soft); }
.masthead__btn .icon { width: 24px; height: 24px; }
.masthead__burger { display: inline-flex; }
.masthead__inner { padding-top: 12px; padding-bottom: 10px; }
.brand { margin-right: auto; }
.brand__logo, .brand .custom-logo { height: 60px; }

/* Rubriky jako vodorovně posuvné štítky */
.nav__inner { display: flex; align-items: center; gap: 6px; }
.nav__list { flex: 1; min-width: 0; padding: 8px 0; gap: 6px; }
.nav__list a, .nav__regions { display: flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink); }
.nav__list a:hover, .nav__regions:hover { border-color: var(--accent); color: var(--accent); }
.nav__list .current-menu-item > a, .nav__list .current-cat > a { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Aktivní Reality: červené písmo na modrém pozadí by nešlo přečíst. */
.nav__list .nav__reality.current-menu-item > a, .nav__list .nav__reality.current-cat > a { border-color: var(--accent); color: #fff; }
.nav__list .nav__reality.current-menu-item > a::before, .nav__list .nav__reality.current-cat > a::before { background: #fff; }
.nav__regions { flex: none; gap: 4px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; background: var(--soft); }
.nav__regions .icon { width: 16px; height: 16px; }
.nav__search { display: none !important; }

/* Počasí na jeden řádek, předpověď se rozbalí */
.wline { position: relative; }
.wline summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.wline summary::-webkit-details-marker { display: none; }
.wline__more { font-size: 12px; text-decoration: underline; text-underline-offset: 2px; opacity: .85; }
.wline[open] .wline__more { opacity: 1; }
.topbar .wline__box { position: absolute; z-index: 60; top: 100%; left: 0; width: 300px; max-width: calc(100vw - 28px); margin-top: 6px; padding: 14px; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 12px 32px rgba(10, 30, 50, .22); }
.topbar .wline__box a { color: var(--accent-dark); }
.wline--block summary { color: var(--ink); font-size: 15px; }
.wline--block .wline__more { color: var(--accent-dark); }
.wline--block .wline__box { margin-top: 10px; }

/* Výsuvné menu: na počítači panel zleva, na mobilu odspodu */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 20, 30, .5); }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(380px, 92vw); background: var(--surface); display: flex; flex-direction: column; box-shadow: 8px 0 30px rgba(0, 0, 0, .2); }
.drawer__top { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); }
.drawer__search { flex: 1; display: flex; min-width: 0; background: var(--soft); border-radius: 12px; }
.drawer__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; padding: 0 14px; min-height: 48px; outline: none; }
.drawer__search button, .drawer__close { width: 48px; height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.drawer__search button { background: var(--hot); color: #fff; }
.drawer__body { overflow-y: auto; padding: 6px 14px 24px; -webkit-overflow-scrolling: touch; }
.drawer__body h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 18px 0 8px; }
.drawer__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.drawer__list a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; background: var(--soft); color: var(--ink); font-weight: 700; text-decoration: none; }
.drawer__list a[aria-current] { background: var(--accent); color: #fff; }
.drawer__list--small a { font-weight: 600; font-size: 15px; min-height: 44px; }
.drawer__regions details { border-bottom: 1px solid var(--line); }
.drawer__regions summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; cursor: pointer; list-style: none; }
.drawer__regions summary::-webkit-details-marker { display: none; }
.drawer__regions summary::after { content: "+"; font-size: 22px; color: var(--accent); }
.drawer__regions details[open] summary::after { content: "–"; }
.drawer__towns { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.drawer__towns a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.drawer__towns li:first-child a { border-color: var(--accent); color: var(--accent-dark); font-weight: 700; }
body.drawer-open { overflow: hidden; }

/* Drobečková navigace */
.crumbs { margin: 16px 0 4px; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.crumbs a { display: inline-block; padding: 6px 0; text-decoration: none; }

/* Jednotný poměr stran fotek 16 : 9 */
.story__media, .story--side .story__media, .story--lead .story__media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
.story--lead .story__media img { position: absolute; inset: 0; }
.article__image img { aspect-ratio: 16 / 9; object-fit: cover; max-height: none; height: auto; }

/* Hlavní zpráva + 4 menší */
.top-stories { margin-bottom: 24px; align-items: start; }
.top-stories__side { gap: 12px; }
.story--side { grid-template-columns: 150px 1fr; }

/* Dnes na Mělnicku */
.today { background: var(--soft); border-radius: 14px; padding: 18px 20px 20px; margin: 0 0 28px; }
.today__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.today__head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.today__head p { margin: 0; color: var(--muted); font-size: 14px; }
.today__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.today__cell { background: var(--surface); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.today__cell h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 800; }
.today__cell h3 .icon { width: 20px; height: 20px; color: var(--accent); }
.today__cell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.today__cell li a { display: inline; color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.35; }
.today__cell li { padding: 4px 0; font-size: 15px; }
.today__cell li a:hover { color: var(--accent-dark); text-decoration: underline; }
.today__cell time, .today__town { color: var(--muted); font-size: 12px; white-space: nowrap; }
.today__empty { margin: 0; color: var(--muted); font-size: 14px; }
.today__more { margin-top: auto; font-size: 14px; font-weight: 700; text-decoration: none; padding: 8px 0 0; }

/* Bloky regionů a rubrik: velký článek + 3 menší */
.cat-block { margin-top: 36px; }
.cat-block__grid { grid-template-columns: 1.4fr 1fr; grid-auto-flow: dense; gap: 14px 24px; }
.cat-block__grid > .story--card { grid-row: span 3; }
.cat-block--region .section-title { border-bottom-color: var(--hot); }
.story--mini { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.story--mini:last-child { border-bottom: 0; }
.story--mini .story__media { border-radius: 8px; }
.story--mini .story__body { padding-top: 0; }
.story--mini .story__title { font-size: 15px; }
.story--mini .story__meta { margin-top: 4px; font-size: 12px; }

/* Partnerský obsah – jasně oddělený a označený */
.partner { margin: 36px 0 0; padding: 16px 18px 20px; border: 1px solid #f0d58a; background: #fffaf0; border-radius: 14px; }
.partner__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.partner__title span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #7a5600; background: #fff4d6; border: 1px solid #f0d58a; padding: 2px 8px; border-radius: 4px; }
.partner__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.partner .ad { margin: 0 0 16px; }

/* Reklama: rezervované místo, nic neposkakuje */
.ad--code.ad--header, .ad--code.ad--footer { min-height: 104px; }
.ad--code.ad--home_top, .ad--code.ad--home_bottom, .ad--code.ad--partner { min-height: 264px; }
.ad--code.ad--feed, .ad--code.ad--article, .ad--code.ad--article_2, .ad--code.ad--article_end, .ad--code.ad--sidebar { min-height: 264px; }
.ad img[width] { width: auto; max-width: 100%; height: auto; }

/* Reality na titulní straně: kompaktní přehled nabídek */
.estate { margin-top: 40px; }
.estate__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.estate__item a { display: block; color: var(--ink); text-decoration: none; }
.estate__img { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--soft); }
.estate__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.estate__body { display: grid; gap: 2px; padding-top: 8px; }
.estate__title { font-size: 15px; line-height: 1.3; }
.estate__loc { color: var(--muted); font-size: 13px; }
.estate__price { color: var(--hot); font-weight: 800; }
.estate__item a:hover .estate__title { color: var(--accent-dark); }
.estate__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

/* Další zprávy na konci titulní strany */
.more-news { margin-top: 40px; }
.more-news__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.more-news__list li { break-inside: avoid; display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.more-news__list time { flex: none; width: 92px; color: var(--muted); font-size: 13px; padding-top: 2px; }
.more-news__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.more-news__list a:hover { color: var(--accent-dark); text-decoration: underline; }

/* Patička: všechny rubriky a regiony */
.footer__dir { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; padding: 32px 0 28px; border-bottom: 1px solid rgba(255, 255, 255, .15); margin-bottom: 28px; }
.footer__dir ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer__dir li a, .footer__regions a { display: inline-block; padding: 5px 0; text-decoration: none; }
.footer__regions p { margin: 0 0 8px; line-height: 1.5; }
.footer__regions a { margin-right: 12px; color: #d8e4ee; font-size: 14px; }
.footer__regions a.footer__region { color: #fff; font-weight: 800; }
.footer a:hover { text-decoration: underline; }

/* Článek */
.article__sponsored { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff4d6; border: 1px solid #f0d58a; color: #5c4100; font-size: 14px; }
.article__labels { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 10px; }
.label { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--hot); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.label:hover { color: #fff; filter: brightness(.93); }
.label--place { background: var(--soft); color: var(--ink); }
.label--place:hover { color: var(--ink); }
.share { gap: 8px; margin: 0 0 18px; }
.share__btn { min-height: 44px; align-items: center; gap: 8px; padding: 0 16px; border: 0; cursor: pointer; }
.share__btn .icon { width: 18px; height: 18px; }
.article__foot .share { margin: 0; }
.feedback { padding: 16px 18px; border-radius: 12px; background: var(--soft); }
.feedback__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; }
.feedback__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.feedback__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.related__more { margin: -8px 0 14px; font-size: 14px; color: var(--muted); }
.related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.related .story__title { font-size: 15px; }

/* Stránky O nás, Redakce */
.info-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 1.5em; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; }
.team { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; gap: 18px; }
.team__item { display: flex; gap: 16px; align-items: flex-start; }
.team__item img { border-radius: 50%; flex: none; }
.team__item h3 { margin: 0 0 4px; }
.team__item p { margin: 0 0 4px; }
.team__count { color: var(--muted); font-size: 14px; }
.mz-admin-note { padding: 8px 12px; background: #fff4d6; border-radius: 8px; font-size: 14px; }

/* Stránka Inzerce */
.sales__hero { background: linear-gradient(125deg, #0b3350, var(--accent-dark) 55%, var(--accent)); color: #fff; padding: 8px 0 44px; }
.sales__hero .crumbs, .sales__hero .crumbs a, .sales__hero .crumbs li + li::before { color: #cfe2f2 !important; }
.sales__kicker { margin: 18px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd166; }
.sales__hero h1 { margin: 0 0 14px; font-size: clamp(32px, 5vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.sales__lead { margin: 0 0 22px; max-width: 720px; font-size: 19px; color: #e3eef8; }
.sales__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.sales__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.sales__stats li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 14px 16px; }
.sales__stats strong { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
.sales__stats span { font-size: 14px; color: #d3e3f1; }
.sales__h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 48px 0 18px; letter-spacing: -.01em; }
.sales__points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.sales__points li { padding: 14px 16px 14px 46px; border-radius: 12px; background: var(--soft); position: relative; }
.sales__points li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: #fff; background: var(--accent); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.sales__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sales__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc, .pkg { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.svc h3, .pkg h3 { margin: 0; font-size: 19px; font-weight: 800; }
.svc p { margin: 0; color: var(--ink-2); font-size: 15px; }
.svc ul, .pkg ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
.svc__price, .pkg__price { margin: auto 0 0 !important; font-weight: 800; color: var(--hot) !important; }
.svc { border-top: 4px solid var(--accent); }
.svc--pr { border-top-color: var(--hot); }
.svc--akce { border-top-color: #e59f00; }
.svc--partner { border-top-color: #1fa855; }
.pkg__price { font-size: 24px; margin: 0 !important; }
.pkg .btn { margin-top: auto; }
.pkg--best { border: 2px solid var(--hot); box-shadow: 0 14px 34px rgba(200, 40, 42, .14); }
.pkg__badge { position: absolute; top: -12px; left: 20px; background: var(--hot); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.sales__note { color: var(--muted); font-size: 14px; }
.sales__steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sales__steps li { counter-increment: s; padding: 18px; border-radius: 14px; background: var(--soft); }
.sales__steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 10px; }
.sales__faq details { border-bottom: 1px solid var(--line); }
.sales__faq summary { min-height: 52px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.sales__faq p { margin: 0 0 16px; color: var(--ink-2); }
.sales__form { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; margin: 48px 0 20px; padding: 24px; border-radius: 18px; background: var(--soft); }
.sales__form .sales__h2 { margin-top: 0; }
.sales__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.sales__fields label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.sales__fields input[type="text"], .sales__fields input[type="email"], .sales__fields input[type="tel"], .sales__fields textarea { font: inherit; font-size: 16px; padding: 10px 12px; min-height: 46px; border: 1px solid #cfd6de; border-radius: 10px; background: #fff; }
.sales__fields fieldset, .sales__fields label:has(textarea), .sales__gdpr, .sales__fields .notice, .sales__fields button { grid-column: 1 / -1; }
.sales__fields fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sales__fields legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.sales__fields .chk { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.sales__gdpr { margin: 0; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 10px; margin: 0; }
.notice--ok { background: #e7f6ec; color: #145c2e; }
.notice--err { background: #fdecea; color: #8a1c14; }

/* Spodní lišta na mobilu */
.mbar { display: none; }

@media (max-width: 1080px) {
	.sales__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================ MOBIL (do 760 px): jeden sloupec, palec ============================ */
@media (max-width: 760px) {
	body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
	.container { padding-left: 14px; padding-right: 14px; }

	/* Horní lišta: datum, svátek a počasí na jeden řádek */
	.topbar__links { display: none; }
	.topbar__inner { padding-top: 2px; padding-bottom: 2px; }
	.topbar__date { flex-wrap: nowrap; align-items: center; gap: 0 10px; width: 100%; white-space: nowrap; }
	.topbar__names { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
	.topbar__holiday { display: none; }
	.topbar__weather { margin-left: auto; flex: none; }
	.topbar .wline__more { display: none; }
	.topbar .wline__box { left: auto; right: 0; }

	/* Hlavička: ☰ – logo – 🔍 */
	.masthead__inner { gap: 6px; padding-top: 6px; padding-bottom: 4px; }
	.masthead__find { display: inline-flex; }
	.masthead__search { display: none; }
	.brand { margin: 0 auto; align-items: center; }
	.brand__logo, .brand .custom-logo { height: 36px; }
	.swoosh { height: 8px; }
	.nav .container { padding-left: 14px; padding-right: 0; }
	.nav__list { padding: 6px 0; mask-image: none; -webkit-mask-image: none; }
	.nav__list a, .nav__regions { min-height: 40px; padding: 0 13px; font-size: 14px; }
	.nav__inner { gap: 6px; }
	.nav__regions { margin-right: 14px; }

	/* Výsuvné menu odspodu */
	.drawer__panel { top: auto; right: 0; width: auto; max-height: 86vh; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom, 0px); }
	.drawer__top { order: 2; border-top: 1px solid var(--line); border-bottom: 0; }
	.drawer__body { order: 1; }

	/* Jeden sloupec obsahu */
	.home-main { padding-top: 14px; }
	.layout, .top-stories, .cat-block__grid, .partner__grid, .today__grid, .footer__dir, .sales__form, .sales__fields, .sales__points, .sales__steps ol, .sales__grid, .sales__grid--3 { grid-template-columns: 1fr; }
	.layout { gap: 28px; }

	/* Hlavní zpráva: velká fotka přes celou šířku, titulek pod ní */
	.story--lead .story__media { margin: 0; border-radius: var(--radius); } /* 1.7.36: zaoblený jako na počítači (dřív přes celou šířku) */
	.story--lead .story__media::after { display: none; }
	.story--lead .story__body { position: static; padding: 12px 0 0; color: var(--ink); pointer-events: auto; }
	.story--lead .story__title { font-size: 24px; line-height: 1.18; }
	.story--lead .story__title a { color: var(--ink); }
	.story--lead .story__excerpt { display: block; color: var(--ink-2); font-size: 15px; }
	.story--lead .story__meta { color: var(--muted); }
	.top-stories { gap: 16px; }
	.top-stories__side { gap: 0; }

	/* Menší zprávy: fotka vlevo, titulek vpravo (16 : 9) */
	.story--side, .story--row, .story--mini { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--line); }
	.story--side:last-child, .story--mini:last-child { border-bottom: 0; }
	.story--side .story__media, .story--row .story__media, .story--mini .story__media { border-radius: 8px; }
	.story--side .story__body, .story--row .story__body { padding-top: 0; }
	.story--side .story__title, .story--row .story__title, .story--mini .story__title { font-size: 16px; line-height: 1.25; }
	.story--row .story__excerpt { display: none; }
	.story--side .kicker, .story--row .kicker, .story--mini .kicker { font-size: 10px; margin-bottom: 2px; }

	/* Bloky: první článek velký, další jako řádky */
	.cat-block { margin-top: 30px; }
	.cat-block__grid { gap: 0; }
	.cat-block__grid > .story--card { grid-row: auto; padding-bottom: 6px; }
	.cat-block__grid > .story--card .story__title { font-size: 19px; }
	.section-title { font-size: 20px; margin-bottom: 12px; }
	.section-title__more { display: inline-flex; align-items: center; min-height: 44px; }

	/* Dnes na Mělnicku */
	.today { margin: 0 -14px 24px; border-radius: 0; padding: 16px 14px; }
	.today__grid { gap: 10px; }

	/* Reality: kompaktní řádky */
	.estate__list { grid-template-columns: 1fr; gap: 0; }
	.estate__item a { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
	.estate__body { padding-top: 0; }
	.estate__cta .btn { flex: 1; }

	.more-news__list { columns: 1; }
	.more-news__list li { flex-direction: column; gap: 2px; }
	.more-news__list a { display: block; padding: 2px 0; }

	/* Článek: fotka od okraje k okraji, pohodlné čtení */
	.crumbs { margin-top: 10px; }
	.article__title { font-size: 25px; line-height: 1.18; }
	.article__perex { font-size: 17px; }
	.article__image { margin: 14px -14px; max-width: none; }
	.article__image img { border-radius: 0; }
	.article__image figcaption { padding: 0 14px; }
	.entry { font-size: 17px; line-height: 1.65; }
	.entry img { height: auto; border-radius: 8px; }
	.share { display: grid; grid-template-columns: 1fr 1fr 1fr; }
	.share__btn { justify-content: center; padding: 0 8px; font-size: 13px; }
	.share__btn span { white-space: nowrap; }
	.related__grid { grid-template-columns: 1fr; gap: 0; }
	.related .story--card { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.related .story--card .story__body { padding-top: 0; }
	.single .layout__side { padding-top: 0; }
	.feedback__actions .btn { flex: 1; }

	/* Reklama mezi obsahem, nikdy přes text */
	.ad { margin: 20px auto; }
	.ad--code.ad--header, .ad--code.ad--footer { min-height: 116px; }
	.ad--sidebar_sticky { position: static; }

	/* Patička */
	.footer__dir { gap: 18px; padding-top: 24px; }
	.footer__regions a { padding: 8px 0; }

	/* Spodní lišta */
	.mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(10, 30, 50, .08); padding-bottom: env(safe-area-inset-bottom, 0px); }
	.mbar__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; color: var(--muted); font: inherit; font-size: 11px; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; }
	.mbar__item .icon { width: 24px; height: 24px; }
	.mbar__item.is-active, .mbar__item[aria-expanded="true"] { color: var(--accent-dark); }
	/* Otevřená klávesnice: lišta by se posunula nad ni a zakryla psaní. */
	.mz-kbd .mbar, .mz-kbd .mzr-pomoc-fab { display: none; }

	/* Inzerce */
	.sales__hero { padding-bottom: 30px; }
	.sales__lead { font-size: 17px; }
	.sales__cta .btn { flex: 1; }
	.sales__stats { grid-template-columns: 1fr 1fr; }
	.sales__stats strong { font-size: 22px; }
	.sales__h2 { margin-top: 36px; }
	.sales__form { padding: 18px 14px; margin-left: -14px; margin-right: -14px; border-radius: 0; }
}

/* Velmi malé telefony (iPhone SE 1. generace, 320 px) */
@media (max-width: 360px) {
	.story--side, .story--row, .story--mini, .related .story--card, .estate__item a { grid-template-columns: 104px 1fr; }
	.topbar__names { display: none; }
	.share__btn .icon { display: none; }
}

/* Dotykové plochy alespoň ~44 px u odkazů v seznamech */
.today__cell li a, .popular a, .more-news__list a { display: inline-block; padding: 6px 0; }
.today__more { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.label { min-height: 36px; }
@media (max-width: 760px) {
	.today__cell li { padding: 0; }
	.today__cell li a, .popular a { display: block; padding: 10px 0; }
	.home .widget--events { display: none; } /* akce jsou v bloku Dnes na Mělnicku */
	.horo-signs a { min-height: 56px; }
	.mzr-mini a, .widget a { min-height: 32px; }
}
.section-title a { display: inline-flex; align-items: center; min-height: 44px; }
.section-title { padding-bottom: 2px; align-items: center; }
.section-title__more { padding-left: 16px; }
.weather__src a { display: inline-block; padding: 8px 0; }
@media (max-width: 760px) {
	.share { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.share__btn span { white-space: normal; line-height: 1.15; text-align: center; }
	.tags a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; }
	.footer__dir li a, .footer__col a, .footer a { display: inline-block; padding: 9px 0; }
	.footer__regions a { padding: 9px 0; }
	.feedback__note a, .widget--events a, .layout__side .mzr-more a { display: inline-block; padding: 10px 0; }
	.crumbs a { padding: 12px 0; }
}
@media (max-width: 400px) { .share__btn .icon { display: none; } }
/* Celá karta článku je klikací (velká dotyková plocha na telefonu). */
.story { position: relative; }
.story__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.story--lead .story__title a::after { z-index: 2; }
@media (min-width: 761px) {
	.cat-block__grid { grid-template-columns: 1fr 1fr; align-items: start; }
	.cat-block__grid > .story--card .story__title { font-size: 20px; }
	.story--mini { grid-template-columns: 160px 1fr; }
}

/* Dnes na Mělnicku: nejzajímavější článek, počasí na celý den, akce s fotkou */
.today__grid { grid-template-columns: 1.1fr 1fr 1.2fr; }
.today__hl { display: grid; gap: 8px; color: var(--ink); text-decoration: none; }
.today__hlimg { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--soft); }
.today__hlimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.today__hl strong { font-size: 16px; line-height: 1.3; }
.today__hl:hover strong { color: var(--accent-dark); }
.today__meta { margin: 0; color: var(--muted); font-size: 12px; }
.wtoday__now { display: flex; align-items: center; gap: 10px; }
.wtoday__icon { font-size: 34px; line-height: 1; }
.wtoday__now strong { font-size: 24px; font-weight: 800; }
.wtoday__now span { color: var(--muted); font-size: 13px; }
.wtoday__parts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; }
.wtoday__parts li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 10px; background: var(--soft); font-variant-numeric: tabular-nums; }
.wtoday__label { font-size: 11px; font-weight: 700; color: var(--muted); }
.wtoday__picon { font-size: 22px; line-height: 1.1; }
.wtoday__parts strong { font-size: 15px; }
.wtoday__rain { font-size: 10px; color: #1f6fb2; line-height: 1.2; min-height: 12px; }
.today__cell .weather__src { margin-top: 2px; }
.today__events { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.today__events a { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: start; padding: 4px 0; color: var(--ink); text-decoration: none; }
.today__eimg { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--soft); }
.today__eimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.today__ebody { display: grid; gap: 1px; min-width: 0; }
.today__ebody strong { font-size: 14px; line-height: 1.3; }
.today__ewhen { font-size: 12px; font-weight: 700; color: var(--hot); }
.today__eplace { font-size: 12px; color: var(--muted); }
.today__events a:hover strong { color: var(--accent-dark); }
.today__cell li { padding: 0; }
@media (max-width: 760px) {
	.today__grid { grid-template-columns: 1fr; }
	.today__cell li a { display: grid; padding: 4px 0; }
	.today__events a { grid-template-columns: 88px 1fr; }
}
/* Dnes se koná: malá fotka vlevo, text vpravo (silnější pravidlo než obecné odkazy v buňce). */
.today__cell .today__events li a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; padding: 6px 0; }
.today__cell .today__eimg { display: block; width: 64px; height: 48px; aspect-ratio: auto; border-radius: 8px; overflow: hidden; background: var(--soft); }
.today__cell .today__eimg img { width: 64px; height: 48px; max-width: none; object-fit: cover; display: block; border-radius: 0; }
.today__events li + li { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
	.today__cell .today__events li a { grid-template-columns: 72px minmax(0, 1fr); }
	.today__cell .today__eimg, .today__cell .today__eimg img { width: 72px; height: 54px; }
}

/* Počasí dnes: barevná karta podle počasí, tipy, údaje */
.wtoday__hero { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316 55%, #ef4444); box-shadow: inset 0 -30px 60px rgba(0, 0, 0, .08); }
.wtoday--cloud { background: linear-gradient(135deg, #64748b, #94a3b8); }
.wtoday--rain { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.wtoday--snow { background: linear-gradient(135deg, #7dd3fc, #e0f2fe); color: #0c4a6e; }
.wtoday--storm { background: linear-gradient(135deg, #312e81, #6d28d9); }
.wtoday--fog { background: linear-gradient(135deg, #9ca3af, #d1d5db); color: #1f2937; }
.wtoday--night { background: linear-gradient(135deg, #0f172a, #1e3a8a 70%, #4338ca); }
.wtoday__hero .wtoday__icon { font-size: 44px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.wtoday__main { display: grid; min-width: 0; flex: 1; }
.wtoday__temp { font-size: 34px; font-weight: 800; line-height: 1; }
.wtoday__desc { font-size: 14px; font-weight: 600; opacity: .95; }
.wtoday__feels { font-size: 12px; opacity: .85; }
.wtoday__range { display: grid; gap: 2px; font-size: 14px; font-weight: 700; text-align: right; white-space: nowrap; }
.wtoday__tips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wtoday__tips li { padding: 5px 10px; border-radius: 999px; background: #fff7e6; border: 1px solid #fde3a7; font-size: 13px; font-weight: 600; color: #6b4a00; }
.wtoday__parts { margin-top: 10px; }
.wtoday__parts li { background: var(--soft); }
.wtoday__rain { color: #1f6fb2; font-weight: 600; }
.wtoday__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; }
.wtoday__facts div { padding: 7px 10px; border-radius: 10px; background: var(--soft); min-width: 0; }
.wtoday__facts dt { font-size: 11px; color: var(--muted); }
.wtoday__facts dd { margin: 1px 0 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtoday__facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Telefon: pevný řádek menu (Zprávy · Kalendář akcí · Reality · Práce · Více), nic se neposouvá. */
.mnav { display: none; }
@media (max-width: 760px) {
	.nav__inner { display: none; }
	.mnav { display: flex; gap: 5px; padding: 7px 10px; }
	.mnav__item { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
	.mnav__item.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
	.mnav__more { flex: 0 0 auto; background: var(--soft); }
	.mnav__more .icon { width: 15px; height: 15px; }
}
/* Na úzkých telefonech „Kalendář“ bez „akcí“, aby se řádek vešel. */
@media (max-width: 400px) {
	.mnav__long { display: none; }
	.mnav__item { font-size: 13.5px; padding: 0 7px; }
}

/* Telefon: „Více“ rozbalí jen zbývající rubriky (celé menu je pod třemi čárkami) */
.mnav { position: relative; }
.mnav__more[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mnav__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mnav__drop { position: absolute; right: 10px; top: calc(100% - 2px); z-index: 70; width: min(260px, calc(100vw - 20px)); padding: 8px; background: var(--surface); border-radius: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); display: grid; gap: 2px; }
.mnav__drop[hidden] { display: none; }
.mnav__drop a, .mnav__drop-regions { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 12px; border-radius: 10px; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; background: transparent; border: 0; cursor: pointer; text-align: left; }
.mnav__drop a:nth-child(odd) { background: var(--soft); }
.mnav__drop a[aria-current] { background: var(--accent); color: #fff; }
.mnav__drop-regions { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--accent-dark); margin-top: 4px; }

/* =====================================================================
   1.7.3 – Dnes na Mělnicku: počasí, akce, horoskop; počasí u vás; Regiony zprava
   ===================================================================== */
.today__grid { grid-template-columns: 1.15fr 1.1fr 1fr; }
.today__wh { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.wloc { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent-dark); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.wloc:hover { border-color: var(--accent); }
.wloc .icon { width: 14px; height: 14px; }
.wline .wloc { margin: 8px 0 0; }
.today__hicon { color: var(--accent); font-size: 18px; line-height: 1; }

/* Horoskop – společné pro stránku i malý box */
.mzr-horo__sign { --el: #1c7ed6; position: relative; border: 1px solid var(--line, #e3e7ec); border-top: 4px solid var(--el); border-radius: 12px; padding: 14px 16px; background: var(--surface, #fff); display: grid; gap: 10px; }
.mzr-horo__head { display: flex; align-items: center; gap: 10px; }
.mzr-horo__head .mzr-horo__sym { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--el) 14%, transparent); color: var(--el); font-size: 24px; line-height: 1; }
.mzr-horo__name { margin: 0 !important; font-size: 18px !important; line-height: 1.2; }
.mzr-horo__head small { display: block; font-size: 12px; color: var(--muted, #667085); }
.mzr-horo__sign .mzr-horo__text { margin: 0; font-size: 15px; line-height: 1.55; }
.mzr-horo__meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mzr-meter { display: grid; gap: 3px; padding: 6px 8px; border-radius: 8px; background: var(--soft, #f4f6f9); }
.mzr-meter__label { font-size: 11px; font-weight: 700; color: var(--muted, #667085); }
.mzr-meter__dots { display: flex; gap: 3px; }
.mzr-meter__dots i { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--el) 20%, #fff); }
.mzr-meter__dots i.on { background: var(--el); }
.mzr-horo__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.mzr-horo__facts li { display: flex; align-items: center; gap: 6px; }
.mzr-horo__facts span { color: var(--muted, #667085); }
.mzr-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.mzr-horo__sign .mzr-horo__tip { margin: 0; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--el) 8%, #fff); font-size: 13px; line-height: 1.45; }

/* Stránka Horoskopy */
.mzr-horo__hero { margin-bottom: 18px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #1b1f4b, #3b2c74 60%, #6a3f8f); color: #fff; }
.mzr-horo__hero .mzr-horo__date { margin: 0; font-size: 20px; font-weight: 800; color: #fff; }
.mzr-horo__season { margin: 4px 0 12px; opacity: .9; }
.mzr-horo__season a { color: #ffd76a; font-weight: 700; }
.mzr-horo__pick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.mzr-horo__pick a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; }
.mzr-horo__pick a span { font-size: 22px; line-height: 1; }
.mzr-horo__pick a:hover, .mzr-horo__pick a.is-sun { background: rgba(255, 255, 255, .24); }
.mzr-horo__grid { gap: 16px; }
.mzr-horo__sign:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--el) 40%, transparent); }
@media (max-width: 640px) { .mzr-horo__pick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Malý horoskop v bloku Dnes */
.mzr-hmini { display: grid; gap: 10px; }
.mzr-hmini__pick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.mzr-hmini__pick button { min-height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.mzr-hmini__pick button:hover { border-color: var(--accent); }
.mzr-hmini__pick button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.mzr-hmini .mzr-horo__sign { padding: 10px 12px; gap: 8px; }
.mzr-hmini .mzr-horo__name { font-size: 16px !important; }
.mzr-hmini .mzr-horo__head .mzr-horo__sym { width: 36px; height: 36px; font-size: 20px; }
.mzr-hmini .mzr-horo__text { font-size: 14px; }
.mzr-hmini__all { font-weight: 700; font-size: 14px; color: var(--accent-dark); }
@media (max-width: 760px) {
	.today__grid { grid-template-columns: 1fr; }
	.mzr-hmini__pick button { min-height: 44px; }
}

/* Regiony na počítači: panel vyjede zprava */
@media (min-width: 761px) {
	.drawer--right .drawer__panel { left: auto; right: 0; box-shadow: -8px 0 30px rgba(0, 0, 0, .2); }
}
.mzr-horo__sign[hidden] { display: none !important; }
.mzr-horo__sym, .mzr-hmini__pick button, .mzr-horo__pick a span, .horo-signs a span { font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", "DejaVu Sans", sans-serif; font-variant-emoji: text; }
.today__cell .mzr-horo__facts { display: flex; gap: 4px 14px; }
.today__cell .mzr-horo__facts li { padding: 0; font-size: 13px; }
.today__hlink { color: inherit; text-decoration: none; }
.today__hlink::after { content: " ›"; color: var(--accent); }
.today__hlink:hover { color: var(--accent-dark); text-decoration: underline; }

/* 1.7.3 – upozornění a aplikace */
.mza-bell { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent-dark); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.mza-bell:hover { border-color: var(--accent); }
.mza-bell.is-on { background: #e8f5ec; border-color: #b9e0c5; color: #1e7a3a; }
.mza-bell--article { margin: 14px 0 4px; }
.drawer__app { display: grid; gap: 10px; margin: 18px 0 8px; }
.drawer__app .mza-bell { width: 100%; }
.mza-stores { display: flex; gap: 8px; margin: 0; }
.mza-stores a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: #16202b; color: #fff; font-weight: 700; text-decoration: none; font-size: 14px; }
.today__grid--2 { grid-template-columns: 1.15fr 1fr; }
.today__grid--1 { grid-template-columns: 1fr; }
@media (max-width: 760px) { .today__grid--2, .today__grid--1 { grid-template-columns: 1fr; } }
.estate__empty { margin: 0 0 12px; padding: 16px; border-radius: 12px; background: var(--soft); color: var(--ink); }
/* Drobečková navigace na mobilu bez názvu článku (zalamoval se na nový řádek). */
@media (max-width: 760px) { .single .crumbs li:last-child { display: none; } }
.today__add { align-self: flex-start; margin-top: 4px; }
/* Horoskop dne v postranním panelu: jen text, bez volného místa */
.mzr-hcomp { display: grid; gap: 6px; }
.mzr-hcomp p { margin: 0; }
.mzr-hcomp__sign { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 16px; }
.mzr-hcomp__sign .mzr-horo__sym { color: var(--el); font-size: 20px; }
.mzr-hcomp__sign small { color: var(--muted); font-size: 12px; }
.mzr-hcomp__text { font-size: 14px; line-height: 1.5; }
.mzr-hcomp__all { font-size: 14px; font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.mzr-hcomp__all:hover { text-decoration: underline; }
/* 1.7.3 – ikonka účtu v hlavičce */
.masthead .mzu-head { order: 3; }
@media (max-width: 760px) { .masthead .mzu-head { padding: 0 6px; } }
/* 1.7.3 – v menu přibyly Inzerce a Kontakty: užší tlačítka, ať se vejde celé */
@media (min-width: 761px) {
	.nav__inner { gap: 4px; }
	.nav__list { gap: 4px; }
	.nav__list a, .nav__regions { padding: 0 10px; font-size: 13.5px; }
}
@media (min-width: 761px) and (max-width: 1180px) {
	.nav__list a, .nav__regions { padding: 0 8px; font-size: 13px; }
}

/* Regiony: oddělení okolních regionů od okresu Mělník */
.drawer__subhead { margin: 14px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5b6673); }
.footer__subhead { margin: 14px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* 1.7.7: souhlas s cookies */
.mzc { position: fixed; z-index: 9999; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.mzc[hidden] { display: none; }
.mzc__box { pointer-events: auto; width: 100%; max-width: 760px; background: #fff; color: #1d2733; border: 1px solid #d5dbe2; border-radius: 12px; box-shadow: 0 12px 40px rgba(10, 30, 50, .22); padding: 18px 20px; font-family: var(--font); }
.mzc__title { margin: 0 0 6px; font-size: 18px; }
.mzc__text { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.mzc__text a { color: var(--accent-dark, #0f6093); }
.mzc__choices { display: grid; gap: 8px; margin: 0 0 12px; }
.mzc__choices[hidden] { display: none; }
.mzc__choice { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.mzc__choice input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.mzc__choice strong { display: block; }
.mzc__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.mzc__btn { flex: 1 1 140px; min-height: 44px; padding: 10px 14px; border-radius: 8px; border: 1px solid #b9c3cf; background: #fff; color: #1d2733; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.mzc__btn--primary { background: var(--accent, #1480c4); border-color: var(--accent, #1480c4); color: #fff; }
.mzc__btn[hidden] { display: none; }
@media (max-width: 600px) { .mzc { left: 8px; right: 8px; bottom: 8px; } .mzc__box { padding: 14px; } }

/* 1.7.7: politická reklama a vlastnictví */
.commercial-label--political { background: #ffe4e1; color: #8a1c12; border-color: #f2b4ab; }
.article__political { margin: 0 0 16px; padding: 10px 14px; border-radius: 8px; background: #ffe4e1; color: #5e140c; border: 1px solid #f2b4ab; font-size: 15px; }
.article__political a { color: inherit; }
.pa-notice { margin: 28px 0 0; padding: 16px 18px; border: 1px solid #d5dbe2; border-radius: 10px; background: #f6f8fa; font-size: 15px; }
.pa-notice h2 { margin: 0 0 10px; font-size: 18px; }
.pa-notice p { margin: 10px 0 0; font-size: 14px; }
.ownership { margin-top: 28px; }

/* Svátek: na telefonu všechna jména na druhém řádku lišty (datum a počasí zůstávají nahoře). */
@media (max-width: 760px) {
	.topbar .topbar__date { flex-wrap: wrap; width: 100%; }
	.topbar .topbar__weather { margin-left: auto; }
	.topbar .topbar__names { order: 3; flex-basis: 100%; overflow: visible; white-space: normal; line-height: 1.35; padding-bottom: 2px; }
}
@media (max-width: 360px) {
	.topbar .topbar__names { display: block; }
}

/* Fotky v článcích: na počítači pod sebou (klepnutím prohlížeč), na telefonu pás, kterým se listuje prstem. */
.mz-swipe { position: relative; margin: 1.5em 0; }
.mz-swipe__track { display: grid; gap: 1.15em; }
.mz-swipe__slide { margin: 0; }
.mz-swipe__slide img { display: block; width: 100%; height: auto; }
.mz-swipe__slide figcaption { margin-top: 6px; font-family: var(--font); font-size: 13px; color: var(--muted); }
.mz-swipe__count { display: none; }
.entry img.mz-zoomable { cursor: zoom-in; }
.mz-lb { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: rgba(10, 12, 16, .94); }
.mz-lb[hidden] { display: none; }
.mz-lb img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.mz-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 34px; line-height: 1; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.mz-lb button:hover { background: rgba(255, 255, 255, .26); }
.mz-lb__close { top: 16px; right: 16px; }
.mz-lb__prev { left: 16px; top: 50%; margin-top: -26px; }
.mz-lb__next { right: 16px; top: 50%; margin-top: -26px; }
.mz-lb--one .mz-lb__prev, .mz-lb--one .mz-lb__next, .mz-lb--one .mz-lb__count { display: none; }
.mz-lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--font); font-size: 14px; }
@media (max-width: 760px) {
	.mz-swipe__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 10px; background: #eef1f4; }
	.mz-swipe__track::-webkit-scrollbar { display: none; }
	.mz-swipe__slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: center; scroll-snap-stop: always; }
	.mz-swipe__slide img { width: 100%; height: 100%; object-fit: contain; }
	.mz-swipe__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 12px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; }
	.mz-swipe__count { display: block; position: absolute; right: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(20, 24, 31, .72); color: #fff; font-family: var(--font); font-size: 13px; font-weight: 700; pointer-events: none; }
	.entry img.mz-zoomable { cursor: default; }
}

/* Formuláře: oprava e-mailu, koncept, odesílání */
.mz-mailfix { display: inline-block; margin: 4px 0 0; padding: 0; border: 0; background: none; color: var(--accent, #1480c4); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.mz-draft { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid #f2dfb4; border-radius: 12px; background: #fffaf0; font-size: 15px; }
.mz-draft button { padding: 6px 12px; border: 1px solid var(--accent, #1480c4); border-radius: 8px; background: var(--accent, #1480c4); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mz-draft .mz-draft__no { background: #fff; color: var(--accent, #1480c4); }
.is-sending { opacity: .65; cursor: progress !important; }

/* Mělnicko teď: stav v horní liště (zelená klid, žlutá pozor, oranžová výstraha, červená nebezpečí) */
.topbar__sit { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; padding: 1px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.6; text-decoration: none; white-space: nowrap; }
.topbar__sit:hover, .topbar__sit:focus-visible { background: rgba(255, 255, 255, .26); color: #fff; }
.topbar__sit-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #51cf66; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.topbar__sit--1 { background: #f8d84a; color: #1f2933; }
.topbar__sit--1 .topbar__sit-dot { background: #1f2933; }
.topbar__sit--1:hover { background: #ffe066; color: #1f2933; }
.topbar__sit--2 { background: #f76707; }
.topbar__sit--3 { background: #e03131; animation: mz-sit-blink 1.6s ease-in-out infinite; }
.topbar__sit--2 .topbar__sit-dot, .topbar__sit--3 .topbar__sit-dot { background: #fff; }
@keyframes mz-sit-blink { 50% { box-shadow: 0 0 0 4px rgba(224, 49, 49, .35); } }
@media (prefers-reduced-motion: reduce) { .topbar__sit--3 { animation: none; } }
@media (max-width: 760px) {
	/* Telefon: vždy celý řádek pod datem (v klidu nenápadně, při výstraze barevně). */
	.topbar .topbar__sit { order: 4; flex-basis: 100%; justify-content: center; margin: 2px 0 4px; white-space: normal; text-align: center; }
}

/* ============================ Našeptávač vyhledávání ============================ */
.s-host { position: relative; }
.s-sugg { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; width: min(560px, calc(100vw - 24px)); max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(16, 32, 43, .18); text-align: left; }
.masthead__search .s-sugg { left: auto; right: 0; }
.s-sugg.is-up { top: auto; bottom: calc(100% + 8px); }
.s-sugg[hidden] { display: none; }
.s-sugg p { margin: 0; }
.s-sugg__fix { padding: 8px 10px; font-size: 14px; }
.s-sugg__words { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px 8px; }
.s-sugg__words a, .s-sugg__similar a { padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.s-sugg__words a:hover, .s-sugg__similar a:hover, .s-sugg__words a.is-active, .s-sugg__similar a.is-active { background: var(--accent); color: #fff; }
.s-sugg__group { padding: 4px 0; border-top: 1px solid var(--line); }
.s-sugg__head { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 10px 4px; }
.s-sugg__head span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.s-sugg__head a { font-size: 13px; font-weight: 700; text-decoration: none; }
.s-sugg__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.s-sugg__item:hover, .s-sugg__item.is-active { background: #eef6fc; color: var(--ink); }
.s-sugg__item img { flex: none; width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.s-sugg__item span { display: flex; flex-direction: column; min-width: 0; }
.s-sugg__item strong { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.3; }
.s-sugg__item small { overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.s-sugg__similar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 6px 4px; border-top: 1px solid var(--line); }
.s-sugg__similar span { color: var(--muted); font-size: 13px; }
.s-sugg__none { padding: 10px; color: var(--muted); font-size: 14px; }
.s-sugg__all { display: block; margin-top: 6px; padding: 10px; border-radius: 10px; background: var(--soft); color: var(--accent-dark); font-weight: 700; font-size: 14px; text-align: center; text-decoration: none; }
.s-sugg__all:hover, .s-sugg__all.is-active { background: var(--accent); color: #fff; }
.drawer__search .s-sugg { width: 100%; }
/* Stránka výsledků */
.s-fix { margin: 8px 0 0; font-size: 17px; }
.s-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.s-chips span { color: var(--muted); font-size: 14px; }
.s-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.s-chip:hover { border-color: var(--accent); color: var(--accent); }
.s-chip b { color: var(--muted); font-weight: 700; }
@media (max-width: 760px) {
	.s-sugg { position: fixed; left: 12px; right: 12px; width: auto; }
	.topbar .topbar__sit--0 { padding: 1px 10px; background: rgba(255, 255, 255, .12); font-size: 12px; }
}

/* Video z YouTube: náhled s tlačítkem, přehrávač až po kliknutí (inc/video.php) */
.mz-yt { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.4em; overflow: hidden; border-radius: var(--radius); background: #000; }
.mz-yt__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mz-yt__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: rgba(0, 0, 0, .08); cursor: pointer; }
.mz-yt__play svg { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45)); transition: transform .15s; }
.mz-yt__play:hover svg, .mz-yt__play:focus-visible svg { transform: scale(1.12); }
.mz-yt__play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.mz-yt__link { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; text-decoration: none; }
.mz-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mz-short .mz-yt { aspect-ratio: 9 / 16; max-width: 360px; margin-left: auto; margin-right: auto; }
.wp-block-embed-youtube .wp-block-embed__wrapper:has(.mz-yt)::before { display: none; }
.wp-block-embed-youtube { margin: 0 0 1.4em; }
.mz-yt-source { color: var(--muted, #5b6573); font-size: .95em; }
.has-video .story__media { position: relative; }
.has-video .story__media::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 37px; transform: translate(-50%, -50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7a8.5 8.5 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.5 8.5 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.5 8.5 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.5 8.5 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z' fill='%23e00'/%3E%3Cpath d='M45 24 27 14v20z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); pointer-events: none; }
.story--mini.has-video .story__media::after { width: 30px; height: 21px; }

/* 1.7.43: testovací provoz – pruh úplně nahoře (Vzhled → Přizpůsobit → Testovací provoz) */
.betabar { background: #fff4d6; color: #5c4400; border-bottom: 1px solid #f0d48a; font-size: 14px; line-height: 1.4; }
.betabar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.betabar p { margin: 0; }
.betabar__btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #5c4400; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.betabar__btn:hover, .betabar__btn:focus-visible { background: #3d2d00; color: #fff; }
@media (max-width: 640px) {
	.betabar { font-size: 13px; }
	.betabar__inner { gap: 6px 10px; padding-top: 6px; padding-bottom: 6px; }
	.betabar__btn { min-height: 30px; padding: 0 12px; }
}

/* 1.7.45: odkazy v modré liště se nezalamují (dřív „Pošlete nám tip“ a „Nahlásit chybu / Poslat připomínku“ na dva řádky). */
.topbar__links { flex: none; }
.topbar__links a, .topbar__links button { white-space: nowrap; }
.topbar__date { min-width: 0; }
@media (max-width: 1180px) {
	.topbar__mail, .topbar__sep:has(+ .topbar__mail) { display: none; } /* E-mail je i v patičce a na stránce Kontakt. */
}

/* 1.7.46: horní lišta na jeden řádek, Mělnicko teď uprostřed (na telefonu celý řádek pod datem). */
.topbar__mid { display: flex; justify-content: center; min-width: 0; }
.topbar__mid:empty { display: none; }
.topbar__mid .topbar__sit { margin-left: 0; white-space: nowrap; }
@media (min-width: 761px) {
	.topbar__inner { flex-wrap: nowrap; }
	.topbar__date { flex-wrap: nowrap; white-space: nowrap; }
	/* E-mail redakce je v patičce a na stránce Kontakt; v liště by se vše nevešlo na jeden řádek. */
	.topbar__mail, .topbar__sep:has(+ .topbar__mail) { display: none; }
}
@media (min-width: 1101px) {
	.topbar__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
	.topbar__links { justify-self: end; }
}
@media (min-width: 761px) and (max-width: 1100px) {
	.topbar .wline__more { display: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
	.topbar__names { display: none; }
}
@media (min-width: 761px) and (max-width: 900px) {
	.topbar__inner { flex-wrap: wrap; }
}
@media (max-width: 760px) {
	.topbar__inner { flex-wrap: wrap; }
	.topbar__mid { order: 3; flex-basis: 100%; }
	.topbar__mid .topbar__sit { flex: 1; justify-content: center; margin: 2px 0 4px; white-space: normal; text-align: center; }
}

/* ============================ Patička 1.7.46 ============================
   Značka a kontakt vlevo, čtyři sloupce odkazů, regiony v mřížce, tenký právní řádek dole. */
.footer--v2 { margin-top: 56px; background: #0b3350; color: #b9cad9; font-size: 15px; line-height: 1.5; }
.footer--v2 a { color: #e8f0f7; text-decoration: none; }
.footer--v2 a:hover, .footer--v2 a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer--v2 .footer__main { display: grid; grid-template-columns: minmax(240px, 1.25fr) 3fr; gap: 48px; padding: 48px 0 36px; }
.footer--v2 .footer__logo { display: inline-block; padding: 8px 12px; border-radius: 10px; background: #fff; line-height: 0; }
.footer--v2 .footer__logo img { display: block; width: auto; height: 34px; }
.footer--v2 .footer__tag { margin: 16px 0 6px; color: #fff; font-size: 15px; font-weight: 700; }
.footer--v2 .footer__about { margin: 0 0 14px; max-width: 34ch; font-size: 14px; }
.footer--v2 .footer__contact { display: flex; flex-direction: column; gap: 2px; margin: 0 0 16px; font-size: 14px; }
.footer--v2 .footer__tip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #c8282a; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.footer--v2 .footer__tip:hover, .footer--v2 .footer__tip:focus-visible { background: #a91f21; color: #fff; text-decoration: none; }
.footer--v2 .footer__social { margin-top: 14px; }
.footer--v2 .footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer--v2 .footer__h { margin: 0 0 12px; padding: 0; border: 0; color: #8fb0cb; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer--v2 .footer__col ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; columns: auto; }
.footer--v2 .footer__col a { display: inline; padding: 0; font-size: 15px; }
.footer--v2 .footer__widgets { padding: 0 0 28px; }
.footer--v2 .footer__regions { padding: 26px 0 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer--v2 .footer__regions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 40px; }
.footer--v2 .footer__region-row { display: flex; gap: 10px; margin: 0; padding: 6px 0; font-size: 14px; line-height: 1.6; }
.footer--v2 .footer__region { flex: none; min-width: 120px; margin: 0; padding: 0; color: #fff; font-weight: 800; }
.footer--v2 .footer__towns { display: flex; flex-wrap: wrap; gap: 0 14px; min-width: 0; }
.footer--v2 .footer__towns a { display: inline; margin: 0; padding: 0; color: #c6d6e4; font-size: 14px; }
.footer--v2 .footer__bottom { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 32px; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: #93aec4; font-size: 13px; }
.footer--v2 .footer__legal-wrap { display: grid; gap: 4px; min-width: 0; flex: 1 1 420px; }
.footer--v2 .footer__copy, .footer--v2 .footer__operator { margin: 0; flex-basis: auto; }
.footer--v2 .footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; flex-basis: auto; }
.footer--v2 .footer__legal a { display: inline; padding: 0; color: #c6d6e4; font-size: 13px; }
@media (max-width: 1100px) {
	.footer--v2 .footer__main { grid-template-columns: 1fr; gap: 32px; }
	.footer--v2 .footer__regions-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.footer--v2 { font-size: 15px; }
	.footer--v2 .footer__main { padding: 32px 0 24px; }
	.footer--v2 .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
	.footer--v2 .footer__col ul { gap: 2px; }
	.footer--v2 .footer__col a { display: inline-block; padding: 7px 0; }
	.footer--v2 .footer__region-row { flex-direction: column; gap: 2px; padding: 8px 0; }
	.footer--v2 .footer__towns a { display: inline-block; padding: 5px 0; }
	.footer--v2 .footer__legal a { display: inline-block; padding: 6px 0; }
	.footer--v2 .footer__bottom { padding-bottom: 32px; }
}

/* 1.7.48: patička ve stejné modré jako horní lišta (varianta A), barevný proužek nahoře, nadpisy s čárkou,
   regiony v kartách, právní řádek v tmavším pruhu. Logo v původních barvách na bílém podkladu. */
.footer--v2 { position: relative; overflow: hidden; background: var(--accent-dark, #0e5f94); color: #cfe0ee; }
.footer--v2::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #4fa3dc 0%, #4fa3dc 62%, #c8282a 62%, #c8282a 100%); }
.footer--v2 .footer__main { padding: 52px 0 40px; gap: 56px; }
.footer--v2 .footer__logo { padding: 8px 12px; border-radius: 10px; background: #fff; }
.footer--v2 .footer__logo img { height: 36px; }
.footer--v2 .footer__tag { margin: 18px 0 6px; color: #fff; font-size: 16px; }
.footer--v2 .footer__about { color: #cfe0ee; }
.footer--v2 .footer__contact a { color: #fff; font-weight: 700; }
.footer--v2 .footer__h { position: relative; margin: 0 0 16px; padding-bottom: 10px; color: #fff; font-size: 13px; letter-spacing: .09em; }
.footer--v2 .footer__h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: #8cc8ef; }
.footer--v2 .footer__col ul { gap: 9px; }
.footer--v2 .footer__col a { color: #e1edf7; }
.footer--v2 .footer__col a:hover, .footer--v2 .footer__col a:focus-visible { color: #fff; }
.footer--v2 .footer__regions { padding: 34px 0; border-top-color: rgba(255, 255, 255, .16); }
.footer--v2 .footer__regions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.footer--v2 .footer__region-row { flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .06); }
.footer--v2 .footer__region { min-width: 0; font-size: 15px; }
.footer--v2 .footer__region::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #8cc8ef; vertical-align: 1px; }
.footer--v2 .footer__towns { gap: 2px 12px; }
.footer--v2 .footer__towns a { color: #d3e3f0; font-size: 13.5px; }
.footer--v2 .footer__bottom { position: relative; z-index: 0; padding: 20px 0 26px; border-top: 0; color: #c2d6e6; }
.footer--v2 .footer__bottom::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: -100vw; background: #0b4c77; }
.footer--v2 .footer__legal a { color: #e1edf7; }
@media (max-width: 1100px) {
	.footer--v2 .footer__regions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.footer--v2 .footer__main { padding: 34px 0 26px; }
	.footer--v2 .footer__regions-grid { grid-template-columns: 1fr; }
	.footer--v2 .footer__region-row { padding: 12px 14px; }
	.footer--v2 .footer__bottom { padding-bottom: 32px; }
}

/* 1.7.49: na telefonu datum, svátek a počasí na jednom řádku, svátek uprostřed (datum se zkráceným dnem „So 24. října 2026“,
   příliš dlouhá jména se zkrátí třemi tečkami). Na počítači celé datum. */
.topbar__today-short { display: none; }
@media (max-width: 760px) {
	.topbar__today-long { display: none; }
	.topbar__today-short { display: inline; }
	.topbar .topbar__date { flex-wrap: nowrap; }
	.topbar .topbar__today { flex: none; }
	.topbar .topbar__names { display: block; order: 0; flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; line-height: inherit; padding-bottom: 0; }
	.topbar .topbar__weather { flex: none; margin-left: 0; }
}
@media (max-width: 760px) {
	/* Dvojjméno nebo jméno od 10 písmen: bez roku a bez názvu místa u počasí (zůstane ikonka a teplota), ať se jména vejdou celá. */
	.topbar__date--long .topbar__year,
	.topbar__date--long .weather-now__place { display: none; }
}

/* 1.7.51: diskuse pod články (komentují přihlášení čtenáři, plugin Redakce přidává pravidla a Nahlásit). */
.article__comments { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; font-weight: 600; }
.article__comments:hover { color: var(--accent); }
.comments { margin-top: 40px; max-width: 760px; }
.comments__empty, .comments__closed { color: var(--muted); margin: 6px 0 18px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list > li { margin: 0 0 14px; }
.comment-list .children { margin: 12px 0 0 28px; padding-left: 14px; border-left: 2px solid var(--line); }
.comment-list .children > li { margin: 0 0 12px; }
.comment-body { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface, #fff); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; font-size: 14px; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author .avatar { width: 36px; height: 36px; border-radius: 50%; }
.comment-author .fn { font-style: normal; font-weight: 800; color: var(--ink); }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-metadata .edit-link { margin-left: 8px; }
.comment-awaiting-moderation { display: block; margin: 0 0 6px; color: #8a5a00; font-size: 14px; }
.comment-content { font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.comment-content p { margin: 0 0 8px; }
.comment-body .reply { margin-top: 4px; font-size: 14px; font-weight: 700; }
.comment-body .reply a { text-decoration: none; }
.comment-respond { margin-top: 18px; padding: 18px 18px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.comment-reply-title { margin: 0 0 10px; font-size: 20px; }
.comment-reply-title small { margin-left: 10px; font-size: 14px; font-weight: 600; }
.comment-form p { margin: 0 0 12px; }
.comment-form label { display: block; margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.comment-form .form-submit { margin: 4px 0 0; }
.comment-respond .must-log-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.comment-respond .must-log-in .btn { margin: 0; }
.comment-respond .logged-in-as { font-size: 14px; color: var(--muted); }
.comment-respond .logged-in-as strong { color: var(--ink); }
.comments .nav-links { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 14px; font-weight: 700; }
@media (max-width: 760px) {
	.comment-list .children { margin-left: 10px; padding-left: 10px; }
	.comment-respond { padding: 14px 14px 12px; }
}
.comment-respond .must-log-in .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.comment-respond .must-log-in .btn:hover { background: var(--accent-dark, #0e5f94); border-color: var(--accent-dark, #0e5f94); color: #fff; }
/* 1.7.51: v hlavním menu přibyla rubrika Občané píší – o něco užší tlačítka, ať se na počítači vejde celé
   (vyzkoušeno na šířce 1200, 1280 a 1366 px; užší obrazovky menu posouvají do strany jako dosud). */
@media (min-width: 1181px) {
	.nav__list { gap: 3px; }
	.nav__list a, .nav__regions { padding: 0 7px; }
}
/* 1.7.52: po spuštění naostro jsou Inzerce a Kontakt v modré liště, v menu je o dvě tlačítka méně: zase širší tlačítka. */
@media (min-width: 1181px) {
	.mz-live .nav__list { gap: 4px; }
	.mz-live .nav__list a, .mz-live .nav__regions { padding: 0 10px; }
}

/* 1.7.53: text článků písmem Source Serif 4 (místo Georgie, která na Androidu chybí a má „skákající“ číslice).
   Písmo je v šabloně (assets/fonts, licence SIL OFL), čeština = latin + latin-ext. */
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/source-serif-4-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/source-serif-4-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/source-serif-4-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/source-serif-4-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/source-serif-4-latin-ext-400-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/source-serif-4-latin-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root { --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif; }
/* Hezčí zalamování: poslední řádek odstavce ne s jedním slovem, nadpisy vyvážené (starší prohlížeče to ignorují). */
.entry p, .entry li { text-wrap: pretty; }
.article__title, .entry h2, .entry h3 { text-wrap: balance; }
/* Perex: tučně (1.8.10, dřív polotučně) a na počítači o kousek větší než text. */
.article__perex { font-weight: 700; }
/* 1.8.10: komerční sdělení jako malý štítek na řádku s tlačítkem Uložit článek (místo velkého rámečku nad nadpisem). */
.article__adlabel { display: inline-flex; align-items: center; min-height: 40px; margin: 6px 0 12px 6px; padding: 0 12px; border: 1px solid #f0d58a; border-radius: 999px; background: #fff4d6; color: #5c4100; font-size: 13px; font-weight: 700; vertical-align: middle; }
.article__title + .article__adlabel { margin-left: 0; }
.single .article__adlabel { margin-top: 2px; margin-bottom: 8px; }
/* 1.8.11: titulek článku na telefonu výrazně větší než perex (dřív 25 px proti tučnému 17px perexu působil malý). */
@media (max-width: 760px) {
	.article__title { font-size: 31px; line-height: 1.14; }
}
@media (max-width: 360px) {
	.article__title { font-size: 27px; }
}
@media (min-width: 761px) {
	.article__perex { font-size: 19px; line-height: 1.5; }
}

/* 1.7.56: reklama pod hlavičkou je na telefonu jen nízký pruh (320×100), s menšími okraji. Vyšší banner pro mobil se tam neukáže (ad--no-m, viz mz_ad_inner). */
@media (max-width: 760px) {
	.ad--no-m { display: none; }
	.ad--header { margin: 10px auto 12px; }
	.ad--header img { max-height: 120px; width: auto; }
}

/* 1.7.57: svátek a jména v liště na počítači se při nedostatku místa zkrátí třemi tečkami (celý název je v bublině),
   aby počasí nezajelo pod Mělnicko teď (28. 10. s dlouhým názvem svátku přeteklo). Datum a počasí zůstávají celé. */
@media (min-width: 761px) {
	.topbar__date > * { flex: none; }
	.topbar__date > .topbar__holiday,
	.topbar__date > .topbar__names { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* O svátku se na užším počítači schová u počasí slovo „Předpověď“ (předpověď se dál otevře kliknutím), ať se název svátku vejde celý. */
@media (min-width: 761px) and (max-width: 1199px) {
	.topbar__date:has(.topbar__holiday) .wline__more { display: none; }
}

/* Mělnicko 2.0: nové menu (inc/menu2.php). Položky jsou „pilulky“ jako dřív, šipka podnabídky je uvnitř pilulky. */
.nav__list--v2 { overflow: visible; align-items: center; }
.nav__list--v2 > li { position: relative; }
.nav__list--v2 > .nav__has-sub > a { padding-right: 32px; }
.nav__sub-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.nav__sub-btn:hover { background: var(--soft); color: var(--accent); }
.nav__sub-btn .icon { width: 14px; height: 14px; transition: transform .15s; }
.nav__has-sub.is-open .nav__sub-btn .icon { transform: rotate(180deg); }
.nav__list--v2 > .current-menu-item > .nav__sub-btn { color: #fff; }
.nav__list--v2 > .current-menu-item > .nav__sub-btn:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.nav__sub { position: absolute; left: 0; top: calc(100% + 4px); z-index: 80; display: none; min-width: 230px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(10, 30, 50, .16); }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; } /* most pro myš mezi pilulkou a nabídkou */
.nav__has-sub:hover > .nav__sub, .nav__has-sub:focus-within > .nav__sub, .nav__has-sub.is-open > .nav__sub { display: block; }
.nav__list--v2 .nav__sub a { min-height: 0; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: 15px; }
.nav__list--v2 .nav__sub a:hover, .nav__list--v2 .nav__sub a[aria-current] { background: var(--soft); color: var(--accent); }
/* Moje obec: jediná položka, která se zúží (dlouhý název obce se zkrátí třemi tečkami, nepřeleze Regiony). */
.nav__list--v2 > li { flex-shrink: 0; }
.nav__list--v2 > .nav__obec { flex-shrink: 1; min-width: 64px; margin-left: auto; }
.nav__list--v2 .nav__obec-link { gap: 6px; max-width: 100%; overflow: hidden; border-color: #b9d9ef; background: #eaf4fb; color: var(--accent-dark); }
.nav__list--v2 .nav__obec-link .icon { width: 17px; height: 17px; flex: none; }
.nav__list--v2 .nav__obec-link span { min-width: 0; max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__list--v2 .nav__obec.current-menu-item > .nav__obec-link { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 760px) {
	.mnav--v2 { align-items: center; }
	.mnav__scroll { flex: 1; min-width: 0; display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
	.mnav__scroll::-webkit-scrollbar { display: none; }
	.mnav__scroll .mnav__item { flex: none; }
}
.mnav__obec { gap: 4px; color: var(--accent-dark); }
.mnav__obec .icon { width: 16px; height: 16px; flex: none; }
.mnav__obec span { overflow: hidden; text-overflow: ellipsis; max-width: 9em; }
/* Telefon (8. 11. 2026, iPhone 17 Pro): řádek Zprávy · Reality · Bazar · Práce · Více – pět stejně širokých oblých tlačítek,
   nic se neposouvá ani neusekne; pilulku má jen aktivní položka. Moje obec je v modré liště vedle Mělnicka teď. */
@media (max-width: 760px) {
	/* Pět stejně širokých oblých tlačítek přes celou šířku (jako přepínač v aplikacích): stejná velikost, nic se neusekne. */
	.mnav--v2 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 8px 12px; }
	.mnav--v2 .mnav__scroll { display: contents; }
	.mnav--v2 .mnav__item { min-width: 0; min-height: 38px; padding: 0 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; }
	.mnav--v2 .mnav__item.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
	.mnav--v2 .mnav__more { gap: 1px; background: var(--surface); color: var(--ink); }
	.mnav--v2 .mnav__more .icon { width: 13px; height: 13px; }
	.mnav--v2 .mnav__more[aria-expanded="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
	.topbar__mid { gap: 6px; }
	.topbar__mid .topbar__sit { flex: 1 1 0; min-width: 0; }
	.topbar__obec { display: inline-flex; flex: 0 1 auto; max-width: 46%; align-items: center; justify-content: center; gap: 4px; margin: 2px 0 4px; padding: 1px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.6; text-decoration: none; white-space: nowrap; }
	.topbar__obec:hover, .topbar__obec:focus-visible { background: rgba(255, 255, 255, .26); color: #fff; }
	.topbar__obec .icon { flex: none; width: 15px; height: 15px; }
	.topbar__obec span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
	/* Spodní lišta: aktivní položka s podbarvenou ikonou jako v aplikacích, místo pro spodní okraj iPhonu (viewport-fit=cover). */
	.mbar__item { gap: 3px; min-height: 58px; font-size: 11.5px; }
	.mbar__item .icon { box-sizing: content-box; width: 22px; height: 22px; padding: 4px 16px; border-radius: 999px; }
	.mbar__item.is-active .icon { background: #e3f0fa; }
	.mbar__item.is-active { font-weight: 800; }
}
@media (max-width: 359px) {
	.mnav--v2 { gap: 4px; padding: 8px; }
	.mnav--v2 .mnav__item { padding: 0 2px; font-size: 12.5px; }
}
@media (min-width: 761px) {
	.topbar__obec { display: none; }
}
/* Celý web až k okrajům displeje (viewport-fit=cover): obsah na šířku telefonu mimo výřez displeje. */
@supports (padding: max(0px)) {
	.container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
	@media (max-width: 760px) {
		.container { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
	}
}
/* Položky menu bez rámečků (8. 11. 2026: různě dlouhé názvy v rámečcích vypadaly jako různě velká tlačítka). Pilulku má
   jen aktivní položka a ovládací tlačítka vpravo (Moje obec, Regiony); při najetí myší jemné podbarvení. */
@media (min-width: 761px) {
	.nav__list--v2 { gap: 2px; }
	.nav__list--v2 > li:not(.nav__obec) > a { border-color: transparent; background: none; }
	.nav__list--v2 > li:not(.nav__obec) > a:hover { border-color: transparent; background: var(--soft); color: var(--accent); }
	.nav__list--v2 > .current-menu-item:not(.nav__obec) > a, .nav__list--v2 > .current-cat > a { border-color: var(--accent); background: var(--accent); color: #fff; }
}
/* Užší počítač a tablet: co se nevejde do řádku, přejde do druhého (Moje obec se nezkrátí na „M…“ a nic nepřekryje Regiony). */
@media (min-width: 761px) and (max-width: 1100px) {
	.nav__list--v2 { flex-wrap: wrap; gap: 6px 4px; }
}

/* 1.7.78: modrá lišta souměrně. Počítač: vlevo datum a svátek, uprostřed Mělnicko teď, vpravo počasí a odkazy (těsněji).
   Telefon: nahoře datum a svátek na středu, pod tím Moje obec | Mělnicko teď (na středu) | počasí. */
.topbar__right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.topbar__right .topbar__links { gap: 9px; }
.topbar__right .wline__box { left: auto; right: 0; }
@media (min-width: 761px) {
	.topbar__right { flex: none; }
	.topbar__mid { flex: 1 1 auto; }
}
@media (min-width: 761px) {
	/* Celý obsah lišty jako jeden celek na středu (stejný okraj vlevo i vpravo), mezi skupinami stejné mezery. */
	.topbar .topbar__inner { display: flex; flex-wrap: nowrap; justify-content: center; column-gap: 32px; }
	.topbar .topbar__date { flex: 0 1 auto; gap: 0 18px; }
	.topbar__mid { flex: none; }
	.topbar__right { flex: none; gap: 18px; }
}
@media (max-width: 760px) {
	.topbar .topbar__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 4px 8px; padding-top: 4px; padding-bottom: 6px; }
	.topbar .topbar__date { grid-column: 1 / -1; justify-content: center; gap: 0 12px; width: auto; }
	.topbar .topbar__names { flex: 0 1 auto; text-align: left; }
	.topbar .topbar__mid, .topbar .topbar__right { display: contents; }
	.topbar .topbar__links { display: none; }
	.topbar .topbar__obec { grid-column: 1; grid-row: 2; justify-self: start; max-width: 100%; margin: 0; padding: 1px 9px; gap: 3px; font-size: 12px; }
	.topbar .topbar__obec .icon { width: 13px; height: 13px; }
	.topbar .topbar__mid .topbar__sit { grid-column: 2; grid-row: 2; flex: none; margin: 0; white-space: nowrap; }
	.topbar .topbar__weather { grid-column: 3; grid-row: 2; justify-self: end; margin: 0; }
	.topbar .topbar__weather .weather-now__place { display: none; }
}


/* 1.7.81: spodní lišta na telefonu – bílá s modrými ikonami a nápisy, aktivní položka jako modrá pilulka s bílou ikonou. */
@media (max-width: 760px) {
	.mbar { background: #fff; border-top: 1px solid #dbe6f0; }
	.mbar__item { color: var(--accent); font-weight: 700; }
	.mbar__item.is-active, .mbar__item[aria-expanded="true"] { color: var(--accent-dark); font-weight: 800; }
	.mbar__item.is-active .icon { background: var(--accent); color: #fff; }
}

/* 1.7.87: počasí – název místa v rozbaleném boxu; na telefonu v horní liště vidět i název, když jde o polohu čtenáře
   (domovské místo dál jen ikonka a teplota). Název se zkrátí třemi tečkami, aby nepřetekl přes Mělnicko teď. */
.weather__place { margin: 0 0 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.wloc span { text-align: left; }
@media (max-width: 760px) {
	.topbar .topbar__weather { min-width: 0; max-width: 100%; }
	.topbar .topbar__weather summary { max-width: 100%; }
	.topbar .topbar__weather [data-mz-weather="topbar"] { min-width: 0; overflow: hidden; }
	.topbar .topbar__weather .weather-now--here { display: flex; align-items: center; gap: 4px; min-width: 0; }
	.topbar .topbar__weather .weather-now--here > * { flex: none; }
	.topbar .topbar__weather .weather-now--here .weather-now__place { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Náhledy přes celý rámeček (mz_fit_image v inc/media.php): fotka na výšku, čtverec nebo plakát v rámečku
   16 : 9 vyplní celou plochu bez rozmazaných okrajů, výřez určuje střed zájmu fotky (--mz-fx, --mz-fy). */
.mz-fit { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #1b2430; }
.mz-fit .mz-fit__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: var(--mz-fx, 50%) var(--mz-fy, 35%); border-radius: 0; }
/* Detail článku: rámeček nedává fotka (aspect-ratio na <img>), ale obal. */
.article__image .mz-fit { height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); }
@media (max-width: 760px) {
	.article__image .mz-fit { border-radius: 0; }
}

/* Článek na telefonu: méně volného místa nad nadpisem, štítek obce neopakuje drobečkovou navigaci,
   autor, datum a doba čtení na jednom řádku, tlačítka sdílení menší a vedle sebe. */
@media (max-width: 760px) {
	.single .crumbs { margin: 4px 0 0; }
	.single .crumbs a { padding: 8px 0; }
	.single .article { padding-top: 4px; }
	.single .article__labels { margin: 2px 0 8px; }
	.single .article__labels .label--place { display: none; }
	.single .article__labels:not(:has(.label:not(.label--place))) { display: none; }
	.single .article__title { margin-bottom: 10px; }
	.single .mzu-save { margin: 2px 0 8px; }
	.single .article__meta { gap: 4px 12px; padding: 8px 0; font-size: 12.5px; }
	.single .article__meta .avatar { width: 26px; height: 26px; }
	.single .article__image { margin: 10px 0; }
	.single .share { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
	.single .share__btn { min-height: 38px; padding: 0 6px; font-size: 13px; gap: 6px; }
	.single .share__btn span { white-space: nowrap; }
	.single .share__btn .icon { display: inline-block; width: 15px; height: 15px; }
	.share__long { display: none; }
}

/* Dlaždice místních firem v postranním panelu (mz_tiles v inc/ads.php): nadpis bloku nese označení reklamy. */
.widget--tiles .widget__title span { margin-left: 6px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.layout__side .ad--tile { margin: 0 0 10px; }
.ad--tile .ad__label { display: none; }
.ad--tile a, .ad--tile picture, .ad--tile img { display: block; width: 100%; }
.ad--tile img { border-radius: 10px; }

/* Boční pruhy (inc/ads.php, plocha „pruhy“): jen obrazovky od 1400 px a jen když na pruzích běží reklama.
   Mezery: 20 px okraj obrazovky – pruh 120 px – 32 px – web – 32 px – panel 340 px – 32 px – pruh – 20 px.
   Web se roztáhne do šířky, text článku zůstane v čitelné šířce vycentrovaný pod fotkou. */
.pruh { display: none; }
@media (min-width: 1400px) {
	body.has-pruhy { position: relative; }
	body.has-pruhy .container { max-width: none; width: auto; margin-left: 172px; margin-right: 172px; padding-left: 0; padding-right: 0; }
	/* 1.8.22: Reality a Bazar mají vlastní obal (.mr-wrap) místo .container – bez toho pod ně zajížděly boční pruhy. */
	body.has-pruhy .mr-wrap { max-width: none; width: auto; margin-left: 172px; margin-right: 172px; padding-left: 0; padding-right: 0; }
	body.has-pruhy .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
	.pruh { display: block; position: absolute; top: calc(var(--pruh-top, 214px) + 20px); bottom: var(--pruh-bottom, 20px); z-index: 5; width: 120px; overflow: clip; /* clip, ne hidden: hidden by vypnul sticky banneru */ border-radius: 8px; background: var(--pruh-bg, #1b2430); }
	.pruh--l { left: 20px; }
	.pruh--r { right: 20px; }
	.pruh__in { position: sticky; top: 0; padding-top: 16px; }
	/* Nápis nad bannerem, ne přes něj (1.8.2). */
	.pruh .ad__label { position: absolute; top: 4px; left: 0; right: 0; margin: 0; font-size: 9px; line-height: 1; letter-spacing: .12em; color: #fff; opacity: .8; text-align: center; }
	.pruh a, .pruh picture, .pruh img { display: block; width: 100%; max-width: none; height: auto; border-radius: 0; }
	body.has-pruhy.single .article__image { max-width: none; }
	body.has-pruhy.single .entry { font-size: 19px; line-height: 1.75; }
	body.has-pruhy.single .entry > *, body.has-pruhy.single .entry .ad--inline { max-width: 820px; margin-left: auto; margin-right: auto; }
}

/* Výjíždějící reklama (inc/ads.php, assets/theme.js): zespodu obrazovky, pod 30 % výšky, jde zavřít. */
.ad-slide { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; transform: translateY(130%); transition: transform .4s ease; background: var(--slide-bg, #1b2430); box-shadow: 0 -8px 30px rgba(10, 20, 30, .25); }
.ad-slide[hidden] { display: none; }
.ad-slide.is-visible { transform: none; }
.ad-slide__close { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 20px; line-height: 32px; text-align: center; cursor: pointer; }
.ad-slide__content a, .ad-slide__content picture, .ad-slide__content img { display: block; }
.ad-slide__content img { width: 100%; height: auto; max-width: none; border-radius: 0; }
body.has-slide { padding-bottom: var(--slide-h, 0px); }
@media (min-width: 761px) {
	/* Banner vyplní celý pruh od kraje ke kraji (výška podle poměru 970 : 90), nápis a křížek leží na něm. */
	.ad-slide__bar .ad__label { position: absolute; z-index: 2; left: 12px; top: 6px; margin: 0; font-size: 10px; color: #fff; opacity: .9; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
	.ad-slide__close { position: absolute; z-index: 2; right: 14px; top: 50%; margin-top: -16px; box-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
	.ad-slide__content { width: 100%; }
}
@media (min-width: 1400px) {
	body.has-pruhy .ad-slide { left: 172px; right: 172px; bottom: 20px; border-radius: 12px; overflow: hidden; }
	body.has-pruhy.has-slide { padding-bottom: calc(var(--slide-h, 0px) + 20px); }
}
@media (max-width: 760px) {
	.ad-slide { bottom: var(--mbar-h, 0px); z-index: 89; background: #fff; border-radius: 14px 14px 0 0; overflow: hidden; }
	.ad-slide__bar { display: flex; align-items: center; justify-content: space-between; padding: 5px 8px 5px 14px; }
	.ad-slide__bar .ad__label { margin: 0; font-size: 10px; }
	.ad-slide__close { background: #eef2f6; width: 30px; height: 30px; line-height: 30px; font-size: 19px; }
	body.has-slide { padding-bottom: calc(var(--slide-h, 0px) + var(--mbar-h, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .ad-slide { transition: none; } }

/* 1.8.12: fotka v článku po klepnutí přes celou obrazovku (assets/theme.js). */
.article__image img, .article__content img { cursor: zoom-in; }
.article__content a:not([href$=".jpg"]):not([href$=".jpeg"]):not([href$=".png"]):not([href$=".webp"]) img { cursor: pointer; }
.mz-zoom { position: fixed; inset: 0; z-index: 10000; background: rgba(8, 12, 18, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 10px 16px; cursor: zoom-out; }
.mz-zoom img { max-width: 100%; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); object-fit: contain; border-radius: 4px; }
.mz-zoom__cap { margin: 12px 0 0; max-width: 760px; color: #e6ebf1; font-size: 14px; line-height: 1.45; text-align: center; }
.mz-zoom__x { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
html.mz-zoom-on, html.mz-zoom-on body { overflow: hidden; }

/* 1.8.17: rubrika a obec nad nadpisem článku malým písmem („KULTURA · MĚLNÍK“) místo barevných štítků, na mobilu i počítači. */
.article__labels { gap: 0; align-items: center; margin: 8px 0 4px; }
.article__labels .label { min-height: 0; padding: 6px 0; border-radius: 0; background: none; color: var(--hot); font-size: 12.5px; font-weight: 800; letter-spacing: .07em; }
.article__labels .label--place { color: var(--accent); }
.article__labels .label:hover { color: var(--hot); filter: none; text-decoration: underline; }
.article__labels .label--place:hover { color: var(--accent-dark); }
.article__labels .label + .label::before { content: "·"; margin: 0 7px; color: var(--muted); font-weight: 700; }
@media (max-width: 760px) {
	.single .article__labels, .single .article__labels:not(:has(.label:not(.label--place))) { display: flex; margin: 2px 0 2px; }
	.single .article__labels .label--place { display: inline-flex; }
}

/* 1.8.18: pod fotkou článku jeden řádek – Uložit (vloží ho plugin Účet), štítek Komerční sdělení, „Sdílet“ a kulaté ikony. */
.article__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.article__actions .article__save:empty { display: none; }
.article__actions .mzu-save { margin: 0; min-height: 36px; padding: 0 13px; font-size: 13.5px; }
.article__actions .article__adlabel { margin: 0; min-height: 32px; }
.article .article__actions .share--compact { display: flex; align-items: center; gap: 6px; margin: 0 0 0 auto; }
.article .article__actions .share__lbl { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.article .article__actions .share--compact .share__btn { width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 50%; justify-content: center; gap: 0; }
.article .article__actions .share--compact .share__btn .icon { display: block; width: 17px; height: 17px; }
.article .article__actions .share--compact .share__btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.article .article__actions .share--compact .share__btn--copy { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.article__actions + .article__meta { margin-top: 0; }
.single .article__perex { margin-top: 10px; }
@media (max-width: 760px) {
	/* Rubrika a obec nad nadpisem drobečkovou navigaci na telefonu nahrazují (podle návrhu), fotka je tak výš. */
	.single-post .crumbs { display: none; }
}
@media (max-width: 760px) {
	/* Rubriky (Zprávy, Kultura, Sport…) na telefonu: méně prázdného místa nad a pod nadpisem. */
	.archive-head { padding: 12px 0 10px; margin-bottom: 12px; }
}

/* 1.8.20 (varianta A): vlevo modré „Sdílet“, ikony, hned za nimi Uložit článek s červeným srdíčkem; Komerční sdělení nad nadpisem. */
.article .article__actions .share--compact { margin: 0; }
.article .article__actions .share__lbl { margin-right: 4px; font-size: 14px; font-weight: 800; color: var(--accent); }
.article__actions .mzu-save { border-color: #f3c2c2; color: #b3261e; background: #fff; }
.article__actions .mzu-save:hover { border-color: #e0262a; }
.article__actions .mzu-save.is-on { background: #fdecec; }
.article__adlabel--top { display: inline-flex; min-height: 0; margin: 4px 0 2px; padding: 3px 10px; font-size: 12px; }
.article__adlabel--top + .article__labels { margin-top: 4px; }

/* 1.8.21: titulní strana – čtyři zprávy vedle hlavní (mobil i počítač). Rubrika nahoře, pod ní fotka vždy stejně velká,
   vedle ní nadpis vycentrovaný mezi horním okrajem fotky a datem; datum a počet přečtení na stálém místě u spodního okraje fotky. */
.story--side2 { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.story--side2:last-child { border-bottom: 0; padding-bottom: 0; }
.story--side2 .story__kick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 16px; margin-bottom: 6px; }
.story--side2 .story__kick .kicker, .story--side2 .story__kick > * { margin: 0; font-size: 11px; }
.story--side2 .story__row { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px; height: 102px; }
.story--side2 .story__media { position: relative; height: 102px; aspect-ratio: auto; border-radius: 9px; }
.story--side2 .story__media > img, .story--side2 .story__media .mz-fit, .story--side2 .story__media .mz-fit img, .story--side2 .story__media .thumb-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story--side2 .story__body { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 102px; padding: 0; min-width: 0; }
.story--side2 .story__title { align-self: center; margin: 0; font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.story--side2 .story__meta { margin: 0; font-size: 12px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-stories__side { gap: 12px; }

/* Hlavní zpráva i na počítači s textem pod fotkou (dřív přes fotku). */
.story--lead { height: auto; }
.story--lead .story__media::after { display: none; }
.story--lead .story__body { position: static; padding: 14px 0 0; color: var(--ink); pointer-events: auto; }
.story--lead .story__title a { color: var(--ink); }
.story--lead .story__excerpt { color: var(--ink-2, #3b4552); }
.story--lead .story__meta, .story--lead .views { color: var(--muted); }
@media (min-width: 761px) { .story--lead .story__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; } }

/* 1.8.23: po zkopírování odkazu tlačítko na chvíli zezelená a dole se ukáže nenápadné oznámení (nad spodní lištou na mobilu). */
.share__btn--copy.is-copied { background: #e7f6ec !important; border-color: #9fd4b0 !important; color: #1e7a3c !important; }
.mz-toast { position: fixed; left: 50%; bottom: 20px; z-index: 200; transform: translate(-50%, 12px); opacity: 0; padding: 8px 16px; border-radius: 999px; background: rgba(31, 41, 55, .92); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); pointer-events: none; transition: opacity .2s, transform .2s; }
.mz-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
