/* ============================================================
   detskylekarkarvina.cz – Veřejný styl
   Verze 13 – Fialová & Žlutá (Update 29)
   Primární: #7B2D8B  |  CTA: #5C1A6A  |  Accent: #FFD600
   ============================================================ */

/* ── 0. Reset & Variables ──────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

address { font-style: normal; }

:root {
  /* Fialová */
  --purple:        #7B2D8B;
  --purple-dark:   #5C1A6A;
  --purple-deeper: #3D0F48;
  --purple-light:  #E8D0F0;
  --purple-xlight: #F8F0FC;

  /* Žlutá */
  --yellow:        #FFD600;
  --yellow-dark:   #CCA800;
  --yellow-deeper: #997E00;
  --yellow-light:  #FFF8C0;
  --yellow-xlight: #FFFDE8;

  /* Šedé (tónovány fialově) */
  --gray-900: #1E0830;
  --gray-800: #321050;
  --gray-600: #6A4A80;
  --gray-400: #A080B8;
  --gray-200: #DCC8EC;
  --gray-100: #F5EEFA;

  --bg:    #FAF5FF;
  --white: #FFFFFF;
  --text:  #1E0830;
  --text-2: #4A2860;
  --text-3: #8A60A0;

  --border:   #DCC8EC;
  --border-2: #EEE0F8;

  --nav-h:     68px;
  --topbar-h:  40px;
  --container: 1140px;

  /* CTA = tmavá fialová */
  --cta:       #5C1A6A;
  --cta-dark:  #3D0F48;
  --cta-light: #F0D8F8;

  --font:      'Open Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}

/* ── 1. Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; color: var(--text); }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--cta); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── 2. Container ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--narrow { max-width: 760px; }

/* ── 3. Skip link ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--text);
  color: var(--white);
  padding: .5rem 1rem;
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ── 4. Flash messages ─────────────────────────────────────── */
.flash {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  font-size: .9375rem;
  font-weight: 500;
}
.flash-success { background: #EAF5E9; border-left: 4px solid #3A8A3A; color: #1F4D1F; }
.flash-error   { background: #FDEEEE; border-left: 4px solid #C84040; color: #7A1F1F; }
.flash-info    { background: var(--yellow-xlight); border-left: 4px solid var(--yellow); color: var(--text-2); }
.flash-close { margin-left: auto; background: none; border: none; font-size: 1.25rem; cursor: pointer; color: inherit; opacity: .6; }
.flash-close:hover { opacity: 1; }

/* ── 5. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.4rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 30px;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .4rem 1rem; font-size: .875rem; }

.btn-primary { background: var(--cta); color: var(--white); border-color: var(--cta); }
.btn-primary:hover { background: var(--cta-dark); border-color: var(--cta-dark); color: var(--white); }

.btn-secondary { background: transparent; color: var(--cta); border-color: var(--cta); }
.btn-secondary:hover { background: var(--cta); border-color: var(--cta); color: var(--white); }

/* Tlačítko Zpět (na tmavém headeru hero) */
.hero .btn-secondary,
.page-header .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.hero .btn-secondary:hover,
.page-header .btn-secondary:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--white);
  color: var(--white);
}

/* Tmavé tlačítko = žluté (CTA na hero) */
.btn-dark { background: var(--yellow); color: var(--purple-deeper); border-color: var(--yellow); box-shadow: 0 3px 12px rgba(255,214,0,.4); }
.btn-dark:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--purple-deeper); }

/* ── 6. Topbar ─────────────────────────────────────────────── */
.site-topbar {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color .15s;
}
.topbar-item:hover { color: var(--cta); }
.topbar-item i { font-size: .85rem; color: var(--purple); }

