/* =============================================================================
   BG-EHS Greece 2026 — Global Stylesheet
   Design system tokens, typography, base styles, components
   ============================================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Raleway:wght@400;500;600&display=swap');

/* =============================================================================
   Design Tokens — single source of truth for the visual language.
   All component styles reference these variables; nothing is hardcoded below.
   ============================================================================= */
:root {

  /* ---------- Colour palette (BG-1/§6) ---------- */
  --blue-deep:   #0C1E38;
  --blue-dark:   #102545;
  --blue-mid:    #1C3E6E;
  --blue-header: #234C85;
  --gold:          #C8A84B;
  --gold-light:    #D4AF6A;
  --gold-dark:     #7A5E0A;
  --grey-light:    #EEF1F5;
  --grey-mid:      #E3E8EF;
  --white:         #ffffff;

  /* ---------- Font families ---------- */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Raleway', Helvetica, Arial, sans-serif;

  /* ---------- Type scale ---------- */

  /* Fluid heading sizes — clamp(min, preferred-vw, max) */
  --text-h1:  clamp(2rem,   5vw,   3.5rem);
  --text-h2:  clamp(1.5rem, 3.5vw, 2.4rem);
  --text-h3:  clamp(1.2rem, 2.5vw, 1.8rem);
  --text-h4:  1.2rem;

  /* Fixed UI and body sizes */
  --text-label:     11px;     /* section labels, disclaimer title */
  --text-nav:       11px;     /* nav links, buttons, brand wordmark — BG-1/§6 spec */
  --text-base:      0.95rem;  /* body copy, list items */
  --text-secondary: 0.8rem;   /* taglines, skip link */
  --text-sm:        0.78rem;  /* disclaimer body text */
  --text-xs:        0.72rem;  /* copyright, smallest text */

  /* Icon size */
  --icon-sm:  1rem;   /* small inline icons (Tabler) */

  /* ---------- Font weights ---------- */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;

  /* ---------- Line heights ---------- */
  --leading-tight: 1.2;   /* headings */
  --leading-snug:  1.5;   /* secondary / footer text */
  --leading-body:  1.7;   /* body default */
  --leading-prose: 1.8;   /* paragraph text */

  /* ---------- Letter spacing ---------- */
  --tracking-snug:  0.08em; /* footer nav links, mobile nav */
  --tracking-ui:    0.1em;  /* nav links */
  --tracking-wide:  0.14em; /* buttons, brand wordmark */
  --tracking-label: 0.2em;  /* section labels, disclaimer title — BG-1/§6 spec */

  /* ---------- Spacing (4 px baseline grid; --space-N = N × 0.25 rem) ---------- */
  --space-1:  0.25rem;  /*  4 px */
  --space-2:  0.5rem;   /*  8 px */
  --space-3:  0.75rem;  /* 12 px */
  --space-4:  1rem;     /* 16 px */
  --space-5:  1.25rem;  /* 20 px */
  --space-6:  1.5rem;   /* 24 px */
  --space-8:  2rem;     /* 32 px */
  --space-10: 2.5rem;   /* 40 px */
  --space-12: 3rem;     /* 48 px */
  --space-14: 3.5rem;   /* 56 px */
  --space-16: 4rem;     /* 64 px */
  --space-24: 6rem;     /* 96 px */

  /* Semantic spacing alias — page gutter used by sections and containers */
  --gutter: var(--space-8); /* 2 rem desktop */

  /* ---------- Border radius ---------- */
  --radius-sm: 4px;
  --radius-md: 6px;

  /* ---------- Transitions ---------- */
  --duration-fast:   0.15s;  /* colour/border hover */
  --duration-base:   0.18s;  /* background-color (buttons) */
  --duration-normal: 0.22s;  /* hamburger animation */
  --ease:            ease;

  /* ---------- Shadows ---------- */
  --shadow-overlay: 0 6px 16px rgba(30, 16, 53, 0.12);

  /* ---------- Layout ---------- */
  --max-width:  1280px;
  --nav-height: 56px;
}

/* Mobile token overrides — gutter narrows; everything that uses --gutter adapts */
@media (max-width: 600px) {
  :root {
    --gutter: var(--space-5); /* 1.25 rem */
  }
}

/* =============================================================================
   Reset & Base
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--grey-light);
  color: var(--blue-deep);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* =============================================================================
   Typography
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  line-height: var(--leading-tight);
  color: var(--blue-deep);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); font-weight: var(--weight-regular); }

p {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: var(--blue-deep);
}

a {
  color: var(--blue-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--blue-header);
}

ul, ol {
  padding-left: 1.4em;
}
li {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  margin-bottom: 0.3em;
}
li:last-child {
  margin-bottom: 0;
}

strong { font-weight: var(--weight-semibold); }
em     { font-style: italic; }

/* =============================================================================
   Section Label  (gold, uppercase, spaced — placed above section headings)
   ============================================================================= */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
}

/* =============================================================================
   Buttons
   ============================================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75em 1.75em;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 0.5px solid transparent;
  transition:
    background-color var(--duration-base) var(--ease),
    color            var(--duration-base) var(--ease),
    border-color     var(--duration-base) var(--ease);
  line-height: 1;
}

.btn-primary {
  background-color: var(--blue-mid);
  color: var(--white);
  border-color: var(--blue-mid);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--blue-header);
  border-color: var(--blue-header);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--white);
  border-color: var(--white);
}

/* =============================================================================
   Layout Utilities
   ============================================================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--space-16) var(--gutter);
}

.section--dark {
  background-color: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}
.section--dark p {
  color: rgba(255, 255, 255, 0.85);
}
.section--dark a {
  color: var(--gold-light);
}
.section--dark a:hover {
  color: var(--white);
}
.section--dark .section-label {
  color: var(--gold-light);
}

/* Mobile section padding (vertical only — gutter token handles horizontal) */
@media (max-width: 600px) {
  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
}

/* =============================================================================
   Hero Section  (dark purple, pattern background)
   ============================================================================= */
