/*
Theme Name: Puticlubs
Theme URI: https://masajeseroticos.es
Author: Puticlubs Team
Author URI: https://masajeseroticos.es
Description: Tema personalizado para directorio de centros de masajes eróticos en España
Version: 1.0.3
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: puticlubs
Tags: directory, business, custom-post-type, customizer
*/

/* ============================================
   FUENTES
   ============================================ */
/* Brandon Grotesque (Medium Italic): menú y título de bienvenida. */
@font-face {
    font-family: 'Brandon Grotesque';
    src: url('assets/fonts/BrandonGrotesque-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Brandon Grotesque Light Italic: títulos de sección (H2 light).
   Añadir assets/fonts/BrandonGrotesque-LightItalic.woff2 si se desea la fuente exacta. */
@font-face {
    font-family: 'Brandon Grotesque';
    src: url('assets/fonts/BrandonGrotesque-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   RESET Y BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    background-color: #f5f5f5;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ============================================
   LAYOUT BOXED - Contenedor principal
   ============================================ */
.site-main {
    background-color: #FFFFFF;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.content-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
    background-color: #FFFFFF;
}

/* Página Locales: intro más compacto y texto más ancho */
.archive-locales-intro {
    padding-top: 1.5rem;
    padding-bottom: 0.75rem;
    max-width: 1240px;
}

.archive-locales-intro__text {
    text-align: justify;
    max-width: 100%;
    margin: 0 auto;
}

.archive-listing-footer-text {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.archive-listing-footer-text__inner,
.index-footer-text__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    color: #200656;
    line-height: 1.6;
    font-size: 0.95rem;
}

.index-footer-text {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.archive-locales-list {
    padding-top: 1rem;
}

/* ============================================
   HEADER - Fondo gris claro - FULL WIDTH
   ============================================ */
.site-header {
    background: #f5f5f5 !important;
    background-color: #f5f5f5 !important;
    position: relative;
    padding: 1rem 0;
    width: 100% !important;
    max-width: 100% !important;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    max-height: 60px;
    text-decoration: none;
    color: inherit;
}

.site-logo .logo-img {
    max-height: 80px;
}

/* Logo Dark Mode: ocultar por defecto, mostrar solo en modo oscuro */
.site-logo .logo-img-dark {
    display: none;
}

html[data-theme="dark"] .site-logo:has(.logo-img-dark) .logo-img-light {
    display: none;
}

html[data-theme="dark"] .site-logo .logo-img-dark {
    display: block;
}

.site-logo .logo-masajes {
    font-family: 'Brush Script MT', 'Lucida Handwriting', 'Georgia', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #2c004c !important;
    font-weight: normal;
    display: block;
    line-height: 1.2;
}

.site-logo .logo-eroticos {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f00078;
    letter-spacing: 0.5px;
    display: inline;
    line-height: 1.2;
}

.site-logo .logo-com {
    font-size: 0.9rem;
    color: #f00078;
    font-weight: 600;
    display: inline;
}

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

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Menú anidado: ítem con hijos */
.main-navigation .nav-menu > li {
    position: relative;
}
.main-navigation .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #200656;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.main-navigation .nav-menu li.menu-item-has-children:hover > .sub-menu,
.main-navigation .nav-menu li.menu-item-has-children.submenu-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.main-navigation .nav-menu .sub-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
.main-navigation .nav-menu .sub-menu li:last-child {
    border-bottom: none;
}
.main-navigation .nav-menu .sub-menu a {
    display: block;
    padding: 0.65rem 1rem;
    color: #fff !important;
    white-space: nowrap;
    font-size: 0.98rem;
}
.main-navigation .nav-menu .sub-menu a:hover {
    background: rgba(240, 0, 120, 0.25);
    color: #fff !important;
    text-decoration: none !important;
}
.main-navigation .nav-menu li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    border: 5px solid transparent;
    border-top-color: currentColor;
}

/* Segundo nivel: Localidades dentro de cada provincia */
.main-navigation .nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 2px;
    transform: translateY(0) translateX(8px);
}
.main-navigation .nav-menu .sub-menu li.menu-item-has-children:hover > .sub-menu,
.main-navigation .nav-menu .sub-menu li.menu-item-has-children.submenu-open > .sub-menu {
    transform: translateY(0) translateX(0);
}
.main-navigation .nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    border: 5px solid transparent;
    border-left-color: currentColor;
    border-top-color: transparent;
}

/* Menú móvil: submenú anidado (lista indentada) */
.mobile-nav-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
    border-left: 2px solid #f00078;
}
.mobile-nav-menu .sub-menu li {
    border-bottom: 1px solid #eee;
}
.mobile-nav-menu .sub-menu a {
    padding: 0.6rem 0;
    font-size: 1rem;
    color: #511F88;
}
.mobile-nav-menu .sub-menu a:hover {
    color: #f00078;
}

.main-navigation a {
    font-family: 'Brandon Grotesque', 'Segoe UI', sans-serif;
    font-weight: 500;
    font-style: italic;
    color: #200656 !important;
    font-size: 1.08rem;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none !important;
}

.main-navigation a:hover {
    text-decoration: underline !important;
    text-decoration-color: #f00078 !important;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
    color: #200656 !important;
}

.main-navigation a.current-menu-item {
    border-bottom: 3px solid #f00078 !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-decoration: none !important;
}

.main-navigation a.current-menu-item:hover {
    border-bottom: 3px solid #f00078 !important;
    text-decoration: none !important;
}

.theme-toggle {
    background: transparent;
    color: #200656;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Botón menú hamburguesa - oculto en desktop */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #200656;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.menu-open .menu-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

body.menu-open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Overlay menú móvil - oculto en desktop */
.mobile-menu-overlay {
    display: none;
}

/* ============================================
   MAIN BANNER - Hero Section - FULL WIDTH
   ============================================ */
.main-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 5rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(44, 0, 76, 0.85) 0%, rgba(44, 0, 76, 0.7) 50%, rgba(44, 0, 76, 0.9) 100%) !important;
    z-index: 1;
}

