/* ─── COMPONENTS — Swiss Austral ───────────────────────────────── */

/* ─── CATALOG PAGINATION (WooCommerce) ───────────────────────── */
.sa-catalog-pagination { margin-top: var(--sa-gap-lg); }
.woocommerce-pagination ul { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--sa-gray-light);
  font-size: 14px;
  color: var(--sa-dark);
  text-decoration: none;
  transition: all var(--sa-transition);
}
.woocommerce-pagination ul li a:hover { border-color: var(--sa-red); color: var(--sa-red); }
.woocommerce-pagination ul li span.current { background: var(--sa-red); border-color: var(--sa-red); color: white; }

/* ─── LOADING SPINNER ────────────────────────────────────────── */
.sa-spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--sa-gray-light);
  border-top-color: var(--sa-red);
  border-radius: 50%;
  animation: sa-spin 0.6s linear infinite;
}
@keyframes sa-spin { to { transform: rotate(360deg); } }

/* ─── NO PRODUCTS ────────────────────────────────────────────── */
.sa-no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sa-gap-xl);
  color: var(--sa-gray);
}

/* ─── LOADING OVERLAY ────────────────────────────────────────── */
.sa-loading { position: relative; }
.sa-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  z-index: 10;
  border-radius: inherit;
}

/* ─── WP CONTENT TYPOGRAPHY (Description tab) ───────────────── */
.sa-product-description h3 { font-size: 18px; font-weight: 700; margin: 20px 0 10px; }
.sa-product-description h4 { font-size: 16px; font-weight: 700; margin: 16px 0 8px; }
.sa-product-description p { margin-bottom: 1em; line-height: 1.7; }
.sa-product-description ul, .sa-product-description ol { padding-left: 20px; margin-bottom: 1em; }
.sa-product-description ul li { list-style: disc; margin-bottom: 4px; }
.sa-product-description ol li { list-style: decimal; margin-bottom: 4px; }
.sa-product-description strong { font-weight: 700; }
.sa-product-description a { color: var(--sa-red); text-decoration: underline; }
.sa-product-description table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.sa-product-description table th,
.sa-product-description table td { padding: 10px 12px; border: 1px solid var(--sa-gray-light); font-size: 14px; }
.sa-product-description table th { background: var(--sa-dark); color: white; font-weight: 600; }

/* ─── ALERTS ─────────────────────────────────────────────────── */
.sa-alert { padding: 12px 16px; border-radius: var(--sa-radius); font-size: 14px; margin-bottom: 12px; display: flex; gap: 10px; }
.sa-alert--success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.sa-alert--error   { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }
.sa-alert--info    { background: #E3F2FD; color: #1565C0; border: 1px solid #BBDEFB; }
.sa-alert--warning { background: #FFF8E1; color: #F57F17; border: 1px solid #FFE082; }

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.sa-back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--sa-red);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sa-shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--sa-transition);
  z-index: 500;
}
.sa-back-top.visible { opacity: 1; transform: translateY(0); }
.sa-back-top:hover { background: var(--sa-red-dark); }

/* ─── NEWSLETTER LOAD MORE ───────────────────────────────────── */
.sa-newsletter-grid__pagination { margin-top: var(--sa-gap-md); text-align: center; }

/* ═══ SWISS AUSTRAL — CSS CORRECTIONS v2 (15-May-2026) ═══ */

/* PTO 11: font-size párrafos 1.1em */
p,.sa-text,.sa-description,.sa-feature-desc,.sa-card-text,.wpcf7 label{font-size:1.1em;line-height:1.7}

/* PTO 3: Títulos DM Sans */
h1,h2,h3,h4,h5,h6,.sa-section-title,.wp-block-heading{font-family:'DM Sans',sans-serif!important;letter-spacing:-.01em}

