/* ===== Falatsarok Rólunk oldal specifikus stílusok ===== */

/* Hero szekció */
.rolunk-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-base);
}

.rolunk-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rolunk-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.9);
}

.rolunk-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding: var(--space-xxl) var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.rolunk-hero__eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-terracotta);
  margin: 0;
}

.rolunk-hero__content h1 {
  font-size: clamp(36px, 6vw, var(--text-display));
  line-height: var(--leading-display);
  font-weight: var(--weight-display);
  color: var(--text-primary);
  margin: 0;
  max-width: 100%;
}

.rolunk-hero__lead {
  font-size: clamp(16px, 2vw, 20px);
  line-height: var(--leading-body);
  color: var(--text-primary);
  max-width: 70%;
  margin: 0 auto;
  text-align: center;
}

.rolunk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.rolunk-hero__actions .btn {
  min-width: 180px;
}

/* Szekció szemöldök címke */
.rolunk-section-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-terracotta);
  margin-block-end: var(--space-sm);
}

/* Történetünk szekció */
.rolunk-tortenet {
  padding-block: var(--space-section);
}

.rolunk-tortenet__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-xl);
  align-items: center;
}

.rolunk-tortenet__text {
  min-width: 0;
}

.rolunk-tortenet__text h2 {
  margin-block-end: var(--space-lg);
}

.rolunk-tortenet__block {
  margin-block-end: var(--space-lg);
}

.rolunk-tortenet__block:last-child {
  margin-block-end: 0;
}

.rolunk-tortenet__block h3 {
  margin-block-end: var(--space-sm);
}

.rolunk-tortenet__block p {
  max-width: 60%;
  margin-block-end: 0;
}

.rolunk-tortenet__media {
  min-width: 0;
}

.rolunk-tortenet__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Csapatunk szekció */
.rolunk-csapat {
  padding-block: var(--space-section);
  background-color: var(--bg-surface);
}

.rolunk-csapat h2 {
  margin-block-end: var(--space-xl);
}

.rolunk-csapat__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.rolunk-csapat__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.rolunk-csapat__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.rolunk-csapat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-fast);
}

.rolunk-csapat__card:hover .rolunk-csapat__media img {
  transform: scale(1.03);
}

.rolunk-csapat__body {
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.rolunk-csapat__body h3 {
  margin: 0;
  font-size: var(--text-h3);
}

.rolunk-csapat__role {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-terracotta);
  margin: 0;
}

.rolunk-csapat__body p:last-child {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

/* Értékeink szekció */
.rolunk-ertekek {
  padding-block: var(--space-section);
}

.rolunk-ertekek h2 {
  margin-block-end: var(--space-xl);
}

.rolunk-ertekek__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.rolunk-ertekek__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}

.rolunk-ertekek__icon {
  color: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: var(--border-thin);
  border-radius: var(--radius-small);
  background-color: var(--bg-surface);
}

.rolunk-ertekek__card h3 {
  margin: 0;
}

.rolunk-ertekek__card p {
  margin: 0;
}

/* Kaszinó Kapcsolat szekció */
.rolunk-kaszino {
  padding-block: var(--space-section);
  background-color: var(--bg-surface);
}

.rolunk-kaszino__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.rolunk-kaszino__inner h2 {
  text-align: center;
  margin-block-end: var(--space-sm);
}

.rolunk-kaszino__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
}

.rolunk-kaszino__text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.rolunk-kaszino__text h3 {
  margin-block-end: var(--space-sm);
}

.rolunk-kaszino__text p {
  max-width: 70%;
  margin-inline: auto;
  text-align: center;
  margin-block-end: 0;
}

