/* AkcePlzen.cz — produkční design systém (zdroj pravdy: docs/62) */

@font-face {
    font-family: 'Instrument Sans';
    src: url('/fonts/instrument-sans/instrument-sans-v4-latin_latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('/fonts/instrument-sans/instrument-sans-v4-latin_latin-ext-500.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('/fonts/instrument-sans/instrument-sans-v4-latin_latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('/fonts/instrument-sans/instrument-sans-v4-latin_latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Spline Sans Mono';
    src: url('/fonts/spline-sans-mono/spline-sans-mono-v13-latin_latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Spline Sans Mono';
    src: url('/fonts/spline-sans-mono/spline-sans-mono-v13-latin_latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

:root {
    --bg: #fcfbf7;
    --surface: #ffffff;
    --ink: #10211a;
    --body: #414c45;
    --muted: #76817a;
    --line: #e7eae3;
    --line-strong: #d9ded3;
    --soft: #f4f6f1;
    --green: #0e7a4f;
    --green-deep: #0b3d2c;
    --green-soft: #e7f2ec;
    --green-line: rgba(14, 122, 79, .3);
    --gold: #c79a2f;
    --gold-soft: #faf3e1;
    --gold-line: rgba(199, 154, 47, .5);
    --blue: #49758d;
    --blue-soft: #edf4f8;
    --red: #b4453a;
    --red-soft: #faedeb;
    --cream: #f4efe2;
    --r-card: 12px;
    --r-ui: 8px;
    --r-tag: 6px;
    --mono: 'Spline Sans Mono', ui-monospace, SFMono-Regular, monospace;
    --shadow: 0 16px 40px rgba(16, 33, 26, .08);
    --shadow-soft: 0 6px 20px rgba(16, 33, 26, .05);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

body { margin: 0; background: var(--bg); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
input, button, select, textarea { font: inherit; max-width: 100%; }
select { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
input[type="date"], input[type="file"], select { min-width: 0; }
input[type="file"] { overflow: hidden; text-overflow: ellipsis; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.04; font-weight: 700; letter-spacing: -.018em; margin-bottom: 14px; }
h2 { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -.012em; margin-bottom: 6px; }
h3 { font-size: 17px; line-height: 1.25; font-weight: 600; margin-bottom: 4px; }
p { color: var(--body); }
.mono { font-family: var(--mono); }
.shell { width: min(1360px, calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--muted); }

/* ---------- oznamovací lišta ---------- */
.promo-bar { background: var(--green-deep); color: var(--cream); font-size: 13px; animation: promo-in .22s ease-out; }
@keyframes promo-in { from { transform: translateY(-100%); } to { transform: none; } }
.promo-bar-inner { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.promo-bar .code { font-family: var(--mono); font-weight: 600; color: var(--gold); letter-spacing: .04em; }
.promo-bar a { color: var(--gold); font-weight: 600; white-space: nowrap; }
.promo-close { margin-left: auto; min-width: 30px; min-height: 30px; border: 0; background: none; color: var(--cream); opacity: .65; cursor: pointer; font-size: 13px; }
.promo-close:hover { opacity: 1; }
.promo-short { display: none; }

@media (max-width: 759px) {
    .promo-full { display: none; }
    .promo-short { display: inline; }
}

/* ---------- přístupnost ---------- */
.skip-link { position: absolute; left: 12px; top: 10px; z-index: 100; padding: 11px 18px; border-radius: var(--r-ui); background: var(--green); color: #fff; font-weight: 700; font-size: 14px; transform: translateY(-220%); transition: transform .15s ease; }
.skip-link:focus-visible { transform: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(14, 122, 79, .5); outline-offset: 2px; border-radius: 4px; }
#obsah:focus { outline: none; }

/* ---------- header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(252, 251, 247, .93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.site-nav { display: flex; gap: 20px; align-items: center; }
.site-nav a { font-size: 14.5px; font-weight: 600; color: var(--body); }
.site-nav a:hover { color: var(--green); }
.nav-saved-link { display: inline-flex; align-items: center; gap: 6px; }
.saved-nav-count {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.header-actions { display: flex; align-items: stretch; gap: 10px; }
/* hamburger a CTA stejně vysoké (a11y tap target 44 px) */
.header-actions .btn.small, .header-actions .menu-toggle { min-height: 44px; }
.mobile-submit { display: none; }

/* ---------- mobilní menu (hamburger s animací do křížku) ---------- */
.menu-toggle { display: none; align-items: center; gap: 9px; min-height: 38px; min-width: 38px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ui); background: var(--surface); color: var(--ink); cursor: pointer; }
.mt-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 18px; }
.mt-burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .22s ease, opacity .18s ease; }
.menu-toggle.open .mt-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open .mt-burger span:nth-child(2) { opacity: 0; }
.menu-toggle.open .mt-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mt-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); animation: menu-in .18s ease-out; }
.mobile-menu a { display: block; padding: 15px 18px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a:active { background: var(--green-soft); }
.mobile-menu .mm-cta { color: var(--green); border-bottom: 0; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .mobile-menu { animation: none; }
    .mt-burger span { transition: none; }
}

.site-footer {
    position: relative;
    padding: clamp(30px, 4vw, 46px) 0 38px;
    margin-top: clamp(36px, 5vw, 72px);
    border-top: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(247, 250, 244, .78), rgba(252, 251, 247, .96) 42%, rgba(252, 251, 247, 1)),
        var(--bg);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--gold), transparent 72%);
    opacity: .55;
}

.footer-shell {
    display: grid;
    gap: 28px;
}

.footer-brand {
    max-width: 430px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-logo img {
    display: block;
    height: 22px;
    width: auto;
}

.footer-claim {
    margin: 14px 0 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 650;
}

.footer-note {
    margin: 8px 0 0;
    max-width: 34rem;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.footer-nav {
    display: grid;
    gap: 24px 28px;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-column h2 {
    margin: 0 0 5px;
    color: var(--green);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-column a {
    width: max-content;
    max-width: 100%;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    transition: color .15s ease, transform .15s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: var(--green);
    text-decoration: none;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

/* ---------- tlačítka, chipy, štítky ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 18px; border: 1px solid var(--green);
    border-radius: var(--r-ui); background: var(--green); color: #fff;
    font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
    box-shadow: 0 8px 20px rgba(14, 122, 79, .22);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(14, 122, 79, .28); }
.btn.secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); box-shadow: none; }
.btn.secondary:hover { border-color: var(--green-line); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--green); box-shadow: none; }
.btn.small { min-height: 38px; padding: 6px 13px; font-size: 14px; }
.btn.tiny { min-height: 34px; padding: 5px 11px; font-size: 13px; }
.header-actions .mobile-submit { display: none; }
.header-actions .desktop-submit { display: inline-flex; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 44px; min-width: 44px; padding: 8px 12px;
    border: 1px solid var(--line-strong); border-radius: var(--r-ui);
    background: var(--surface); color: var(--body); font-size: 13.5px; font-weight: 600; cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease;
}

.icon-btn:hover { border-color: var(--green-line); color: var(--green); transform: translateY(-1px); }
.icon-btn.on { border-color: var(--green-line); background: var(--green-soft); color: var(--green); }
.icon-btn.on .ic { color: var(--green); fill: currentColor; }
.icon-btn .chevron {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    border-radius: 1px;
}
.icon-btn .chevron-left { transform: rotate(-135deg) translate(-1px, -1px); }
.icon-btn .chevron-right { transform: rotate(45deg) translate(-1px, 1px); }

.chip {
    display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 15px;
    border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
    color: var(--ink); font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}

.chip:hover { border-color: var(--green-line); transform: translateY(-1px); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.chip .x { font-weight: 400; opacity: .75; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
    display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 2px 8px;
    border: 1px solid var(--line); border-radius: var(--r-tag); background: var(--soft);
    color: var(--body); font-size: 12px; font-weight: 600; white-space: nowrap;
}

.tag.green { background: var(--green-soft); border-color: var(--green-line); color: var(--green); }
.tag.gold { background: var(--gold-soft); border-color: var(--gold-line); color: #7c5c12; }
.tag.blue { background: var(--blue-soft); border-color: rgba(73, 117, 141, .35); color: var(--blue); }
.tag.red { background: var(--red-soft); border-color: rgba(180, 69, 58, .35); color: var(--red); }
.tag.price { font-family: var(--mono); font-weight: 600; background: var(--surface); border-color: var(--line-strong); color: var(--ink); }

/* ---------- datumový lístek ---------- */
.tix {
    flex: 0 0 auto; width: 62px; text-align: center;
    border: 1px solid var(--line-strong); border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f8f9f4);
    font-family: var(--mono); line-height: 1;
}

.tix-top { display: grid; gap: 3px; padding: 9px 3px 8px; }
.tix-dow { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--green); }
.tix-day { font-size: 23px; font-weight: 600; color: var(--ink); }
.tix-mon { font-size: 10px; letter-spacing: .06em; color: var(--muted); }

.tix-foot {
    position: relative; border-top: 1px dashed var(--line-strong);
    padding: 6px 2px 7px; font-size: 11px; font-weight: 600; color: var(--body);
}

.tix-foot::before, .tix-foot::after {
    content: ""; position: absolute; top: -5px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line-strong);
}

.tix-foot::before { left: -5.5px; }
.tix-foot::after { right: -5.5px; }

.tix.today { border-color: var(--green-line); box-shadow: 0 0 0 3px var(--green-soft); }
.tix.today .tix-dow { color: var(--green); }
.tix.today .tix-foot { color: var(--green); }
.tix.gold { border-color: var(--gold-line); background: linear-gradient(180deg, #fff, #fcf6e4); }
.tix.gold .tix-foot::before, .tix.gold .tix-foot::after { border-color: var(--gold-line); }
.tix.off { border-color: var(--line); background: var(--soft); }
.tix.off .tix-day { color: var(--muted); text-decoration: line-through; }
.tix.off .tix-dow { color: var(--muted); }
.tix.big { width: 78px; }
.tix.big .tix-day { font-size: 30px; }
.tix.big .tix-top { padding: 12px 4px 10px; }

/* ---------- service pages ---------- */
.service-page { padding: 28px 0 26px; }
.service-hero {
    display: grid;
    gap: 12px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 95% 0%, rgba(14, 122, 79, .1), transparent 36%),
        linear-gradient(135deg, #fff, #f8faf4);
    box-shadow: var(--shadow-soft);
}
.service-hero h1 { max-width: 850px; margin-bottom: 0; }
.service-hero .lead { max-width: 840px; margin-bottom: 0; }
.service-detail-hero { margin-top: 14px; }
.service-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.service-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.service-quicklinks a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    color: var(--ink);
    font-weight: 700;
}
.service-quicklinks a:hover {
    border-color: var(--green-line);
    color: var(--green);
    text-decoration: none;
}
.service-group { margin-top: clamp(26px, 4vw, 42px); scroll-margin-top: 110px; }
.service-group-head {
    max-width: 820px;
    margin-bottom: 14px;
}
.service-group-head h2 { margin-bottom: 6px; }
.service-group-head p { margin: 0; color: var(--muted); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}
.service-card,
.service-panel,
.service-related-card {
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    min-width: 0;
    padding: 18px;
}
.service-card h2,
.service-card h3 { margin: 0 0 7px; font-size: 20px; }
.service-card p { margin: 0 0 12px; color: var(--body); }
.service-card-meta {
    display: block;
    margin: -2px 0 12px;
    color: var(--muted);
    font-size: 14px;
}
.service-card-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--green-soft);
    color: var(--green);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}
.service-link { color: var(--green); font-weight: 700; }
.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
    margin-top: 22px;
}
.service-detail-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
.service-detail-grid .service-source {
    grid-column: 2;
    grid-row: 1 / span 2;
}
.service-panel { padding: clamp(20px, 3vw, 28px); }
.service-panel h2 { margin-bottom: 14px; }
.service-list,
.service-source-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: var(--body);
}
.service-source { position: sticky; top: 92px; }
.service-source p { margin-bottom: 14px; }
.service-source a { color: var(--green); font-weight: 700; }
.service-related { margin-top: 28px; }
.service-related > p {
    max-width: 780px;
    margin: -6px 0 14px;
    color: var(--muted);
}
.service-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.service-related-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
}
.service-related-card span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--soft);
    color: var(--green);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-layout { grid-template-columns: 1fr; }
    .service-detail-grid .service-source { grid-column: auto; grid-row: auto; }
    .service-source { position: static; }
    .service-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .service-page { padding-top: 18px; }
    .service-hero { border-radius: 14px; padding: 22px; }
    .service-grid,
    .service-related-grid { grid-template-columns: 1fr; }
    .service-card { grid-template-columns: 1fr; }
    .service-actions .btn { width: 100%; }
}

