:root {
  --red: #cc0000;
  --red-dark: #a90000;
  --ink: #1c252b;
  --blue: #39576a;
  --muted: #5d6972;
  --surface: #f5f7f9;
  --line: #dbe2e7;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; }
h3 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 64px)); }
.icon { width: 24px; height: 24px; flex: none; stroke-width: 1.6; }
.icon-sm { width: 19px; height: 19px; }
.icon-xs { width: 16px; height: 16px; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; background: #fff; padding: 12px; color: var(--red); }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid #1c6db2; outline-offset: 4px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; margin: 0 0 10px; color: var(--red); text-transform: uppercase; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 5px;
  padding: 12px 20px; min-height: 48px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.35;
  text-align: center; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-block { width: 100%; }
.btn-outline { border-color: rgba(255, 255, 255, .85); background: transparent; color: #fff; }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-line { background: #fff; color: var(--red); border-color: var(--line); }
.btn-line:hover { background: #fff1f1; color: var(--red); border-color: var(--red); }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #eee; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.logo { display: block; color: var(--red); line-height: 0; margin-right: auto; }
.logo-svg { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; font-weight: 500; line-height: 1.3; padding: 12px 0; }
.nav a.active { color: var(--red); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; }
.header-phone { font-size: 22px; font-weight: 700; color: var(--red); white-space: nowrap; margin-left: 12px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line);
  border-radius: 4px; width: 49px; height: 49px; padding: 0; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }

/* Hero */
.hero { position: relative; background: #47677c; isolation: isolate; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(37, 67, 86, .92) 0%, rgba(42, 75, 94, .84) 30%, rgba(48, 82, 102, .25) 65%, rgba(26, 47, 62, .05) 100%);
}
.hero-inner { padding-top: 46px; padding-bottom: 46px; color: #fff; min-height: 330px; }
.hero .eyebrow { color: #e6eff5; }
.hero h1 { color: #fff; font-size: clamp(32px, 3.15vw, 45px); line-height: 1.13; letter-spacing: -.025em; margin-bottom: 17px; max-width: 740px; }
.hero-subtitle { font-size: 17px; line-height: 1.6; color: #f5f7fa; margin-bottom: 23px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sekce */
.section { padding: 42px 0; }
.services { background: var(--surface); }
.section-heading { text-align: center; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin-bottom: 7px; }
.section-heading p:last-child { color: var(--muted); margin-bottom: 0; }

/* Služby */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card {
  display: flex; align-items: center; gap: 17px; padding: 22px 17px; min-height: 101px;
  background: #fff; border: 1px solid #e6eaee; border-radius: var(--radius); box-shadow: 0 3px 9px #25394b06;
  transition: border-color .15s, background .15s;
}
.service-card:hover { color: inherit; border-color: #c5d3db; background: #fafcfe; }
.service-icon { width: 43px; height: 43px; color: var(--blue); stroke-width: 1.25; }
.service-text { min-width: 0; }
.service-text strong { display: block; font-size: 16px; line-height: 1.35; margin-bottom: 4px; }
.service-text span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }
.service-arrow { margin-left: auto; color: #69808e; }
.service-card:hover .service-arrow { color: var(--red); }
.additional-services { text-align: center; color: var(--muted); font-size: 14px; margin: 20px 0 0; }
.additional-services a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Pojízdná dílna */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 7px 15px 7px 11px;
  background: #fff; color: var(--red); border-radius: 5px; font-size: 15px; font-weight: 700; line-height: 1.3;
  box-shadow: 0 4px 14px #0000002a;
}
.hero-badge .icon { width: 26px; height: 26px; stroke-width: 2.6; }
.hero-badge:hover { color: var(--red-dark); }
.page-badge { box-shadow: none; border: 1px solid var(--line); margin-bottom: 12px; }
.dilna { background: linear-gradient(120deg, #2b4b60 0%, #39576a 60%, #45677c 100%); color: #fff; scroll-margin-top: 90px; }
.dilna-summary { display: flex; align-items: center; gap: 22px; padding: 26px 0; cursor: pointer; list-style: none; }
.dilna-summary::-webkit-details-marker { display: none; }
.dilna-badge { display: grid; place-items: center; flex: none; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--red); }
.dilna-badge .icon { width: 40px; height: 40px; stroke-width: 2; }
.dilna-head { display: block; min-width: 0; }
.dilna-head .eyebrow { display: block; margin-bottom: 2px; }
.dilna-title { display: block; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.dilna-sub { display: block; color: #dce6ed; margin-top: 3px; }
.dilna-toggle {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 5px; font-weight: 700; white-space: nowrap;
}
.dilna-toggle::after { content: '+'; font-size: 22px; line-height: 1; font-weight: 400; }
.dilna-details[open] .dilna-toggle::after { content: '−'; }
.dilna-details .when-open, .dilna-details[open] .when-closed { display: none; }
.dilna-details[open] .when-open { display: inline; }
.dilna-summary:hover .dilna-toggle { background: #fff; color: var(--ink); }
.dilna-details[open] .dilna-grid { padding: 6px 0 46px; }
.dilna-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.dilna .eyebrow { color: #ffd2d2; }
.dilna-lead { font-size: 17px; color: #eef3f7; max-width: 640px; margin-bottom: 24px; }
.dilna-steps { list-style: none; counter-reset: krok; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dilna-steps li { counter-increment: krok; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 16px; }
.dilna-steps li::before {
  content: counter(krok); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px;
  background: var(--red); border-radius: 50%; font-weight: 700; font-size: 15px;
}
.dilna-steps strong { display: block; font-size: 16px; line-height: 1.3; margin-bottom: 5px; }
.dilna-steps span { display: block; font-size: 14px; line-height: 1.5; color: #dce6ed; }
.dilna .footnote { font-size: 12px; color: #c9d6df; margin: 14px 0 0; }
.dilna-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 30px #0000002e; }
.dilna-card-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.dilna-card p:not(.dilna-card-title) { color: var(--muted); margin-bottom: 16px; }
.dilna-areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dilna-areas li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 700; }

/* O nás */
.about { padding: 54px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy > p:not(.eyebrow) { color: var(--muted); max-width: 560px; margin-bottom: 14px; }
.about-copy .footnote { font-size: 12px; line-height: 1.6; }
.text-link { display: inline-block; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 5px; padding: 5px 0; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photos figure { margin: 0; min-width: 0; }
.about-photos img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.about-photos figcaption { font-size: 13px; color: var(--muted); line-height: 1.5; padding-top: 8px; }

/* FAQ */
.faq-section { background: var(--surface); border-top: 1px solid var(--line); }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid #e6eaee; border-radius: var(--radius); }
.faq details[open] { border-color: #c5d3db; }
.faq summary {
  list-style: none; cursor: pointer; padding: 17px 52px 17px 20px; position: relative; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 23px; font-weight: 400; color: #69808e; }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { background: #fafcfe; }
.faq details p { padding: 14px 20px 18px; margin: 0; color: var(--muted); border-top: 1px solid var(--line); }

/* Kontakt a poptávka */
.contact { background: #fff; border-top: 1px solid var(--line); padding: 54px 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-info > p { max-width: 440px; color: var(--muted); }
.contact-row { display: flex; align-items: center; gap: 18px; padding: 11px 0; }
.contact-row .icon { color: var(--red); width: 25px; height: 25px; }
.contact-row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-bottom: 2px; }
.contact-row strong { font-size: 17px; line-height: 1.5; }
.primary-contact strong { font-size: 28px; letter-spacing: .01em; color: var(--red); }
.map { display: block; margin-top: 22px; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); max-width: 460px; }
.map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map span {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--red); font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 5px; border: 1px solid var(--line);
}
.small-note { font-size: 13px; line-height: 1.5; margin-top: 15px; color: var(--muted); }
.enquiry-panel { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 110px; box-shadow: 0 3px 14px #25394b0d; }
.enquiry-panel h3 { font-size: 25px; }
.panel-intro { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.enquiry-panel form { display: grid; gap: 16px; }
.enquiry-panel label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.enquiry-panel small { font-weight: 400; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
  width: 100%; font: inherit; background: #fff; border: 1px solid #bbc7cf; border-radius: 4px;
  padding: 11px 12px; min-height: 46px; color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.5;
}
textarea { resize: vertical; display: block; }
input::placeholder, textarea::placeholder { color: #697783; font-size: 14px; }
[aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 0; color: var(--red); font-size: 14px; font-weight: 700; }
.file {
  display: flex !important; align-items: center; gap: 14px; flex-wrap: wrap; position: relative;
  padding: 12px; border: 1px dashed #bbc7cf; border-radius: 4px; cursor: pointer; background: var(--surface);
}
.file:hover { border-color: var(--blue); }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.file-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.file-btn .icon { color: var(--blue); }
.file-name { font-weight: 400; color: var(--muted); font-size: 14px; }
.hp { position: absolute; left: -9999px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-done a { color: var(--red); font-weight: 700; }

/* Podstránka služby */
.page-head { background: var(--surface); padding: 22px 0 40px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { margin: 0 6px; }
.page-head-inner { display: flex; gap: 24px; align-items: flex-start; }
.page-head-inner > .icon { width: 56px; height: 56px; color: var(--blue); stroke-width: 1.25; margin-top: 4px; }
.page-head h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.lead { font-size: 17px; color: var(--muted); max-width: 680px; }
.page-head .hero-actions { margin-top: 22px; }
.page-head-inner.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: center; }
.page-head-photo { position: relative; margin: 0; }
.page-head-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 10px 30px #25394b1f; }
.page-head-photo.illu img { box-shadow: none; object-fit: contain; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.prose h2 { font-size: 24px; margin: 34px 0 12px; }
.prose > h2:first-child, .prose figure + h2 { margin-top: 0; }
.prose p { color: #3c4850; }
.prose p a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 0 0 34px; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.prose .faq { margin-top: 4px; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks .icon { color: var(--red); margin-top: 3px; }
.aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card h2 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; letter-spacing: 0; }
.aside-card h2 .icon { color: var(--red); }
.aside-card ul { margin: 0 0 18px; padding-left: 20px; font-size: 15px; color: #3c4850; }
.aside-card li { margin-bottom: 4px; }
.aside-or { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.aside-or a { color: var(--red); font-weight: 700; }
.aside-plain { background: var(--surface); }
.aside-links { list-style: none; padding: 0 !important; margin: 0 !important; }
.aside-links li { margin-bottom: 8px; }
.aside-links a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.aside-links a:hover { color: var(--red); }
.page-contact .contact { background: var(--surface); }

/* Patička */
.site-footer { border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; padding: 22px 0 0; font-size: 14px; }
.footer-links a { color: var(--blue); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 25px; color: var(--muted); font-size: 13px; }
.footer-top { white-space: nowrap; }
.footer-inner a { text-decoration: underline; text-underline-offset: 3px; }
.mobile-bar { display: none; }

/* Tablet */
@media (max-width: 1050px) {
  .header-inner { gap: 20px; }
  .nav { gap: 20px; }
  .header-phone { font-size: 19px; margin-left: 0; }
  .service-card { gap: 12px; padding: 18px 14px; }
  .service-icon { width: 34px; height: 34px; }
  .about-grid { gap: 32px; }
  .contact-grid { gap: 35px; }
}
@media (max-width: 860px) {
  .page-head-inner.has-photo { grid-template-columns: 1fr; gap: 24px; }
  .page-head-photo { max-width: 560px; }
  .container, .narrow { width: calc(100% - 40px); }
  /* Výška řádku z paddingu, ne z min-height: při otevřeném menu (druhý řádek) by se horní řádek posunul nahoru. */
  .header-inner { min-height: 0; padding-block: 12px; gap: 18px; flex-wrap: wrap; }
  .logo-svg { width: 124px; }
  .header-phone { margin-left: auto; font-size: 18px; }
  .header-cta { display: none; }
  .logo { margin-right: 0; }
  .nav-toggle { display: flex; }
  .nav { display: none; order: 4; flex-basis: 100%; gap: 0; padding: 0; border-top: 1px solid var(--line); }
  .site-header.nav-open .nav { display: flex; flex-direction: column; align-items: stretch; }
  .site-header.nav-open .nav a { padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .nav a:last-child { border-bottom: 0; }
  .site-header.nav-open .nav a.active { background: var(--surface); }
  .site-header.nav-open { box-shadow: 0 10px 24px #00000026; }
  .site-header.nav-open::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: #1a2530a6; }
  .nav a.active::after { display: none; }
  .site-header.nav-open .icon-open { display: none; }
  .site-header.nav-open .icon-close { display: block; }
  .hero-inner { padding: 35px 0; min-height: 325px; }
  .hero-image { object-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(34, 62, 81, .94), rgba(34, 62, 81, .82) 48%, rgba(34, 62, 81, .25)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid, .article-grid, .dilna-grid { grid-template-columns: 1fr; gap: 30px; }
  .aside { position: static; }
  .section { padding: 35px 0; }
  h2 { font-size: 28px; }
}

/* Mobil */
@media (max-width: 540px) {
  html { scroll-padding-top: 92px; }
  body { padding-bottom: 60px; }
  .container, .narrow { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .logo-svg { width: 110px; }
  .header-phone { font-size: 16px; }
  .hero-inner { padding: 32px 0; min-height: 375px; }
  .hero-image { object-position: 67% center; }
  .hero::after { background: rgba(36, 63, 83, .84); }
  .hero h1, .page-head h1 { font-size: 31px; line-height: 1.16; }
  h1 br, h2 br, .hero-subtitle br { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .section-heading { text-align: left; margin-bottom: 20px; }
  .section-heading h2 { font-size: 27px; }
  .service-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card { padding: 17px 18px; min-height: 86px; gap: 17px; }
  .service-icon { width: 40px; height: 40px; }
  .additional-services { text-align: left; }
  .dilna-summary { flex-wrap: wrap; gap: 14px 16px; padding: 22px 0; }
  .dilna-badge { width: 54px; height: 54px; }
  .dilna-badge .icon { width: 32px; height: 32px; }
  .dilna-head { flex: 1; }
  .dilna-title { font-size: 24px; }
  .dilna-toggle { margin-left: 0; width: 100%; justify-content: center; }
  .dilna-details[open] .dilna-grid { padding-bottom: 34px; }
  .dilna-steps { grid-template-columns: 1fr; gap: 10px; }
  .dilna-steps li { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; padding: 14px; }
  .dilna-steps li::before { grid-row: span 2; margin: 0; }
  .dilna-card { padding: 22px 18px; }
  .hero-badge { font-size: 14px; }
  .about { padding: 35px 0; }
  .contact { padding: 35px 0; }
  .primary-contact strong { font-size: 27px; }
  .contact-row strong { font-size: 16px; overflow-wrap: anywhere; }
  .enquiry-panel { padding: 22px 18px; }
  .row2 { grid-template-columns: 1fr; }
  .page-head-inner { flex-direction: column; gap: 10px; }
  .page-head-inner > .icon { width: 44px; height: 44px; }
  .footer-links { justify-content: flex-start; flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 6px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 25;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -3px 10px #00000009; padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar .btn { border-radius: 0; min-height: 59px; border: 0; }
  /* Volání je hlavní akce (červená), poptávka druhá v modrošedé. */
  .mobile-bar .btn-call { background: var(--red); color: #fff; }
  .mobile-bar .btn-ghost { background: var(--blue); color: #fff; }
}

/* Novinky */
.notice-bar { background: #fff4d6; border-bottom: 1px solid #f0d58a; font-size: 15px; line-height: 1.45; }
.notice-bar .container { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.notice-bar .icon { color: #8a5a00; }
.notice-bar a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: auto; white-space: nowrap; }
.news-list { display: grid; gap: 16px; }
.news-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; background: #fff; border: 1px solid #e6eaee; border-radius: var(--radius); padding: 20px; scroll-margin-top: 110px; }
.news-item:not(:has(.news-photo)) { grid-template-columns: 1fr; }
.news-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.news-body time { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.news-body h2, .news-body h3 { font-size: 21px; letter-spacing: 0; margin-bottom: 8px; }
.news-text p { color: #3c4850; margin-bottom: 10px; }
.news-text p:last-child { margin-bottom: 0; }
.news-text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.news-more { text-align: center; margin: 18px 0 0; }
.news .section-heading { margin-bottom: 18px; }
.news-list:has(.news-short) { gap: 10px; }
.news-short { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 14px 16px; align-items: center; }
.news-short .news-photo img { aspect-ratio: 1; }
.news-short h3 { font-size: 17px; margin-bottom: 4px; }
.news-short h3 a:hover { color: var(--red); }
.news-short time { font-size: 13px; margin-bottom: 2px; }
.news-short p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.news-more { margin-top: 12px; }
@media (max-width: 540px) {
  .news-item { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .news-short { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 12px; align-items: start; }
  .notice-bar .container { flex-wrap: wrap; }
  .notice-bar a { margin-left: 0; }
}

/* Správa novinek */
.admin { background: var(--surface); padding-bottom: 0; }
.admin-head { background: #fff; border-bottom: 1px solid var(--line); }
.admin-head-inner { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.admin-head-inner strong { margin-right: auto; }
.admin-head-inner a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.admin-main { width: min(760px, calc(100% - 32px)); padding: 28px 0 60px; }
.admin h1 { font-size: 28px; margin: 0 0 18px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.admin-login { max-width: 400px; margin: 40px auto; display: grid; gap: 16px; }
.admin-form { display: grid; gap: 18px; }
.admin label { display: grid; gap: 6px; font-weight: 700; }
.admin label.short { max-width: 240px; }
.admin input:not([type=checkbox]):not([type=file]), .admin textarea {
  width: 100%; font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #b9c6cf; border-radius: 5px; background: #fff;
}
.admin textarea { resize: vertical; }
.admin fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; margin: 0; display: grid; gap: 10px; }
.admin legend { font-weight: 700; padding: 0 6px; }
.admin legend small, .admin .hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.admin label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.admin label.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.admin-thumb { max-width: 220px; border-radius: 5px; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.admin-bar h1 { margin: 0; }
.admin-ok { background: #e8f6ec; border: 1px solid #a8d9b5; color: #17592b; border-radius: var(--radius); padding: 12px 16px; font-weight: 700; }
.admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.admin-list li { display: flex; gap: 18px; align-items: center; }
.admin-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 5px; flex: none; }
.admin-item { display: grid; gap: 4px; min-width: 0; flex: 1; }
.admin-meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 9px; font-size: 13px; color: var(--ink); }
.tag-red { background: #fff1f1; border-color: #f2b8b8; color: var(--red); }
.admin-actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.admin-actions .btn { min-height: 40px; padding: 8px 16px; }
.admin-actions form { margin: 0; }
.link-btn { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn.danger { color: var(--red); }
.back { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 540px) {
  .admin-list li { align-items: flex-start; }
  .admin-list img { width: 72px; height: 54px; }
  .admin-bar { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.dilna-card-base { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.dilna-card-base .icon { color: var(--red); flex: none; margin-top: 2px; }
