/* =========================================================
   MARINA THERAPY — Main Stylesheet
   Design: minimal, clean, white — matching therapymarina.gr
   ========================================================= */

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

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* surfaces */
  --color-bg:              #ffffff;
  --color-surface:         oklch(98% 0.005 60);

  /* text */
  --color-text:            oklch(22% 0.015 60);
  --color-muted:           oklch(40% 0.02 60);
  --color-subtle:          oklch(55% 0.015 60);

  /* borders */
  --color-border:          oklch(92% 0.005 60);

  /* accent */
  --color-accent:          oklch(55% 0.16 340);
  --color-accent-dark:     oklch(45% 0.16 340);

  /* dark surfaces (footer, video overlays, cookie) */
  --color-dark:            oklch(18% 0.015 60);
  --color-dark-border:     oklch(28% 0.015 60);
  --color-on-dark:         #ffffff;
  --color-on-dark-muted:   oklch(75% 0.01 60);
  --color-on-dark-subtle:  oklch(60% 0.01 60);

  /* semantic states */
  --color-error:           oklch(46% 0.165 27);
  --color-error-bg:        oklch(97% 0.025 27);
  --color-success:         oklch(42% 0.115 145);
  --color-success-bg:      oklch(97% 0.025 145);
  --color-note:            oklch(68% 0.100 55);

  --shadow-card:           0 4px 20px rgba(0,0,0,0.05);
  --shadow-card-hover:     0 8px 30px rgba(0,0,0,0.08);

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --nav-height:  56px;
  --max-w:       760px;
  --max-w-wide:  1100px;

  --space-xs:  0.5rem;
  --space-s:   1rem;
  --space-m:   2rem;
  --space-l:   4rem;
  --space-xl:  6rem;
}

/* ── Skip link (accessibility) ──────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-s);
  z-index: 9999;
  background: var(--color-text);
  color: var(--color-on-dark);
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

/* ── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 10px;
  border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: var(--space-m); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: var(--space-s); }
h3 { font-size: 1.25rem; margin-bottom: var(--space-xs); }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: var(--space-m);
}

.container--narrow {
  max-width: var(--max-w);
}

/* ── Navigation ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: calc(var(--nav-height) + 12px);
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  height: calc(var(--nav-height) - 4px);
  border-bottom-color: transparent;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--space-m);
  position: relative;
}

.site-nav__brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: var(--space-m);
  transition: opacity 0.2s ease;
}

.site-nav__brand:hover {
  opacity: 0.7;
  text-decoration: none;
}

.site-nav__logo {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.site-nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(var(--space-s), 3vw, var(--space-l));
  flex-wrap: nowrap;
}

.site-nav__menu li a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 8px 4px;
  border-bottom: none;
  position: relative;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Slide-in underline */
.site-nav__menu li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav__menu li a:hover::after,
.site-nav__menu li.current-menu-item > a::after,
.site-nav__menu li.current_page_item > a::after {
  transform: scaleX(1);
  text-decoration: none;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  position: absolute;
  right: var(--space-m);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.site-nav__toggle:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Nav dropdown ────────────────────────────────────────── */
.site-nav__menu li { position: relative; }

.site-nav__menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: -1rem;
  min-width: 180px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  padding: var(--space-xs) 0;
  z-index: 200;
  list-style: none;
}

.site-nav__menu .menu-item-has-children:hover > .sub-menu,
.site-nav__menu .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.site-nav__menu .sub-menu li {
  border-bottom: none;
  width: 100%;
}

.site-nav__menu .sub-menu li a {
  display: block;
  padding: 10px var(--space-m);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.15s;
  min-height: 44px;
  white-space: nowrap;
}

.site-nav__menu .sub-menu li a:hover,
.site-nav__menu .sub-menu li.current-menu-item > a {
  color: var(--color-text);
  text-decoration: none;
}

/* No sliding underline on sub-menu links */
.site-nav__menu .sub-menu li a::after {
  display: none;
}

/* ── Page content ───────────────────────────────────────── */
.site-main { min-height: calc(100vh - var(--nav-height)); }

.page-content {
  padding-block: clamp(4rem, 8vw, 8rem) clamp(3rem, 6vw, 6rem);
}

.page-title {
  text-align: center;
  margin-bottom: var(--space-l);
}

.entry-content {
  max-width: var(--max-w);
  margin-inline: auto;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.2em;
  font-size: 1rem;
  line-height: 1.8;
}

.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li { margin-bottom: 0.4em; }

.entry-content strong { font-weight: 500; }
.entry-content em { font-style: italic; }

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* (homepage styles in HOMEPAGE section below) */

/* ── Podcast archive ────────────────────────────────────── */
.podcast-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.podcast-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--color-surface);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.podcast-card:hover,
.podcast-card:focus-within {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

@media (min-width: 768px) {
  .podcast-card {
    grid-template-columns: clamp(180px, 22vw, 260px) 1fr;
  }
}

.podcast-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast-card__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.4s ease;
}

.podcast-card__thumb:hover img {
  transform: scale(1.05);
}

.podcast-card__body {
  padding: var(--space-l);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.podcast-card__excerpt {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-m);
}