/* ---------- event karta ---------- */
.ev {
    position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0;
    border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
    box-shadow: var(--shadow-soft); overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ev:hover { transform: translateY(-2px); border-color: var(--green-line); box-shadow: var(--shadow); }
.ev-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
.ev-card-link:focus-visible {
    outline: 3px solid rgba(14, 122, 79, .5);
    outline-offset: -5px;
}

.ev-media { position: relative; height: 132px; background: var(--mbg, var(--soft)); overflow: hidden; }
.ev-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ev-media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--mdot, rgba(14, 122, 79, .2)) 1.4px, transparent 1.5px); background-size: 13px 13px; }
.ev-media::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px;
    transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid var(--mln, rgba(14, 122, 79, .45));
    background: radial-gradient(circle, var(--mln, rgba(14, 122, 79, .45)) 0 4.5px, transparent 5.5px);
}

.ev-media.has-photo::before, .ev-media.has-photo::after { display: none; }

.ev-media[data-tone="music"], .ev-media[data-tone="sport"] { --mbg: #eaf0f4; --mdot: rgba(73, 117, 141, .26); --mln: rgba(73, 117, 141, .55); }
.ev-media[data-tone="family"], .ev-media[data-tone="gastro"] { --mbg: #f8f1de; --mdot: rgba(154, 117, 32, .24); --mln: rgba(154, 117, 32, .5); }
.ev-media[data-tone="calm"] { --mbg: #edefeb; --mdot: rgba(93, 110, 102, .24); --mln: rgba(93, 110, 102, .5); }

.ev-media .tag { position: absolute; left: 12px; top: 12px; z-index: 1; }
.event-time-badge {
    position: absolute; left: 12px; top: 12px; z-index: 3; pointer-events: none;
    display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px);
    min-height: 30px; padding: 6px 10px; border: 1px solid var(--green-line);
    border-radius: var(--r-tag); background: rgba(255, 255, 255, .94);
    color: var(--green); font-size: 12.5px; font-weight: 800; line-height: 1.1;
    box-shadow: 0 8px 18px rgba(12, 31, 23, .08);
    backdrop-filter: blur(8px);
}
.event-time-badge.soon { border-color: var(--gold-line); color: #7c5c12; background: rgba(255, 250, 235, .95); }
.event-time-badge.weekend { border-color: rgba(73, 117, 141, .35); color: var(--blue); background: rgba(239, 246, 249, .95); }
.event-time-badge.live { border-color: var(--green-line); color: var(--green-deep); background: rgba(231, 242, 236, .96); }
.ev > .event-time-badge { left: 14px; top: 14px; }
.ev.noimg.has-time-badge .ev-body { padding-top: 48px; }

.ev-body { display: flex; gap: 13px; padding: 14px; align-items: flex-start; flex: 1; }
.ev-info { min-width: 0; flex: 1; display: grid; gap: 6px; align-content: start; }
.ev-title { margin: 0; font-size: 16.5px; line-height: 1.22; font-weight: 600; letter-spacing: -.008em; }
.ev-meta { margin: 0; color: var(--muted); font-size: 13px; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.category-mark {
    position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
    min-height: 28px; max-width: 100%; padding: 5px 9px 5px 8px; border: 1px solid var(--line);
    border-radius: 9px; background: var(--soft); color: var(--muted);
    font-size: 12.5px; font-weight: 750; line-height: 1.1;
    pointer-events: none;
}
.category-mark .ic { width: 14px; height: 14px; flex: 0 0 auto; }
.category-mark-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.category-mark.music { border-color: rgba(73, 117, 141, .35); background: var(--blue-soft); color: var(--blue); }
.category-mark.family, .category-mark.gastro { border-color: var(--gold-line); background: var(--gold-soft); color: #7c5c12; }
.category-mark.sport { border-color: rgba(14, 122, 79, .32); background: var(--green-soft); color: var(--green); }
.category-mark.calm { border-color: var(--line); background: var(--soft); color: var(--body); }

.ev-save {
    position: relative;
    z-index: 3;
    flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface);
    color: var(--muted); font-size: 17px; cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}

.ev-save:hover { color: var(--green); border-color: var(--green-line); background: var(--green-soft); transform: scale(1.05); }
.ev-save.on { color: #fff; border-color: var(--green); background: var(--green); }
.ev-save .ic { width: 17px; height: 17px; }
.ev-save.on .ic { fill: currentColor; }

.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px 13px; margin-top: auto; }
.ev-price { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); }
.ev-title a,
.ev-more {
    position: relative;
    z-index: 3;
}
.ev-more { color: var(--green); font-size: 13.5px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.ev-more:hover,
.ev:hover .ev-more { text-decoration: none; }

.ev-why { margin: 0; padding: 8px 10px; border-radius: var(--r-ui); background: var(--green-soft); color: var(--green-deep); font-size: 12.5px; }
.ev-why strong { color: var(--green); }

.ev.featured { border-color: var(--gold-line); }
.ev.featured::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), #e3c574); z-index: 1; }
.ev.sponsored { background: #fffdf6; border-color: var(--gold-line); }
.ev.cancelled { opacity: .82; }
.ev.cancelled .ev-title { color: var(--muted); }

.ev.noimg::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--green); opacity: .45; }
.ev.noimg[data-tone="music"]::before, .ev.noimg[data-tone="sport"]::before { background: var(--blue); }
.ev.noimg[data-tone="family"]::before, .ev.noimg[data-tone="gastro"]::before { background: var(--gold); }
.ev.noimg[data-tone="calm"]::before { background: var(--muted); }
.ev.noimg .ev-body { padding: 18px 14px 14px; }
.ev.noimg .ev-title { font-size: 17.5px; }

.ev.compact { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; }
.ev.compact .tix { width: 54px; }
.ev.compact .tix-day { font-size: 19px; }
.ev.compact .tix-top { padding: 7px 3px 6px; }
.ev.compact .ev-info { gap: 2px; }
.ev.compact .ev-title { font-size: 15px; }

.ev.rowcard { flex-direction: row; align-items: center; gap: 14px; padding: 13px 16px; }
.ev.rowcard .ev-info { gap: 3px; }
.ev.rowcard .ev-end { margin-left: auto; display: grid; gap: 7px; justify-items: end; flex: 0 0 auto; }

.ev.premium .ev-body { padding: 22px 18px 14px; }
.ev.premium .ev-eyebrow { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ev.premium .ev-title { font-size: 21px; letter-spacing: -.014em; line-height: 1.16; }

.ev-grid { display: grid; gap: 16px; grid-template-columns: repeat(1, minmax(0, 1fr)); align-items: stretch; }

/* ---------- carousel ---------- */
.carousel-wrap { position: relative; }
.carousel-wrap::after { content: ""; position: absolute; right: -14px; top: -14px; bottom: 16px; width: 44px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--bg)); opacity: 1; transition: opacity .18s ease-out; }
.carousel-wrap.at-end::after { opacity: 0; }
.section.alt .carousel-wrap::after { background: linear-gradient(90deg, transparent, var(--bg)); }
/* vnitřní polštář + kompenzující záporný okraj: stín karet se neořezává
   o scroll viewport, karty přitom zůstávají zarovnané se sekcí */
.carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 14px 26px; margin: -14px -14px -10px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .ev { width: min(330px, 86vw); flex: 0 0 auto; scroll-snap-align: start; }
.carousel:focus-visible { outline: 3px solid rgba(14, 122, 79, .35); outline-offset: 4px; border-radius: var(--r-ui); }

@media (hover: hover) {
    .carousel { cursor: grab; }
    .carousel.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
}

.car-btn,
.arrow-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
    box-shadow: 0 10px 24px rgba(16, 33, 26, .06), inset 0 1px 0 rgba(255, 255, 255, .85);
    color: var(--ink);
    font-size: 0;
    line-height: 1;
}
.car-btn:hover,
.arrow-btn:hover {
    background: var(--green-soft);
    border-color: var(--green-line);
    box-shadow: 0 12px 28px rgba(14, 122, 79, .12), inset 0 1px 0 rgba(255, 255, 255, .75);
}
.car-btn:active,
.arrow-btn:active {
    transform: translateY(0) scale(.98);
}
.car-btn:focus-visible,
.arrow-btn:focus-visible { outline: 3px solid rgba(14, 122, 79, .35); outline-offset: 2px; }
.car-btn:disabled { opacity: .42; background: var(--soft); box-shadow: none; pointer-events: none; }

@media (max-width: 759px) {
    .car-btn { display: none; }
}

/* ---------- hero + hledání ---------- */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; gap: 34px; align-items: start; }
.lead { max-width: 620px; font-size: 17px; margin-bottom: 0; }
.hero-copy { max-width: 880px; }
.hero-copy h1 { max-width: 820px; text-wrap: balance; }
.hero-copy .lead { max-width: 690px; }

