/* onkogpt3 — page-scoped design.
 *
 * Everything here is namespaced under .ogp3 so the shared Webflow-era
 * stylesheets (components.css, onkopszichologiaonline.css) keep owning the
 * header and footer untouched. Nothing in this file leaks outside the page
 * body, and no rule here targets a shared class.
 *
 * Tokens follow DESIGN.md: warm near-white paper, one orange, Work Sans,
 * no borders, no shadows. The only outline in the system is the focus ring.
 */

.ogp3 {
  --orange: #ff9500;
  --orange-deep: #e07d00;
  --ink: #111111;
  --ink-soft: #6b635a;
  --paper: #fffdf9;
  --paper-sunk: #f7f2ea;

  --fs-display: clamp(2.25rem, 4.6vw, 3.5rem);
  --fs-headline: clamp(1.75rem, 3.2vw, 2.25rem);
  --fs-answer: clamp(18px, 2.2vw, 23px);
  --fs-title: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-body-sm: 0.9375rem;
  --fs-label: 0.8125rem;

  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 40px;
  --s-xxl: 64px;

  --page: 1180px;

  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.ogp3 :focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.ogp3 .ogp3-wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s-xl);
}

/* ---------- hero: read on the left, Anna on the right ---------- */

.ogp3 .ogp3-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--s-xxl);
  align-items: center;
  padding-block: var(--s-xxl);
}

.ogp3 .ogp3-say { max-width: 62ch; }

/* Language control. Auto-detection guesses; this is how a visitor overrides it,
   so it stays visible above the headline rather than hidden in the footer. */
.ogp3 .ogp3-lang {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  margin: 0 0 var(--s-lg);
}