.podcast-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-size: 0.95rem;
  color: var(--color-subtle);
  margin-bottom: var(--space-s);
}

.podcast-card__meta time {
  color: var(--color-text);
  font-weight: 500;
}

.podcast-card__meta time + .podcast-card__duration::before {
  content: '·';
  margin-right: var(--space-xs);
}

.podcast-card__thumb-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.podcast-card__thumb-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.35;
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .podcast-card__thumb {
    padding: var(--space-m);
  }
}

.podcast-card__episode {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-s);
}

.podcast-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--space-s);
  color: var(--color-text);
}

.podcast-card__title a:hover { color: var(--color-accent); text-decoration: none; }

/* ── Podcast player ─────────────────────────────────────── */
.podcast-player { margin-top: var(--space-s); }
.podcast-player + .podcast-player { margin-top: var(--space-xs); }
.podcast-player--native audio { border-radius: 8px; width: 100%; }

/* ── Single podcast ─────────────────────────────────────── */
.single-podcast__header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-l);
}

.single-podcast__episode {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-s);
}

.single-podcast__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-m);
}

.single-podcast__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  font-size: 1rem;
  color: var(--color-subtle);
}

.single-podcast__meta time {
  color: var(--color-text);
  font-weight: 500;
}

.single-podcast__meta time + .single-podcast__duration::before {
  content: '·';
  margin-right: var(--space-xs);
}

.single-podcast__thumb {
  margin-bottom: var(--space-l);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.single-podcast__thumb img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.single-podcast__player {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

/* ── Video archive ──────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-m);
  margin-top: var(--space-m);
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover,
.video-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.video-card__thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: opacity 0.25s ease, transform 0.4s ease;
}

.video-card__thumb:hover img { opacity: 1; transform: scale(1.04); }

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-dark);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
  pointer-events: none;
  transition: transform 0.2s;
}

.video-card__body {
  padding: var(--space-s) var(--space-m) var(--space-m);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card__title { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: var(--space-xs); font-weight: 400; line-height: 1.25; }
.video-card__excerpt { font-size: 0.875rem; color: var(--color-muted); flex: 1; }
.video-card__date { font-size: 0.8rem; color: var(--color-muted); display: block; margin-top: var(--space-xs); }

/* ── Video embed ────────────────────────────────────────── */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}

/* Shorts / vertical video: 9:16, centred with max-width */
.video-responsive--portrait {
  padding-bottom: 177.78%; /* 9:16 */
  max-width: 400px;
  margin: 0 auto;
}

.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.single-video__embed { margin-bottom: var(--space-l); }

/* ── Taxonomy filter ────────────────────────────────────── */
.taxonomy-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-m);
}

.taxonomy-filter__link {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: background 0.15s, border-color 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.taxonomy-filter__link:hover,
.taxonomy-filter__link.is-active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-on-dark);
  text-decoration: none;
}

/* ── Post navigation ────────────────────────────────────── */
.post-navigation {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-l);
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  gap: var(--space-m);
}

.post-navigation__prev,
.post-navigation__next {
  max-width: 45%;
}

.post-navigation__next { text-align: right; margin-left: auto; }

/* ── Back link ──────────────────────────────────────────── */
.back-link {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-top: var(--space-m);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ── Related posts ──────────────────────────────────────── */
.related-posts {
  margin-top: var(--space-m);
  padding-top: var(--space-m);
  padding-bottom: var(--space-l);
  border-top: 1px solid var(--color-border);
}

.related-posts__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-m);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-m);
}

.related-card {
  display: flex;
  flex-direction: column;
}

.related-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-border);
  margin-bottom: var(--space-xs);
}

.related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.related-card__thumb:hover img {
  transform: scale(1.04);
}

.related-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-border);
}

.related-card__body { flex: 1; }

.related-card__date {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: calc(var(--space-xs) / 2);
}

.related-card__title {
  font-family: var(--font-serif);
  font-size: 0.975rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.related-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.related-card__title a:hover { opacity: 0.7; }

/* ── Pagination ─────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 4px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-size: 0.875rem;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-on-dark);
  text-decoration: none;
}

/* ── Footer / Contact ───────────────────────────────────── */
/* ── Contact form ───────────────────────────────────────── */
.marina-contact-form { width: 100%; }

.marina-contact-form__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-s);
}

.marina-contact-form__field {
  margin-bottom: var(--space-s);
}

.marina-contact-form__field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: calc(var(--space-xs) / 2);
}

.marina-contact-form__field input,
.marina-contact-form__field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.marina-contact-form__field input:focus,
.marina-contact-form__field textarea:focus {
  border-bottom-color: var(--color-text);
  box-shadow: 0 1px 0 0 var(--color-text);
}

.marina-contact-form__submit {
  margin-top: var(--space-m);
  text-align: right;
}

.marina-contact-form__submit button {
  background: none;
  border: 1px solid var(--color-text);
  padding: 10px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.marina-contact-form__submit button:hover {
  background: var(--color-text);
  color: var(--color-on-dark);
}

/* CF7 compatibility */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: var(--space-s);
  display: block;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-bottom-color: var(--color-text);
  box-shadow: 0 1px 0 0 var(--color-text);
}