.hero.hero-photo { position: relative; padding: clamp(72px, 7vw, 116px) 0 clamp(58px, 6vw, 92px); overflow: hidden; }
.hero-photo .panel { background: rgba(252, 251, 247, .96); backdrop-filter: blur(6px); }
.hero-photo .hero-grid.hero-solo { grid-template-columns: 1fr; }
.hero-solo > div { max-width: 880px; }
.search-smart { margin-bottom: 0; }
.search-smart .wave { width: 17px; height: 6px; color: var(--gold); }
.ts-label .wave { width: 20px; height: 7px; color: var(--gold); flex: 0 0 auto; }

/* nízký pruh „Dnes v Plzni“ přes celou šířku pod hero */
.today-strip { background: var(--green-deep); color: var(--cream); border-bottom: 3px solid var(--gold); }
.ts-inner { display: flex; align-items: center; gap: 20px; min-height: 62px; padding: 9px 0; }
.ts-label { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; white-space: nowrap; }
.ts-count { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.ts-viewport {
    flex: 1; min-width: 0; overflow: hidden; border-inline: 1px solid rgba(244, 239, 226, .11);
    mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.ts-viewport:focus-visible { outline: 3px solid rgba(199, 154, 47, .45); outline-offset: 3px; border-radius: var(--r-ui); }
.ts-items { display: flex; align-items: center; gap: 28px; width: max-content; min-width: 100%; padding-inline: 28px; }
.ts-viewport.is-overflowing .ts-items { animation: ts-rail 28s linear infinite alternate; }
.ts-viewport:hover .ts-items,
.ts-viewport:focus .ts-items,
.ts-viewport:focus-within .ts-items { animation-play-state: paused; }
@keyframes ts-rail {
    to { transform: translateX(calc(-1 * var(--ts-shift, 0px))); }
}
.ts-item { display: inline-flex; align-items: baseline; gap: 9px; white-space: nowrap; font-size: 14px; }
.ts-item:hover .ts-title { text-decoration: underline; text-underline-offset: 3px; }
.ts-time { font-family: var(--mono); font-size: 12.5px; color: var(--gold); }
.ts-title { font-weight: 600; color: #fff; }
.ts-venue { color: rgba(244, 239, 226, .6); font-size: 12.5px; }
.ts-empty { color: rgba(244, 239, 226, .75); font-size: 14px; white-space: nowrap; }
.ts-all { white-space: nowrap; font-weight: 700; font-size: 13.5px; color: var(--gold); }
.ts-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-photo .hero-bg, .hero-photo .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; z-index: 0; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 61, 44, .82), rgba(11, 61, 44, .58) 45%, rgba(16, 33, 26, .82)); }
.hero-photo .hero-grid { position: relative; z-index: 2; }
.hero-photo h1 { color: #fff; }
.hero-photo .lead { color: rgba(244, 239, 226, .92); }
.hero-photo .trust-row { color: rgba(244, 239, 226, .8); }
.hero-photo .trust-row span::before { color: var(--gold); }
.hero-photo .search-box { box-shadow: 0 24px 64px rgba(7, 24, 17, .45); }

.hero-visual { position: relative; border-radius: 16px; overflow: hidden; min-height: 430px; box-shadow: var(--shadow); }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(16, 33, 26, .55)); }
.hero-visual .today-glass { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 13px 15px; border-radius: 12px; background: rgba(252, 251, 247, .94); backdrop-filter: blur(8px); }
.hero-visual .today-glass .today-item { padding: 8px 0; }

@media (max-width: 759px) {
    .hero-visual { min-height: 300px; }
    .hero.hero-photo { padding: 44px 0 36px; }
}

.search-box {
    margin-top: 22px; padding: 10px; display: grid; gap: 9px;
    border: 1px solid rgba(217, 222, 211, .9); border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hero-command { max-width: 760px; }
.search-box:focus-within { border-color: var(--green-line); box-shadow: 0 24px 62px rgba(14, 122, 79, .16); transform: translateY(-1px); }
.search-command-head { display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex-wrap: wrap; }
.search-mode { color: var(--body); font-size: 12px; font-weight: 700; }
.search-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.search-icon {
    position: absolute; left: 16px; top: 50%; z-index: 1;
    width: 18px; height: 18px; border: 2px solid var(--green); border-radius: 50%;
    transform: translateY(-50%); pointer-events: none; opacity: .82;
}
.search-icon::after {
    content: ""; position: absolute; right: -6px; bottom: -4px; width: 8px; height: 2px;
    border-radius: 2px; background: var(--green); transform: rotate(45deg);
}
.search-row input { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 16px; }
.hero-command .search-row input { padding-left: 46px; }
.search-row input::placeholder { color: var(--muted); }
.search-row input:focus { border-color: var(--green); outline: 4px solid rgba(14, 122, 79, .14); }
.search-row .btn { min-height: 54px; padding-inline: 20px; border-radius: 9px; }
.search-help { margin: -1px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.trust-row { display: flex; flex-wrap: wrap; gap: 6px 12px; max-width: 760px; margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.trust-row span::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 700; }

.sugg { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 0; }
.sugg a {
    display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 32px; padding: 6px 10px;
    border: 1px solid rgba(231, 234, 227, .9); border-radius: 999px; color: var(--body);
    background: rgba(244, 246, 241, .72); font-size: 12.5px; font-weight: 600;
}
.sugg a:hover, .sugg a:focus-visible { border-color: var(--green-line); background: var(--green-soft); color: var(--green-deep); }
.sugg-mark {
    width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 auto;
    box-shadow: 0 0 0 4px rgba(199, 154, 47, .12);
}
.sugg .ic { width: 15px; height: 15px; color: var(--muted); flex: 0 0 auto; }
.hero-chips { gap: 7px; }
.hero-chips .chip {
    min-height: 32px; padding: 6px 12px; background: rgba(255, 255, 255, .62);
    color: var(--body); font-size: 12.5px;
}
.hero-chips .chip:hover { color: var(--green-deep); background: var(--surface); }

.ic { width: 16px; height: 16px; }
.icon-btn .ic { color: var(--body); }
.icon-btn:hover .ic { color: var(--green); }

@media (hover: none) {
    .ev:active { transform: scale(.985); }
    .btn:active, .chip:active { transform: scale(.97); }
}

html.rv .section { opacity: 0; transform: translateY(10px); transition: opacity .22s ease-out, transform .22s ease-out; }
html.rv .section.in { opacity: 1; transform: none; }

/* ---------- panely a sekce ---------- */
.panel { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); padding: 18px; box-shadow: var(--shadow-soft); }

.today-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.today-head h2 { display: flex; align-items: center; gap: 9px; font-size: 19px; margin: 0; }
.today-head .wave { width: 22px; color: var(--gold); }
.today-count { font-family: var(--mono); font-size: 12px; color: var(--green); }
.today-list { display: grid; }
.today-item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.today-item:first-child { border-top: 0; }
.today-time { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--green); width: 44px; flex: 0 0 auto; }
.today-item strong { display: block; font-size: 14.5px; line-height: 1.25; }
.today-item span.m { color: var(--muted); font-size: 12.5px; }

.section { padding: 68px 0; }
.section.alt { background: transparent; border: 0; }
.section + .section { padding-top: 44px; }
.ad-shell + .section { padding-top: 34px; }
.section-head { display: grid; gap: 10px; align-items: start; margin-bottom: 26px; }
.section-head p { margin: 0; }

.cat-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.cat-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-soft); transition: border-color .15s ease, transform .15s ease; }
.cat-left { display: flex; align-items: center; gap: 11px; min-width: 0; }
.cat-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; background: var(--green-soft); color: var(--green); }
.cat-ic .ic { width: 19px; height: 19px; }
.cat-card:hover .cat-ic { background: var(--green); color: #fff; }
.cat-card:hover { border-color: var(--green-line); transform: translateY(-1px); }
.cat-card strong { min-width: 0; font-size: 15.5px; line-height: 1.2; overflow-wrap: anywhere; }
.cat-count { min-width: 58px; text-align: right; font-family: var(--mono); font-size: 12px; line-height: 1.25; color: var(--muted); }

.organizer-panel { display: grid; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-soft); }
.organizer-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.organizer-panel li { color: var(--body); font-size: 14.5px; }
.organizer-panel li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 9px; }
.organizer-actions { display: grid; gap: 14px; justify-items: end; align-content: center; text-align: right; }
.organizer-actions .btn { width: auto; min-width: 220px; justify-content: center; }
.organizer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
@media (max-width: 720px) {
    .organizer-actions { justify-items: stretch; text-align: center; }
    .organizer-actions .btn { width: 100%; }
    .organizer-links { justify-content: center; }
}
.organizer-links a { font-size: 14px; font-weight: 600; color: var(--green); }
.organizer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* na fotkovém pozadí jsou odkazy světlé */
.organizer-panel.photo .organizer-links a { color: var(--cream); }

/* fotková varianta pořadatelského bloku — atmosféra místo holé plochy */
.organizer-panel.photo { position: relative; overflow: hidden; border: 0; padding: 42px 36px; box-shadow: 0 22px 48px rgba(16, 33, 26, .08); }
.organizer-panel.photo .org-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.organizer-panel.photo .org-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11, 61, 44, .95), rgba(11, 61, 44, .82) 55%, rgba(11, 61, 44, .6)); }
.organizer-panel.photo > div { position: relative; z-index: 2; }
.organizer-panel.photo h2 { color: #fff; }
.organizer-panel.photo p, .organizer-panel.photo li { color: rgba(244, 239, 226, .92); }
.organizer-panel.photo li::before { color: var(--gold); }
.organizer-panel.photo .btn.secondary { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.organizer-panel.photo .btn.secondary:hover { border-color: #fff; }

/* Profil upozornění (magic link) na stránce Moje akce */
.alert-profile-card { display: grid; gap: 14px; margin: 0 0 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.alert-profile-form { display: grid; gap: 14px; }
.alert-categories { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; }
.alert-categories legend { padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--green-deep); }
.alert-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 16px; }
.alert-category-option, .alert-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; line-height: 1.25; }
.alert-category-option span, .alert-check span { white-space: nowrap; }
.alert-profile-card input[type="checkbox"] { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--green); cursor: pointer; }
.alert-profile-card .srf-field input[type="email"], .alert-profile-card select { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; width: 100%; }
.alert-check-row { display: flex; flex-wrap: wrap; gap: 12px; }
.alert-check-row .alert-check { flex: 1 1 240px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.alert-check-row .alert-check:has(input:checked) { border-color: var(--green); background: var(--green-soft); }

.is-muted { opacity: .5; }

/* Interní prolinkování (klíčové kotvy) */
.internal-links { margin: 8px 0 28px; }
.internal-links h2 { font-size: 16px; margin: 0 0 10px; }
.internal-links-row { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.internal-links-row a { font-size: 13.5px; font-weight: 600; color: var(--green-deep); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; }
.internal-links-row a:hover { border-color: var(--green-line); background: var(--green-soft); }

/* Formulář zpětné vazby */
.feedback-form { display: grid; gap: 16px; margin-top: 18px; }
.feedback-row { display: flex; flex-wrap: wrap; gap: 16px; }
.feedback-row .srf-field { flex: 1 1 220px; }
.feedback-form .srf-field { display: grid; gap: 5px; }
.feedback-form label { font-size: 13.5px; font-weight: 600; color: var(--green-deep); }
.feedback-form input, .feedback-form select, .feedback-form textarea { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; width: 100%; }

/* Vstupní pop-up (startovací režim) */
.promo-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; }
.promo-modal[hidden] { display: none; }
.promo-modal-backdrop { position: absolute; inset: 0; background: rgba(11, 33, 26, .55); backdrop-filter: blur(2px); }
.promo-modal-card { position: relative; z-index: 1; width: min(440px, 100%); background: var(--surface); border-radius: var(--r-card); padding: 26px 24px; box-shadow: 0 30px 70px rgba(11, 33, 26, .35); display: grid; gap: 12px; animation: promoIn .2s ease; }
@keyframes promoIn { from { opacity: 0; transform: translateY(10px); } }
.promo-modal-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.promo-modal-badge { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); background: var(--gold-soft); padding: 4px 10px; border-radius: var(--r-tag); }
.promo-modal-card h2 { margin: 0; font-size: 22px; }
.promo-modal-card p { margin: 0; color: var(--body); line-height: 1.5; }
.promo-modal-coupon { background: var(--green-soft); border: 1px dashed var(--green-line); border-radius: 10px; padding: 10px 12px; }
.promo-modal-coupon strong { font-family: var(--mono); letter-spacing: .05em; color: var(--green-deep); }
.promo-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.promo-modal-actions .btn { flex: 1 1 auto; justify-content: center; }
html.promo-modal-open { overflow: hidden; }

