/*
 Theme Name:   Ωδείο Ριζοπούλου
 Theme URI:    https://www.odeiorizopoulou.gr/
 Description:  Child theme of GeneratePress for Ωδείο Ριζοπούλου - matches the HTML prototype look; content editable in wp-admin.
 Author:       Ωδείο Ριζοπούλου
 Template:     generatepress
 Version:      1.10.56
 Requires at least: 6.0
 Text Domain:  odeio-rizopoulou
*/

/* ========== Design tokens ========== */
:root {
  --odeio-brand: #D6453D;
  --odeio-brand-dark: #B8362F;
  --odeio-ivory: #FAFAFA;
  --odeio-sand: #F3EFE9;
  --odeio-sand-dark: #E5DFD6;
  --odeio-sand-alt: #DED7CC;
  --odeio-text: #111111;
  --odeio-muted: #222222;
  --odeio-display: "Playfair Display", "Noto Sans Greek", Georgia, "Times New Roman", serif;
  --odeio-sans: Inter, "Noto Sans Greek", "Segoe UI", system-ui, sans-serif;
}

/* ========== Kill GeneratePress layout chrome ========== */
body.odeio-site,
body.odeio-site .site,
body.odeio-site .site-content,
body.odeio-site .content-area,
body.odeio-site .inside-article,
body.odeio-site #page,
body.odeio-site #content {
  background: var(--odeio-ivory) !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.odeio-site .site-header,
body.odeio-site .main-navigation,
body.odeio-site .site-footer,
body.odeio-site #right-sidebar,
body.odeio-site #left-sidebar,
body.odeio-site .sidebar,
body.odeio-site .widget-area {
  display: none !important;
}

body.odeio-site .grid-container,
body.odeio-site .container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.odeio-site.separate-containers .inside-article,
body.odeio-site.separate-containers .comments-area,
body.odeio-site.separate-containers .page-header,
body.odeio-site.separate-containers .paging-navigation {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html { scroll-behavior: smooth; }

body.odeio-site {
  background: var(--odeio-ivory);
  color: var(--odeio-text);
  /* Body + titles: Playfair (same face as «Ωδείο Ριζοπούλου») */
  font-family: var(--odeio-display);
  font-size: 1.125rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.odeio-section-title,
.odeio-hero__title,
.odeio-philosophy__eyebrow,
.odeio-program-card__body h3,
.odeio-video-band__title,
.odeio-mathima-article__title,
.odeio-mathima-article__h3 {
  /* Titles = Playfair Display (same face as «Ωδείο Ριζοπούλου») - never Inter/sans */
  font-family: var(--odeio-display) !important;
  font-weight: 600;
  color: var(--odeio-text);
  letter-spacing: -0.01em;
}

.odeio-btn {
  font-family: var(--odeio-sans);
  font-weight: 600;
  color: var(--odeio-text);
  letter-spacing: -0.01em;
}

/* Top nav titles = same display face as «Ωδείο Ριζοπούλου» */
.odeio-nav__link,
.odeio-mobile-menu__nav a {
  font-family: var(--odeio-display) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--odeio-text);
}

.odeio-display {
  font-family: var(--odeio-display);
  font-weight: 400;
}

a { color: var(--odeio-brand); }
a:hover { color: var(--odeio-brand-dark); }

.odeio-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.odeio-center { text-align: center; }

/* ========== Header ========== */
.odeio-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(231, 229, 228, 0.7);
}

.odeio-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.65rem 0;
}

@media (min-width: 900px) {
  .odeio-header__bar {
    min-height: 4.75rem;
    padding: 0.75rem 0;
  }
}

/* Original logo (PNG) */
.odeio-header__logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 3.5rem);
  text-decoration: none !important;
}

.odeio-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.odeio-logo--header {
  height: 2.65rem;
  /* Light mark → solid black on ivory header */
  filter: brightness(0);
}

.odeio-btn {
  color: #fff !important;
}

@media (min-width: 400px) {
  .odeio-logo--header { height: 3rem; }
}

@media (min-width: 900px) {
  .odeio-header__logo { flex: 0 1 auto; max-width: none; }
  .odeio-logo--header { height: 3.4rem; }
}

.odeio-logo--footer {
  height: 2.5rem;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.odeio-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.odeio-nav {
  display: none;
  align-items: center;
  gap: 1.85rem;
  font-size: 1.15rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .odeio-nav { display: flex; }
}

.odeio-nav__link {
  position: relative;
  color: var(--odeio-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.odeio-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--odeio-brand);
  transition: width 0.25s ease;
}

.odeio-nav__link:hover,
.odeio-nav__link.is-active {
  color: var(--odeio-brand);
}

.odeio-nav__link:hover::after,
.odeio-nav__link.is-active::after {
  width: 100%;
}

.odeio-social { display: none; align-items: center; gap: 0.45rem; }

@media (min-width: 900px) {
  .odeio-social--desktop { display: flex; }
}

.odeio-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  color: #78716c;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.odeio-social__btn svg {
  width: 1.375rem;
  height: 1.375rem;
}

.odeio-social__btn:hover {
  color: var(--odeio-brand);
  background: var(--odeio-sand);
}

/* Visible hamburger - CSS bars, not fragile SVG.
   Override GeneratePress button (#55555e charcoal) on hover/open. */
.odeio-menu-toggle {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #d6d3d1;
  border-radius: 2px;
  background: #fff;
  color: #78716c;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.odeio-menu-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.15rem;
}

.odeio-menu-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.odeio-menu-toggle:hover,
.odeio-menu-toggle:focus-visible,
.odeio-menu-toggle.is-open {
  color: var(--odeio-brand);
  background: var(--odeio-sand);
  border-color: var(--odeio-sand-alt);
}

.odeio-menu-toggle:focus-visible {
  outline: 2px solid var(--odeio-brand);
  outline-offset: 2px;
}

.odeio-menu-toggle.is-open .odeio-menu-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.odeio-menu-toggle.is-open .odeio-menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.odeio-menu-toggle.is-open .odeio-menu-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .odeio-menu-toggle { display: none; }
}

.odeio-mobile-menu {
  display: none;
  padding: 0.5rem 0 1.25rem;
  border-top: 1px solid #e7e5e4;
}

.odeio-mobile-menu.is-open { display: block; }

.odeio-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}

.odeio-mobile-menu__nav a {
  color: var(--odeio-text);
  text-decoration: none;
  padding: 0.85rem 0;
  font-size: 1.3rem;
  font-weight: 500;
  border-bottom: 1px solid #f0eeeb;
}

.odeio-mobile-menu__nav a.is-active,
.odeio-mobile-menu__nav a:hover {
  color: var(--odeio-brand);
}

.odeio-mobile-menu__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
}

.odeio-mobile-menu__social a {
  color: var(--odeio-brand);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.odeio-mobile-menu__social a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ========== Buttons ========== */
.odeio-btn {
  display: inline-block;
  background: var(--odeio-brand) !important;
  color: #fff !important;
  border-radius: 2px !important;
  padding: 0.875rem 2rem !important;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: background 0.2s ease;
  border: 0;
}

.odeio-btn:hover {
  background: var(--odeio-brand-dark) !important;
  color: #fff !important;
}

.odeio-btn--lg {
  font-size: 1.05rem !important;
  padding: 1rem 2.5rem !important;
}

.odeio-text-link {
  color: var(--odeio-brand);
  font-weight: 500;
  font-size: 1.15rem;
  text-decoration: none;
  text-underline-offset: 4px;
}

.odeio-text-link:hover { text-decoration: underline; }

/* ========== Sections ========== */
.odeio-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .odeio-section { padding: 5.5rem 0; }
}

.odeio-section--tight-top { padding-top: 0; }

.odeio-section-head { text-align: center; margin-bottom: 2.5rem; }