/* PTO 5: Span highlight rojo */
.sa-highlight{color:#C1121F;font-weight:700}

/* PTO 4: Botones Our Products — blanco+rojo */
.sa-category-card .sa-btn,.sa-category-card .sa-btn--outline,.sa-product-cat-btn{background:#fff!important;color:#C1121F!important;border:2px solid #C1121F!important;border-radius:50px;padding:10px 24px;font-weight:600;font-size:.95em;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:all .3s}
.sa-category-card .sa-btn:hover,.sa-category-card .sa-btn--outline:hover,.sa-product-cat-btn:hover{background:#C1121F!important;color:#fff!important}
.sa-category-card{transition:transform .3s,box-shadow .3s;overflow:hidden;border-radius:16px}
.sa-category-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.15)}
.sa-category-card:hover img{transform:scale(1.05)}
.sa-category-card img{transition:transform .4s}

/* PTO 6: Extreme Biotech — íconos grandes 140px */
.sa-feature-col__icon,.sa-feature-columns .sa-icon-circle{width:140px!important;height:140px!important;margin:0 auto 20px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.08)}
.sa-feature-col__icon img,.sa-feature-columns .sa-icon-circle img{width:70px!important;height:70px!important;object-fit:contain}
.sa-feature-columns{background:var(--sa-gray-bg,#F5F5F5);padding:80px 0}
.sa-feature-col{text-align:center;padding:24px}
.sa-feature-col h3{font-size:1.3em;font-weight:700;margin-bottom:4px}
.sa-feature-col h3::after{content:'';display:block;width:40px;height:3px;background:#C1121F;margin:8px auto 16px}
.sa-feature-col .sa-btn--outline{background:#fff!important;color:#C1121F!important;border:2px solid #C1121F!important;border-radius:50px;padding:10px 24px;font-weight:600;font-size:.9em;text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:all .3s}
.sa-feature-col .sa-btn--outline:hover{background:#C1121F!important;color:#fff!important}

/* PTO 7+8: Stats counter — bg image + texto blanco */
.sa-stats-counter{position:relative;background-size:cover!important;background-position:center!important;color:#fff!important;padding:60px 0}
.sa-stats-counter::before{content:'';position:absolute;inset:0;background:rgba(139,20,40,.85);z-index:0}
.sa-stats-counter>*{position:relative;z-index:1}
.sa-stats-counter h2,.sa-stats-counter .sa-section-title,.sa-stats-counter .sa-stat-number,.sa-stats-counter .sa-stat-label,.sa-stats-counter p{color:#fff!important}
.sa-stats-counter .sa-stat-number{font-size:3rem;font-weight:800;line-height:1;margin-bottom:4px}
.sa-stats-counter .sa-stat-label{font-size:1em;font-weight:400;opacity:.9}

/* PTO 9: Why Choose — íconos 80px */
.sa-why-choose .sa-icon-box,.sa-why-choose-grid .sa-wc-icon{width:80px!important;height:80px!important;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;border:2px solid var(--sa-gray-light,#E8E8E8);transition:border-color .3s}
.sa-why-choose .sa-icon-box img,.sa-why-choose-grid .sa-wc-icon img{width:40px!important;height:40px!important;object-fit:contain}
.sa-why-choose .sa-card:hover .sa-icon-box,.sa-why-choose-grid .sa-wc-card:hover .sa-wc-icon{border-color:#C1121F}
.sa-why-choose .sa-card,.sa-why-choose-grid .sa-wc-card{text-align:center;padding:24px 16px;background:#fff;border-radius:16px;border:1px solid rgba(0,0,0,.06);transition:transform .3s,box-shadow .3s}
.sa-why-choose .sa-card:hover,.sa-why-choose-grid .sa-wc-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.sa-why-choose .sa-card h4,.sa-why-choose-grid .sa-wc-card h4{font-size:1.05em;font-weight:700;margin-bottom:8px}
.sa-why-choose .sa-card p,.sa-why-choose-grid .sa-wc-card p{font-size:.95em;color:#666;line-height:1.5}

/* PTO 10: Trusted By — carrusel logos */
.sa-logo-carousel{overflow:hidden;padding:40px 0}
.sa-logo-carousel__track{display:flex;gap:24px;animation:sa-scroll-logos 30s linear infinite}
.sa-logo-carousel__track:hover{animation-play-state:paused}
.sa-logo-item{flex:0 0 auto;min-width:120px;height:50px;display:flex;align-items:center;justify-content:center;padding:8px 20px;background:var(--sa-gray-bg,#F5F5F5);border-radius:50px;text-decoration:none;transition:background .2s}
.sa-logo-item:hover{background:#e0e0e0}
.sa-logo-item img{max-height:32px;width:auto;object-fit:contain;filter:grayscale(100%);opacity:.7;transition:filter .3s,opacity .3s}
.sa-logo-item:hover img{filter:grayscale(0%);opacity:1}
@keyframes sa-scroll-logos{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* PTO 2: Cookie banner */
.sa-cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -4px 20px rgba(0,0,0,.1);padding:20px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;z-index:9999;flex-wrap:wrap;transition:transform .4s}
.sa-cookie-banner.hidden{transform:translateY(100%);pointer-events:none}
.sa-cookie-banner__text h4{font-size:1em;font-weight:700;margin-bottom:4px}
.sa-cookie-banner__text p{font-size:.9em;color:#555;line-height:1.5;margin:0}
.sa-cookie-banner__actions{display:flex;gap:12px;flex-shrink:0}
.sa-cookie-btn--reject{background:#fff;color:#333;border:1.5px solid #ccc;border-radius:50px;padding:10px 24px;font-weight:500;cursor:pointer;transition:border-color .2s}
.sa-cookie-btn--reject:hover{border-color:#C1121F;color:#C1121F}
.sa-cookie-btn--accept{background:#C1121F;color:#fff;border:none;border-radius:50px;padding:10px 24px;font-weight:600;cursor:pointer;transition:background .2s}
.sa-cookie-btn--accept:hover{background:#960D18}

/* Contact page */
.wp-block-lazyblock-sa-contact-form .sa-reveal,.wp-block-lazyblock-sa-contact-form>div:first-child{background:rgba(242,241,250,.94)!important;border-radius:25px!important;padding:32px!important}
.wp-block-lazyblock-sa-contact-info .sa-reveal,.wp-block-lazyblock-sa-contact-info>div:first-child{background:rgba(242,241,250,.94)!important;border-radius:25px!important;padding:32px!important}
.wp-block-lazyblock-sa-contact-info .rounded-3{background:#fff!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:25px!important}
.wp-block-lazyblock-sa-contact-form .bg-white{background:transparent!important}

/* Title centered */
h2.wp-block-heading.sa-section-title{display:block!important;text-align:center!important;width:100%!important;padding-bottom:0!important;margin-bottom:60px!important}
h2.wp-block-heading.sa-section-title::after{content:''!important;display:block!important;width:60px!important;height:3px!important;background:#C1121F!important;margin:12px auto 0!important}
.sa-section-title+.sa-title-line,.sa-title-line{display:none!important}

/* Footer */
.sa-footer{border-top:3px solid #C1121F;padding-top:0}
.sa-footer__inner{padding-top:40px}
.sa-footer__nav li a{color:#C1121F!important}
.sa-footer__nav li a:hover{color:#960D18!important;text-decoration:underline}
.sa-footer__separator{border:none;height:1px;background:#C1121F}

/* Responsive */
@media(max-width:768px){
.sa-feature-col__icon,.sa-feature-columns .sa-icon-circle{width:100px!important;height:100px!important}
.sa-feature-col__icon img,.sa-feature-columns .sa-icon-circle img{width:50px!important;height:50px!important}
.sa-stats-counter .sa-stat-number{font-size:2.2rem}
.sa-why-choose .sa-icon-box,.sa-why-choose-grid .sa-wc-icon{width:60px!important;height:60px!important}
.sa-cookie-banner{padding:16px 20px;flex-direction:column;align-items:stretch}
.wp-block-lazyblock-sa-contact-form .sa-reveal,.wp-block-lazyblock-sa-contact-info .sa-reveal{padding:20px!important;border-radius:16px!important}
}

/* === SELECTOR FIXES (actual DOM classes) === */

/* PTO 4 FIX: Product category buttons use .sa-btn--primary */
[class*='lazyblock-sa-product-categories'] .sa-btn--primary {
  background: #fff !important;
  color: #C1121F !important;
  border: 2px solid #C1121F !important;
  border-radius: 50px;
  font-weight: 600;
}
[class*='lazyblock-sa-product-categories'] .sa-btn--primary:hover {
  background: #C1121F !important;
  color: #fff !important;
}

/* PTO 6 FIX: Feature column icon wrapper (plain div 80x80 -> 140x140) */
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child {
  width: 140px !important;
  height: 140px !important;
  min-width: 140px;
  border-radius: 50%;
  background: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  margin: 0 auto 20px;
}
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child img {
  width: 70px !important;
  height: 70px !important;
  max-width: none;
}

/* PTO 6 FIX: Feature col col-md-6 -> should be col-md-4 visually */
[class*='lazyblock-sa-feature-columns'] .col-md-6 {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
}

/* PTO 9 FIX: Why Choose icons */
[class*='lazyblock-sa-why-choose'] .d-flex > div:first-child {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px;
  border-radius: 50%;
  background: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 2px solid #E8E8E8;
  margin: 0 auto 16px;
}
[class*='lazyblock-sa-why-choose'] .d-flex > div:first-child img {
  width: 40px !important;
  height: 40px !important;
  max-width: none;
}


/* PTO 9 FIX FINAL: Why Choose - center + bigger icons */
[class*='lazyblock-sa-why-choose'] .bg-white.rounded-3 {
  text-align: center !important;
}
[class*='lazyblock-sa-why-choose'] .bg-white > div:first-child {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 16px !important;
  border-radius: 50% !important;
  border: 2px solid #E8E8E8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
[class*='lazyblock-sa-why-choose'] .bg-white > div:first-child img {
  width: 40px !important;
  height: 40px !important;
  max-width: none !important;
}


/* ══════ REFINAMIENTOS FINALES ══════ */

/* 1. Our Products: hover zoom en fotos */
[class*='lazyblock-sa-product-categories'] .position-relative {
  overflow: hidden;
  border-radius: 16px;
}
[class*='lazyblock-sa-product-categories'] .position-relative img {
  transition: transform 0.5s ease !important;
}
[class*='lazyblock-sa-product-categories'] .position-relative:hover img {
  transform: scale(1.08) !important;
}

/* 2. Extreme Biotech: sin fondo blanco en cards, titulo bold, linea roja bajo subtitulos */
[class*='lazyblock-sa-feature-columns'] .bg-white.rounded-3 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
[class*='lazyblock-sa-feature-columns'] .sa-section-title {
  font-weight: 800 !important;
}
[class*='lazyblock-sa-feature-columns'] .sa-card-title {
  font-weight: 700 !important;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 8px;
}
[class*='lazyblock-sa-feature-columns'] .sa-card-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #C1121F;
  margin: 10px auto 0;
}

/* 3. Our results in numbers: titulo mas grande, mas padding */
.sa-stats-counter {
  padding: 80px 0 !important;
}
.sa-stats-counter h2 {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  margin-bottom: 32px !important;
}

/* 4. Why Choose: sombra en cards + texto mas grande */
[class*='lazyblock-sa-why-choose'] .bg-white.rounded-3 {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}
[class*='lazyblock-sa-why-choose'] .bg-white.rounded-3:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1) !important;
}
[class*='lazyblock-sa-why-choose'] .bg-white p {
  font-size: 1.1em !important;
  line-height: 1.7 !important;
}
[class*='lazyblock-sa-why-choose'] .bg-white h3 {
  font-size: 1.1em !important;
}

/* 5. Estandarizar todos los h2 de seccion al mismo tamano */
.sa-section-title,
h2.sa-section-title,
h2.fw-bold,
[class*='lazyblock'] h2 {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
}


/* === REFINAMIENTOS RONDA 2 === */

/* 1. Extreme Biotech: titulos 25px, parrafos 16px, iconos 200px */
[class*='lazyblock-sa-feature-columns'] .sa-card-title {
  font-size: 25px !important;
}
[class*='lazyblock-sa-feature-columns'] .text-muted {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child {
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
}
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child img {
  width: 100px !important;
  height: 100px !important;
}

/* 2. Stats: padding doble (160px arriba y abajo) */
.sa-stats-counter {
  padding: 160px 0 !important;
}

/* 3. Todos los botones rojos: sombra */
.sa-btn--primary {
  box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}
.sa-btn--primary:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
}

/* 4. Why Choose: iconos izquierda, sin borde, 100px */
[class*='lazyblock-sa-why-choose'] .bg-white.rounded-3 {
  text-align: left !important;
}
[class*='lazyblock-sa-why-choose'] .bg-white > div:first-child {
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
  margin: 0 0 16px 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}
[class*='lazyblock-sa-why-choose'] .bg-white > div:first-child img {
  width: 100px !important;
  height: 100px !important;
  max-width: none !important;
}


/* FIX: Extreme Biotech iconos sin contorno CSS (la imagen ya lo trae) */
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
}


/* FIX: Extreme Biotech iconos 100px (contenedor e imagen) */
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child {
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
}
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child img {
  width: 100px !important;
  height: 100px !important;
}


/* FIX: Extreme Biotech iconos 200px */
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child {
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
}
[class*='lazyblock-sa-feature-columns'] .d-flex > div:first-child img {
  width: 200px !important;
  height: 200px !important;
}


/* GLOBAL: todos los parrafos en 1.2rem */
p, .sa-text, .sa-description, .sa-feature-desc, .sa-card-text,
.text-muted, .wpcf7 label,
[class*='lazyblock'] p,
[class*='lazyblock'] .text-muted {
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
}


/* Animaciones reveal mas lentas y notorias */
[data-sa-reveal], .sa-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease !important;
}
[data-sa-reveal].sa-revealed, .sa-reveal.sa-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-sa-reveal][data-sa-delay="1"] { transition-delay: 0.15s !important; }
[data-sa-reveal][data-sa-delay="2"] { transition-delay: 0.3s !important; }
[data-sa-reveal][data-sa-delay="3"] { transition-delay: 0.45s !important; }
[data-sa-reveal][data-sa-delay="4"] { transition-delay: 0.6s !important; }
[data-sa-reveal][data-sa-delay="5"] { transition-delay: 0.75s !important; }
[data-sa-reveal][data-sa-delay="6"] { transition-delay: 0.9s !important; }


/* Our Products: cards aparecen desde los costados */
[class*='lazyblock-sa-product-categories'] .col-12:nth-child(odd) [data-sa-reveal],
[class*='lazyblock-sa-product-categories'] .col-12:nth-child(odd).sa-reveal,
[class*='lazyblock-sa-product-categories'] [data-sa-delay='1'] {
  transform: translateX(-60px) !important;
  opacity: 0;
}
[class*='lazyblock-sa-product-categories'] .col-12:nth-child(even) [data-sa-reveal],
[class*='lazyblock-sa-product-categories'] .col-12:nth-child(even).sa-reveal,
[class*='lazyblock-sa-product-categories'] [data-sa-delay='2'] {
  transform: translateX(60px) !important;
  opacity: 0;
}
[class*='lazyblock-sa-product-categories'] .sa-revealed,
[class*='lazyblock-sa-product-categories'] .sa-reveal.sa-revealed,
[class*='lazyblock-sa-product-categories'] [data-sa-reveal].sa-revealed {
  transform: translateX(0) !important;
  opacity: 1;
}


/* Why Choose: cards aparecen uno a uno */
[class*='lazyblock-sa-why-choose'] .col-12 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease !important;
}
[class*='lazyblock-sa-why-choose'] .col-12:nth-child(1) { transition-delay: 0s !important; }
[class*='lazyblock-sa-why-choose'] .col-12:nth-child(2) { transition-delay: 0.15s !important; }
[class*='lazyblock-sa-why-choose'] .col-12:nth-child(3) { transition-delay: 0.3s !important; }
[class*='lazyblock-sa-why-choose'] .col-12:nth-child(4) { transition-delay: 0.45s !important; }
[class*='lazyblock-sa-why-choose'] .col-12:nth-child(5) { transition-delay: 0.6s !important; }
[class*='lazyblock-sa-why-choose'] .col-12:nth-child(6) { transition-delay: 0.75s !important; }
[class*='lazyblock-sa-why-choose'] .sa-revealed .col-12 {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* FIX: btn primary hover texto blanco */
.sa-btn--primary:hover {
  background: #960D18 !important;
  color: #fff !important;
}


/* === PAGE HERO with content overlap === */
.sa-page-hero {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}
.sa-page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content overlaps the hero */
.sa-page.has-hero {
  margin-top: -120px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding-top: 40px;
}

/* Breadcrumb */
.sa-breadcrumb {
  padding: 0 0 24px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sa-breadcrumb a {
  color: #666;
  text-decoration: none;
}
.sa-breadcrumb a:hover {
  color: #C1121F;
}
.sa-breadcrumb span {
  color: #999;
}
.sa-breadcrumb__current {
  color: #C1121F !important;
  font-weight: 500;
}

@media (max-width: 768px) {
  .sa-page-hero { height: 250px; }
  .sa-page.has-hero { margin-top: -60px; border-radius: 16px 16px 0 0; padding-top: 24px; }
}


/* FIX: overlap respeta ancho maximo del container */
.sa-page.has-hero {
  margin-top: -120px !important;
  position: relative;
  z-index: 2;
  background: transparent !important;
  border-radius: 0 !important;
  padding-top: 0 !important;
  max-width: 100%;
}
.sa-page.has-hero > .container:first-child {
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 40px 40px 0;
  position: relative;
  z-index: 2;
}
.sa-page.has-hero > .container:first-child + * {
  position: relative;
  z-index: 1;
}


/* FIX: overlap con fondo blanco en todo el contenido */
.sa-page.has-hero {
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: -120px !important;
  background: #fff !important;
  border-radius: 24px 24px 0 0 !important;
  padding-top: 40px !important;
  position: relative !important;
  z-index: 2 !important;
}
.sa-page.has-hero > .container:first-child {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 15px 24px !important;
}


/* FIX: About Us - quitar padding entre breadcrumb y contenido */
.sa-page.has-hero [class*='lazyblock']:first-of-type section {
  padding-top: 0 !important;
}

/* FIX: About Us - imagen intro (lab icon) 130px */
.sa-page.has-hero [class*='lazyblock-sa-feature-row']:first-of-type img {
  max-width: 130px !important;
  max-height: 130px !important;
  width: 130px !important;
  height: auto !important;
}


/* FIX FINAL: About Us primer bloque - padding e imagen */
.sa-page.has-hero > div:nth-child(2) section {
  padding-top: 0 !important;
  padding-bottom: 40px !important;
}
.sa-page.has-hero > div:nth-child(2) img {
  max-width: 130px !important;
  height: auto !important;
}


/* FIX About Us intro: texto 80% / icono 20%, sin gap excesivo */
.sa-page.has-hero > div:nth-child(2) section {
  padding: 0 !important;
}
.sa-page.has-hero > div:nth-child(2) .row > div:first-child {
  flex: 0 0 15% !important;
  max-width: 15% !important;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.sa-page.has-hero > div:nth-child(2) .row > div:last-child {
  flex: 0 0 85% !important;
  max-width: 85% !important;
}
.sa-page.has-hero > div:nth-child(2) img {
  max-width: 130px !important;
  height: auto !important;
  margin-top: 0;
}


/* HR separador dashed About Us */
.sa-page .wp-block-separator {
  border: none !important;
  border-top: 1px dashed rgba(199, 188, 188, 1) !important;
  background: none !important;
  opacity: 1 !important;
  margin: 40px auto !important;
  max-width: 90% !important;
}




/* === SA Feature Row: soporte fondo gris === */
.sa-feature-row--bg-gray {
  background: #F5F5F5;
}


/* Leadership heading con linea roja */
.sa-page .wp-block-heading.has-text-align-center {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.sa-page .wp-block-heading.has-text-align-center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #C1121F;
  border-radius: 2px;
}


/* === RESPONSIVE HOME === */

/* 1. Feature Columns: full width en tablet y mobile */
@media (max-width: 991px) {
  [class*='lazyblock-sa-feature-columns'] .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  /* Fix botones Learn more overlap */
  [class*='lazyblock-sa-feature-columns'] .sa-btn {
    margin-bottom: 10px;
  }
}

/* 2. Carrusel: ocultar flechas en mobile, solo dots */
@media (max-width: 768px) {
  .sa-hero-slider__btn {
    display: none !important;
  }
  .sa-hero-slider__dots {
    display: flex !important;
  }
}


/* ========== ABOUT US RESPONSIVE <=768px ========== */
@media (max-width: 768px) {

  /* 1. Hero: 350px, overlap sin border-radius */
  .sa-page-hero {
    height: 350px !important;
  }
  .sa-page.has-hero {
    margin-top: -60px !important;
    border-radius: 0 !important;
  }

  /* 2. Primer bloque: icono debajo del titulo, texto debajo del icono */
  .sa-page.has-hero > div:nth-child(2) .row {
    flex-direction: column !important;
  }
  .sa-page.has-hero > div:nth-child(2) .row > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    order: 0 !important;
  }
  .sa-page.has-hero > div:nth-child(2) .row > div:first-child {
    order: -1 !important;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  .sa-page.has-hero > div:nth-child(2) img {
    max-width: 200px !important;
  }

  /* 3. SA Text Columns: una columna */
  [class*='lazyblock-sa-text-columns'] div[style*='grid-template-columns'] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* 4. Team profiles: padding en los bordes */
  .wp-block-columns .wp-block-column [class*='lazyblock-sa-team-profile'] > div {
    padding: 0 20px !important;
  }

}


/* FIX: About Us overflow horizontal */
/* overflow movido a html */

/* FIX: icono About Us 200px en movil */
@media (max-width: 768px) {
  .sa-page.has-hero > div:nth-child(2) img {
    max-width: 200px !important;
  }
}


/* FIX: primer bloque About Us - icono 200px en movil sin aspect-ratio */
@media (max-width: 768px) {
  .sa-page.has-hero > div:nth-child(2) .col-12.col-lg-6:first-child {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    width: auto !important;
  }
  .sa-page.has-hero > div:nth-child(2) .col-12.col-lg-6:first-child .rounded-3 {
    aspect-ratio: unset !important;
    width: 200px !important;
    height: auto !important;
    margin: 0 auto !important;
    background: transparent !important;
  }
  .sa-page.has-hero > div:nth-child(2) .col-12.col-lg-6:first-child img {
    width: 200px !important;
    height: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
  }
}


/* FIX: escritorio - icono About Us sin recorte */
.sa-page.has-hero > div:nth-child(2) .rounded-3 {
  aspect-ratio: unset !important;
  overflow: visible !important;
  background: transparent !important;
}
.sa-page.has-hero > div:nth-child(2) .row > div:first-child {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
}

/* FIX: movil - icono 130px sin margenes */
@media (max-width: 768px) {
  .sa-page.has-hero > div:nth-child(2) .row > div:first-child {
    justify-content: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .sa-page.has-hero > div:nth-child(2) .rounded-3 {
    width: 130px !important;
    margin: 0 auto !important;
  }
  .sa-page.has-hero > div:nth-child(2) .col-12.col-lg-6:first-child img,
  .sa-page.has-hero > div:nth-child(2) img {
    width: 130px !important;
    max-width: 130px !important;
    height: auto !important;
  }
}





/* ========== FULL-WIDTH BREAKOUT STRATEGY ========== */
html {
  overflow-x: hidden;
}

/* Banner rojo: full-width */


/* Feature Row con full_width: full-width */
[class*='lazyblock-sa-feature-row'] > section[style*='margin-left:calc'] {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}


/* FIX: Feature Row full_width - usando wrapper div */


/* FIX FINAL: Feature Row full_width breakout */
[class*='lazyblock-sa-feature-row'] > section[style*='100vw'] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}


/* === SA Banner Section: full-width unica regla === */
[class*='lazyblock-sa-banner-section'] {
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* Margen inferior Leadership (ultimo bloque antes del footer) */
.sa-page .wp-block-columns:last-child {
  margin-bottom: 32px !important;
}
/* ── SERVICE CARDS 2×2 GRID (Services page) ───────────── */
.sa-service-cards__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sa-gap-md, 30px);
    max-width: 1320px;
    margin: 0 auto;
}
.sa-service-card {
    background: var(--sa-white, #fff);
    border-radius: var(--sa-radius-lg, 12px);
    overflow: hidden;
    border: 1px solid var(--sa-gray-light, #eee);
    transition: box-shadow var(--sa-transition, 0.3s ease), transform var(--sa-transition, 0.3s ease);
    display: flex;
    flex-direction: column;
}
.sa-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sa-shadow-md, 0 12px 32px rgba(0,0,0,0.1));
}
.sa-service-card__image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.sa-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sa-service-card:hover .sa-service-card__image img {
    transform: scale(1.05);
}
.sa-service-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sa-gray-bg, #f5f5f5);
    color: var(--sa-gray-light, #ccc);
}
.sa-service-card__content {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.sa-service-card__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sa-dark, #1a1a1a);
    margin: 0 0 10px;
}
.sa-service-card__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--sa-gray, #666);
    margin: 0 0 20px;
    flex: 1;
}
.sa-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sa-red);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    align-self: flex-end;
    transition: gap 0.2s ease;
}
.sa-service-card__link:hover {
    gap: 10px;
    opacity: 0.85;
}
.sa-service-card__link svg {
    transition: transform 0.2s ease;
}
.sa-service-card__link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .sa-service-cards__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .sa-service-card__image { height: 200px; }
}
/* ── SA SERVICE DETAIL HERO ───────────────────────────── */
.sa-service-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    overflow: hidden;
    padding: 40px 0 60px;
}
.sa-service-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: center;
}
.sa-service-hero__content {
    padding-right: 60px;
}
.sa-service-hero__title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--sa-dark, #1a1a1a);
    margin: 0 0 8px;
}
.sa-service-hero__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--sa-red, #C1121F);
    margin-top: 16px;
}
.sa-service-hero__subtitle {
    font-size: 1.1rem;
    color: var(--sa-dark, #1a1a1a);
    font-weight: 500;
    margin: 20px 0 16px;
}
.sa-service-hero__desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--sa-gray, #666);
    margin-bottom: 28px;
}
.sa-service-hero__desc strong {
    color: var(--sa-dark, #1a1a1a);
}
.sa-service-hero__desc a {
    color: var(--sa-red, #C1121F);
    text-decoration: underline;
}
.sa-service-hero__image {
    position: relative;
    height: 100%;
    min-height: 400px;
    margin-right: -50vw;
    overflow: hidden;
    border-radius: var(--sa-radius-lg, 12px) 0 0 var(--sa-radius-lg, 12px);
}
.sa-service-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 992px) {
    .sa-service-hero__inner {
        grid-template-columns: 1fr;
    }
    .sa-service-hero__content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .sa-service-hero__image {
        margin-right: 0;
        min-height: 300px;
        border-radius: var(--sa-radius-lg, 12px);
        position: relative;
    }
    .sa-service-hero__image img {
        position: relative;
    }
}

/* ── SA RELATED SERVICES ──────────────────────────────── */
.sa-related-services {
    padding: 40px 0;
}
.sa-related-services__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--sa-dark, #1a1a1a);
    margin-bottom: 30px;
}
.sa-related-services__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--sa-red, #C1121F);
    margin-top: 12px;
}
.sa-related-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sa-gap-md, 24px);
}

@media (max-width: 768px) {
    .sa-related-services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── FIX: Services page spacing ───────────────────────── */
.sa-page .sa-breadcrumb {
    margin-bottom: 16px;
}
.sa-page .sa-page-content > .sa-section-title:first-child,
.sa-page .entry-content > h2.sa-section-title:first-child {
    margin-top: 20px;
}

/* ── FIX: Pages without hero image need top padding ──── */
.sa-page.no-hero {
    padding-top: 24px;
}
.sa-page.no-hero .sa-breadcrumb {
    margin-bottom: 12px;
}

/* ── FIX: Separator width inside pages ────────────────── */
.sa-page > .wp-block-separator,
.sa-page > .entry-content > .wp-block-separator {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* ── PAGE CONTENT CONTAINER (no-hero pages) ───────────── */
.sa-page.no-hero .sa-page-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}
.sa-page.no-hero .sa-breadcrumb {
    margin-bottom: 12px;
    padding-top: 24px;
}

/* Full-width breakout for blocks that need it inside sa-page-content */
.sa-page-content > [class*='lazyblock-sa-feature-row'],
.sa-page-content > [class*='lazyblock-sa-banner-section'],
.sa-page-content > [class*='lazyblock-sa-horizon'],
.sa-page-content > [class*='lazyblock-sa-hero-slider'],
.sa-page-content > .sa-service-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
}

/* ── Section title bottom margin ──────────────────────── */
.sa-section-title {
    margin-bottom: 60px;
}

/* ── FIX: Service Detail Hero inside sa-page-content ──── */
.sa-page-content .sa-service-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    padding: 40px 0 60px;
    overflow: hidden;
}
.sa-page-content .sa-service-hero .sa-service-hero__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── NEWSLETTER CAROUSEL ──────────────────────────────── */
.sa-nl-carousel {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: var(--sa-radius-lg, 12px);
    overflow: hidden;
}
.sa-nl-carousel__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.sa-nl-carousel__slide.active { opacity: 1; }
.sa-nl-carousel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}
.sa-nl-carousel__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: #fff;
    text-decoration: none;
    z-index: 2;
}
.sa-nl-carousel__date {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 8px;
    display: block;
}
.sa-nl-carousel__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.sa-nl-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
    z-index: 3;
}
.sa-nl-carousel__btn:hover { background: rgba(255,255,255,0.4); }
.sa-nl-carousel__btn--prev { left: 16px; }
.sa-nl-carousel__btn--next { right: 16px; }
.sa-nl-carousel__dots {
    position: absolute;
    bottom: 16px;
    right: 32px;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.sa-nl-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.sa-nl-carousel__dot.active { background: #fff; }

@media (max-width: 768px) {
    .sa-nl-carousel { height: 300px; }
    .sa-nl-carousel__title { font-size: 1.2rem; }
}

/* ── NEWSLETTER GRID — See all + See more ─────────────── */
.sa-newsletter-grid__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.sa-newsletter-grid__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--sa-dark);
    margin: 0;
}
.sa-newsletter-grid__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--sa-red);
    margin-top: 10px;
}
.sa-newsletter-grid__see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sa-red);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s;
}
.sa-newsletter-grid__see-all:hover { gap: 10px; }

/* News card "See more" link */
.sa-news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--sa-red);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.2s;
}
.sa-news-card__more:hover { gap: 8px; }

/* ── NEWS PAGE GRID ───────────────────────────────────── */
.sa-news-grid {
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 768px) {
    .sa-news-grid {
    margin-bottom: 60px; grid-template-columns: 1fr; }
}

/* ── SINGLE EVENT DETAIL ──────────────────────────────── */
.sa-event-detail__title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--sa-dark);
    margin: 0 0 8px;
}
.sa-event-detail__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--sa-red);
    margin-top: 12px;
    margin-bottom: 24px;
}
.sa-event-detail__layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.sa-event-detail__meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--sa-gray);
}
.sa-event-detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sa-event-detail__image {
    border-radius: var(--sa-radius-lg, 12px);
    overflow: hidden;
    margin-bottom: 24px;
}
.sa-event-detail__image img {
    width: 100%;
    height: auto;
}
.sa-event-detail__content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--sa-gray);
}