/* ── 7. Header / Navigation ────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 12px rgba(123,45,139,.1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo-mini  { height: 48px; width: auto; object-fit: contain; flex-shrink: 0; }
.logo-text  {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.logo-text small {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: .1rem; }
.main-nav a {
  display: block;
  padding: .45rem .8rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.main-nav a:hover  { color: var(--cta); border-bottom-color: var(--purple); }
.main-nav a.active {
  color: var(--cta);
  font-weight: 700;
  border-bottom-color: var(--purple);
  background: none;
}

/* CTA tlačítko v headeru – stejné barvy jako btn-primary (Kontakt) */
.main-nav .nav-cta {
  background: var(--cta);
  color: var(--white);
  border-color: var(--cta);
  border-bottom: none;
  border-radius: 30px;
  padding: .6rem 1.4rem;
  margin-left: .75rem;
  white-space: nowrap;
  font-weight: 700;
}
.main-nav .nav-cta:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  color: var(--white);
  border-bottom: none;
}
.main-nav .nav-cta.active {
  background: var(--cta);
  color: var(--white);
  border-bottom: none;
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: .25rem; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }

/* ── 8. Main ───────────────────────────────────────────────── */
main { min-height: 60vh; }

/* ── 9. Breadcrumbs ────────────────────────────────────────── */
.breadcrumbs { padding: .6rem 0; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); font-size: .82rem; color: var(--text-3); }
.breadcrumbs ol { display: flex; align-items: center; gap: .5rem; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: .5rem; }
.breadcrumbs a { color: var(--purple); }
.breadcrumbs a:hover { color: var(--text); }

/* ── 10. Page Header ───────────────────────────────────────── */
.page-header {
  background:
    url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22300%22 height=%22200%22><circle cx=%2230%22 cy=%2240%22 r=%221.5%22 fill=%22rgba(255,214,0,.3)%22/><circle cx=%22100%22 cy=%2280%22 r=%221%22 fill=%22rgba(255,214,0,.25)%22/><circle cx=%22200%22 cy=%2230%22 r=%222%22 fill=%22rgba(255,214,0,.4)%22/><circle cx=%22250%22 cy=%22120%22 r=%221.5%22 fill=%22rgba(255,214,0,.3)%22/><circle cx=%2270%22 cy=%22160%22 r=%221%22 fill=%22rgba(255,214,0,.2)%22/><circle cx=%22170%22 cy=%2260%22 r=%221%22 fill=%22rgba(255,214,0,.35)%22/></svg>') 0 0 / 300px 200px,
    linear-gradient(150deg, #1A0530 0%, #3D0F60 40%, #6B1A8A 80%, #7B2D8B 100%);
  padding: 2.25rem 0 1.75rem;
}
.page-header h1,
.page-header .page-title {
  font-family: var(--font);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: .3rem;
}
.page-header p,
.page-header .page-lead {
  font-size: 1.025rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
}

/* ── 11. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22300%22 height=%22200%22><circle cx=%2230%22 cy=%2240%22 r=%222%22 fill=%22rgba(255,214,0,.5)%22/><circle cx=%22100%22 cy=%2280%22 r=%221.5%22 fill=%22rgba(255,214,0,.4)%22/><circle cx=%22200%22 cy=%2230%22 r=%222.5%22 fill=%22rgba(255,214,0,.6)%22/><circle cx=%22250%22 cy=%22120%22 r=%221.5%22 fill=%22rgba(255,214,0,.4)%22/><circle cx=%2270%22 cy=%22150%22 r=%222%22 fill=%22rgba(255,214,0,.35)%22/><circle cx=%22170%22 cy=%2260%22 r=%221%22 fill=%22rgba(255,214,0,.5)%22/><circle cx=%22280%22 cy=%2270%22 r=%221.5%22 fill=%22rgba(255,214,0,.45)%22/></svg>') 0 0 / 300px 200px,
    linear-gradient(150deg, #1A0530 0%, #3D0F60 30%, #6B1A8A 60%, #8B3AA0 80%, #A050B8 100%);
  padding: 4.5rem 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  margin-bottom: .75rem;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* ── 12. Homepage Feed ─────────────────────────────────────── */
.home-wrapper { padding: 3rem 0 4rem; }

.block-header  { margin-bottom: 1.75rem; }
.block-label   {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: .3rem;
}
.block-title { font-family: var(--font); font-size: 1.7rem; color: var(--text); margin: 0; }

.feed-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.feed-col--changes  { order: 2; }
.feed-col--articles { order: 1; }
.feed-columns--single { grid-template-columns: 1fr !important; }
.feed-columns--single .feed-col { order: unset !important; }

.news-feed { display: flex; flex-direction: column; }

.feed-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-2);
}
.feed-item:first-child { border-top: 1px solid var(--border-2); }