.ogp3 .ogp3-lang-label {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ogp3 .ogp3-lang-select {
  padding: 8px 12px;
  background: var(--paper-sunk);
  color: var(--ink);
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}

.ogp3 h1 {
  margin: 0 0 var(--s-xl);
  max-width: 15ch;
  font-family: inherit;
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.ogp3 .ogp3-intro h2 {
  margin: 0 0 var(--s-sm);
  font-family: inherit;
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ogp3 .ogp3-intro p {
  margin: 0 0 var(--s-xl);
  max-width: 60ch;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* The primary action. Ink on orange reaches 8.6:1; white on this orange is
   2.2:1 and fails, so the label is always black. The label is long uppercase
   copy and must wrap inside the button rather than widen the page. */
.ogp3 .ogp3-go {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: var(--s-md) var(--s-lg);
  background: var(--orange);
  color: var(--ink);
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition: background 150ms ease;
}

.ogp3 .ogp3-go:hover,
.ogp3 .ogp3-go:focus { background: var(--orange-deep); color: var(--ink); }
.ogp3 .ogp3-go svg { flex: 0 0 auto; }

/* Small print sits under the action it qualifies, not in front of it. */
.ogp3 .ogp3-fine {
  margin: var(--s-lg) 0 0;
  max-width: 64ch;
  font-size: var(--fs-body-sm);
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- the looping clip ---------- */

.ogp3 .ogp3-clip {
  position: relative;
  flex: 0 0 auto;
  justify-self: end;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-sunk);
  line-height: 0;
}

.ogp3 .ogp3-clip video {
  display: block;
  height: min(64vh, 620px);
  width: auto;
  aspect-ratio: 344 / 720;
  object-fit: cover;
  border-radius: 4px;
}

/* Autoplaying motion is not a given for a distressed reader — the control is
   always present, not revealed on hover. */
.ogp3 .ogp3-clip-toggle {
  position: absolute;
  right: var(--s-sm);
  bottom: var(--s-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 150ms ease;
}

.ogp3 .ogp3-clip-toggle:hover { background: var(--orange); }

/* ---------- Friss hír ----------
   The one place the page raises its voice. With no border and no shadow
   available, emphasis comes from a full-bleed tonal band, a real jump in type
   scale, and a single orange rule. */

.ogp3 .ogp3-news {
  background: var(--paper-sunk);
  padding: 96px 0;
}

.ogp3 .ogp3-news-inner { max-width: 56ch; }

.ogp3 .ogp3-news-rule {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--orange);
  margin: 0 0 var(--s-lg);
}

.ogp3 .ogp3-news h2 {
  margin: 0 0 var(--s-lg);
  max-width: 20ch;
  font-family: inherit;
  font-size: var(--fs-headline);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.ogp3 .ogp3-news-lead {
  margin: 0 0 var(--s-lg);
  font-size: var(--fs-answer);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ogp3 .ogp3-news-body {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
}

.ogp3 .ogp3-news a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.ogp3 .ogp3-news a:hover { color: var(--orange-deep); }

/* ---------- podcast ---------- */

.ogp3 .ogp3-more { padding-block: 96px; }

.ogp3 .ogp3-more h2 {
  margin: 0 0 var(--s-sm);
  max-width: 34ch;
  font-family: inherit;
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ogp3 .ogp3-more p {
  margin: 0;
  max-width: 66ch;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
}

.ogp3 .ogp3-embed {
  display: block;
  width: 100%;
  max-width: 720px;
  height: 180px;
  margin: var(--s-lg) 0 0;
  border: 0;
  border-radius: 4px;
}

/* ---------- closing note ---------- */

.ogp3 .ogp3-note { padding-block: 0 96px; }

.ogp3 .ogp3-note p {
  margin: 0;
  max-width: 70ch;
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: var(--ink-soft);
}

.ogp3 .ogp3-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ogp3 .ogp3-note a:hover { color: var(--orange-deep); }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .ogp3 .ogp3-hero {
    grid-template-columns: 1fr;
    row-gap: var(--s-xl);
    justify-items: start;
  }
  .ogp3 .ogp3-clip { justify-self: start; }
  .ogp3 .ogp3-clip video { height: min(56vh, 480px); }
}

@media (max-width: 767px) {
  .ogp3 .ogp3-wrap { padding: 0 var(--s-lg); }
  .ogp3 .ogp3-hero { padding-block: var(--s-xl); }
  .ogp3 .ogp3-news { padding: var(--s-xxl) 0; }
  .ogp3 .ogp3-more { padding-block: var(--s-xxl); }
  .ogp3 .ogp3-note { padding-block: 0 var(--s-xxl); }
  .ogp3 .ogp3-clip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ogp3 *,
  .ogp3 *::before,
  .ogp3 *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   Header — localised pages only.
   Self-contained: no Webflow classes, no jQuery, no site runtime.
   Orange surface, Ink foreground (7.8:1), no borders, no shadows.
   ============================================================ */

.ogp3-nav {
  --orange: #ff9500;
  --orange-deep: #e07d00;
  --ink: #111111;
  --ink-soft: rgba(17, 17, 17, 0.74);
  --paper: #fffdf9;

  position: relative;
  z-index: 100;
  background: var(--orange);
  color: var(--ink);
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
}

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

.ogp3-nav :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.ogp3-nav__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 40px;
}

.ogp3-nav__brand {
  flex: 0 0 auto;
  margin-right: auto;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.ogp3-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ogp3-nav__link,
.ogp3-nav__help {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease;
}

.ogp3-nav__link:hover { color: var(--ink-soft); }

/* The one filled control in the header, so it reads as the way out. */
.ogp3-nav__help {
  padding: 10px 18px;
  background: var(--paper);
  border-radius: 999px;
  transition: background 150ms ease;
}
.ogp3-nav__help:hover { background: #fff; }

/* Anna is the destination this whole page exists to reach — it gets the
   only two-line treatment in the bar. */
.ogp3-nav__anna {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  background: var(--paper);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: background 150ms ease;
}
.ogp3-nav__anna:hover { background: #fff; }
.ogp3-nav__anna svg { width: 18px; height: 18px; flex: none; }
.ogp3-nav__anna-text { display: flex; flex-direction: column; line-height: 1.2; }
.ogp3-nav__anna-title { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; }
/* Same size as the title; weight and tone carry the difference, per the
   Weight-Is-The-Line rule. 11px would have been below the system's floor. */
.ogp3-nav__anna-sub { font-size: 0.8125rem; font-weight: 400; color: var(--ink-soft); }

/* ---------- burger ---------- */

.ogp3-nav__burger {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.ogp3-nav__burger-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 150ms ease;
}

.ogp3-nav[data-open="true"] .ogp3-nav__burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ogp3-nav[data-open="true"] .ogp3-nav__burger-bar:nth-child(2) { opacity: 0; }
.ogp3-nav[data-open="true"] .ogp3-nav__burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- collapsed ---------- */

@media (max-width: 991px) {
  .ogp3-nav__bar { padding: 10px 24px; }
  .ogp3-nav__burger { display: block; }

  .ogp3-nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: var(--orange);
    /* display, not visibility+opacity: one property, no transition timing to
       get wrong, and a shut menu is genuinely out of the tab order. The burger
       icon still animates, so the interaction does not feel dead. */
    display: none;
  }

  .ogp3-nav[data-open="true"] .ogp3-nav__links {
    display: flex;
  }

  .ogp3-nav__link,
  .ogp3-nav__help,
  .ogp3-nav__anna {
    padding: 14px 0;
    font-size: 1.0625rem;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: normal;
  }

  .ogp3-nav__help {
    margin-top: 8px;
    padding: 14px 20px;
    text-align: center;
  }

  .ogp3-nav__anna {
    margin-bottom: 8px;
    padding: 12px 18px;
  }
  .ogp3-nav__anna-title { font-size: 1.0625rem; }
  .ogp3-nav__anna-sub { font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ogp3-nav *,
  .ogp3-nav *::before,
  .ogp3-nav *::after { transition: none !important; }
}
