/* ============================================================
   HAMBURG GAA — Stadium Editorial
   A bold, architectural design echoing the Hamburg castle crest.
   ============================================================ */

:root {
  --red: #b1202a;
  --red-deep: #8a1820;
  --red-light: #d44a52;
  --blue: #1c4f8c;
  --blue-deep: #143a68;
  --blue-light: #2d6bb5;
  --gold: #f1b23a;
  --gold-light: #f5c96a;
  --bg: #f5f2ed;
  --bg-warm: #ede8e0;
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --muted: #6b6560;
  --surface: #ffffff;
  --surface-dim: #faf8f5;
  --border: rgba(26, 26, 26, 0.09);
  --border-strong: rgba(26, 26, 26, 0.16);
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 26, 26, 0.1);
  --shadow-xl: 0 32px 80px rgba(26, 26, 26, 0.14);
  --radius: 6px;
  --radius-lg: 10px;
  --max: 1160px;
  --gutter: 24px;
  --header-h: 72px;
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus-visible { color: var(--red); }

::selection {
  background: var(--red);
  color: #fff;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link:focus-visible {
  left: var(--gutter); top: var(--gutter);
  width: auto; height: auto;
  padding: 10px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  font-weight: 600;
}

/* ============================================================
   HEADER — Architectural bar with castle-like solidity
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 3px solid var(--red);
  height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: 2px solid var(--ink);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s;
}
.nav-toggle:hover {
  background: var(--ink);
  color: var(--surface);
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
  background: rgba(177, 32, 42, 0.06);
}

.nav-links a.cta {
  background: var(--red);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 16px rgba(177, 32, 42, 0.3);
  transition: all 0.25s;
}
.nav-links a.cta:hover {
  background: var(--red-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(177, 32, 42, 0.4);
}

/* ============================================================
   HERO — Dramatic stadium-entrance feel
   ============================================================ */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--blue-deep);
  min-height: 520px;
  display: flex;
  align-items: stretch;
}

/* Background image layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
  z-index: 0;
}

/* Diagonal slash overlay — the shield chevron motif */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, var(--blue-deep) 0%, rgba(28, 79, 140, 0.92) 35%, rgba(28, 79, 140, 0.7) 55%, transparent 75%),
    linear-gradient(to bottom, transparent 60%, rgba(26, 26, 26, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  padding: 80px 0 72px;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
}

.hero-text .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-text .hero-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin: 0 0 20px;
  color: #fff;
}

.hero-text > p {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border-radius: var(--radius);
}

.btn.primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(177, 32, 42, 0.35);
}
.btn.primary:hover {
  background: #fff;
  color: var(--red);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(177, 32, 42, 0.4);
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn.secondary:hover {
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---- Focus states (accessibility) ---- */
.btn:focus-visible,
.btn-container a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(241, 178, 58, 0.3);
}
.card:focus-visible,
.panel-title a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 79, 140, 0.2);
}

/* Hero info card — like a matchday stats panel */
.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xl);
  border-top: 4px solid var(--gold);
  position: relative;
}

.hero-card .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--blue);
  background: rgba(28, 79, 140, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  color: var(--ink);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.hero-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 15px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero-card li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-card li:last-child { border-bottom: none; }

.hero-card .btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-size: 14px;
  padding: 12px;
}
.hero-card .btn:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

/* Gold accent bar below hero */
.hero-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--gold) 40%, var(--gold) 60%, var(--blue));
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 64px 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--ink);
}

.section-title span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ---- Sport Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: var(--blue-deep);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================================
   PAGE HEADER — Sub-pages
   ============================================================ */
.page-header {
  position: relative;
  padding: 80px 0 48px;
  background: var(--blue-deep);
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--blue-deep) 20%, rgba(28, 79, 140, 0.85) 60%, rgba(28, 79, 140, 0.6) 100%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin: 0 0 12px;
  color: #fff;
}

.page-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  max-width: 600px;
  line-height: 1.6;
}