.feed-item__date {
  font-size: .78rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: .4rem;
  line-height: 1.4;
}

.feed-item__title {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .3rem;
  line-height: 1.3;
}
.feed-item__title a { color: var(--text); }
.feed-item__title a:hover { color: var(--cta); }
.feed-item__desc { font-size: .875rem; color: var(--text-2); margin-bottom: .4rem; }
.feed-item__more { font-size: .82rem; font-weight: 600; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.feed-item__more:hover { color: var(--cta); }

.block-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.block-link:hover { color: var(--cta); }

.no-items { color: var(--text-3); font-style: italic; padding: .5rem 0; }

/* Změny OD – homepage i OD stránka */
.feed-col--changes .news-feed { gap: .75rem; }
.change-item {
  border-left: 4px solid var(--yellow);
  background: var(--yellow-xlight);
  padding: .875rem 1rem 1.25rem;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  border-radius: 0 8px 8px 0;
}
.change-item__icon { color: var(--yellow-deeper); font-size: .95rem; margin-top: .15rem; flex-shrink: 0; }
.change-item__date { font-size: .82rem; font-weight: 600; color: var(--yellow-deeper); margin-bottom: .2rem; }
.change-item__title { font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: .25rem; }
.change-item__title a { color: var(--text); text-decoration: none; }
.change-item__title a:hover { color: var(--cta); }
.change-item__desc { font-size: .82rem; color: var(--text-2); line-height: 1.5; }
.change-item__desc--truncate {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Nadpisy sloupců feedu – stejný styl jako .section-heading */
.feed-col-label {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-3);
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
  display: block;
}

/* Přehled článků – karta */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--purple);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  box-shadow: 0 2px 10px rgba(123,45,139,.07);
  transition: box-shadow .2s, transform .2s;
}
.article-card:hover { box-shadow: 0 6px 20px rgba(123,45,139,.15); transform: translateY(-2px); }
.article-card__date { font-size: .82rem; font-weight: 600; color: var(--purple); }
.article-card__title { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.article-card__title a { color: var(--text); }
.article-card__title a:hover { color: var(--cta); }
.article-card__desc { font-size: .875rem; color: var(--text-2); line-height: 1.6; flex: 1; }
.article-card__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  padding: .45rem 1.1rem;
  background: transparent;
  border: 2px solid var(--cta);
  color: var(--cta);
  font-size: .82rem;
  font-weight: 700;
  border-radius: 30px;
  align-self: flex-start;
  transition: background .15s, color .15s;
}
.article-card__btn:hover { background: var(--cta); color: var(--white); }

/* ── 13. Office Hours Page ─────────────────────────────────── */
.office-hours-page,
.page-section { padding: 3rem 0 4rem; }

.hours-table-wrap { overflow-x: auto; margin-bottom: 2rem; }

.table-responsive { overflow-x: auto; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.hours-table th, .hours-table td { padding: .75rem 1rem; text-align: left; border: 1px solid var(--border); }
.hours-table thead th { background: var(--purple); color: var(--white); font-weight: 600; font-size: .85rem; }
.hours-table__day { background: var(--purple-xlight); font-weight: 600; color: var(--text); }
#regular-hours-heading { margin-bottom: 1.25rem; }
.hours-table .closed,
.hours-empty { color: var(--text-3); font-style: italic; }
.hours-time { display: block; font-weight: 600; }
.hours-note { display: block; font-size: .78rem; color: var(--text-3); margin-top: .25rem; }

/* Changes – sekce na stránce OD */
.box-changes { margin-bottom: 2rem; }
.box-changes h2 {
  font-family: var(--font);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1rem;
}
.change-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.change-grid--single { grid-template-columns: 1fr; max-width: 540px; }
.section-heading {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-3);
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}

/* Notice – upozornění */
.box-warning {
  background: #FEE2E2;
  border-left: 5px solid #EF4444;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
}
.box-warning h2 { font-family: var(--font); font-size: 1.2rem; color: var(--text); margin-bottom: .75rem; }
.notice-content { font-size: .925rem; color: var(--text-2); line-height: 1.7; }