.wpcf7-form .wpcf7-submit {
  background: none;
  border: 1px solid var(--color-text);
  padding: 10px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.wpcf7-form .wpcf7-submit:hover {
  background: var(--color-text);
  color: var(--color-on-dark);
}

/* ── Form: validation errors ────────────────────────────── */
.marina-contact-form__field.has-error input,
.marina-contact-form__field.has-error textarea {
  border-bottom-color: var(--color-error);
}

.field-error {
  display: block;
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 3px;
  min-height: 1em;
}

/* ── Form: feedback message ─────────────────────────────── */
.form-feedback {
  display: none;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 0.88rem;
  margin-bottom: var(--space-s);
  line-height: 1.5;
}

.form-feedback--success { background: var(--color-success-bg); color: var(--color-success); border: 1px solid var(--color-success); }
.form-feedback--error   { background: var(--color-error-bg); color: var(--color-error); border: 1px solid var(--color-error); }

/* Legacy .form-message (redirect-based) */
.form-message {
  padding: var(--space-s);
  border-radius: 3px;
  font-size: 0.9rem;
  margin-top: var(--space-s);
}
.form-message--success { background: var(--color-success-bg); color: var(--color-success); }
.form-message--error   { background: var(--color-error-bg); color: var(--color-error); }

/* ── Contact form: privacy note + GDPR consent ──────────── */
.marina-contact-form__privacy-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: var(--space-s);
}

.marina-contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-s);
}

.marina-contact-form__consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-text);
  cursor: pointer;
}

.marina-contact-form__consent label {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.5;
  cursor: pointer;
}

.marina-contact-form__consent label a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.marina-contact-form__consent.has-error label {
  color: var(--color-error);
}

.marina-contact-form__consent .field-error {
  display: block;
  margin-top: 2px;
}

/* ── Submit button spinner ──────────────────────────────── */
.lead-submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  background: none;
  border: 1px solid var(--color-text);
  padding: 10px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lead-submit-btn:hover:not(:disabled) {
  background: var(--color-text);
  color: var(--color-on-dark);
}

.lead-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lead-submit-btn__spinner {
  display: none;
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: marina-spin 0.7s linear infinite;
}

@keyframes marina-spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.site-footer__main {
  padding: var(--space-l) var(--space-m);
  border-top: 3px solid var(--color-accent);
}

.site-footer__inner {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(var(--space-l), 6vw, var(--space-xl));
  align-items: start;
}

/* ── Brand column ───────────────────────────────────────── */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.site-footer__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: var(--space-xs);
  opacity: 0.9;
}

/* SVG fallback when no custom logo is set */
.site-footer__logo-mark {
  width: 40px;
  height: 40px;
  color: oklch(93% 0.010 235 / 0.45);
  margin-bottom: var(--space-xs);
  flex-shrink: 0;
}

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-on-dark);
}

.site-footer__tagline {
  font-size: 0.8rem;
  color: var(--color-on-dark-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Nav column ─────────────────────────────────────────── */
.site-footer__nav {
  padding-top: 2px;
}

.site-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-l);
  row-gap: 8px;
}

.site-footer__nav-list li a {
  font-size: 0.85rem;
  color: var(--color-on-dark-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__nav-list li a:hover {
  color: var(--color-on-dark);
}

/* ── Contact column ─────────────────────────────────────── */
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}

.site-footer__contact-city {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
}

.site-footer__contact-email {
  font-size: 0.85rem;
  color: var(--color-on-dark-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__contact-email:hover {
  color: var(--color-on-dark);
}

.site-footer__socials {
  display: flex;
  gap: var(--space-s);
  margin-top: 2px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-on-dark-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__social-link:hover {
  color: var(--color-on-dark);
}

.site-footer__cta {
  display: inline-block;
  margin-top: var(--space-s);
  padding: 0.55em 1.2em;
  background: transparent;
  border: 1px solid oklch(93% 0.010 235 / 0.3);
  padding: clamp(1rem, 2vw, 1.5rem);
  color: var(--color-on-dark);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  align-self: flex-start;
}

.site-footer__cta:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-dark);
}

/* ── Footer bottom ──────────────────────────────────────── */
.site-footer__bottom {
  padding: var(--space-s) var(--space-m);
  font-size: 0.72rem;
  color: var(--color-on-dark-subtle);
  border-top: 1px solid var(--color-dark-border);
}

.site-footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.site-footer__bottom a {
  color: var(--color-on-dark-subtle);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__bottom a:hover {
  color: var(--color-on-dark-muted);
}

.site-footer__bottom-sep {
  color: var(--color-dark-border);
}

/* ── 404 page ───────────────────────────────────────────── */
.error-404 {
  text-align: center;
  padding-block: var(--space-xl);
}

.error-404__code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-border);
  margin-bottom: var(--space-s);
}

.error-404__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: var(--space-s);
}

.error-404__text {
  color: var(--color-muted);
  margin-bottom: var(--space-l);
  line-height: 1.8;
}