.hero {
  background-color: var(--blue-dark);
  color: var(--white);
  padding: var(--space-24) var(--gutter) var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1,
.hero h2 {
  color: var(--white);
}
.hero em {
  color: var(--gold-light);
}
.hero .section-label {
  color: var(--gold-light);
  opacity: 0.8;
}

/* =============================================================================
   BioGeometry Background Pattern
   ============================================================================= */
.bg-pattern {
  position: relative;
  overflow: hidden;
}

/* SVG injected by nav.js as first child */
.bg-pattern__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.13;
  z-index: 0;
}

/* All direct children sit above the pattern */
.bg-pattern > *:not(.bg-pattern__svg) {
  position: relative;
  z-index: 1;
}

/* =============================================================================
   Navigation
   ============================================================================= */
.site-nav {
  background-color: var(--grey-light);
  border-bottom: 1px solid var(--grey-mid);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.site-nav__brand-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: -47px;
  flex-shrink: 0;
  height: var(--nav-height);
  overflow: hidden;
}

.site-nav__brand-img {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.site-nav__brand {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--blue-mid);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--duration-fast) var(--ease);
}
.site-nav__brand:hover {
  color: var(--blue-header);
}

.site-nav__links {
  display: flex;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
  height: var(--nav-height);
}

.site-nav__links li {
  display: flex;
  align-items: stretch;
  margin-bottom: 0;
}

.site-nav__links a {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--blue-deep);
  text-decoration: none;
  padding: 0 var(--space-3);
  border-bottom: 2px solid transparent;
  transition:
    color        var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.site-nav__links a:hover {
  color: var(--blue-mid);
}

.site-nav__links a.active,
.site-nav__links a[aria-current="page"] {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
}

/* Hamburger button */
.site-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--space-1);
  padding: var(--space-1);
  flex-shrink: 0;
}

.site-nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--blue-deep);
  transition:
    transform var(--duration-normal) var(--ease),
    opacity   var(--duration-normal) var(--ease);
  transform-origin: center;
}

/* Open state — bars animate to ✕ */
.site-nav.is-open .site-nav__hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.site-nav.is-open .site-nav__hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-nav.is-open .site-nav__hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Pending nav items — pages not yet built; same layout as <a> but non-interactive */
.site-nav__links .site-nav__link--pending {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--blue-deep);
  opacity: 0.3;
  padding: 0 var(--space-3);
  white-space: nowrap;
  cursor: default;
  user-select: none;
  border-bottom: 2px solid transparent;
}

/* Footer nav — pending spans match the muted anchor style */
.site-footer__nav span {
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-snug);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  cursor: default;
  user-select: none;
}

/* =============================================================================
   Mobile Navigation
   ============================================================================= */
@media (max-width: 960px) {

  .site-nav__hamburger {
    display: flex;
  }

  .site-nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: auto;
    background-color: var(--grey-light);
    border-bottom: 1px solid var(--grey-mid);
    flex-direction: column;
    padding: var(--space-2) 0 var(--space-4);
    box-shadow: var(--shadow-overlay);
  }

  .site-nav.is-open .site-nav__links {
    display: flex;
  }

  .site-nav__links a {
    display: block;
    height: auto;
    padding: var(--space-3) var(--space-8);
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: var(--text-nav);
    letter-spacing: var(--tracking-snug);
    line-height: var(--leading-snug);
    white-space: normal;
  }

  .site-nav__links a.active,
  .site-nav__links a[aria-current="page"] {
    border-left-color: var(--blue-mid);
    border-bottom: none;
    background-color: var(--grey-mid);
  }

  .site-nav__links a:hover {
    background-color: var(--grey-mid);
  }

  .site-nav__links .site-nav__link--pending {
    display: block;
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-nav);
    letter-spacing: var(--tracking-snug);
    line-height: var(--leading-snug);
    white-space: normal;
  }
}

/* =============================================================================
   Footer
   ============================================================================= */
.site-footer {
  background-color: var(--blue-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.75rem var(--gutter) var(--space-10);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer__brand-block {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  margin-left: -4px;
}

.site-footer__logo-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  align-self: center;
  line-height: 0;
}

.site-footer__logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.site-footer__logo {
  width: 71px;
  display: block;
  align-self: center;
}

.site-footer__brand {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0;
}

.site-footer__tagline {
  font-size: var(--text-secondary);
  line-height: var(--leading-snug);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) 0;
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-10);
}

.site-footer__nav li {
  margin-bottom: 0;
}

.site-footer__nav li::after {
  content: '·';
  color: rgba(255, 255, 255, 0.2);
  margin: 0 var(--space-2);
}

.site-footer__nav li:last-child::after {
  content: none;
}

.site-footer__nav a {
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-snug);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

.site-footer__nav a:hover {
  color: var(--gold-light);
}

/* =============================================================================
   Disclaimer Card  (footer, every page — BG-1/§10)
   ============================================================================= */
.disclaimer-card {
  background-color: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-5) var(--space-6);
  width: 100%;
}

.disclaimer-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.disclaimer-card__icon {
  font-size: var(--icon-sm);
  color: var(--gold-dark);
  flex-shrink: 0;
  line-height: 1;
}

.disclaimer-card__title {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--blue-mid);
}

.disclaimer-card p {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-body);
  color: var(--blue-deep);
  margin-bottom: var(--space-2);
}

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

.disclaimer-card a {
  color: var(--blue-mid);
}

.site-footer__copyright {
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-2);
}

.site-footer__bg-credit {
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
}

/* Compact footer variant — applied on all pages except the home page,
   where the disclaimer card is absent and extra space is not needed    */
.site-footer--compact {
  padding-top: var(--space-4);
  padding-bottom: var(--space-6);
}
.site-footer--compact .site-footer__brand-block {
  margin-bottom: var(--space-4);
}
.site-footer--compact .site-footer__nav {
  margin-bottom: var(--space-4);
}
.site-footer--compact .site-footer__copyright {
  margin-top: var(--space-1);
  padding-top: var(--space-1);
}

/* =============================================================================
   Skip Link  (accessibility — appears on focus)
   ============================================================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background-color: var(--blue-mid);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-secondary);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--duration-fast) var(--ease);
}
.skip-link:focus {
  top: 0;
}

/* =============================================================================
   Page-level base
   ============================================================================= */