.odeio-section-title {
  font-size: clamp(1.95rem, 3.4vw, 2.55rem);
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

.odeio-section-rule {
  width: 3.5rem;
  height: 2px;
  background: var(--odeio-brand);
  margin: 1rem auto 1.25rem;
}

.odeio-section-rule--left { margin-left: 0; margin-right: 0; }

.odeio-muted {
  color: var(--odeio-muted);
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.05rem;
}

.odeio-address-link {
  color: var(--odeio-brand);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(150, 38, 31, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.odeio-address-link:hover {
  color: var(--odeio-brand-dark, #7a1e18);
  border-bottom-color: var(--odeio-brand);
}

a.odeio-teacher-name,
.odeio-mathima-article a,
.odeio-teacher-bio a {
  color: var(--odeio-brand);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 69, 61, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

a.odeio-teacher-name:hover,
.odeio-mathima-article a:hover,
.odeio-teacher-bio a:hover {
  color: var(--odeio-brand-dark);
  border-bottom-color: var(--odeio-brand);
}

.odeio-placeholder {
  background: var(--odeio-sand-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #a8a29e;
  min-height: 140px;
  border-radius: 2px;
}

.odeio-placeholder span {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.odeio-placeholder--hero {
  min-height: 100%;
  background: transparent;
  color: rgba(168, 162, 158, 0.5);
}

/* ========== Hero ========== */
.odeio-hero {
  position: relative;
  min-height: min(68vh, 34rem);
  width: 100%;
  overflow: hidden;
  background: #3A2A24;
}

@media (min-width: 768px) {
  .odeio-hero { min-height: 78vh; }
}

.odeio-hero__slides { position: absolute; inset: 0; }

.odeio-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
  background: #3A2A24;
  overflow: hidden;
}

.odeio-hero__slide:nth-child(even) { background: #32261F; }
.odeio-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.odeio-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transform: scale(1.02);
  transition: transform 7s ease-out;
}

.odeio-hero__slide.is-active .odeio-hero__img {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .odeio-hero {
    min-height: 0;
    box-sizing: border-box;
    padding: 0;
    background: linear-gradient(180deg, #f3efe9 0%, #fafafa 100%);
  }

  .odeio-hero__slides,
  .odeio-hero__slide {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: min(66.667vw, 300px);
    border-radius: 0 0 1.35rem 1.35rem;
  }

  .odeio-hero__img,
  .odeio-hero__slide.is-active .odeio-hero__img {
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .odeio-hero__slide {
    box-shadow: 0 14px 34px rgba(39, 27, 22, 0.16);
  }

}

@media (min-width: 768px) {
  .odeio-hero__img {
    object-position: center;
    transform: scale(1.03);
  }
  .odeio-hero__slide.is-active .odeio-hero__img {
    transform: scale(1.08);
  }
}

.odeio-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(22, 14, 11, 0.88) 0%, rgba(22, 14, 11, 0.55) 38%, rgba(22, 14, 11, 0.28) 68%, rgba(22, 14, 11, 0.4) 100%);
}

@media (min-width: 768px) {
  .odeio-hero__veil {
    background:
      radial-gradient(ellipse 54% 82% at 25% 50%, rgba(18, 11, 9, 0.58) 0%, rgba(18, 11, 9, 0.32) 48%, rgba(18, 11, 9, 0) 100%),
      linear-gradient(to top, rgba(22, 14, 11, 0.3) 0%, rgba(22, 14, 11, 0) 42%);
  }
}

.odeio-hero__content {
  position: relative;
  z-index: 10;
  min-height: min(68vh, 34rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 5.25rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .odeio-hero__content {
    min-height: 78vh;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.odeio-hero__copy {
  max-width: 40rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateY(18px);
  animation: odeio-hero-in 1.15s ease 0.25s forwards;
}

.odeio-hero__title {
  font-size: clamp(1.65rem, 6.5vw, 3.25rem);
  color: #FAFAFA !important;
  margin: 0 0 0.7rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .odeio-hero__title {
    margin: 0 0 0.85rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.76), 0 10px 30px rgba(0, 0, 0, 0.38);
  }
}

.odeio-hero__tagline {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 3.2vw, 1.12rem);
  line-height: 1.5;
  margin: 0 0 0.35rem;
  max-width: 36rem;
  font-family: var(--odeio-display);
  font-weight: 400;
  font-style: normal;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.odeio-hero__context {
  max-width: 36rem;
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.85rem, 2.6vw, 1rem);
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  .odeio-hero__tagline {
    line-height: 1.55;
    margin: 0 0 0.4rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.88), 0 7px 22px rgba(0, 0, 0, 0.48);
  }

  .odeio-hero__context {
    margin-bottom: 1.85rem;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.88), 0 7px 22px rgba(0, 0, 0, 0.48);
  }
}

.odeio-hero__cta { margin: 0; }

.odeio-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.65rem;
  height: 2.65rem;
  border: 0;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.92);
  color: var(--odeio-brand);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.odeio-hero__arrow:hover {
  background: #fff;
  color: var(--odeio-brand-dark);
  transform: translateY(-50%) scale(1.05);
}

.odeio-hero__arrow--prev { left: 0.75rem; }
.odeio-hero__arrow--next { right: 0.75rem; }

@media (min-width: 768px) {
  .odeio-hero__arrow {
    display: flex;
    width: 3.35rem;
    height: 3.35rem;
  }
  .odeio-hero__arrow--prev { left: 1.5rem; }
  .odeio-hero__arrow--next { right: 1.5rem; }
}

.odeio-hero__dots {
  position: absolute;
  bottom: 0.9rem;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .odeio-hero__dots { bottom: 1.5rem; }
}

.odeio-hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.odeio-hero__dot.is-active {
  background: var(--odeio-brand);
  width: 1.75rem;
}

@media (max-width: 767px) {
  .odeio-hero__veil {
    display: none;
  }

  .odeio-hero__content {
    min-height: 0;
    box-sizing: border-box;
    width: 100%;
    padding: calc(min(66.667vw, 300px) + 0.9rem) 1rem 2.7rem;
  }

  .odeio-hero__copy {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding: 1.25rem 1.15rem 1.2rem;
    border: 1px solid rgba(184, 54, 47, 0.08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 30px rgba(39, 27, 22, 0.12);
  }

  .odeio-hero__title {
    color: var(--odeio-text) !important;
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    margin-bottom: 0.55rem;
    text-shadow: none;
  }

  .odeio-hero__tagline {
    color: #28211e;
    font-family: var(--odeio-display);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.3rem;
    text-shadow: none;
  }

  .odeio-hero__context {
    color: #514741;
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 1rem;
    text-shadow: none;
  }

  .odeio-hero__cta .odeio-btn {
    width: auto;
    min-height: 0;
    padding: 0.62rem 0.82rem;
    font-size: 0.82rem;
    text-align: center;
  }

  .odeio-hero__dots {
    top: calc(min(66.667vw, 300px) - 1.15rem);
    bottom: auto;
    gap: 0.4rem;
  }

  .odeio-hero__dot {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  }
}

@keyframes odeio-hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Philosophy (homepage) ========== */
.odeio-section--philosophy {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 3rem;
  overflow: hidden;
  background: var(--odeio-ivory);
}

@media (max-width: 767px) {
  .odeio-section--philosophy {
    padding-top: 1.15rem;
  }
}

.odeio-philosophy {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.odeio-philosophy__emblem {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.odeio-philosophy__emblem img {
  display: block;
  width: min(20rem, 72%);
  height: auto;
  opacity: 0.1;
  mix-blend-mode: multiply;
  user-select: none;
}

.odeio-philosophy__body {
  position: relative;
  z-index: 1;
}

.odeio-philosophy__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--odeio-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--odeio-text);
  font-weight: 600;
}

.odeio-philosophy .odeio-section-rule {
  margin-bottom: 1.5rem;
}

.odeio-philosophy__text {
  margin: 0;
  font-family: var(--odeio-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.75;
  color: #111111;
  text-align: justify;
  text-justify: inter-word;
}

/* ========== Testimonials carousel (homepage) ========== */
.odeio-section--testimonials {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--odeio-ivory);
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

@media (min-width: 768px) {
  .odeio-section--testimonials {
    padding-top: 5.25rem;
    padding-bottom: 5.25rem;
  }
}

.odeio-section--testimonials .odeio-container {
  position: relative;
  z-index: 1;
}

.odeio-section--testimonials .odeio-section-head {
  margin-bottom: 2rem;
}

.odeio-section--testimonials .odeio-muted {
  font-size: 1.15rem;
}

.odeio-tcarousel {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  /* Side padding > arrow size so buttons sit clear of the cards. */
  padding: 0 3.6rem;
}

@media (min-width: 768px) {
  .odeio-tcarousel {
    max-width: 56rem;
    padding: 0 5rem;
  }
}

.odeio-tcarousel__viewport {
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.odeio-tcarousel__track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (min-width: 768px) {
  .odeio-tcarousel__track {
    align-items: stretch;
  }
}

.odeio-tcarousel__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  /* Horizontal inset so italic glyphs are not clipped by overflow:hidden. */
  padding: 0.4rem 0.85rem 0.65rem;
  text-align: center;
  opacity: 0.22;
  transform: none;
  transition: opacity 0.55s ease;
  pointer-events: none;
  box-sizing: border-box;
  overflow: visible;
}

@media (min-width: 768px) {
  .odeio-tcarousel__slide {
    flex-basis: auto;
    width: min(36rem, 92%);
    padding: 0.45rem 1.35rem 0.85rem;
    transform: scale(0.97);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
}

@media (min-width: 900px) {
  .odeio-tcarousel__slide {
    width: min(38rem, 86%);
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

.odeio-tcarousel__slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .odeio-tcarousel__slide.is-active {
    transform: scale(1);
  }
}

.odeio-tcarousel__link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  outline: none;
  border: 1px solid rgba(61, 35, 23, 0.07);
  background: #fff;
  box-shadow: 0 12px 32px rgba(61, 35, 23, 0.08);
  padding: 2rem 1.75rem 1.6rem;
  border-radius: 2px;
  overflow: visible;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .odeio-tcarousel__link {
    padding: 2.5rem 2.75rem 1.95rem;
  }
}

.odeio-tcarousel__link:hover {
  border-color: rgba(214, 69, 61, 0.22);
  box-shadow: 0 14px 34px rgba(61, 35, 23, 0.1);
}

.odeio-tcarousel__link:hover .odeio-tcarousel__name,
.odeio-tcarousel__link:focus-visible .odeio-tcarousel__name {
  color: var(--odeio-brand);
}

.odeio-tcarousel__link:focus-visible {
  outline: 2px solid rgba(150, 38, 31, 0.35);
  outline-offset: 6px;
}

.odeio-tcarousel__stars {
  color: var(--odeio-brand);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  margin-bottom: 1.05rem;
  opacity: 0.82;
}

.odeio-tcarousel__quote {
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 0;
  background: none;
  overflow: visible;
}

.odeio-tcarousel__quote p {
  margin: 0 auto;
  max-width: none;
  /* Extra inline room for italic Playfair + « » so overflow:hidden does not clip. */
  padding-inline: 0.45em;
  font-family: var(--odeio-display);
  font-size: clamp(1.02rem, 4.2vw, 1.28rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--odeio-text);
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .odeio-tcarousel__quote p {
    max-width: 38rem;
    padding-inline: 0.35em;
    font-size: clamp(1.08rem, 2.2vw, 1.45rem);
    line-height: 1.72;
  }
}

.odeio-tcarousel__meta {
  display: block;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(61, 35, 23, 0.1);
  font-family: var(--odeio-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--odeio-muted);
}

.odeio-tcarousel__name {
  color: var(--odeio-text);
  font-weight: 600;
  transition: color 0.2s ease;
}

.odeio-tcarousel__sep {
  margin: 0 0.35rem;
  opacity: 0.55;
}

.odeio-tcarousel__source {
  color: var(--odeio-brand);
  font-weight: 500;
}

.odeio-tcarousel__nav {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(150, 38, 31, 0.28);
  border-radius: 999px;
  background: #fff;
  background-color: #fff;
  color: var(--odeio-brand);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08);
  transition: color 0.2s ease, background 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .odeio-tcarousel__nav {
    width: 2.85rem;
    height: 2.85rem;
  }
}

/* Beat GeneratePress button:hover charcoal (#3f4047). Sand fill + brand icon. */
.odeio-tcarousel__nav:hover,
.odeio-tcarousel__nav:focus-visible {
  background: var(--odeio-sand) !important;
  background-color: var(--odeio-sand) !important;
  border-color: var(--odeio-sand-alt);
  color: var(--odeio-brand) !important;
  box-shadow: 0 1px 4px rgba(61, 35, 23, 0.08);
}

.odeio-tcarousel__nav:focus-visible {
  outline: 2px solid rgba(150, 38, 31, 0.45);
  outline-offset: 3px;
}

.odeio-tcarousel__nav--prev { left: 0; }
.odeio-tcarousel__nav--next { right: 0; }

.odeio-tcarousel__nav svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .odeio-tcarousel__nav svg {
    width: 1.35rem;
    height: 1.35rem;
  }
}

.odeio-tcarousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
}

.odeio-tcarousel__dot {
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--odeio-sand-alt);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  opacity: 0.75;
}

.odeio-tcarousel__dot.is-active {
  width: 1.45rem;
  background: var(--odeio-brand);
  opacity: 1;
}

.odeio-tcarousel__dot:focus-visible {
  outline: 2px solid rgba(150, 38, 31, 0.35);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .odeio-tcarousel {
    width: 100%;
    max-width: none;
    padding-inline: 1.65rem;
  }

  .odeio-tcarousel__slide {
    padding: 0.3rem 0.1rem 0.65rem;
  }

  .odeio-tcarousel__link {
    padding: 1.55rem 1.25rem 1.35rem;
  }

  .odeio-tcarousel__nav {
    top: 48%;
    width: 1.45rem;
    height: 2.75rem;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    font-size: 0;
  }

  .odeio-tcarousel__nav::before {
    display: block;
    color: var(--odeio-brand);
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
  }

  .odeio-tcarousel__nav--prev::before { content: "<"; }
  .odeio-tcarousel__nav--next::before { content: ">"; }
  .odeio-tcarousel__nav svg { display: none; }
  .odeio-tcarousel__nav--prev { left: 0; }
  .odeio-tcarousel__nav--next { right: 0; }

  .odeio-tcarousel__nav:hover,
  .odeio-tcarousel__nav:focus-visible {
    background: transparent !important;
    box-shadow: none;
  }
}

.odeio-tcarousel__more {
  margin: 1.75rem 0 0;
  text-align: center;
}

.odeio-tcarousel__more a {
  font-family: var(--odeio-sans);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--odeio-brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(150, 38, 31, 0.28);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.odeio-tcarousel__more a:hover,
.odeio-tcarousel__more a:focus-visible {
  color: var(--odeio-brand-dark);
  border-bottom-color: var(--odeio-brand-dark);
}

@media (prefers-reduced-motion: reduce) {
  .odeio-tcarousel__track,
  .odeio-tcarousel__slide,
  .odeio-tcarousel__dot {
    transition: none;
  }
}


/* ========== Space collage (9-tile wireframe mosaic) ========== */
#xoros .odeio-muted {
  font-size: 1.15rem;
}

.odeio-space-note {
  max-width: 40rem;
  margin: 2rem auto 0;
  padding: 1.35rem 1.6rem 1.4rem;
  background: #fff;
  border: 1px solid var(--odeio-sand-dark);
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(61, 35, 23, 0.05);
  font-style: italic;
}

.odeio-space-note p {
  margin: 0;
  font-family: var(--odeio-display);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--odeio-text);
}

.odeio-space-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--odeio-sand-dark);
  min-height: 0;
}