/* Section title */
.section-title { font-family: var(--font); font-size: 1.35rem; color: var(--text); margin-bottom: 1.25rem; }

/* SR-only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── 14. Articles ──────────────────────────────────────────── */
.articles-page { padding: 3rem 0 4rem; }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; margin-top: 2rem; }

.article-detail { padding: 3rem 0 4rem; max-width: 780px; }
.article-detail__title { font-size: 1.6rem; line-height: 1.3; margin-bottom: 1rem; color: var(--text); }
.article-detail__perex {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.article-body { font-size: 1.0125rem; line-height: 1.75; color: var(--text-2); }
.article-body h2 { color: var(--text); font-size: 1.35rem; margin: 1.75em 0 .5em; }
.article-body h3 { color: var(--text); font-size: 1.15rem; margin: 1.4em 0 .4em; }
.article-body h4 { color: var(--text); font-size: 1rem;    margin: 1.2em 0 .35em; }
.article-body p  { margin-bottom: 1em; }
.article-body ul { list-style-type: disc;    padding-left: 1.6em; margin-bottom: 1em; }
.article-body ol { list-style-type: decimal; padding-left: 1.6em; margin-bottom: 1em; }
.article-body ul ul { list-style-type: circle;  margin-top: .35em; margin-bottom: .35em; }
.article-body ol ol { list-style-type: lower-alpha; margin-top: .35em; margin-bottom: .35em; }
.article-body li { margin-bottom: .4em; padding-left: .25em; }
.article-body a  { color: var(--purple); text-decoration: underline; }
.article-body a:hover { color: var(--cta); }

.back-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 600; color: var(--purple); margin-bottom: 2rem; }
.back-link:hover { color: var(--cta); }

/* ── 15. Downloads ─────────────────────────────────────────── */
.downloads-section { padding: 3rem 0 4rem; }
.downloads-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }

.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  transition: box-shadow .2s;
}
.download-item:hover { box-shadow: 0 4px 14px rgba(123,45,139,.1); }
.download-item__icon { font-size: 1.5rem; flex-shrink: 0; color: var(--purple); width: 2rem; text-align: center; }
.download-item__icon i { font-size: 1.4rem; }
.download-item__body { flex: 1; }
.download-item__title { font-weight: 600; color: var(--text); font-size: .9625rem; }
.download-item__description { font-size: .875rem; color: var(--text-2); margin-top: .2rem; }
.download-item__meta { font-size: .8rem; color: var(--text-3); margin-top: .25rem; display: flex; gap: .5rem; }
.download-item__type { font-weight: 600; text-transform: uppercase; color: var(--purple); }
.download-item__action { flex-shrink: 0; }

/* ── 16. About ─────────────────────────────────────────────── */
.about-intro-section { padding: 2.5rem 0; }
.about-intro { font-size: 1.0125rem; line-height: 1.75; color: var(--text-2); }
.about-intro h2 { color: var(--text); font-size: 1.35rem; margin: 1.75em 0 .5em; }
.about-intro h3 { color: var(--text); font-size: 1.15rem; margin: 1.4em 0 .4em; }
.about-intro h4 { color: var(--text); font-size: 1rem;    margin: 1.2em 0 .35em; }
.about-intro p  { margin-bottom: 1em; }
.about-intro ul { list-style-type: disc;    padding-left: 1.6em; margin-bottom: 1em; }
.about-intro ol { list-style-type: decimal; padding-left: 1.6em; margin-bottom: 1em; }
.about-intro li { margin-bottom: .4em; padding-left: .25em; }

.team-section { padding: 2.5rem 0 4rem; background: var(--gray-100); }

