/*
Theme Name: SVH Sports
Theme URI: https://www.sv-haslach.at
Author: SV Haslach
Author URI: https://www.sv-haslach.at
Description: Modernes Sportverein-Theme für den SV Haslach – energetisches Design in Blau-Weiß mit Gutenberg-Support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: svh-sports
Tags: sports, club, gutenberg, responsive, custom-colors
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --svh-blue:        #0077CC;
  --svh-blue-dark:   #005599;
  --svh-blue-light:  #2196F3;
  --svh-blue-faint:  #E3F2FD;
  --svh-white:       #FFFFFF;
  --svh-bg:          #F2F5FA;
  --svh-text:        #0D1B3E;
  --svh-text-muted:  #5A6B8A;
  --svh-border:      rgba(0,61,165,0.12);
  --svh-radius-sm:   6px;
  --svh-radius-md:   10px;
  --svh-radius-lg:   16px;
  --svh-shadow-sm:   0 2px 8px rgba(0,61,165,0.08);
  --svh-shadow-md:   0 4px 20px rgba(0,61,165,0.12);
  --svh-nav-height:  64px;
  --svh-transition:  0.22s ease;
  --svh-font:        'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --svh-font-display:'Barlow Condensed', 'Impact', 'Arial Narrow', sans-serif;
  --svh-max-width:   1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--svh-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--svh-text);
  background: var(--svh-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--svh-blue); text-decoration: none; transition: color var(--svh-transition); }
a:hover { color: var(--svh-blue-light); }

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--svh-font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--svh-text);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.svh-container {
  max-width: var(--svh-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.svh-section {
  padding: 60px 0;
}

.svh-section--white {
  background: var(--svh-white);
}

.svh-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.svh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svh-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .svh-grid-2, .svh-grid-3, .svh-grid-4 { grid-template-columns: 1fr; }
  .svh-section { padding: 40px 0; }
}

@media (max-width: 1024px) {
  .svh-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svh-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SECTION HEADING
   ============================================================ */
.svh-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.svh-section-heading h2 {
  position: relative;
  padding-left: 16px;
}

.svh-section-heading h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--svh-blue);
  border-radius: 2px;
}

