@import url(variables.css);

/* Ponencias Press Room */

.ponencias-press-container {
    background-color: #fafafa;
    padding: 120px 0;
    padding-bottom: 20px;
    min-height: 660px;
}

.ponencias-press {
    max-width: 1500px;
    width: 100%;
    margin: auto;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    box-sizing: border-box;
}

.ponencias-press-post-header {
    display: flex;
    flex-direction: column;
    align-items: self-start;
    margin-bottom: 70px;
}

.ponencias-press-post-header h2 {
    color: #24135F;
    font-size: 64px;
    font-weight: 700;
    font-stretch: expanded;
    margin: 0;
    line-height: 65px;
    margin-top: 120px;
    margin-bottom: 40px;
}

.ponencias-press-post-header p {
    color: #24135F;
    font-size: 24px;
    font-weight: 300;
    line-height: 24px;
    padding-right: 500px;
    text-align: left;
    align-items: center;
}

.ponencias-press-post {
    display: flex;
    flex-direction: column;
}

.ponencias-press-image {
    height: 400px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    transition: all 300ms ease-in-out;
    border-radius: 10px;
}

.ponencias-recent{
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 30px;
}


.ponencias-recent a{
    display: flex;
    flex-direction: column;
}

.ponencias-recent span{
    font-size: 12px;
    color: #a4a4a4;
    text-align: left;
}

.ponencias-press-image{
    overflow: hidden;
}

.ponencias-press-image img {
    object-fit: cover;
    overflow: hidden;
    width: 390px;
    height: 430px;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.ponencias-press-image img:hover {
    transform: scale(1.1);
}

.ponencias-press-post > div {
    width: 510px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    box-sizing: border-box;
    margin-bottom: 120px;
}

.ponencias-press-post a {
    text-decoration: none;
}

.ponencias-press-post h3 {
    color: #24135F;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    margin-top: 120px;
}

.ponencias-description{
    color: #24135F;
    font-weight: bold;
    font-size: 20px;
}

.ponencias-press-post-header p {
    color: #24135F;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    margin-top: 10px;
    line-height: 28px;
}

.ponencias-press-post label {
    color: #24135F;
    padding-top: 5px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    transition: all 300ms ease-in-out;
}

.ponencias-press-post label:hover{
    color: #FBBA33;
}

.animate__animated {
    opacity: 0;
}

.ponencias-press-others-container {
    overflow: hidden;
    width: 100%;
    background: #fafafa;
    border-radius: 6px;
    padding: 10px;
    box-sizing: border-box;
}

.banner {
    position: relative;
    display: flex;
    max-width: 100%;
    max-height: 500px;
}

.banner img{
    width: 100%;
    object-fit: cover;
    object-position: 15% 70%;
    border-radius: 20px;
}

/*DESPLEGABLE DE FIS 2024*/

.ponencias-dropdown-list{
    list-style: none;
}

.ponencias-dropdown-list #news_link__ponencias{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 28px;
    border-radius: 6px;
    background-color: #24135F;
    color: white;
    padding: 20px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 400ms ease-in-out;
}

.ponencias-dropdown-item__list{
    position: relative;
    display: flex;
    opacity: 1;
    box-shadow: #00000011 0 4px 20px 0;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: 6px;
    transition: max-height 0.5s ease, opacity 0.3s ease, height 0.5s ease;
}

.dropdown-item__ponencias-list.open {
    max-height: 200rem; /* Ajusta el valor según el contenido */
    opacity: 1;
}

.dropdown-item__ponencias-list2.open {
    margin-top: 40px;
    max-height: 200rem; /* Ajusta el valor según el contenido */
    opacity: 1;
}


.ponencias-press-others-header {
    color: #000B1C;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    margin-bottom: 5px;
}

.ponencias-list-item{
    list-style: none;
}

.ponencias-list-item h2{
    width: 80%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    color: #24135F;
    font-weight: 700;
    font-size: 24px;
    transition: all 300ms ease-in-out;
    cursor: pointer;
}

.ponencias-dropdown-container__close {
    display: flex;
    width: 16px;
    opacity: 0.3;
    position: absolute;
    right: 48px;
    align-items: center;
    top: 65px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 1000ms ease-in-out;
}

.ponencias-dropdown-container__close2 {
    display: none;
    width: 30px;
    opacity: 0.3;
    position: absolute;
    right: 36px;
    align-items: center;
    top: 65px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 1000ms ease-in-out;
}

.ponencias-list-item a:hover{
    color: black;
}

.ponencias-press-others {
    display: flex;
    height: 50px;
    width: fit-content;
    margin: auto;
    animation: move 18s linear infinite;
}

.dropdown-item__ponencias-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 40px;
    padding-left: 0px;
    max-height: 0;
    opacity: 0;
    -webkit-transition: all .5s ease-in-out 0s;
    transition: all .5s ease-in-out 0s;
}

.dropdown-item__ponencias-list2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 40px;
    padding-left: 0px;
    max-height: 0;
    opacity: 0;
    -webkit-transition: all .5s ease-in-out 0s;
    transition: all .5s ease-in-out 0s;
}

