 /* --------------------------------------- */
.blogs-section {
    position: relative;
    padding: 60px 40px 40px;
    overflow: hidden;
    background: url("../recursos-multimedia/eventos/blogs-background.webp")
        center center / cover no-repeat;
}

.blogs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    z-index: 1;
}

.blogs-section .container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 0 auto;
}

.blogs-title {
    color: var(--color-principal);
    margin-bottom: 25px;
}

.blogs-slider {
    overflow: hidden;
    width: 100%;
}

.blogs-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding-top: 5px;
}

.blog-card {
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
    background: rgba(255,255,255,0.72);
    border: 2px solid var(--color-principal);
    border-radius: 14px;
    padding: 22px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
    transition: 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-content h4 {
    color: var(--color-principal);
    margin-bottom: 2px;
}

.blog-date {
    color: var(--color-principal);
    display: block;
    margin-bottom: 6px;
}

.blog-line {
    width: 80px;
    height: 4px;
    background: var(--color-secundario);
    border-radius: 10px;
    margin-bottom: 18px;
}

.blog-content p {
    color: var(--color-principal);
    line-height: 1.25;
}

.blogs-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.blog-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
}

.blog-dot.active {
    background: var(--color-secundario);
}

@media (max-width: 1024px) {
    .blog-card {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .blogs-section {
        padding: 40px 20px;
    }

    .blog-card {
        padding: 20px;
    }

    .blog-content p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .blogs-title {
        text-align: center;
    }

    .blog-card {
        padding: 18px;
    }
}


/* ------------------------------------ */ 
.podcast-section {
    width: 100%;
    overflow: hidden;
    /*background: var(--color-principal);*/
}

.podcast-hero {
    position: relative;
    width: 100%;
    padding: 60px 40px 0px;
    background: url("../recursos-multimedia/eventos/podcast-background.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.podcast-hero-2 {
    position: relative;
    width: 100%;
    padding: 70px 40px;
    margin-top: -100px;
    background: var(--color-quinto);
}

.podcast-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 79, 140, 0.82);
}

.podcast-container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 0 auto;
}

.podcast-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.podcast-info {
    max-width: 625px;
}

.podcast-info h3 {
    color: var(--color-terciario);
    line-height: 1.05;
    margin-bottom: 35px;
}

.podcast-platforms {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 12px;
    color: var(--color-terciario);
    text-decoration: none;
    transition: 0.3s ease;
}

.platform-btn:hover {
    background: var(--color-quinto-hover);
}

.platform-btn img {
    width: auto;
    display: block;
}

.podcast-player-card {
    position: relative;
    margin: 40px auto 0;
    background: var(--color-terciario);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    max-width: 1000px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.podcast-cover img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
}

.podcast-content {
    flex: 1;
    min-width: 0;
}

.podcast-header {
    margin-bottom: 5px;
}

.podcast-header h4 {
    color: var(--color-principal);
    margin-bottom: 0px;
}

.podcast-header span {
    color: var(--color-principal);
}

/* SPOTIFY */
.spotify-player  {
    height: 80px;
}

.spotify-player iframe {
    width: 100%;
    border: none;
}

@media (max-width: 900px) {
    .podcast-hero {
        padding: 60px 40px 120px;
    }

    .podcast-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .podcast-info h3 {
        max-width: 100%;
    }

    .podcast-player-card {
        /*flex-direction: column;
        align-items: flex-start;*/
        margin-top: 40px;
    }

    .podcast-cover img {
        width: 90px;
        height: 90px;
    }

    .podcast-hero-2 {
        margin-top: -220px;
        padding: 70px 40px;
    }
}

@media (max-width: 600px) {
    .podcast-hero {
        padding: 60px 30px 110px;
    }

    .podcast-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .podcast-info {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .podcast-info h3 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .podcast-platforms {
        justify-content: center;
    }

    .platform-btn {
        width: 60%;
        justify-content: center;
    }

    .podcast-player-card {
        padding-left:0px;
        padding-right:0px;
        padding-bottom: 0px;
        gap: 18px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 12px;
    }

    .spotify-player iframe {
        padding-bottom: 0px;
    }

    .podcast-content {
        width: 100%;
    }

    .podcast-header h4 {
        font-size: 1.2rem;
    }

    .podcast-cover img {
        margin-bottom: -10px;
        width: 100px;
        height: 100px;
    }
}


 /* ------------------------- */
.eventos-section {
    position: relative;
    padding: 0px 40px 40px;
    overflow: hidden;
}

.eventos-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-quinto);
    z-index: 1;
}

.eventos-section .container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 0 auto;
}

.eventos-title {
    text-align: center;
    color: var(--color-terciario);
    margin-bottom: 45px;
}
.eventos-slider {
    overflow: hidden;
    width: 100%;
}

.eventos-track {
    display: flex;
    gap: 30px;
    padding-top: 5px;
    transition: transform 0.5s ease;
}

