@charset "utf-8";
/*
Theme Name: SoHAH theme v2026
Theme URI: http://www.lamosquita.net/
Description: Sociedad Hispanoamericana de Hernia theme
Version: 1.1
Author: santintin
Author URI: http://www.lamosquita.net/


*/
/* =Typos
-------------------------------------------------------------- */
@font-face {
    font-family: 'SohahFont'; /* El nombre que usaremos en el CSS */
    src: url('assets/fonts/D-DIN.otf') format('opentype');
    font-weight: normal; /* o bold, o 700, depende del archivo que hayas subido */
    font-style: normal;
    font-display: swap; /* Importante para que el texto se vea mientras carga la fuente */
}

@font-face {
    font-family: 'SohahFont'; /* El nombre que usaremos en el CSS */
    src: url('assets/fonts/D-DIN-Italic.otf') format('opentype');
    font-weight: normal; /* o bold, o 700, depende del archivo que hayas subido */
    font-style: italic;
    font-display: swap; /* Importante para que el texto se vea mientras carga la fuente */
}

@font-face {
    font-family: 'SohahFont';
    src: url('assets/fonts/D-DIN-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



/*reset style
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
 caption, tbody, tfoot, thead, tr, th {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
    font-family: var(--font-primary);
}

table, tr, th, td {
	border: 1;
	margin: 0;
	padding: 3;
	vertical-align: baseline;
}

a img {
  border: 0px;
}

.validationerror {
	background: #FF0000;
    color: #FFFFFF;
    margin-right: 25px;
    padding: 5px;
	}
blockquote {
    padding-left: 22px;
    font-size: 13px;
    color: #666;
}
.lineafin {
    border-top:1px solid #000;
    margin-top: 22px;
    padding-bottom: 22px;
}
ul {
    list-style: none;
}
figure img {
    width: 100%;
    height: auto;
    margin:0;
    padding:0;
}
.wp-caption-text {
    font-size: 0.8rem !important;
    font-weight: normal !important;
    font-family: 'Times New Roman', Times, serif !important;
    color:#666 !important;
    font-style: italic !important;
}
.wp-caption {
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    text-align: left;
}
.date {
    font-size: 0.8rem;
    font-weight: normal;
    margin-bottom: 0px;
    display: block;
    color:#666;
    font-family: var(--font-primary);
}
.autor {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    font-family: var(--font-primary);
    color:var(--sohah-teal-dark);
}
.entry-content p {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 10px;
    display: block;
    font-family: var(--font-primary);
    color:#666;
}
/* =Configuración Global de Colores (Theme Maestro)
-------------------------------------------------------------- */
:root {
    /* Colores corporativos */
    --sohah-teal-dark:  #009999;
    --sohah-teal-light: #b2e0e0;
    --sohah-teal-bg: #dcffff;
    
    /* Alturas estructurales (para sincronizar fondo y header) */
    --header-main-height: 82px;
    --header-border-height: 8px; /* 89px - 81px = 8px */

 /* tipografias */
	--font-primary: 'SohahFont', sans-serif;

/* Variables Locales del Footer */
    --footer-bg: #EEEEEE;        /* Gris claro de fondo */
    --footer-text: #000000;      /* Texto negro */
    --footer-border: 3px solid #000000; /* Las líneas verticales */
	--footer-border-color: #009999; /* Turquesa oscuro */
    --footer-padding: 60px 0;    /* Aire arriba y abajo */
	--footer-logo-width: 100px;     /* Ancho de tu logo */
    --footer-gap: 30px;             /* Hueco entre logo y texto */
    --footer-font-serif: "Times New Roman", serif; /* Fuente cursiva del claim */

	/* Calculamos el espacio total que ocupa el logo para empujar lo de abajo */
    --logo-space: calc(var(--footer-logo-width) + var(--footer-gap));
}

/* =Body Styles
-------------------------------------------------------------- */
body {
    background-color: #FFFFFF; /* Color base del resto de la web */
    
    /* El degradado "Hard Stop" */
    background-image: linear-gradient(
        to bottom,
        var(--sohah-teal-dark)  0px,
        var(--sohah-teal-dark)  var(--header-main-height),
        var(--sohah-teal-light) var(--header-main-height),
        var(--sohah-teal-light) calc(var(--header-main-height) + var(--header-border-height)),
        transparent calc(var(--header-main-height) + var(--header-border-height))
    );
    
    background-repeat: no-repeat;
    
    /* IMPORTANTE: 
       background-attachment: scroll; (Por defecto) -> El fondo sube cuando bajas con el ratón.
       background-attachment: fixed;  -> La franja se queda siempre visible arriba aunque bajes.
    */
    background-attachment: scroll; 
    
    /* Asegura que cubra el ancho total siempre */
    background-size: 100% auto; 
    background-position: top center;
}
a {
    color: var(--sohah-teal-dark);
}
.lineatitle {
    width: 100%;
    border-bottom: 4px solid var(--sohah-teal-dark);
    margin-bottom: 20px;
}
.lineaverde {
    width: 100%;
    border-bottom: 2px solid var(--sohah-teal-dark);
    margin-bottom: 20px;
}
.alignleft {
    float: left;
    margin-right: 10px;
}
.alignright {
    float: right;
    margin-left: 10px;
}
img.alignnone {
    width: 100%;
    height: auto;
}
h1 {
    font-weight: bold;
    font-family: var(--font-primary); /* D-DIN */
    padding-bottom: 10px;
}
h1.archive-main-title {
    text-transform: uppercase;
    font-size: 1.7rem;
}

/* 3. Texto Intro (Narrativa) */
.archive-intro-text {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--sohah-teal-dark); /* Separador sutil antes de la lista */
}

/* Título interno o primer párrafo destacado */
.archive-intro-text h2, .entry-content h2, 
.archive-intro-text h3,
.archive-intro-text strong {
    font-family: var(--font-primary); /* D-DIN para títulos internos */
    color: var(--sohah-teal-dark);    /* Turquesa */
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
.entry-content h3 {
    font-family: var(--font-primary); /* D-DIN para títulos internos */
    color: #000;    /* Turquesa */
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
.entry-content ul{
    font-family: var(--font-primary); 
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 35px;
}
.entry-content li{
    font-family: var(--font-primary); /* Times para lectura densa */
    font-size: 1rem;
    line-height: 1;
    padding-left: 15px;
    border-left:1px solid var(--sohah-teal-dark);
    padding-bottom: 5px;
}
/* Párrafos de lectura */
.archive-intro-text p {
    font-family: var(--font-primary); /* Times para lectura densa */
    font-size: 1rem;
    line-height: 1;
    color: #333;
    margin-bottom: 15px;
    text-align: left; /* Prohibido justify ;) */
}
.nav-links {
    font-family: var(--font-primary);
    font-size: 1rem;
}
.page-numbers current {
    font-weight: bold;
    background-color: var(--sohah-teal-dark);
    color: #FFFFFF;

}
a.page-numbers  {
    color: var(--sohah-teal-dark);
    text-decoration: none;
}
.committee-footer {
    text-align: center;
    padding-top: 20px;
    
}
.btn-text {
    background: var(--sohah-teal-dark);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 0px;
    border: 1px solid var(--sohah-teal-dark);
}
/* =Layout
-------------------------------------------------------------- */

header{
	height: 160px;
	width: 100%;
	position: relative;
}
#headerimg{
	width: 120px;
	margin: 0px auto;
}
#headertit{
	margin: 0px auto;
	font-family: var(--font-primary);
	font-size: 1.5rem;
	font-weight: normal;
	color: #000000;
	text-align: center;
}
#headertit a{
	text-decoration: none;
	color: #000000;
}
/* ==========================================================================
   ESTILOS PORTADA (ENFOQUE DESKTOP FIRST)
   ========================================================================== */

