@charset "UTF-8";
/* UMG - umg-base.css - generado desde umg-custom.css (17-11-2026). Orden original conservado. */

/* UMG - CSS global (antes en Personalizar > CSS adicional). Movido el 21-10-2026. */
/* =========================
   HOMEPAGE TYPOGRAPHY
========================= */

body.home {
  font-size: 16px;
  line-height: 1.6;
}

body.home h1 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 12px;
}

body.home h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 30px 0 12px;
}

body.home h3 {
  font-size: 21px;
  margin: 22px 0 10px;
}

body.home h4 {
  font-size: 18px;
  margin: 18px 0 8px;
}

body.home p {
  margin-bottom: 12px;
}

/* =========================
   FIX OVERFLOW (CRÍTICO)
========================= */

#right-sidebar,
#right-sidebar .inside-right-sidebar,
#right-sidebar .widget,
#right-sidebar .widget-area,
#left-sidebar,
#left-sidebar .inside-left-sidebar,
.sidebar,
.widget,
.widget-area,
.textwidget,
.site-content,
.separate-containers .inside-article {
  overflow: visible !important;
}

/* =========================
   STICKY REAL (WIDGET)
========================= */

#right-sidebar .widget:last-child {
  position: sticky;
  top: 24px;
}

/* =========================
   PORTAL MENU
========================= */

.umg-portal-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  position: relative;
  z-index: 30;
}

.umg-portal-menu__item {
  position: relative;
  width: 100%;
}

.umg-portal-menu__main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: #b5122b;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.umg-portal-menu__item:hover .umg-portal-menu__main {
  background: #8f0e23;
  transform: translateY(-1px);
}

.umg-portal-menu__arrow {
  font-size: 18px;
  margin-left: 10px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

/* =========================
   SUBMENÚ LATERAL (DERECHA)
========================= */

.umg-portal-menu__submenu {
  position: absolute;
  top: 0;
  left: 100%;
  padding-left: 12px; 
  min-width: 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  z-index: 9999;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

/* Puente invisible para mantener el hover */
.umg-portal-menu__submenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0; 
  width: 25px; 
  height: 100%;
  margin-left: -20px;
}

/* Apertura */
.umg-portal-menu__item:hover .umg-portal-menu__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.umg-portal-menu__item:hover .umg-portal-menu__arrow {
  transform: rotate(90deg);
}

/* LINKS - COLOR ORO SÓLIDO SIEMPRE */
.umg-portal-menu__submenu a {
  display: block;
  padding: 12px 16px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  background: #c9a13b !important; /* Oro sólido */
}

.umg-portal-menu__submenu a:first-child {
  border-radius: 10px 10px 0 0;
}

.umg-portal-menu__submenu a:last-child {
  border-bottom: none;
  border-radius: 0 0 10px 10px;
}

/* HOVER DE LOS LINKS - SE OSCURECE UN POCO SIN TRANSPARENCIA */
.umg-portal-menu__submenu a:hover {
  background: #b08d32 !important; /* Un oro un poco más oscuro, pero sólido */
}

/* =========================
   MOBILE / TABLET
========================= */

@media (max-width: 1024px) {

/* =========================
   MOBILE / TABLET
========================= */
#right-sidebar .widget:last-child {
    position: static;
  }

.umg-portal-menu__submenu {
    position: static;
    left: auto;
    top: auto;
    min-width: 100%;
    max-width: 100%;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
    padding-left: 0;
  }

.umg-portal-menu__submenu::before {
    display: none;
  }

.umg-portal-menu__item:hover .umg-portal-menu__submenu {
    display: block;
  }

}

body,
.site,
.site-content,
.content-area,
.generate-sections-container,
.inside-article,
.entry-content {
  background: #ffffff !important;
}

/* Ajuste para saltos de anclaje */
#transport, #tapas, #small-group, #driving, 
#religious, #viewpoints, #cultural, #hikes, 
#itinerary, #where, #how-to, #faq {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   HEADER BRAND COLOR
========================= */

.site-branding .main-title,
.site-branding .main-title a,
.site-title,
.site-title a {
  color: #b5122b !important;
}

.site-description {
  color: #b5122b !important;
}

/* Menú superior: mantener limpio, con hover rojo */
.main-navigation .main-nav ul li a {
  color: #111827 !important;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
  color: #b5122b !important;
}

