/* Spoločenstvo kresťanov – vzhľad webu */
:root {
  --bg: #faf7f2;
  --paper: #fffdf9;
  --ink: #2b2622;
  --muted: #6b5f52;
  --line: #e7ddcf;
  --soft: #f3ece1;
  --accent: #8a2c2c;
  --accent-dark: #6f2121;
  --gold: #a8844c;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1140px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .05), 0 6px 22px rgba(60, 40, 20, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.25; color: var(--ink); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: clamp(40px, 7vw, 84px) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.eyebrow { font: 600 .74rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more::after { content: " →"; }

/* tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-light { background: rgba(255,255,255,.92); border-color: transparent; color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--accent); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }

/* pásik vývojovej verzie */
.dev-ribbon { background: #f5b400; color: #000; text-align: center; font: 700 12px/1.3 var(--sans); padding: 6px; letter-spacing: .04em; }
.dev-ribbon a { color: #000; }

/* hlavička */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; margin-right: auto; }
.brand img { max-height: 54px; width: auto; }
.brand-name { font: 500 1.35rem/1.15 var(--serif); letter-spacing: .01em; }
.brand-tag { font: italic .82rem/1.3 var(--serif); color: var(--muted); }
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: var(--soft); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .2s, opacity .2s; }

/* prepínač jazyka */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font: 600 .8rem/1 var(--sans); letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; min-width: 190px; z-index: 40; }
.lang-menu a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.lang-menu a b { width: 26px; color: var(--muted); font-size: .78rem; letter-spacing: .05em; padding-top: 2px; }
.lang-menu a:hover, .lang-menu a.active { background: var(--soft); }