/* 1. CONTENEDOR GLOBAL
   ----------------------------------------------------------------------- */
.lamosquita-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    box-sizing: border-box;
}

/* 2. HERO SECTION (Diseño Base: Escritorio)
   ----------------------------------------------------------------------- */
.home-hero {
    padding: 50px 0;
}

.hero-grid {
    display: grid;
    /* Definimos las 3 columnas de escritorio directamente aquí */
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 40px;
    align-items: top; /* Centrado vertical */
    width: 100%;
}

/* --- Columna Izquierda (Texto Principal) --- */
.hero-text-left .hero-content {
    text-align: right; /* Alineado a la derecha (hacia la foto) */
}

/* Reset de negritas para H1 y H2 */
.hero-content h1, 
.hero-content h2 {
    font-weight: normal; /* Crucial: mata la negrita del navegador */
    margin: 0 0 15px 0;
    padding: 0;
}
.hero-content strong {
    font-weight: bold;
    color: var(--footer-border-color);
}
/* Títulos con Times New Roman */
.hero-text-left .hero-content h1 {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 2rem; /* Tamaño grande escritorio */
    line-height: 1.1;
    color: #000;
}

.hero-text-left .hero-content h2 {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #000;
}

/* --- Columna Central (Imagen) --- */
.hero-image-center {
    text-align: center;
}
/* El contenedor figure para controlar la alineación del bloque */
.hero-figure {
    display: table; /* Truco para que el figcaption no sea más ancho que la imagen */
    margin: 0 auto; /* Centrado horizontal */
    max-width: 100%;
}