/* =========================
   HEADER MENU COLOR
========================= */

.site-header a,
.main-navigation a,
.main-navigation .main-nav ul li a,
.wp-block-navigation a,
.wp-block-navigation-item__content {
  color: #b5122b !important;
}

.site-header a:hover,
.main-navigation a:hover,
.wp-block-navigation a:hover,
.wp-block-navigation-item__content:hover {
  color: #8f0e23 !important;
}

/* =========================================================
   UMG Pope News Bar - Mobile auto-hide animation
   ========================================================= */

@media (max-width: 1024px) {

/* =========================================================
   UMG Pope News Bar - Mobile auto-hide animation
   ========================================================= */
.umg-pope-news-bar {
    animation: umgPopeBarAutoHide 10s forwards;
  }

@keyframes umgPopeBarAutoHide {
    0% {
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
    }

    85% {
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
    }

    100% {
      opacity: 0;
      transform: translateY(110%);
      visibility: hidden;
      pointer-events: none;
    }
  }

}

/* =========================================================
   UMG HEADER MOUNTAIN SILHOUETTE - MOBILE MICRO ADJUSTMENTS
   Only moves the white mountain shape, not the rest of the header
   ========================================================= */

/* Mobile vertical: raise mountain silhouette slightly */
@media (max-width: 767px) and (orientation: portrait) {

/* =========================================================
   UMG HEADER MOUNTAIN SILHOUETTE - MOBILE MICRO ADJUSTMENTS
   Only moves the white mountain shape, not the rest of the header
   ========================================================= */
/* Mobile vertical: raise mountain silhouette slightly */
.umg-home-mountain-hero::after {
    transform: translateY(-7px) !important;
  }

}

/* Mobile horizontal: lower mountain silhouette slightly */
@media (max-width: 1024px) and (orientation: landscape) {

/* Mobile horizontal: lower mountain silhouette slightly */
.umg-home-mountain-hero::after {
    transform: translateY(8px) !important;
  }

}

/* =========================================================
   UMG - MOVE PORTAL MENU ABOVE CONTENT ON MOBILE PORTRAIT
   ========================================================= */
@media (max-width: 900px) and (orientation: portrait) {

/* =========================================================
   UMG - MOVE PORTAL MENU ABOVE CONTENT ON MOBILE PORTRAIT
   ========================================================= */
.site-content {
    display: flex !important;
    flex-direction: column !important;
  }

#right-sidebar,
  #left-sidebar {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding-bottom: 0 !important;
  }

#right-sidebar .inside-right-sidebar,
  #left-sidebar .inside-left-sidebar {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

#right-sidebar .widget,
  #left-sidebar .widget {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

.content-area {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

.site-main,
  .inside-article,
  .entry-content {
    margin-top: 0 !important;
  }

.umg-portal-menu {
    max-width: 100% !important;
    width: 100% !important;
  }

/* Vertical: sin sticky */
  .widget-area {
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

}

/* =========================================================
   DESKTOP — sticky
   ========================================================= */
@media (min-width: 901px) {

/* =========================================================
   DESKTOP — sticky
   ========================================================= */
.widget-area {
    position: sticky;
    top: -30px; /* ajusta según te quedó antes */
    align-self: flex-start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }

}

/* Quitar autor y fecha del post */
.entry-meta {
  display: none;
}

/* Quitar comentarios */
#comments {
  display: none;
}

/* =========================================================
   UMG FOOTER FINAL - CLEAN WHITE VERSION
   ========================================================= */

.site-footer,
.site-info {
  background: #ffffff !important;
}

/* Full-width footer line */
.site-info {
  width: 100%;
  border-top: 1px solid #ead4da;
  padding: 22px 20px;
  box-sizing: border-box;
  color: #5f1f2b;
  font-size: 14px;
}

