/*
Theme Name: American Dream Becas
Version: 1.0
Requires at least: 6.0
*/

/* =========================================================
   ROOT TOKENS
========================================================= */
:root {
    
    /* Paleta vinculada al theme.json */
    --primary: var(--wp--preset--color--primary); /* #0E1950 */
    --secondary: var(--wp--preset--color--secondary); /* #C30513 */
    --dark-gray: var(--wp--preset--color--dark-gray); /* #1a1a1a */
    --medium-gray: var(--wp--preset--color--medium-gray); /* #555555 */
    --light-gray: var(--wp--preset--color--light-gray); /* #F5F5F6 */
    --white: var(--wp--preset--color--white); /* #FFFFFF */
    --silver: var(--wp--preset--color--silver); /* #BBBBBB */

    --text-default: var(--wp--preset--color--text-default); /* #0E1950 */
    --text-inverse: var(--wp--preset--color--text-inverse); /* #FFFFFF */

    /* RGB helpers */
    --primary-rgb: 14, 25, 80;
    --secondary-rgb: 195, 5, 19;

    /* Tipografías */
    --font-main: var(--wp--preset--font-family--montserrat);
    --font-secondary: var(--wp--preset--font-family--roboto);

    --content-width: 1200px;
    --content-padding: 15px;

    --transition-fast: 0.25s ease;
    --transition-smooth: 0.6s cubic-bezier(.4,0,.2,1);
}

/* =========================================================
   BASE TYPOGRAPHY - AJUSTE PARA EDITOR & FRONT
========================================================= */

/* EXCEPCIÓN: Títulos dentro de Covers o con color forzado */
/* Asegura que en el Editor se vean blancos sobre fondos oscuros */
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover .wp-block-heading,
.has-white-color {
    color: var(--text-inverse) !important;
}