.page-main {
  min-height: 60vh;
}

/* =============================================================================
   Screen-reader-only utility
   ============================================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================================
   Hero — supplemental styles (home page)
   ============================================================================= */
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: var(--weight-light);
  font-style: italic;
  color: var(--gold-light);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
  line-height: var(--leading-snug);
}

.hero__corner-logo {
  width: 235px;
  max-width: 100%;
  opacity: 0.9;
  pointer-events: none;
  display: block;
}

.hero__corner-logo--shift-left {
  transform: translateX(-50%);
}

.hero__orientation {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.72);
  max-width: 54ch;
  line-height: var(--leading-prose);
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

.hero__inner--split {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.hero__text {
  flex: 1 1 auto;
  text-align: center;
}

.hero__text--left {
  text-align: left;
}

.hero__logo-wrap {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero__logo {
  width: 576px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  display: block;
  transform: translateX(-10%);
}

@media (max-width: 680px) {
  .hero__inner--split {
    flex-direction: column;
  }
  .hero__logo-wrap {
    justify-content: center;
  }
  .hero__logo {
    width: 100%;
    max-width: 360px;
    transform: none;
  }
}

/* =============================================================================
   Hero — split layout with right-side feature image
   Used on: heraklion-and-crete.html
   ============================================================================= */

.hero--with-image {
  display: flex;
  align-items: stretch;
  padding-right: 0; /* image column bleeds to the right viewport edge */
  padding-top:    var(--space-24);
  padding-bottom: var(--space-16);
  /* Cap the height so the image's intrinsic dimensions don't drive the layout */
  max-height: clamp(300px, 38vh, 460px);
}

.hero--with-image .hero__inner {
  flex: 1 1 auto;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__image-col {
  flex: 0 0 44%;
  min-width: 0;
  overflow: hidden;
  /* Pull top and bottom edges out of the section's padding area
     so the image fills the full hero height — matches the 1.15× padding above */
  margin-top:    calc(-1 * var(--space-24));
  margin-bottom: calc(-1 * var(--space-16));
  /* position: relative is provided by the .bg-pattern > * rule */

  /* Mask: left portion fades to transparent, revealing the hero background
     AND the BioGeometry SVG pattern that sits behind this column */
  mask-image: linear-gradient(to right, transparent 0%, black 48%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 48%);
}

.hero__image-col::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero__feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Mobile: stack vertically — text above, image below */
@media (max-width: 760px) {
  .hero--with-image {
    flex-direction: column;
    padding-right: var(--gutter); /* restore right gutter */
    padding-bottom: 0;            /* image sits flush with section bottom */
  }

  .hero--with-image .hero__inner {
    flex: 0 0 auto;
  }

  .hero__image-col {
    flex: 0 0 260px;
    /* Full-bleed: expand past the section's side gutters */
    width: calc(100% + 2 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
    margin-top: 0;
    margin-bottom: 0;
    /* No fade needed on mobile — image sits below text as a standalone band */
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* -----------------------------------------------------------------------------
   Hero image column — ship / transparent-PNG variant
   Used on: travel-and-stay.html
   Differences: object-fit contain (anchored right bottom), gradient ::before
   overlay instead of mask-image (mask would cut into the transparent ship PNG)
   ----------------------------------------------------------------------------- */

.hero__image-col--ship {
  /* Cancel the mask used by the default opaque-image variant */
  mask-image: none;
  -webkit-mask-image: none;
  /* Wider column gives the ship breathing room; overflow visible so the
     translateX shift is not clipped at the column boundary */
  flex: 0 0 52%;
  overflow: visible;
}

.hero__image-col--ship .hero__feature-image {
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 760px) {
  .hero__image-col--ship {
    flex: 0 0 220px; /* slightly shorter than the default 260px */
  }

  .hero__image-col--ship .hero__feature-image {
    object-position: center center;
    transform: none; /* cancel the desktop shift — centred in the mobile band */
  }
}

/* -----------------------------------------------------------------------------
   Hero image column — disc / solid-background variant
   Used on: useful-notes.html
   Technique: mix-blend-mode: lighten on the <img> makes its solid #0C1E38
   background invisible — it is darker than the hero's --blue-dark (#102545),
   so the hero background (and the BioGeometry SVG behind it) wins for every
   "empty" pixel.  The disc itself is lighter and remains fully visible.
   ----------------------------------------------------------------------------- */

.hero__image-col--disc {
  /* Cancel the left-edge mask — transparent PNG blends naturally
     against the dark hero background without any blend mode needed */
  mask-image: none;
  -webkit-mask-image: none;
}

.hero__image-col--disc .hero__feature-image {
  object-fit: contain;
  object-position: center center;
}

/* Mobile — inherits the base .hero__image-col mobile block (260px band,
   full-bleed, no mask).  Only override needed: restore object-fit contain. */
@media (max-width: 760px) {
  .hero__image-col--disc .hero__feature-image {
    object-fit: contain;
  }
}

/* =============================================================================
   Urgency Banner
   ============================================================================= */
.urgency-banner {
  background-color: rgba(200, 168, 75, 0.07);
  border-top: 1px solid rgba(200, 168, 75, 0.22);
  border-bottom: 1px solid rgba(200, 168, 75, 0.22);
  padding: var(--space-4) var(--gutter);
}

.urgency-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.urgency-banner__cta {
  flex-shrink: 0;
  margin-right: var(--space-2);
  padding: 0.95em 2.2em;
  border-right: 1px solid rgba(200, 168, 75, 0.35);
}
.urgency-banner__cta:hover,
.urgency-banner__cta:focus-visible {
  box-shadow: 0 0 0 2px rgba(160, 110, 0, 0.55), 0 0 14px 5px rgba(160, 110, 0, 0.35);
}

/* Bottom CTA bar — matches urgency banner appearance */
.bottom-cta-bar {
  background-color: rgba(200, 168, 75, 0.07);
  border-top: 1px solid rgba(200, 168, 75, 0.22);
  border-bottom: 1px solid rgba(200, 168, 75, 0.22);
  padding: var(--space-4) var(--gutter);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-6);
}
.bottom-cta-bar .btn {
  padding: 0.95em 2.2em;
}
.bottom-cta-bar .btn:hover,
.bottom-cta-bar .btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(160, 110, 0, 0.55), 0 0 14px 5px rgba(160, 110, 0, 0.35);
}

.urgency-banner__icon {
  font-size: 1.1rem;
  color: var(--gold-dark);
  flex-shrink: 0;
  line-height: 1;
}

.urgency-banner p {
  font-size: var(--text-base);
  color: var(--blue-deep);
  line-height: var(--leading-snug);
  margin-bottom: 0;
}

/* =============================================================================
   Tracks Section
   ============================================================================= */
.tracks-section {
  padding: var(--space-16) 0;
  background-color: var(--grey-light);
}

@media (max-width: 600px) {
  .tracks-section {
    padding: var(--space-12) 0;
  }
}

.tracks-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

@media (max-width: 760px) {
  .tracks-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   Track Cards
   ============================================================================= */
.track-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.track-card__header {
  padding: var(--space-8) var(--space-8) var(--space-6);
}

.track-card__header h2 {
  margin-top: var(--space-2);
}

.track-card__dates {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: var(--weight-light);
  margin-top: var(--space-3);
  line-height: var(--leading-tight);
}

.track-card__body {
  padding: var(--space-6) var(--space-8);
  flex: 1;
}

.track-card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (max-width: 480px) {
  .track-card__meta {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

.track-card__meta-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-1);
}

.track-card__meta-value {
  display: block;
  font-size: var(--text-base);
  color: var(--blue-deep);
  line-height: var(--leading-snug);
  white-space: nowrap;
}

.track-card__meta-item + .track-card__meta-item {
  padding-left: var(--space-4);
}

.track-card__who {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: var(--blue-deep);
  margin-bottom: 0;
}

.track-card__footer {
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid var(--grey-mid);
}

/* Primary card — APT (dark header, dominant weight) */
.track-card--primary .track-card__header {
  background-color: var(--blue-mid);
}

.track-card--primary .track-card__header .section-label {
  color: var(--gold-light);
}

.track-card--primary .track-card__header h2 {
  color: var(--white);
}

.track-card--primary .track-card__dates {
  color: var(--gold-light);
}

/* Secondary card — Review (dark header matching primary) */
.track-card--secondary .track-card__header {
  background-color: var(--blue-mid);
}

.track-card--secondary .track-card__header .section-label {
  color: var(--gold-light);
}

.track-card--secondary .track-card__header h2 {
  color: var(--white);
}

.track-card--secondary .track-card__dates {
  color: var(--gold-light);
}

/* =============================================================================
   Secondary Button  (purple outline — for light card backgrounds)
   ============================================================================= */
.btn-secondary {
  background-color: transparent;
  color: var(--blue-mid);
  border-color: var(--blue-mid);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--blue-mid);
  color: var(--white);
  border-color: var(--blue-mid);
}

/* =============================================================================
   About Gaea Aeria Section  (home page)
   ============================================================================= */
.about-section {
  padding: var(--space-16) 0;
}

@media (max-width: 600px) {
  .about-section {
    padding: var(--space-12) 0;
  }
}

.about-section__layout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
}

.about-section__logo-col {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.about-section__logo-col::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.about-section__logo {
  width: 224px;
  max-width: 100%;
  display: block;
}

.about-section__inner {
  flex: 1 1 auto;
  max-width: 66ch;
}

@media (max-width: 600px) {
  .about-section__layout {
    flex-direction: column;
  }
  .about-section__logo {
    width: 120px;
  }
}

.about-section__body {
  margin-top: var(--space-6);
}

.about-section__body > p {
  margin-bottom: var(--space-4);
}

.about-section__body > p:last-child {
  margin-bottom: 0;
}

.about-section__contact {
  margin-top: var(--space-8);
  font-size: var(--text-secondary);
  margin-bottom: 0;
}

/* Overrides .section--dark p (specificity 0-1-1) — needs 0-2-0 to win */
.section--dark .about-section__contact {
  color: rgba(255, 255, 255, 0.5);
}

/* =============================================================================
   Content Sections  (inner pages: APT, Review, etc.)
   ============================================================================= */
.content-section {
  padding: var(--space-12) var(--gutter);
}

.content-section--tinted {
  background-color: var(--white);
}

.content-section--dark {
  background-color: var(--blue-dark);
}

.content-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.content-section__heading {
  margin-bottom: var(--space-8);
}

.content-section__heading .section-label {
  margin-bottom: var(--space-2);
}

.content-section__heading h2 {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--grey-mid);
}

.content-section--dark .content-section__heading h2 {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .content-section {
    padding: var(--space-8) var(--gutter);
  }
}

/* Two-column text+aside layout for wider sections */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-10) var(--space-12);
  align-items: start;
}

@media (max-width: 860px) {
  .content-two-col {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   Info Note / Callout
   ============================================================================= */
.info-note {
  background-color: rgba(200, 168, 75, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-5);
}

.info-note p {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  margin-bottom: 0;
  color: var(--blue-deep);
}

.info-note--tbc {
  border-left-color: var(--blue-mid);
  background-color: rgba(28, 62, 110, 0.04);
}

.info-note--tbc p {
  color: var(--blue-mid);
}

/* =============================================================================
   Data Table  (schedule, fees)
   ============================================================================= */
.data-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--grey-mid);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: var(--text-base);
}

.data-table th {
  background-color: var(--blue-mid);
  color: var(--white);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  padding: var(--space-3) var(--space-5);
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--grey-mid);
  color: var(--blue-deep);
  line-height: var(--leading-snug);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background-color: rgba(238, 241, 245, 0.55);
}