.odeio-space-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.odeio-space-tile:hover img {
  transform: scale(1.025);
}

/* Mobile: horizontal filmstrip (swipe) */
@media (max-width: 767px) {
  .odeio-space-hint {
    display: block;
    margin: -0.35rem 0 0.85rem;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #a8a29e;
  }

  .odeio-space-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.5rem;
    padding: 0.15rem 1.5rem 0.85rem;
    margin-inline: -1.5rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .odeio-space-grid::-webkit-scrollbar {
    display: none;
  }

  .odeio-space-tile {
    flex: 0 0 auto;
    grid-area: unset !important;
    scroll-snap-align: center;
    border-radius: 8px;
    width: min(78vw, 17.5rem);
    height: 14.25rem;
    min-height: 0;
    aspect-ratio: auto;
  }

  .odeio-space-tile--lead,
  .odeio-space-tile--anchor,
  .odeio-space-tile--square,
  .odeio-space-tile--narrow-a,
  .odeio-space-tile--narrow-b,
  .odeio-space-tile--accent,
  .odeio-space-tile--mid-wide,
  .odeio-space-tile--bottom-wide,
  .odeio-space-tile--mid-vert {
    width: min(78vw, 17.5rem);
    height: 14.25rem;
    aspect-ratio: auto;
  }
}