/* Cabecera compacta para página Locales (archive) */
.main-banner--compact {
    padding: 2rem 0;
    min-height: auto;
}

.main-banner .breadcrumbs,
.main-banner .breadcrumbs a {
    color: #ac92d2;
}

.banner-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.banner-content h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: 2.75rem;
    color: #FFFFFF;
    line-height: 1;
}

.banner-content h1 .highlight-number {
    color: #f00078;
    font-weight: 400;
}

.banner-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

.breadcrumbs {
    text-align: center;
    padding: 1rem 0 2rem;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #FFFFFF;
}

/* ============================================
   SEARCH BAR - Bordes moderadamente redondeados
   ============================================ */
.search-bar {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-bar input[type="text"],
.search-bar select {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: #FFFFFF;
    font-size: 1rem;
    font-family: inherit;
    color: #200656;
}

.search-bar input[type="text"]::placeholder {
    color: rgba(32, 6, 86, 0.8);
}

.search-bar select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23200656' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.search-bar button {
    padding: 1rem 2.5rem;
    background: #f00078;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
}

.search-bar button:hover {
    background: #d1006a;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.welcome-title {
    font-family: 'Brandon Grotesque', 'Segoe UI', sans-serif;
    color: #200656;
    font-weight: lighter;
    font-style: italic;
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}


.welcome-text {
    text-align: justify;
    color: #200656;
    line-height: 1.45;
    margin-bottom: 2rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
}

.section-title {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 2.25rem;
    color: #200656;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-style: italic;
}

.section-title-light-part {
    color: #200656;
    font-weight: 300 !important;
    padding-bottom: 2px;
}

.section-title-highlight {
    color: #200656;
    font-family: 'Brandon Grotesque' !important;
    font-size: 2.75rem;
    font-weight: 400;
    padding-bottom: 2px;
}

.section-title-underline {
    width: 280px;
    height: 3px;
    background: #f00078;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.section-title-underline::after {
    content: '';
    display: block;
    width: 280px;
    height: 3px;
    background: #f00078;
}



/* ============================================
   LOCALES GRID - Portada
   ============================================ */
.locales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.local-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.local-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.locales-grid .local-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.locales-grid .local-card-link:hover {
    color: inherit;
}

.locales-grid .local-card-link .local-card-content h3 {
    color: #200656;
}

.locales-grid .local-card-link:hover .local-card-content h3 {
    color: #200656;
}

.local-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.local-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.local-card-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #2c004c 0%, #511F88 100%);
}

.local-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 0, 76, 0.85);
    z-index: 1;
}

.local-card-image .btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    bottom: auto;
    padding: 0.75rem 1.5rem;
    background: #f00078;
    color: #FFFFFF;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    display: block;
    z-index: 2;
    text-transform: uppercase;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2c004c;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.featured-badge-star {
    color: #97c800;
}

.local-card-content {
    padding: 1.5rem;
}

.local-card h3 {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.local-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.local-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333333;
    font-size: 0.9rem;
}

/* Portada: tarjetas de locales destacados (iconos grises, título fucsia, menos altura imagen) */
.locales-grid .local-card-image {
    aspect-ratio: 16 / 9;
}

.locales-grid .local-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.locales-grid .local-card-image-placeholder {
    aspect-ratio: 16 / 9;
}

/* Hover: capa morada semitransparente + botón VER FICHA DE CENTRO */
.locales-grid .local-card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 0, 76, 0.75);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.locales-grid .local-card-link:hover .local-card-image-overlay {
    opacity: 1;
}

.locales-grid .local-card-btn-overlay {
    padding: 0.75rem 2rem;
    width: calc(100% - 2rem);
    max-width: 100%;
    text-align: center;
    background: #f00078;
    color: #FFFFFF;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.locales-grid .local-card h3 {
    color: #200656;
    font-weight: 700;
}

.locales-grid .local-info-item {
    color: #200656;
}

.locales-grid .local-info-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #7A7A7A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.locales-grid .local-info-icon svg {
    width: 16px;
    height: 16px;
}

.btn-ver-ficha {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #f00078;
    color: #FFFFFF;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.btn-ver-ficha:hover {
    background: #d1006a;
    color: #FFFFFF;
}