.team-grid { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.team-card {
  background: var(--white);
  border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(123,45,139,.07);
}
.team-card article { display: grid; grid-template-columns: 140px 1fr; gap: 1.75rem; align-items: start; }

.team-card__photo { width: 140px; height: 140px; overflow: hidden; flex-shrink: 0; border-radius: 50%; }
.team-card__img   { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__avatar {
  width: 140px;
  height: 140px;
  background: var(--purple-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.team-card__initials { font-family: var(--font); font-size: 2.5rem; color: var(--purple); font-weight: 400; }
.team-card__avatar-icon { font-size: 3.5rem; color: var(--purple); }

.team-card__body { padding: 0; }
.team-card__name     { font-family: var(--font); font-size: 1.1rem; color: var(--text); margin-bottom: .2rem; }
.team-card__position { font-size: .82rem; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.team-card__bio      { font-size: .9rem; color: var(--text-2); line-height: 1.6; }

/* ── 17. Contact ───────────────────────────────────────────── */
.contact-page-section { padding: 3rem 0 4rem; }

.contact-layout { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; }

.contact-details {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--purple);
  border-radius: 0 0 12px 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(123,45,139,.07);
}
.contact-details__title { font-family: var(--font); font-size: 1.2rem; color: var(--text); margin-bottom: 1.25rem; }

.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-list__item { display: grid; grid-template-columns: 1fr; gap: .2rem; }
.contact-list__label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--purple);
}
.contact-list__label i { font-size: .85rem; }
.contact-list__value { font-size: .9375rem; color: var(--text-2); padding-left: 1.1rem; }
.contact-list__value a { color: var(--text-2); font-weight: 500; }
.contact-list__value a:hover { color: var(--cta); }

.contact-cta { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.contact-cta .btn { justify-content: center; }

.contact-info-text { font-size: 1rem; color: var(--text-2); line-height: 1.75; }
.contact-info-text h2 { color: var(--text); font-size: 1.35rem; margin: 1.75em 0 .5em; }
.contact-info-text h3 { color: var(--text); font-size: 1.15rem; margin: 1.4em 0 .4em; }
.contact-info-text h4 { color: var(--text); font-size: 1rem;    margin: 1.2em 0 .35em; }
.contact-info-text p  { margin-bottom: 1em; }
.contact-info-text ul { list-style-type: disc;    padding-left: 1.6em; margin-bottom: 1em; }
.contact-info-text ol { list-style-type: decimal; padding-left: 1.6em; margin-bottom: 1em; }
.contact-info-text li { margin-bottom: .4em; padding-left: .25em; }

.map-section { margin-bottom: 3rem; }
.map-wrapper { width: 100%; }
.map-wrapper iframe { width: 100%; height: 400px; border: none; display: block; border-top: 3px solid var(--purple); }

.article-detail__content { overflow-x: auto; }

/* wysiwyg */
.wysiwyg h2 { color: var(--text); font-size: 1.35rem; margin: 1.75em 0 .5em; }
.wysiwyg h3 { color: var(--text); font-size: 1.15rem; margin: 1.4em 0 .4em; }
.wysiwyg h4 { color: var(--text); font-size: 1rem;    margin: 1.2em 0 .35em; }
.wysiwyg p  { margin-bottom: 1em; color: var(--text-2); }
.wysiwyg ul { list-style-type: disc;    padding-left: 1.6em; margin-bottom: 1em; }
.wysiwyg ol { list-style-type: decimal; padding-left: 1.6em; margin-bottom: 1em; }
.wysiwyg ul ul { list-style-type: circle;      margin-top: .35em; margin-bottom: .35em; }
.wysiwyg ol ol { list-style-type: lower-alpha; margin-top: .35em; margin-bottom: .35em; }
.wysiwyg li { margin-bottom: .4em; padding-left: .25em; color: var(--text-2); }
.wysiwyg a  { color: var(--purple); text-decoration: underline; }
.wysiwyg a:hover { color: var(--cta); }

/* ── 18. Booking ───────────────────────────────────────────── */
.booking-section { padding: 3rem 0 4rem; }
.booking-description { font-size: 1.0125rem; color: var(--text-2); line-height: 1.75; margin-bottom: 2.5rem; }
.booking-cta { text-align: center; padding: 2rem 0; }
.booking-cta__btn { font-size: 1.1rem; padding: .9rem 2.5rem; gap: .6rem; }

/* ── 19. Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.75);
  padding: 2.5rem 0 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--yellow); }

.footer-contact-item { margin-bottom: 1.1rem; }
.footer-contact-label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: .25rem;
}
.footer-address, .footer-phone, .footer-email {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  margin-bottom: 0;
}
.footer-address i, .footer-phone i, .footer-email i {
  color: var(--yellow);
  font-size: .9rem;
  margin-top: .2rem;
  flex-shrink: 0;
}

.footer-col--nav ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col--nav a  { font-size: .9rem; display: inline-block; padding: .1rem 0; border-bottom: 1px solid transparent; }
.footer-col--nav a:hover { border-bottom-color: var(--yellow); color: var(--yellow); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-admin-link { color: rgba(255,255,255,.25); font-size: .75rem; }
.footer-admin-link:hover { color: rgba(255,255,255,.6); }

/* ── 20. Mobile ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .feed-columns { grid-template-columns: 1fr; }
  .feed-col--changes  { order: 1; }
  .feed-col--articles { order: 2; }
  .article-grid { grid-template-columns: 1fr; }
  .change-grid  { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Hamburger */
  .hamburger { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
    flex-direction: column;
    align-items: stretch;
    padding: .5rem 0;
    box-shadow: 0 4px 12px rgba(123,45,139,.15);
    z-index: 100;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul   { flex-direction: column; }
  .main-nav a {
    padding: .75rem 1.5rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    color: var(--text);
    background: none;
  }
  .main-nav a:hover { color: var(--cta); }
  .main-nav a.active {
    color: var(--cta);
    font-weight: 700;
    background: none;
    border-bottom: none;
  }
  .main-nav .nav-cta,
  .main-nav .nav-cta.active {
    margin: .75rem 1rem;
    background: var(--cta);
    color: var(--white);
    border-color: var(--cta);
    border-left: none;
    border-radius: 30px;
    justify-content: center;
    text-align: center;
    font-weight: 700;
  }
  .main-nav .nav-cta:hover {
    background: var(--cta-dark);
    border-color: var(--cta-dark);
  }
}

@media (max-width: 680px) {
  .topbar-label { display: none; }
  .site-topbar .container { width: 100%; }
  .topbar-inner { gap: 0; justify-content: space-around; }
  .hero { padding: 3rem 0; }

  /* Team card – foto nahoře */
  .team-card article { grid-template-columns: 1fr; }
  .team-card__photo  { width: 120px; height: 120px; }
  .team-card__avatar { width: 120px; height: 120px; }

  /* Download tlačítko – jen ikona */
  .download-item__action .btn-label { display: none; }
}

/* ── 404 Error page ───────────────────────────────────────── */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.25rem;
  max-width: var(--container);
  margin-inline: auto;
}

.error-page__code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--purple-light);
  margin-bottom: .5rem;
}