@media (min-width: 768px) {
  .odeio-space-hint {
    display: none;
  }

  .odeio-space-grid--mosaic {
    display: grid;
    width: 100%;
    aspect-ratio: 5 / 3;
    max-height: min(72vh, 680px);
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(12, minmax(0, 1fr));
    grid-template-areas:
      "lead   lead   accent accent anchor anchor"
      "lead   lead   accent accent anchor anchor"
      "lead   lead   accent accent anchor anchor"
      "lead   lead   square square anchor anchor"
      "lead   lead   square square anchor anchor"
      "lead   lead   square square anchor anchor"
      "lead   lead   square square anchor anchor"
      "na     nb     square square midw   midw   "
      "na     nb     midv   midv   midw   midw   "
      "na     nb     midv   midv   midw   midw   "
      "na     nb     midv   midv   bottom bottom"
      "na     nb     midv   midv   bottom bottom";
    gap: 0.55rem;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .odeio-space-tile {
    border-radius: 4px;
    min-height: 0;
  }

  .odeio-space-tile--lead {
    grid-area: lead;
    border-radius: 6px 4px 4px 6px;
  }

  .odeio-space-tile--lead img {
    object-position: center 45%;
  }

  .odeio-space-tile--narrow-a {
    grid-area: na;
    border-radius: 4px 2px 2px 4px;
  }

  .odeio-space-tile--narrow-a img {
    object-fit: cover;
    object-position: center 30%;
  }

  .odeio-space-tile--narrow-b {
    grid-area: nb;
    border-radius: 2px 4px 4px 2px;
  }

  .odeio-space-tile--narrow-b img {
    object-position: center 42%;
  }

  .odeio-space-tile--accent {
    grid-area: accent;
    border-radius: 4px;
  }

  .odeio-space-tile--accent img {
    object-position: center 58%;
  }

  .odeio-space-tile--square {
    grid-area: square;
    border-radius: 4px;
  }

  .odeio-space-tile--square img {
    object-position: center 48%;
  }

  .odeio-space-tile--mid-vert {
    grid-area: midv;
    border-radius: 4px;
  }

  .odeio-space-tile--mid-vert img {
    object-position: center 40%;
  }

  .odeio-space-tile--anchor {
    grid-area: anchor;
    border-radius: 4px 6px 6px 4px;
  }

  .odeio-space-tile--anchor img {
    object-fit: cover;
    object-position: center 42%;
  }

  .odeio-space-tile--mid-wide {
    grid-area: midw;
    border-radius: 4px;
  }

  .odeio-space-tile--mid-wide img {
    object-position: center 44%;
  }

  .odeio-space-tile--bottom-wide {
    grid-area: bottom;
    border-radius: 4px 6px 6px 4px;
  }

  .odeio-space-tile--bottom-wide img {
    object-position: center 50%;
  }
}

/* ========== Video band ========== */
.odeio-section--video {
  padding-left: 0;
  padding-right: 0;
}

.odeio-video-band {
  display: grid;
  background: var(--odeio-sand);
  overflow: hidden;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

@media (min-width: 1024px) {
  .odeio-video-band {
    grid-template-columns: 1.35fr 1fr;
    min-height: 420px;
    align-items: center;
  }
}

.odeio-video-band__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #2c211c;
  color: rgba(168, 162, 158, 0.7);
  overflow: hidden;
}

.odeio-video-band__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.odeio-video-band__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(250, 250, 250, 0.85);
  text-decoration: none;
}

.odeio-video-band__fallback span {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

@media (min-width: 1024px) {
  .odeio-video-band__media {
    aspect-ratio: auto;
    min-height: 420px;
    border-radius: 0 1.25rem 1.25rem 0;
  }
}

.odeio-video-band__text {
  padding: 2.5rem 1.5rem 2.75rem;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .odeio-video-band__text {
    padding: 3rem 3.5rem;
  }
}

.odeio-video-band__title {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  margin: 0;
  text-align: left;
  line-height: 1.25;
}

.odeio-video-band__lead {
  margin: 1rem 0 1.5rem;
  color: var(--odeio-muted);
  line-height: 1.7;
  font-size: 1.12rem;
  text-align: left;
}

.odeio-video-band__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
}

.odeio-video-band__links .odeio-text-link {
  font-size: 1.25rem;
}

/* Contact */
.odeio-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .odeio-contact { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.odeio-contact__map-col {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.odeio-contact__card {
  background: var(--odeio-sand);
  border-radius: 2px;
  padding: 2rem;
  margin-top: 1.25rem;
  font-family: var(--odeio-sans);
  font-size: 1.2rem;
  line-height: 1.65;
}

.odeio-contact__block { margin-bottom: 1.5rem; }
.odeio-contact__block:last-child { margin-bottom: 0; }

.odeio-contact__secretary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(63, 58, 52, 0.16);
}

.odeio-contact__secretary-photo {
  width: 5.5rem;
  height: 5.5rem;
  flex: 0 0 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: #e7e5e4;
}

.odeio-contact__secretary-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transform: scale(2.05);
  transform-origin: 82% 22%;
}

.odeio-contact__secretary-name {
  margin: 0;
  font-family: var(--odeio-display);
  font-size: 1.15rem;
  line-height: 1.35;
}

.odeio-contact__label {
  font-family: var(--odeio-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--odeio-text);
  margin: 0 0 0.4rem;
}

.odeio-contact__link {
  color: var(--odeio-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: 1.5;
}

.odeio-contact__link:hover {
  color: var(--odeio-brand);
  border-bottom-color: var(--odeio-brand);
}

.odeio-contact__link--lg { font-size: 1.25rem; }

.odeio-contact__sep { color: var(--odeio-text); margin: 0 0.35rem; }

.odeio-contact__block--hours {
  padding: 0;
}

.odeio-hours {
  width: auto;
  max-width: 100%;
  margin: 0.35rem 0 0;
  padding-left: 0.15rem;
  border-collapse: collapse;
  font-family: var(--odeio-sans);
  font-size: 1.2rem;
}

.odeio-hours th {
  text-align: right;
  font-weight: 500;
  padding: 0.42rem 1.6rem 0.42rem 0.85rem;
  color: var(--odeio-text);
}

.odeio-hours td {
  text-align: left;
  padding: 0.42rem 0.85rem 0.42rem 1.6rem;
  color: var(--odeio-text);
  white-space: nowrap;
}

.odeio-contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.odeio-contact__social a {
  color: var(--odeio-brand);
  font-weight: 500;
  text-decoration: none;
}

.odeio-contact__social a:hover { text-decoration: underline; text-underline-offset: 3px; }

.odeio-contact__cta {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: var(--odeio-sand);
  border-radius: 2px;
  padding: 1.75rem 2rem;
}

/* Exact homepage `.odeio-btn` (solid brand, white sans); only extra: center in the map column. */
.odeio-contact__cta .odeio-btn {
  align-self: center;
  display: inline-block;
  background: var(--odeio-brand) !important;
  color: #fff !important;
  border: 0;
  border-radius: 2px !important;
  padding: 0.875rem 2rem !important;
  font-family: var(--odeio-sans) !important;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease;
}

.odeio-contact__cta .odeio-btn:hover {
  background: var(--odeio-brand-dark) !important;
  color: #fff !important;
}

.odeio-contact__cta-lead {
  margin: 0 0 1rem;
  max-width: none;
  font-family: var(--odeio-display) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--odeio-text);
}

.odeio-contact__map {
  position: relative;
  min-width: 0;
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--odeio-sand-dark);
}

.odeio-contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
  display: block;
}

.odeio-contact__map .odeio-consent-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ========== Programs ========== */
.odeio-programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 640px) {
  .odeio-programs-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.25rem; }
}

@media (min-width: 1024px) {
  .odeio-programs-grid { grid-template-columns: repeat(3, 1fr); gap: 1.65rem 1.4rem; }
}

.odeio-program-card {
  display: block;
  background: transparent;
  border-radius: 0.65rem;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: none;
  transition: transform 0.35s ease;
  color: inherit;
}

.odeio-program-card:hover {
  transform: translateY(-3px);
}

.odeio-program-card__ph {
  aspect-ratio: 16 / 10;
  background: var(--odeio-sand-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #a8a29e;
  overflow: hidden;
  border-radius: 0.65rem;
}

.odeio-program-card__ph.is-alt { background: var(--odeio-sand-alt); }

.odeio-program-card__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.odeio-program-card:hover .odeio-program-card__ph img { transform: scale(1.03); }

.odeio-program-card__ph span {
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.odeio-program-card__body {
  padding: 0.95rem 0.15rem 0.25rem;
}

.odeio-program-card__body h3 {
  margin: 0;
  font-size: 1.35rem;
  font-family: var(--odeio-display) !important;
  font-weight: 600;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.odeio-program-card:hover .odeio-program-card__body h3 { color: var(--odeio-brand); }

.odeio-program-card__body p {
  margin: 0.3rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #78716c;
  text-align: justify;
  text-justify: inter-word;
}

/* ========== CTA band ========== */
.odeio-cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7f2eb 0%, var(--odeio-sand) 48%, #efe8df 100%);
  padding: 5rem 0;
  border-top: 1px solid rgba(222, 215, 204, 0.85);
  border-bottom: 0;
}

.odeio-cta-band__glow {
  position: absolute;
  inset: -25% 10% auto;
  height: 80%;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(214, 69, 61, 0.07), transparent 62%),
    radial-gradient(ellipse at 20% 80%, rgba(150, 38, 31, 0.04), transparent 55%);
  pointer-events: none;
}

.odeio-cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 2.25rem 1.75rem 2.5rem;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(229, 223, 214, 0.95);
  border-radius: 1.25rem;
  box-shadow: 0 18px 48px rgba(58, 42, 36, 0.06);
}