.error-404__links {
  display: flex;
  gap: var(--space-s);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Search results ─────────────────────────────────────── */
.search-results {
  margin-top: var(--space-l);
}

.search-result {
  padding-bottom: var(--space-m);
  margin-bottom: var(--space-m);
  border-bottom: 1px solid var(--color-border);
}

.search-result__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.search-result__title a:hover { text-decoration: underline; }

.search-result__excerpt {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.search-result__link {
  font-size: 0.82rem;
  border-bottom: 1px solid currentColor;
}

/* ── No results ─────────────────────────────────────────── */
.no-results {
  text-align: center;
  color: var(--color-muted);
  padding-block: var(--space-xl);
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────── */
.home-hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: clamp(var(--space-l), 8vh, var(--space-xl)) var(--space-m);
  border-bottom: 1px solid var(--color-border);
  background: 
    radial-gradient(circle at 100% 0%, oklch(95% 0.03 340 / 0.3) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, oklch(96% 0.015 60 / 0.4) 0%, transparent 40%),
    linear-gradient(158deg, oklch(99.5% 0.005 60) 0%, var(--color-bg) 55%);
}

/* Compact height when no photo */
.home-hero:has(.home-hero__inner--no-photo) {
  min-height: auto;
  padding-block: clamp(var(--space-xl), 12vh, 8rem);
}

.home-hero__inner {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  width: 100%;
  display: grid;
  grid-template-columns: clamp(260px, 38%, 420px) 1fr;
  gap: var(--space-l);
  align-items: center;
}

/* Hero — no photo: single column, centered */
.home-hero__inner--no-photo {
  grid-template-columns: 1fr;
  max-width: 640px;
  text-align: center;
}

.home-hero__inner--no-photo .home-hero__ctas {
  justify-content: center;
}

/* Hero — has photo: min-height for breathing room */
/* (default min-height: 100vh - nav is appropriate when photo exists) */

/* Photo column */
.home-hero__photo-col { position: relative; }

.home-hero__photo {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  display: block;
}

/* Text column */
.home-hero__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.home-hero__name {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;  /* tighter = more premium */
  margin-bottom: var(--space-m);
}

.home-hero__tagline,
.home-hero__tagline-default {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: var(--space-l);
  max-width: 480px;
}

.home-hero__tagline p { margin-bottom: 0.6em; color: var(--color-muted); }

/* CTA buttons */
.home-hero__ctas {
  display: flex;
  gap: var(--space-s);
  flex-wrap: wrap;
  margin-bottom: var(--space-m);
}

.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.hero-cta--primary {
  background: var(--color-accent);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}

.hero-cta--primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  text-decoration: none;
  color: var(--color-text);
}

.hero-cta--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.hero-cta--secondary:hover {
  border-color: var(--color-text);
  text-decoration: none;
}

/* ── Home sections (podcasts, videos, services) ──────────── */
.home-section {
  padding-block: var(--space-xl);
}

.home-section--services { background: var(--color-surface); }
.home-section--podcasts { background: var(--color-bg); }
.home-section--videos   { background: var(--color-surface); }

.home-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-l);
  gap: var(--space-s);
}

.home-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.home-section__more {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.home-section__more:hover {
  color: var(--color-text);
  border-color: var(--color-text);
  text-decoration: none;
}

/* ── Home podcast list ───────────────────────────────────── */
.home-podcasts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-m);
}

.home-podcast-item {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-bottom: none;
  padding-bottom: 0;
}

.home-podcast-item:hover,
.home-podcast-item:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.home-podcast-item__thumb {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: var(--color-surface);
}

.home-podcast-item__thumb img,
.home-podcast-item__thumb-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-podcast-item__thumb:hover img {
  transform: scale(1.06);
}

.home-podcast-item__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG injected inline in PHP — no emoji */
.home-podcast-item__thumb-placeholder svg {
  width: 42px;
  height: 42px;
  opacity: 0.35;
  color: var(--color-accent);
}

.home-podcast-item__body {
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-podcast-item__ep {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: calc(var(--space-xs) / 2);
}

.home-podcast-item__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: var(--space-s);
  line-height: 1.3;
}

.home-podcast-item__title a:hover { text-decoration: underline; }

.home-podcast-item__meta {
  display: flex;
  gap: var(--space-s);
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: auto;
}

/* ── Home video grid ─────────────────────────────────────── */
.home-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-m);
}

.home-video-card__thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-dark);
  border-radius: 3px;
  margin-bottom: var(--space-s);
}

.home-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.home-video-card__thumb:hover img { opacity: 1; transform: scale(1.05); }

.home-video-card__thumb-placeholder {
  width: 100%;
  height: 100%;
}

.home-video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-dark);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
  pointer-events: none;
  transition: transform 0.2s;
}

.home-video-card__thumb:hover .home-video-card__play {
  transform: scale(1.1);
}

.home-video-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: calc(var(--space-xs) / 2);
}

.home-video-card__title a:hover { text-decoration: underline; }

.home-video-card__date {
  font-size: 0.78rem;
  color: var(--color-muted);
  display: block;
}

/* ── Home services grid ──────────────────────────────────── */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-m);
}

.home-service-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-m);
  border: 1px solid rgba(0,0,0,0.03);
  background: var(--color-surface);
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-service-card:hover,
.home-service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border);
}

