/* ─────────────────────────────────────────────────────────────
   /o-mne only (loaded from partials/head.php when $page === 'o-mne').
   13. 10. 2026: the page was cream boxes from the hero down — the bio
   got its four chapters, a dark quote band with a portrait, the media
   section real logos and links, the Inštitút its own logo.
   ───────────────────────────────────────────────────────────── */

/* ─── Hero heading ───
   Klient 13.10.2026: „zjemnime — možno nemusí byť tučným, možno trošku menšia veľkosť“.
   site-enhance.css dáva .about-hero h1 váhu 600 cez !important, preto aj tu !important
   (vyššia špecificita vyhrá). Bodky na koncoch slov sú preč priamo v o-mne.php. */
.about-hero .about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.8vw, 4.5rem);
  font-weight: 400 !important;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 0;
  color: var(--paper);
}

/* ─── Bio: the four chapters under the headline ─── */
.path {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-left: 1px solid var(--paper-line-2);
}
.path__step {
  position: relative;
  display: grid;
  gap: .2rem;
  padding: 0 0 1.6rem 1.5rem;
}
.path__step:last-child { padding-bottom: 0; }
.path__step::before {
  content: "";
  position: absolute;
  left: -5px; top: .35rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold-2);
}
.path__step:last-child::before { background: var(--gold); border-color: var(--gold); }
.path__when {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.path__what {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper-ink);
  line-height: 1.3;
}
.path__note { font-size: .92rem; color: var(--paper-muted); line-height: 1.45; }

/* The head is sticky beside a long bio; on a short window the list would
   hang below the fold for the whole scroll, so it stops sticking there. */
@media (max-height: 820px) { .bio__head { position: static; } }

/* ─── Quote band: dark, text left, portrait right (the hero is photo-left) ─── */
.omne-quote {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--ink);
  color: var(--paper);
  min-height: clamp(460px, 48vw, 640px);
}
.omne-quote__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-y) var(--gutter) var(--section-y) max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.omne-quote .eyebrow { color: var(--gold); }
.omne-quote blockquote {
  margin: 1.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 18ch;
  color: var(--paper);
}
/* Klient 19. 10. 2026: „font biely prosím, bez gold“ — celá veta jednou farbou. */
.omne-quote blockquote em { color: inherit; font-style: normal; }
.omne-quote__attr { margin-top: 2rem; font-size: .95rem; color: var(--muted); }
.omne-quote__attr strong { color: var(--paper); font-weight: 500; }
.omne-quote__media { position: relative; overflow: hidden; }
.omne-quote__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1);
}
/* soft seam where the photo meets the dark panel */
.omne-quote__media::before {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, var(--ink), transparent);
  z-index: 1;
}

/* Cieľ odkazu „Všetky vystúpenia“ z titulky (/o-mne#media) — nadpis nesmie skončiť pod lištou. */
#media { scroll-margin-top: 96px; }

/* ─── Media: logo strip ─── */
.press__logos {
  list-style: none;
  margin: 3rem 0 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.25rem;
}
.press__logos img {
  display: block;
  height: var(--h, 24px);
  width: auto;
  opacity: .7;
  transition: opacity .2s ease;
}
.press__logos a { display: block; padding: .35rem 0; }
.press__logos a:hover img, .press__logos a:focus-visible img { opacity: 1; }

/* ─── Media: six linked cards ─── */
.press__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.press-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 15rem;
  padding: 1.6rem 1.6rem 1.4rem;
  background: var(--paper-2);
  border: 1px solid var(--paper-line);
  color: var(--paper-ink);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.press-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(26, 24, 21, .35);
}
.press-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 34px;
}
.press-card__logo { height: var(--h, 22px); width: auto; opacity: .8; }
.press-card__date {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--paper-muted);
  white-space: nowrap;
}
.press-card__title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
  flex: 1;
}
.press-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--paper-line);
  font-size: .85rem;
}
.press-card__outlet { color: var(--paper-muted); }
.press-card__cta { color: var(--gold-2); font-weight: 600; white-space: nowrap; }

