/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
nav.is_stuck{
	background: #fff;
}
.register-menu{
	background: var(--accent);
	border-radius: 4px;
	margin-left: 15px;
}
nav.is_stuck .register-menu{
	border-radius: 0px;
}
.register-menu a{
	color: #fff !important;
	font-size: 16px;
}
.home .register-menu{
}
.offcanvas-social-icons a svg{
	color: var(--accent) !important;
}

.hero-text {
  opacity: 0;
  transform: translateY(48px);
  animation: slideUpFade 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 1s forwards;
}
@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

ul.post-looper .gb-media-229ac1a0,
ul.post-looper img {
  height: 220px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
ul.post-looper .read-more{
	font-weight:bold;
	color: #CF9E3D;
}

.titulo-carrusel h2{
	color: var(--base-3);
    font-size: 48px;
    line-height: 48px;
    margin-top: 1rem;
    max-width: 1100px;
}
@media (max-width: 768px) {
  .titulo-carrusel h2{
    font-size: 32px;
    line-height: 34px;
  }
}

/* ===== HEADER EN 3 ZONAS - SOLUCIÓN DEFINITIVA ===== */

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

/* Logo izquierda */
.inside-header > .site-logo:not(.page-hero-logo) {
    position: relative;
    z-index: 2;
}

/* Menú centrado absolutamente */
.inside-header > #site-navigation {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    z-index: 1;
}

.inside-header > #site-navigation .inside-navigation {
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
}

/* Social icons derecha */
.inside-header > .social-icons-header {
    position: relative;
    z-index: 2;
    margin-left: auto !important;
}

.inside-header > .social-icons-header ul {
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== CTA CINEMATOGRÁFICO MOMENTO TRAVEL ===== */

.mt-cta-cinematic {
    position: relative;
    min-height: 520px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('https://momentotravel.es/wp-content/uploads/2026/04/pexels-el-gringo-photo-116752370-34649361_resultado.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
}

.mt-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,15,15,0.60) 0%, rgba(15,15,15,0.82) 100%);
    z-index: 1;
}

.mt-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 90px 24px;
    max-width: 780px;
    margin: 0 auto;
}

.mt-cta-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin: 0 0 20px;
    font-weight: 500;
}

.mt-cta-title {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 18px;
    letter-spacing: -0.3px;
}

.mt-cta-divider {
    width: 56px;
    height: 2px;
    background: #fff;
    margin: 24px auto;
    opacity: 0.85;
}

.mt-cta-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin: 0 auto 36px;
    font-weight: 400;
    max-width: 580px;
}

.mt-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.mt-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1px solid;
    border-radius: 2px;
    cursor: pointer;
    min-width: 200px;
}

.mt-cta-btn-primary {
    background: #fff;
    color: #0f0f0f !important;
    border-color: #fff;
}

.mt-cta-btn-primary:hover {
    background: #e0e0e0;
    border-color: #e0e0e0;
    color: #0f0f0f !important;
    transform: translateY(-2px);
}

.mt-cta-btn-secondary {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,0.35);
}

.mt-cta-btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
    color: #fff !important;
    transform: translateY(-2px);
}

.mt-cta-btn-secondary svg {
    flex-shrink: 0;
}

.mt-cta-social-proof {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .mt-cta-cinematic {
        min-height: 460px;
        background-attachment: scroll;
    }
    .mt-cta-content {
        padding: 64px 20px;
    }
    .mt-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .mt-cta-btn {
        min-width: 0;
        justify-content: center;
    }
    .mt-cta-social-proof {
        font-size: 10px;
        letter-spacing: 1.5px;
        line-height: 1.6;
    }
}

/* Header fijo */
.header-wrap {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

/* Lente oscuro al hacer scroll */
.header-wrap.is-scrolled {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}