/* Siguran korak – novinski/magazinski izgled */
:root {
  --ink: #1f1b2d;
  --plum: #462c96;
  --plum-deep: #2c1c5f;
  --gold: #c0a659;
  --lime: #9bc322;
  --paper: #f6f5fa;
  --lavender: #e7e2f3;
  --rule: #cfc7e4;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  padding-bottom: 96px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; width: 100%; }
.nameplate { width: 100%; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--plum); }

/* ---------- zaglavlje lista ---------- */
.nameplate {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.nameplate__strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5c5672;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.nameplate__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 10px;
}
.nameplate__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--plum-deep);
  text-decoration: none;
}
.nameplate__motto {
  margin: 0;
  padding: 8px 0 12px;
  font-family: var(--serif);
  font-style: italic;
  color: #5c5672;
  border-top: 4px double var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: center;
}

/* ---------- dugmad ---------- */
.knob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.knob:hover, .knob:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}
.knob--top {
  min-height: 52px;
  padding: 0 24px;
  font-size: 17px;
  white-space: nowrap;
}
.knob--side {
  min-height: 62px;
  width: 100%;
  font-size: 18px;
  padding: 0 18px;
}
.knob--grand {
  min-height: 88px;
  min-width: 360px;
  padding: 0 40px;
  font-size: 23px;
}

/* ---------- naslovna ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.frontpage {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  gap: 0;
  padding: 34px 0 54px;
  border-bottom: 1px solid var(--ink);
}
.lead-story { padding-right: 38px; border-right: 1px solid var(--rule); }
.kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--plum);
}
.kicker--gold { color: var(--gold); }
.lead-story__headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.07;
  letter-spacing: -.015em;
  margin: 0 0 18px;
}
.standfirst {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  color: #3b3550;
  margin: 0 0 26px;
}
.lead-story__photo { margin: 0 0 30px; }
.lead-story__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption {
  font-size: 14.5px;
  color: #3b3550;
  padding-top: 8px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
}

.interview { column-count: 2; column-gap: 34px; column-rule: 1px solid var(--rule); }
.interview__q {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--plum-deep);
  margin: 0 0 6px;
  break-after: avoid;
}
.interview__a { margin: 0 0 20px; }
.speaker { font-weight: 700; color: var(--plum); }

.column-side { padding-left: 34px; }
.column-side__label {
  display: inline-block;
  margin: 0 0 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 3px 10px;
}
.column-side__title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  margin: 6px 0 16px;
}
.notes { list-style: none; counter-reset: n; padding: 0; margin: 0 0 26px; }
.notes li {
  counter-increment: n;
  position: relative;
  padding: 0 0 16px 46px;
  margin-bottom: 16px;
  border-bottom: 1px dotted var(--rule);
}
.notes li::before {
  content: counter(n);
  position: absolute;
  left: 0; top: -6px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 34px;
  color: var(--gold);
}
.column-side__box {
  position: sticky;
  top: 20px;
  background: var(--lavender);
  border-top: 4px solid var(--plum);
  padding: 24px 22px;
}
.column-side__boxtitle {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.2;
  color: var(--plum-deep);
}
.column-side__ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.column-side__ticks li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px dotted var(--rule); }
.column-side__ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}
.lead-story__action { margin: 0 0 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.lead-story__action span { font-size: 15px; color: #3b3550; }
.interview__offer { display: none; }
.column-side__box p { margin: 0 0 16px; }

/* ---------- zaglavlja rubrika ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin: 0;
}
.section-head__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
}
.section-head--light { border-color: var(--paper); }
.section-head--light h2 { color: #fff; }

/* ---------- pitanja ---------- */
.readers-mail { padding: 56px 0; border-bottom: 1px solid var(--ink); }
.qa-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.qa-item { border-top: 1px solid var(--rule); padding: 14px 0; }
.qa-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 24px;
  color: var(--plum);
}
.qa-item[open] summary::after { content: "–"; }
.qa-item p { margin: 10px 0 0; color: #3b3550; }

/* ---------- brojke ---------- */
.figures {
  background: var(--plum-deep);
  color: #ece8f7;
  margin: 0 -24px;
  padding: 60px 24px;
}
.figures__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.figure-cell { padding: 0 28px; border-left: 1px solid rgba(255,255,255,.22); }
.figure-cell:first-child { border-left: 0; padding-left: 0; }
.figure-cell__big {
  display: block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
}
.figure-cell__big small {
  font-size: .32em;
  font-weight: 400;
  font-style: italic;
  margin: 0 .2em;
  color: #fff;
}
.figure-cell p { margin: 0 0 10px; }
.figure-cell cite { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #ddd7f0; font-style: normal; }

/* ---------- oblici ---------- */
.kinds { padding: 56px 0; border-bottom: 1px solid var(--ink); }
.kinds__layout { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: start; }
.kinds__photo { margin: 0; }
.kinds__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; }
.kinds__list { margin: 0; }
.kind { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.kind dt {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kind__icon {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: var(--lavender);
  color: var(--plum);
}
.kind dd { margin: 6px 0 0 46px; }
.kinds__note { font-style: italic; color: #3b3550; margin: 22px 0 0; max-width: 780px; }

/* ---------- ponuda ---------- */
.offer-page { padding: 64px 0; border-bottom: 1px solid var(--ink); }
.offer-page__inner {
  border: 2px solid var(--ink);
  outline: 6px solid var(--lavender);
  outline-offset: -14px;
  background: #fff;
  padding: 54px 48px;
  text-align: center;
}
.offer-page__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto 26px;
}
.offer-page__points {
  list-style: none;
  padding: 0;
  margin: 0 auto 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 34px;
}
.offer-page__points li { position: relative; padding-left: 22px; }
.offer-page__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 10px; height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}
.offer-page__small { font-size: 14px; color: #5c5672; margin: 22px 0 0; }

/* ---------- pisma ---------- */
.letters { padding: 56px 0; border-bottom: 1px solid var(--ink); }
.letters__wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: stretch; }
.letters__photo { margin: 0; }
.letters__photo { align-self: start; }
.letters__photo img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: 50% 45%; min-height: 320px; }
.letters__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.letter {
  margin: 0;
  padding: 22px 22px 18px;
  background: var(--lavender);
  border-left: 4px solid var(--plum);
}
.letter p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  margin: 0 0 12px;
}
.letter footer { font-size: 14.5px; font-weight: 600; color: var(--plum); }