/* ─── Media: the archive, back to 2014 ─── */
.press-archive { margin-top: 3.5rem; }
.press-archive__title {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin: 0 0 .75rem;
}
.press-archive ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-line); }
.press-archive li { border-bottom: 1px solid var(--paper-line); }
.press-archive a {
  display: grid;
  grid-template-columns: 7.5rem 13rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: .95rem .25rem;
  color: var(--paper-ink);
  text-decoration: none;
  transition: background .2s ease;
}
.press-archive a:hover { background: var(--paper-2); }
.press-archive__date {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--paper-muted);
}
.press-archive__outlet { font-size: .9rem; font-weight: 600; }
.press-archive__what { font-size: .98rem; line-height: 1.45; }
.press-archive__go { color: var(--gold-2); }

/* ─── Inštitút logo ─── */
.institut-logo {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 1.75rem;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .press__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-archive a { grid-template-columns: 6.5rem 1fr auto; }
  .press-archive__outlet { grid-column: 2; grid-row: 1; }
  .press-archive__what { grid-column: 2; grid-row: 2; }
  .press-archive__go { grid-column: 3; grid-row: 1 / span 2; }
  .press-archive__date { grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  .omne-quote { grid-template-columns: 1fr; }
  .omne-quote__media { order: -1; aspect-ratio: 4 / 5; max-height: 78vh; }
  .omne-quote__media img { object-position: 50% 18%; }
  .omne-quote__media::before {
    inset: auto 0 0 0; width: auto; height: 28%;
    background: linear-gradient(0deg, var(--ink), transparent);
  }
  .omne-quote__text { padding: 2.5rem var(--gutter) 3.5rem; }
  .omne-quote blockquote { max-width: none; }
}
@media (max-width: 640px) {
  .path { margin-top: 2rem; }
  .press__logos { justify-content: flex-start; gap: 1.25rem 1.75rem; }
  .press__logos img { height: calc(var(--h, 24px) * .82); }
  .press__grid { grid-template-columns: 1fr; }
  .press-card { min-height: 0; }
  .press-archive a { grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .9rem .1rem; }
  .press-archive__date { grid-column: 1; grid-row: 1; }
  .press-archive__outlet { grid-column: 1; grid-row: 2; }
  .press-archive__what { grid-column: 1; grid-row: 3; }
  .press-archive__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

/* Podpis pod textom O mne. Klient 19. 10. 2026 navrhol naskenovaný vlastnoručný podpis —
   kým nepríde, je tu meno v tom istom tvare ako „— Peter Bielik“ pri citátoch. */
.bio__sign {
  margin-top: 2rem !important;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.bio__sign::before { content: '— '; }
/* 22. 10. 2026: prišiel sken podpisu — namiesto mena obrázok, bez pomlčky. */
.bio__sign:has(img)::before { content: none; }
.bio__sign img { display: block; width: min(240px, 60%); height: auto; }

/* ─── 22. 10. 2026 (Texty IV.) ─── */
/* Citát o tenkej hranici je teraz na /sport medzi Individuálnou spoluprácou a športovcami —
   oba bloky sú tmavé, tenká čiara ich oddeľuje. */
.omne-quote--sport { border-bottom: 1px solid var(--line); }

/* O mne končí príbehom: podpis a jeho osobná fotka (park, čiernobielo). */
.bio__closing { margin: 2.5rem 0 0; }
.bio__closing img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: grayscale(1);
}

/* Cesta v štyroch krokoch: na počítači vedľa textu je v poriadku, na telefóne a tablete
   (kde sa stĺpce skladajú pod seba) by stála pred textom — klient: „ak sa TimeLine nedá
   v telefóne zobraziť vedľa textu, tak by som ju tam nedával vôbec“. */
@media (max-width: 1024px) { .page-o-mne .path { display: none; } }