.local-card:not(.featured) .btn-ver-ficha {
    background: #8B7FA8;
}

.local-card:not(.featured) .btn-ver-ficha:hover {
    background: #756a8f;
    color: #FFFFFF;
}

/* ============================================
   LISTADO DE LOCALES - Cards horizontales
   ============================================ */
.local-listings-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.local-listing-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    display: flex;
    gap: 0;
}

.local-listing-card .local-card-image {
    width: 33%;
    min-width: 180px;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

.local-listing-card .local-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.local-listing-card .local-card-content {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.local-listing-card h3 {
    font-size: 1.5rem;
    color: #f00078;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Calle y URL en misma línea */
.local-info--inline .local-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1.25rem;
    font-size: 0.9rem;
}

.local-info--inline .local-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.local-listing-card .local-info-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.local-listing-card .local-info-icon svg {
    width: 16px;
    height: 16px;
}

/* DESTACADO: título fucsia, iconos verde, descripción gris, botón magenta */
.local-listing-card.featured h3 {
    color: #f00078;
}

.local-listing-card.featured .local-info--inline .local-info-row {
    color: #200656;
}

.local-listing-card.featured .local-info-icon {
    color: #97c800;
}

.local-listing-card.featured .local-info-icon svg {
    fill: currentColor;
}

.local-listing-card.featured .local-description {
    color: #666666;
}

.local-listing-card.featured .local-description strong {
    color: #333333;
}

.local-listing-card.featured .btn-ver-ficha.first-btn {
    background: #f00078 !important;
    color: #FFFFFF !important;
}

.local-listing-card.featured .btn-ver-ficha.first-btn:hover {
    background: #d1006a !important;
    color: #FFFFFF !important;
}

/* NO DESTACADO: TODO en morado #200656 */
.local-listing-card:not(.featured) h3,
.local-listing-card:not(.featured) .local-info--inline .local-info-row,
.local-listing-card:not(.featured) .local-info-icon,
.local-listing-card:not(.featured) .local-description,
.local-listing-card:not(.featured) .local-description strong {
    color: #200656 !important;
}

.local-listing-card:not(.featured) .local-info-icon svg {
    fill: #200656 !important;
}

.local-listing-card:not(.featured) .local-description {
    font-size: 0.9rem;
    margin: 0.4rem 0 0.75rem;
    line-height: 1.35;
    display: block;
}

.local-listing-card .btn-ver-ficha {
    align-self: flex-start;
    width: 20%;
    min-width: 120px;
    text-align: center;
}

/* Botón no destacado: fondo lavanda, texto morado */
.local-listing-card:not(.featured) .btn-ver-ficha {
    background: #ac92d2 !important;
    color: #200656 !important;
}

.local-listing-card:not(.featured) .btn-ver-ficha:hover {
    background: #9a7bc4 !important;
    color: #200656 !important;
}

/* Menú Listado Destacado - Provincias destacadas (estilo como Ver Ficha: morado, hover fucsia) */
.archive-locales-featured-menu {
    padding: 0 20px 1.5rem;
}

.listing-featured-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.listing-featured-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ac92d2;
    color: #200656 !important;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
}

.listing-featured-btn:hover {
    background: #f00078 !important;
    color: #FFFFFF !important;
}

.listing-featured-btn.is-active {
    background: #f00078 !important;
    color: #FFFFFF !important;
}

/* ============================================
   CALL TO ACTION - FULL WIDTH (bg-1.png, diseño imagen)
   ============================================ */
.cta-section {
    background-color: #2c004c;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 2rem;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 0, 76, 0.55);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section .cta-title {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    line-height: 1.3;
}

.cta-section .cta-subtitle {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 1.75rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
}

.btn-contactar {
    display: inline-block;
    padding: 0.75rem 2.25rem;
    background: #f00078;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px rgba(240, 0, 120, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-contactar:hover {
    background: #d1006a;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(240, 0, 120, 0.5);
}

/* ============================================
   ACTUALIDAD - Fondo morado, título con subrayado, cards oscuras
   ============================================ */
.actualidad-section {
    background: #140032;
    padding: 4rem 2rem;
    width: 100%;
}

.actualidad-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.actualidad-title {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.actualidad-title-underline {
    color: #FFFFFF;
    font-family: 'Brandon Grotesque' !important;
    font-size: 32pt;
    font-weight: 400;
    padding-bottom: 2px;
    display: inline-block;
}

.actualidad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.actualidad-card {
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}

.actualidad-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.actualidad-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.actualidad-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.actualidad-date-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #FFFFFF;
    color: #200656;
    padding: 0.4rem 0.65rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.actualidad-card-content {
    padding: 0;
}

.actualidad-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.actualidad-more {
    text-align: center;
}

.btn-actualidad-mas {
    display: inline-block;
    padding: 0.75rem 2.25rem;
    background: #f00078;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px rgba(240, 0, 120, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-actualidad-mas:hover {
    background: #d1006a;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(240, 0, 120, 0.5);
}

/* ============================================
   NEWS SECTION (legacy / otros usos)
   ============================================ */
.news-date-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #FFFFFF;
    color: #200656;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ============================================
   VISTA BLOG (ACTUALIDAD / NOVEDADES) - Cabecera y listado
   ============================================ */
.novedades-header {
    background: #330066;
    padding: 2.5rem 20px;
    width: 100%;
    text-align: center;
}

.novedades-header-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.novedades-title {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.novedades-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.site-main.blog-page {
    background: #f0f0f0;
    padding: 2rem 20px 3rem;
}

.blog-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}

.blog-content {
    min-width: 0;
}

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

.blog-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8e8e8;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #999;
    padding: 1rem;
    text-align: center;
}

.blog-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
    font-size: 0.8rem;
    color: #888;
}

