/* ==========================================================================
   FAQ page (/syxnes-erotiseis): page-specific layout only.
   Components and tokens come from app.css.
   ========================================================================== */

/* Tall photo + main accordion ------------------------------------------------ */
.faq-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
}
.faq-intro__photo {
  height: 400px;
}
.faq-intro__photo > img {
  object-position: 50% 20%;
}
.faq-intro__content {
  min-width: 0;
}
.faq-intro__text {
  margin-bottom: var(--space-5);
}
@media (min-width: 768px) {
  .faq-intro {
    gap: var(--space-6);
  }
}
@media (min-width: 992px) {
  .faq-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  /* The list of questions is longer than the photo: the photo follows the
     scroll instead of leaving an empty column behind. */
  .faq-intro__media {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
  .faq-intro__photo {
    height: clamp(460px, calc(100vh - var(--header-h) - 40px), 700px);
  }
  .faq-intro__photo > img {
    object-position: 50% 50%;
  }
}
@media (min-width: 1280px) {
  .faq-intro {
    gap: 70px;
  }
}

/* Second group: wide photo on the white / navy edge -------------------------- */
/* The navy starts at the middle of the photo, whatever the open items do. */
.faq-more {
  --faq-photo-h: clamp(250px, 38vw, 500px);
  --split-at: calc(var(--section-y) + var(--faq-photo-h) / 2);
}
.faq-more__photo {
  height: var(--faq-photo-h);
  margin-bottom: var(--block-gap);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1280px) {
  .faq-more__photo {
    margin-bottom: var(--space-8);
  }
}

/* "Did not find it?" contact strip ------------------------------------------- */
/* Question and button on the first row, the direct contact channels below a
   hairline. */
.faq-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--block-gap);
  padding: 30px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-card);
  background: var(--navy-700);
}
.faq-help__text {
  min-width: 0;
}
.faq-help__title {
  margin-bottom: var(--space-2);
}
.faq-help__action {
  display: flex;
}
.faq-help__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-7);
  min-width: 0;
  margin: 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}
.faq-help__links > li {
  display: flex;
  min-width: 0;
}
.faq-help__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  min-height: 44px;
  color: #ffffff;
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.3;
}
.faq-help__link .icon {
  color: var(--accent);
}
.faq-help__link:hover {
  color: var(--accent);
}
.faq-help__label {
  display: block;
  color: var(--c-muted);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.faq-help__value {
  display: block;
  overflow-wrap: anywhere;
}
@media (min-width: 480px) {
  .faq-help {
    padding: 30px;
  }
}
@media (min-width: 768px) {
  .faq-help {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--space-6);
  }
  .faq-help__links {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1280px) {
  .faq-help {
    padding: 40px;
  }
}
