/* Καθηγητές (single + archive).

   Two type-specific pieces:
   1. The hero reuses the shared .neo-hero shell but runs an asymmetric split —
      the name in the narrower left column, the portrait in a rounded,
      brand-shadowed panel on the right, filled (cover) rather than the
      letterboxed contain the other singles use. Name only: no lead line.
   2. The profile section: the biography keeps a ~680px reading measure and the
      aside sits in a fixed right column carrying the role lines and the
      social-link icons as plain stacked text — no card, no border, no fill. */

/* --- Hero --- */
.neo-hero--kathigitis {
  gap: 0 clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
}

.neo-hero--kathigitis .neo-hero__content { gap: 14px; }

.neo-hero--kathigitis .neo-hero__media {
  align-self: center;
  aspect-ratio: 4 / 3.4;
  background-size: cover;
  border-radius: 12px !important;
  box-shadow: 0 20px 55px color-mix(in srgb, var(--neo-primary) 12%, transparent);
  min-height: 0;
  overflow: hidden;
}

/* --- Profile --- */
.neo-teacher-profile {
  align-items: start;
  display: grid;
  gap: clamp(36px, 5vw, 80px);
  grid-template-columns: minmax(0, 720px) 320px;
  justify-content: center;
}

.neo-teacher-profile--no-bio { grid-template-columns: minmax(0, 460px); }

.neo-teacher-profile__main { min-width: 0; }
.neo-teacher-profile__main .neo-prose { max-width: none; }

.neo-teacher-profile__aside {
  border: 1px solid color-mix(in srgb, var(--neo-primary) 23%, transparent);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 13px 10px;
  position: sticky;
  top: 96px;
}

.neo-teacher-facts { display: grid; gap: 18px; margin: 0; }
.neo-teacher-facts > div { display: grid; gap: 5px; }

.neo-teacher-facts dt {
  color: var(--neo-muted);
  font-family: var(--neo-accent-font) !important;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.neo-teacher-facts dd {
  color: var(--neo-primary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

/* Match the .neo-teacher-facts dt eyebrows exactly — the .neo-site.neo-site h3
   base rule (specificity 0,2,1) otherwise wins and renders this as an Arima
   display heading. The wrapper prefix lifts this to the same specificity. */
.neo-single--kathigitis .neo-teacher-social h3 {
  color: var(--neo-muted);
  font-family: var(--neo-accent-font) !important;
  font-size: .66rem !important;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.45;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.neo-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.neo-social-icons li { margin: 0; }

.neo-social-icons a {
  align-items: center;
  border: 1px solid var(--neo-line);
  border-radius: 10px !important;
  color: var(--neo-accent);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: background .2s, border-color .2s;
  width: 42px;
}

.neo-social-icons a:hover {
  background: color-mix(in srgb, var(--neo-accent) 10%, transparent);
  border-color: var(--neo-accent);
}

.neo-social-icons .neo-icon { flex: none; }
.neo-social-icons .neo-icon svg { height: 20px; width: 20px; }

@media (max-width: 900px) {
  .neo-teacher-profile,
  .neo-teacher-profile--no-bio { grid-template-columns: minmax(0, 1fr); }
  .neo-teacher-profile__main .neo-prose { max-width: none; }
  .neo-teacher-profile__aside {
    border-top: 1px solid var(--neo-line);
    padding-top: 28px;
    position: static;
  }
}

/* Hero stacks with the shared breakpoint: copy row, then the portrait. */
@media (max-width: 820px) {
  .neo-hero--kathigitis { grid-template-columns: 1fr; }
  .neo-hero--kathigitis .neo-hero__media { aspect-ratio: 16 / 10; }
}