.hero-main-img {
    width: 100%;
    max-width: 400px; /* Evita que se haga gigante si la imagen original es enorme */
    height: auto;
    display: block;
    margin: 0 auto;
    /* SOMBRA SUTIL (Ajustada para diseño limpio) */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
    
    /* Borde opcional (si quieres mantenerlo o quitarlo) */
    border: 1px solid #f0f0f1;

}
/* Estilo de la Leyenda (Caption) */
.hero-caption {
    display: block;
    text-align: right; /* Alineado a la derecha */
    font-family: var(--font-primary); /* D-DIN o Arial */
    font-size: 0.75rem; /* Texto pequeñito (ej. 12px) */
    color: #555; /* Gris medio */
    margin-top: 8px; /* Separación de la imagen */
    line-height: 1;
}
/* --- Columna Derecha (Listas y Enlaces) --- */
.hero-text-right .hero-content {
    text-align: left; /* Alineado a la izquierda */
    font-family: var(--font-primary); /* D-DIN */
    font-size: 1rem;
    line-height: 1;
    color: #333;
}

/* Estilos de Lista (UL LI) específicos para esta columna */
.hero-text-right ul {
    list-style: none; /* Quitamos puntos por defecto */
    padding: 0;
    margin: 0;
    margin-top: 1rem;
}

.hero-text-right li {
    margin-bottom: 12px;
    padding-left: 20px; /* Hueco para la viñeta */
    position: relative;
}

/* Viñeta personalizada (punto turquesa) */
.hero-text-right li:before {
    content: "•";
    color: var(--sohah-teal-dark);
    font-size: 1.5em; /* Un poco más grande el punto */
    position: absolute;
    left: 0;
    top: -4px; /* Ajuste fino vertical */
    line-height: 1;
}

.hero-text-right a {
    color: var(--sohah-teal-dark);
    text-decoration: none;
    font-weight: bold; /* Aquí sí queremos negrita en enlaces */
}


/* 3. GRID SERVICIOS (Diseño Base: Escritorio 3 columnas)
   ----------------------------------------------------------------------- */