/* Gold bar under page headers too */
.page-header-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold) 50%, var(--blue));
}

/* ============================================================
   CONTENT SHELL — Clean, editorial container
   ============================================================ */
.content-shell {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
}

/* ---- Prose typography ---- */
.prose { font-size: 17px; line-height: 1.75; }

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 16px;
}
.prose h1 { font-size: 48px; }
.prose h2 { font-size: 38px; }
.prose h3 { font-size: 30px; }
.prose h4 { font-size: 26px; }
.prose h5 {
  font-size: 22px;
  color: var(--blue);
}

.prose p { margin: 0 0 18px; }

.prose img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}

.prose input[type="text"],
.prose input[type="email"],
.prose textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: all 0.25s;
}
.prose input[type="text"]:hover,
.prose input[type="email"]:hover,
.prose textarea:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}
.prose input[type="text"]:focus,
.prose input[type="email"]:focus,
.prose textarea:focus {
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(28, 79, 140, 0.1);
}

.prose input[type="submit"],
.prose button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(177, 32, 42, 0.3);
}
.prose input[type="submit"]:hover,
.prose button[type="submit"]:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(177, 32, 42, 0.4);
}
.prose input[type="submit"]:focus-visible,
.prose button[type="submit"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.prose blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  background: rgba(177, 32, 42, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink-soft);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.prose table th {
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 14px;
  padding: 12px 14px;
  text-align: left;
}
.prose table td {
  border-bottom: 1px solid var(--border);
  padding: 11px 14px;
}
.prose table tr:hover td {
  background: var(--surface-dim);
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(28, 79, 140, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s;
}
.prose a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.prose hr {
  border: none;
  height: 2px;
  background: var(--border);
  margin: 28px 0;
}

.prose iframe {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 20px 0;
}

.prose .separator-break {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 16px 0;
}

/* ============================================================
   NEWS GRID — Legacy WordPress .tmb / .isotope styles
   ============================================================ */
.isotope-filters {
  margin-bottom: 28px;
}

.isotope-filters ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.isotope-filters li span a,
.isotope-filters li span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 6px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  display: inline-block;
  transition: all 0.2s;
  cursor: pointer;
}
.isotope-filters li span a:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.isotope-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.tmb {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tmb:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.t-inside { display: flex; flex-direction: column; }

.t-entry-visual {
  position: relative;
  overflow: hidden;
}
.t-entry-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.tmb:hover .t-entry-visual img {
  transform: scale(1.04);
}

/* Hide the overlay cruft from WP */
.t-entry-visual-overlay,
.t-overlay-wrap,
.dummy { display: none; }

.t-entry-text {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.t-entry-text-tc { flex: 1; }
.t-entry { display: flex; flex-direction: column; height: 100%; }

.t-entry-title {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: 22px;
  margin: 0 0 6px;
  line-height: 1.15;
}

.t-entry-title a {
  color: var(--ink);
  transition: color 0.2s;
}
.t-entry-title a:hover { color: var(--red); }

.t-entry-meta {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}

.t-entry > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.t-entry hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.t-entry-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.t-entry-author img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
}

/* Pagination */
.isotope-footer {
  margin-top: 32px;
  text-align: center;
}
.isotope-footer .pagination,
.pagination {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 6px;
}
.pagination li { display: inline-flex; }
.pagination .btn,
.pagination span.btn {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s;
}
.pagination a:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.pagination .page-numbers.current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  padding: 8px 14px;
  border-radius: var(--radius);
}

/* ============================================================
   POST ARTICLE STYLES (single post pages)
   ============================================================ */
.post-title-wrapper {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--ink);
}

.post-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.post-info span { color: var(--border-strong); }
.post-info a { color: var(--blue); }

/* Post navigation */
.row-navigation {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
}
.post-navigation a {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--blue);
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.post-navigation a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ============================================================
   LEGACY WP LAYOUT — Tame the chaos
   ============================================================ */