.auditorium__list-item{
    display: flex;
    flex-direction: row;
    border-radius: 16px;
    width: 621px;
    height: 100%;
    gap: 32px;
    align-items: center;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.04);
    transition: all 500ms ease-in-out;
}

.list-item__info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: self-end;
    height: 100%;
}

.list-item__img {
    width: 100%;
    max-width: 245px;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
}

.list-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.text__title {
    text-transform: uppercase;
    width: 88%;
    font-size: 16px;
    margin-bottom: 56px !important;
}

.text__name {
    display: flex;
    align-items: center;
    margin-top: 0px !important;
    margin-bottom: 5px;
    justify-content: space-between;
    font-size: 14px;
    border-radius: 6px;
    color: #000B1C;
}

.text__company{
    font-weight: 300;
    opacity: 0.6;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.text__images {
    width: 100%;
    display: flex;
    flex-direction: column;
    
}

.text__images img {
    width: 45px;
}

.images__container {
    display: flex;
    flex-direction: row;
}

.images {
    width: 80%;
    display: flex;
    gap: 8px;
    flex-direction: row;
    align-items: start;
}

.info-button {
    width: 20%;
    display: flex;
    flex-direction: row;
    transition: all 500ms ease-in-out;
}

.info-button:hover {
    transform: scale(0.95);
}

.info-button img{
    width: 45px;
}

.info-button a {
    width: 100%;
    display: flex;
    padding-right: 10px;
    justify-content: end;
}

.view__more {
    display: flex;
    border: 1px solid #24135F;
    background-color: transparent;
    padding: 10px 15px;
    cursor: pointer;
    color: #24135F;
    margin: 10px auto;
    justify-self: center;
    border-radius: 10px;
    transition: all 400ms ease-in-out;
}

.view__more:hover {
    background-color: #24135F;
    color: white;
}


@keyframes move {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ponencias-press-others > a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    border-right: 1px solid #a4a4a4;
}

.ponencias-press-others > a > img:hover {
    transform: scale(1.05);
}

.ponencias-press-others > a > img {
    width: 100px;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

@media (max-width: 1500px) {
    .ponencias-press-post-header h2 {
        font-size: 58px;
    }

    .dropdown-item__ponencias-list {
        gap: 15px;
    }

    .dropdown-item__ponencias-list2 {
        gap: 15px;
    }
}

@media (max-width: 1440px) {
    .auditorium__list-item {
        width: 100%;
    }

    .list-item__info {
        width: 100%;
        height: 100%;
        justify-content: center;
    }

    .info-button {
        position: static;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .info-button a {
        width: auto;
    }  

    .info-button img {
        width: 45px;
    }

    .list-item__img {
        width: 70% !important;
        margin-top: 0px;
    }
    
    .text__title {
        margin-bottom: 15px !important;
        font-size: 30px;
    }

    .text__name {
        margin-top: 10px !important;
    }
}

@media (max-width: 1100px) {
    .ponencias-press-post > div {
        width: 50%;
        padding: 30px 0;
    }
}

@media (max-width: 770px) {
    .ponencias-press-post-header h2{
        margin-top: 60px;
    }

    .ponencias-press-post h3 {
        font-size: 40px;
        margin-top: 60px;
    }

    .ponencias-press-post > div {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .ponencias-press-post-header {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .ponencias-press-post-header p {
        text-align: left;
        line-height: 32px;
        padding-right: 0;
    }

    .ponencias-press-container {
        padding: 100px 0;
    }

    .ponencias-press {
        padding: 0 20px;
    }

    .banner img{
        height: 250px;
    }

    .ponencias-press-image img {
        object-fit: cover;
        height: 95%;
        border-radius: 10px;
    }

    .auditorium__list-item {
        gap: 0px;
        flex-direction: column;
    }

    .list-item__img {
        width: 100% !important;
        max-width: 100%;
    }

    .text__images {
        padding-top: 0px !important;
    }

    .info-text {
        gap: 0px;
    }

    .dropdown-item__ponencias-list.open {
        max-height: 400rem; /* Ajusta el valor según el contenido */
        opacity: 1;
    }
    
    .dropdown-item__ponencias-list2.open {
        margin-top: 40px;
        max-height: 400rem; /* Ajusta el valor según el contenido */
        opacity: 1;
    }

    .text__title {
        font-size: 28px;
    }
}

@media (max-width: 450px) {
    .ponencias-press-image {
        height: 380px;
    }

    .ponencias-press-image img {
        object-fit: contain;
        height: 95%;
        border-radius: 10px;
    }

    .ponencias-dropdown-item__list {
        padding: 0px !important; 
    }

    .text__title {
        font-size: 18px;
    }

    .info-button a {
        padding-right: 0px;
    }

    .view__more {
        padding: 10px 100px;
    }

    .menu-dropdown__container {
        padding: 0px;
    }

    .ponencias-list-item h2 {
        padding: 0px;
    }

    .ponencias-dropdown-container__close2 {
        right: 0px;
        top: 22px;
    }

    .ponencias-dropdown-container__close {
        right: 0px;
        top: 22px;
    }
}