.home-services {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-title {
    background-color: var(--sohah-teal-dark);
    color: #fff;
    padding: 20px 10px;
    text-align: center;
    font-family: var(--font-primary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.service-icon img {
    height: 64px;
    width: auto;
    display: block;
    margin: 0 auto 15px auto;
}

.service-desc {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.05rem;
}


/* 4. NOTICIAS (Diseño Base: Escritorio 3 columnas)
   ----------------------------------------------------------------------- */
.home-news { margin-bottom: 60px; }

.section-heading {
    text-align: center;
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 1.8rem;
    text-transform: uppercase;
    border-bottom: 3px solid var(--sohah-teal-dark);
    padding-bottom: 15px;
    margin-bottom: 40px;
}

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

/* Ajuste general de la tarjeta */
.news-card {
    display: flex;
    flex-direction: column;
    /* Alineación izquierda estricta, nada de justify */
    text-align: left; 
    margin-bottom: 30px;
}

/* 1. La línea superior: "en artículos..." */
.news-meta-top {
    font-family: var(--font-primary); /* D-DIN */
    font-size: 0.85rem;
    font-style: italic; /* Según diseño parece cursiva */
    margin-bottom: 8px;
    line-height: 1;
}

.meta-prep {
    color: var(--sohah-teal-dark); /* Color turquesa */
}

.meta-cpt-link {
    color: var(--sohah-teal-dark);
    text-decoration: none;
    font-weight: normal; /* O bold si prefieres */
}
.meta-cpt-link:hover {
    text-decoration: underline;
}

/* 2. Título (repaso) */
.news-title {
    margin: 0 0 10px 0;
    line-height: 1.2; /* Título compacto */
}
.news-title a {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #000; /* Título en negro */
    text-decoration: none;
    font-weight: normal; /* Normal según diseño */
}
.news-title a:hover {
    color: var(--sohah-teal-dark);
}

/* 3. Extracto */
.news-excerpt {
    font-family: var(--font-primary); /* O Times si prefieres contraste */
    font-size: 0.9rem;
    color: #333;
    line-height: 1.3; /* Masa visual compacta */
    margin-bottom: 15px;
}
/* Evitamos margen en el último p del excerpt */
.news-excerpt p:last-child { margin-bottom: 0; }

/* 4. Autor (Abajo) */
.news-meta-bottom {
    margin-top: auto; /* Empuja hacia abajo si usáramos flex-grow, aquí es decorativo */
    font-size: 0.8rem;
    font-family: var(--font-primary);
}

.meta-author-label {
    color: var(--sohah-teal-dark);
}

.news-author {
    color: var(--sohah-teal-dark);
    text-decoration: none;
    font-weight: normal;
}
.news-author:hover {
    text-decoration: underline;
}


/* 5. COMITÉ CIENTÍFICO (Diseño Base: Escritorio Grid fluido)
   ----------------------------------------------------------------------- */
.home-committee {
    /*border-top: 3px solid var(--sohah-teal-dark);
    padding-top: 40px;*/
    margin-bottom: 60px;
}

.committee-intro {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 1.3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.committee-grid {
    display: grid;
    /* Escritorio: intentamos meter hasta 6 por fila */
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px;
    align-items: start;
}

.doctor-item { text-align: center; }

.doctor-photo {
    width: 100%;
    height: auto;
    max-width: 150px; /* Control de tamaño imagen doctor */
    filter: grayscale(100%);
    transition: filter 0.3s;
}
.doctor-photo:hover { filter: grayscale(0); }

/* 6. Publicidad
   ----------------------------------------------------------------------- */
/*  Grid Flexbox (Unificado) */
.ads-grid {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-direction: row; /* Escritorio: lado a lado */
    align-items: flex-start;
    justify-content: space-between;
}

/*  Wrappers */
.ad-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    width: 100%;
}

/* Si solo hay uno, ocupa todo */
.ads-grid > .ad-wrapper:only-child {
    flex: 0 0 100%;
}

/* 4 Contenido visual */
.ad-content {
    display: flex;
    justify-content: center;
    background: transparent;
}
.ad-content img, .ad-content iframe {
    max-width: 100%;
    height: auto;
}
/*  Etiqueta "PUBLICIDAD" */
.ad-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.65rem; /* Pequeño y discreto */
    text-transform: uppercase;
    color: #999; 
    margin-bottom: 5px;
    text-align: right; /* Alineada a la derecha del banner */
    line-height: 1;
}

/* El fondo que ocupa toda la pantalla */
.ads-container {
    background-color: var(--sohah-teal-bg); /* <--- AQUÍ CAMBIAS EL COLOR DE FONDO DE LA FRANJA */
    width: 100%;
    padding: 30px 0;
    margin-bottom: 60px;
}

/* ==========================================================================
   REHAH
   ========================================================================== */
.rehah-authors {
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
    font-family: var(--font-primary);
    color:#000000;
}
.rehah-badge {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
    font-family: var(--font-primary);
    color:var(--sohah-teal-dark);
}
.btn-descarga-pdf {
    background:var(--sohah-teal-dark);
    color:#fff; padding:15px 30px;
    text-decoration:none;
    font-weight:bold;
    font-size:1.1rem;
    text-transform: uppercase;
    display:inline-block;
    border-radius:0px;
}
/* ==========================================================================
   VÍDEOS EN CONTENIDO
   ========================================================================== */
/* Forzar que los iframes de vídeo sean responsive (100% ancho, proporción 16:9) */
.entry-content iframe[src*="vimeo.com"],
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtu.be"] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    max-width: 100%;
}
/* ==========================================================================
   ADAPTACIÓN MÓVIL (DESKTOP -> MOBILE)
   Aquí "rompemos" el diseño para pantallas pequeñas (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* Hero: Todo a 1 columna y centrado */
    .hero-grid {
        grid-template-columns: 1fr; /* Columna única */
        gap: 20px;
    }
    
    .hero-text-left .hero-content,
    .hero-text-right .hero-content {
        text-align: center; /* Forzamos centro en móvil */
    }
    
    .hero-text-left .hero-content h1 { font-size: 2rem; } /* Reducimos tamaño h1 */
    .hero-text-left .hero-content h2 { font-size: 1.5rem; }

    /* Ajuste lista móvil: quitamos padding y centramos bullets si quieres, 
       o lo dejamos a la izquierda dentro del bloque centrado. 
       Para "text-align: center", las listas se ven raras, mejor dejarlas align-left 
       dentro de un bloque centrado o alinearlas izquierda. */
    .hero-text-right .hero-content {
        text-align: left; /* En móvil, las listas se leen mejor a la izquierda */
        padding: 0 10px;
    }

    /* Servicios: 1 Columna */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Noticias: 1 Columna */
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Comité: 2 o 3 columnas en móvil (6 son muchas) */
    .committee-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 por fila en móvil */
        gap: 15px;
    }
    .ads-grid {
        /* En móvil rompemos la fila y apilamos verticalmente */
        flex-direction: column; 
    }
    
    /* En móvil, aunque sean dos, ocupan el 100% del ancho */
    .ad-left, .ad-right {
        flex: 0 0 100%;
        width: 100%;
    }
    .lamosquita-container {
    padding: 0 40px;
}
}