.home-service-card__icon {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  margin-bottom: var(--space-s);
  display: block;
  flex-shrink: 0;
}

.home-service-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.home-service-card__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-muted);
  flex-grow: 1;
  margin-bottom: var(--space-m);
}

.home-service-card__link {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1px;
  align-self: flex-start;
  transition: border-color 0.2s;
}

.home-service-card:hover .home-service-card__link {
  border-color: var(--color-text);
}

/* ── Bio page ───────────────────────────────────────────── */
.entry-content--bio p {
  margin-bottom: 1.4em;
  line-height: 1.85;
}

/* ── Synedries page ─────────────────────────────────────── */
.synedries-photo {
  margin-top: var(--space-l);
  float: right;
  max-width: clamp(200px, 30%, 300px);
  margin-left: var(--space-m);
  clear: right;
}

.synedries-photo img {
  border-radius: 3px;
  width: 100%;
}

/* Colored text helpers Marina can use in editor */
.text-accent { color: var(--color-accent); }
.text-crisis  { color: var(--color-error); font-weight: 400; }
.text-note    { color: var(--color-note); }
.text-center  { text-align: center; }

/* ── Contact / Epikoinonia page ─────────────────────────── */
.epikoinonia-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-l);
  margin-top: var(--space-l);
}

@media (min-width: 768px) {
  .epikoinonia-layout:has(.epikoinonia-info) {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: start;
  }
}

.epikoinonia-info:empty { display: none; }

.epikoinonia-info .entry-content:empty { display: none; }

.epikoinonia-form {
  width: 100%;
  max-width: 600px;
  background: #fff;
  padding: var(--space-m) var(--space-l);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
  .epikoinonia-form {
    padding: var(--space-m);
  }
}



/* ── Intro content block ────────────────────────────────── */
.entry-content--intro {
  text-align: center;
  margin-bottom: var(--space-l);
  margin-inline: auto;
}

/* ── Video card placeholder ─────────────────────────────── */
.video-card__thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-border);
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════ */
.projects-page {
  padding: var(--space-l) var(--space-m);
  max-width: var(--max-w-wide);
  margin-inline: auto;
}

.projects-page__header {
  text-align: center;
  margin-bottom: clamp(var(--space-l), 5vw, var(--space-xl));
}

.projects-page__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.projects-page__intro {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin-inline: auto;
  margin-top: var(--space-s);
  line-height: 1.6;
}

/* ── Project type sections (grouped view) ─────────────────── */
.projects-type-section {
  margin-top: var(--space-l);
}

.projects-type-section:first-of-type {
  margin-top: 0;
}

.projects-type-section__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-m);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-m);
}

.project-card {
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.project-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.project-card:hover .project-card__image img {
  transform: scale(1.03);
}

.project-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card__placeholder svg {
  opacity: 0.15;
}

.project-card__body {
  padding: var(--space-s) var(--space-m);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-xs);
}

.project-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
  color: var(--color-text);
}

.project-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xs) var(--space-m) var(--space-s);
  margin-top: var(--space-xs);
}

.project-card__status {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.project-card__status--active::before {
  content: '●  ';
  color: var(--color-success);
  font-size: 0.6rem;
}

.project-card__link {
  font-size: 0.8rem;
  color: var(--color-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.project-card__link:hover {
  opacity: 0.6;
}

/* ── Single project page ─────────────────────────────────── */
.project-single {
  max-width: 800px;
  margin-inline: auto;
  padding: var(--space-l) var(--space-m);
}

.project-single__back {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-m);
  transition: color 0.2s;
}

.project-single__back:hover { color: var(--color-text); }

.project-single__tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
}

.project-single__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  margin: 0 0 var(--space-m);
  line-height: 1.2;
}

.project-single__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin-bottom: var(--space-l);
}

.project-single__content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.project-single__content p { margin-bottom: 1em; }

.project-single__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-l);
  padding: 0.75em 1.6em;
  background: var(--color-text);
  color: var(--color-on-dark);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.project-single__cta:hover { opacity: 0.78; }

/* ── Services page ───────────────────────────────────────── */
.page-yphresies {
  padding-block: var(--space-l);
}

.yphresies-header {
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-l);
}

.yphresies-header__intro {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: var(--space-s);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-l);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: var(--color-text);
  transform: translateY(-4px);
}

/* With image */
.service-card__image {
  margin: 0;
}

.service-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.service-card__body {
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  flex: 1;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 0;
}

.service-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-size: 0.95rem;
  color: var(--color-subtle);
  margin-bottom: var(--space-xs);
}

.service-card__price {
  font-weight: 500;
  color: var(--color-text);
}

.service-card__duration {
  color: var(--color-subtle);
}

.service-card__meta .service-card__price + .service-card__duration::before {
  content: '·';
  margin-right: var(--space-xs);
}

.service-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: var(--space-s);
}

.service-card__text p { margin: 0 0 1em; }
.service-card__text p:last-child { margin-bottom: 0; }

.service-card__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-on-dark);
  background: var(--color-accent);
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-top: auto;
}

.service-card__btn:hover {
  opacity: 0.9;
  color: var(--color-on-dark);
  transform: translateY(-2px);
}