/* =============================================================================
   Venue Card
   ============================================================================= */
.venue-card {
  background-color: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin-top: var(--space-6);
}

.venue-card__name {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--weight-light);
  color: var(--blue-deep);
  margin-bottom: var(--space-5);
}

.venue-card__details {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-8);
  margin-bottom: var(--space-5);
}

@media (max-width: 600px) {
  .venue-card__details {
    grid-template-columns: 1fr;
  }
  .venue-card {
    padding: var(--space-5);
  }
}

.venue-card__detail-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.venue-card__detail-label {
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-1);
  display: block;
}

.venue-card__detail-value {
  font-size: var(--text-base);
  color: var(--blue-deep);
  line-height: var(--leading-snug);
}

.venue-card__location-note {
  font-size: var(--text-base);
  color: rgba(12, 30, 56, 0.65);
  line-height: var(--leading-prose);
  border-top: 1px solid var(--grey-mid);
  padding-top: var(--space-4);
  margin-bottom: 0;
}

/* =============================================================================
   Details List  (training format, assessment bullets)
   ============================================================================= */
.details-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.details-list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  margin-bottom: 0;
}

.details-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--gold);
  flex-shrink: 0;
  position: relative;
  top: -0.1em;
}

.details-list__label {
  font-weight: var(--weight-semibold);
  margin-right: var(--space-1);
}