/* Center footer content */
.site-info .inside-site-info {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Footer links */
.site-info a {
  color: #a7072f !important;
  font-weight: 600;
  text-decoration: none;
}

.site-info a:hover {
  text-decoration: underline;
}

/* Mobile footer */
@media (max-width: 768px) {

/* Mobile footer */
.site-info {
    padding: 20px 16px;
  }

.site-info .inside-site-info {
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.6;
  }

}

/* =========================================================
   UMG FOOTER - DEFINITIVE CLEAN VERSION
   White background + one full-width top line only
   ========================================================= */

/* Footer full white background */
.site-footer,
.site-info {
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Main footer: only one full-width top border */
.site-info {
  width: 100% !important;
  padding: 22px 20px !important;
  box-sizing: border-box !important;
  border-top: 1px solid #ead4da !important;
  border-bottom: 0 !important;
  color: #5f1f2b !important;
  font-size: 14px !important;
  text-align: center !important;
}

/* Remove every internal line inside the footer */
.site-info *,
.site-info .grid-container,
.site-info .inside-site-info,
.site-info .footer-bar,
.site-info .copyright-bar,
.footer-bar,
.copyright-bar {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}

/* Remove internal pseudo-lines generated by theme/custom CSS */
.site-info *::before,
.site-info *::after,
.site-footer *::before,
.site-footer *::after {
  border: 0 !important;
  box-shadow: none !important;
}

/* Center the footer content */
.site-info .inside-site-info {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Prevent GeneratePress footer bar from aligning right */
.footer-bar {
  float: none !important;
  margin: 0 !important;
}

/* Footer links */
.site-info a {
  color: #a7072f !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.site-info a:hover {
  text-decoration: underline !important;
}

/* Mobile footer */
@media (max-width: 768px) {

/* Mobile footer */
.site-info {
    padding: 20px 16px !important;
  }

.site-info .inside-site-info {
    flex-wrap: wrap !important;
    gap: 6px !important;
    line-height: 1.6 !important;
  }

}

/* UMG footer responsive refinement */
@media (max-width: 900px) {

/* UMG footer responsive refinement */
.site-info .inside-site-info {
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    line-height: 1.6 !important;
  }

.site-info {
    font-size: 13.5px !important;
  }

}

@media (max-width: 480px) {

.site-info {
    padding: 18px 14px !important;
    font-size: 13px !important;
  }

.site-info .inside-site-info {
    display: block !important;
    line-height: 1.8 !important;
  }

.site-info a {
    display: inline-block !important;
    margin: 0 4px !important;
  }

}

/* =========================================================
   UMG UPPER FOOTER WIDGET 1 - FIXED VERSION
   Full width, responsive, no broken columns
   ========================================================= */

.footer-widgets {
  background: #ffffff !important;
  border-top: 1px solid #ead4da !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Force the widget area to use full width */
.footer-widgets .inside-footer-widgets {
  max-width: 1180px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 34px 20px 30px !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Remove GeneratePress widget column behaviour */
.footer-widgets .footer-widget-1,
.footer-widgets .footer-widget-2,
.footer-widgets .footer-widget-3,
.footer-widgets .footer-widget-4,
.footer-widgets .footer-widget-5,
.footer-widgets .widget {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide widget title if GeneratePress outputs one */
.footer-widgets .widget-title {
  display: none !important;
}

/* Main footer block */
.umg-upper-footer {
  width: 100% !important;
  max-width: 100% !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Desktop layout */
.umg-upper-footer__inner {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr) !important;
  gap: 48px !important;
  align-items: start !important;
}

/* Brand column */
.umg-upper-footer__brand {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
  min-width: 0 !important;
}

.umg-upper-footer__logo {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 12px !important;
}

.umg-upper-footer__eyebrow {
  margin: 0 0 6px !important;
  color: #a7072f !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.umg-upper-footer__title {
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 22px !important;
  line-height: 1.16 !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
}

.umg-upper-footer__text {
  max-width: 660px !important;
  margin: 0 0 9px !important;
  color: #3f4652 !important;
  font-size: 14.5px !important;
  line-height: 1.62 !important;
}

.umg-upper-footer__note {
  margin: 0 !important;
  color: #6b7280 !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}

/* Links column */
.umg-upper-footer__links {
  min-width: 0 !important;
}

.umg-upper-footer__links h3 {
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
}

.umg-upper-footer__links nav {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.umg-upper-footer__links a {
  color: #a7072f !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  width: fit-content !important;
}

.umg-upper-footer__links a:hover {
  color: #7f0524 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Tablet */
@media (max-width: 900px) {

/* Tablet */
.footer-widgets .inside-footer-widgets {
    padding: 30px 18px 28px !important;
  }

.umg-upper-footer__inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

.umg-upper-footer__links nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px 18px !important;
  }

}

/* Mobile vertical */
@media (max-width: 560px) {

/* Mobile vertical */
.footer-widgets .inside-footer-widgets {
    padding: 28px 16px 26px !important;
  }

.umg-upper-footer__brand {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    text-align: center !important;
    justify-items: center !important;
  }

.umg-upper-footer__logo {
    width: 48px !important;
    height: 48px !important;
  }

.umg-upper-footer__title {
    font-size: 20px !important;
  }

.umg-upper-footer__text {
    font-size: 14px !important;
    line-height: 1.58 !important;
  }

.umg-upper-footer__note {
    font-size: 13px !important;
  }

.umg-upper-footer__links {
    text-align: center !important;
  }

.umg-upper-footer__links nav {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    justify-items: center !important;
  }

.umg-upper-footer__links a {
    font-size: 13.5px !important;
  }

}

/* Mobile horizontal */
@media (max-width: 900px) and (orientation: landscape) {

/* Mobile horizontal */
.umg-upper-footer__brand {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    text-align: left !important;
    justify-items: start !important;
  }

.umg-upper-footer__logo {
    width: 48px !important;
    height: 48px !important;
  }

.umg-upper-footer__links nav {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

}

/* =========================================================
   UMG FOOTER BAR + STICKY CTA OVERLAP FIX
   Desktop laptop + mobile vertical
   ========================================================= */

/* Desktop / laptop: move legal footer content slightly left
   so it does not compete with the sticky ticket button */
@media (min-width: 1025px) {

/* =========================================================
   UMG FOOTER BAR + STICKY CTA OVERLAP FIX
   Desktop laptop + mobile vertical
   ========================================================= */
/* Desktop / laptop: move legal footer content slightly left
   so it does not compete with the sticky ticket button */
.site-info .inside-site-info {
    max-width: 1180px !important;
    padding-right: 300px !important;
    padding-left: 20px !important;
    box-sizing: border-box !important;
  }

}

/* Medium laptops: slightly less right reserve */
@media (min-width: 1025px) and (max-width: 1366px) {

/* Medium laptops: slightly less right reserve */
.site-info .inside-site-info {
    padding-right: 360px !important;
  }

}

/* Keep the legal footer readable and wrapped if needed */
.site-info .inside-site-info {
  flex-wrap: wrap !important;
  row-gap: 8px !important;
}

/* Mobile vertical: give space below the legal footer
   so the sticky CTA does not cover Affiliate Disclosure */
@media (max-width: 560px) and (orientation: portrait) {

/* Mobile vertical: give space below the legal footer
   so the sticky CTA does not cover Affiliate Disclosure */
.site-info {
    padding-bottom: 86px !important;
  }

.site-info .inside-site-info {
    max-width: 330px !important;
    margin: 0 auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

.site-info .footer-bar,
  .site-info .footer-bar .menu,
  .site-info .footer-bar ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px 12px !important;
    line-height: 1.7 !important;
  }

.site-info .footer-bar li {
    margin: 0 !important;
  }

.site-info .footer-bar li::after {
    display: none !important;
    content: none !important;
  }

.site-info a {
    font-size: 13px !important;
  }

}

/* Mobile horizontal: keep normal behaviour, no extra bottom gap */
@media (max-width: 900px) and (orientation: landscape) {

/* Mobile horizontal: keep normal behaviour, no extra bottom gap */
.site-info {
    padding-bottom: 22px !important;
  }

.site-info .inside-site-info {
    padding-right: 0 !important;
  }

}

/* =========================================================
   UMG RELATED GUIDES
   ========================================================= */

.umg-related-guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 30px;
}

.umg-related-guides a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 15px 13px;
  border-radius: 14px;
  border: 1px solid #e8d9dc;
  border-left: 3px solid #a7072f;
  background: #fff;
  color: #101828 !important;
  text-decoration: none !important;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.umg-related-guides a:hover {
  background: #fdf5f6;
  border-color: #c9a0aa;
  border-left-color: #a7072f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(167,7,47,0.08);
}

.umg-related-guides strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #101828;
  line-height: 1.3;
  margin-bottom: 3px;
}

.umg-related-guides span {
  display: block;
  font-size: 0.76rem;
  line-height: 1.42;
  color: #667085;
}

.umg-related-guides a::after {
  content: '→';
  display: block;
  font-size: 11px;
  color: #a7072f;
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.15s;
}

.umg-related-guides a:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {

.umg-related-guides {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

}

@media (max-width: 480px) {

.umg-related-guides {
    grid-template-columns: 1fr;
  }

}

/* ═══════════════════════════════════════════════════════════
   UMG · FIX — la tarjeta hub se veía a través del submenú
   PEGA ESTO AL FINAL DE:  Apariencia → Personalizar → CSS adicional
   Una sola vez. No hay que tocar ninguna página.
   ═══════════════════════════════════════════════════════════ */

/* 1 · El menú entero pasa por delante del contenido */
.umg-portal-menu {
  position: relative;
  z-index: 500;
}

/* 3 · El panel del submenú, opaco de verdad */
.umg-portal-menu__submenu {
  background: #ffffff;
}

/* El menu lateral y sus submenus, por encima del mapa Leaflet */
@media (min-width: 600px) {

/* El menu lateral y sus submenus, por encima del mapa Leaflet */
.widget-area { z-index: 20; }

}

/* El mapa se encierra en su propia capa: sus z-index internos
   dejan de competir con el menu lateral */
.umg-trailmap__mapwrap { isolation: isolate; }

.rank-math-question{font-weight:800}

/* Evita el salto del contenido mientras llega el menú lateral (ordenador) */
@media (min-width: 769px) {

/* Evita el salto del contenido mientras llega el menú lateral (ordenador) */
.left-sidebar .site-content{flex-direction:row-reverse}

.left-sidebar .site-content .is-left-sidebar{order:0}

}

/* Menú lateral recogido arriba en pantallas de menos de 1024 px, sin salto del contenido */
@media (max-width: 1023px) {

/* Menú lateral recogido arriba en pantallas de menos de 1024 px, sin salto del contenido */
.left-sidebar .site-content {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding-top: 80px !important;
  }

.left-sidebar .site-content > #left-sidebar {
    position: absolute !important;
    top: 18px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 60 !important;
  }

.left-sidebar #left-sidebar .inside-left-sidebar { margin: 0 !important; }

.left-sidebar #left-sidebar .widget { margin: 0 !important; padding: 0 !important; background: transparent !important; }

.left-sidebar .site-content > .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

.left-sidebar .site-content > .content-area > .site-main { margin-top: 0 !important; }

}

/* Portada en móvil vertical: el contenido sube 35 px bajo la franja blanca del hero; la barra baja lo mismo */
@media (max-width: 640px) and (orientation: portrait) {

/* Portada en móvil vertical: el contenido sube 35 px bajo la franja blanca del hero; la barra baja lo mismo */
body.home.left-sidebar .site-content { padding-top: 115px !important; }

body.home.left-sidebar .site-content > #left-sidebar { top: 53px !important; }

}

/* Botones Aceptar y Rechazar: rojo corporativo */
.cky-btn-accept,
.cky-btn-reject,
.cky-btn-preferences {
  background-color: #B5122B !important;
  border-color: #B5122B !important;
  color: #FFFFFF !important;
}

/* Botón Personalizar: blanco con borde rojo */
.cky-btn-customize {
  background-color: transparent !important;
  border-color: #B5122B !important;
  color: #B5122B !important;
}

/* Icono flotante para reabrir el banner */
.cky-btn-revisit-wrapper {
  background-color: #B5122B !important;
}

/* Enlaces e interruptores del panel de preferencias */
.cky-consent-container a,
.cky-preference-center a,
.cky-show-desc-btn {
  color: #B5122B !important;
}

.cky-switch input[type="checkbox"]:checked {
  background: #B5122B !important;
}

/* Texto oculto de los puntos de /montserrat-map/: lo añade el snippet umg_texto_oculto_hotspots
   para que tengan texto de anclaje en el HTML sin que se vea en el mapa */
.umg-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Breadcrumb visible (nov 2026) === */
.rank-math-breadcrumb { font-size: 14px; line-height: 1.5; color: #777; margin-bottom: 12px; }

.rank-math-breadcrumb p { margin: 0; }

.rank-math-breadcrumb a { color: #777; text-decoration: none; display: inline-block; padding: 4px 0; }

.rank-math-breadcrumb a:hover { text-decoration: underline; }

.rank-math-breadcrumb .last { color: #333; }

@media (max-width: 768px) {

.rank-math-breadcrumb { font-size: 13px; margin-bottom: 8px; }

.rank-math-breadcrumb p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

}

/* ===== UMG book card (compact, 2nd edition) ===== */
.umg-bookcard{--umg-red:#B31025;display:flex;align-items:center;gap:16px;max-width:640px;margin:1.6em 0;padding:14px 16px;background:#faf6f5;border:1px solid #ebe3e0;border-left:4px solid var(--umg-red);border-radius:10px;color:#1b1d22;line-height:1.35}

.umg-bookcard__cover-link{flex:0 0 92px;line-height:0}

.umg-bookcard__cover{width:92px;height:auto;display:block;border-radius:2px 5px 5px 2px;box-shadow:0 6px 14px rgba(0,0,0,.25)}

.umg-bookcard__body{flex:1;min-width:0}

.umg-bookcard__eyebrow{display:block;color:var(--umg-red);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 3px}

.umg-bookcard__title{margin:0 0 4px;font-size:1.12em;font-weight:700;line-height:1.25}

.umg-bookcard__meta{margin:0 0 10px;font-size:.85em;color:#5f646d}

.umg-bookcard__actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 6px}

.umg-bookcard__btn{display:inline-block;padding:8px 16px;border-radius:6px;background:var(--umg-red);color:#fff !important;font-weight:700;font-size:.9em;text-decoration:none;line-height:1.2}

.umg-bookcard__btn:hover{background:#8f0c1d}

.umg-bookcard__es,.umg-bookcard__free{font-size:.85em;font-weight:600;color:var(--umg-red);text-decoration:none}

.umg-bookcard__es:hover,.umg-bookcard__free:hover{text-decoration:underline}

.umg-bookcard__free{color:#5f646d;font-weight:500}

@media (max-width:480px) {

.umg-bookcard{gap:12px;padding:12px}

.umg-bookcard__cover-link{flex-basis:72px}

.umg-bookcard__cover{width:72px}

.umg-bookcard__title{font-size:1em}

.umg-bookcard__meta{font-size:.8em;margin-bottom:8px}

.umg-bookcard__btn{padding:7px 12px;font-size:.85em}
}
/* ===== .umg-car-card — DiscoverCars ===== */
.umg-car-card{display:flex;align-items:center;gap:16px;margin:24px 0;padding:16px 18px;background:#faf7f2;border:1px solid #eadfe1;border-left:4px solid #c9a13b;border-radius:16px;box-shadow:0 4px 14px rgba(43,27,31,.06);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.umg-car-card__body{flex:1 1 auto;min-width:0}
.umg-car-card__kicker{display:inline-block;margin-bottom:4px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9b6f22}
.umg-car-card__title{margin:0 0 4px!important;font-size:17px;font-weight:900;line-height:1.25;color:#2b1b1f}
.umg-car-card__text{margin:0!important;font-size:14px;line-height:1.45;color:#4b5563}
.umg-car-card__actions{flex:0 0 auto;max-width:270px;display:flex;flex-direction:column;align-items:flex-end;gap:7px;text-align:right}
.umg-car-card__btn{display:inline-block;padding:11px 18px;border-radius:999px;background:#a7072f;color:#fff!important;font-size:14px;font-weight:800;text-decoration:none!important;white-space:nowrap;transition:background .2s}
.umg-car-card__btn:hover{background:#8a0526}
.umg-car-card__alt{font-size:12.5px;font-weight:700;line-height:1.35;color:#a7072f!important;text-decoration:underline;text-underline-offset:2px}
.umg-car-card__powered{font-size:11px;font-weight:600;color:#4b5563;letter-spacing:.02em}
.umg-car-card--compact{padding:12px 16px}
.umg-car-card--compact .umg-car-card__title{font-size:15px;margin:0!important}
@media(max-width:640px){
.umg-car-card{flex-direction:column;align-items:stretch;gap:12px}
.umg-car-card__actions{max-width:none;align-items:stretch;text-align:center}
.umg-car-card__btn{text-align:center;white-space:normal}
}
