.brand-row .header-logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 260px;
  height: 68px;
}

/* Keep standalone heroes below the fixed header, including before JS loads. */
.nav + main.cinema,
.nav + main.thoughts {
  padding-top: var(--page-header-height, var(--nav-height, 140px));
}

@media (max-width: 899px) {
  .nav:not(.navigation-ready) + main.cinema,
  .nav:not(.navigation-ready) + main.thoughts { padding-top: 0; }
}

.brand-row .header-logo img {
  width: 100%;
  height: auto;
}

.brand-row .header-social {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.navlinks {
  gap: clamp(14px,2.4vw,36px);
}

.landing-film-card {
  width: 100%;
  min-height: clamp(500px,65vw,780px);
  border-radius: 24px;
  transform: none!important;
}

.landing-film-card .work-bottom {
  max-width: 700px;
}

.landing-film-card .work-bottom h3 {
  font-size: clamp(42px,6vw,80px);
}

.film-play {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%,-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(76px,9vw,116px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: rgba(244,240,230,.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background .2s,scale .2s;
}

.film-play svg {
  width: 36px;
  height: 36px;
}

.film-play:enabled:hover {
  background: rgba(244,240,230,.35);
  scale: 1.05;
}

.film-play:disabled {
  cursor: default;
  opacity: 1;
}

.film-play:focus-visible {
  outline: 3px solid #d9b875;
  outline-offset: 6px;
}

.chapter-label {
  color: inherit;
}

.sport-caption {
  font-family: var(--sans);
  font-size: 14px;
}

.walk-copy>.pill {
  margin-top: 20px;
}

@media(max-width:899px) {
  .brand-row {
    gap: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 62px 40px;
  }

  .brand-row .header-logo {
    grid-column: 1;
    width: min(220px, 100%);
    height: 60px;
  }

  .brand-row .header-social {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }
}

@media(max-width:599px) {

  .brand-row .header-social {
    gap: 5px;
  }

  .brand-row .social-circle {
    width: 28px;
    height: 28px;
  }

  .landing-film-card {
    min-height: 560px;
  }

  .film-play {
    top: 36%;
  }
}

.landing-writings .article {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.landing-writings .article-cover {
  display: block;
  aspect-ratio: 4/3;
  background: var(--green);
  overflow: hidden;
}

.landing-writings .article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.landing-writings .article-cover:hover img {
  transform: scale(1.035);
}

.landing-writings .article-meta {
  flex-wrap: wrap;
  gap: 6px 14px;
}

.landing-writings .article-link {
  margin-top: auto;
  padding-top: 22px;
}

.landing-writings h3 a:focus-visible,.landing-writings .article-cover:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 5px;
}

@media(min-width:900px) {
  .navlinks {
    gap: clamp(12px,1.8vw,28px);
  }
}

#sportok {
  --sport-hegymasz-image: url('../cotopaxi.png');
  --sport-motorozas-image: url('../motorozas.JPG');
  --sport-slackline-image: url('../slackline.jpg');
  --sport-boulder-image: url('../boulder.jpg');
}

#sportok [data-sport-background=hegymaszas] {
  --sport-position: center;
}

#sportok [data-sport-background=motorozas] {
  --sport-position: center;
}

#sportok [data-sport-background=boulder] {
  --sport-position: center;
}

#rolam .monogram {
  display: none;
}

#sportok {
  --sport-via-ferrata-image: url('../via-ferrata.png?v=2');
}

#sportok [data-sport-background=via-ferrata] {
  --sport-position: 65% center;
}

#rolam .intro-grid {
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(38px,5vw,72px);
}

#rolam .intro-art {
  min-height: 580px;
  width: 100%;
}

#rolam .intro-art img {
  height: 580px;
  object-position: center;
}

#sportok [data-sport-background=szorf] {
  --sport-image: url('../szorf.JPG');
  --sport-position: center;
}

@media(max-width:899px) {
  #rolam .intro-grid {
    grid-template-columns: 1fr;
  }

  #rolam .intro-art {
    max-width: 540px;
    min-height: 460px;
  }

  #rolam .intro-art img {
    height: 460px;
  }
}

@media(max-width:480px) {
  #rolam .intro-art {
    min-height: 420px;
  }

  #rolam .intro-art img {
    height: 420px;
  }
}