.row-container { margin: 0; padding: 0; }
.row, .row-parent, .row-child { margin: 0; padding: 0; }
.row-inner { display: block; }
.uncol, .uncoltable, .uncell, .uncont { display: block; }
.col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-9, .col-lg-12,
.col-md-33, .col-md-66 { width: 100%; }

/* Restore some layout for side-by-side in legacy content */
@media (min-width: 768px) {
  .row-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }
  .col-lg-3 { flex: 0 0 calc(25% - 18px); }
  .col-lg-4 { flex: 0 0 calc(33.33% - 16px); }
  .col-lg-5 { flex: 0 0 calc(41.66% - 12px); }
  .col-lg-6 { flex: 0 0 calc(50% - 12px); }
  .col-lg-7 { flex: 0 0 calc(58.33% - 12px); }
  .col-lg-9 { flex: 0 0 calc(75% - 6px); }
  .col-lg-12 { flex: 0 0 100%; }
  .column_child.col-lg-6 { flex: 0 0 calc(50% - 12px); }
}

/* Profile images in WP content */
.img-circle { border-radius: 50%; overflow: hidden; }
.img-circle img { border-radius: 50%; }
.tmb-no-bg .t-inside { background: none; }
.uncode-single-media-wrapper img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--border);
}

/* WP heading styles */
.heading-text h2 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.text-accent-color { color: var(--red) !important; }

.h4, .h5 { font-family: var(--font-display); letter-spacing: 0.04em; }
.h4 { font-size: 24px; }
.h5 { font-size: 20px; }

/* WP Accordion / FAQ */
.uncode-accordion { margin: 24px 0; }
.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--surface);
}
.panel-heading { padding: 0; }
.panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
}
.panel-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--ink);
  transition: all 0.2s;
  text-decoration: none;
}
.panel-title a::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 16px;
}
.panel-title a:hover {
  background: var(--bg);
  color: var(--blue);
  text-decoration: none;
}
.panel-title.active a,
.panel-title a[aria-expanded="true"] {
  background: var(--blue);
  color: #fff;
}
.panel-title.active a::after,
.panel-title a[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}
.panel-body { padding: 0 20px 20px; color: var(--ink-soft); }
.panel-collapse { display: none; }
.panel-collapse.in { display: block; }

/* WP icon lists */
.icons { padding-left: 0; }
.icons li {
  list-style: none;
  padding: 6px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.icons li .fa {
  color: var(--red);
  font-style: normal;
}
.icons li .fa::before { content: "\2192"; }

/* Background elements in WP content */
.background-element {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 160px;
}
.background-wrapper {
  position: absolute;
  inset: 0;
}
.background-inner {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}
.block-bg-overlay { display: none; }

/* Separator */
.separator-accent {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border: none;
}

/* Various WP utility classes */
.style-color-xsdn-bg,
.style-color-lxmt-bg,
.style-color-wayh-bg { background: transparent; }
.border-color-gyho-color { border-color: transparent !important; }
.double-top-padding { padding-top: 32px; }
.double-bottom-padding { padding-bottom: 32px; }
.triple-top-padding { padding-top: 48px; }
.triple-bottom-padding { padding-bottom: 48px; }
.single-h-padding { padding-left: 0; padding-right: 0; }
.limit-width { max-width: var(--max); margin: 0 auto; }
.no-block-padding { padding: 0; }
.text-center { text-align: center; }
.align_center { text-align: center; }
.text-top-reduced { margin-top: -4px; }
.clear { clear: both; }
.single-wrapper { max-width: 100%; }
.pos-top { align-self: flex-start; }
.pos-middle { align-self: center; }
.pos-bottom { align-self: flex-end; }

/* WP buttons in content */
.btn-container { display: inline-block; margin: 4px 8px 4px 0; }
.btn-container .btn,
.btn-container .custom-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: all 0.2s;
  color: var(--blue);
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.btn-container .btn:hover,
.btn-container .custom-link:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-container .btn-accent {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-container .btn-accent:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

/* Font awesome placeholders */
.fa { font-style: normal; }
.fa-download::before { content: "\2913 "; }
.fa-angle-left::before { content: "\2190 "; }
.fa-angle-right::before { content: " \2192"; }

/* Map containers */
.uncode-gmaps-widget,
.uncode-map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-warm);
  min-height: 150px;
}