.odeio-cta-band__lead {
  margin-bottom: 1.75rem;
}

.odeio-cta-band .odeio-section-title {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  line-height: 1.35;
}

@media (min-width: 768px) {
  .odeio-cta-band { padding: 6rem 0; }

  .odeio-cta-band__inner {
    padding: 2.75rem 2.5rem 3rem;
  }
}

/* ========== 404 ========== */
.odeio-404__stage {
  min-height: min(70vh, 36rem);
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  background: var(--odeio-ivory);
}

.odeio-404__inner {
  max-width: 32rem;
  text-align: center;
  margin: 0 auto;
}

.odeio-404__mark {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
  pointer-events: none;
}

.odeio-404__mark img {
  width: min(5.5rem, 22vw);
  height: auto;
  opacity: 0.12;
  mix-blend-mode: multiply;
}

.odeio-404__code {
  margin: 0 0 0.5rem;
  font-family: var(--odeio-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--odeio-brand);
  font-weight: 500;
}

.odeio-404__title {
  margin: 0 0 0.85rem;
  font-family: var(--odeio-display);
  font-size: clamp(2.1rem, 6vw, 2.85rem);
  line-height: 1.12;
  color: var(--odeio-text) !important;
}

.odeio-404__lead {
  margin: 0 auto 1.75rem;
  max-width: 26rem;
  font-family: var(--odeio-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--odeio-muted);
}

.odeio-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.odeio-btn--ghost {
  background: transparent !important;
  color: var(--odeio-brand) !important;
  border: 1px solid rgba(150, 38, 31, 0.35) !important;
  box-shadow: none !important;
}

.odeio-btn--ghost:hover {
  background: rgba(150, 38, 31, 0.06) !important;
  border-color: var(--odeio-brand) !important;
}

.odeio-404__help {
  margin: 0;
  font-size: 0.9rem;
  color: #a8a29e;
}

.odeio-404__help a {
  color: var(--odeio-brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(150, 38, 31, 0.3);
}

.odeio-404__help a:hover {
  border-bottom-color: var(--odeio-brand);
}

/* ========== Homepage motion ========== */
.odeio-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.odeio-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .odeio-hero__copy {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .odeio-hero__img,
  .odeio-hero__slide.is-active .odeio-hero__img {
    transform: none;
    transition: none;
  }
  .odeio-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== Footer ========== */
.odeio-footer {
  background: #1c1917;
  color: #d6d3d1;
  padding: 3rem 0 0;
}

.odeio-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.odeio-footer__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  min-width: 0;
}

@media (min-width: 768px) {
  .odeio-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .odeio-footer__pair { display: contents; }
}

.odeio-footer__logo {
  display: inline-block;
  text-decoration: none !important;
}

.odeio-footer__heading {
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
}

.odeio-footer__muted {
  font-size: 0.875rem;
  color: #a8a29e;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.odeio-footer__muted a { color: #a8a29e; text-decoration: none; }
.odeio-footer__muted a:hover { color: #fff; }

.odeio-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.odeio-footer__links li { margin-bottom: 0.5rem; }

.odeio-footer__links a {
  color: #d6d3d1;
  text-decoration: none;
}

.odeio-footer__links a:hover { color: #fff; }

.odeio-footer__copy {
  border-top: 1px solid #44403c;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.75rem;
  color: #78716c;
  text-align: center;
  /* Playfair lacks full Greek - force a Greek-capable stack here. */
  font-family: "Noto Sans Greek", Inter, "Segoe UI", system-ui, sans-serif;
}

.odeio-footer__recognition {
  margin: 0 0 0.65rem;
  max-width: 42rem;
  margin-inline: auto;
  color: #a8a29e;
  line-height: 1.55;
}

.odeio-footer__legal {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: #78716c;
}

.odeio-footer__copyright {
  margin: 0;
  color: #57534e;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.8rem;
}

.odeio-footer__credit {
  color: #a8a29e;
  font-style: italic;
}

.odeio-footer__legal-links {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: #a8a29e;
}

.odeio-footer__legal-links a,
.odeio-footer__cookies-btn {
  color: #d6d3d1;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.odeio-footer__legal-links a:hover,
.odeio-footer__cookies-btn:hover {
  color: #fff;
}

.odeio-consent-embed {
  position: absolute;
  inset: 0;
}

.odeio-consent-facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.25rem;
  text-align: center;
  color: rgba(250, 250, 250, 0.9);
  background: #2c211c;
}

.odeio-consent-facade p {
  margin: 0;
  max-width: 22rem;
  font-family: var(--odeio-sans);
  font-size: 0.95rem;
  line-height: 1.5;
}

.odeio-consent-facade__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.odeio-consent-facade--map {
  color: var(--odeio-text);
  background: var(--odeio-sand-dark);
}

.odeio-consent-facade--map p {
  color: var(--odeio-muted);
}

.odeio-video-band__fallback-link,
.odeio-consent-facade .odeio-contact__link {
  color: inherit;
  font-size: 0.9rem;
}

.odeio-contact__map-frame,
.odeio-consent-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.odeio-cookie-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  background: #fff;
  border-top: 1px solid var(--odeio-sand-dark);
  box-shadow: 0 -10px 32px rgba(17, 17, 17, 0.08);
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  font-family: var(--odeio-sans);
}

.odeio-cookie-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
}

.odeio-cookie-bar__title {
  margin: 0 0 0.25rem;
  font-family: var(--odeio-display);
  font-size: 1.05rem;
}

.odeio-cookie-bar__text {
  margin: 0;
  max-width: 42rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--odeio-muted);
}

.odeio-cookie-bar__text a {
  color: var(--odeio-brand);
}

.odeio-cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.odeio-cookie-bar__btn {
  appearance: none;
  border-radius: 2px;
  padding: 0.7rem 1.25rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.odeio-cookie-bar__btn--accept {
  background: var(--odeio-brand);
  color: #fff;
  border: 0;
}

.odeio-cookie-bar__btn--accept:hover {
  background: var(--odeio-brand-dark);
}

.odeio-cookie-bar__btn--reject {
  background: #fff;
  color: var(--odeio-text);
  border: 1px solid var(--odeio-sand-dark);
}

body.odeio-cookie-open {
  padding-bottom: 7.5rem;
}

/* ========== Events (even grid) ========== */
.odeio-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .odeio-events-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .odeio-events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.odeio-event-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: var(--odeio-sand-dark);
}

.odeio-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(61, 35, 23, 0.16);
}

.odeio-event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease;
}

.odeio-event-card:hover img {
  transform: scale(1.03);
}

.odeio-event-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 18, 14, 0.78), rgba(28, 18, 14, 0.12) 55%, rgba(28, 18, 14, 0.05));
  transition: background 0.35s ease;
  z-index: 1;
}

.odeio-event-card:hover .odeio-event-card__overlay {
  background: linear-gradient(to top, rgba(28, 18, 14, 0.82), rgba(28, 18, 14, 0.18) 55%, rgba(28, 18, 14, 0.08));
}

.odeio-event-card__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.75rem;
  z-index: 2;
  color: #fff;
}

.odeio-event-card__meta {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 0.75;
  margin-bottom: 0.4rem;
}

.odeio-event-card__title {
  font-family: var(--odeio-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  margin: 0;
  color: #fff !important;
}

.odeio-event-card__date {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.odeio-event-meta {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #a8a29e;
  margin-bottom: 0.35rem;
}

/* ========== Event photo gallery ========== */
.odeio-event-gallery-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2c1810;
}

.odeio-event-gallery-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.odeio-event-gallery-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 16, 12, 0.88), rgba(28, 16, 12, 0.25));
}

.odeio-event-gallery-hero__copy {
  position: relative;
  z-index: 2;
  padding-bottom: 2.25rem;
  color: #fafafa;
  width: 100%;
}

