/* Single court-interpreter page (templates/interpreter-single.twig).
   Layout follows the approved profile mockup, restyled onto the site's own
   tokens from global.css (no new palette, no external fonts). */

/* ---------- hero ---------- */
.interpreter-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background: linear-gradient(135deg, #2f6390 0%, var(--blue-classic) 55%, #4f8cbe 100%);
}

.interpreter-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(255, 115, 25, 0.35), transparent 60%),
    radial-gradient(700px 500px at -10% 120%, rgba(255, 219, 87, 0.18), transparent 55%);
}

.interpreter-hero > .container {
  position: relative;
}

.interpreter-photo {
  position: relative;
  width: 260px;
  height: 260px;
}

.interpreter-photo-frame {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.interpreter-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.interpreter-photo-ring {
  position: absolute;
  inset: -14px;
  display: block;
  border: 2px dashed rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.interpreter-photo-badge {
  position: absolute;
  bottom: 4px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 3px solid var(--white);
  background: var(--orange-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.interpreter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interpreter-name {
  margin: 1rem 0 0.25rem;
  font-weight: 800;
  color: var(--white);
}

.interpreter-title-line {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 0.95;
}

.interpreter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

.interpreter-meta i {
  margin-right: 0.45rem;
  color: var(--yellow-gold);
}

.interpreter-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.interpreter-lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) {
  .interpreter-lang-chip:hover {
    background: rgba(255, 255, 255, 0.26);
    color: var(--white);
    transform: translateY(-2px);
  }
}

.interpreter-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- stats bar ---------- */
.interpreter-stats {
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.interpreter-stats .col {
  border-right: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}

.interpreter-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  text-align: center;
}

.interpreter-stat i {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  color: var(--orange-dark);
}

.interpreter-stat .num {
  display: block;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--blue-classic);
}

.interpreter-stat .lbl {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--grey-clay);
}

/* stacked (mobile): no vertical rules, last row has no bottom rule */
@media (max-width: 767.98px) {
  .interpreter-stats .col {
    border-right: none;
  }

  .interpreter-stats .col:last-child {
    border-bottom: none;
  }
}

@media (min-width: 768px) {
  .interpreter-stats .col {
    border-bottom: none;
  }

  .interpreter-stats .col:last-child {
    border-right: none;
  }
}

/* ---------- sections ---------- */
.interpreter-block-alt {
  background: var(--grey-faint);
}

.interpreter-sec-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.interpreter-sec-head .ico {
  flex: none;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-dark), var(--orange-light));
}

.interpreter-sec-head .ico.blue {
  background: linear-gradient(135deg, var(--blue-classic), #4f8cbe);
}

.interpreter-sec-head h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
}

.interpreter-sec-head .sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--grey-clay);
}

.interpreter-card-panel {
  padding: 2rem;
  border: 1px solid var(--grey-light);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.interpreter-card-panel p:last-child {
  margin-bottom: 0;
}

.interpreter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.interpreter-pill {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--grey-light);
  border-radius: 2rem;
  background: var(--grey-faint);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-olive);
}

/* ---------- services ---------- */
.interpreter-service {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--grey-light);
  border-radius: 1.25rem;
  background: var(--white);
}

.interpreter-service-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-classic), #5d97c9);
}

/* ---------- closing CTA ---------- */
.interpreter-cta-box {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  border-radius: 1.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-dark), var(--orange-light));
}

.interpreter-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 0, rgba(255, 255, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.interpreter-cta-box > * {
  position: relative;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .interpreter-hero {
    padding: 2.5rem 0;
    text-align: center;
  }

  .interpreter-meta,
  .interpreter-langs,
  .interpreter-cta {
    justify-content: center;
  }

  .interpreter-photo {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 575px) {
  .interpreter-card-panel {
    padding: 1.25rem;
  }

  .interpreter-cta-box {
    padding: 2rem 1.25rem;
  }
}