/* ── Services general notes ─────────────────────────────── */
.services-notes {
  max-width: 72ch;
  margin: calc(var(--space-xl) * 2) auto 0;
  padding-top: var(--space-l);
  border-top: 1px solid var(--color-border);
}

.services-notes__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: var(--space-m);
}

.services-notes__body {
  font-size: 0.925rem;
  line-height: 1.85;
  color: var(--color-muted);
}

.services-notes__body p {
  margin: 0 0 1em;
}

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

/* ── Articles page ───────────────────────────────────────── */
.page-arthra {
  padding-block: var(--space-l);
}

.arthra-header {
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-l);
}

.arthra-header__intro {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: var(--space-s);
}

.arthra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-m);
}

.arthro-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.arthro-card:hover,
.arthro-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.arthro-card__image-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface);
  margin: 0;
}

.arthro-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.arthro-card:hover .arthro-card__image-link img {
  transform: scale(1.04);
}

.arthro-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
}

.arthro-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-m);
  gap: var(--space-xs);
}

/* External article badge */
.arthro-card__ext-badge {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  background: rgba(0,0,0,0.55);
  color: var(--color-on-dark);
  font-size: 0.75rem;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 3px;
  pointer-events: none;
}

/* Meta row: date + source */
.arthro-card__meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.arthro-card__date {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.arthro-card__source {
  font-size: 0.72rem;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.arthro-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

.arthro-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.arthro-card__title a:hover { opacity: 0.7; }

.arthro-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.arthro-card__link {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--space-xs);
}

.arthro-card__link:hover { opacity: 0.6; }

/* ── Single article ───────────────────────────────────────── */
.single-article__header {
  padding-block: var(--space-l);
  border-bottom: 1px solid var(--color-border);
}

.single-article__date {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-s);
}

.single-article__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 var(--space-s);
}

.single-article__excerpt {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

.single-article__image {
  padding-block: var(--space-m);
}

.single-article__image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.single-article__body {
  padding-block: var(--space-m);
}

.single-article__footer {
  margin-top: var(--space-m);
  padding-top: var(--space-m);
  border-top: 1px solid var(--color-border);
}

.single-article__back {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.single-article__back:hover { color: var(--color-text); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   Breakpoints:
     1024px — tablet landscape
      768px — tablet portrait / large phone
      480px — phone
      360px — small phone
   ═══════════════════════════════════════════════════════════ */

/* ── 1024px: tablet landscape ───────────────────────────── */
@media (max-width: 1024px) {

  /* Nav: reduce gaps so items don't overflow */
  .site-nav__menu {
    gap: clamp(0.75rem, 2vw, var(--space-m));
  }

  .site-nav__menu li a {
    font-size: 0.72rem;
  }


  /* Home hero: tighter */
  .home-hero__inner {
    grid-template-columns: 280px 1fr;
    gap: var(--space-m);
  }




  /* Podcast card: tighter image */
  .podcast-card {
    grid-template-columns: 140px 1fr;
  }

  .podcast-card__thumb img {
    width: 140px;
    height: 140px;
  }

}

/* ── 768px: tablet portrait / large phone ───────────────── */
@media (max-width: 768px) {

  /* Global spacing scale-down */
  :root {
    --space-l:  2.5rem;
    --space-xl: 3.5rem;
  }

  /* ── Navigation: hamburger menu ── */
  .site-nav {
    justify-content: space-between;
    padding-inline: var(--space-m);
  }

  /* Logo / brand in nav (if present) */
  .site-nav__brand {
    display: flex;
    align-items: center;
  }

  .site-nav__menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-xs) var(--space-m) var(--space-s);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    z-index: 99;
  }

  .site-nav__menu.is-open {
    display: flex;
  }

  .site-nav__menu li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav__menu li:last-child {
    border-bottom: none;
  }

  .site-nav__menu li a {
    display: block;
    padding: 13px 0;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    border-bottom: none;
  }

  /* hide sliding underline on mobile menu */
  .site-nav__menu li a::after {
    display: none;
  }

  .site-nav__menu li a:hover,
  .site-nav__menu li.current-menu-item > a,
  .site-nav__menu li.current_page_item > a {
    border-bottom: none;
    color: var(--color-muted);
  }

  .site-nav__toggle {
    display: flex;
  }

  /* Hamburger → X animation when open */
  .site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .site-nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* ── Sub-menu: always visible inline on mobile ── */
  .site-nav__menu .sub-menu {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    min-width: auto;
  }

  .site-nav__menu .sub-menu li {
    border-bottom: 1px solid var(--color-border);
    padding-left: var(--space-s);
  }

  .site-nav__menu .sub-menu li:last-child {
    border-bottom: none;
  }

  .site-nav__menu .sub-menu li a {
    padding: 13px 0;
    font-size: 0.78rem;
    color: var(--color-muted);
  }

  /* ── Page content ── */
  .page-content {
    padding-block: var(--space-l) var(--space-m);
  }

  .container {
    padding-inline: var(--space-s);
  }

  /* ── Home hero: stack to single column ── */
  .home-hero {
    padding: var(--space-l) var(--space-s);
    min-height: auto;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-m);
    max-width: 560px;
  }

  .home-hero__photo {
    max-height: 380px;
    width: 100%;
    object-position: top;
  }

  .home-hero__tagline,
  .home-hero__tagline-default {
    font-size: 0.96rem;
    margin-bottom: var(--space-m);
  }




  .home-service-card {
    padding: var(--space-m);
  }

  /* ── Typography ── */
  h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h2 { font-size: clamp(1.2rem, 3.5vw, 1.6rem); }

  .page-title {
    margin-bottom: var(--space-m);
  }

  /* ── Podcast grid ── */
  .podcast-grid {
    gap: var(--space-m);
  }

  .podcast-card {
    grid-template-columns: 1fr;
    padding-bottom: var(--space-m);
  }

  .podcast-card__thumb {
    display: block;
  }

  .podcast-card__thumb img,
  .podcast-card__thumb-placeholder {
    width: 100%;
    height: 220px;
    aspect-ratio: unset;
    object-fit: cover;
    border-radius: 4px;
  }

  /* ── Video grid ── */
  .video-grid {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }

  /* ── Services grid: 2 → 1 column ── */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* ── Article grid: 2 → 1 column ── */
  .arthra-grid {
    grid-template-columns: 1fr;
  }

  /* ── Related posts: 3 → 1 column ── */
  .related-posts__grid {
    grid-template-columns: 1fr;
    gap: var(--space-s);
  }

  /* ── Article & services headers ── */
  .arthra-header,
  .yphresies-header {
    margin-bottom: var(--space-m);
  }

  /* ── Single article ── */
  .single-article__header {
    padding-block: var(--space-m);
  }

  .single-article__body {
    padding-block: var(--space-m);
  }


  /* ── Synedries photo: unfloat, show below content ── */
  .synedries-photo {
    float: none;
    max-width: 100%;
    margin-left: 0;
    margin-top: var(--space-m);
  }

  .synedries-photo img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: top;
  }

  /* ── Contact form two-column row → single ── */
  .marina-contact-form__row--two {
    grid-template-columns: 1fr;
  }

  /* ── Epikoinonia page ── */
  .epikoinonia-form {
    max-width: 100%;
  }

  /* ── Post navigation ── */
  .post-navigation {
    flex-direction: column;
    gap: var(--space-s);
  }

  .post-navigation__prev,
  .post-navigation__next {
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }

  /* ── Taxonomy filter ── */
  .taxonomy-filter {
    gap: var(--space-xs);
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    /* allow horizontal scroll on very small screens */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .taxonomy-filter::-webkit-scrollbar { display: none; }

  .taxonomy-filter__link {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* ── Pagination ── */
  .pagination {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* ── Single podcast / video header ── */
  .single-podcast__meta,
  .single-video__date {
    font-size: 0.8rem;
  }


  /* ── Footer: 3-col → 2-col ── */
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-m);
  }

  /* Brand takes full row on its own */
  .site-footer__brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: var(--space-m);
    padding-bottom: var(--space-s);
    border-bottom: 1px solid var(--color-dark-border);
  }

  .site-footer__logo {
    margin-bottom: 0;
  }
}