@media(min-width:900px) {
  .navlinks {
    gap: clamp(8px,1.2vw,20px);
  }

  .navlinks>a {
    font-size: clamp(15px,1.45vw,20px);
  }

  .navlinks>.header-follow {
    font-size: clamp(16px,1.5vw,20px);
    padding: 10px 16px;
  }
}

#film .film-play {
  z-index: 10;
  pointer-events: auto;
  text-decoration: none;
}

#film .film-play svg,#film .work-film::after,#film .work-top,#film .work-bottom {
  pointer-events: none;
}

#film .film-play:hover {
  background: rgba(244,240,230,.35);
}

#eletut .timeline-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scroll-snap-type: none;
}

/* Explicit height also works without aspect-ratio support. */
.film-play { height: clamp(76px, 9vw, 116px); }

/* A hero címe az első pillanattól tömör színekkel olvasható. */
.hero h1 { color: #fff; }
.hero h1 em { color: #e5cc87; }

/* Egy soros interjúválogatás, natív érintéses lapozással. */
.landing-writings .article-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  padding: 4px 0 16px;
}
.landing-writings .article { flex: 0 0 calc((100% - 48px)/3); scroll-snap-align: start; padding-bottom: 16px; }
.landing-writings .article-cover { aspect-ratio: 16/10; height: auto; min-height: 0; margin-bottom: 18px; }
.landing-writings .article h3 { font-size: clamp(24px,2.4vw,34px); margin-block: 12px; }
body .landing-writings .article p:not([data-small-print]) { font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.landing-writings .article-meta { font-size: 12px; }
.landing-writings .article-link { font-size: 14px; padding-top: 8px; }
.interview-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.interview-controls[hidden] { display: none; }
.interview-count { font-size: 13px; letter-spacing: .08em; }
.interview-buttons { display: flex; gap: 10px; }
.interview-buttons button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--green); border-radius: 50%; background: transparent; color: var(--green); cursor: pointer; }
.interview-buttons button:hover:not(:disabled) { background: var(--green); color: var(--paper); }
.interview-buttons button:disabled { opacity: .3; cursor: default; }
.interview-buttons button:focus-visible,.landing-writings .article-grid:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

