/* Turismoo 2026 — estilos añadidos sobre Template 02 responsive */

/* Fuentes locales (antes cargadas desde Google Fonts) */
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/local/roboto-condensed-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/local/roboto-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/local/noto-serif-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Serif'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/local/noto-serif-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/local/roboto-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/local/roboto-latin-700-normal.woff2) format('woff2'); }

/* Accesibilidad */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: #000; padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; }

/* Hero (antes H2 dentro del carrusel) */
.carousel .hero-title {
    font: 700 40px/1.15 'Roboto Condensed', sans-serif;
    color: #fff;
    text-shadow: -1px 1px 2px rgba(0,0,0,.6);
    margin: 0 0 10px;
}
.carousel .item img { width: 100%; height: auto; display: block; }
.carousel-caption a:not(.btn) { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
    .carousel .hero-title { font-size: 22px; }
}

/* Títulos de página (H1 de categoría y ficha) */
h1.page-title { font: 700 26px/1.2em 'Roboto Condensed', sans-serif; margin: 0 0 20px; }
.listing-details h1.link-title a { color: inherit; text-decoration: none; }
.listing-details .link-visit { margin: 10px 0 18px; }
.listing-details .link-visit .link { display: block; margin-top: 6px; color: #777; font-size: 13px; word-break: break-all; }
.listing-details .description-detail { font-size: 15px; line-height: 1.6; margin-bottom: 15px; }

/* Pie */
.site-footer .footer-legal ul { padding: 0; }
.site-footer .footer-legal li { display: inline-block; margin: 10px 14px 10px 0; font: 13px 'Noto Serif', Arial, sans-serif; }
.site-footer .footer-legal a,
.site-footer .link-button { color: #fff; }
.link-button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font: inherit; }
.site-footer .footer { padding: 12px 20px; font-size: 12px; text-align: center; }
.site-footer .footer p { margin: 0; }
#footer_top { overflow: hidden; }

/* Banner de cookies: colores del tema */
#cc-main {
    --cc-btn-primary-bg: #b52025;
    --cc-btn-primary-border-color: #b52025;
    --cc-btn-primary-hover-bg: #8e171b;
    --cc-btn-primary-hover-border-color: #8e171b;
    --cc-toggle-on-bg: #b52025;
    --cc-font-family: 'Roboto', Arial, sans-serif;
}

/* Textos legales */
.legal-text h2 { font-size: 20px; margin-top: 25px; }
.legal-text table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 13px; }
.legal-text th, .legal-text td { border: 1px solid #ddd; padding: 6px 8px; text-align: left; vertical-align: top; }

/* Título H1 de la ficha (estructura del núcleo PHPLD) */
.listing-details h1.link-title,
.listing-details h1.link-title a.link-title-url {
    font: 700 28px/1.2em 'Roboto Condensed', sans-serif;
    color: #362f2f;
    text-decoration: none;
    margin: 0 0 15px;
}
.listing-details h1.link-title a.link-title-url:hover { color: #d81d1f; }
.listing-details .description-detail { margin: 10px 0 15px; }

/* ===== Cabecera compacta (actualización 2) ===== */
.logo-top { padding: 0; height: auto !important; min-height: 0 !important; }
.logo-top .container-logo {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    max-width: 1300px; margin: 0 auto; padding: 10px 20px; min-height: 76px;
}
.logo-top .container-logo .logo-field { float: none; width: auto; margin: 0; flex: 0 1 auto; line-height: 1; }
.logo-top .container-logo .logo-field a { font: 700 24px/1.1 'Roboto Condensed', sans-serif; display: inline-block; }
.logo-top .container-logo .logo-field img { display: block; max-height: 56px; width: auto; max-width: 100%; }
.logo-top .container-logo .search-field-top { float: none; width: auto; flex: 0 1 380px; }
.search-field-top .phpld-form { margin: 0; }
.search-field-top .phpld-form .phpld-columnar { display: flex; align-items: center; gap: 6px; margin: 0; }
.search-field-top .phpld-form div.phpld-fbox-text { float: none; flex: 1 1 auto; padding: 0; margin: 0; }
.search-field-top .phpld-form div.phpld-fbox-text input,
.search-field-top .select2-container { width: 100% !important; }
.search-field-top .phpld-form div.phpld-fbox-button { float: none; margin: 0; padding: 0; }
.navbar { margin-bottom: 0; min-height: 0; }
@media (max-width: 767px) {
    .logo-top .container-logo { flex-wrap: wrap; padding: 8px 12px; min-height: 0; gap: 8px; }
    .logo-top .container-logo .logo-field img { max-height: 44px; }
    .logo-top .container-logo .search-field-top { flex: 1 1 100%; }
}

/* ===== Pie: enlaces en una sola línea (actualización 2) ===== */
#footer_top { padding: 0; }
#footer_top .container { margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 30px; padding: 14px 20px; }
#footer_top .footer_box { width: auto; float: none; margin: 0; }
#footer_top .footer_box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
#footer_top .footer_box ul li { margin: 0; display: inline-block; line-height: 1.6; font-size: 13px; white-space: nowrap; }
#footer_top .footer_box p:empty { display: none; }
@media (max-width: 767px) {
    #footer_top .container { flex-direction: column; align-items: flex-start; }
    #footer_top .footer_box, #footer_top .footer_box2 { margin-left: 0; width: 100%; }
}
