/*
Theme Name: Play with Purpose
Theme URI: https://playwithpurpose.it
Author: Play with Purpose Team
Author URI: https://playwithpurpose.it
Description: Tema WordPress per il ministero sportivo cristiano italiano. Ispirato a Christians in Sport UK — unisce fede e sport con un design moderno, luminoso e accogliente.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: play-with-purpose
Tags: blog, custom-logo, custom-menu, featured-images, translation-ready, one-column, two-columns

Play with Purpose — Fede & Sport
*/

/* ══════════════════════════════════════
   DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   ══════════════════════════════════════ */

:root {
  /* Colors — Orange & Black */
  --bg:           #FAFAF7;
  --bg-alt:       #F3F1EC;
  --card:         #FFFFFF;
  --card-hover:   #F9F8F5;
  --border:       #E5E2DA;
  --border-light: #EDEAE3;

  --text:         #111111;
  --text-light:   #444444;
  --text-muted:   #888888;

  --orange:       #FCBA03;
  --orange-light: #FDD050;
  --orange-pale:  rgba(252,186,3,0.10);
  --orange-dark:  #D9A003;

  /* Legacy aliases — map old names to new palette */
  --blue:         #FCBA03;
  --blue-light:   #FDD050;
  --blue-pale:    rgba(252,186,3,0.10);

  --green:        #111111;
  --green-light:  #333333;
  --green-pale:   rgba(17,17,17,0.06);

  --amber:        #FCBA03;
  --amber-light:  #FDD050;
  --amber-pale:   rgba(252,186,3,0.10);

  --black:        #111111;
  --white:        #FFFFFF;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 30px rgba(0,0,0,0.12);

  /* Radius */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-xs:    4px;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Crimson Pro', Georgia, serif;
  --font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ══════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-light);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.1;
  color: var(--text);
}

/* ══════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,247,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: var(--orange);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo span {
  color: var(--black);
}

.site-logo img {
  height: 40px;
  width: auto;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation .menu {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.main-navigation .menu li {
  position: relative;
}

.main-navigation .menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.5rem 0;
  position: relative;
}

.main-navigation .menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.main-navigation .menu a:hover,
.main-navigation .menu .current-menu-item > a,
.main-navigation .menu .current_page_item > a {
  color: var(--blue);
}

.main-navigation .menu .current-menu-item > a::after,
.main-navigation .menu .current_page_item > a::after {
  transform: scaleX(1);
}

/* Sub-menus */
.main-navigation .menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s;
  z-index: 50;
}

.main-navigation .menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .menu .sub-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
}

.main-navigation .menu .sub-menu a::after {
  display: none;
}

.main-navigation .menu .sub-menu a:hover {
  background: var(--blue-pale);
}

/* Nav CTA Button */
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--blue-light);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Nav Instagram icon */
.nav-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.25s;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-instagram:hover {
  color: var(--orange);
  background: var(--orange-pale);
  transform: translateY(-1px);
}

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

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  z-index: 99;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--blue);
}

/* ══════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════ */

.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 72px);
  min-height: 600px;
  margin-top: 72px;
  overflow: hidden;
  background: #111111;
}

/* ── Single slide ── */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: flex-end;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Background layer */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background: var(--slide-bg, linear-gradient(135deg, #111111 0%, #222222 60%, #333333 100%));
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}

.hero-slide.active .hero-slide__bg {
  transform: scale(1.05);
}

/* ── Video background ── */
.hero-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* no Ken Burns on video — it already moves */
  transform: none !important;
}

/* Dark overlay */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.50) 50%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 1;
}

/* Content */
.hero-slide__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 3rem 4rem 5rem;
  margin-bottom: 0;
}

/* Extra bottom padding when stats bar is present */
.hero-slider.has-stats .hero-slide__content {
  padding-bottom: 7rem;
}

.hero-slide__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.3s, transform 0.6s 0.3s;
}

.hero-slide.active .hero-slide__tag {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 2px;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s 0.5s, transform 0.7s 0.5s;
}