.blog-card-date {
    color: #888;
}

.blog-card-date::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E") center/contain no-repeat;
    vertical-align: middle;
}

.blog-card-category {
    color: #511F88;
    text-decoration: none;
    font-weight: 500;
}

.blog-card-category:hover {
    color: #E50085;
    text-decoration: underline;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #511F88;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.55;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: #511F88;
    text-decoration: none;
    display: inline-block;
}

.blog-card-more:hover {
    color: #E50085;
}

.blog-sidebar {
    position: sticky;
    top: 1rem;
}

.blog-sidebar-box {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blog-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.blog-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-categories-list li {
    margin: 0 0 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border-bottom: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-categories-list li:last-child {
    border-bottom: none;
}

.blog-categories-list a {
    display: inline;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

.blog-categories-list a:hover {
    color: #511F88;
}

.blog-categories-list li:hover {
    background: #f5f5f5;
}

.blog-categories-list li:hover a {
    color: #511F88;
}

/* Categoría actual (cuando se está en archivo de categoría) */
.blog-categories-list li.current-cat {
    background: #e8e8e8;
}

.blog-categories-list li.current-cat a {
    color: #200656;
    font-weight: 600;
}

/* Contador de artículos - inline con el nombre de categoría */
.blog-categories-list .count {
    font-size: 0.85rem;
    color: #888;
    margin-left: 0.25rem;
}

.blog-page .nav-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.blog-page .nav-links a,
.blog-page .nav-links span {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

/* ============================================
   SINGLE POST (Novedades - entrada individual)
   ============================================ */
.blog-single-page .blog-content {
    max-width: 100%;
}

.blog-single-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.5rem 2.5rem;
}

.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.blog-single-meta .meta-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.blog-single-meta .meta-icon svg {
    width: 16px;
    height: 16px;
}

.blog-single-date,
.blog-single-author {
    display: inline-flex;
    align-items: center;
}

.blog-single-category {
    color: #511F88;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.blog-single-category:hover {
    color: #E50085;
    text-decoration: underline;
}

.blog-single-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
    line-height: 1.3;
}

.blog-single-thumbnail {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.blog-single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-single-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.blog-single-content p {
    margin-bottom: 1rem;
}

.blog-single-content p:last-child {
    margin-bottom: 0;
}

/* Navegación entre posts */
.blog-single-card .post-navigation {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e8e8;
}

.blog-single-card .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.blog-single-card .nav-previous a,
.blog-single-card .nav-next a {
    color: #511F88;
    text-decoration: none;
    font-weight: 500;
}

.blog-single-card .nav-previous a:hover,
.blog-single-card .nav-next a:hover {
    color: #E50085;
}

.blog-single-card .nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.25rem;
}

/* Botón VER TODAS LAS NOVEDADES */
.blog-single-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.btn-novedades-todas {
    display: inline-block;
    padding: 1rem 2rem;
    background: #511F88;
    color: #FFFFFF !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.btn-novedades-todas:hover {
    background: #E50085;
    color: #FFFFFF !important;
}

@media (max-width: 900px) {
    .blog-page-inner {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-single-card {
        padding: 1.5rem 1.25rem;
    }

    .blog-single-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   SINGLE LOCAL PAGE - Ficha (Brandon Grotesque, verde lima, magenta)
   ============================================ */
.local-header {
    background-size: cover;
    background-position: center;
    background-color: #4A207A;
    padding: 4rem 0;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
}

.local-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 32, 122, 0.75);
    z-index: 1;
}

.local-header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.local-header-title {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    line-height: 1.2;
}

.local-header-breadcrumbs {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 2rem;
}

.local-header-breadcrumbs a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.local-header-breadcrumbs a:hover {
    text-decoration: underline;
}

.local-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.local-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #FFFFFF;
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.local-phone-link:hover {
    color: #9dd355;
    opacity: 0.95;
}

.local-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #85C440;
}

.local-contact-icon svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

.local-contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-btn.contact-btn-lime {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #85C440;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.3s ease;
}

.contact-btn.contact-btn-lime:hover {
    background: #73ad36;
    color: #FFFFFF;
}

.contact-btn-icon {
    display: inline-flex;
    color: #FFFFFF;
}

.contact-btn-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Local Details - Dos columnas */
.local-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.local-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.local-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.local-image-clickable {
    cursor: pointer;
}

/* Visor de imágenes (lightbox) en ficha de centro */
.puticlubs-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.puticlubs-image-viewer.active {
    opacity: 1;
    visibility: visible;
}

.puticlubs-image-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.puticlubs-image-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100001;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.puticlubs-image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.puticlubs-image-viewer-content {
    position: relative;
    z-index: 100000;
    max-width: 90vw;
    max-height: 90vh;
}

.puticlubs-image-viewer-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.social-networks {
    margin-top: 2rem;
}

.social-networks--bottom {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e8e8;
}

.social-networks h3 {
    color: #200656;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 900;
    font-size: 1.25rem;
}

.social-networks p {
    color: #200656;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    /* background: #2c004c; */
    /* color: #FFFFFF; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: #f00078;
    color: #FFFFFF;
}

/* Logos reales de redes sociales */
.social-icons--brands .social-icon {
    background: #f0f0f0;
    color: #333;
}

.social-icons--brands .social-icon svg {
    width: 32px;
    height: 32px;
}

.social-icons--brands .social-icon-instagram:hover svg,
.social-icons--brands .social-icon-facebook:hover svg,
.social-icons--brands .social-icon-x:hover svg,
.social-icons--brands .social-icon-tiktok:hover svg {
    fill: #FFFFFF;
}

.social-icons--brands .social-icon-instagram { color: #E4405F; }
.social-icons--brands .social-icon-instagram svg { fill: #E4405F; }
.social-icons--brands .social-icon-facebook { color: #1877F2; }
.social-icons--brands .social-icon-facebook svg { fill: #1877F2; }
.social-icons--brands .social-icon-x { color: #000000; }
.social-icons--brands .social-icon-x svg { fill: #000000; }
.social-icons--brands .social-icon-tiktok { color: #000000; }
.social-icons--brands .social-icon-tiktok svg { fill: #000000; }

/* Título sección "Más informacion del local" - Brandon Grotesque Medium italic, línea magenta */
.single-local-main .single-local-section-title {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-weight: 100;
    font-style: italic;
    font-size: 2.75rem;
    color: #200656;
    text-align: center;
    margin: 0;
}

.single-local-main .single-local-section-title-bold {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-style: italic!important;
    font-size: 3.25rem;
    color: #200656;
    text-align: center;
    margin: 0 0 0.5rem;
}

.single-local-title-underline {
    width: 280px;
    height: 4px;
    background: #DE2E88;
    margin: 0 auto 2.5rem;
}

.local-info-section {
    line-height: 1;
    margin-bottom: 1.5rem;
}

.local-info-heading {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #200656;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.local-info-section .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
    color: #200656;
    font-size: 0.95rem;
}

.local-info-section .info-item a {
    color: #200656;
    text-decoration: none;
}

.local-info-section .info-item a:hover {
    text-decoration: underline;
}

.info-item-lime .info-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #85C440;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-item-lime .info-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-tag {
    padding: 0.5rem 1rem;
    background: #8B7FA8;
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.service-tag-featured,
.service-tag:nth-child(1),
.service-tag:nth-child(2) {
    background: #f00078;
}

/* Ficha: primer tag magenta, resto gris morado - enlaces clickables */
.service-tags-ficha .service-tag-ficha {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #9B9BAD;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, color 0.2s ease;
}

.service-tags-ficha a.service-tag-ficha:hover {
    background: #7a6d8a;
    color: #FFFFFF;
}

.service-tags-ficha .service-tag-ficha-highlight {
    background: #DE2E88;
    color: #FFFFFF;
}

.service-tags-ficha a.service-tag-ficha-highlight:hover {
    background: #c02570;
    color: #FFFFFF;
}

.map-only-section {
    margin-bottom: 1rem;
}

.map-only-section .map-container {
    margin-top: 0;
}

.map-container {
    margin-top: 0.25rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: none;
}

.related-locales {
    margin-top: 1rem;
}

.single-local-main .local-info-section p,
.single-local-main .local-info-section div > p {
    color: #200656;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.related-locales h2 {
    font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
    text-align: center;
    color: #4A207A;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 500;
    font-style: italic;
}

/*
.related-locales h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: #2c004c;
    margin: 1rem auto 0;
}
*/

/* ============================================
   FOOTER - Igual a imagen: blanco, morado, fucsia, iconos
   ============================================ */
.site-footer {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #4A148C;
    padding: 3rem 0 0;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column-brand {
    max-width: 320px;
}

.footer-column .footer-logo {
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
    display: block;
}

.footer-logo-img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Footer logo Dark Mode */
.footer-logo .footer-logo-img-dark {
    display: none;
}

html[data-theme="dark"] .footer-logo:has(.footer-logo-img-dark) .footer-logo-img-light {
    display: none;
}

html[data-theme="dark"] .footer-logo .footer-logo-img-dark {
    display: block;
}

.footer-logo-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    line-height: 1.3;
}

.footer-logo-masajes {
    font-family: 'Brush Script MT', 'Lucida Handwriting', 'Georgia', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #200656 !important;
    font-weight: normal;
}

.footer-logo-feather {
    color: #f00078 !important;
    display: inline-flex;
    align-items: center;
}

.footer-logo-feather svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-logo-eroticos {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #200656 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: block;
    width: 100%;
}

.footer-description {
    color: #200656 !important;
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    color: #200656 !important;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer-column ul.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-column ul.footer-links li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #200656;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul.footer-links li a:hover {
    color: #f00078;
}

.footer-link-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #B0B0B0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-link-icon svg {
    width: 18px;
    height: 18px;
}

.footer-link-icon-highlight,
.footer-column ul.footer-links li a.footer-link-highlight .footer-link-icon,
.footer-column ul.footer-links li a.add-local-btn .footer-link-icon {
    color: #B0B0B0 !important;
}

.footer-column ul.footer-links li a.footer-link-highlight,
.footer-column ul.footer-links li a.add-local-btn {
    color: #200656 !important;
}

.footer-column ul.footer-links li a.footer-link-highlight:hover,
.footer-column ul.footer-links li a.add-local-btn:hover {
    color: #d1006a !important;
}

.footer-divider {
    height: 4px;
    background: #f00078;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    text-align: center;
    padding: 1.5rem 20px;
    color: #200656 !important;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-copyright p {
    margin: 0;
    color: #200656 !important;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* Modal Añadir Local: layout apaisado en dos columnas, sin scroll */
.modal-content.modal-add-local {
    max-width: 920px;
    max-height: none;
    overflow: visible;
}

.modal-add-local .modal-intro {
    margin-bottom: 1.25rem;
}

.add-local-form-grid .form-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.add-local-form-grid .form-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.add-local-form-grid .form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c004c;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f00078;
}

.add-local-form-grid .form-section-note {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.8rem;
    line-height: 1.3;
}

.add-local-form-grid .form-group {
    margin-bottom: 1rem;
}

.add-local-form-grid .form-group textarea {
    min-height: 70px;
    resize: vertical;
}

.add-local-form-grid .btn-submit {
    margin-top: 0.5rem;
}

.add-local-form-grid > .notice {
    grid-column: 1 / -1;
}

.add-local-form-grid .form-field-description {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.35rem;
}

.local-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.local-image-preview-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.local-image-preview-more {
    align-self: center;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .add-local-form-grid .form-grid-wrapper {
        grid-template-columns: 1fr;
    }
    
    .modal-content.modal-add-local {
        max-height: 90vh;
        overflow-y: auto;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #333333;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #f00078;
}

.modal h2 {
    color: #2c004c;
    margin-bottom: 1rem;
}

.modal p {
    color: #666666;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333333;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

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

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666666;
    font-size: 0.85rem;
}

.btn-submit {
    background: #f00078;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-submit:hover {
    background: #d1006a;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    /* Header móvil: [menú icono] [logo centro] [tema toggle] */
    .menu-toggle {
        display: flex;
        order: 1;
    }

    .site-logo {
        order: 2;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .main-navigation {
        order: 3;
        width: auto;
        gap: 0;
    }

    .main-navigation .nav-menu {
        display: none;
    }

    .main-navigation .theme-toggle {
        display: flex;
    }

    .header-top {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
    }

    /* Overlay menú móvil */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 85vw;
        height: 100%;
        background: #f5f5f5;
        z-index: 9999;
        padding: 4rem 1.5rem 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .mobile-menu-overlay.active .mobile-menu {
        transform: translateX(0);
    }

    .mobile-nav-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav-menu li {
        margin: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .mobile-nav-menu a {
        display: block;
        padding: 1rem 0;
        font-family: 'Brandon Grotesque', 'Segoe UI', sans-serif;
        font-weight: 500;
        font-style: italic;
        color: #200656;
        font-size: 1.2rem;
        text-decoration: none;
    }

    .mobile-nav-menu a:hover {
        color: #f00078;
    }

    .banner-content h1 {
        font-size: 28pt;
        line-height: 1.1;
        margin-bottom: 0.25rem;
    }

    .banner-content h2 {
        font-size: 18pt;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .main-banner {
        padding: 3rem 0;
        min-height: 380px;
    }

    .main-banner--compact {
        padding: 1.5rem 0;
    }

    .breadcrumbs {
        padding: 0.5rem 0 1rem;
    }

    .novedades-header {
        padding: 1.5rem 20px;
    }

    .novedades-title {
        font-size: 2rem;
        line-height: 1.15;
        margin: 0 0 0.25rem;
    }

    .novedades-subtitle {
        margin: 0;
        font-size: 0.9rem;
    }

    .page-header-purple .novedades-header-inner {
        padding: 0;
    }

    .local-header {
        padding: 1.75rem 0;
    }

    .local-header-title {
        font-size: 1.4rem;
        line-height: 1.15;
        margin-bottom: 0.35rem;
    }

    .local-header-breadcrumbs {
        display: none;
    }

    .local-contact-row {
        margin-top: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .local-contact-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }

    .contact-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .welcome-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.35rem;
    }

    .welcome-text {
        margin-bottom: 1.25rem;
        line-height: 1.4;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.15;
        margin-bottom: 0.35rem;
    }

    .section-title-underline {
        margin-bottom: 1.25rem;
    }

    .single-local-main .single-local-section-title {
        font-size: 1.75rem;
    }

    .single-local-main .single-local-section-title-bold {
        font-size: 2rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 8px;
    }

    .search-bar input[type="text"],
    .search-bar select,
    .search-bar button {
        width: 100%;
        border-radius: 8px;
    }

    .locales-grid {
        grid-template-columns: 1fr;
    }

    .local-listing-card {
        flex-direction: column;
    }

    .local-listing-card .local-card-image {
        width: 100%;
        min-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .actualidad-grid {
        grid-template-columns: 1fr;
    }

    .cta-section .cta-title {
        font-family: 'Brandon Grotesque', 'Open Sans', 'Segoe UI', sans-serif;
        font-style: italic;
        font-weight: 500;
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .cta-section .cta-subtitle {
        font-size: 1.15rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .local-details {
        grid-template-columns: 1fr;
    }

    /* Imágenes ficha: scroll horizontal en móvil */
    .local-images {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .local-images .local-image {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 20px;
}

.legal-page h1 {
    color: #200656;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.legal-page h2 {
    color: #200656;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #200656;
}

/* ============================================
   MODO OSCURO (data-theme="dark" en html o body)
   ============================================ */
html[data-theme="dark"],
html[data-theme="dark"] body {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

html[data-theme="dark"] .site-header {
    background: #2d2d2d !important;
    background-color: #2d2d2d !important;
    border-bottom-color: #404040;
}

html[data-theme="dark"] .main-navigation a {
    color: #e0e0e0 !important;
}

html[data-theme="dark"] .main-navigation a:hover {
    text-decoration-color: #f00078 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .main-navigation a.current-menu-item {
    border-bottom-color: #f00078 !important;
}

html[data-theme="dark"] .main-navigation .nav-menu .sub-menu {
    background: #2d2d2d;
    border: 1px solid #404040;
}
html[data-theme="dark"] .main-navigation .nav-menu .sub-menu a {
    color: #e0e0e0 !important;
}
html[data-theme="dark"] .main-navigation .nav-menu .sub-menu a:hover {
    background: rgba(240, 0, 120, 0.2);
    color: #fff !important;
}

html[data-theme="dark"] .theme-toggle {
    color: #e0e0e0;
}

html[data-theme="dark"] .menu-toggle-bar {
    background: #e0e0e0;
}

html[data-theme="dark"] .mobile-menu {
    background: #2d2d2d;
}

html[data-theme="dark"] .mobile-nav-menu li {
    border-bottom-color: #404040;
}

html[data-theme="dark"] .mobile-nav-menu a {
    color: #e0e0e0;
}

html[data-theme="dark"] .mobile-nav-menu a:hover {
    color: #f00078;
}
html[data-theme="dark"] .mobile-nav-menu .sub-menu {
    border-left-color: #f00078;
}
html[data-theme="dark"] .mobile-nav-menu .sub-menu li {
    border-bottom-color: #404040;
}
html[data-theme="dark"] .mobile-nav-menu .sub-menu a {
    color: #b0b0b0;
}
html[data-theme="dark"] .mobile-nav-menu .sub-menu a:hover {
    color: #f00078;
}

html[data-theme="dark"] .site-logo .logo-masajes {
    color: #e8e8e8 !important;
}

html[data-theme="dark"] .site-logo .logo-eroticos,
html[data-theme="dark"] .site-logo .logo-com {
    color: #f00078 !important;
}

html[data-theme="dark"] .site-main,
html[data-theme="dark"] .content-section {
    background-color: #252525;
}

html[data-theme="dark"] .archive-listing-footer-text__inner,
html[data-theme="dark"] .index-footer-text__inner {
    color: #d8d8d8;
}

html[data-theme="dark"] .social-networks--bottom {
    border-top-color: #404040;
}

html[data-theme="dark"] .welcome-title,
html[data-theme="dark"] .welcome-title .section-title-light-part,
html[data-theme="dark"] .welcome-title .section-title-highlight,
html[data-theme="dark"] .welcome-part1 {
    color: #e8e8e8;
}

html[data-theme="dark"] .welcome-part2 {
    color: #f00078;
}

html[data-theme="dark"] .welcome-text {
    color: #d8d8d8;
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-title-light-part,
html[data-theme="dark"] .section-title-highlight {
    color: #e8e8e8;
}

html[data-theme="dark"] .section-title-underline,
html[data-theme="dark"] .section-title-highlight {
    border-bottom-color: #f00078;
}

html[data-theme="dark"] .local-card {
    background: #2d2d2d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .local-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .locales-grid .local-card h3 {
    color: #f00078;
}

html[data-theme="dark"] .locales-grid .local-card-link:hover .local-card-content h3 {
    color: #ff1a8c;
}

html[data-theme="dark"] .local-info-item,
html[data-theme="dark"] .locales-grid .local-info-item {
    color: #d8d8d8;
}

html[data-theme="dark"] .local-card-image-placeholder {
    background: linear-gradient(135deg, #3d2d4d 0%, #4A207A 100%);
}

html[data-theme="dark"] .cta-section .cta-title,
html[data-theme="dark"] .cta-section .cta-subtitle {
    color: #ffffff;
}

html[data-theme="dark"] .actualidad-section {
    background: #252525;
}

html[data-theme="dark"] .actualidad-title {
    color: #e0e0e0;
}

html[data-theme="dark"] .actualidad-title-underline {
    border-bottom-color: #f00078;
}

html[data-theme="dark"] .actualidad-card-title {
    color: #e0e0e0;
}

html[data-theme="dark"] .site-footer {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    border-top: 1px solid #404040;
}

html[data-theme="dark"] .footer-logo-masajes,
html[data-theme="dark"] .footer-logo-eroticos {
    color: #e8e8e8 !important;
}

html[data-theme="dark"] .footer-description,
html[data-theme="dark"] .footer-heading,
html[data-theme="dark"] .footer-column ul.footer-links li a {
    color: #d8d8d8 !important;
}

html[data-theme="dark"] .footer-column ul.footer-links li a.footer-link-highlight,
html[data-theme="dark"] .footer-column ul.footer-links li a.add-local-btn {
    color: #f00078 !important;
}

html[data-theme="dark"] .footer-copyright p,
html[data-theme="dark"] .footer-divider {
    color: #808080 !important;
}

html[data-theme="dark"] .footer-divider {
    background: #f00078;
}

html[data-theme="dark"] .single-local-section-title,
html[data-theme="dark"] .single-local-section-title .single-local-section-title-bold {
    color: #e8e8e8;
}

html[data-theme="dark"] .single-local-title-underline {
    background: #f00078;
}

html[data-theme="dark"] .local-info-heading {
    color: #e0e0e0;
}

html[data-theme="dark"] .local-info-section .info-item {
    color: #d8d8d8;
}

html[data-theme="dark"] .local-info-section .info-item a {
    color: #f00078;
}

html[data-theme="dark"] .local-info-section p,
html[data-theme="dark"] .single-local-main .local-info-section p {
    color: #d8d8d8;
}

html[data-theme="dark"] .related-locales h2 {
    color: #e8e8e8;
}

html[data-theme="dark"] .legal-page h1,
html[data-theme="dark"] .legal-page h2 {
    color: #e8e8e8;
}

html[data-theme="dark"] .legal-page p {
    color: #d8d8d8;
}

html[data-theme="dark"] .modal-content {
    background: #2d2d2d;
    color: #e0e0e0;
}

html[data-theme="dark"] .modal-content h2,
html[data-theme="dark"] .modal-content h3.form-section-title,
html[data-theme="dark"] .modal-content label {
    color: #e0e0e0;
}

html[data-theme="dark"] .modal-content input,
html[data-theme="dark"] .modal-content select,
html[data-theme="dark"] .modal-content textarea {
    background: #1a1a1a;
    border-color: #404040;
    color: #e0e0e0;
}

html[data-theme="dark"] .no-results.not-found h2,
html[data-theme="dark"] .no-results.not-found p {
    color: #b0b0b0;
}

/* Vista blog (Novedades) en modo oscuro */
html[data-theme="dark"] .site-main.blog-page {
    background: #1a1a1a;
}

html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .blog-sidebar-box {
    background: #2d2d2d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .blog-card-title a {
    color: #e0e0e0;
}

html[data-theme="dark"] .blog-card-title a:hover {
    color: #f00078;
}

html[data-theme="dark"] .blog-card-excerpt,
html[data-theme="dark"] .blog-card-meta {
    color: #d8d8d8;
}

html[data-theme="dark"] .blog-card-category,
html[data-theme="dark"] .blog-card-more {
    color: #f00078;
}

html[data-theme="dark"] .blog-sidebar-title,
html[data-theme="dark"] .blog-categories-list a {
    color: #e0e0e0;
}

html[data-theme="dark"] .blog-categories-list a:hover {
    color: #f00078;
}

html[data-theme="dark"] .blog-categories-list .count {
    color: #999;
}

html[data-theme="dark"] .blog-page .nav-links a,
html[data-theme="dark"] .blog-page .nav-links span {
    color: #d8d8d8;
}

html[data-theme="dark"] .blog-page .nav-links a:hover {
    color: #f00078;
}

html[data-theme="dark"] .blog-single-card {
    background: #2d2d2d;
}

html[data-theme="dark"] .blog-single-title,
html[data-theme="dark"] .blog-single-content {
    color: #e0e0e0;
}

html[data-theme="dark"] .blog-single-meta {
    color: #d8d8d8;
}

html[data-theme="dark"] .blog-single-category {
    color: #f00078;
}

html[data-theme="dark"] .blog-single-category:hover {
    color: #ff1a8c;
}

html[data-theme="dark"] .blog-single-card .nav-previous a,
html[data-theme="dark"] .blog-single-card .nav-next a {
    color: #f00078;
}

html[data-theme="dark"] .btn-novedades-todas {
    background: #511F88;
}

html[data-theme="dark"] .btn-novedades-todas:hover {
    background: #E50085;
}