/* =============================================================================
   Prerequisites List  (numbered, blue circles)
   ============================================================================= */
.prerequisites-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-4);
  counter-reset: prereq;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.prerequisites-list > li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  margin-bottom: 0;
  counter-increment: prereq;
}

.prerequisites-list > li::before {
  content: counter(prereq);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--blue-mid);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* =============================================================================
   Steps List  (What Happens Next)
   ============================================================================= */
.steps-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-4);
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.steps-list > li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  margin-bottom: 0;
  counter-increment: step;
  color: rgba(255, 255, 255, 0.85);
}

.steps-list > li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* =============================================================================
   FAQ Accordion  (native details/summary)
   ============================================================================= */
.faq-section {
  padding: var(--space-12) var(--gutter);
  background-color: var(--white);
}

.faq-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.faq-section__heading {
  margin-bottom: var(--space-8);
}

.faq-group {
  margin-bottom: var(--space-8);
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group__label {
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
  display: block;
}

.faq-item {
  border-bottom: 1px solid var(--grey-mid);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--grey-mid);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-2);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--blue-deep);
  list-style: none;
  user-select: none;
  transition: color var(--duration-fast) var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: var(--weight-light);
  line-height: 1;
  color: var(--blue-mid);
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease);
  display: inline-block;
}

.faq-item[open] > summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--blue-mid);
}

.faq-item__answer {
  padding: 0 var(--space-2) var(--space-5);
}

.faq-item__answer p {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: rgba(12, 30, 56, 0.72);
  max-width: 72ch;
  margin-bottom: 0;
}

/* =============================================================================
   Application Form Section
   ============================================================================= */
.application-form-section {
  padding: var(--space-12) var(--gutter);
  background-color: var(--grey-light);
}

.application-form-section__inner {
  max-width: 860px;
  margin: 0 auto;
}

.application-form-section__heading {
  margin-bottom: var(--space-6);
}

.application-form-section__heading .section-label {
  margin-bottom: var(--space-2);
}

.application-form-section__intro {
  margin-bottom: var(--space-8);
}

.application-form-section__intro p {
  line-height: var(--leading-prose);
  color: rgba(12, 30, 56, 0.72);
  margin-bottom: var(--space-3);
}

.application-form-section__intro p:last-child {
  margin-bottom: 0;
}

/* =============================================================================
   APT Application Form
   ============================================================================= */
.apt-form {
  background-color: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: var(--space-10);
}

@media (max-width: 600px) {
  .apt-form {
    padding: var(--space-6) var(--space-5);
  }
}

.form-section {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--grey-mid);
}

.form-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.form-section__title {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.form-section__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--grey-mid);
}

.form-subsection {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px dashed var(--grey-mid);
}

.form-subsection:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.form-subsection__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: var(--space-4);
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5) var(--space-6);
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-grid .form-group--full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--blue-deep);
  letter-spacing: 0.02em;
}

.form-label .req {
  color: var(--blue-mid);
  margin-left: 2px;
}

.form-label .opt {
  color: rgba(12, 30, 56, 0.38);
  font-weight: var(--weight-regular);
  margin-left: var(--space-1);
  font-style: italic;
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--blue-deep);
  background-color: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  transition:
    border-color var(--duration-fast) var(--ease),
    box-shadow   var(--duration-fast) var(--ease);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(28, 62, 110, 0.1);
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: #b94040;
  box-shadow: 0 0 0 3px rgba(185, 64, 64, 0.08);
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231C3E6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-8);
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: var(--leading-prose);
}

.form-textarea--tall {
  min-height: 120px;
}

.form-hint {
  font-size: var(--text-xs);
  color: rgba(12, 30, 56, 0.48);
  line-height: var(--leading-snug);
  margin-bottom: 0;
}

.form-field-error {
  font-size: var(--text-xs);
  color: #b94040;
  margin-bottom: 0;
  display: none;
}

.form-field-error.is-visible {
  display: block;
}

/* Training history sub-rows */
.training-row {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px dashed var(--grey-mid);
}

.training-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.training-row__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--blue-deep);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
  display: block;
}

/* Declaration blocks */
.declaration-block {
  background-color: var(--grey-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--grey-mid);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-4);
}

.declaration-block:last-of-type {
  margin-bottom: 0;
}

.declaration-block__text {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: var(--blue-deep);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.declaration-block__check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--blue-deep);
  user-select: none;
}

.declaration-block__check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--blue-mid);
}

.decl-error {
  font-size: var(--text-xs);
  color: #b94040;
  margin-top: var(--space-2);
  display: none;
}

.decl-error.is-visible {
  display: block;
}

/* Signature pad */
.signature-pad-wrapper {
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-3);
}

.signature-pad-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(12, 30, 56, 0.15);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.signature-pad-wrapper.has-signature .signature-pad-placeholder {
  display: none;
}

#apt-signature-canvas {
  display: block;
  width: 100%;
  height: 140px;
  cursor: crosshair;
  touch-action: none;
}

.signature-pad-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.btn-clear-sig {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(12, 30, 56, 0.5);
  background: none;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}

.btn-clear-sig:hover {
  color: var(--blue-mid);
  border-color: var(--blue-mid);
}

.sig-error {
  font-size: var(--text-xs);
  color: #b94040;
  display: none;
  margin-bottom: var(--space-3);
}

