@font-face {
    font-display: swap;
    font-family: Avantt-Heavy;
    src: url(../fonts/Avantt-Heavy.ttf) format("truetype")
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

h1, h2 {
    font-family: Avantt-Heavy;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

h1 {
    font-size: calc(1.375rem + 1.5vw);
}

h2 {
    font-size: calc(1.325rem + .25vw);
}
/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('/img/hero/clasico-real-madrid-barcelona.png');
    min-height: 60vh;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.25); /* oscurece un poco para mejorar el contraste */
        z-index: 1;
    }

    .hero .container {
        position: relative;
        z-index: 2;
    }

    .hero h1, .hero h2, .hero p {
        color: #fff;
    }

.logo-text {
    /* font-family: 'Cormorant Garamond'; /* O usa 'Cinzel', 'DM Serif Display', 'Cormorant Garamond' , 'Playfair Display' */
    font-family: Avantt-Heavy;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 1.8rem;
    color: #2c2c2c; /* Gris oscuro moderno */
    font-weight: 700;
    position: relative;
    display: inline-block;
}

    .logo-text::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 40%;
        height: 6px;
        background-color: rgba(var(--bs-primary-rgb));
        border-radius: 3px;
    }

/* Headers H1, H2, etc */
.hdr-1 {
    position: relative;
    font-family: Avantt-Heavy;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-weight: bold;
    display: inline-block;
    padding-left: 1em; /* espacio para el smbolo > */
    font-size: 2rem;
    color: black; /* color del texto */
}

    .hdr-1::before {
        content: ">"; /* o usa ">" si prefers, "" es ms esttico */
        position: absolute;
        left: 0;
        top: 0;
        color: rgba(var(--bs-primary-rgb)); /* color del smbolo y subrayado */
        font-weight: bold;
        font-size: 2rem;
    }

    .hdr-1::after {
        content: "";
        display: block;
        width: 100%;
        height: 6px; /* grosor del subrayado */
        background-color: rgba(var(--bs-primary-rgb)); /* mismo color que el smbolo */
        margin-top: 0.2em;
        border-radius: 3px
    }

/* Slider */
.swiper-slide .card .card-title, .swiper-slide .card h3.card-title {
    font-size: var(--fs-s);
    min-height: 50px
}

.swiper-slide .card img.card-img-top {
    height: 250px;
    object-fit: cover;
    border-bottom: 5px solid #1ad7f2
}

.swiper-slide .card .card-body, .swiper-slide .card .card-footer {
    background-color: white
}

@media (max-width:991px) {
    .swiper-slide .card img.card-img-top {
        height: 200px
    }
}

/* Position swiper controls outside of the tour card */
.swiper {
    position: relative;
    overflow: hidden;
}

.swiper-wrapper-container .swiper-wrapper {
    display: flex;
}

.swiper-wrapper-container .swiper-slide {
    display: flex;
    height: auto; /* Asegura que el slide se adapte */
}

.swiper-wrapper-container .card {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%
}

.swiper-wrapper-container .swiper-pagination {
    position: static;
    margin-top: 1rem;
    text-align: center;
}

.swiper-wrapper-container .swiper-button-prev,
.swiper-wrapper-container .swiper-button-next {
    top: 50%;
    width: 2rem;
    height: 2rem;
    color: var(--bs-primary);
    margin-top: 0; /* reset default */
}

.swiper-wrapper-container .swiper-button-prev {
    left: 0;
    transform: translate(-150%, -50%);
}

.swiper-wrapper-container .swiper-button-next {
    right: 0;
    transform: translate(150%, -50%);
}

/* Utility to clamp text to 3 lines */
.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Ensure long search results wrap within dropdown */
#search-results.dropdown-menu > a.dropdown-item {
    white-space: normal;
    overflow-wrap: anywhere
}
@media (max-width:991px) {
    #home-search {
        margin-top: .5rem
    }
}
@media (min-width:1200px) {
    #home-search {
        min-width: 250px
    }
}
@media (min-width:1400px) {
    #home-search {
        min-width: 350px
    }

    #search-results.dropdown-menu {
        min-width: 550px
    }
}
