/* ==========================================================================
   pages/rolunk.css - Rólunk oldal specifikus szabályok
   (a .story-layout - kép+szöveg két hasáb - a components.css-ben van,
   mert az Akciók oldal is újrahasznosítja.)
   ========================================================================== */

/* -- Történelmi idővonal ------------------------------------------------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.timeline::before {
  content: '';
  position: absolute;
  top: 7px; left: 0; right: 0;
  height: 2px;
  background: var(--line-strong);
  z-index: 0;
}
.timeline-item { position: relative; z-index: 1; padding-top: 2.1rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--ink);
}
.timeline-item__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}
.timeline-item__desc { font-size: var(--fs-small); }

@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: var(--space-lg); }
  .timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .timeline-item { padding-top: 0; padding-left: 2.1rem; }
  .timeline-item::before { top: 4px; left: 0; }
}

/* -- Fotó-csík ("egy pillantás a mindennapjainkra") - a .gallery-tile
   stílusát hasznosítja újra (components.css), csak az elrendezés saját. */
.rolunk-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.rolunk-gallery .gallery-tile { aspect-ratio: 4 / 3; }

@media (max-width: 640px) {
  .rolunk-gallery { grid-template-columns: 1fr; }
}