.error-page__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: .75rem;
}

.error-page__text {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: 2rem;
  max-width: 420px;
}

/* ── Ceník (pricelist) ─────────────────────────────────────── */
.pricelist {
  margin-top: 1.5rem;
}

.pricelist__section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cta);
  margin: 2rem 0 1rem;
  padding-bottom: 0.375rem;
  border-bottom: 2px solid var(--yellow);
}

.pricelist__section-heading:first-child {
  margin-top: 0.5rem;
}

.pricelist__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.pricelist__table tr {
  transition: background 0.1s;
}

.pricelist__table tr:hover {
  background: var(--purple-xlight);
}

.pricelist__table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-2);
  vertical-align: top;
}

.pricelist__table tr:last-child td {
  border-bottom: none;
}

.pricelist__name {
  color: var(--text);
}

.pricelist__price {
  font-weight: 600;
  color: var(--cta);
  text-align: right;
  width: 130px;
}

.pricelist__note {
  display: block;
  color: var(--text-3);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: .15rem;
}

.pricelist__text {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0.75rem 0 1rem;
}

@media (max-width: 560px) {
  .pricelist__table tr  { display: flex; flex-wrap: wrap; padding: 0.4rem 0; border-bottom: 1px solid var(--border-2); }
  .pricelist__table tr:last-child { border-bottom: none; }
  .pricelist__table td  { display: block; border: none; padding: 0 0.4rem; }
  .pricelist__table tr:last-child td { border-bottom: none; }
  .pricelist__name  { flex: 1 1 100%; overflow-wrap: break-word; word-break: break-word; }
  .pricelist__price { flex: 1 1 100%; text-align: right; width: auto; overflow-wrap: break-word; word-break: break-word; }
  .pricelist__note  { flex: 1 1 100%; margin-top: .1rem; }
}