.hero-slide.active .hero-slide__title {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__title .accent {
  color: var(--orange);
}

.hero-slide__desc {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.7s, transform 0.6s 0.7s;
}

.hero-slide.active .hero-slide__desc {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.9s, transform 0.6s 0.9s;
}

.hero-slide.active .hero-slide__cta {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__cta.btn-primary {
  background: var(--orange);
  color: var(--white);
  font-size: 0.85rem;
  padding: 1rem 2.5rem;
}

.hero-slide__cta.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ── Navigation arrows ── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.4);
}

.hero-arrow--prev { left: 1.5rem; }
.hero-arrow--next { right: 1.5rem; }

/* ── Dots ── */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

/* Push dots above stats bar when present */
.hero-slider.has-stats .hero-dots {
  bottom: 5.5rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hero-dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.2);
}

.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,0.5);
}

/* ── Stats bar (bottom of slider) ── */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats-inner {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 1.2rem 2rem;
}

.hero-stats-inner .stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
}

.hero-stats-inner .stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.hero-stats-inner .stat-item {
  text-align: center;
}

/* Keep old stat styles for other contexts */
.hero-stats {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  z-index: 2;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-sans);
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  background: var(--blue-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 0.9rem 2.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-sans);
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-sans);
  display: inline-block;
  text-decoration: none;
}

.btn-green:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-sans);
  display: inline-block;
  text-decoration: none;
}

.btn-amber:hover {
  background: var(--amber-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════ */

.section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--black));
  border-radius: 2px;
  margin-bottom: 3rem;
}

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

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

/* ══════════════════════════════════════
   ABOUT HERO
   ══════════════════════════════════════ */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 72px);
  align-items: stretch;
}

.about-img-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
  height: 100%;
}

.about-content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
}

/* ══════════════════════════════════════
   VALUES SECTION
   ══════════════════════════════════════ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-card:nth-child(1) {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--white);
}

.value-card:nth-child(2) {
  background: linear-gradient(135deg, #3a3a3a 0%, #5c5c3d 100%);
  color: var(--white);
}

.value-card:nth-child(3) {
  background: linear-gradient(135deg, #5c5c3d 0%, #8b7d1e 100%);
  color: var(--white);
}

.value-card:nth-child(4) {
  background: linear-gradient(135deg, #8b7d1e 0%, #FCBA03 100%);
  color: var(--black);
}

.value-card:nth-child(5) {
  background: linear-gradient(135deg, #FCBA03 0%, #FFD700 100%);
  color: var(--black);
}

.value-card:nth-child(6) {
  background: linear-gradient(135deg, #FFD700 0%, #FFF8DC 100%);
  color: var(--black);
}

.value-card .value-title {
  color: inherit;
}

.value-card .value-desc {
  color: inherit;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.value-desc {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* ══════════════════════════════════════
   CARDS
   ══════════════════════════════════════ */

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  overflow: hidden;
}

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

.card-body {
  padding: 2rem;
}

.card-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  flex-shrink: 0;
}

.card-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s;
}

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

/* Article Card */
.art-category {
  width: fit-content;
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  margin-right: 0.5rem;
}

.cat-teologia-sportiva {
  background: var(--amber-pale);
  color: var(--amber);
}

.cat-news {
  background: var(--blue-pale);
  color: var(--blue);
}

.cat-eventi {
  background: var(--green-pale);
  color: var(--green);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

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

.card-excerpt {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-top: 1rem;
}

.card-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
}

/* ══════════════════════════════════════
   GRIDS
   ══════════════════════════════════════ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
}

.featured-main {
  background: var(--card);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  color: var(--text);
}

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

/* Immagine di sfondo del card principale */
.featured-main__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

.featured-main:hover .featured-main__bg {
  transform: scale(1.04);
}

/* Overlay gradiente dal basso verso l'alto — solo quando c'è un'immagine */
.featured-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.10) 100%
  );
  z-index: 1;
}

/* Contenuto sopra l'overlay */
.featured-main.has-thumbnail > *:not(.featured-main__bg):not(.featured-main__overlay) {
  position: relative;
  z-index: 2;
}