/* Video fluid */
.fluid-object {
  position: relative;
  width: 100%;
}

/* Gallery in content */
.isotope-system .isotope-wrapper {
  margin: 0;
}

/* ============================================================
   CTA BANNER — "Join the club" on every page
   ============================================================ */
.cta-banner {
  background: var(--blue-deep);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(255,255,255,0.02) 20px,
      rgba(255,255,255,0.02) 40px
    );
}

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

.cta-banner h3 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
  font-size: 17px;
}

.cta-banner .btn {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-size: 15px;
}
.cta-banner .btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(241, 178, 58, 0.4);
}

/* ============================================================
   FOOTER — Solid, grounded
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-card {
  padding: 0;
}

.footer-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-card p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-card li {
  padding: 0;
  border: none;
}

.footer-card li a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-card li a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-meta {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-meta a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.footer-meta a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom .footer-crest {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.75;
}

/* ============================================================
   NEWS PAGE — Filters, Cards Grid, Pagination
   ============================================================ */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

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

.news-card.hidden {
  display: none;
}

.news-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-warm);
}

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

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

.news-card-content {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-category {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.news-card-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
}

.news-card-content h3 a {
  color: var(--ink);
}

.news-card-content h3 a:hover {
  color: var(--red);
}

.news-card-content time {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

.news-card-content p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pagination-btn {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 14px;
  color: var(--muted);
  min-width: 100px;
  text-align: center;
}

.news-showing {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

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

  .news-filters {
    justify-content: center;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .news-card-content {
    padding: 16px 20px 20px;
  }

  .news-card-content h3 {
    font-size: 20px;
  }
}

/* ============================================================
   ANIMATIONS — CSS-only reveal with animation
   ============================================================ */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: revealUp 0.7s ease both;
}
.reveal.delay-1 { animation-delay: 0.1s; }
.reveal.delay-2 { animation-delay: 0.2s; }
.reveal.delay-3 { animation-delay: 0.3s; }
.reveal.delay-4 { animation-delay: 0.4s; }

/* Stagger for card grids */
.card-grid .card:nth-child(1) { animation-delay: 0s; }
.card-grid .card:nth-child(2) { animation-delay: 0.1s; }
.card-grid .card:nth-child(3) { animation-delay: 0.2s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 60px var(--gutter) 56px;
  }
  .hero-card { max-width: 400px; }

  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    right: var(--gutter);
    top: var(--header-h);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    z-index: 60;
    min-width: 220px;
    gap: 2px;
  }
  .nav-links.open a {
    padding: 12px 16px;
    border-radius: var(--radius);
  }
  .nav-links.open a.cta {
    margin-top: 4px;
  }

  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-title { flex-direction: column; align-items: flex-start; gap: 4px; }

  .page-header { padding: 60px 0 36px; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-content { padding: 48px var(--gutter) 40px; }
  .hero-text h1 { font-size: 48px; }
  .hero-card { padding: 24px 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .content-shell { padding: 24px 20px; }
  .content-shell::before { display: none; }
  .isotope-container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   PRINT
   ============================================================ */
/* ============================================================
   FORMS — Modern, polished form styling
   ============================================================ */
.form-modern {
  max-width: 520px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: all 0.25s;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(28, 79, 140, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-note {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0;
}

.form-note a {
  color: var(--blue);
}

.form-submit {
  margin-top: 28px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(177, 32, 42, 0.3);
}

.btn-submit:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(177, 32, 42, 0.4);
}

.btn-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   SPONSORS PAGE — Premium sponsor showcase
   ============================================================ */
.sponsors-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.sponsors-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.sponsor-cta {
  margin-top: 32px;
}

.sponsor-tier {
  margin-bottom: 56px;
}

.sponsor-tier-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.sponsor-tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.sponsor-tier-badge.founding {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 4px 12px rgba(241, 178, 58, 0.4);
}

.sponsor-tier-badge.gold {
  background: linear-gradient(135deg, var(--gold), #e6a832);
  box-shadow: 0 4px 12px rgba(241, 178, 58, 0.3);
}

.sponsor-tier-badge.friends {
  background: var(--blue);
}

.sponsor-tier-badge.partners {
  background: var(--ink);
}

.sponsor-tier-badge svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.sponsor-tier-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--ink);
}

.sponsor-tier-header p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.sponsor-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.sponsor-card:hover {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 100px;
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.sponsor-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
  color: var(--ink);
}

.sponsor-info h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.sponsor-info h3 a:hover {
  color: var(--red);
}

.sponsor-info p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Friend cards (circular image version) */
.friend-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  transition: all 0.3s;
}

.friend-card:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.friend-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-sm);
}