/* Inzerce: multi-výběr pozic + banner per velikost + součet ceny */
.ad-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ad-slot-option { display: flex; gap: 10px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.ad-slot-option:hover { border-color: var(--green-line); }
.ad-slot-option input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--green); cursor: pointer; }
.ad-slot-option:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.ad-slot-option input:checked + span strong { color: var(--green-deep); }
.ad-slot-option span { display: grid; gap: 2px; }
.ad-slot-option small { color: var(--muted); font-size: 12.5px; }
.ad-price-total { margin-top: 12px; font-size: 15px; }
.ad-price-total strong { color: var(--green-deep); }
.ad-order-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; padding: 16px 18px; border: 1px solid var(--green-line); border-radius: var(--r-card); background: var(--green-soft); }
.ad-order-summary strong { font-size: 20px; color: var(--green-deep); }
.ad-banner-uploads { display: grid; gap: 12px; }
.ad-banner-upload { display: grid; gap: 5px; }
.ad-banner-upload label { font-size: 13.5px; font-weight: 600; }

/* Sekční nadpisy v objednávkových formulářích */
.form-section-title { margin: 18px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--green-deep); }

/* Fakturace: firma / fyzická osoba + ARES */
.billing-fieldset { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; margin: 0; display: grid; gap: 12px; }
.billing-fieldset legend { padding: 0 6px; font-weight: 700; font-size: 14px; }
.billing-type { display: flex; flex-wrap: wrap; gap: 10px; }
.billing-type-option { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.billing-type-option:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.billing-fieldset input[type="radio"], .billing-fieldset input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--green); cursor: pointer; }
.billing-company { display: grid; gap: 12px; }
.billing-ico-row { display: flex; gap: 8px; align-items: center; }
.billing-ico-row input { flex: 1 1 auto; }
.billing-ico-row .btn { flex: 0 0 auto; white-space: nowrap; }

/* Push upozornění — hlídací pes na výpisech + push připomínky */
.push-watch { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 12px 0 18px; padding: 14px 18px; border: 1px solid var(--green-line); border-radius: var(--r-card); background: var(--green-soft); }
.push-watch-text { display: grid; gap: 2px; flex: 1 1 240px; }
.push-watch-text strong { font-size: 15px; }
.push-watch-text span { font-size: 13px; }
.push-status:empty { display: none; }
.push-status { margin: 0; font-size: 13px; color: var(--green-deep); flex-basis: 100%; }
.saved-push { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.saved-reminder-or { font-size: 13px; color: var(--muted); flex-basis: 100%; }
.btn.secondary.on { border-color: var(--green); color: var(--green); background: #fff; }

/* Sociální důkaz „X lidí si uložilo" (zobrazí se až od 6) */
.ev-saved-proof { display: inline-flex; align-items: center; gap: 5px; margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.ev-saved-proof .ic { width: 13px; height: 13px; color: var(--green); }

/* Připomínky k oblíbeným akcím (stránka Moje akce) */
.saved-reminder-card { display: grid; gap: 14px; margin: 18px 0 24px; padding: 22px 24px; border: 1px solid rgba(14, 122, 79, .18); border-radius: var(--r-card); background: var(--green-soft); }
.saved-reminder-intro { display: grid; gap: 4px; }
.saved-reminder-intro strong { font-size: 17px; }
.saved-reminder-intro span { color: var(--muted); font-size: 14px; }
.saved-reminder-flash { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--green-line); color: var(--green-deep); font-size: 14px; }
.saved-reminder-active { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--green); color: var(--green-deep); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.saved-reminder-active strong::before { content: "✓ "; }
.saved-reminder-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.srf-field { display: grid; gap: 5px; flex: 1 1 200px; }
.srf-field label { font-size: 13px; font-weight: 600; color: var(--green-deep); }
.srf-field input, .srf-field select { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; }
.saved-reminder-form .btn { flex: 0 0 auto; }
.saved-reminder-fineprint { margin: 0; color: var(--muted); font-size: 12.5px; }
@media (max-width: 560px) { .saved-reminder-form .btn { width: 100%; } }

.newsletter {
    display: grid; gap: 16px; padding: 28px;
    border: 1px solid rgba(14, 122, 79, .18); border-radius: calc(var(--r-card) + 2px);
    background:
        radial-gradient(circle at 96% 10%, rgba(199, 154, 47, .09), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(231, 242, 236, .68));
    box-shadow: 0 18px 44px rgba(16, 33, 26, .055);
}
.newsletter form { display: grid; gap: 9px; }
.newsletter input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ui); font-size: 15px; }
.newsletter-status { grid-column: 1 / -1; margin: 2px 0 0; color: var(--green-deep); font-size: 13px; font-weight: 600; }