.rolunk-kaszino__media {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.rolunk-kaszino__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Helyszín és Elérhetőség szekció */
.rolunk-helyszin {
  padding-block: var(--space-section);
}

.rolunk-helyszin h2 {
  margin-block-end: var(--space-xl);
}

.rolunk-helyszin__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.rolunk-helyszin__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.rolunk-helyszin__block h3 {
  margin-block-end: var(--space-sm);
}

.rolunk-helyszin__block address {
  font-style: normal;
  color: var(--text-primary);
  margin-block-end: var(--space-sm);
}

.rolunk-helyszin__block p {
  max-width: 50%;
  margin-block-end: 0;
}

.rolunk-helyszin__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.rolunk-helyszin__contacts li {
  margin: 0;
}

.rolunk-helyszin__contacts a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.rolunk-helyszin__contacts a:hover {
  color: var(--text-primary);
}

.rolunk-helyszin__map {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-surface);
  border: var(--border-thin);
}

/* CTA szekció */
.rolunk-cta {
  padding-block: var(--space-section);
  background-color: var(--bg-surface);
  text-align: center;
}

.rolunk-cta__inner {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.rolunk-cta__inner h2 {
  margin: 0;
}

.rolunk-cta__inner p {
  max-width: 60%;
  margin: 0 auto;
  text-align: center;
}

.rolunk-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.rolunk-cta__actions .btn {
  min-width: 180px;
}

/* Jogi Megjegyzés szekció */
.rolunk-jogi {
  padding-block: var(--space-xxl);
  background-color: var(--bg-base);
}

.rolunk-jogi__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.rolunk-jogi__inner h3 {
  margin: 0;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.rolunk-jogi__inner p {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--text-secondary);
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}

/* Reszponzív töréspontok */
@media (max-width: 1024px) {
  .rolunk-tortenet__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .rolunk-tortenet__text,
  .rolunk-tortenet__media {
    width: 100%;
  }

  .rolunk-tortenet__block p {
    max-width: 100%;
  }

  .rolunk-csapat__grid,
  .rolunk-ertekek__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rolunk-helyszin__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .rolunk-helyszin__block p {
    max-width: 100%;
  }

  .rolunk-helyszin__map {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .rolunk-hero {
    min-height: 50vh;
  }

  .rolunk-hero__content {
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-md);
  }

  .rolunk-hero__lead {
    max-width: 100%;
  }

  .rolunk-hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .rolunk-hero__actions .btn {
    width: 100%;
  }

  .rolunk-csapat__grid,
  .rolunk-ertekek__grid {
    grid-template-columns: 1fr;
  }

  .rolunk-kaszino__text p {
    max-width: 100%;
  }

  .rolunk-cta__inner p {
    max-width: 100%;
  }

  .rolunk-cta__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .rolunk-cta__actions .btn {
    width: 100%;
  }

  .rolunk-jogi__inner p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .rolunk-hero {
    min-height: 60vh;
  }

  .rolunk-hero__content h1 {
    font-size: 28px;
  }

  .rolunk-hero__lead {
    font-size: 16px;
  }

  .rolunk-tortenet__grid,
  .rolunk-helyszin__grid {
    gap: var(--space-md);
  }

  .rolunk-csapat__grid,
  .rolunk-ertekek__grid {
    gap: var(--space-md);
  }

  .rolunk-csapat__body {
    padding: var(--space-md);
  }

  .rolunk-kaszino__content {
    gap: var(--space-lg);
  }

  .rolunk-helyszin__map {
    aspect-ratio: 4 / 3;
  }
}

/* mobile-media-center */
@media (max-width: 48rem) {
  .media-frame,
  .image-frame,
  [class*="__media"],
  [class*="__visual"] {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .media-frame > img,
  .media-frame img,
  .media-frame video,
  .image-frame img,
  [class*="__media"] img,
  [class*="__visual"] img,
  [class*="hero"] > img,
  figure img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* mobile-photo-center */
@media (max-width: 56.25rem) {
  img,
  video {
    object-position: center !important;
  }

  .image-frame,
  .media-frame,
  .card__media,
  [class*='__media'] {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    justify-self: stretch;
    overflow: hidden;
  }

  .image-frame img,
  .media-frame img,
  .media-frame video,
  .card__media img,
  [class*='__media'] img,
  [class*='hero'] img,
  [class*='hero__image'] {
    width: 100%;
    height: 100%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center !important;
  }
}