.odeio-event-gallery-hero__copy h1 {
  margin: 0;
  color: #fafafa !important;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.odeio-event-gallery-hero__meta {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(250, 250, 250, 0.72);
}

.odeio-event-gallery-hero__count {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.78);
}

.odeio-event-gallery-section {
  padding-top: 2.5rem;
}

.odeio-event-gallery-hint {
  margin: 0 auto 1.25rem;
  text-align: center;
  max-width: 36rem;
}

.odeio-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .odeio-photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .odeio-photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.odeio-photo-grid__item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 3;
  background: var(--odeio-sand-dark);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 2px;
}

.odeio-photo-grid__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.odeio-event-gallery-back {
  margin-top: 2.75rem;
  text-align: center;
}

.odeio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(18, 12, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 3rem 2.5rem;
}

.odeio-lightbox[hidden] {
  display: none !important;
}

.odeio-lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  text-align: center;
}

.odeio-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 6.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.odeio-lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.85rem;
}

.odeio-lightbox__cap {
  margin: 0;
  color: rgba(250, 250, 250, 0.7);
  font-size: 0.85rem;
}

.odeio-lightbox__download {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(250, 250, 250, 0.55);
  border-radius: 2px;
  color: #fafafa !important;
  text-decoration: none !important;
  font-family: var(--odeio-sans);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.odeio-lightbox__download:hover {
  background: rgba(250, 250, 250, 0.12);
  border-color: #fff;
  color: #fff !important;
}

.odeio-lightbox__close,
.odeio-lightbox__nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fafafa;
  cursor: pointer;
  line-height: 1;
}

.odeio-lightbox__close {
  top: 0.75rem;
  right: 1rem;
  font-size: 2.4rem;
  opacity: 0.85;
}

.odeio-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 0.5rem 0.75rem;
  opacity: 0.8;
}

.odeio-lightbox__nav--prev { left: 0.35rem; }
.odeio-lightbox__nav--next { right: 0.35rem; }

.odeio-lightbox__close:hover,
.odeio-lightbox__nav:hover {
  opacity: 1;
  color: #fff;
}

body.odeio-lightbox-open {
  overflow: hidden;
}

/* ========== Teachers ========== */
.odeio-teacher-filter {
  margin: 0 0 2.25rem;
}

.odeio-teacher-filter__mobile {
  position: relative;
  max-width: 24rem;
}

.odeio-teacher-filter__mobile-btn {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--odeio-sand-alt);
  border-radius: 999px;
  background: #fff;
  color: var(--odeio-text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.odeio-teacher-filter__mobile-btn::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
  flex-shrink: 0;
}

.odeio-teacher-filter__mobile-btn:hover,
.odeio-teacher-filter__mobile-btn:focus-visible,
.odeio-teacher-filter__mobile.is-open .odeio-teacher-filter__mobile-btn {
  background: var(--odeio-sand);
  border-color: var(--odeio-brand);
  color: var(--odeio-brand);
}

.odeio-teacher-filter__mobile-btn:focus-visible {
  outline: 2px solid var(--odeio-brand);
  outline-offset: 2px;
}

.odeio-teacher-filter__mobile.is-open .odeio-teacher-filter__mobile-btn::after {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.odeio-teacher-filter__menu {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--odeio-sand-alt);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
}

.odeio-teacher-filter__option {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--odeio-text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odeio-teacher-filter__option:hover,
.odeio-teacher-filter__option:focus-visible {
  background: var(--odeio-sand);
  color: var(--odeio-brand);
}

.odeio-teacher-filter__option:focus-visible {
  outline: 2px solid var(--odeio-brand);
  outline-offset: -2px;
}

.odeio-teacher-filter__option:active {
  background: var(--odeio-sand-dark);
  color: var(--odeio-brand);
}

.odeio-teacher-filter__option.is-active {
  background: var(--odeio-brand);
  color: #fff;
}

.odeio-teacher-filter__option.is-active:hover,
.odeio-teacher-filter__option.is-active:focus-visible,
.odeio-teacher-filter__option.is-active:active {
  background: var(--odeio-brand-dark);
  color: #fff;
}

.odeio-teacher-filter__chips {
  display: none;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
}

@media (min-width: 768px) {
  .odeio-teacher-filter__mobile { display: none; }
  .odeio-teacher-filter__chips { display: flex; }
}

.odeio-teacher-filter__chip {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  border: 1px solid var(--odeio-sand-alt);
  background: #fff;
  color: var(--odeio-text);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.odeio-teacher-filter__chip:hover,
.odeio-teacher-filter__chip:focus-visible {
  background: var(--odeio-sand);
  border-color: var(--odeio-brand);
  color: var(--odeio-brand);
}

.odeio-teacher-filter__chip:focus-visible {
  outline: 2px solid var(--odeio-brand);
  outline-offset: 2px;
}

.odeio-teacher-filter__chip:active {
  background: var(--odeio-sand-dark);
  border-color: var(--odeio-brand);
  color: var(--odeio-brand);
}

.odeio-teacher-filter__chip.is-active {
  background: var(--odeio-brand);
  border-color: var(--odeio-brand);
  color: #fff;
}

.odeio-teacher-filter__chip.is-active:hover,
.odeio-teacher-filter__chip.is-active:focus-visible,
.odeio-teacher-filter__chip.is-active:active {
  background: var(--odeio-brand-dark);
  border-color: var(--odeio-brand-dark);
  color: #fff;
}

.odeio-teacher-card.is-filtered-out {
  display: none;
}

.odeio-teacher-filter__empty {
  margin: 1.5rem 0 0;
}

.odeio-teachers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  justify-items: center;
}

@media (min-width: 768px) {
  .odeio-teachers-grid { grid-template-columns: repeat(3, 1fr); }
}

.odeio-teacher-card {
  text-align: center;
  text-decoration: none !important;
  color: inherit;
  max-width: 20rem;
  transition: transform 0.35s ease;
}

.odeio-teacher-card:hover { transform: translateY(-4px); }

.odeio-teacher-card__photo {
  width: min(17.25rem, 88vw);
  height: min(17.25rem, 88vw);
  border-radius: 50%;
  overflow: hidden;
  background: #e7e5e4;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 768px) {
  .odeio-teacher-card__photo {
    width: 19rem;
    height: 19rem;
  }
}

.odeio-teacher-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
}

/* Peephole portrait: zoom onto the face so it sits in the circle. */
.odeio-teacher-card__photo img[src*="eirini-tiniakou"] {
  transform: scale(1.32);
  transform-origin: 42% 36%;
}

.odeio-teacher-card__name {
  font-family: var(--odeio-display);
  color: var(--odeio-brand) !important;
  font-size: 1.1rem;
  margin: 1.1rem 0 0.25rem;
}

.odeio-teacher-card__role {
  color: #57534e;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0.35rem 0 0;
  line-height: 1.45;
  max-width: 17rem;
}

.odeio-teacher-cv__role {
  color: #57534e;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0.5rem auto 1.5rem;
  max-width: 36rem;
  text-align: center;
}

.odeio-teacher-cv__photo {
  width: min(17rem, 88vw);
  height: min(17rem, 88vw);
}

@media (min-width: 768px) {
  .odeio-teacher-cv__photo {
    width: 21rem;
    height: 21rem;
  }
}

.odeio-teacher-intro {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.3rem;
  border-left: 4px solid var(--odeio-brand);
  border-radius: 0.75rem;
  background: var(--odeio-sand);
}

.odeio-teacher-intro p {
  margin: 0;
  font-weight: 500;
  text-align: left;
}

.odeio-teacher-bio p {
  margin: 0 0 1rem;
  color: var(--odeio-text);
  text-align: justify;
  text-justify: inter-word;
}

.odeio-teacher-bio p:last-child {
  margin-bottom: 0;
}

/* ========== Lessons collage - equal 3:2 tiles (match category photos) ========== */
.odeio-section:has(.odeio-lessons-grid) {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .odeio-section:has(.odeio-lessons-grid) {
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }
}

.odeio-lessons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .odeio-lessons-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .odeio-lessons-grid:not(.odeio-mathimata-categories) {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

.odeio-lesson-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 2;
  min-height: 0;
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none !important;
  background: var(--odeio-sand-dark);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.odeio-lesson-tile:hover {
  transform: scale(1.01);
  box-shadow: 0 16px 36px rgba(61, 35, 23, 0.14);
}

.odeio-lesson-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.odeio-lesson-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 24, 16, 0.78), rgba(44, 24, 16, 0.12) 55%);
}

.odeio-lesson-tile__text {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem;
  color: #fff;
  width: 100%;
}