/* ---------- završna reč ---------- */
.last-word { padding: 70px 0 80px; text-align: center; }
.last-word__quote {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.15;
  margin: 0 auto 10px;
  max-width: 900px;
  color: var(--plum-deep);
}
.last-word__by { font-style: italic; color: #5c5672; margin: 0 0 22px; }
.last-word__text { max-width: 640px; margin: 0 auto 32px; }

/* ---------- podnožje ---------- */
.colophon { background: var(--ink); color: #c9c3dc; margin-top: 0; }
.colophon__inner { max-width: 1180px; margin: 0 auto; padding: 36px 24px; }
.colophon__brand { font-family: var(--serif); font-weight: 900; font-size: 26px; color: #fff; margin: 0 0 8px; }
.colophon__disclaimer { font-size: 14px; max-width: 720px; margin: 0 0 18px; }
.colophon__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 14px; }
.colophon__links a { color: #e2ddf0; font-size: 14px; text-decoration: underline; display: inline-block; padding: 4px 0; }
.colophon__copy { font-size: 14px; margin: 0; }

/* ---------- podstranice ---------- */
.inner-page { max-width: 860px; margin: 0 auto; padding: 44px 0 70px; }
.inner-page h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.inner-page .standfirst { border-bottom: 1px solid var(--ink); padding-bottom: 20px; }
.inner-page h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 34px 0 10px;
  color: var(--plum-deep);
}
.inner-page p, .inner-page li { color: #2c2740; }
.inner-page ul { padding-left: 22px; }
.updated { font-size: 14px; color: #3b3550; }

.mail-panel {
  background: var(--lavender);
  border-left: 4px solid var(--plum);
  padding: 20px 24px;
  margin: 24px 0 34px;
  font-size: 19px;
}
.mail-panel .mail { font-weight: 700; }

.write-form { display: grid; gap: 16px; }
.write-form label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
.write-form input, .write-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: #fff;
}
.write-form textarea { min-height: 150px; resize: vertical; }
.write-form button {
  justify-self: start;
  font: 700 18px var(--sans);
  padding: 16px 34px;
  background: var(--plum);
  color: #fff;
  border: 0;
  cursor: pointer;
}
.thanks-note {
  background: #fff;
  border: 2px solid var(--plum);
  padding: 26px;
  font-family: var(--serif);
  font-size: 20px;
}

/* ---------- popup (umeće ga js/script.js) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(22, 14, 46, .84);
}
.modal-overlay.show { display: flex; }
.modal {
  position: relative;
  width: 660px;
  max-width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--gold);
  padding: 46px 44px 40px;
  text-align: center;
}
.modal .close {
  position: absolute;
  top: 10px; right: 12px;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.modal .badge {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.modal h3 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 46px;
  line-height: 1.08;
  margin: 0 0 10px;
  color: var(--plum-deep);
}
.modal > p { font-family: var(--serif); font-size: 21px; margin: 0 0 18px; }
.modal .offer {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 14px 0;
  margin: 0 0 24px;
}
.modal .offer p { margin: 4px 0; font-size: 17px; }
.btn { cursor: pointer; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
}
.btn-cta-xl {
  width: 100%;
  min-height: 86px;
  font-size: 23px;
  padding: 0 24px;
  box-shadow: 5px 5px 0 var(--ink);
}

/* ---------- lepljiva traka ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 16px;
  background: var(--plum-deep);
  color: #fff;
  border-top: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: 17px;
}
.sticky-cta .btn-cta {
  min-height: 62px;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: 18px;
}

/* ---------- prilagođavanje ---------- */
@media (max-width: 960px) {
  .frontpage { grid-template-columns: 1fr; }
  .lead-story { padding-right: 0; border-right: 0; }
  .column-side { padding-left: 0; margin-top: 34px; border-top: 2px solid var(--ink); padding-top: 22px; }
  .column-side__box { position: static; }
  .interview__offer {
    display: block;
    break-inside: avoid;
    background: var(--lavender);
    border-top: 4px solid var(--plum);
    padding: 18px;
    margin: 4px 0 24px;
  }
  .interview__offer p { margin: 0 0 14px; }
  .interview { column-count: 1; }
  .figures__grid { grid-template-columns: 1fr; gap: 30px; }
  .figure-cell, .figure-cell:first-child { border-left: 0; padding: 0 0 26px; border-bottom: 1px solid rgba(255,255,255,.22); }
  .kinds__layout, .letters__wrap { grid-template-columns: 1fr; }
  .qa-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .nameplate, main { padding: 0 16px; }
  .figures { margin: 0 -16px; padding: 44px 16px; }
  .nameplate__strip span:last-child { display: none; }
  .nameplate__row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .knob--top { width: 100%; }
  .knob--grand { min-width: 0; width: 100%; font-size: 20px; min-height: 76px; padding: 0 16px; }
  .letters__grid { grid-template-columns: 1fr; }
  .letters__photo img { height: auto; aspect-ratio: 3 / 4; max-height: 460px; object-position: 50% 55%; min-height: 0; }
  .offer-page__inner { padding: 38px 20px; }
  .modal { padding: 40px 18px 24px; }
  .modal h3 { font-size: 34px; }
  .btn-cta-xl { font-size: 19px; min-height: 72px; }
  .sticky-cta { justify-content: space-between; gap: 10px; padding: 8px 12px; font-size: 15px; }
  .sticky-cta .sticky-dop { display: none; }
  .sticky-cta > span { white-space: nowrap; }
  .sticky-cta .btn-cta { min-height: 50px; padding: 0 14px; font-size: 16px; white-space: nowrap; }
  .lead-story__action .knob--grand { font-size: 19px; }
  .colophon__inner { padding: 30px 16px; }
}

/* popup-vzor-zalomeni: vzorový text tlačítka popupu je dlouhý – smí se zalomit a nesmí přetékat */
.modal .btn, .modal .cta { white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.25; max-width: 100%; box-sizing: border-box; }
@media (max-width: 600px) { .modal .btn, .modal .cta { padding-left: 16px; padding-right: 16px; } }

/* lista-vzor-zalomeni: vzorový text spodní lišty se na mobilu zalomí, tlačítko zůstane celé */
.modal .btn-cta-xl { text-wrap: balance; }
@media (max-width: 600px) {
  .sticky-cta { flex-wrap: nowrap !important; gap: 10px; }
  .sticky-cta > span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; min-width: 0; flex: 1 1 auto; font-size: 13px !important; line-height: 1.25; display: block !important; }
  .sticky-cta .btn, .sticky-cta .cta { flex: 0 0 auto !important; white-space: nowrap !important; max-width: none; }
}