/* =================================================================
   SIDEBAR (Estilos Específicos Maqueta)
   ================================================================= */

/* 1. Cabeceras de Widgets */
.sidebar-area .widgettitle, 
.sidebar-area h2.widgettitle, h3.ficha-title {
    background-color: var(--sohah-teal-light); 
    color: #000; 
    padding: 30px 30px 0 30px;
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    margin: 0;
    list-style: none;
}
h3.rehah-title {
    font-size: 0.9rem;
    font-weight: normal;
    font-family: var(--font-primary);
    color:#999;
    text-transform: uppercase;
    margin-bottom: 5px;
}
/* 2. Listas de Widgets (Fondo claro) */
.sidebar-area ul {
    list-style: none;
    font-size: 0.85rem;
    margin: 0 0 30px 0;
    padding: 0 30px 30px 30px;
    font-family: var(--font-primary);
    background-color: var(--sohah-teal-light);; /* Fondo azul muy muy clarito */
}

.sidebar-area li {
    padding-top: 8px;
}
/*.sidebar-area li:last-child { border: 0; margin: 0; padding: 0; }*/

.sidebar-area li a {
    text-decoration: none;
    color: #000;
    font-family: var(--font-primary);
    font-weight: normal;
    font-size: 0.85rem;
}
.sidebar-area li a:hover { color: var(--sohah-teal-dark); }

/* 3. Ajustes de Widgets HTML (CTA y Buscador) */
.cta-sidebar-box, .search-sidebar-box {
    margin-bottom: 30px;
}



/* =footer
-------------------------------------------------------------- */
/* ==========================================================================
   SECCIÓN FOOTER (Diseño 2 Filas)
   ========================================================================== */

/* 1. CONTENEDOR PRINCIPAL (Gris #EEEEEE con bordes turquesa) */
.site-footer {
    background-color: var(--footer-bg);
    color: #000000;
    width: 100%;
    
    /* Bordes superior e inferior de 4px Turquesa */
    border-top: 4px solid var(--footer-border-color);
    border-bottom: 4px solid var(--footer-border-color);
    
    position: relative;
    z-index: 10;
}

.footer-main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 20px; /* Aire general */
}

/* --------------------------------------------------------
   FILA 1: IDENTIDAD (Alineación bottom manual)
   -------------------------------------------------------- */
.footer-row-top {
    display: flex;
    /* Esto es tu "vertical-align: bottom". Alinea todo abajo */
    align-items: flex-end; 
    
    margin-bottom: 40px; /* Separación con la fila de menús */
}

.footer-logo-wrapper {
    width: var(--footer-logo-width);
    flex-shrink: 0; /* Que no se aplaste */
    margin-right: var(--footer-gap); /* El hueco a la derecha */
}

.footer-logo {
    width: 100%;
    height: auto;
    display: block;
}

.footer-claim {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.2;
    color: #000;
    
    /* AQUÍ ESTÁ EL CONTROL MANUAL QUE PEDÍAS:
       Aumenta o reduce este padding para subir/bajar el texto
       respecto a la base del logo */
    padding-bottom: 15px; 
}