.odeio-lesson-tile__text h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  color: #fff !important;
  font-family: var(--odeio-display) !important;
  font-weight: 600;
  line-height: 1.25;
}

.odeio-lesson-tile__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
}

.odeio-lesson-tile__sub {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

.odeio-lesson-tile.is-alt-a { background: var(--odeio-sand-alt); }
.odeio-lesson-tile.is-alt-b { background: #E8E2D8; }
.odeio-lesson-tile.is-alt-c { background: #D9D1C4; }

/* ========== Μαθήματα overview - slightly larger category tiles (page only) ========== */
body.page-mathimata .odeio-section:has(.odeio-mathimata-categories) .odeio-container {
  max-width: 84rem;
}

.odeio-lessons-grid.odeio-mathimata-categories,
body.page-mathimata .odeio-mathimata-categories {
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .odeio-lessons-grid.odeio-mathimata-categories,
  body.page-mathimata .odeio-mathimata-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .odeio-lessons-grid.odeio-mathimata-categories,
  body.page-mathimata .odeio-mathimata-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }
}

body.page-mathimata .odeio-mathimata-categories .odeio-lesson-tile {
  aspect-ratio: 5 / 3;
  min-height: 10.5rem;
}

@media (min-width: 640px) {
  body.page-mathimata .odeio-mathimata-categories .odeio-lesson-tile {
    min-height: 11.5rem;
  }
}

body.page-mathimata .odeio-mathimata-categories .odeio-lesson-tile__text {
  padding: 1.4rem 1.65rem;
}

body.page-mathimata .odeio-mathimata-categories .odeio-lesson-tile__text h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.65rem);
}

body.page-mathimata .odeio-mathimata-categories .odeio-lesson-tile__sub {
  font-size: 0.9375rem;
}

.odeio-page-hero {
  position: relative;
  height: 32vh;
  min-height: 200px;
  width: 100%;
  overflow: hidden;
  background: #3A2A24;
  display: flex;
  align-items: flex-end;
}

@media (max-width: 767px) {
  .odeio-page-hero {
    height: clamp(120px, 38vw, 155px);
    min-height: 120px;
  }

  .odeio-page-hero--photo {
    background-size: 100% 100%, contain;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
  }
}

.odeio-page-hero--photo {
  background-color: #2c1810;
  background-image:
    linear-gradient(to top, rgba(28, 16, 12, 0.78), rgba(28, 16, 12, 0.28)),
    var(--odeio-page-hero-image);
  background-size: cover;
  background-position: center;
}

.odeio-page-hero h1 {
  color: #FAFAFA !important;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .odeio-page-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
    padding-bottom: 1rem;
  }
}

.odeio-admin-hint {
  background: #fff7ed;
  border-left: 3px solid var(--odeio-brand);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #57534e;
  margin-bottom: 1.5rem;
}

/* ========== Gift cards (Μαθήματα) ========== */
.odeio-giftcards {
  background:
    linear-gradient(180deg, rgba(243, 239, 233, 0.55) 0%, transparent 42%),
    var(--odeio-ivory);
  border-top: 1px solid var(--odeio-sand-dark);
}

.odeio-giftcards .odeio-lede {
  font-size: 1.32rem;
  line-height: 1.7;
  color: var(--odeio-text);
}

.odeio-gift-pitch {
  margin: 0 auto 2.25rem;
  max-width: 40rem;
  text-align: center;
  font-family: var(--odeio-display);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  font-style: italic;
  color: var(--odeio-brand);
  line-height: 1.45;
}

.odeio-gift-category {
  margin: 0 0 2.75rem;
}

.odeio-gift-category + .odeio-gift-category {
  margin-top: 3.25rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--odeio-sand-dark);
}

.odeio-gift-category:last-of-type {
  margin-bottom: 0;
}

.odeio-gift-category__head {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  text-align: center;
}

.odeio-gift-category__title {
  margin: 0;
  font-family: var(--odeio-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--odeio-text);
  letter-spacing: 0.01em;
}

.odeio-gift-category__price {
  margin: 0;
  font-family: var(--odeio-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--odeio-brand);
  letter-spacing: 0.01em;
}

.odeio-gift-category__desc {
  margin: 0 auto 1.75rem;
  max-width: 42rem;
  text-align: center;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--odeio-text);
}

.odeio-gift-category__desc p {
  margin: 0 0 0.75rem;
}

.odeio-gift-category__desc p:last-child {
  margin-bottom: 0;
}

.odeio-gift-offerings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.35rem;
  margin: 0.5rem auto 0;
  align-items: start;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 720px) {
  .odeio-gift-offerings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 1.85rem 1.75rem;
    max-width: 52rem;
  }
}

.odeio-gift-offering {
  margin: 0;
  min-width: 0;
}

.odeio-gift-offering .odeio-gift-grid {
  display: grid;
  max-width: none;
  width: 100%;
  margin: 0 0 0.85rem;
  grid-template-columns: 1fr !important;
}

.odeio-gift-offering .odeio-gift {
  width: 100%;
}

.odeio-gift-offering .odeio-gift__visual {
  background: #fff;
  width: 100%;
}

.odeio-gift-offering .odeio-gift__visual img {
  object-fit: contain;
  object-position: center;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.odeio-gift-offering__head {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0 0 0.65rem;
  text-align: center;
}

.odeio-gift-offering__title {
  margin: 0;
  font-family: var(--odeio-display);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 600;
  color: var(--odeio-text);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.odeio-gift-offering__price {
  margin: 0;
  font-family: var(--odeio-display);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 600;
  color: var(--odeio-brand);
  letter-spacing: 0.01em;
}

.odeio-gift-offering__note {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--odeio-text);
}

.odeio-gift-offering__desc {
  margin: 0;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--odeio-text);
}

.odeio-gift-offering__desc p {
  margin: 0 0 0.55rem;
}

.odeio-gift-offering__desc p:last-child {
  margin-bottom: 0;
}

.odeio-gift-offering__more {
  margin: 0.9rem 0 0;
  text-align: center;
}

.odeio-gift-offering__more-btn {
  padding: 0.55rem 1.15rem !important;
  font-size: 0.82rem !important;
}

.odeio-gift-offering__more-btn:hover,
.odeio-gift-offering__more-btn:focus-visible {
  background: #F7F3ED !important;
  border-color: var(--odeio-brand) !important;
  color: var(--odeio-brand) !important;
}

.odeio-gift-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .odeio-gift-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.5rem;
  }
}

@media (min-width: 1100px) {
  .odeio-gift-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .odeio-gift-offering .odeio-gift-grid {
    grid-template-columns: 1fr !important;
  }
}

.odeio-gift {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100%;
}

.odeio-gift__visual {
  position: relative;
  aspect-ratio: 1.38 / 1;
  overflow: hidden;
  background: var(--odeio-sand-dark);
}

.odeio-gift__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.odeio-gift:hover .odeio-gift__visual img {
  transform: scale(1.03);
}

.odeio-gift__caption {
  margin: 0.65rem 0 0;
  padding: 0 0.1rem;
  font-family: var(--odeio-display);
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--odeio-text);
  text-align: center;
}

.odeio-gift__body {
  padding: 1.15rem 0.15rem 0.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.odeio-gift__badge {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--odeio-muted);
  font-family: var(--odeio-display);
}

.odeio-gift__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--odeio-text) !important;
}

.odeio-gift__price {
  margin: 0.55rem 0 0;
  font-family: var(--odeio-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--odeio-brand);
  letter-spacing: 0.01em;
}

.odeio-gift__note {
  margin: 0.25rem 0 0;
  font-size: 0.98rem;
  color: var(--odeio-text);
}

.odeio-gift__desc {
  margin-top: 0.75rem;
  font-size: 0.98rem;
  color: var(--odeio-text);
  line-height: 1.55;
}

.odeio-gift__desc p {
  margin: 0 0 0.5rem;
}

.odeio-gift__desc p:last-child {
  margin-bottom: 0;
}

.odeio-gift-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ========== Archive / page overview intro (Μαθήματα, Διδασκαλία, Εκδηλώσεις) ========== */
.odeio-archive-overview,
.odeio-mathimata-overview {
  max-width: none;
  margin: 0 0 2.5rem;
  text-align: justify;
  text-justify: inter-word;
  font-family: var(--odeio-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--odeio-text);
}

/* ========== Category page (κατεύθυνση) ========== */
.odeio-mathima__wrap {
  max-width: 72rem;
}

.odeio-mathima__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--odeio-muted);
}

