/*
Theme Name: Sons of the Beach
Theme URI: https://sonsofthebeach.it
Author: Sons of the Beach
Author URI: https://sonsofthebeach.it
Description: Custom theme for Sons of the Beach — beach volleyball media site
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: sotb
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-primary: #6670a6;
  --color-accent: #d4b483;
  --color-bg: #12141e;
  --color-card: #1c1f2e;
  --color-surface: #252840;
  --color-muted: #8589a0;
  --color-border: rgba(102, 112, 166, 0.18);
  --color-white: #ffffff;
  --color-text: #e8e9f0;

  --font-heading: "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-btn: 0 4px 16px rgba(212, 180, 131, 0.25);

  --transition: 0.25s ease;
  --nav-height: 70px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-primary);
  color: var(--color-white);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-white);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}
h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--color-muted);
  line-height: 1.7;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(212, 180, 131, 0.12);
  border: 1px solid rgba(212, 180, 131, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--narrow {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 80px;
}

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

.section--card {
  background-color: var(--color-card);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  max-width: 600px;
  margin-inline: auto;
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #c4a060 100%);
  color: #12141e;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 180, 131, 0.4);
  color: #12141e;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 112, 166, 0.3);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.sotb-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(37, 40, 64, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

body.scrolled .sotb-nav {
  background: rgba(28, 31, 46, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
  text-decoration: none;
}

.nav-logo-text span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links li {
  display: flex;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--color-white);
  background: var(--color-border);
}

.nav-links a.current-menu-item,
.nav-links .current-menu-item > a {
  color: var(--color-accent);
  background: rgba(212, 180, 131, 0.1);
  border: 1px solid rgba(212, 180, 131, 0.35);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

body.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 30, 0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

body.nav-open .nav-mobile-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background-color: var(--color-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 70% 50%,
      rgba(102, 112, 166, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 20% 80%,
      rgba(212, 180, 131, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 1px 1px,
      rgba(102, 112, 166, 0.08) 1px,
      transparent 0
    );
  background-size:
    auto,
    auto,
    40px 40px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-block: 80px;
}

.hero h1 {
  margin-bottom: 1.25rem;
  background: linear-gradient(
    135deg,
    var(--color-white) 0%,
    rgba(232, 233, 240, 0.75) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* ── Decorative hero volleyball ─────────────────── */
.hero-ball {
  position: absolute;
  right: clamp(-80px, -4vw, -20px);
  top: 50%;
  transform: translateY(-55%);
  width: clamp(300px, 38vw, 520px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
  animation: sotb-float 7s ease-in-out infinite;
}

.hero-ball img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.35));
}

@keyframes sotb-float {
  0%,
  100% {
    transform: translateY(-55%) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) rotate(6deg);
  }
}

@media (max-width: 768px) {
  .hero-ball {
    display: none;
  }
}

/* ── Kicker inline SVG volleyball ───────────────── */
.kicker-ball {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
  flex-shrink: 0;
}

/* ── Pillar icon SVG sizing ─────────────────────── */
.pillar-icon svg,
.pillar-icon img {
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon svg,
.pillar-card:hover .pillar-icon img {
  transform: scale(1.12) translateY(-3px);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: var(--color-card);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 80% at 80% 50%,
      rgba(102, 112, 166, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 1px 1px,
      rgba(102, 112, 166, 0.05) 1px,
      transparent 0
    );
  background-size:
    auto,
    40px 40px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: var(--color-border);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  box-shadow: var(--shadow-card);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(102, 112, 166, 0.4);
}

.card:hover .card-top-border {
  opacity: 1;
}

.card-top-border {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.04);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-card) 100%
  );
  padding: 2rem;
}

.card-image--ball {
  background: transparent;
}

.card-image--ball::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(46%, 150px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(28, 31, 46, 0.22) 0%,
    rgba(28, 31, 46, 0.1) 50%,
    transparent 72%
  );
  filter: blur(3px);
  pointer-events: none;
}

.card-image--ball .card-image-placeholder {
  position: relative;
  z-index: 1;
  background: transparent;
}