.svh-section-heading a {
  font-size: 13px;
  font-weight: 600;
  color: var(--svh-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.svh-section-heading a:hover { color: var(--svh-blue-light); }

/* ============================================================
   CARD BASE
   ============================================================ */
.svh-card {
  background: var(--svh-white);
  border: 1px solid var(--svh-border);
  border-radius: var(--svh-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--svh-transition), transform var(--svh-transition);
}

.svh-card:hover {
  box-shadow: var(--svh-shadow-md);
  transform: translateY(-2px);
}

.svh-card__body {
  padding: 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.svh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--svh-radius-md);
  font-family: var(--svh-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--svh-transition), transform var(--svh-transition), box-shadow var(--svh-transition);
}

.svh-btn:active { transform: scale(0.97); }

.svh-btn--primary {
  background: var(--svh-white);
  color: var(--svh-blue);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.svh-btn--primary:hover {
  background: var(--svh-blue-faint);
  color: var(--svh-blue-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.svh-btn--outline {
  background: transparent;
  color: var(--svh-white);
  border: 2px solid rgba(255,255,255,0.5);
}

.svh-btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: var(--svh-white);
}

.svh-btn--blue {
  background: var(--svh-blue);
  color: var(--svh-white);
}

.svh-btn--blue:hover {
  background: var(--svh-blue-dark);
  color: var(--svh-white);
  box-shadow: var(--svh-shadow-md);
}

/* ============================================================
   BADGE
   ============================================================ */
.svh-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.svh-badge--blue    { background: var(--svh-blue-faint); color: var(--svh-blue); }
.svh-badge--white   { background: rgba(255,255,255,0.2); color: var(--svh-white); }
.svh-badge--success { background: #E6F9EF; color: #0B7D3A; }
.svh-badge--warning { background: #FFF5E0; color: #9A6200; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.svh-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--svh-blue-dark);
  height: var(--svh-nav-height);
  box-shadow: 0 2px 16px rgba(0,31,107,0.4);
}

.svh-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.svh-nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.svh-nav__logo-emblem {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--svh-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svh-nav__logo-emblem img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.svh-nav__logo-emblem span {
  font-family: var(--svh-font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--svh-blue);
  letter-spacing: 0.02em;
}

.svh-nav__logo-text {
  display: flex;
  flex-direction: column;
}

.svh-nav__logo-name {
  font-family: var(--svh-font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--svh-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}

.svh-nav__logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Menu */
.svh-nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.svh-nav__menu a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--svh-radius-sm);
  transition: color var(--svh-transition), background var(--svh-transition);
}

.svh-nav__menu a:hover,
.svh-nav__menu a.current-menu-item {
  color: var(--svh-white);
  background: rgba(255,255,255,0.1);
}

/* Hamburger */
.svh-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.svh-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--svh-white);
  border-radius: 2px;
  transition: transform var(--svh-transition), opacity var(--svh-transition);
}

.svh-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.svh-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.svh-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .svh-nav__toggle { display: flex; }
  .svh-nav__menu {
    display: none;
    position: absolute;
    top: var(--svh-nav-height);
    left: 0; right: 0;
    background: var(--svh-blue-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .svh-nav__menu.is-open { display: flex; }
  .svh-nav__menu a { padding: 12px 16px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* ============================================================
   HERO
   ============================================================ */
.svh-hero {
  position: relative;
  background: var(--svh-blue);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.svh-hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent 0,
      transparent 30px,
      rgba(255,255,255,0.03) 30px,
      rgba(255,255,255,0.03) 32px
    );
}

.svh-hero__stripe {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 45%;
  background: var(--svh-blue-dark);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.svh-hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.svh-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.svh-hero__eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.5);
}

.svh-hero__eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.svh-hero__title {
  font-family: var(--svh-font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--svh-white);
  line-height: 1.0;
  margin-bottom: 16px;
  text-transform: uppercase;
  max-width: 640px;
}

.svh-hero__title span {
  color: rgba(255,255,255,0.35);
}

.svh-hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.svh-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .svh-hero { min-height: 400px; }
  .svh-hero__stripe { display: none; }
  .svh-hero__title { font-size: 2.2rem; }
  .svh-hero__subtitle { font-size: 14px; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.svh-stats-bar {
  background: var(--svh-white);
  border-bottom: 1px solid var(--svh-border);
  box-shadow: var(--svh-shadow-sm);
}

.svh-stats-bar__inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0;
}

.svh-stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 24px;
  border-right: 1px solid var(--svh-border);
  flex: 1;
  min-width: 100px;
}

.svh-stats-bar__item:last-child { border-right: none; }

.svh-stats-bar__num {
  font-family: var(--svh-font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--svh-blue);
  line-height: 1;
  margin-bottom: 4px;
}

.svh-stats-bar__label {
  font-size: 11px;
  color: var(--svh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

@media (max-width: 480px) {
  .svh-stats-bar__item { padding: 14px 12px; }
  .svh-stats-bar__num { font-size: 22px; }
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.svh-news-card {
  background: var(--svh-white);
  border: 1px solid var(--svh-border);
  border-radius: var(--svh-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--svh-transition), transform var(--svh-transition);
}

.svh-news-card:hover {
  box-shadow: var(--svh-shadow-md);
  transform: translateY(-3px);
}

.svh-news-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--svh-blue-faint);
  overflow: hidden;
}

.svh-news-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.svh-news-card:hover .svh-news-card__thumb img { transform: scale(1.04); }

.svh-news-card__thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--svh-blue);
  opacity: 0.3;
}

.svh-news-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
}

.svh-news-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svh-news-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.svh-news-card__date {
  font-size: 12px;
  color: var(--svh-text-muted);
  font-weight: 500;
}

