﻿/**************************
    FUENTE
**************************/
@font-face {
    font-family: 'Lato';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/lato-300.woff2') format('woff2')
}

@font-face {
    font-family: 'Lato';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/lato-400.woff2') format('woff2')
}

@font-face {
    font-family: 'Lato';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/lato-700.woff2') format('woff2')
}

@font-face {
    font-family: 'Lato';
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/lato-900.woff2') format('woff2')
}

/**************************
    ESTILOS GENERALES
**************************/
:root {
    --primary-color: #FFAB00;
    --color-accent: #FF4100;
    --font-primary: 'Lato','Sans Serif Collection';
}

body {
    color: white;
    background-color: black;
    font-family: var(--font-primary);
    font-weight: 200;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    overflow: hidden;
}

h1,h2 {
    line-height: 100%;
    font-weight: 700;
    font-size: 36px;
    margin:0;
}

.btn-primary {
    display: flex;
    width: fit-content;
    min-width: 140px;
    padding: 15px 30px;
    border-radius: 50px;
    background-color: var(--primary-color);
    align-items: center;
    margin: 0 auto;
    justify-content: center;
    box-sizing: border-box;
}

.o-section__title {
    text-align: center;
    padding-bottom:30px;
}

.btn-primary__text {
    color: #ffffff;
    height: fit-content;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5%;
}

.o-container {
    max-width: 1250px;
    padding: 0 15px;
    margin: 0 auto;
}

.u-color-black {
    color: #000000;
}

.u-color-white {
    color: #FFF;
}

.u-pb-40{
    padding-bottom: clamp(40px, 10vw, 80px);
}
.u-pt-40{
    padding-top: clamp(40px, 10vw, 80px);
}

.sr-only {
    display: none;
}

/**************************
    HEADER
**************************/
.c-header__options > * {
    margin-left: 15px;
}

.c-header__options .idioma {
    grid-column: 3;
    justify-content: end;
    margin-right: 20px;
}

.topbar__links {
    display:none;
}

/**************************
    PERFIL
**************************/
.c-card-buy__options__type {
    font-weight: 300;
    font-size: 1.125rem;
    letter-spacing: 0.02813rem;
    text-align: center;
    line-height: 1;
    margin-bottom: 4px;
    color: black;
}

.c-card-buy__options__date {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color:black;
}
/**************************
    MAGAZINE
**************************/
/*MAGAZINE - HOME(top)*/
.o-section-magazine__body .c-card-article__title {
    max-width: 80%;
}

/**************************
    PONENTES
**************************/
/*PONENTES - GENERAL*/
.o-section-ponentes h2 > span {
    font-style: italic;
    font-size: 60px;
    color: var(--color-accent) !important;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 100%;
    display: block;
}

    .o-section-ponentes h2 > span > span {
        color: var(--primary-color) !important;
    }

.o-section-ponentes ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.o-section-ponentes h3 {
    font-weight: 900;
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 20px;
}

.o-section-ponentes ul .position {
    font-weight: 400;
    font-size: 18px;
}

.o-section-ponentes ul .subtitle {
    font-weight: 300;
    font-size: 16px;
    margin-top: 15px;
}

.o-section-ponentes ul li {
    display: flex;
    flex-direction: column;
    text-align: center;
    /*cursor:pointer;*/
    position:relative;
}

.o-section-ponentes .ponente__link{
    display:none;
}

/*.o-section-ponentes ul li:hover .ponente__link {
    display: block;
    padding: 15px 30px;
    background-color: #00000085;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    position: absolute;
    color: white;
    font-weight: 700;
    letter-spacing: 2.5%;
    align-self: center;
    top:60%;
}*/
/*.o-section-ponentes ul li:hover img {
    filter: grayscale(1);
}*/

/*PONENTES - HOME(top)*/
.o-section-ponentes__top ul li {
    max-width: 400px;
    width: calc((100% - 30px) / 2);
}

    .o-section-ponentes__top ul li img {
        width: 100%;
        height: auto;
    }

    .o-section-ponentes__top ul li h3 {
        font-size: 24px;
        line-height: 1.15;
        margin-top: 10px;
    }

    .o-section-ponentes__top ul li .position {
        line-height: 1.3;
        color: #fff;
    }

    .o-section-ponentes__top ul li .subtitle {
        color: #9c9c9c;
        margin-top: 15px;
    }

    .o-section-ponentes__top ul li:hover .ponente__link {
        top: 60%;
    }

/*PONENTES - INDEX*/
.o-section-ponentes__body ul li {
    width:250px;
}

    .o-section-ponentes__body ul li img {
        border-radius: 30px;
        height: 250px;
        object-fit: cover;
    }

.o-section-ponentes ul li:hover .ponente__link {
    top: 40%;
}

/**************************
    MEDIA QUERIES
**************************/
@media(min-width: 480px) {
    /*PONENTES*/
    .o-section-ponentes__top ul li {
        width: calc((100% - 200px) / 3);
    }
}

@media(min-width:768px){
    /*HEADER*/
    .topbar__links {
        display: flex;
        gap: 15px;
        white-space: nowrap;
        grid-column: 2;
    }

    .c-header__options .idioma {
        margin-right: 0px;
    }

    /*GENERAL*/
    .o-section__title {
        font-size: 50px;
        padding-bottom:50px;
    }

    /*PONENTES*/
    .o-section-ponentes h2 > span {
        font-size: 80px;
    }
}

@media(min-width:991px){
    /*GENERAL*/
    .o-section__title {
        font-size: 70px;
        padding-bottom: 70px;
    }

    /*PONENTES*/
    .o-section-ponentes h2 > span {
        font-size: 105px;
    }

    /*MAGAZINE*/
    .bg-section__magazine {
        background-image: url(/Content/2027/img/bg/bg-news2027.png);
        background-size: 31%;
        background-repeat: no-repeat;
        background-position: left center;
    }
}

@media(min-width: 1450px) {
    /*PONENTES*/
    .o-section-ponentes__top {
        justify-items: center;
        background-image: url('/Content/2027/img/bg/bg-ponentes2027.png');
        background-size: 600px;
        background-repeat: no-repeat;
        background-position: right -20px;
    }
        .o-section-ponentes__top ul li {
            width: calc((100% - 60px) / 3);
        }

        .o-section-ponentes h3 {
            font-size: 25px;
        }

        .o-section-ponentes ul .position {
            font-size: 20px;
        }

        .o-section-ponentes ul .subtitle {
            font-size: 20px;
        }
}