/* Két párhuzamos történetszál: tipográfiai könyvportré. */
.novel-section { background: #25232c; color: #f4f0e6; padding-block: clamp(64px,8vw,112px); overflow: hidden; }
.novel-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px,7vw,108px); align-items: center; }
.novel-cover { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 32px 30px; color: #dcc38b; background: #34303c; border: 1px solid #6f6254; border-left: 8px solid #18171d; box-shadow: 18px 22px 0 #1d1b23; transform: rotate(-3deg); }
.novel-cover-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 11px; letter-spacing: .15em; }
.novel-cover-top span { opacity: .75; font-size: 9px; }
.novel-cover-title { position: relative; z-index: 1; font: clamp(44px,4.8vw,70px)/1.04 var(--serif); letter-spacing: -.045em; margin-top: 50px; }
.novel-cover-title em { color: #f4f0e6; font-weight: 400; }
.novel-paths { width: 100%; height: 190px; margin-block: 12px; opacity: .65; }
.novel-cover-bottom { margin-top: auto; font-size: 10px; line-height: 1.8; letter-spacing: .22em; }
.novel-status { display: flex; align-items: center; gap: 10px; color: #dcc38b; margin-bottom: 24px; }
.novel-status>span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.novel-copy h2 { font: clamp(44px,5.5vw,80px)/1.02 var(--serif); letter-spacing: -.045em; margin: 0 0 28px; color: #f4f0e6; }
.novel-copy h2 em { color: #dcc38b; font-weight: 400; }
.novel-copy p { font-size: 17px; line-height: 1.75; color: #d4cfd8; }
.novel-copy .novel-hook { font: clamp(23px,2.4vw,32px)/1.35 var(--serif); color: #f4f0e6; }
.novel-timelines { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.novel-timelines>div { border-top: 1px solid #8c7958; padding-top: 18px; }
.novel-timelines>div+div { border-top-style: dashed; }
.novel-timelines .eyebrow { font-size: 10px; color: #dcc38b; }
.novel-timelines h3 { font: 21px/1.3 var(--serif); margin: 12px 0; }
.novel-timelines p { font-size: 14px; line-height: 1.65; }
.novel-copy .novel-note { font-size: 12px; line-height: 1.7; margin-top: 28px; color: #c3b9ca; }

/* A videó a zöld Vándorút-szekción belül marad. */
.decathlon-interview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,70px); align-items: center; margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(244,240,230,.25); }
.decathlon-copy>.eyebrow { font-size: 11px; color: #dcc38b; }
.decathlon-copy h3 { font: clamp(30px,3vw,44px)/1.12 var(--serif); margin: 18px 0; }
body .section .decathlon-copy p:not([data-small-print]) { font-size: 17px; line-height: 1.7; color: #d6ddd6; }
@media(max-width:899px) {
  .landing-writings .article { flex-basis: calc((100% - 24px)/2); }
  .novel-grid { grid-template-columns: .7fr 1fr; gap: 32px; }
  .novel-cover { min-height: 450px; padding: 24px 20px; }
  .novel-cover-title { font-size: 43px; }
  .novel-timelines { grid-template-columns: 1fr; gap: 10px; }
}
@media(max-width:599px) {
  .landing-writings .article { flex-basis: 88%; }
  .landing-writings .article-grid { gap: 18px; }
  .novel-grid,.decathlon-interview { grid-template-columns: 1fr; }
  .novel-cover { width: min(84%,320px); min-height: 420px; margin: 0 auto 24px; }
  .novel-cover-title { font-size: 46px; margin-top: 30px; }
  .novel-paths { height: 130px; }
  .novel-copy h2 { font-size: clamp(42px,10vw,60px); }
  .novel-timelines { grid-template-columns: 1fr; }
  .decathlon-interview { margin-top: 40px; padding-top: 32px; }
}
.novel-grid>* { min-width: 0; }
@media(max-width:359px) {
  .novel-copy h2 { font-size: 37px; }
  .novel-cover-title { font-size: 37px; }
  .novel-cover { padding-inline: 16px; }
}

.decathlon-player { position: relative; width: 100%; aspect-ratio: 16/9; background: #12332b; border: 1px solid rgba(190,173,116,.4); overflow: hidden; }
.decathlon-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.decathlon-credits a { color: #dcc38b; text-decoration: underline; text-underline-offset: 4px; }
.decathlon-credits a:focus-visible { outline: 2px solid #dcc38b; outline-offset: 4px; }

.decathlon-credits { position: relative; }
.person-info-trigger { padding: 0; border: 0; border-bottom: 1px dotted currentColor; background: none; color: #dcc38b; font: inherit; font-weight: 700; cursor: pointer; }
.person-info-trigger:focus-visible { outline: 2px solid #dcc38b; outline-offset: 4px; }
.person-info-panel { position: absolute; z-index: 12; left: 0; bottom: 100%; width: min(380px,100%); padding-bottom: 12px; text-align: left; }
.person-info-panel[hidden] { display: none; }
.person-info-card { display: grid; gap: 12px; padding: 22px; border: 1px solid #bead74; border-radius: 12px; background: #12332b; color: #f4f0e6; box-shadow: 0 12px 36px rgba(0,0,0,.25); font-size: 14px; line-height: 1.65; }
.person-info-link-note { display: block; font-size: 11px; color: #d6ddd6; }

.business-venture:only-child {
  grid-column: 1 / -1;
}

.film-menu .film-panel[hidden] { display: none; }
.film-menu-intro { display: grid; gap: 16px; align-content: start; }
.film-menu-intro small { display: block; margin-top: 5px; font: 14px var(--sans); }
.film-menu-intro strong { font: 26px/1.1 var(--serif); }
.film-menu-genres { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px 18px; }
.film-menu-genres a { border-top: 1px solid var(--line); padding: 7px 0; font: 16px var(--serif); }
.film-menu a:hover { color: var(--plum); text-decoration: underline; }
@media (max-width: 899px) {
  .navlinks.open { overscroll-behavior-y: contain; }
  .film-menu .mega-trigger { width: 100%; min-height: 44px; }
  .film-menu .film-panel { position: static; width: 100%; animation: none; }
  .film-menu-genres a { display: flex; align-items: center; min-height: 44px; }
  .film-menu-genres { grid-template-columns: repeat(2,1fr); }
  .film-menu-intro { margin-bottom: 24px; }
}
@media (min-width: 900px) {
  .film-menu .mega-trigger { font-size: clamp(13px,1.15vw,19px); }
}