/* ── 480px: phone ───────────────────────────────────────── */
@media (max-width: 480px) {

  :root {
    --space-l:  2rem;
    --space-xl: 2.5rem;
    --nav-height: 52px;
  }


  /* ── Service card: tighter padding ── */
  .service-card__body {
    padding: var(--space-s);
  }

  /* ── Podcast card: smaller image height ── */
  .podcast-card__thumb img {
    height: 180px;
  }

  /* ── Home hero CTA: stack ── */
  .home-hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
  }



  /* ── Home section header ── */
  .home-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    margin-bottom: var(--space-m);
  }

  /* ── Podcast player: stack if multiple ── */
  .podcast-player + .podcast-player {
    margin-top: var(--space-s);
  }

  /* ── Video grid: ensure full width ── */
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* ── Nav menu items larger touch targets ── */
  .site-nav__menu li a {
    padding: 15px 0;
    font-size: 0.88rem;
  }

  /* ── Form submit: full width on small phones ── */
  .marina-contact-form__submit {
    text-align: center;
  }

  .marina-contact-form__submit button,
  .wpcf7-form .wpcf7-submit {
    width: 100%;
    padding: 14px;
  }

  /* ── Page title smaller ── */
  .page-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: var(--space-m);
  }

  /* ── Home hero text ── */
  .home-hero__text-col p {
    font-size: 0.9rem;
  }

  /* ── Pagination: keep 44px touch target ── */
  .pagination .page-numbers {
    min-width: 44px;
    min-height: 44px;
    font-size: 0.8rem;
  }


  /* ── Single video/podcast ── */
  .single-podcast__title,
  .single-video__title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  /* ── Footer: 2-col → 1-col ── */
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }

  .site-footer__brand {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: var(--space-s);
    border-bottom: 1px solid var(--color-dark-border);
  }
}

/* ── 360px: small phone ─────────────────────────────────── */
@media (max-width: 480px) {

  :root {
    --space-m: 1.25rem;
    --space-s: 0.75rem;
  }

  .container {
    padding-inline: var(--space-s);
  }

  .site-nav__menu li a {
    font-size: 0.82rem;
  }

  .home-hero__inner {
    padding-inline: var(--space-xs);
  }

  .taxonomy-filter__link {
    font-size: 0.72rem;
    padding: 10px 10px;
    min-height: 44px;
  }
}