/* Testo bianco quando c'è immagine */
.featured-main.has-thumbnail .card-title  { color: #fff; }
.featured-main.has-thumbnail .card-excerpt { color: rgba(255,255,255,0.80); }
.featured-main.has-thumbnail .card-meta   { color: rgba(255,255,255,0.60); }

.featured-main .card-title {
  font-size: 1.9rem;
}

.featured-main .art-num {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--blue-pale);
  position: absolute;
  bottom: -0.8rem;
  right: 1.5rem;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.featured-main.has-thumbnail .art-num {
  color: rgba(255,255,255,0.12);
}

.featured-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
}

.featured-card {
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  overflow: hidden;
}

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

/* Thumbnail in cima al featured-card */
.featured-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

/* Contenuto testuale della card secondaria */
.featured-card__body {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* ══════════════════════════════════════
   QUOTE BANNER
   ══════════════════════════════════════ */

.quote-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #1A365D 100%);
  padding: 4.5rem 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.quote-cross {
  font-size: 4rem;
  flex-shrink: 0;
  color: var(--white);
  opacity: 0.2;
  font-family: var(--font-display);
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}

.quote-ref {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
  letter-spacing: 0.5px;
  font-family: var(--font-sans);
}

/* ══════════════════════════════════════
   CATEGORIES BLOCKS
   ══════════════════════════════════════ */

.cat-block {
  background: var(--card);
  padding: 2.5rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.cat-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: height 0.3s;
}

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

.cat-block:hover::before {
  height: 6px;
}

.cat-block.teologia-sportiva::before { background: var(--amber); }
.cat-block.news::before              { background: var(--blue); }
.cat-block.eventi::before            { background: var(--green); }

.cat-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: block;
}

.cat-title-block {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.cat-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

.cat-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ══════════════════════════════════════
   BLOG / ARCHIVE
   ══════════════════════════════════════ */

.blog-header {
  background: var(--card);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-top: 72px;
}

.blog-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}

/* ══════════════════════════════════════
   SINGLE POST / ARTICLE
   ══════════════════════════════════════ */

.single-header {
  padding: 5rem 0 3rem;
  margin-top: 72px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.single-header .card-meta {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.single-header .section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  max-width: 760px;
}

.single-featured-image {
  margin: -2rem auto 0;
  max-width: 900px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.single-featured-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.single-content {
  padding: 3rem 0 5rem;
}

.single-content .entry-content {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-light);
}

.single-content .entry-content p {
  margin-bottom: 1.5rem;
}

.single-content .entry-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
}

.single-content .entry-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.single-content .entry-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text);
  background: var(--blue-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.single-content .entry-content ul,
.single-content .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: disc;
}

.single-content .entry-content ol {
  list-style: decimal;
}

.single-content .entry-content li {
  margin-bottom: 0.5rem;
}

.single-content .entry-content img {
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}

.single-content .entry-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-light);
  overflow: hidden;
  z-index: 99;
}

.reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--black));
  width: 0%;
  transition: width 0.05s;
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-nav-item {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.post-nav-item:hover {
  box-shadow: var(--shadow-md);
}

.post-nav-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.post-nav-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.post-nav-title a {
  color: inherit;
  text-decoration: none;
}

.post-nav-item.next {
  text-align: right;
}

/* ══════════════════════════════════════
   EVENTS
   ══════════════════════════════════════ */

.event-card .card-body {
  display: flex;
  gap: 1.5rem;
}

.event-date-badge {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
}

.event-date-badge .day {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green);
  line-height: 1;
}

.event-date-badge .month {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 0.2rem;
}

.event-info {
  flex: 1;
}

.event-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════
   TESTIMONIES
   ══════════════════════════════════════ */

.testimony-card {
  text-align: center;
  padding: 2.5rem;
}

.testimony-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--border);
}

.testimony-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimony-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.testimony-sport {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════ */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  margin-top: 72px;
}