/* Event sidebar */
.sa-event-detail__sidebar {
    margin-bottom: 32px;
    background: var(--sa-gray-bg, #f9f9f9);
    border-radius: var(--sa-radius-lg, 12px);
    padding: 24px;
    position: sticky;
    top: 100px;
}
.sa-event-detail__sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sa-dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sa-red);
}
.sa-event-sidebar-card {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sa-gray-light, #eee);
    text-decoration: none;
    color: var(--sa-dark);
    transition: color 0.2s;
}
.sa-event-sidebar-card:hover { color: var(--sa-red); }
.sa-event-sidebar-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
}
.sa-event-sidebar-card p {
    font-size: 0.8rem;
    color: var(--sa-gray);
    margin: 0;
}

@media (max-width: 768px) {
    .sa-event-detail__layout {
        grid-template-columns: 1fr;
    }
    .sa-event-detail__sidebar {
    margin-bottom: 32px;
        position: static;
    }
}

/* ── News card title font ─────────────────────────────── */
.sa-news-card__title,
.sa-news-card__title a {
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* ── SINGLE ARTICLE (news post) ───────────────────────── */
.sa-single-article {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 60px;
}
.sa-single-article__hero {
    border-radius: var(--sa-radius-lg, 12px);
    overflow: hidden;
    margin-bottom: 28px;
}
.sa-single-article__hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.sa-single-article__title {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--sa-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}
.sa-single-article__excerpt {
    font-size: 1.05rem;
    color: var(--sa-gray);
    line-height: 1.6;
    margin: 0 0 12px;
    font-style: italic;
}
.sa-single-article__date {
    font-size: 0.9rem;
    color: var(--sa-gray);
    margin-bottom: 20px;
}
.sa-single-article__separator {
    border: none;
    border-top: 1px dashed rgba(199, 188, 188, 1);
    background: none;
    opacity: 1;
    margin: 40px auto;
    max-width: 90%;
}
.sa-single-article__content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--sa-dark);
}
.sa-single-article__content p { margin-bottom: 1.2em; }
.sa-single-article__content img { border-radius: var(--sa-radius-lg, 12px); }

/* Related news at bottom */
.sa-single-article__related {
    margin-top: 8px;
}
.sa-single-article__related-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--sa-dark);
    margin: 0 0 24px;
    text-align: left;
}
.sa-news-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 992px) {
    .sa-news-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .sa-news-grid--4 { grid-template-columns: 1fr; }
    .sa-single-article__hero img { height: 250px; }
}

/* ── Single article Latest News title ─────────────────── */
.sa-single-article__related .sa-newsletter-grid__title {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #1a1a1a;
    margin-bottom: 32px;
}
.sa-single-article__related .sa-newsletter-grid__title::after {
    display: none;
}

/* ── EVENTS PAGE GRID ─────────────────────────────────── */
.sa-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .sa-events-grid { grid-template-columns: 1fr; }
}