/* úvod (hero) */
.hero { position: relative; color: #fff; background: #3b2a24 linear-gradient(135deg, #4a2b26 0%, #2e2522 55%, #3c3328 100%); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,12,.25) 0%, rgba(20,14,12,.55) 100%); }
.hero-inner { position: relative; z-index: 1; padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 110px); text-align: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.8rem); margin-bottom: .15em; }
.hero-tag { font: italic clamp(1.05rem, 2.2vw, 1.35rem)/1.4 var(--serif); opacity: .9; margin-bottom: 30px; }
.hero-motto { max-width: 760px; margin: 0 auto 34px; font: clamp(1rem, 2vw, 1.18rem)/1.7 var(--serif); opacity: .95; }
.hero-motto cite { display: block; margin-top: 10px; font: italic .9rem var(--serif); opacity: .8; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cross { display: block; width: 26px; height: 34px; margin: 0 auto 18px; opacity: .85; }

/* úvod – o nás + udalosti */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead { font: clamp(1.08rem, 1.8vw, 1.22rem)/1.75 var(--serif); }

/* udalosti */
.event-list { display: flex; flex-direction: column; gap: 12px; }
.event-item { display: flex; gap: 16px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.event-item:hover { border-color: #d6c4ad; box-shadow: var(--shadow); color: inherit; }
.date-badge { flex: 0 0 64px; height: 68px; border-radius: 8px; background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.date-badge .d { font: 600 1.55rem/1 var(--serif); color: var(--accent); }
.date-badge .m { font: 600 .68rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.event-item h3 { font-size: 1.08rem; margin: 0 0 4px; }
.event-meta { font-size: .87rem; color: var(--muted); line-height: 1.5; }
.event-meta span { display: block; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--muted); text-decoration: none; }
.tag i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.empty { padding: 26px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }

/* bloky (činnosť) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--soft); }
.card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.card-body .link-more { margin-top: auto; padding-top: 12px; font-size: .9rem; }

/* učenie */
.teaching { text-align: center; }
.teaching .ornament { color: var(--gold); letter-spacing: .5em; margin-bottom: 14px; }
.teaching-text { font: clamp(1.06rem, 1.8vw, 1.2rem)/1.8 var(--serif); }

/* články */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card .card-img { aspect-ratio: 16 / 9; }
.post-card .card-body { padding: 18px 20px 20px; }
.post-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; letter-spacing: .02em; }
.post-meta a { color: var(--muted); }
.post-list { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.post-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.post-list a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.05rem; }
.post-list a:hover { color: var(--accent); }
.post-list time { color: var(--muted); font-size: .85rem; white-space: nowrap; }

.layout-side { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.side-box h3 { font-size: 1.05rem; margin-bottom: 10px; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.side-links li a:hover, .side-links li a.active { color: var(--accent); }
.side-links ul { list-style: none; padding-left: 14px; margin: 0; }
.side-links .count { color: var(--muted); font-size: .8rem; }
.search-form { display: flex; gap: 6px; }

/* článok / stránka / udalosť */
.page-head { padding: clamp(36px, 6vw, 64px) 0 clamp(18px, 3vw, 28px); }
.page-head .lead { color: var(--muted); }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.prose { font: 1.08rem/1.8 var(--serif); }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.28rem; margin-top: 1.4em; }
.prose h4, .prose h5, .prose h6 { font-size: 1.1rem; margin-top: 1.2em; }
.prose img { border-radius: 6px; display: block; margin: 1.2em auto; }
.prose figure { margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--gold); color: var(--muted); font-style: italic; }
.prose hr { border: 0; text-align: center; margin: 2em 0; }
.prose hr::after { content: "✦ ✦ ✦"; color: var(--gold); letter-spacing: .6em; font-size: .8rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-family: var(--sans); font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose .button-link a { display: inline-block; padding: 9px 18px; border: 1px solid var(--accent); border-radius: 999px; text-decoration: none; font: 600 .92rem var(--sans); }
.prose .button-link a:hover { background: var(--accent); color: #fff; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 1.4em 0; }
.prose .gallery img { margin: 0; aspect-ratio: 1; object-fit: cover; width: 100%; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }
.article-cover { border-radius: var(--radius); margin-bottom: 26px; width: 100%; max-height: 520px; object-fit: cover; }
.downloads { margin: 28px 0; padding: 18px 20px; background: var(--soft); border-radius: var(--radius); }
.downloads h3 { font-size: 1.05rem; }
.downloads ul { margin: 0; padding-left: 20px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.prev-next a { text-decoration: none; color: var(--ink); font-family: var(--serif); }
.prev-next small { display: block; color: var(--muted); font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.prev-next .next { text-align: right; }

.event-facts { display: grid; gap: 12px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; }
.fact { display: flex; gap: 12px; align-items: flex-start; }
.fact svg { flex: 0 0 20px; margin-top: 3px; color: var(--accent); }
.fact strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.event-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.past-note { background: var(--soft); padding: 10px 14px; border-radius: 8px; font-size: .92rem; margin-bottom: 18px; }

/* kalendár */
.cal-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 22px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.seg a { padding: 8px 16px; text-decoration: none; color: var(--ink); font-size: .9rem; }
.seg a.active { background: var(--accent); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.chip { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; }
.chip.active { border-color: var(--accent); color: var(--accent); background: var(--soft); }
.month-title { font-family: var(--serif); font-size: 1.35rem; margin: 30px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.month-title:first-child { margin-top: 0; }
.month-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.month-nav h2 { margin: 0; font-size: 1.5rem; min-width: 200px; text-align: center; }
.month-nav a { text-decoration: none; font-size: 1.4rem; padding: 2px 10px; border-radius: 6px; }
.month-nav a:hover { background: var(--soft); }
.grid-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
.grid-cal .dow { background: var(--soft); padding: 8px; font: 600 .75rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; }
.grid-cal .day { background: var(--paper); min-height: 104px; padding: 6px; font-size: .8rem; min-width: 0; }
.grid-cal .day.out { background: #f7f2ea; color: #b3a593; }
.grid-cal .day.today .num { background: var(--accent); color: #fff; }
.grid-cal .num { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; font-weight: 600; margin-bottom: 3px; }
.grid-cal .ev { display: block; padding: 3px 6px; margin-bottom: 3px; border-radius: 4px; background: var(--soft); border-left: 3px solid var(--accent); color: var(--ink); text-decoration: none; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid-cal .ev:hover { background: #ecdfcc; }
.subscribe-cal { margin-top: 30px; font-size: .9rem; color: var(--muted); }

/* formuláre */
.form { display: grid; gap: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 5px; }
.field input, .field textarea, .input { width: 100%; padding: 11px 14px; border: 1px solid #d9ccb9; border-radius: 8px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.field input:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138, 44, 44, .12); }
.field textarea { min-height: 160px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.errors { background: #fbeaea; border: 1px solid #e7b9b9; color: #7a1f1f; border-radius: 8px; padding: 10px 14px; font-size: .92rem; }
.errors ul { margin: 0; padding-left: 18px; }
.flash { padding: 12px 16px; border-radius: 8px; margin: 18px 0; font-size: .95rem; }
.flash-success { background: #e9f4ea; border: 1px solid #b8d8bb; color: #23512a; }
.flash-error { background: #fbeaea; border: 1px solid #e7b9b9; color: #7a1f1f; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }

/* rozosielka */
.newsletter-band { background: var(--accent); color: #fff; }
.newsletter-band h2 { color: #fff; margin-bottom: 6px; }
.newsletter-band .muted { color: rgba(255,255,255,.82); }
.newsletter-band .check { color: rgba(255,255,255,.85); }
.newsletter-band .check a { color: #fff; }
.newsletter-band .check input { accent-color: #fff; }
.nl-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.nl-form { display: grid; gap: 10px; }
.nl-row { display: flex; gap: 8px; }
.nl-row .input { flex: 1; border-color: transparent; }
.newsletter-band .btn { background: #fff; color: var(--accent); border-color: #fff; }
.newsletter-band .btn:hover { background: var(--soft); }
.newsletter-band .flash-success { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.newsletter-band .errors { background: rgba(255,255,255,.92); }
.status-box { max-width: 560px; margin: 0 auto; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; }
.status-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--soft); color: var(--accent); font-size: 1.7rem; }

/* stránkovanie */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-size: .92rem; }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination .disabled { opacity: .45; }

/* päta */
.site-footer { background: #2b2420; color: #d8cdbf; padding: 56px 0 26px; font-size: .93rem; }
.site-footer a { color: #f1e7da; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand { font: 500 1.3rem var(--serif); color: #fff; margin-bottom: 4px; }
.site-footer h4 { color: #fff; font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.copyright { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #a99b8a; }

/* mobil */
@media (max-width: 960px) {
  .layout-side, .intro-grid, .contact-grid, .nl-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; order: 3; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: var(--shadow); }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 1.05rem; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header-row { min-height: 64px; gap: 10px; }
  .brand-name { font-size: 1.12rem; }
  .brand-tag { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .posts-grid, .row2, .footer-grid, .prev-next { grid-template-columns: 1fr; }
  .prev-next .next { text-align: left; }
  .nl-row { flex-direction: column; }
  .grid-cal { grid-template-columns: 1fr; background: none; border: 0; gap: 6px; }
  .grid-cal .dow, .grid-cal .day.out, .grid-cal .day.empty-day { display: none; }
  .grid-cal .day { min-height: 0; border: 1px solid var(--line); border-radius: 8px; display: flex; gap: 10px; align-items: flex-start; }
  .grid-cal .ev { white-space: normal; }
  .month-nav h2 { min-width: 0; font-size: 1.25rem; }
  .post-list li { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .newsletter-band, .dev-ribbon, .fb-ui { display: none !important; } body { background: #fff; } }

/* obsah z blokov (udalosti) */
.prose .block-button { margin: 1.4em 0; }
.prose .block-button .btn { text-decoration: none; font-family: var(--sans); }
.prose .block-image { margin: 1.4em 0; text-align: center; }
.prose .block-image img { margin: 0 auto; max-width: 100%; height: auto; }
.prose .block-image figcaption { font: .9rem var(--sans); color: var(--muted); margin-top: 6px; }
.prose .block-attachment { font-family: var(--sans); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.prose .block-attachment a { font-weight: 600; text-decoration: none; }
.prose .block-attachment span { color: var(--muted); font-size: .92rem; }
.prose .block-embed { margin: 1.2em 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
.prose .block-embed h3 { margin-top: 0; }
.prose .block-embed img { margin: 0; border-radius: 0; }