.sig-error.is-visible {
  display: block;
}

/* Send copy checkbox */
.form-copy-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  cursor: pointer;
  font-size: var(--text-base);
  color: var(--blue-deep);
  user-select: none;
}

.form-copy-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--blue-mid);
}

/* Fee option radio group */
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-base);
  color: var(--blue-deep);
  user-select: none;
}

.form-radio-label input[type="radio"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--blue-mid);
}

/* Submit area */
.form-submit-area {
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  width: 100%;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background-color: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.28);
  color: #1a5c34;
}

.form-status--error {
  background-color: rgba(185, 64, 64, 0.07);
  border: 1px solid rgba(185, 64, 64, 0.24);
  color: #7d2020;
}

.form-status--blocked {
  background-color: rgba(180, 120, 20, 0.07);
  border: 1px solid rgba(180, 120, 20, 0.30);
  color: #6b4400;
}

.form-submit-btn {
  font-size: var(--text-nav);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  padding: 0.9em 2.4em;
}

.form-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Official form downloads */
.form-downloads {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--grey-mid);
}

.form-downloads__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  list-style: none;
  padding: 0;
}

.form-downloads__links li {
  margin-bottom: 0;
}

.form-downloads__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--blue-mid);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--duration-fast) var(--ease),
    color        var(--duration-fast) var(--ease);
}

.form-downloads__link:hover {
  border-color: var(--blue-mid);
  color: var(--blue-header);
}

.form-downloads__note {
  font-size: var(--text-xs);
  color: rgba(12, 30, 56, 0.42);
  margin-bottom: 0;
}

/* =============================================================================
   Fees Table TBA state
   ============================================================================= */
.tba-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12, 30, 56, 0.45);
  background-color: var(--grey-mid);
  border-radius: var(--radius-sm);
  padding: 0.2em 0.6em;
}

/* =============================================================================
   Section intro prose  (Programme Orientation, Preparation)
   ============================================================================= */
.prose {
  max-width: 72ch;
}

.prose p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-prose);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
}

.prose h3:first-child {
  margin-top: 0;
}

.privacy-notice__date {
  margin-top: var(--space-10);
  color: var(--blue-mid);
  font-size: 0.9rem;
}

/* Footer privacy link — inline at end of copyright line */
.footer-privacy-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-privacy-link:hover {
  color: rgba(255, 255, 255, 0.35);
}

/* In-form privacy callout — appears at the end of the application form section */
.privacy-callout {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  border-left: 3px solid var(--blue-header);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--blue-dark);
  line-height: var(--leading-prose);
}

.privacy-callout .ti {
  font-size: 1.15rem;
  color: var(--blue-header);
  margin-top: 0.1em;
  flex-shrink: 0;
}

.privacy-callout p {
  margin: 0;
}

/* =============================================================================
   Practitioner Review — Audience Cards
   Three-column "Who This Is For" grid
   ============================================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-2);
}

@media (max-width: 900px) {
  .audience-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-top: 3px solid var(--blue-mid);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.audience-card__number {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: var(--space-3);
}

.audience-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--weight-regular);
  color: var(--blue-deep);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.audience-card__desc {
  font-size: var(--text-base);
  color: rgba(12, 30, 56, 0.72);
  line-height: var(--leading-prose);
  margin-bottom: 0;
}

/* =============================================================================
   Practitioner Review — Eligibility Pathway subsections
   ============================================================================= */
.eligibility-pathway__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  color: var(--blue-deep);
  margin-bottom: var(--space-4);
  line-height: var(--leading-snug);
}

/* =============================================================================
   Heraklion & Crete — Page Components
   context quotes, place cards, challenges section, planning grid
   ============================================================================= */

/* ---------- Crete in Context — blockquote pullquotes ---------- */
.context-quotes {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 72ch;
}

.context-quote {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-6);
  margin: 0;
}

.context-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: var(--weight-light);
  line-height: var(--leading-prose);
  color: var(--blue-deep);
  font-style: italic;
  margin: 0;
}

/* ---------- Places grid — sights and food cards ---------- */
.places-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

@media (max-width: 760px) {
  .places-grid {
    grid-template-columns: 1fr;
  }
}

.place-card {
  background-color: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.content-section--tinted .place-card {
  background-color: var(--grey-light);
}

.place-card--featured {
  grid-column: 1 / -1;
  border-top: 3px solid var(--gold);
}

.place-card__inner {
  padding: var(--space-5) var(--space-6);
}

@media (max-width: 480px) {
  .place-card__inner {
    padding: var(--space-4) var(--space-4);
  }
}

.place-card__allow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.place-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: var(--weight-regular);
  color: var(--blue-deep);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}

.place-card__highlight {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--blue-mid);
  margin-bottom: var(--space-3);
}

.place-card__body {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: rgba(12, 30, 56, 0.8);
  margin-bottom: var(--space-4);
}

.place-card__meta {
  list-style: none;
  padding: var(--space-4) 0 0 0;
  margin: 0;
  border-top: 1px solid var(--grey-mid);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.place-card__meta li {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
}

.place-card__meta-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 5rem;
  flex-shrink: 0;
}

.place-card__meta-value {
  font-size: var(--text-sm);
  color: rgba(12, 30, 56, 0.72);
  line-height: var(--leading-snug);
}

.place-card__meta-value a {
  color: var(--blue-mid);
  text-decoration: none;
}

.place-card__meta-value a:hover {
  text-decoration: underline;
}

.place-card__rating {
  color: var(--gold-dark);
  font-weight: var(--weight-semibold);
}

.place-card__challenge-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--gold-dark);
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.place-card__challenge-note .ti {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.accordion-hint {
  font-size: var(--text-xs);
  color: rgba(12, 30, 56, 0.42);
  font-style: italic;
  margin-bottom: var(--space-3);
}

/* ---------- Places accordion (replaces .places-grid on Heraklion page) ---------- */
.places-accordion {
  border-top: 1px solid var(--grey-mid);
}

.place-item {
  border-bottom: 1px solid var(--grey-mid);
}

.place-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-2);
  cursor: pointer;
  user-select: none;
  transition: background-color var(--duration-fast) var(--ease);
}