/* ═══════════════════════════════════════════════════════════
   600px — landscape phones / small tablets
   (contact form 2-col, synedries unfloat early)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .marina-contact-form__row--two {
    grid-template-columns: 1fr;
  }

  .synedries-photo {
    float: none;
    max-width: 100%;
    margin-left: 0;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   900px — tablet portrait gap (missing intermediate)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {



  /* Home section spacing */
  .home-section { padding-block: var(--space-l); }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* ── Scroll-reveal base ─────────────────────────────────────── */
.marina-anim {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity  0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

/* Direction variants */
.marina-anim--left  { transform: translateX(-34px); }
.marina-anim--right { transform: translateX(34px); }

/* Visible state — all directions reset here */
.marina-anim.marina-anim--in {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ── Skeletons ──────────────────────────────────────────────── */
@keyframes pulse-bg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.home-podcast-item__thumb-placeholder,
.home-video-card__thumb-placeholder,
.project-card__placeholder,
.video-card__thumb-placeholder,
.podcast-card__thumb-placeholder {
  background: linear-gradient(90deg, oklch(96% 0.005 60), oklch(99% 0.005 60), oklch(96% 0.005 60));
  background-size: 200% 200%;
  animation: pulse-bg 2.5s ease-in-out infinite;
}

/* ── Hero: faster entrance ──────────────────────────────────── */
.home-hero__photo.marina-anim,
.home-hero__text-col.marina-anim {
  transition-duration: 0.9s;
}

/* ── Cards: clean deceleration ──────────────────────────────── */
.home-service-card.marina-anim,
.project-card.marina-anim,
.podcast-card.marina-anim,
.video-card.marina-anim {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── CTA buttons: subtle pulse on hover ─────────────────────── */
.hero-cta,
.site-footer__cta,
.project-single__cta {
  transition: background 0.22s ease, color 0.22s ease,
              transform  0.18s ease, box-shadow 0.18s ease;
}

.hero-cta:hover,
.project-single__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.site-footer__cta:hover {
  transform: translateY(-1px);
}

/* ══ Disable all animations when reduced-motion requested ═════ */
@media (prefers-reduced-motion: reduce) {
  .marina-anim,
  .marina-anim--left,
  .marina-anim--right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOCUS — keyboard navigation
   ═══════════════════════════════════════════════════════════ */

:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Remove default outline only when focus-visible is supported */
:focus:not(:focus-visible) { outline: none; }

.hero-cta:focus-visible,
.lead-submit-btn:focus-visible,
.marina-contact-form__submit button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .lead-submit-btn__spinner { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════ */
@media print {
  .site-header,
  .site-nav,
  .site-footer__bottom,
  .home-hero__ctas,
  .home-section--services,
  .taxonomy-filter,
  .pagination,
  .post-navigation,
  .back-link,
  .podcast-player,
  .lead-submit-btn,
  .marina-contact-form__submit {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .container, .container--narrow { max-width: 100%; padding: 0; }

  h1, h2, h3 { page-break-after: avoid; }
  p, li      { orphans: 3; widows: 3; }
  img        { max-width: 100% !important; page-break-inside: avoid; }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  a[href^="#"]::after,
  a[href^="tel:"]::after,
  a[href^="mailto:"]::after { content: ""; }

  .mobile-cta-bar,
  .cookie-banner { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   STICKY MOBILE CTA BAR
   ═══════════════════════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;   /* shown only in @media below */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--color-accent);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
  /* slide in once JS removes aria-hidden */
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-cta-bar.is-visible {
  transform: translateY(0);
}

.mobile-cta-bar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  color: var(--color-on-dark);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mobile-cta-bar__link:hover {
  background: rgba(0,0,0,0.08);
  text-decoration: none;
}

/* Hide on contact page itself */
.page-template-template-epikoinonia .mobile-cta-bar { display: none !important; }

/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }

  /* Pad footer so content doesn't hide behind the bar */
  .site-footer { padding-bottom: 52px; }
}

/* ═══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-text);
  color: var(--color-on-dark);
  padding: var(--space-s) var(--space-m);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  flex-wrap: wrap;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner:not([hidden]) {
  transform: translateY(0);
}

/* When mobile CTA is also showing, push cookie above it */
@media (max-width: 768px) {
  .cookie-banner { bottom: 52px; }
  .page-template-template-epikoinonia .cookie-banner { bottom: 0; }
}

.cookie-banner__text {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  color: oklch(79% 0.012 235);
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 36px;
}

.cookie-banner__btn--accept {
  background: var(--color-accent);
  color: var(--color-on-dark);
  border-color: var(--color-accent);
}

.cookie-banner__btn--accept:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.cookie-banner__btn--reject {
  background: transparent;
  color: var(--color-on-dark-muted);
  border-color: var(--color-dark-border);
}

.cookie-banner__btn--reject:hover {
  color: var(--color-on-dark);
  border-color: var(--color-on-dark-muted);
}