.svh-news-card__title {
  font-family: var(--svh-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--svh-text);
  line-height: 1.25;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.svh-news-card__excerpt {
  font-size: 14px;
  color: var(--svh-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.svh-news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--svh-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: auto;
}

.svh-news-card__link::after {
  content: '→';
  transition: transform var(--svh-transition);
}

.svh-news-card:hover .svh-news-card__link::after { transform: translateX(4px); }

/* ============================================================
   MATCH WIDGET
   ============================================================ */
.svh-match-widget {
  background: var(--svh-white);
  border: 1px solid var(--svh-border);
  border-radius: var(--svh-radius-lg);
  overflow: hidden;
}

.svh-match-widget__header {
  background: var(--svh-blue);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.svh-match-widget__header h3 {
  color: var(--svh-white);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.svh-match-widget__header a {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.svh-match-widget__header a:hover { color: var(--svh-white); }

.svh-match-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--svh-border);
  transition: background var(--svh-transition);
}

.svh-match-item:last-child { border-bottom: none; }
.svh-match-item:hover { background: var(--svh-blue-faint); }

.svh-match-item__info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.svh-match-item__date {
  font-size: 11px;
  color: var(--svh-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.svh-match-item__teams {
  display: flex;
  align-items: center;
  gap: 10px;
}

.svh-match-item__team {
  font-family: var(--svh-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--svh-text);
  text-transform: uppercase;
  flex: 1;
  letter-spacing: 0.02em;
}

.svh-match-item__team--home { text-align: right; }

.svh-match-item__score {
  background: var(--svh-blue);
  color: var(--svh-white);
  font-family: var(--svh-font-display);
  font-size: 15px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--svh-radius-sm);
  letter-spacing: 0.05em;
  white-space: nowrap;
  min-width: 68px;
  text-align: center;
}

.svh-match-item__score--upcoming {
  background: var(--svh-bg);
  color: var(--svh-text-muted);
  border: 1px solid var(--svh-border);
}

/* ============================================================
   SECTIONS CARDS
   ============================================================ */
.svh-sektion-card {
  background: var(--svh-white);
  border: 1px solid var(--svh-border);
  border-radius: var(--svh-radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow var(--svh-transition), transform var(--svh-transition);
  cursor: pointer;
}

.svh-sektion-card:hover {
  box-shadow: var(--svh-shadow-md);
  transform: translateY(-4px);
}

.svh-sektion-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--svh-blue-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
  transition: background var(--svh-transition);
}

.svh-sektion-card:hover .svh-sektion-card__icon { background: var(--svh-blue); }

.svh-sektion-card:hover .svh-sektion-card__icon svg { fill: var(--svh-white); }

.svh-sektion-card__name {
  font-family: var(--svh-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--svh-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.svh-sektion-card__desc {
  font-size: 12px;
  color: var(--svh-text-muted);
  line-height: 1.5;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.svh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
}

.svh-gallery-grid__item {
  overflow: hidden;
  border-radius: var(--svh-radius-md);
  aspect-ratio: 1;
  background: var(--svh-blue-faint);
  position: relative;
}

.svh-gallery-grid__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}

.svh-gallery-grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.svh-gallery-grid__item:hover img { transform: scale(1.06); }

.svh-gallery-grid__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,31,107,0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--svh-transition);
  color: var(--svh-white);
  font-size: 24px;
}

.svh-gallery-grid__item:hover .svh-gallery-grid__overlay { opacity: 1; }

@media (max-width: 768px) {
  .svh-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .svh-gallery-grid__item:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ============================================================
   SPONSORS
   ============================================================ */
.svh-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.svh-sponsor-item {
  background: var(--svh-white);
  border: 1px solid var(--svh-border);
  border-radius: var(--svh-radius-md);
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  transition: border-color var(--svh-transition), box-shadow var(--svh-transition);
}

.svh-sponsor-item:hover {
  border-color: var(--svh-blue);
  box-shadow: var(--svh-shadow-sm);
}

.svh-sponsor-item img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter var(--svh-transition), opacity var(--svh-transition);
}

.svh-sponsor-item:hover img { filter: none; opacity: 1; }

.svh-sponsor-item__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--svh-text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.svh-sponsor-item:hover .svh-sponsor-item__name { color: var(--svh-blue); }

/* ============================================================
   CONTACT TEASER
   ============================================================ */
.svh-contact-teaser {
  background: var(--svh-blue);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.svh-contact-teaser::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.svh-contact-teaser__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.svh-contact-teaser h2 {
  color: var(--svh-white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.svh-contact-teaser p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.svh-footer {
  background: var(--svh-blue-dark);
  padding: 50px 0 24px;
}

.svh-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.svh-footer__logo-name {
  font-family: var(--svh-font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--svh-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.svh-footer__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 0;
}

.svh-footer__col-title {
  font-family: var(--svh-font-display);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.svh-footer__links li { margin-bottom: 8px; }

.svh-footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--svh-transition);
}

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

.svh-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.svh-footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.svh-footer__legal {
  display: flex;
  gap: 20px;
}

.svh-footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.svh-footer__legal a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .svh-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .svh-footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.svh-post-header {
  background: var(--svh-blue);
  padding: 60px 0 40px;
}

.svh-post-header__category {
  margin-bottom: 12px;
}

.svh-post-header__title {
  color: var(--svh-white);
  max-width: 800px;
  margin-bottom: 14px;
}

.svh-post-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.svh-post-content {
  background: var(--svh-white);
  padding: 48px 0 64px;
}

.svh-post-content__wrap {
  max-width: 720px;
  margin: 0 auto;
}

.svh-post-content__wrap p { margin-bottom: 1.2rem; font-size: 16px; line-height: 1.8; }
.svh-post-content__wrap h2 { margin: 2rem 0 1rem; }
.svh-post-content__wrap h3 { margin: 1.6rem 0 0.8rem; }
.svh-post-content__wrap img { border-radius: var(--svh-radius-md); margin: 1.5rem 0; }
.svh-post-content__wrap ul, .svh-post-content__wrap ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.svh-post-content__wrap li { margin-bottom: 0.4rem; font-size: 16px; line-height: 1.7; }

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */
.svh-page-header {
  background: var(--svh-blue);
  padding: 50px 0;
  text-align: center;
}

.svh-page-header h1 { color: var(--svh-white); }
.svh-page-header p { color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.svh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.svh-contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.svh-contact-info-item__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--svh-blue-faint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.svh-contact-info-item__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--svh-text-muted);
  margin-bottom: 3px;
}

.svh-contact-info-item__value {
  font-size: 15px;
  color: var(--svh-text);
  font-weight: 500;
}

@media (max-width: 768px) {
  .svh-contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FORMS (Contact Form 7 compatible)
   ============================================================ */
.svh-form-wrap .wpcf7-form-control-wrap { display: block; margin-bottom: 16px; }

.svh-form-wrap input[type="text"],
.svh-form-wrap input[type="email"],
.svh-form-wrap input[type="tel"],
.svh-form-wrap textarea,
.svh-form-wrap select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--svh-border);
  border-radius: var(--svh-radius-md);
  font-family: var(--svh-font);
  font-size: 15px;
  color: var(--svh-text);
  background: var(--svh-white);
  transition: border-color var(--svh-transition), box-shadow var(--svh-transition);
  appearance: none;
}

.svh-form-wrap input:focus,
.svh-form-wrap textarea:focus,
.svh-form-wrap select:focus {
  outline: none;
  border-color: var(--svh-blue);
  box-shadow: 0 0 0 3px rgba(0,61,165,0.1);
}

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

.svh-form-wrap input[type="submit"],
.svh-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--svh-blue);
  color: var(--svh-white);
  border: none;
  border-radius: var(--svh-radius-md);
  font-family: var(--svh-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--svh-transition);
}

.svh-form-wrap input[type="submit"]:hover,
.svh-form-wrap .wpcf7-submit:hover { background: var(--svh-blue-dark); }

.svh-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--svh-text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   404
   ============================================================ */
.svh-404 {
  text-align: center;
  padding: 100px 20px;
}

.svh-404__num {
  font-family: var(--svh-font-display);
  font-size: 120px;
  font-weight: 900;
  color: var(--svh-blue-faint);
  line-height: 1;
  margin-bottom: 0;
}

.svh-404__title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.svh-404__text {
  color: var(--svh-text-muted);
  margin-bottom: 28px;
}

/* ============================================================
   ARCHIVE / BLOG LIST
   ============================================================ */
.svh-archive-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.svh-sidebar .svh-card__body { padding: 20px; }

.svh-widget-title {
  font-family: var(--svh-font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--svh-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--svh-blue);
  display: inline-block;
}

@media (max-width: 900px) {
  .svh-archive-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.svh-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.svh-pagination a,
.svh-pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--svh-radius-sm);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--svh-border);
  background: var(--svh-white);
  color: var(--svh-text);
  transition: background var(--svh-transition), color var(--svh-transition);
}

.svh-pagination a:hover { background: var(--svh-blue-faint); color: var(--svh-blue); }
.svh-pagination .current { background: var(--svh-blue); color: var(--svh-white); border-color: var(--svh-blue); }

/* ============================================================
   GUTENBERG EDITOR STYLES
   ============================================================ */
.wp-block-image img { border-radius: var(--svh-radius-md); }
.wp-block-quote { border-left: 4px solid var(--svh-blue); padding-left: 20px; }
.wp-block-separator { border-color: var(--svh-border); }

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