.place-item > summary::-webkit-details-marker {
  display: none;
}

.place-item > summary:hover {
  background-color: rgba(200, 168, 75, 0.12);
}

.place-item[open] > summary {
  border-bottom: 1px solid var(--grey-mid);
}

.place-item--featured > summary {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-4);
}

.place-item__name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: var(--weight-regular);
  color: var(--blue-deep);
  line-height: var(--leading-tight);
  flex-shrink: 0;
}

.place-item__tagline {
  flex: 1;
  min-width: 0;
  font-size: var(--text-sm);
  color: rgba(12, 30, 56, 0.48);
  line-height: var(--leading-snug);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: var(--space-3);
}

@media (max-width: 600px) {
  .place-item__tagline {
    display: none;
  }
}

.place-item__rating {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--gold-dark);
  white-space: nowrap;
}

.place-item__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--blue-mid);
  transition: transform var(--duration-base) var(--ease);
}

.place-item[open] > summary .place-item__chevron {
  transform: rotate(180deg);
}
.place-item__map {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: var(--text-xs);
  color: var(--blue-mid);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.1em 0.45em;
  border-radius: 3px;
  transition: color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
}
.place-item__map:hover {
  color: var(--gold);
  background-color: rgba(200, 168, 75, 0.08);
}
@media (max-width: 600px) { .place-item__map .map-label { display: none; } }

.place-item__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

@keyframes placeItemFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.place-item[open] .place-item__body {
  animation: placeItemFadeIn 0.18s ease;
}

/* ---------- Practitioner Challenges dark section ---------- */
.challenges-section {
  background-color: var(--blue-dark);
  padding: var(--space-16) var(--gutter);
}

@media (max-width: 760px) {
  .challenges-section {
    padding: var(--space-10) var(--gutter);
  }
}

.challenges-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.challenges-section__heading {
  margin-bottom: var(--space-10);
}

.challenges-section__heading .section-label {
  display: block;
  margin-bottom: var(--space-2);
}

.challenges-section__heading h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--weight-light);
  color: var(--white);
  line-height: var(--leading-tight);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(200, 168, 75, 0.3);
  margin-bottom: var(--space-5);
}

.challenges-section__intro {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: rgba(255, 255, 255, 0.72);
  max-width: 68ch;
  font-style: italic;
  margin: 0;
}

.challenge-card {
  background-color: rgba(255, 255, 255, 0.055);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
}

.challenge-card:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .challenge-card {
    padding: var(--space-6);
  }
}

.challenge-card__header {
  margin-bottom: var(--space-5);
}

.challenge-card__number {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.challenge-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--weight-light);
  color: var(--white);
  line-height: var(--leading-tight);
  margin: 0;
}

.challenge-card__body > p {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-4);
}

.challenge-card__body > p:last-child {
  margin-bottom: 0;
}

.challenge-card__task {
  background-color: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-4) var(--space-5);
  margin: var(--space-4) 0;
}

.challenge-card__task p {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.challenge-card__practical {
  background-color: rgba(200, 168, 75, 0.09);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-4);
}

.challenge-card__practical p {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

/* =============================================================================
   Useful Notes — Curated Advice (Session 7)
   ============================================================================= */
.advice-intro {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: rgba(12, 30, 56, 0.65);
  margin-bottom: var(--space-6);
}

.advice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advice-item {
  display: grid;
  grid-template-columns: var(--space-10) 1fr;
  gap: 0 var(--space-6);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--grey-mid);
}

.advice-item:last-child {
  border-bottom: 1px solid var(--grey-mid);
}

.advice-item__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: var(--weight-light);
  line-height: 1.1;
  color: var(--gold-dark);
  padding-top: var(--space-1);
}

.advice-item__heading {
  margin-bottom: var(--space-3);
}

.advice-item__body p {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: rgba(12, 30, 56, 0.72);
  max-width: 72ch;
  margin-bottom: var(--space-3);
}

.advice-item__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 540px) {
  .advice-item {
    grid-template-columns: var(--space-8) 1fr;
    gap: 0 var(--space-4);
  }

  .advice-item__number {
    font-size: 1.5rem;
  }
}

/* ---------- Planning notes grid ---------- */
.planning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8) var(--space-10);
  align-items: start;
}

@media (max-width: 760px) {
  .planning-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.planning-block__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  color: var(--blue-deep);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--grey-mid);
}

.planning-block__sub {
  font-size: var(--text-sm);
  color: rgba(12, 30, 56, 0.58);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.planning-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.planning-list li {
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  color: rgba(12, 30, 56, 0.82);
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  border-bottom: 1px solid var(--grey-mid);
  position: relative;
}

.planning-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--gold);
  position: absolute;
  left: 0;
  top: 0.72em;
}

.planning-list li:last-child {
  border-bottom: none;
}

.planning-block--full {
  grid-column: 1 / -1;
}

/* ============================================================
   Travel & Stay — travel-and-stay.html components (Session 6)
   ============================================================ */

/* Airport subtitle beneath h2 */
.airport-subtitle {
  font-family: Cormorant Garamond, Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-dark);
  margin: calc(var(--space-2) * -1) 0 var(--space-6);
}

/* Airport metadata strip: IATA, ICAO, phone, website, distance */
.airport-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-8);
  padding: var(--space-4) var(--space-6);
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-left: 4px solid var(--blue-mid);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}

.airport-meta__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: rgba(12, 30, 56, 0.82);
}

.airport-meta__item a {
  color: var(--blue-mid);
  text-decoration: none;
}

.airport-meta__item a:hover {
  text-decoration: underline;
}

.airport-meta__label {
  font-family: Raleway, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Subheading used within content sections (e.g. "Getting to the City") */
.travel-subheading {
  font-family: Raleway, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: var(--space-8) 0 var(--space-5);
}

/* Transport options (Taxi / KTEL bus / Car rental) */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 760px) {
  .transport-grid {
    grid-template-columns: 1fr;
  }
}

.transport-block {
  padding: var(--space-5) var(--space-6);
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-top: 3px solid var(--blue-mid);
  border-radius: var(--radius-md);
}