.sotb-ball-icon {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card-image-placeholder .sotb-ball-icon {
  position: relative;
  z-index: 1;
  width: min(56%, 150px);
  height: auto;
  object-fit: contain;
}

.card-placeholder-ball {
  filter: none;
}

.card-body {
  padding: 1.5rem;
}

.card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(102, 112, 166, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.card-badges .card-category {
  margin-bottom: 0;
}

.card-sport-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6d2f;
  background: rgba(212, 180, 131, 0.22);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
}

.card-sport-badge:hover {
  background: var(--color-accent);
  color: #1c1f2e;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.card-title a:hover {
  color: var(--color-accent);
}

.card-excerpt {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
  margin-top: auto;
}

.card-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-author {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-read-more {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition:
    gap var(--transition),
    color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-read-more:hover {
  color: var(--color-white);
  gap: 0.5rem;
}

/* ============================================================
   NEWS EDITORIAL SKIN
   ============================================================ */
.news-list-section {
  background:
    radial-gradient(
      ellipse 70% 45% at 15% 0%,
      rgba(212, 180, 131, 0.16),
      transparent 60%
    ),
    #f4f0e8;
  color: #262a35;
}

.news-hero h1,
.news-hero p {
  text-transform: none;
  letter-spacing: 0;
}

.news-list-section .card {
  background: #fffcf6;
  border-color: rgba(90, 100, 150, 0.16);
  box-shadow: 0 10px 34px rgba(28, 31, 46, 0.12);
}

.news-list-section .card:hover {
  border-color: rgba(90, 100, 150, 0.32);
  box-shadow: 0 18px 48px rgba(28, 31, 46, 0.16);
}

.news-list-section .card-image {
  background: #e8e1d5;
}

.news-list-section .card-image--ball {
  background: transparent;
}

.news-list-section .card-image-placeholder {
  background: linear-gradient(135deg, #eee7db 0%, #ded3c3 100%);
}

.news-list-section .card-image--ball .card-image-placeholder {
  background: transparent;
}

.news-list-section .card-category {
  color: #4f5a8b;
  background: rgba(90, 100, 150, 0.12);
}

.news-list-section .card-title,
.news-list-section .card-title a {
  color: #171a24;
  text-transform: none;
  letter-spacing: 0;
}

.news-list-section .card-title a:hover {
  color: #5a6496;
}

.news-list-section .card-excerpt {
  color: #4b4f5c;
}

.news-list-section .card-meta {
  color: #666b78;
  border-top-color: rgba(90, 100, 150, 0.14);
}

.news-list-section .card-read-more {
  color: #5a6496;
}

.news-list-section .card-read-more:hover {
  color: #171a24;
}

.news-list-section .empty-state {
  background: #fffcf6;
  border-color: rgba(90, 100, 150, 0.16);
}

.news-list-section .empty-state h3 {
  color: #171a24;
  text-transform: none;
  letter-spacing: 0;
}

.news-list-section .empty-state p {
  color: #4b4f5c;
}

/* ============================================================
   PILLARS / MISSION CARDS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pillar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(102, 112, 166, 0.45);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.pillar-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.95rem;
}

/* ============================================================
   SPORT FILTER (pagina News)
   ============================================================ */
.sport-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.sport-filter-pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  text-decoration: none;
  transition: all var(--transition);
}

.news-list-section .sport-filter-pill {
  border-color: rgba(90, 100, 150, 0.2);
  color: #4b4f5c;
}

.sport-filter-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.sport-filter-pill.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ============================================================
   INTERVIEW GRID
   ============================================================ */
.interviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ============================================================
   VIDEO GRID
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.video-card-thumb {
  display: block;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(28, 31, 46, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    transform var(--transition);
}

.video-play-icon svg {
  margin-left: 2px;
}

.card:hover .video-play-icon {
  background: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.08);
}

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-divider {
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  text-align: center;
  padding-block: 100px;
  background: var(--color-card);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    rgba(102, 112, 166, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 520px;
  margin-inline: auto;
  font-size: 1.05rem;
}

.cta-section .btn-group {
  justify-content: center;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin-inline: auto;
}

.empty-state-icon {
  position: relative;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-icon::before {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(17, 24, 39, 0.18) 0%,
    rgba(17, 24, 39, 0.08) 48%,
    transparent 72%
  );
  filter: blur(2px);
  pointer-events: none;
}

.empty-state-ball {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  filter: none;
}

.empty-state h3 {
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

.empty-state p {
  font-size: 0.95rem;
}

/* ============================================================
   PLACEHOLDER CARD (prossimamente)
   ============================================================ */
.card-placeholder {
  opacity: 0.55;
  pointer-events: none;
}

.card-placeholder .card-image-placeholder {
  background: linear-gradient(135deg, var(--color-surface), var(--color-card));
}

.card-placeholder .card-image--ball .card-image-placeholder {
  background: transparent;
}

.prossimamente-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(212, 180, 131, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* ============================================================
   TORNEI PAGE
   ============================================================ */
.tornei-portal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.tornei-portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.tornei-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

.tornei-portal-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tornei-portal-card p {
  margin-bottom: 2rem;
  font-size: 1rem;
}

.tornei-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ============================================================
   CONTATTI PAGE
   ============================================================ */
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.contact-info-block h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  background: rgba(102, 112, 166, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-info-ball {
  padding: 5px;
  background: radial-gradient(
    circle,
    rgba(102, 112, 166, 0.16),
    rgba(102, 112, 166, 0.08) 62%,
    transparent 70%
  );
}

.contact-ball {
  width: 100%;
  height: 100%;
  filter: none;
}

.contact-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--color-muted);
}

.contact-social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.contact-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Contact Form */
.contact-form-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.contact-form-block h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.sotb-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(102, 112, 166, 0.15);
}

.form-control::placeholder {
  color: var(--color-muted);
  opacity: 0.6;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-success {
  background: rgba(102, 112, 166, 0.12);
  border: 1px solid rgba(102, 112, 166, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.form-error-msg {
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #e07070;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-hero {
  position: relative;
  padding-block: 2.5rem 3rem;
  background:
    radial-gradient(
      ellipse 60% 45% at 18% 0%,
      rgba(212, 180, 131, 0.14),
      transparent 62%
    ),
    #f4f0e8;
}

.single-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
}

.single-hero .breadcrumb,
.single-hero .breadcrumb a {
  color: #666b78;
}

.single-hero .breadcrumb a:hover {
  color: #5a6496;
}

.single-hero .breadcrumb-sep {
  color: rgba(90, 100, 150, 0.32);
}

.single-hero-content h1 {
  font-size: clamp(2rem, 4.25vw, 3.5rem);
  max-width: 1120px;
  color: #171a24;
  text-transform: none;
  letter-spacing: 0;
  text-wrap: balance;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #666b78;
  flex-wrap: wrap;
}

.share-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.share-link {
  width: 32px;
  height: 32px;
  background: rgba(102, 112, 166, 0.08);
  border: 1px solid rgba(102, 112, 166, 0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: #666b78;
  text-decoration: none;
  cursor: pointer;
}

.share-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.share-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.share-copy-link.share-link--copied {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #12141e;
}

.single-featured-media {
  background: #f4f0e8;
  padding-block: calc(var(--nav-height) + 1.5rem) 0;
}

.single-featured-frame {
  max-width: 1100px;
  margin: 0 auto;
  background: #fffcf6;
  border: 1px solid rgba(90, 100, 150, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(28, 31, 46, 0.12);
}

.single-featured-image {
  display: block;
  width: 100%;
  height: auto;
}

.single-featured-image-wrap {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}

.single-featured-image-wrap {
  position: relative;
}

/* Credit overlay in basso a destra sulle immagini */
.sotb-image-credit {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 2;
  font-size: 0.7rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 8px;
  border-radius: 4px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  backdrop-filter: blur(2px);
}

.post-body figure,
.post-body .wp-block-image {
  position: relative;
}

/* ============================================================
   PHOTO GALLERY: horizontal scroll-snap carousel + click-to-zoom
   ============================================================ */
.post-content .wp-block-gallery {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.5rem;
  margin-inline: 0;
  cursor: grab;
}

.post-content .wp-block-gallery.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.post-content .wp-block-gallery::-webkit-scrollbar {
  height: 6px;
}

.post-content .wp-block-gallery::-webkit-scrollbar-thumb {
  background: rgba(90, 100, 150, 0.28);
  border-radius: 3px;
}

.post-content .wp-block-gallery .wp-block-image,
.post-content .wp-block-gallery .blocks-gallery-item {
  flex: 0 0 auto;
  width: min(78vw, 340px);
  scroll-snap-align: start;
  margin: 0;
}

.post-content .wp-block-gallery .wp-block-image img,
.post-content .wp-block-gallery .blocks-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.post-content .wp-block-image img,
.post-content .wp-block-gallery img {
  cursor: zoom-in;
}

/* Lightbox overlay */
.sotb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 14, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.sotb-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.sotb-lightbox-figure {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sotb-lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.sotb-lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  text-align: center;
}

.sotb-lightbox-close,
.sotb-lightbox-prev,
.sotb-lightbox-next {
  /* Fixed to the viewport edges (not the image edges) so they never sit
     half-on / half-off the photo regardless of the image's size. */
  position: fixed;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 1;
}

.sotb-lightbox-close:hover,
.sotb-lightbox-prev:hover,
.sotb-lightbox-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.sotb-lightbox-close {
  top: calc(env(safe-area-inset-top, 0px) + 16px);
  right: calc(env(safe-area-inset-right, 0px) + 16px);
}

.sotb-lightbox-prev,
.sotb-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.sotb-lightbox-prev {
  left: calc(env(safe-area-inset-left, 0px) + 16px);
}

.sotb-lightbox-next {
  right: calc(env(safe-area-inset-right, 0px) + 16px);
}

.sotb-lightbox-close svg,
.sotb-lightbox-prev svg,
.sotb-lightbox-next svg {
  width: 22px;
  height: 22px;
}

.sotb-lightbox-counter {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .sotb-lightbox-close,
  .sotb-lightbox-prev,
  .sotb-lightbox-next {
    width: 38px;
    height: 38px;
  }
  .sotb-lightbox-prev {
    left: 8px;
  }
  .sotb-lightbox-next {
    right: 8px;
  }
  .sotb-lightbox-close {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    right: calc(env(safe-area-inset-right, 0px) + 8px);
  }
}

.sotb-photo-caption {
  margin: 0;
  color: #666b78;
  font-size: 0.88rem;
  line-height: 1.55;
}

.single-featured-caption {
  padding: 0.85rem 1rem 1rem;
  background: #fffcf6;
  border-top: 1px solid rgba(90, 100, 150, 0.12);
}

.single-content {
  padding-block: 40px 60px;
}

.editorial-single-content {
  background:
    radial-gradient(
      ellipse 60% 34% at 18% 0%,
      rgba(212, 180, 131, 0.14),
      transparent 64%
    ),
    #f4f0e8;
}

.post-body {
  max-width: 800px;
  margin-inline: auto;
}

.editorial-single-content .post-body {
  background: #fffcf6;
  border: 1px solid rgba(90, 100, 150, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(28, 31, 46, 0.12);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.post-body h2,
.post-body h3,
.post-body h4 {
  margin-block: 1.75rem 0.75rem;
  text-transform: none;
  letter-spacing: normal;
}

.post-body p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.editorial-single-content .post-body h2,
.editorial-single-content .post-body h3,
.editorial-single-content .post-body h4 {
  color: #171a24;
}

.editorial-single-content .post-body p,
.editorial-single-content .post-body li {
  color: #303542;
}

.editorial-single-content .post-body a {
  color: #5a6496;
}

.editorial-single-content .post-body a:hover {
  color: #171a24;
}

.post-body img {
  border-radius: var(--radius-md);
  margin-block: 1.5rem;
  width: 100%;
  height: auto;
}

.post-body figure {
  margin: 1.75rem 0;
}

.post-body figure img {
  margin-block: 0;
}

.post-body figcaption,
.post-body .wp-caption-text,
.post-body .sotb-photo-caption {
  margin-top: 0.6rem;
  color: #666b78;
  font-size: 0.88rem;
  line-height: 1.55;
}

.post-body .wp-caption {
  max-width: 100%;
}

.post-body .wp-caption img {
  margin-bottom: 0;
}

.post-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin-block: 1.5rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text);
  font-style: italic;
}

.post-body .wp-block-pullquote {
  padding: 0.1rem 0;
  margin-block: 0.1rem 1.5rem;
}

.editorial-single-content .post-body blockquote {
  background: #f4f0e8;
  color: #303542;
  border-left-color: #5a6496;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2rem;
  transition:
    gap var(--transition),
    color var(--transition);
}

.back-link:hover {
  color: var(--color-white);
  gap: 0.75rem;
}

.editorial-single-content .back-link {
  color: #5a6496;
}

.editorial-single-content .back-link:hover {
  color: #171a24;
}

/* ============================================================
   FOOTER
   ============================================================ */
.sotb-footer {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding-block: 48px 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
  margin-inline: auto;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.footer-logo-text span {
  color: var(--color-accent);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

.footer-nav li {
  display: flex;
}

.footer-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--color-muted);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer-bottom a {
  color: var(--color-muted);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.sotb-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.sotb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.sotb-pagination .page-numbers:hover,
.sotb-pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.news-list-section .sotb-pagination .page-numbers {
  background: #fffcf6;
  border-color: rgba(90, 100, 150, 0.18);
  color: #4b4f5c;
  box-shadow: 0 6px 18px rgba(28, 31, 46, 0.08);
}

.news-list-section .sotb-pagination .page-numbers:hover,
.news-list-section .sotb-pagination .page-numbers.current {
  background: #5a6496;
  border-color: #5a6496;
  color: #ffffff;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.sotb-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.sotb-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.sotb-fade-in:nth-child(2) {
  transition-delay: 0.1s;
}
.sotb-fade-in:nth-child(3) {
  transition-delay: 0.2s;
}
.sotb-fade-in:nth-child(4) {
  transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillars-grid.pillars-grid--two {
    grid-template-columns: repeat(2, 1fr);
  }

  .interviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contatti-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  .footer-logo img {
    margin-inline: 0;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .interviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-hamburger {
    display: none !important;
  }

  .nav-links {
    display: flex !important;
  }

  .nav-mobile-overlay {
    display: none !important;
  }
}

/* ============================================================
   MOBILE NAV SLIDE-IN
   ============================================================ */
@media (max-width: 1023px) {
  .nav-inner {
    padding-inline: 1rem;
  }

  .nav-logo img {
    height: 36px;
  }

  .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-mobile-overlay {
    display: block;
  }

  .sotb-nav .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(300px, 80vw);
    height: 100dvh;
    background: var(--color-card);
    border-left: 1px solid var(--color-border);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }

  body.nav-open .sotb-nav .nav-links {
    transform: translateX(0);
    visibility: visible;
  }

  .sotb-nav .nav-links li,
  .sotb-nav .nav-links .menu-item {
    width: 100%;
    display: block;
  }

  .sotb-nav .nav-links a {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
}

.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0 0 0 clamp(1rem, 4vw, 2.75rem);
}

.sotb-comment {
  margin-bottom: 1.5rem;
}

.sotb-comment-body {
  display: flex;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.sotb-comment-avatar img {
  display: block;
  border-radius: 50%;
}

.sotb-comment-content {
  flex: 1;
  min-width: 0;
}

.sotb-comment-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.sotb-comment-author {
  font-weight: 700;
  color: var(--color-white);
}

.sotb-comment-date {
  font-size: 0.78rem;
}

.sotb-comment-date a {
  color: var(--color-muted);
  text-decoration: none;
}

.sotb-comment-date a:hover {
  color: var(--color-accent);
}

.sotb-comment-text {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.sotb-comment-text p {
  margin: 0 0 0.75rem;
}

.sotb-comment-text p:last-child {
  margin-bottom: 0;
}

.sotb-comment-awaiting-moderation {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.sotb-comment-reply {
  margin-top: 0.75rem;
}

.sotb-comment-reply a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.sotb-comment-reply a:hover {
  color: var(--color-white);
}

.comments-closed-note {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.sotb-comment-form #reply-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.sotb-comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.sotb-comment-form .comment-notes,
.sotb-comment-form .logged-in-as {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.sotb-comment-form .form-submit {
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .sotb-comment-form .comment-form-author,
  .sotb-comment-form .comment-form-email {
    display: inline-block;
    width: calc(50% - 0.6rem);
    vertical-align: top;
  }

  .sotb-comment-form .comment-form-author {
    margin-right: 1.2rem;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .sotb-nav,
  .hero-wave,
  .wave-divider {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}