.mag-grid { display: grid; gap: 14px; }
.mag-card { display: grid; gap: 8px; align-content: start; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-soft); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.mag-card:hover { transform: translateY(-2px); border-color: var(--green-line); box-shadow: var(--shadow); }
.mag-media { display: block; aspect-ratio: 16 / 9; margin: -18px -18px 10px; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.mag-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mag-card .mag-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--green); }
.mag-card h3 { margin: 0; }
.mag-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.mag-card .mag-more { color: var(--green); font-size: 13.5px; font-weight: 600; margin-top: 4px; text-decoration: none; }
.mag-card:hover .mag-more { text-decoration: none; }
/* karta článku v karuselu (1:1 s akcemi) */
.carousel .mag-card { width: min(340px, 86vw); flex: 0 0 auto; scroll-snap-align: start; }
.article-media {
    margin: 18px 0 26px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.article-media img {
    display: block;
    width: 100%;
    height: clamp(220px, 34vw, 380px);
    object-fit: cover;
}
.article-media figcaption {
    margin: 0;
    padding: 8px 12px;
    color: var(--muted);
    font-size: 12.5px;
}

/* ---------- detail ---------- */
.crumbs { display: flex; gap: 7px; color: var(--muted); font-size: 13px; margin: 18px 0 10px; flex-wrap: wrap; }
.detail-grid { display: grid; gap: 22px; align-items: start; }
.detail-head { display: flex; gap: 16px; align-items: flex-start; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.detail-icon-action { position: relative; }
.detail-icon-action::after {
    content: attr(data-tooltip); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20;
    max-width: min(220px, calc(100vw - 40px)); padding: 7px 9px; border: 1px solid var(--line);
    border-radius: var(--r-tag); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-soft);
    color: var(--body); font-size: 12px; font-weight: 700; line-height: 1.25; white-space: nowrap;
    opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .14s ease, transform .14s ease;
}
.detail-icon-action:hover::after, .detail-icon-action:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.detail-placeholder {
    position: relative; min-height: 156px; margin-top: 18px; border-radius: var(--r-card);
    overflow: hidden; display: flex; align-items: end; padding: 18px;
    background: var(--mbg, var(--soft)); border: 1px solid var(--line);
}
.detail-placeholder::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(var(--mdot, rgba(14, 122, 79, .2)) 1.4px, transparent 1.5px);
    background-size: 14px 14px;
}
.detail-placeholder::after {
    content: ""; position: absolute; right: 28px; top: 50%; width: 66px; height: 66px;
    transform: translateY(-50%); border-radius: 50%; border: 2px solid var(--mln, rgba(14, 122, 79, .45));
    background: radial-gradient(circle, var(--mln, rgba(14, 122, 79, .45)) 0 7px, transparent 8px);
}
.detail-placeholder span {
    position: relative; z-index: 1; font-family: var(--mono); font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--green);
}
.detail-placeholder[data-tone="music"], .detail-placeholder[data-tone="sport"] { --mbg: #eaf0f4; --mdot: rgba(73, 117, 141, .26); --mln: rgba(73, 117, 141, .55); }
.detail-placeholder[data-tone="family"], .detail-placeholder[data-tone="gastro"] { --mbg: #f8f1de; --mdot: rgba(154, 117, 32, .24); --mln: rgba(154, 117, 32, .5); }
.detail-placeholder[data-tone="calm"] { --mbg: #edefeb; --mdot: rgba(93, 110, 102, .24); --mln: rgba(93, 110, 102, .5); }
.detail-copy { display: grid; gap: 12px; }
.detail-copy h2 { margin: 0; font-size: 19px; }
.detail-copy p { margin: 0; color: var(--body); font-size: 15.5px; line-height: 1.65; white-space: pre-line; }
.detail-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.detail-list li {
    position: relative; padding-left: 18px; color: var(--body); font-size: 14.8px; line-height: 1.55;
}
.detail-list li::before {
    content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px;
    border-radius: 50%; background: var(--green);
}
.detail-link-stack { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.fact-strip { display: grid; gap: 0; }
.fact { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; padding-top: 0; }
.fact strong { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact span { font-size: 14.5px; }
.fact span.mono { font-size: 13.5px; }
.know-grid { display: grid; gap: 8px 18px; grid-template-columns: repeat(1, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.know-grid li { color: var(--body); font-size: 14.5px; padding: 4px 0; }
.know-grid li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 9px; }
.date-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.date-row:first-of-type { border-top: 0; }
.date-row .note { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-left: auto; }
.source-note { color: var(--muted); font-size: 12.5px; }
.detail-media {
    border-radius: var(--r-card);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.detail-media img {
    display: block;
    width: 100%;
    height: clamp(240px, 28vw, 380px);
    object-fit: cover;
    object-position: center;
}

/* ---------- samoobslužná propagace ---------- */
.promo-intro { margin: 0 0 10px; font-size: 14px; }
.promo-after { margin: 10px 0 0; font-size: 13px; }
.promo-examples-link {
    width: fit-content; margin: 0 0 12px; color: var(--green);
    font-size: 13.5px; font-weight: 800; text-decoration: none;
}
.promo-examples-link:hover, .promo-preview-link:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.promo-options { display: grid; gap: 10px; min-width: 0; max-width: 100%; }
.promo-option {
    display: grid; gap: 10px; min-width: 0; max-width: 100%; padding: 14px; border: 1px solid var(--line);
    border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-soft);
}
.promo-option:has(input:checked) { border-color: var(--green-line); background: linear-gradient(180deg, rgba(231, 242, 236, .48), #fff); }
.promo-option-none { box-shadow: none; }
.promo-choice {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 13px;
    align-items: center; width: 100%; min-width: 0; cursor: pointer; font-weight: 400;
}
.promo-choice > input { accent-color: var(--green); width: 20px; height: 20px; margin: 0; flex: 0 0 auto; align-self: center; }
.promo-choice-main { display: grid; gap: 4px; min-width: 0; }
.promo-choice-title { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.promo-choice-main strong { font-weight: 700; }
.promo-choice-main .muted { overflow-wrap: anywhere; }
.promo-choice .ev-price { justify-self: end; margin-left: 10px; white-space: nowrap; }
.promo-preview-link {
    width: fit-content; color: var(--green); font-size: 13px; font-weight: 800;
    text-decoration: none;
}
.info-pop { position: relative; display: inline-flex; }
.info-pop summary {
    display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--green-line);
    border-radius: 50%; color: var(--green); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none;
    background: rgba(231, 242, 236, .65);
}
.info-pop summary::-webkit-details-marker { display: none; }
.info-pop:not([open]) > span { display: none; }
.info-pop > span {
    position: absolute; z-index: 20; left: 0; top: 28px; width: min(320px, calc(100vw - 48px));
    padding: 12px; border: 1px solid var(--line); border-radius: var(--r-ui); background: var(--surface);
    box-shadow: var(--shadow); color: var(--body); font-size: 13px; line-height: 1.5;
}
.info-pop > span strong { display: block; margin-bottom: 3px; color: var(--ink); }
.facebook-schedule { margin: 0 0 0 30px; padding: 12px; border: 1px dashed var(--green-line); border-radius: var(--r-ui); background: rgba(231, 242, 236, .38); }
.facebook-schedule legend { padding: 0 4px; color: var(--ink); font-size: 13px; font-weight: 700; }
.facebook-schedule p { margin: 0 0 9px; color: var(--muted); font-size: 12.5px; }
.facebook-schedule-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facebook-schedule-grid .check { padding: 0; color: var(--body); font-size: 13px; font-weight: 600; }
.facebook-schedule-grid .check input { width: 18px; height: 18px; min-height: 18px; margin-top: 1px; }
.facebook-total { margin-top: 10px !important; color: var(--body) !important; }
.promo-extra-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.promo-extra-options article {
    min-width: 0;
    padding: 14px;
    border: 1px dashed var(--green-line);
    border-radius: var(--r-card);
    background: color-mix(in srgb, var(--green-soft) 45%, var(--surface));
}
.promo-extra-options strong {
    display: block;
    margin-bottom: 5px;
}
.promo-extra-options p {
    margin: 0 0 8px;
    color: var(--body);
    font-size: 13.5px;
    line-height: 1.45;
}

/* ---------- hledání ---------- */
.understood { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 14px; }
.results-head strong { font-family: var(--mono); font-size: 14px; color: var(--green); }
.empty { display: grid; gap: 10px; padding: 22px; border: 1px dashed var(--green-line); border-radius: var(--r-card); background: rgba(231, 242, 236, .5); }
.empty .wave { width: 30px; color: var(--gold); }
.saved-events-page .empty { margin: 18px 0 24px; }
.saved-events-page .ev-grid { margin-top: 16px; }
.saved-summary { margin-top: 14px; }
.saved-reminder-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-ui);
    background: linear-gradient(135deg, rgba(231, 242, 236, .72), rgba(250, 249, 245, .9));
    color: var(--body);
}
.saved-reminder-note strong { flex: 0 0 auto; color: var(--ink); }
.saved-reminder-note span { color: var(--muted); font-size: 14px; }
.question-panel { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }

/* ---------- discovery / výpis akcí ---------- */
.listing-top { display: grid; gap: 16px; align-items: end; margin-bottom: 22px; }
.listing-top .lead { margin-bottom: 0; }
.view-toggle {
    display: inline-flex; width: fit-content; padding: 4px;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); box-shadow: var(--shadow-soft);
}
.view-toggle a {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 34px; padding: 5px 13px; border-radius: 999px;
    color: var(--body); font-size: 13.5px; font-weight: 700;
}
.view-toggle a.active { background: var(--green); color: #fff; }
.discovery-filter {
    display: grid; gap: 12px; margin-bottom: 18px; padding: 18px;
    border: 1px solid rgba(207, 216, 205, .9); border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(250, 249, 245, .92)),
        var(--surface);
    box-shadow: 0 18px 44px rgba(18, 34, 26, .07);
}
.unified-filter { margin-top: 14px; }
.filter-toggle-control { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.filter-primary-row { display: grid; gap: 16px; align-items: start; }
.filter-advanced-row {
    display: grid; gap: 12px; align-items: end;
    padding-top: 14px; border-top: 1px solid rgba(207, 216, 205, .62);
}
.discovery-search { display: grid; gap: 8px; }
.discovery-search label, .filter-block strong, .filter-select-grid label span {
    min-height: 18px;
    color: var(--muted); font-size: 13px; font-weight: 750;
    line-height: 18px;
}
.discovery-search input[type="search"], .filter-select-grid select {
    width: 100%; min-height: 54px; padding: 0 16px;
    border: 1px solid var(--line-strong); border-radius: var(--r-ui);
    background: var(--surface); color: var(--ink); font-size: 15px;
}
.discovery-search input[type="search"]:focus, .filter-select-grid select:focus {
    border-color: var(--green); outline: 4px solid rgba(14, 122, 79, .14);
}
.filter-select-grid { display: grid; gap: 10px; }
.filter-select-grid label { display: grid; gap: 6px; }
.filter-select-grid label span { margin-bottom: 0; }
.filter-toggle {
    cursor: pointer;
    user-select: none;
}
.filter-quick .chip-row { align-items: center; gap: 9px; min-height: 54px; }
.filter-quick .chip {
    min-height: 54px;
    padding-inline: 18px;
    font-size: 14.5px;
    font-weight: 750;
}
.filter-free-chip {
    border-color: rgba(205, 161, 47, .42);
    background: linear-gradient(180deg, rgba(255, 250, 235, .98), rgba(250, 244, 226, .86));
}
.filter-free-chip::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(205, 161, 47, .14);
}
.filter-free-chip.active {
    border-color: var(--green);
    background: var(--green);
}
.filter-free-chip.active::before {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .2);
}

/* ---------- kalendář akcí ---------- */
.calendar-page { padding-bottom: 20px; }
.calendar-hero { padding: 34px 0 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg)); }
.calendar-hero-grid { display: grid; gap: 24px; align-items: end; }
.calendar-hero h1 { max-width: 780px; margin-top: 12px; }
.calendar-filter-shell { padding-top: 0; }
.calendar-search { display: grid; gap: 9px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-soft); }
.calendar-search label { color: var(--muted); font-size: 13px; font-weight: 600; }
.calendar-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.calendar-search-row .btn { min-height: 54px; padding-inline: 24px; }
.calendar-search input[type="search"] {
    width: 100%; min-height: 50px; padding: 0 14px;
    border: 1px solid var(--line-strong); border-radius: var(--r-ui);
    background: var(--surface); color: var(--ink); font-size: 15px;
}
.calendar-search input[type="search"]:focus { border-color: var(--green); outline: 4px solid rgba(14, 122, 79, .14); }
.calendar-workspace { display: grid; gap: 22px; padding-top: 18px; }
.calendar-workspace.calendar-workspace-single { display: block; }
.calendar-filters {
    display: grid; gap: 15px; align-content: start;
    border: 1px solid var(--line); border-radius: var(--r-card);
    background: var(--surface); padding: 16px; box-shadow: var(--shadow-soft);
}
.filter-block { display: grid; gap: 8px; min-width: 0; }
.filter-block strong { color: var(--ink); font-size: 13px; }
.filter-block select {
    width: 100%; min-height: 42px; padding: 0 11px;
    border: 1px solid var(--line-strong); border-radius: var(--r-ui);
    background: var(--surface); color: var(--ink); font-size: 14px;
}
.filter-block select:focus { border-color: var(--green); outline: 4px solid rgba(14, 122, 79, .14); }
.calendar-check { display: flex; align-items: center; gap: 9px; color: var(--body); font-size: 14px; font-weight: 600; }
.calendar-check input { width: 18px; height: 18px; accent-color: var(--green); }
.calendar-main { min-width: 0; }
.month-rail { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.month-tabs { display: flex; gap: 10px; min-width: 0; overflow-x: auto; padding: 8px 2px 10px; scrollbar-width: none; }
.month-tabs::-webkit-scrollbar { display: none; }
.month-tabs a {
    position: relative; flex: 0 0 auto; padding: 8px 11px 12px;
    color: var(--blue); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.month-tabs a.active { color: var(--ink); font-weight: 700; }
.month-tabs a.active::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px;
    border-radius: 999px; background: var(--green);
}
.calendar-days { display: grid; gap: 26px; margin-top: 16px; }
.calendar-day { display: grid; gap: 14px; align-items: start; }
.day-stamp {
    position: sticky; top: 84px; z-index: 2;
    display: grid; justify-items: center; gap: 2px; min-height: 96px;
    padding: 12px 10px; border: 1px solid var(--line);
    border-radius: var(--r-card); background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-soft);
}
.day-number { font-family: var(--mono); font-size: 32px; line-height: 1; color: var(--ink); }
.day-month { font-family: var(--mono); color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.day-stamp strong { color: var(--green); font-size: 12px; text-align: center; }
.day-events { display: grid; gap: 12px; min-width: 0; }
.calendar-event {
    display: grid; gap: 12px; padding: 14px;
    border: 1px solid var(--line); border-radius: var(--r-card);
    background: var(--surface); box-shadow: var(--shadow-soft);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.calendar-event:hover { transform: translateY(-1px); border-color: var(--green-line); box-shadow: var(--shadow); }
.calendar-event.running { border-color: var(--green-line); background: linear-gradient(90deg, var(--green-soft), #fff 34%); }
.event-time {
    display: flex; align-items: center; gap: 8px;
    min-width: 92px; color: var(--green); font-size: 13px; font-weight: 700;
}
.live-dot {
    width: 10px; height: 10px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 0 rgba(14, 122, 79, .35);
    animation: live-pulse 1.55s ease-out infinite;
}
@keyframes live-pulse {
    70% { box-shadow: 0 0 0 9px rgba(14, 122, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 122, 79, 0); }
}
.event-copy { display: grid; gap: 6px; min-width: 0; }
.event-copy h2 { margin: 0; font-size: 18px; line-height: 1.22; }
.event-copy h2 a:hover { color: var(--green); }
.event-copy p { margin: 0; color: var(--muted); font-size: 13.5px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- formuláře ---------- */
.form-grid { display: grid; gap: 14px; max-width: 680px; }
.form-grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form-grid input, .form-grid select, .form-grid textarea {
    min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ui);
    background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 400;
}
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--green); outline: 4px solid rgba(14, 122, 79, .14); }
.form-errors { padding: 12px 14px; border: 1px solid rgba(180, 69, 58, .4); border-radius: var(--r-ui); background: var(--red-soft); color: var(--red); font-size: 14px; }
.form-success { padding: 12px 14px; border: 1px solid var(--green-line); border-radius: var(--r-ui); background: var(--green-soft); color: var(--green-deep); font-size: 14px; }
.form-help { color: var(--muted); font-size: 12.5px; font-weight: 400; }

/* stránky s formuláři (vložení akce, newsletter, správa) */
.page { padding: 26px 0 20px; max-width: 760px; }
.page h1 { font-size: clamp(26px, 4vw, 36px); }
.page > .lead { margin-bottom: 36px; }
.page form fieldset { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-soft); padding: 28px 18px 20px; margin: 0 0 24px; display: grid; gap: 6px; }
.page form legend { font-weight: 700; padding: 0 10px; }
.page form label { font-size: 14px; font-weight: 600; margin-top: 8px; }
.page form input:not([type="checkbox"]), .page form select, .page form textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ui);
    background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 400;
}
.combo-field { position: relative; min-width: 0; }
.combo-field::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid var(--muted);
    border-radius: 50%;
    transform: translateY(-58%);
    pointer-events: none;
}
.combo-field::before {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--muted);
    transform: translateY(6px) rotate(45deg);
    pointer-events: none;
    z-index: 1;
}
.page form .combo-field input { padding-right: 44px; }
.combo-field:focus-within::after { border-color: var(--green); }
.combo-field:focus-within::before { background: var(--green); }
.page form textarea { min-height: 100px; resize: vertical; }
.page form input:focus, .page form select:focus, .page form textarea:focus { border-color: var(--green); outline: 4px solid rgba(14, 122, 79, .14); }
.check {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}
.check input {
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    margin: 0;
    justify-self: center;
    accent-color: var(--green);
}
.check span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}
.choice-grid { display: grid; gap: 10px; margin-top: 4px; }
.choice-card {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-ui);
    background: linear-gradient(180deg, #fff, rgba(251, 250, 246, .72));
}
.choice-card:has(input:checked) { border-color: var(--green-line); background: var(--green-soft); }
.choice-card input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.choice-card strong { display: block; color: var(--ink); }
.choice-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.flash { padding: 12px 14px; border: 1px solid var(--green-line); border-radius: var(--r-ui); background: var(--green-soft); color: var(--green-deep); font-size: 14px; }
label.req::after { content: " *"; color: var(--red); }
.hint { color: var(--muted); font-size: 12.5px; }
.repeater-field { display: grid; gap: 10px; margin-top: 8px; }
.repeater-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
    margin-top: 8px;
}
.repeater-head label { display: block; margin: 0; }
.repeater-head .hint { margin: 4px 0 0; }
.repeater-list { display: grid; gap: 8px; }
.repeater-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.repeater-row input { min-width: 0; }
.repeater-add { white-space: nowrap; }
.repeater-remove {
    min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-ui);
    background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer;
}
.repeater-remove:hover, .repeater-remove:focus-visible { border-color: var(--green-line); color: var(--green); }
.repeater-remove[hidden] { display: none; }
.promo-later { margin: -2px 0 10px; max-width: 62ch; }
.hp { position: fixed; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.form-errors ul { margin: 0; padding-left: 18px; }

/* ---------- právní stránky a cookies ---------- */
.legal-section {
    margin-bottom: 24px;
}

.legal-section h2 {
    margin: 0 0 8px;
    font-size: 19px;
}

.legal-section p {
    margin: 0;
    color: var(--body);
}

.legal-consent-panel {
    display: grid;
    gap: 18px;
    margin: 22px 0 28px;
    padding: 20px;
    border: 1px solid var(--green-line);
    border-radius: var(--r-card);
    background: linear-gradient(135deg, rgba(231, 242, 236, .92), rgba(255, 255, 255, .96));
    box-shadow: var(--shadow-soft);
}

.legal-consent-panel h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.legal-consent-panel p {
    margin: 0;
}

.legal-consent-state {
    margin-top: 10px !important;
    color: var(--green-deep) !important;
    font-size: 13.5px;
    font-weight: 700;
}

.consent-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(217, 222, 211, .9);
    border-radius: var(--r-card);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 70px rgba(16, 33, 26, .18);
    backdrop-filter: blur(18px);
}