.transport-block__title {
  font-family: Raleway, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin: 0 0 var(--space-3);
}

.transport-block p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(12, 30, 56, 0.78);
  margin: 0 0 var(--space-2);
}

.transport-block p:last-child {
  margin-bottom: 0;
}

/* Book-now callout — gold left border */
.accommodation-callout {
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-6);
}

.accommodation-callout__heading {
  font-family: Cormorant Garamond, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--blue-deep);
  margin: 0 0 var(--space-3);
}

.accommodation-callout p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(12, 30, 56, 0.82);
  margin: 0 0 var(--space-3);
}

.accommodation-callout p:last-child {
  margin-bottom: 0;
}

.accommodation-callout a {
  color: var(--blue-mid);
  text-decoration: none;
}

.accommodation-callout a:hover {
  text-decoration: underline;
  color: var(--gold);
}

/* Recommended hotels: 2-column grid */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-2);
}

@media (max-width: 760px) {
  .hotels-grid {
    grid-template-columns: 1fr;
  }
}

.hotel-card {
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hotel-card__stars {
  font-family: Raleway, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0;
}

.hotel-card__name {
  font-family: Cormorant Garamond, Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue-deep);
  margin: 0;
}

.hotel-card__address {
  font-size: 0.85rem;
  color: rgba(12, 30, 56, 0.55);
  margin: 0;
}

.hotel-card__map {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: 0.78rem;
  color: rgba(12, 30, 56, 0.48);
  text-decoration: none;
  padding: 0.1em 0.45em;
  border-radius: 3px;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.hotel-card__map:hover {
  color: var(--gold);
  background-color: rgba(200, 168, 75, 0.08);
}

.hotel-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(12, 30, 56, 0.78);
  margin: 0;
  flex: 1;
}

.hotel-card__link {
  display: inline-block;
  font-family: Raleway, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
  text-decoration: none;
  margin-top: var(--space-2);
  transition: color var(--transition-fast, 0.18s ease);
}

.hotel-card__link:hover {
  color: var(--gold);
}

/* Leaflet map container */
.venues-map {
  width: 100%;
  height: 460px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-mid);
  margin-top: var(--space-6);
  overflow: hidden;
}

@media (max-width: 760px) {
  .venues-map {
    height: 340px;
  }
}

/* Leaflet marker — strip default white box the DivIcon adds */
.map-marker {
  background: transparent;
  border: none;
}

/* Map legend */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-8);
  margin-top: var(--space-4);
  padding: 0;
  list-style: none;
}

.map-legend__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: Raleway, sans-serif;
  font-size: 0.82rem;
  color: rgba(12, 30, 56, 0.72);
}

.map-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-legend__dot--gold { background: var(--gold); }
.map-legend__dot--blue { background: var(--blue-mid); }
.map-legend__dot--grey { background: #9CA3AF; }

/* Leaflet popup inner content */
.map-popup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: Raleway, sans-serif;
  min-width: 160px;
  padding: 2px 0;
}

.map-popup__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-deep);
  display: block;
}

.map-popup__label {
  font-size: 0.75rem;
  color: rgba(12, 30, 56, 0.55);
  display: block;
}

.map-popup__link {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-mid);
  text-decoration: none;
  margin-top: 4px;
}

.map-popup__link:hover {
  color: var(--gold);
}

/* Entry requirements: bordered rows */
.entry-blocks {
  margin-top: var(--space-4);
}

.entry-block {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--grey-mid);
}

.entry-block:last-child {
  border-bottom: 1px solid var(--grey-mid);
}

.entry-block__title {
  font-family: Raleway, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin: 0 0 var(--space-3);
}

.entry-block p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(12, 30, 56, 0.82);
  margin: 0;
}

/* ---- Downloads bar (APT page — below urgency banner) ---- */
.downloads-bar {
  background: var(--grey-light);
  border-bottom: 1px solid var(--grey-mid);
  padding: var(--space-3) var(--gutter);
}

.downloads-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.downloads-bar__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.downloads-bar__label--dark {
  color: var(--blue-deep);
}

.downloads-bar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-mid);
  text-decoration: none;
}

.downloads-bar__link:hover {
  color: var(--blue-header);
  text-decoration: underline;
}

.downloads-bar__link .ti {
  font-size: 1rem;
  color: var(--gold-dark);
}

/* ---- Apply / Enquire CTA banner (below urgency banner on programme pages) ---- */
.apply-cta {
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  padding: var(--space-8) var(--gutter);
  text-align: center;
}

.apply-cta__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.apply-cta__btn {
  font-size: 13px;
  padding: var(--space-3) var(--space-8);
  letter-spacing: 0.12em;
}

.apply-cta__note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Back link on dedicated form pages ---- */
.form-page-back {
  background: var(--grey-light);
  border-bottom: 1px solid var(--grey-mid);
  padding: var(--space-3) var(--gutter);
}

.form-page-back__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.form-page-back__link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--blue-mid);
  text-decoration: none;
}

.form-page-back__link:hover {
  text-decoration: underline;
}

/* =============================================================================
   APT Application 2026 — submission callout & declaration name blocks
   ============================================================================= */

.submission-callout {
  background: linear-gradient(135deg, #fffbf0 0%, #fff8e6 100%);
  border: 1.5px solid var(--gold);
  border-left-width: 5px;
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
}

.submission-callout__eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: var(--space-2);
}

.submission-callout p:last-child {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--blue-deep);
}

/* Declaration blocks with typed-name e-signature */
.decl-name-block {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--grey-mid);
}

.decl-name-block:last-child {
  border-bottom: none;
}

.decl-name-block__number {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold-dark);
  min-width: 2rem;
  padding-top: 0.1em;
  flex-shrink: 0;
}

.decl-name-block__body {
  flex: 1;
}

.decl-name-block__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--blue-deep);
  margin-bottom: var(--space-4);
  font-style: italic;
}

@media (max-width: 540px) {
  .decl-name-block {
    flex-direction: column;
    gap: var(--space-2);
  }
}

.site-footer__counter {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.25);
  margin-top: var(--space-1);
  margin-bottom: 0;
  text-align: right;
}