/* --------------------------------------------------------
   FILA 2: MENÚS + SPONSORS (Desplazada a la derecha)
   -------------------------------------------------------- */
.footer-row-bottom {
    display: flex;
    /* Cambiamos space-between por flex-start para que no los mande a las esquinas */
    justify-content: flex-start; 
    align-items: flex-start;
    
    /* El hueco entre los menús y los sponsors se controla aquí si quieres */
    gap: 40px; 
    
    /* Mantenemos tu indentación izquierda */
    padding-left: var(--logo-space);
}

/* Empujamos los sponsors a la derecha solo si quieres que peguen al borde derecho,
   pero si quieres que estén a continuación de los menús, borra este bloque.
   Si quieres que respeten el flujo natural, usa margin-left auto: */
.footer-menus-container {
   display: flex;       /* <--- ESTO FALTABA para ponerlos en fila */
   gap: 40px;           /* Separación entre menús */
   margin-right: auto;  /* Empuja los sponsors a la derecha */
}

.footer-col-menu {
    border-left: 3px solid #000; /* Raya negra vertical */
    padding-left: 15px;
    min-width: 180px; /* Ancho mínimo para que no bailen */
}

.footer-col-menu ul {
    list-style: none; margin: 0; padding: 0;
}
.footer-col-menu li {
    margin-bottom: 8px;
}
.footer-col-menu a {
    text-decoration: none;
    color: #000;
    font-size: 0.95rem;
    font-family: sans-serif;
    font-weight: 500;
}
.footer-col-menu a:hover { text-decoration: underline; }


/* Bloque Sponsors (Derecha) */
.footer-sponsors-area {
    text-align: right;
}

/* Bloque Sponsors (Derecha) */
.footer-sponsors-area {
    text-align: right;
    flex-shrink: 0; /* Evita que se aplaste si falta espacio */
	/* LA CLAVE DE LA ALINEACIÓN: */
     align-self: flex-end; /* Fuerza a este bloque a bajar al suelo del flex */
}
.sponsor-label {
    display: block;
    font-family: var(--font-primary); /* Antes sans-serif, ahora tu fuente */
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.sponsor-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between; /* Distribuye los logos en los 330px */
}

/* Control específico de pesos visuales */
.sponsor-logos img {
    height: auto;       /* La altura se ajustará sola */
    display: block;
}

/* Primer logo (Valencia): 168px */
.sponsor-logos img:nth-child(1) {
    width: 200px;
}

/* Segundo logo (Hernia): 130px */
.sponsor-logos img:nth-child(2) {
    width: 150px;
}

/* --------------------------------------------------------
   COPYRIGHT (Fondo blanco)
   -------------------------------------------------------- */
.site-info-copyright {
    background-color: #FFFFFF;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: #000;
    font-family: var(--font-primary); /* Antes genérica, ahora tu fuente */
}

/* --------------------------------------------------------
   RESPONSIVE (Móvil)
   -------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .footer-row-bottom {
        flex-direction: column;
        gap: 40px;
    }
}
@media screen and (max-width: 768px) {
    /* En móvil quitamos la indentación rara y centramos todo */
    .footer-row-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo-wrapper { margin-right: 0; margin-bottom: 20px; }
    .footer-claim { padding-bottom: 0; }
    
    .footer-row-bottom {
        flex-direction: column;
        padding-left: 0; /* Quitamos el hueco del logo */
        gap: 40px;
    }
    
    .footer-menus-container {
        flex-direction: column; /* Menús uno debajo de otro */
        width: auto;
        gap: 20px;
        margin: auto;
    }
    
    .footer-col-menu {
        border-left: 3px solid #000; /* Reforzamos visualmente en móvil */
        padding-left: 20px;
    }
    
    .footer-sponsors-area {
        width: 100%;
        text-align: center;
    }
    .sponsor-logos { 
        display: flex;
        flex-direction: column; /* <--- ESTO FUERZA UNO ENCIMA DE OTRO */
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
}

/* ==========================================================================
   PUBLICIDAD
   ========================================================================== */
.ad-content {
    border: 1px solid #666;
}
/* Ocultar publicidad en widgets para usuarios logueados (socios) */
body.logged-in .ads-widget-protegido {
    display: none !important;
}
.ad-content {
    /*min-height: 250px; /* Forzamos un hueco para que Google lo vea claro */
    background: #f9f9f9; /* Color suave para ver si el bloque existe */
}