.friend-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
  margin: 0 0 4px;
  color: var(--ink);
}

.friend-info .friend-year {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 8px;
}

.friend-info p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Partner logos row */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
}

.partner-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.3s;
  filter: grayscale(0.3);
}

.partner-logos a:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

.partner-logos img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
}

/* ============================================================
   GALLERY PAGE — Immersive photo showcase
   ============================================================ */

/* Gallery Hero */
.gallery-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.1);
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(28, 79, 140, 0.92) 0%,
    rgba(28, 79, 140, 0.85) 40%,
    rgba(177, 32, 42, 0.75) 100%
  );
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 600px;
}

.gallery-hero-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.gallery-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 96px);
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 16px;
  line-height: 0.9;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.gallery-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
  line-height: 1.6;
}

.gallery-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.4);
}

.gallery-instagram-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.gallery-instagram-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(225, 48, 108, 0.5);
  color: #fff;
}

/* Gallery Section */
.gallery-section {
  background: var(--ink);
  padding: 0;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* Masonry Grid */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-card-tag {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 6px 14px;
  border-radius: 4px;
  transform: translateY(10px);
  transition: transform 0.3s;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card:hover .gallery-card-tag {
  transform: translateY(0);
}

/* Card sizes */
.gallery-card--tall {
  grid-row: span 2;
}

.gallery-card--wide {
  grid-column: span 2;
}

/* Gallery CTA */
.gallery-cta {
  text-align: center;
  padding: 48px 24px;
  margin-top: 32px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.gallery-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin: 0 0 20px;
}

.gallery-cta .btn.primary {
  background: var(--red);
  box-shadow: 0 4px 20px rgba(177, 32, 42, 0.4);
}

.gallery-cta .btn.primary:hover {
  background: #fff;
  color: var(--red);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1100px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 8px;
  }

  .gallery-card--wide {
    grid-column: span 1;
  }

  .gallery-hero {
    min-height: 320px;
  }

  .gallery-hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-card {
    aspect-ratio: 4/3;
  }

  .gallery-card--tall,
  .gallery-card--wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}

/* ============================================================
   CONTACT PAGE — Improved layout
   ============================================================ */
.contact-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.contact-email-icon {
  width: 56px;
  height: 56px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-email-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.contact-email-text h3 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 4px;
  text-transform: uppercase;
}

.contact-email-text a {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.contact-email-text a:hover {
  color: var(--red);
}

.legal-info {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.legal-info h4 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
}

.legal-info p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 16px;
}

.legal-info a {
  color: var(--blue);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .sponsor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sponsor-logo {
    max-width: 200px;
    margin: 0 auto;
  }

  .friend-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .friend-avatar {
    margin: 0 auto;
  }

  .contact-header {
    flex-direction: column;
    text-align: center;
  }
}

@media print {
  .site-header, .site-footer, .cta-banner,
  .hero-bar, .page-header-bar, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
  .content-shell { box-shadow: none; border: 1px solid #ddd; }
}