.about-img-panel {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-content-panel {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #E8E4DA 100%);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

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

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.value-card:nth-child(1) .value-icon { background: var(--amber-pale); }
.value-card:nth-child(2) .value-icon { background: var(--blue-pale); }
.value-card:nth-child(3) .value-icon { background: var(--green-pale); }

.value-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.value-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  margin-top: 72px;
}

.contact-info {
  background: var(--card);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.contact-links {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.contact-link-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.contact-link-value {
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 0.15rem;
}

.contact-form-panel {
  background: var(--bg);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-pale);
}

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

.form-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}

.form-submit:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.field-error {
  color: #C53030;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-notice {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid #F59E0B;
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.form-notice p {
  margin: 0;
  color: #92400E;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ══════════════════════════════════════
   SUCCESS/ERROR MESSAGES
   ══════════════════════════════════════ */

.success-msg {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* ══════════════════════════════════════
   DONATE PAGE
   ══════════════════════════════════════ */

.donate-hero {
  background: linear-gradient(135deg, var(--green) 0%, #1A4731 100%);
  padding: 6rem 0;
  margin-top: 72px;
  text-align: center;
  color: var(--white);
}

.donate-hero .section-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.donate-hero p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
  line-height: 1.7;
}

.donate-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.donate-method-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

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

/* ══════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════ */

.cta-banner {
  background: linear-gradient(135deg, #111111 0%, #333333 100%);
  border-radius: var(--radius);
  padding: 4rem;
  text-align: center;
  color: var(--white);
}

.cta-banner .section-title {
  color: var(--white);
}

.cta-banner p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 1rem auto 2rem;
  opacity: 0.8;
  line-height: 1.7;
}

.cta-banner .btn-primary {
  background: var(--orange);
  color: var(--white);
}

.cta-banner .btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
}

/* Footer Partnerships */
.footer-partnerships {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-partnerships-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.footer-partnerships-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-partner {
  display: flex;
  align-items: center;
  height: 40px;
}

.footer-partner a {
  display: flex;
  align-items: center;
  height: 100%;
  transition: opacity 0.2s;
}

.footer-partner a:hover {
  opacity: 0.8;
}

.partner-logo {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-partner a:hover .partner-logo {
  opacity: 1;
}

/* Push footer links to new line on small screens */
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

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

/* ══════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

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

/* ══════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════ */

.sidebar .widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.sidebar .widget-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

/* ══════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════ */

.error-404 {
  text-align: center;
  padding: 8rem 0;
  margin-top: 72px;
}

.error-404 .error-code {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--blue-pale);
  line-height: 1;
}

/* ══════════════════════════════════════
   COMMENTS
   ══════════════════════════════════════ */

.comments-area {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
}

.comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.comment-author {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.comment-content {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (min-width: 901px) {
  .about-hero {
    margin-top: 72px;
    min-height: calc(100vh - 72px);
  }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .main-navigation .menu,
  .nav-cta,
  .nav-instagram { display: none; }
  .menu-toggle { display: flex; }

  /* Hero slider responsive */
  .hero-slider { height: calc(100vh - 72px); min-height: 500px; }
  .hero-slide__content { padding: 0 1.5rem 4rem 2rem; }
  .hero-slider.has-stats .hero-slide__content { padding-bottom: 7rem; }
  .hero-arrow { display: none; }
  .hero-stats-inner { gap: 2rem; }
  .hero-stats-inner .stat-num { font-size: 1.7rem; }
  .hero-dots { bottom: 1.2rem; }
  .hero-slider.has-stats .hero-dots { bottom: 5rem; }

  .featured-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .about-hero { grid-template-columns: 1fr; }
  .about-img-panel { height: 280px; }
  .about-content-panel { padding: 3rem 2rem; }
  .values-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { padding: 3rem 2rem; border-right: none; border-bottom: 1px solid var(--border); }
  .contact-form-panel { padding: 3rem 2rem; }

  .donate-methods { grid-template-columns: 1fr; }


  .quote-banner { flex-direction: column; padding: 3rem 2rem; }

  .post-nav { grid-template-columns: 1fr; }

  .section { padding: 3rem 0; }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .cta-banner { padding: 3rem 2rem; }
}

/* ══════════════════════════════════════
   WORDPRESS SPECIFIC
   ══════════════════════════════════════ */

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin: 2rem auto;
}

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

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin: 2rem 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Admin bar fix */
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .mobile-menu {
  top: calc(72px + 32px);
}

body.admin-bar .reading-progress {
  top: calc(72px + 32px);
}

body.admin.bar .hero-slider {
  margin-top: 72px;
  height: calc(100vh - 72px - 32px);
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  body.admin-bar .hero-slider {
    margin-top: calc(72px + 46px);
    height: calc(100vh - 72px - 46px);
  }
}