.consent-banner[hidden] {
    display: none;
}

.consent-head {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
}

.consent-kicker {
    width: max-content;
    padding: 4px 8px;
    border-radius: var(--r-tag);
    background: var(--green-soft);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.consent-head strong {
    font-size: 20px;
    line-height: 1.2;
}

.consent-head p {
    margin: 0;
    max-width: 760px;
    color: var(--body);
    font-size: 14.5px;
}

.consent-head a {
    color: var(--green);
    font-weight: 700;
}

.consent-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.consent-option {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 104px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.consent-option:hover {
    border-color: var(--green-line);
    box-shadow: var(--shadow-soft);
}

.consent-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.consent-switch {
    position: relative;
    width: 46px;
    height: 28px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #eef1ec;
    transition: background .18s ease, border-color .18s ease;
}

.consent-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16, 33, 26, .18);
    transition: transform .18s ease;
}

.consent-option input:checked + .consent-switch {
    border-color: var(--green);
    background: var(--green);
}

.consent-option input:checked + .consent-switch::after {
    transform: translateX(18px);
}

.consent-option input:focus-visible + .consent-switch {
    outline: 3px solid rgba(14, 122, 79, .35);
    outline-offset: 3px;
}

.consent-option-fixed {
    cursor: default;
    background: var(--green-soft);
}

.consent-option-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.consent-option-copy strong {
    font-size: 14.5px;
    line-height: 1.2;
}

.consent-option-copy small {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.35;
}

.consent-option-copy em {
    width: max-content;
    margin-top: 2px;
    padding: 3px 7px;
    border-radius: var(--r-tag);
    background: rgba(255, 255, 255, .72);
    color: var(--green-deep);
    font-size: 11.5px;
    font-style: normal;
    font-weight: 700;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* ---------- inzerce ---------- */
.advertising-page, .source-intake-page, .pr-article-page { padding: 34px 0 28px; max-width: 920px; }
.advertising-hero {
    display: grid; gap: 22px; margin-bottom: 36px; padding: 28px;
    border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.advertising-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
.advertising-hero .lead { margin: 12px 0 0; max-width: 680px; color: var(--body); }
.advertising-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.advertising-summary {
    display: grid; gap: 8px; align-content: start; padding: 18px;
    border: 1px solid var(--green-line); border-radius: var(--r-card);
    background: linear-gradient(180deg, rgba(14, 122, 79, .08), rgba(247, 181, 0, .08));
}
.advertising-summary strong { font-size: 16px; }
.advertising-summary span { color: var(--body); font-size: 14px; line-height: 1.45; }
.advertising-section { margin-bottom: 34px; }
.section-head { margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.section-head p { margin: 6px 0 0; }
.pricing-disclosure {
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.pricing-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}
.pricing-disclosure summary::-webkit-details-marker { display: none; }
.pricing-disclosure summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(45deg);
    transition: transform .15s ease;
}
.pricing-disclosure[open] summary::after { transform: rotate(225deg); }
.pricing-disclosure summary strong {
    display: block;
    font-size: 18px;
}
.pricing-disclosure summary small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.4;
}
.pricing-disclosure-body {
    display: grid;
    gap: 24px;
    padding: 0 20px 20px;
}
.advertising-price-group { min-width: 0; }
.advertising-list { display: grid; gap: 10px; }
.advertising-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px;
    border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
    box-shadow: 0 8px 24px rgba(12, 31, 23, .045);
}
.advertising-row strong { display: block; font-size: 15.5px; }
.advertising-row .muted { display: block; margin-top: 4px; font-size: 13.5px; }
.source-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.source-step {
    min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card);
    background: var(--surface); box-shadow: 0 8px 24px rgba(12, 31, 23, .045);
}
.source-step strong { display: block; margin-bottom: 8px; font-size: 15.5px; }
.source-step p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.5; }
.advertising-form-section {
    scroll-margin-top: 90px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line);
    border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.source-form-section { display: grid; gap: 24px; }
.source-form-head {
    display: grid;
    gap: 8px;
    align-items: start;
    margin-bottom: 0;
}
.source-form-head h2 {
    max-width: 16ch;
    text-wrap: balance;
}
.source-form-head p {
    max-width: 46rem;
}
.advertising-form, .source-intake-form { max-width: none; gap: 18px; }
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-field label, .form-label { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; color: var(--ink); }
.advertising-form input, .advertising-form select, .advertising-form textarea,
.source-intake-form input, .source-intake-form select, .source-intake-form textarea {
    width: 100%; min-width: 0; box-sizing: border-box;
}
.advertising-form input[type="date"], .advertising-form select {
    -webkit-appearance: none; appearance: none;
}
.advertising-form select {
    padding-right: 42px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ink) 50%),
        linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}