.evento-card {
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
    background: var(--color-terciario);
    border: 2px solid var(--color-principal);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: stretch;
    gap: 0px;
    transition: 0.3s ease;
    box-sizing: border-box;
}

.evento-card:hover {
    transform: translateY(-5px);
}

.evento-card-alone {
    min-width: calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    margin-left: calc(25% + 7.5px);
}

.evento-img {
    width: 42%;
    min-width: 42%;
    object-fit: cover;
    border-radius: 6px;
    height: auto;
}

.evento-card-alone .evento-img {
    width: 42%;
    min-width: 42%;
}

.evento-info {
    flex: 1;
    display: flex;
    gap: 0px;
    align-items: flex-start;
}

.evento-fecha {
    text-align: center;
    color: var(--color-principal);
    line-height: 1;
    margin-top: 10px;
    position: relative;
    left: -25px;
    flex-shrink: 0;
    background: var(--color-terciario);
    width: 70px;
    height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.evento-fecha .dia {
    display: block;
}

.evento-content {
    flex: 1;
    min-width: 0;
    margin-left: -15px;
}

.evento-content h3 {
    color:  var(--color-principal);
    margin-bottom: 0px;
}

.evento-date {
    color:  var(--color-principal);
    display: block;
    margin-bottom: 12px;
}

.evento-line {
    width: 70px;
    height: 4px;
    background:  var(--color-secundario);
    margin-bottom: 14px;
    border-radius: 10px;
}

.evento-content p {
    color:  var(--color-principal);
    line-height: 1.4;
    max-width: 320px;
}

.eventos-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(208, 208, 208, 0.5);
    border-radius: 50%;
}

.dot.active {
    background: var(--color-secundario);
}


@media (max-width: 1024px) {
    .evento-card {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 1100px) {
    .eventos-slider {
        grid-template-columns: 1fr;
    }

    .evento-content p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .eventos-section {
        padding: 60px 20px;
    }
    .evento-card {
        min-width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 20px;
        padding: 16px;
    }

    .evento-img {
        width: 100%;
        min-width: 100%;
        height: 220px;
    }

    .evento-info {
        width: 100%;
        gap: 14px;
    }

    .evento-fecha {
        left: 0;
        margin-top: -45px;
    }

    .evento-content {
        width: 100%;
        margin-left:-0px;
    }

    .evento-content p {
        max-width: 100%;
    }

}
@media (max-width: 480px) {
    .evento-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .evento-fecha {
        width: 65px;
        height: 52px;
        margin-top: -55px;
    }
}

/* ----------------------------------- */
.webinars-section {
    position: relative;
    padding: 60px 40px;
    overflow: hidden;
    background:
        linear-gradient(
            rgba(225, 37, 27, 0.85),
            rgba(225, 37, 27, 0.85)
        ),
        url("../recursos-multimedia/eventos/webinar-background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.webinars-section .container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 0 auto;
}

.webinars-title {
    color: var(--color-terciario);
    margin-bottom: 20px;
}

.webinars-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.webinar-video {
    flex: 1.2;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.webinar-video::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.webinar-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.webinar-info {
    flex: 1;
    color: var(--color-terciario);
}

.webinar-info p {
    line-height: 1.5;
}

@media (max-width: 992px) {
    .webinars-content {
        flex-direction: column;
    }

    .webinar-video,
    .webinar-info {
        width: 100%;
    }

    .webinar-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .webinars-section {
        padding: 60px 20px;
    }

    .webinars-title {
        text-align: center;
        margin-bottom: 20px;
    }

    .webinars-content {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .webinar-info p {
        line-height: 1.6;
    }
}

/* --------------------------------------- */
.networking-section{
    padding: 60px 40px;
    background: var(--color-terciario);
    max-width: 1350px;
    margin: 0 auto;
}

.networking-title {
    color: var(--color-principal);
    margin-bottom: 20px;
}

.networking-wrapper{
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.networking-video{
    flex: 1;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.networking-video iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.networking-gallery{
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-content: stretch;
}

.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    max-height: 200px ;
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .4s ease;
}

.gallery-item:hover img{
    transform: scale(1.05);
}


/* 16:9 */
.gallery-item.horizontal{
    flex: 0 0 calc(65% - 8px);
    aspect-ratio: 16 / 9;
}

/* 9:16 */
.gallery-item.vertical{
    flex: 0 0 calc(35% - 8px);
    aspect-ratio: 9 / 16;
}

.modal-content{
    border-radius: 20px;
    overflow: hidden;
}

.carousel-item img{
    width: 100%;
    max-height: 85vh;
    object-fit: cover;
}


@media(max-width: 991px){
    .networking-wrapper{
        flex-direction: column;
    }

    .networking-gallery{
        height: auto;
    }

    .networking-section{
        padding: 40px 25px;
    }
}