/* Línea roja */
.wp-block-group > .wp-block-heading.has-text-align-center::after,
.section-title::after {
    content: "";
    display: block;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* =========================================================
   SECTION TITLES — EDITORIAL (GLOBAL)
========================================================= */

/* Neutralizar <strong> dentro de headings */
.wp-block-group > .wp-block-heading strong {
    font-weight: inherit;
}

/* Línea roja (Look fiel al original) */
.wp-block-group > .wp-block-heading.has-text-align-center::after,
.section-title::after {
    content: "";
    display: block;
    height: 3px;
    background-color: var(--secondary); /* Rojo #C30513 */
    margin: 16px auto 0;
    border-radius: 2px;
}


/* =========================================
   SITE TITLE & NAV - SOLO COLORES (Fidelidad)
========================================= */

/* Mantenemos el look del original con variables del theme.json */
.wp-block-site-title a {
    font-family: var(--wp--preset--font-family--montserrat) !important;
    font-size: 0 !important; 
}

.wp-block-site-title a::before {
    content: 'American Dream ';
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.wp-block-site-title a::after {
    content: 'Becas';
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.wp-block-navigation .wp-block-navigation-item__content {
    font-family: var(--wp--preset--font-family--roboto) !important;
    color: #d6d2cb !important;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
    color: var(--secondary) !important;
}



/* =========================================
   HEADER STYLES - FIDELIDAD VISUAL
   Montserrat (Brand) / Roboto (Nav)
========================================= */

/* =========================
   DROPDOWN — ANIMACIÓN ORIGINAL
========================= */

/* Estado base (cerrado) */
.wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
    opacity: 0;
    left: 50%;
    transform: translateX(50%) translateY(18px);
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 420ms cubic-bezier(.4,0,.2,1),
        transform 420ms cubic-bezier(.4,0,.2,1),
        visibility 0s linear 420ms;
}

/* Estado abierto */
.wp-block-navigation-submenu:has(> .wp-block-navigation-submenu__toggle[aria-expanded="true"]) 
> .wp-block-navigation__submenu-container {
    opacity: 1;
    left: 50%;
    transform: translateX(50%) translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 360ms cubic-bezier(.4,0,.2,1),
        transform 360ms cubic-bezier(.4,0,.2,1),
        visibility 0s;
}

/* Asegura que el header esté por encima del contenido */
.site-header,
.wp-site-blocks > header {
  position: relative;
  z-index: 100;
}

/* Submenú siempre arriba */
.wp-block-navigation__submenu-container {
  z-index: 999;
}

/* =========================
   SITE TITLE — BRANDING VISUAL
========================= */

/* Mostrar "American Dream" en azul (Primary) */
.wp-block-site-title a::before {
    content: 'American Dream ';
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* Mostrar "Becas" en rojo (Secondary) */
.wp-block-site-title a::after {
    content: 'Becas';
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}


/* =========================
   NAVEGACIÓN — VISUAL / ESTADOS
========================= */

/* LINKS */
.wp-block-navigation .wp-block-navigation-item__content {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.6px;
    color: var(--dark-gray) !important;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus {
    color: var(--secondary) !important;
}

.wp-block-navigation-item__label {
    color: inherit;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: color .3s ease;
}

/* =========================
   SUBMENÚ — VISUAL
========================= */

.wp-block-navigation__submenu-container {
    background: rgba(14, 25, 80, 0.95);
    backdrop-filter: blur(6px);
    border-radius: 6px;
    padding: 10px 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: 14px;
    padding: 8px 22px;
    color: var(--dark-gray) !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    color: var(--secondary) !important;
}

/* Flechas */
.wp-block-navigation__submenu-icon svg {
    fill: #d6d2cb;
    stroke: #d6d2cb;
}


/* =========================
   HERO — CORE (IDENTIDAD + ANIMACIÓN)
========================= */

.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slide,
.hero-slide * {
    box-sizing: border-box;
}

/* Cada slide (mecánica del slider) */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
    --text-default: var(--text-inverse);
    --bg-color: var(--light-gray);
}

.hero-slide.is-dark {
    --bg-color: var(--dark-gray);
}

/* Slide activo */
.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* =========================
   HERO — FIX GUTENBERG OVERLAY (CRÍTICO)
========================= */

.hero-slide .wp-block-cover__background {
    background-color: transparent !important;
    opacity: 0 !important;
}

/* =========================
   HERO — IMAGE (IDENTIDAD)
========================= */

.hero-slide .wp-block-cover__image-background {
    object-fit: cover;
    height: 100%;
    filter: contrast(1.05) saturate(1.1) brightness(1.02);
}

/* =========================
   HERO — CONTENT (SIN LAYOUT CSS)
========================= */

.hero-slide .wp-block-cover__inner-container {
    height: 100%;
}

/* =========================
   HERO — BUTTON (IDENTIDAD)
========================= */

.hero-slide .wp-block-button__link {
    background-color: var(--secondary);
    color: var(--text-inverse);
    font-family: var(--wp--preset--font-family--roboto);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.35s ease;
    border: 2px solid var(--secondary);
}

.hero-slide .wp-block-button__link:hover {
    background-color: transparent;
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(195, 5, 19, 0.2);
}

/* =========================
   HERO — NAV (COMPONENTE)
========================= */

.hero-slide-nav {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 20;
}

.hero-slide-prev,
.hero-slide-next {
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.hero-slide-prev:hover,
.hero-slide-next:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* =========================
   HERO — EDITOR ONLY FIX
   Permite editar slides del slider
========================= */
.editor-styles-wrapper .hero-slider {
    min-height: auto;
}

.editor-styles-wrapper .hero-slide {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    min-height: 60vh;
    z-index: auto;
}

.hero-slide .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/* ===============================
   LATEST NEWS — IDENTIDAD + ANIMACIÓN
================================ */

/* Card */
.wp-block-post-template > li,
.wp-block-post-template .news-card {
    list-style: none;
}

.news-card {
    background-color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover lift */
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Featured image wrapper */
.news-card .wp-block-post-featured-image {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* Image */
.news-card .wp-block-post-featured-image img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Image zoom on hover */
.news-card:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

/* Date */
.news-card .wp-block-post-date {
    color: var(--secondary);
    font-weight: 500;
}

/* Title link color */
.news-card .wp-block-post-title a {
    color: var(--primary);
    text-decoration: none;
}

/* Excerpt color */
.news-card .wp-block-post-excerpt p {
    color: var(--medium-gray);
}

/* Read more */
.news-card .wp-block-read-more {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-card .wp-block-read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-card .wp-block-read-more:hover {
    letter-spacing: 1px;
}

.news-card .wp-block-read-more:hover::after {
    transform: translateX(3px);
}


/* =========================
   BASEBALL GALLERY — IDENTIDAD + ANIMACIÓN
========================= */

/* Items */
.baseball-gallery figure,
.wp-block-gallery figure {
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.35s ease;
}

/* Images */
.baseball-gallery img,
.wp-block-gallery img {
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

/* Hover */
.baseball-gallery figure:hover {
    transform: translateY(-4px);
}

.baseball-gallery figure:hover img {
    transform: scale(1.05);
}

/* Gallery hover animation (flex layout cases) */
.wp-block-gallery.is-layout-flex > figure {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

.wp-block-gallery.is-layout-flex > figure:hover {
    transform: translateY(-6px);
}

.wp-block-gallery.is-layout-flex img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}

.wp-block-gallery.is-layout-flex > figure:hover img {
    transform: scale(1.06);
}


/* ===============================
   UPCOMING GAMES — IDENTIDAD + ANIMACIÓN
================================ */

/* Game row — visual */
.game-row {
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.game-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

/* Cell colors (visual only) */
.game-date {
    color: var(--secondary);
    font-weight: 700;
}

.game-opponent {
    color: var(--primary);
    font-weight: 500;
}

.game-time,
.game-location {
    color: var(--medium-gray);
}


/* ===================================
   ROSTER PAGE — IDENTIDAD + ANIMACIÓN
=================================== */

/* HERO — sin línea roja */
.hero-about h1::after {
    display: none !important;
}

/* PLAYER CARD — visual */
.player-card-new {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-align: center !important;
    cursor: pointer !important;
}

.player-card-new:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* PLAYER NUMBER — badge */
.player-number {
    background-color: var(--secondary) !important;
    color: var(--text-inverse) !important;
    border-radius: 5px !important;
    font-weight: 700 !important;
    z-index: 2 !important;
}

/* PLAYER IMAGE — visual */
.player-img-new {
    overflow: hidden !important;
    background-color: #ccc !important;
}

.player-img-new img {
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.player-card-new:hover .player-img-new img {
    transform: scale(1.1) !important;
}

/* PLAYER INFO — colors only */
.player-info-new h3 {
    color: var(--primary) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.player-info-new h4 {
    color: var(--secondary) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

.player-info-new p {
    color: var(--medium-gray) !important;
}

/* TEAM STATS — visual */
.stat-card {
    border-radius: 8px !important;
    background-color: #f8f9fa !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    aspect-ratio: 16/9 !important;
}

.stat-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.stat-value {
    color: var(--primary) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.stat-label {
    color: var(--primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* CTA — visual only */
.cta-section .wp-block-button__link {
    background-color: transparent !important;
    color: var(--white) !important;
    border: 2px solid var(--white) !important;
    border-radius: 30px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.cta-section .wp-block-button__link:hover {
    background-color: var(--white) !important;
    color: var(--secondary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}


/* ===================================
   COACHES PAGE — IDENTIDAD + ANIMACIÓN
=================================== */

/* HERO — sin línea roja */
.hero-about h1::after {
    display: none !important;
}

/* COACH CARD — visual */
.coach-card {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.coach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* COACH IMAGE — visual */
.coach-img {
    overflow: hidden !important;
}

.coach-img img {
    height: 250px !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.coach-card:hover .coach-img img {
    transform: scale(1.1);
}

/* COACH INFO — colors only */
.coach-info h3 {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

.coach-info h4 {
    color: var(--secondary) !important;
    font-weight: 500 !important;
}

.coach-info > p {
    color: var(--medium-gray) !important;
}

/* COACH DETAILS — visual divider */
.coach-details {
    border-top: 1px solid #eee !important;
}

.coach-details p {
    color: var(--medium-gray) !important;
}

.coach-details strong {
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

/* VALUES — visual */
.value-card {
    border-radius: 8px !important;
    background-color: var(--white) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* VALUE ICON — identity */
.value-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--secondary)
}


.value-icon,
.value-icon * {
    color: var(--white) !important;
    fill: var(--white) !important;
}

/* CTA — visual only */
.cta-section .wp-block-button__link {
    background-color: transparent !important;
    color: var(--white) !important;
    border: 2px solid var(--white) !important;
    border-radius: 30px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.cta-section .wp-block-button__link:hover {
    background-color: var(--white) !important;
    color: var(--secondary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}


/* ===================================
   NEWS PAGE — IDENTIDAD + ANIMACIÓN
=================================== */

/* HERO — sin línea roja */
.hero-about h1::after {
    display: none !important;
}

/* NEWS CARD — visual */
.news-card {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.news-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* NEWS IMAGE — visual */
.news-img {
    overflow: hidden !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.news-img img {
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.news-card:hover .news-img img {
    transform: scale(1.1) !important;
}

/* NEWS CONTENT — colors only */
.news-content .date {
    color: var(--secondary) !important;
    font-weight: 500 !important;
}

.news-content h3 {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

.news-content p {
    color: var(--medium-gray) !important;
}

/* READ MORE — identity */
.read-more {
    text-decoration: none !important;
    color: var(--secondary) !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}

.read-more::after {
    content: '\2192' !important;
    margin-left: 5px !important;
    transition: transform 0.3s ease !important;
}

.read-more:hover::after {
    transform: translateX(3px) !important;
}

/* NEWSLETTER — identity */
.newsletter-section {
    background:
        linear-gradient(rgba(195, 5, 19, 0.9), rgba(195, 5, 19, 0.9)),
        url('https://img.mlbstatic.com/mlb-images/image/private/t_16x9/t_w1536/mlb/km8locagqu9xv5byr4fi.jpg')
        no-repeat center center / cover !important;
    color: var(--white) !important;
}

.newsletter-content p {
    color: var(--white) !important;
}

/* PRESS CARD — visual */
.press-card {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.press-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.press-content h3 {
    color: var(--primary) !important;
}

/* CTA — visual only */
.cta-section .wp-block-button__link {
    background-color: transparent !important;
    color: var(--white) !important;
    border: 2px solid var(--white) !important;
    border-radius: 30px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.cta-section .wp-block-button__link:hover {
    background-color: var(--white) !important;
    color: var(--secondary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2) !important;
}


/* ===================================
   SCHEDULE PAGE — IDENTIDAD + ANIMACIÓN
=================================== */

/* HERO — sin línea roja */
.hero-about h1::after {
    display: none !important;
}

/* GAME ROW — visual */
.game-row,
.game-row.wp-block-group {
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
}

.game-row:hover {
    transform: translateY(-6px) !important;
}

/* GAME TEXT COLORS — visual */
.game-date p {
    color: var(--secondary) !important;
    font-weight: 700 !important;
}

.game-opponent p {
    color: var(--primary) !important;
    font-weight: 500 !important;
}

.game-time p,
.game-location p {
    color: var(--medium-gray) !important;
}

.game-status p {
    color: #27ae60 !important;
    font-weight: 500 !important;
}

/* TABS — visual states */
.tab-btn .wp-block-button__link {
    background-color: #f8f9fa !important;
    color: var(--primary) !important;
    border: 1px solid #ddd !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.tab-btn .wp-block-button__link:hover,
.tab-btn.active .wp-block-button__link {
    background-color: var(--secondary) !important;
    color: var(--white) !important;
    border-color: var(--secondary) !important;
    transform: translateY(-2px) !important;
}

/* PRACTICE DAY — card visual */
.practice-day {
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.practice-day:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.practice-day h3 {
    color: var(--secondary) !important;
    font-weight: 700 !important;
}


/* ===================================
   PROSPECT PAGE — IDENTIDAD + ANIMACIÓN
=================================== */

/* HERO — sin línea roja */
.hero-about h1::after {
    display: none !important;
}

/* PROSPECT FORM — card visual */
.prospect-form {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* FORM LABELS — color only */
.form-group label {
    color: var(--primary) !important;
    font-weight: 500 !important;
}

/* INPUTS — visual focus only */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 2px rgba(195, 5, 19, 0.2) !important;
}

/* CHECKBOX — identity */
.checkbox-group input[type="checkbox"] {
    accent-color: var(--secondary) !important;
}

/* SUBMIT BUTTON — visual hover */
.btn-submit:hover,
.prospect-form .btn:hover {
    background-color: transparent !important;
    color: var(--secondary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(195, 5, 19, 0.2) !important;
}


/* ===================================
   PROSPECT DETAIL PAGE — IDENTIDAD + ANIMACIÓN
=================================== */

/* HERO — sin línea roja */
.hero-about h1::after {
    display: none !important;
}

/* PROFILE CARD — visual */
.prospect-main-info {
    background-color: #f8f9fa !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

/* PLAYER IMAGE — visual */
.prospect-image img {
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* PLAYER NUMBER — badge visual */
.player-number-badge {
    background-color: var(--secondary) !important;
    color: var(--white) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}

/* STATS ITEM — visual */
.stat-item {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* STATS COLORS */
.stat-item strong {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

.stat-item span {
    color: var(--medium-gray) !important;
    font-weight: 500 !important;
}

/* PERFORMANCE STATS — card visual */
.stat-card-prospect {
    background-color: var(--white) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

.stat-card-prospect .stat-value {
    color: var(--secondary) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.stat-card-prospect .stat-label {
    color: #666 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

/* BIO — identity */
.prospect-bio h4 {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--secondary) !important;
}

/* HIGHLIGHTS — visual */
.prospect-highlights {
    background-color: #f8f9fa !important;
    border-radius: 12px !important;
}

.prospect-highlights li {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    border-left: 4px solid var(--secondary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* NAVIGATION — secondary button visual */
.btn-secondary {
    background-color: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}


/* ===================================
   CONTACT PAGE — IDENTIDAD + ANIMACIÓN
=================================== */

/* HERO — sin línea roja */
.hero-about h1::after {
    display: none !important;
}

/* CONTACT INFO — card visual */
.contact-info {
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.contact-info:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* CONTACT INFO — heading color */
.contact-info h3 {
    color: var(--secondary) !important;
}

/* CONTACT DETAILS — icons & labels */
.contact-item i,
.contact-item .fas {
    color: var(--secondary) !important;
}

.contact-text h4 {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

/* CONTACT FORM — card visual */
.contact-form-card {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.contact-form-card h3 {
    color: var(--secondary) !important;
}

/* FORM — focus state (visual) */
.form-group input:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 2px rgba(195, 5, 19, 0.2) !important;
}

/* CONTACT BUTTON — visual */
.contact-form-card .btn {
    background-color: var(--secondary) !important;
    color: var(--white) !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

/* FAQ — visual */
.faq-section {
    background-color: #f8f9fa !important;
}

.faq-item h3 {
    color: var(--secondary) !important;
    font-weight: 600 !important;
}


/* ===================================
   ABOUT US PAGE — IDENTIDAD + ANIMACIÓN
=================================== */

/* MISSION & VISION — card visual */
.mission-box,
.vision-box {
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    text-align: center !important;
    transition: transform 0.3s ease !important;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-10px) !important;
}

.mission-box h3,
.vision-box h3 {
    color: var(--secondary) !important;
    font-weight: 600 !important;
}

/* VALUES — card visual */
.value-card {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
}

.value-card:hover {
    transform: translateY(-10px) !important;
}

/* VALUE ICON — identity */
.value-icon {
    height: 70px !important;
    background-color: var(--secondary) !important;
    border-radius: 50% !important;
}

.value-icon i,
.value-icon .fas {
    color: var(--white) !important;
}

/* VALUE TEXT — colors only */
.value-card h3 {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.value-card p {
    color: var(--medium-gray) !important;
}

/* TEAM — card visual */
.team-member {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
}

.team-member:hover {
    transform: translateY(-10px) !important;
}

.team-img {
    overflow: hidden !important;
}

.team-img img {
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.team-member:hover .team-img img {
    transform: scale(1.1) !important;
}

/* TEAM INFO — colors only */
.team-info h3 {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

.team-info h4 {
    color: var(--secondary) !important;
    font-weight: 500 !important;
}


/* ===================================
   FOOTER — IDENTIDAD + ANIMACIÓN
=================================== */

/* Footer base colors */
.footer-section {
    background-color: #1a1a1a !important;
    color: var(--white) !important;
}

/* Headings */
.footer-section h3 {
    color: var(--white) !important;
}

.footer-section h3 span {
    color: var(--secondary) !important;
}

.footer-section h4 {
    color: var(--white) !important;
    position: relative !important;
}

.footer-section h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 3px !important;
    background-color: var(--secondary) !important;
}

/* Links */
.footer-section a,
.footer-links a,
.footer-section .wp-block-column p a {
    color: #bbbbbb !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-section a:hover,
.footer-links a:hover,
.footer-section .wp-block-column p a:hover {
    color: var(--secondary) !important;
    letter-spacing: 0.3px !important;
}

/* Social links — hover & brand colors */
.footer-section .social-links .wp-block-social-link {
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
}

.footer-section .social-links .wp-block-social-link:hover {
    transform: translateY(-5px) !important;
}

.footer-section .wp-social-link-facebook { background-color: #3b5998 !important; }
.footer-section .wp-social-link-twitter { background-color: #1DA1F2 !important; }
.footer-section .wp-social-link-instagram { background-color: #E1306C !important; }
.footer-section .wp-social-link-youtube { background-color: #FF0000 !important; }

.footer-section .social-links .wp-block-social-link:hover svg path {
    fill: #ffffff !important;
}

/* Social icons — fuerza contenedor circular real */
.wp-block-social-links .wp-block-social-link-anchor {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Scroll to top — component */
#scrollToTopBtn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 99 !important;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

#scrollToTopBtn:hover {
    transform: scale(1.1) !important;
}

/* =========================
   SPONSORS — IDENTIDAD + ANIMACIÓN
========================= */

.sponsor-track img {
    object-fit: contain;
}

.sponsor-track .wp-block-uagb-image:hover {
    opacity: .7;
}

.sponsor-track .wp-block-uagb-image:hover img {
    transition: opacity .3s ease, transform .3s ease;
    transform: scale(1.05);
}


/* =========================================
   GLOBAL UI — IDENTIDAD (NO LAYOUT)
========================================= */

/* Fix para botones: evitar subrayados o estilos heredados */
.wp-block-button__link {
    text-decoration: none !important;
    box-shadow: none !important;
}

/* =========================================
   SOCIAL ICONS — IDENTIDAD + ANIMACIÓN
========================================= */

.wp-block-social-links {
    border: none !important;
}

/* Contenedor de iconos */
.wp-block-social-links .wp-social-link a {
    background-color: #333 !important;
    border-radius: 50% !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

/* Hover unificado */
.wp-block-social-links .wp-social-link:hover a {
    background-color: var(--secondary) !important;
    transform: translateY(-3px) !important;
}

/* Ocultar etiquetas automáticas */
.wp-block-social-links .wp-social-link-label,
.wp-block-social-links .wp-block-social-link-label {
    display: none !important;
}

/* SVG blanco */
.wp-block-social-links .wp-social-link svg {
    height: 20px !important;
    fill: var(--white) !important;
}