.advertising-form input[type="date"] { display: block; }
.advertising-form input[type="file"] {
    min-height: auto; padding: 12px 14px; line-height: 1.35; white-space: normal;
}
.consent-box {
    display: grid;
    gap: 12px;
    margin-top: 2px;
}
.consent-check {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-ui);
    background: color-mix(in srgb, var(--surface) 80%, var(--soft));
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.consent-check:has(input:checked) {
    border-color: var(--green-line);
    background: var(--green-soft);
    box-shadow: 0 8px 22px rgba(14, 122, 79, .08);
}
.consent-check input {
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    margin: 0;
    justify-self: center;
    accent-color: var(--green);
}
.consent-check span {
    display: block;
    min-width: 0;
    padding-top: 1px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.creative-options { display: grid; gap: 10px; }
.creative-option {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center;
    padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--soft);
    cursor: pointer;
}
.creative-option:has(input:checked) { border-color: var(--green-line); background: var(--green-soft); }
.creative-option input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--green); }
.creative-option strong { display: block; line-height: 1.2; }
.creative-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.pr-package-options {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pr-package-option {
    align-items: start;
}
.pr-package-option .ev-price {
    display: inline-flex;
    margin-top: 8px;
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
}
.pr-consents {
    display: grid;
    gap: 12px;
}
.pr-article-form input[type="file"] {
    background: var(--surface);
}
.ad-example-link-button {
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green);
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}
.ad-example-link-button:hover,
.ad-example-link-button:focus-visible {
    color: var(--green-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ad-preview-panel { gap: 9px; }
.ad-preview-panel .ad-card-text {
    max-width: 620px;
    min-height: 84px;
    padding: 18px 118px 18px 22px;
    box-shadow: 0 12px 30px rgba(16, 33, 26, .055);
}
.ad-preview-panel .ad-copy strong { font-size: clamp(18px, 2vw, 22px); }
.ad-preview-panel .ad-copy span { font-size: 13px; }
.ad-preview-help {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: baseline;
}
.ad-form-preview { pointer-events: none; }
.banner-preview {
    display: grid;
    gap: 10px;
    max-width: 620px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-ui);
    background: var(--soft);
}
.banner-preview img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}
.banner-preview p {
    margin: 0;
    color: var(--body);
    font-size: 13px;
    font-weight: 700;
}
.banner-preview[data-state="ok"] {
    border-color: var(--green-line);
    background: var(--green-soft);
}
.banner-preview[data-state="ok"] p { color: var(--green-deep); }
.banner-preview[data-state="warning"] {
    border-color: #e0b24f;
    background: #fff7df;
}
.banner-preview[data-state="warning"] p { color: #7a4c00; }
.advertising-submit { align-items: start; }
.advertising-submit .form-help a { color: var(--green); font-weight: 700; }
.has-modal-open { overflow: hidden; }
.ad-examples-page { max-width: 1040px; }
.ad-examples-hero { margin-bottom: 20px; }
.ad-example-shell { display: grid; gap: 18px; }
.ad-examples-dialog {
    width: min(980px, calc(100vw - 32px));
    max-height: min(88svh, 900px);
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 28px 90px rgba(12, 31, 23, .28);
    overflow: hidden;
}
.ad-examples-dialog::backdrop {
    background: rgba(12, 31, 23, .42);
    backdrop-filter: blur(4px);
}
.ad-examples-dialog-inner {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: inherit;
}
.ad-examples-dialog-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: clamp(18px, 3vw, 26px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
}
.ad-examples-dialog-head h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.08;
}
.ad-examples-dialog-head p:not(.eyebrow) {
    max-width: 62ch;
    margin: 7px 0 0;
    color: var(--body);
    line-height: 1.45;
}
.ad-examples-dialog-close {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    font-size: 28px;
    line-height: 1;
}
.ad-examples-dialog-body {
    overflow: auto;
    padding: clamp(16px, 3vw, 24px);
    overscroll-behavior: contain;
}
.ad-example-shell-modal .ad-example-tabs {
    top: 0;
    z-index: 2;
}
.ad-example-tabs {
    position: sticky; top: 82px; z-index: 8; display: flex; gap: 8px; overflow-x: auto;
    padding: 10px; border: 1px solid var(--line); border-radius: 999px;
    background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-soft);
    scrollbar-width: none;
}
.ad-example-tabs::-webkit-scrollbar { display: none; }
.ad-example-tabs a {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 7px 13px; border-radius: 999px;
    color: var(--body); font-size: 13.5px; font-weight: 800; text-decoration: none;
}
.ad-example-tabs a.active { background: var(--green); color: #fff; }
.ad-example-panel {
    scroll-margin-top: 146px; display: grid; gap: 18px; align-items: start;
    padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card);
    background: var(--surface); box-shadow: var(--shadow-soft);
}
.ad-example-panel[hidden] { display: none; }
.ad-example-copy { display: grid; gap: 7px; }
.ad-example-copy h2 { margin: 0; font-size: clamp(21px, 3vw, 28px); }
.ad-example-copy p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.55; }
.ad-example-stage {
    display: grid; gap: 14px; min-width: 0; padding: 18px;
    border: 1px solid var(--line); border-radius: var(--r-card);
    background: linear-gradient(180deg, var(--bg), #fff);
}
.ad-example-section-label { color: var(--green); font-size: 13px; font-weight: 800; }
.ad-example-card-row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ad-example-event-card {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr);
    gap: 14px; align-items: start; min-height: 148px; padding: 16px;
}
.ad-example-event-card .ev-media { grid-column: 1 / -1; height: 124px; margin: -16px -16px 4px; border-radius: var(--r-card) var(--r-card) 0 0; }
.ad-example-event-card .ev-price { grid-column: 1 / 2; align-self: end; }
.ad-example-event-card .ev-link { grid-column: 2 / 3; align-self: end; justify-self: end; color: var(--green); font-weight: 800; }
.ad-example-muted-card { opacity: .64; }
.event-badge {
    position: absolute; right: 14px; top: 14px; z-index: 1; padding: 5px 9px;
    border-radius: var(--r-tag); background: var(--gold-soft); color: var(--ink);
    font-size: 12px; font-weight: 800;
}
.ev-featured { border-color: var(--green-line); box-shadow: 0 16px 34px rgba(14, 122, 79, .11); }
.social-preview {
    display: grid; gap: 14px; max-width: 520px; padding: 18px;
    border: 1px solid var(--line); border-radius: var(--r-card);
    background: #fff; box-shadow: var(--shadow-soft);
}
.social-preview header { display: flex; gap: 10px; align-items: center; }
.social-preview header span:last-child { display: grid; gap: 2px; }
.social-preview small { color: var(--muted); font-size: 12.5px; }
.social-preview p { margin: 0; color: var(--body); line-height: 1.55; }
.social-avatar {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
    background: var(--green); color: #fff; font-weight: 900;
}
.social-preview-media {
    position: relative; display: grid; place-items: center; min-height: 190px; border-radius: var(--r-ui); overflow: hidden;
    background: linear-gradient(135deg, var(--green-soft), var(--gold-soft));
}
.social-preview-media.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.social-preview-flag { position: absolute; right: 10px; top: 10px; z-index: 1; padding: 4px 9px; border-radius: var(--r-tag); background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 800; }
.ad-example-banner-wire {
    position: relative; display: grid; place-items: center; min-height: 116px;
    border: 1px dashed var(--line-strong); border-radius: var(--r-card);
    background: repeating-linear-gradient(135deg, #fff, #fff 12px, var(--soft) 12px, var(--soft) 24px);
    color: var(--muted); font-family: var(--mono); font-size: 13px; font-weight: 700;
}
.ad-example-notice { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- reklama ---------- */
.ad-shell { padding: 0; margin-top: clamp(34px, 5vw, 66px); margin-bottom: clamp(42px, 6vw, 76px); }
.ad-card {
    position: relative; display: flex; align-items: center; gap: 16px; width: 100%; max-width: 100%;
    min-width: 0; overflow: hidden; border: 0; border-radius: calc(var(--r-card) + 2px);
    background: var(--surface); box-shadow: 0 18px 46px rgba(16, 33, 26, .06);
}
.ad-card-image { background: transparent; box-shadow: none; }
.ad-card img {
    display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain;
    border-radius: inherit;
}
.ad-card-adsense {
    align-items: stretch; justify-content: center; min-height: min(var(--ad-height, 90px), 260px);
    padding: 0; border: 1px solid rgba(217, 222, 211, .72); background: rgba(255, 255, 255, .72);
}
.ad-card-adsense .adsbygoogle {
    display: block; width: 100%; min-height: min(var(--ad-height, 90px), 260px);
}
.ad-noscript {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: min(var(--ad-height, 90px), 260px);
    padding: 18px; color: var(--muted); font-size: 13px; text-align: center;
}
.ad-card-text {
    justify-content: space-between; min-height: 96px; padding: 22px 136px 22px 28px;
    background:
        radial-gradient(circle at 90% 48%, rgba(247, 181, 0, .13), transparent 28%),
        linear-gradient(90deg, var(--green), var(--green) 10px, #f5efdf 10px, #f5efdf);
}
.ad-copy { display: grid; gap: 3px; min-width: 0; }
.ad-copy strong { font-size: clamp(17px, 2.2vw, 22px); line-height: 1.08; overflow-wrap: anywhere; }
.ad-copy span { color: var(--body); font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; }
.ad-cta {
    flex: 0 0 auto; padding: 8px 12px; border-radius: var(--r-ui); background: var(--green);
    color: #fff; font-size: 13.5px; font-weight: 800; white-space: nowrap;
}
.ad-label {
    position: absolute; right: 10px; top: 10px; z-index: 1; padding: 5px 9px;
    border: 1px solid rgba(217, 222, 211, .72); border-radius: var(--r-tag); background: rgba(255, 255, 255, .94);
    color: var(--body); font-size: 12px; font-weight: 700;
}
.ad-slot-footer {
    max-width: min(100%, 1180px);
    margin-inline: auto;
}

.skeleton { position: relative; overflow: hidden; background: var(--soft); border-radius: var(--r-ui); min-height: 14px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: shimmer 1.4s infinite; }

@keyframes shimmer { to { transform: translateX(100%); } }

.wave { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .ts-viewport.is-overflowing .ts-items { animation: none !important; transform: none !important; }
}

/* ---------- responsivita ---------- */
@media (min-width: 520px) {
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
    .legal-consent-panel { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; }
    .search-row { grid-template-columns: minmax(0, 1fr) 118px; }
    .listing-top { grid-template-columns: minmax(0, 1fr) auto; }
    .filter-primary-row { grid-template-columns: minmax(380px, .86fr) minmax(460px, 1fr); }
    .filter-advanced-row { grid-template-columns: minmax(0, 1fr); }
    .filter-select-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 340px)); align-items: end; }
    .filter-toggle { display: none; }
    .calendar-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); }
    .calendar-workspace { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
    .calendar-filters { position: sticky; top: 86px; }
    .calendar-day { grid-template-columns: 112px minmax(0, 1fr); }
    .calendar-event { grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; }
    .advertising-hero { grid-template-columns: minmax(0, 1fr) 270px; align-items: center; }
    .advertising-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .advertising-form .form-field-wide { grid-column: 1 / -1; }
    .ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .organizer-panel { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
    .newsletter { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: center; }
    .newsletter form { grid-template-columns: 1fr auto; }
    .detail-grid { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr); }
    .detail-aside { position: sticky; top: 86px; align-self: start; }
    .know-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-shell { grid-template-columns: minmax(240px, .75fr) minmax(0, 1.7fr); align-items: start; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
    .footer-shell { grid-template-columns: minmax(280px, .85fr) minmax(0, 1.65fr); }
    .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 759px) {
    .shell { width: min(100% - 32px, 1360px); }
    .site-footer { padding-bottom: 34px; }
    .footer-shell { gap: 24px; }
    .footer-nav { grid-template-columns: 1fr; gap: 0; }
    .footer-column { padding: 16px 0; border-top: 1px solid var(--line); }
    .footer-column h2 { margin-bottom: 8px; }
    .footer-column a { font-size: 15px; }
    .footer-bottom { padding-top: 16px; }
    .site-header-inner { gap: 10px; min-height: 66px; }
    .site-header-inner > a:first-child { flex: 0 1 auto; min-width: 0; }
    .site-header-inner > a:first-child img { max-width: 150px; height: auto; }
    .site-nav { display: none; }
    .header-actions { gap: 8px; flex: 0 0 auto; }
    .header-actions .desktop-submit { display: none; }
    .header-actions .mobile-submit {
        display: inline-flex;
        min-height: 38px;
        padding: 6px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    .menu-toggle { display: inline-flex; }
    .mobile-menu:not([hidden]) { display: block; }
    .section { padding: 46px 0; }
    .section + .section, .ad-shell + .section { padding-top: 30px; }
    .ad-shell {
        width: min(100% - 32px, 1360px);
        margin: clamp(30px, 9vw, 48px) auto clamp(38px, 10vw, 58px);
    }
    .ad-card { border-radius: 14px; }
    .ad-card-image {
        min-height: 72px;
        background: var(--green);
    }
    .ad-card-image img {
        width: 100%;
        height: clamp(72px, 17vw, 92px);
        object-fit: cover;
        object-position: center;
    }
    .ad-slot-footer.ad-card-image img {
        height: clamp(76px, 18vw, 96px);
        object-position: left center;
    }
    .ad-card-text {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        min-height: 0;
        padding: 18px 18px 16px;
    }
    .ad-card-text .ad-copy { padding-right: 76px; }
    .ad-copy strong { font-size: clamp(17px, 5vw, 21px); line-height: 1.14; }
    .ad-copy span { font-size: 13px; }
    .ad-cta {
        justify-self: start;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
    .ad-label {
        right: 8px;
        top: 8px;
        padding: 4px 8px;
        font-size: 11.5px;
    }
    .carousel-wrap::after { right: 0; top: 0; bottom: 18px; width: 34px; }
    .carousel { padding: 10px 2px 24px; margin: 0; gap: 12px; }
    .carousel .ev { width: min(330px, calc(100vw - 52px)); }
    .hero { padding: 34px 0 28px; }
    .hero-copy { max-width: 100%; }
    .hero-copy h1 { font-size: clamp(34px, 10vw, 44px); }
    .hero-copy .lead { font-size: 16px; }
    .search-box { margin-top: 22px; padding: 10px; border-radius: 14px; }
    .search-command-head { align-items: flex-start; flex-direction: column; gap: 7px; }
    .search-mode { font-size: 12px; }
    .search-row { grid-template-columns: 1fr; }
    .search-icon { top: 27px; }
    .search-row input { min-height: 54px; font-size: 16px; }
    .search-row .btn { width: 100%; min-height: 48px; }
    .search-help { font-size: 12px; }
    .sugg { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
    .sugg::-webkit-scrollbar { display: none; }
    .sugg a { flex: 0 0 auto; white-space: nowrap; }
    .hero-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
    .hero-chips::-webkit-scrollbar { display: none; }
    .today-strip { border-bottom-width: 2px; }
    .ts-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; min-height: 0; padding: 12px 0; }
    .ts-label { font-size: 14px; }
    .ts-viewport {
        grid-column: 1 / -1; grid-row: 2; overflow-x: auto; mask-image: none;
        border-inline: 0; scrollbar-width: none;
    }
    .ts-viewport::-webkit-scrollbar { display: none; }
    .ts-viewport.is-overflowing .ts-items { animation: none; }
    .ts-items { gap: 18px; min-width: max-content; padding-inline: 0; }
    .ts-item { font-size: 13.5px; }
    .ts-venue { display: none; }
    .calendar-hero { padding: 24px 0 14px; }
    .calendar-hero-grid { gap: 14px; }
    .calendar-hero h1 { margin-top: 8px; font-size: clamp(34px, 10vw, 48px); }
    .calendar-filter-shell { width: min(100% - 24px, 1360px); }
    .calendar-workspace { width: min(100% - 24px, 1140px); padding-top: 12px; }
    .discovery-filter { gap: 12px; padding: 12px; border-radius: 18px; }
    .filter-primary-row { gap: 12px; }
    .filter-advanced-row {
        display: none;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }
    .filter-toggle-control:checked ~ .filter-advanced-row { display: grid; }
    .filter-select-grid { gap: 8px; }
    .discovery-search label, .filter-block strong, .filter-select-grid label span { font-size: 12.5px; }
    .discovery-search input[type="search"], .filter-select-grid select { min-height: 50px; font-size: 14.5px; }
    .filter-quick .chip-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .filter-quick .chip-row::-webkit-scrollbar { display: none; }
    .filter-quick .chip { flex: 0 0 auto; min-height: 44px; padding-inline: 14px; scroll-snap-align: start; }
    .calendar-search-row { grid-template-columns: 1fr; }
    .calendar-search-row .btn { width: 100%; min-height: 48px; }
    .saved-reminder-note { align-items: flex-start; flex-direction: column; gap: 4px; }
    .calendar-check {
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid var(--line);
        border-radius: var(--r-ui);
        background: var(--bg);
    }
    .month-rail { gap: 7px; }
    .month-rail .icon-btn { min-width: 38px; }
    .month-rail .arrow-btn { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
    .calendar-days { gap: 22px; }
    .calendar-day { gap: 10px; }
    .day-stamp {
        position: static; display: flex; justify-content: flex-start; align-items: baseline;
        min-height: 0; gap: 7px; padding: 10px 12px;
    }
    .day-number { font-size: 24px; }
    .day-stamp strong { margin-left: auto; }
    .calendar-event { gap: 10px; }
    .advertising-page, .source-intake-page, .pr-article-page { padding-top: 22px; overflow: hidden; }
    .advertising-hero, .advertising-form-section { padding: 20px; overflow: hidden; }
    .source-form-section { gap: 18px; }
    .source-form-head {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .source-form-head h2 { max-width: 100%; }
    .source-form-head p { margin-top: 6px; }
    .advertising-actions .btn { width: 100%; }
    .advertising-row { align-items: flex-start; flex-direction: column; gap: 10px; }
    .advertising-row .ev-price { white-space: normal; }
    .source-steps { grid-template-columns: 1fr; }
    .ad-card-text {
        align-items: flex-start; flex-direction: column; gap: 10px; min-height: 0;
        padding: 18px 82px 18px 20px;
    }
    .ad-preview-panel .ad-card-text {
        max-width: 100%;
        min-height: 0;
        padding: 16px 76px 16px 18px;
    }
    .ad-preview-help { display: grid; gap: 8px; }
    .ad-cta { white-space: normal; }
    .ad-label { right: 8px; top: 8px; }
    .detail-media img { height: clamp(190px, 54vw, 260px); }
    .event-actions .btn { flex: 1 1 auto; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .detail-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
    .detail-actions .btn { grid-column: 1 / -1; width: 100%; }
    .detail-actions .detail-icon-action {
        flex-direction: column;
        width: 100%;
        min-width: 0;
        min-height: 76px;
        padding: 11px 6px 9px;
        gap: 7px;
        aspect-ratio: auto;
        border-radius: 14px;
        color: var(--ink);
        font-size: clamp(11px, 2.8vw, 12px);
        font-weight: 800;
        line-height: 1.1;
        text-align: center;
    }
    .detail-actions .detail-icon-action .ic { width: 23px; height: 23px; color: var(--green-deep); }
    .detail-actions .detail-icon-action .action-label {
        position: static;
        display: block;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
        border: 0;
    }
    .detail-icon-action::after { display: none; }
    .promo-choice { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; }
    .promo-choice .ev-price { grid-column: 2; white-space: nowrap; justify-self: start; margin-left: 0; }
    .promo-choice-title { min-width: 0; }
    .promo-extra-options { grid-template-columns: 1fr; }
    .repeater-head { flex-direction: column; gap: 8px; }
    .repeater-add { width: 100%; }
    .repeater-row { grid-template-columns: 1fr; }
    .repeater-remove { width: fit-content; min-height: 38px; }
    .info-pop[open] > span { left: auto; right: 0; width: min(300px, calc(100vw - 36px)); }
    .facebook-schedule { margin-left: 0; }
    .facebook-schedule-grid { grid-template-columns: 1fr; }
    .consent-check {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 12px;
        padding: 13px 14px;
    }
    .check {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 12px;
        padding: 11px 0;
    }
    .check input,
    .consent-check input {
        width: 20px;
        min-width: 20px;
        height: 20px;
        min-height: 20px;
    }
    .consent-check span { font-size: 14px; }
    .ad-example-tabs { top: 72px; border-radius: var(--r-card); }
    .ad-example-panel { padding: 18px; scroll-margin-top: 132px; }
    .ad-example-stage { padding: 14px; }
    .ad-examples-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100svh - 20px);
        border-radius: 18px;
    }
    .ad-examples-dialog-head {
        gap: 12px;
        padding: 16px;
    }
    .ad-examples-dialog-body { padding: 14px; }
    .ad-example-shell-modal .ad-example-tabs { border-radius: var(--r-card); }
    .ad-example-card-row { grid-template-columns: 1fr; }
    .ad-example-event-card { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
    .ad-example-event-card .ev-price { grid-column: 1 / -1; }
    .ad-example-event-card .ev-link { grid-column: 1 / -1; justify-self: start; }
    .social-preview-media { min-height: 150px; }
    .consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        max-height: calc(100svh - 20px);
        overflow: auto;
        padding: 14px;
    }
    .consent-head strong { font-size: 18px; }
    .consent-head p { font-size: 13.5px; }
    .consent-options { grid-template-columns: 1fr; gap: 8px; }
    .consent-option { min-height: 0; padding: 12px; }
    .consent-actions { display: grid; grid-template-columns: 1fr; }
    .consent-actions .btn { width: 100%; justify-content: center; }
.legal-consent-panel { padding: 16px; }
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 24px 0 34px;
}

.stat-card {
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    padding: 16px;
    box-shadow: var(--shadow-soft);
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-card strong {
    color: var(--ink);
    font-size: 32px;
    line-height: 1;
}

.dashboard-section {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.section-heading-row h2,
.dashboard-section h2 {
    margin-bottom: 6px;
}

.dashboard-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-actions,
.dashboard-source-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.dashboard-source-metrics span {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    white-space: nowrap;
}

.dashboard-source-metrics .warning {
    border-color: #e2b8a7;
    color: #9f3b1f;
}

.organizer-profile-head,
.venue-profile-head {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 20px 0 14px;
}

.organizer-profile-actions,
.venue-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

@media (max-width: 700px) {
    .section-heading-row,
    .dashboard-list-item,
    .organizer-profile-head,
    .venue-profile-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-actions,
    .dashboard-source-metrics,
    .organizer-profile-actions,
    .venue-profile-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .site-header-inner > a:first-child img { max-width: 132px; }
    .mobile-submit { padding-inline: 10px; font-size: 12.5px; }
    .menu-toggle { padding-inline: 11px; }
    .menu-toggle .mt-label { display: none; }
}