.odeio-mathima__crumb a {
  color: var(--odeio-brand);
  text-decoration: none;
  font-weight: 500;
}

.odeio-mathima__crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.odeio-mathima__teaser {
  margin: 0 0 1.75rem;
  font-family: var(--odeio-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  color: var(--odeio-text);
  max-width: none;
  text-align: justify;
  text-justify: inter-word;
}

.odeio-tettix-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin: 0 0 2rem;
  padding: 0;
  background: none;
}

.odeio-mathima__teaser + .odeio-tettix-social,
.odeio-mathima__back + .odeio-tettix-social {
  margin-top: -0.35rem;
}

.odeio-tettix-social__label {
  margin: 0;
  flex: 1 1 16rem;
  font-family: var(--odeio-display);
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  color: var(--odeio-text);
  text-transform: none;
}

.odeio-tettix-social__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.odeio-tettix-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  border: 1px solid var(--odeio-sand-alt);
  border-radius: 2px;
  background: #fff;
  color: var(--odeio-text);
  font-family: var(--odeio-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.odeio-tettix-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--odeio-brand);
}

.odeio-tettix-social__link:hover,
.odeio-tettix-social__link:focus-visible {
  border-color: var(--odeio-brand);
  background: var(--odeio-sand);
  color: var(--odeio-brand);
}

.odeio-tettix-social__link:focus-visible {
  outline: 2px solid var(--odeio-brand);
  outline-offset: 2px;
}

@media (max-width: 639px) {
  .odeio-tettix-social {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    border: 1px solid var(--odeio-sand-alt);
    border-radius: 0.75rem;
    background: var(--odeio-sand);
  }

  .odeio-mathima__teaser + .odeio-tettix-social,
  .odeio-mathima__back + .odeio-tettix-social {
    margin-top: -1.2rem;
  }

  .odeio-tettix-social__label {
    flex: none;
    width: 100%;
    font-size: 1rem;
    line-height: 1.35;
    text-align: center;
  }

  .odeio-tettix-social__row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .odeio-tettix-social__link {
    min-height: 2.75rem;
    padding: 0.35rem 0.55rem;
    justify-content: center;
    font-size: 0.95rem;
    background: #fff;
  }
}

.odeio-mathima-hero-photo {
  margin: 0 0 2.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--odeio-sand-dark);
}

.odeio-mathima-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odeio-mathima-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .odeio-mathima-menu {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

.odeio-mathima-menu__card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.4rem;
  align-items: start;
  min-height: 7.25rem;
  padding: 1.35rem 1.35rem;
  background: var(--odeio-sand);
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.odeio-mathima-menu__card.has-photo {
  grid-template-columns: 5.5rem 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  gap: 0.35rem 0.85rem;
  overflow: hidden;
}

.odeio-mathima-menu__card:hover {
  border-color: rgba(150, 38, 31, 0.35);
  background: #fff;
}

.odeio-mathima-menu__card.has-photo:hover {
  transform: translateY(-1px);
}

.odeio-mathima-menu__media {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 2px;
  overflow: hidden;
  background: var(--odeio-sand-dark);
  align-self: stretch;
}

.odeio-mathima-menu__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.odeio-mathima-menu__card.has-photo:hover .odeio-mathima-menu__media img {
  transform: scale(1.04);
}

.odeio-mathima-menu__body {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.odeio-mathima-menu__card.has-photo .odeio-mathima-menu__body {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.odeio-mathima-menu__label {
  font-family: var(--odeio-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--odeio-text);
  line-height: 1.3;
}

.odeio-mathima-menu__blurb {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--odeio-muted);
  text-align: justify;
  text-justify: inter-word;
}

.odeio-mathima-menu__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.25rem;
  color: var(--odeio-brand);
  align-self: center;
}

.odeio-mathima-menu__card.has-photo .odeio-mathima-menu__go {
  grid-column: 3;
}

@media (min-width: 640px) {
  .odeio-mathima-menu__card.has-photo {
    grid-template-columns: 6.75rem 1fr auto;
  }

  .odeio-mathima-menu__media {
    width: 6.75rem;
    height: 6.75rem;
  }
}

.odeio-mathima__back {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
}

.odeio-mathima__back .odeio-text-link,
.odeio-mathima__cta .odeio-text-link {
  font-size: 1.15rem;
}

.odeio-mathima-article__photo {
  position: relative;
  margin: 0 0 1.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--odeio-sand-dark);
}

.odeio-mathima-article__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.odeio-mathima-article__title {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  color: var(--odeio-text) !important;
  line-height: 1.25;
  text-align: left;
}

.odeio-mathima-article__head .odeio-section-rule {
  margin: 0.85rem 0 1.25rem;
}

.odeio-mathima-article__p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--odeio-muted);
  text-align: justify;
  text-justify: inter-word;
}

.odeio-mathima-article__h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--odeio-text);
  line-height: 1.35;
  text-align: left;
}

.odeio-mathima-article__list {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--odeio-text);
  text-align: justify;
  text-justify: inter-word;
}

.odeio-mathima-article__list li {
  margin: 0 0 0.35rem;
}

.odeio-mathima-article__list li::marker {
  color: var(--odeio-brand);
}

.odeio-mathima-article__tags {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.odeio-mathima-article__tags li {
  padding: 0.65rem 1rem;
  background: var(--odeio-sand);
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--odeio-text);
}

.odeio-mathima-article__tags li span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  color: var(--odeio-muted);
  font-weight: 400;
}

.odeio-mathima-article__meta {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--odeio-sand);
  border-radius: 2px;
}

.odeio-mathima-article__meta dd {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--odeio-text);
  text-align: justify;
  text-justify: inter-word;
}

.odeio-mathima-article__meta div:last-child dd {
  margin-bottom: 0;
}

.odeio-mathima-article__note {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--odeio-brand);
  font-style: italic;
  text-align: justify;
  text-justify: inter-word;
}

.odeio-mathima-more {
  margin: 0 0 1.25rem;
}

.odeio-mathima-more summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--odeio-brand);
  margin-bottom: 0.75rem;
}

.odeio-mathima-more[open] summary {
  display: none;
}

.odeio-mathima__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin: 2.5rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--odeio-sand-dark);
}

.odeio-mathima__cta--menu {
  border-top: 0;
  padding-top: 0.5rem;
  margin-top: 2rem;
}

.odeio-teacher-related,
.odeio-mathima-teacher-link {
  max-width: 40rem;
  margin: 2rem auto 0;
  padding: 1.25rem 1.4rem;
  background: var(--odeio-sand);
  border-left: 3px solid var(--odeio-brand);
  text-align: left;
  line-height: 1.65;
}

.odeio-teacher-related p,
.odeio-mathima-teacher-link {
  margin-bottom: 0;
}

.odeio-teacher-related a,
.odeio-mathima-teacher-link a {
  color: var(--odeio-brand);
  font-weight: 600;
  text-underline-offset: 3px;
}

.odeio-administration {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(63, 58, 52, 0.16);
}

.odeio-administration__header {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.odeio-administration__header .odeio-section-title {
  margin-bottom: 0.75rem;
}

.odeio-administration__header p {
  margin: 0;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #57534e;
}

.odeio-administration__grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 2.5rem;
  max-width: 45rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .odeio-administration__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.odeio-administration__card:hover {
  transform: none;
}

.odeio-administration__dimitra-photo {
  object-position: center top !important;
  transform: scale(2.05);
  transform-origin: 82% 22%;
}

.odeio-teaching-area-link {
  color: var(--odeio-brand);
  font-weight: 600;
  text-underline-offset: 3px;
}

.odeio-tcarousel__full {
  display: inline-block;
  margin-top: 1rem;
  color: var(--odeio-brand);
  font-family: var(--odeio-sans);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.odeio-tcarousel__link:hover .odeio-tcarousel__full,
.odeio-tcarousel__link:focus-visible .odeio-tcarousel__full {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.odeio-mathima-contact {
  margin: 3rem 0 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-left: 4px solid var(--odeio-brand);
  background: var(--odeio-sand);
}

.odeio-mathima-contact h2 {
  margin: 0 0 0.55rem;
  color: var(--odeio-text);
  font-family: var(--odeio-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  line-height: 1.3;
}

.odeio-mathima-contact p {
  margin: 0 0 0.85rem;
  color: var(--odeio-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.odeio-mathima-contact .odeio-text-link {
  font-size: 1.05rem;
  font-weight: 700;
}

.odeio-mathima__cta--after-contact {
  margin-top: 1.5rem;
  padding-top: 0;
  border-top: 0;
}
