/*
Theme Name: Plantilla de Eventos IDE
Template: astra
Version: 1.0
Author: Emanuel Alderete & IDE Comunicación Digital
Description: Plantilla personalizada para eventos, desarrollada casi en su totalidad desde el código para un mayor control sobre cada componente de la web.
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Declaraciones generales */
:root {
    --light-color: #ffffff;
    --light-gray-color: #eaeaea;
    --gray-color: #999999;
    --dark-gray-color: #555555;
    --dark-color: #292929;
    --light-shadow: #00000038;
    --primary-color: #051f31;
    --secondary-color: #2e4757;
    --terciary-color: #f8ac21;
    --transition-fast: 250ms;
    --transition-slow: 500ms;
    --bold-font: 800;
    --primary-font-family: 'DM Sans';
    --secondary-font-family: 'DM Sans';
    /* Si no hay una fuente secundaria, replicar la primaria. */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary-font-family);
    color: var(--dark-color);
    background-color: var(--light-color) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

h1 {
    font-size: 2.7em;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1em;
}

p,
ul,
ol {
    margin: 0 0 1rem 0;
}

.title,
.home-title {
    font-weight: var(--bold-font);
    color: var(--primary-color);
}

.home-title {
    font-size: 2.5em;
}

/* Módulos reutilizables */
.buttons-center,
.buttons-left,
.buttons-right {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.buttons-left {
    justify-content: flex-start;
}

.buttons-right {
    justify-content: flex-end;
}

.buttons-center {
    justify-content: center;
}

.buttons,
.buttons-primary,
.buttons-light,
.buttons-secondary,
.buttons-terciary {
    padding: 0.5rem 2rem;
    border-radius: 99px;
    font-weight: var(--bold-font);
    transition: var(--transition-fast);
    text-decoration: none;
}

.buttons-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);

    &:hover {
        background-color: var(--light-color);
        color: var(--primary-color);
        box-shadow: 0 0 10px var(--primary-color);
    }
}

.buttons-light {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--light-color);

    &:hover {
        background-color: transparent;
        color: var(--light-color);
        box-shadow: 0 0 10px var(--light-color);
    }
}

.buttons-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: 2px solid var(--secondary-color);
    &:hover {
        background-color: transparent;
        color: var(--secondary-color);
        box-shadow: 0 0 10px var(--secondary-color);
    }
}

.buttons-terciary {
    background-color: var(--terciary-color);
    color: var(--dark-color);
    border: 2px solid var(--terciary-color);
    &:hover {
        background-color: transparent;
        color: var(--terciary-color);
        box-shadow: 0 0 10px var(--terciary-color);
    }
}

.light-separator,
.primary-separator,
.dark-separator {
    margin: 2rem auto;
    width: 100%;
    max-width: 1200px;
    height: 2px;
}

.light-separator {
    background-color: var(--light-color);
}

.dark-separator {
    background-color: var(--dark-color);
}

.primary-separator {
    background-color: var(--primary-color);
}

/* Efectos */
.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}

.primary-text {
    color: var(--primary-color);
}

.secondary-text {
    color: var(--secondary-color);
}

.dark-gray-text {
    color: var(--dark-gray-color);
}

.light-gray-text {
    color: color-mix(in srgb, var(--light-gray-color) 70%, var(--dark-gray-color) 30%);
}

.disabled {
    color: color-mix(in srgb, var(--light-gray-color) 70%, var(--dark-gray-color) 30%) !important;
    pointer-events: none;
    cursor: not-allowed;
}

.ornament-wave {
    width: 100%;
}

/* Header */
#header {
    position: fixed;
    transition: var(--transition-fast);
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: 0 3px 10px var(--light-shadow);
    background-color: var(--primary-color);
    .header__content {
        width: 100%;
        padding: 0.75rem 2rem;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.header__brand {
    width: 100%;
    max-width: 100px;
    .header__logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.main-menu {
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    li {
        a,
        button {
            color: var(--light-color);
            text-decoration: none;
            text-transform: uppercase;
            border: none;
            font-weight: 700;
            background-color: transparent;
        }
    }

    .menu-item {
        margin: 0 0.6rem;
        padding: 0;
    }

    .menu-item::after {
        content: '';
        display: block;
        width: 0;
        height: 3px;
        margin: 0 auto;
        background-color: var(--terciary-color);
        transition: var(--transition-fast-fast);
    }

    .menu-item:hover::after {
        width: 100%;
    }

    .main-menu__submenu {
        position: relative;

        ul {
            padding: 0;
            margin: 0;
            list-style: none;
            position: absolute;
            transition: var(--transition-fast);
            opacity: 0;
            pointer-events: none;
            background-color: var(--light-color);
            border: 1px solid var(--light-gray-color);
            box-shadow: 2px 2px 10px var(--light-shadow);
            border-radius: 15px;
            width: max-content;
            transform: translateX(-25%);
            overflow: hidden;

            .submenu-item {
                a {
                    color: var(--dark-color);
                    padding: 0.4rem 0.5rem;
                    display: block;
                    text-decoration: none;
                    text-transform: uppercase;
                    border: none;
                    background-color: transparent;
                }

                &:hover {
                    background-color: var(--primary-color);

                    a {
                        color: var(--light-color);
                    }
                }
            }
        }

        &:hover {
            ul {
                opacity: 1;
                pointer-events: all;
            }
        }

        &:hover .menu-item::after {
            width: 100%;
        }
    }
}

.header__highlight-button {
    padding: 2rem;

    a {
        color: var(--dark-color);
        font-weight: 600;
        width: 100%;
        padding: 0.7rem 2.1rem;
        background-color: var(--terciary-color);
        border: 2px solid var(--terciary-color);
        transition: var(--transition-fast);
        text-decoration: none;
        display: block;
        text-align: center;

        &:hover {
            background-color: var(--light-color);
            color: var(--terciary-color);
            box-shadow: 0 0 10px var(--light-color);
        }
    }
}

.header__highlight-button.desk {
    a {
        color: var(--dark-color);
        font-weight: 600;
        padding: 0.7rem 2.1rem;
        background-color: var(--terciary-color);
        border: 2px solid var(--terciary-color);
        transition: var(--transition-fast);
        text-decoration: none;

        &:hover {
            background-color: var(--light-color);
            color: var(--terciary-color);
            box-shadow: 0 0 10px var(--light-color);
        }
    }
}

.header__mobile-button {
    display: none;
    button {
        background-color: transparent;
        color: var(--light-color);
        font-size: 1.8em;
        border: none;
        padding: 1rem;
    }
}

.mobile-menu {
    font-family: var(--font-family-primary);

    .offcanvas-header {
        .mobile-menu__brand {
            width: 100%;
            max-width: 100px;

            .mobile-menu__logo {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }

    .offcanvas-body {
        .mobile-nav {
            width: 100%;
            list-style: none;

            .mobile-menu__submenu {
                .accordion-item {
                    border: none;
                }
                .accordion-button {
                    font-family: var(--font-family-primary);
                    font-weight: 400;
                    font-size: 1.5em;
                    color: var(--dark-color);
                    background-color: transparent;
                    border: none;
                }

                .accordion-button::before {
                    content: '';
                    display: inline-block;
                    width: 0;
                    height: 3px;
                    background-color: var(--primary-color);
                    transition: var(--transition-fast);
                }

                .accordion-button:hover::before {
                    width: 1.5rem;
                    margin: 0 0.7rem 0 0;
                }

                .accordion-button:not(.collapsed)::before {
                    width: 1.5rem;
                    margin: 0 0.7rem 0 0;
                }

                .accordion-button:not(.collapsed) {
                    background-color: transparent;
                    color: var(--dark-color);
                }

                .accordion-body {
                    display: flex;
                    align-items: flex-start;
                    justify-content: flex-start;
                    flex-wrap: wrap;

                    a {
                        text-decoration: none;
                        color: var(--dark-color);
                        font-size: 1em;
                        padding: 0.5rem 1rem;
                        display: inline-block;
                        width: 100%;
                        display: flex;
                        align-items: center;

                        &:hover {
                            background-color: var(--primary-color);
                            color: var(--light-color);
                        }
                    }

                    a::before {
                        content: '';
                        display: inline-block;
                        width: 1.5rem;
                        height: 3px;
                        background-color: var(--primary-color);
                        margin-right: 1rem;
                    }

                    a:hover::before {
                        background-color: var(--light-color);
                    }
                }
            }

            .mobile-menu__item {
                padding: 1rem 1.25rem;
                font-size: 1.5em;
                display: flex;
                align-items: center;

                a {
                    text-decoration: none;
                    color: var(--dark-color);
                }
            }

            .mobile-menu__item::before {
                content: '';
                display: inline-block;
                width: 0;
                height: 3px;
                background-color: var(--primary-color);
                transition: var(--transition-fast);
            }

            .mobile-menu__item:hover::before {
                width: 1.5rem;
                margin: 0 0.7rem 0 0;
            }
        }
    }
}

/* Header [Scroll] */
.header--scroll {
    background-color: var(--dark-gray-color) !important;
    box-shadow: 0 3px 10px var(--light-shadow);
}

.main-menu--scroll {
    li {

        a,
        button {
            color: var(--light-color);
        }
    }
}

/* Redes sociales: Fixed */
.c-social-media {
    width: max-content;
    position: fixed;
    top: 50%;
    right: 3.5rem;
    transform: translateY(-50%) rotateZ(-90deg);
    transform-origin: top right;
    z-index: 8;
    background-color: var(--light-color);
    border-radius: 99px;
    padding: 0.3rem;

    .c-social-media__content {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        .c-social-media__item {
            color: var(--primary-color);
            font-size: 1.4em;
            display: inline-block;
            margin: 0.1rem 0;
            transform: rotateZ(90deg);
            width: 30px;
            height: 30px;
            border-radius: 99px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            text-align: center;
        }

        span {
            color: var(--primary-color);
            width: max-content;
            white-space: nowrap;
            font-weight: 600;

            &::after {
                content: '';
                width: 20px;
                height: 2px;
                display: inline-block;
                background-color: var(--primary-color);
                border-radius: 2px;
                margin: 3px 5px 3px 10px;
            }
        }
    }
}

/* Main */
#main {
    width: 100%;
}

/* Sección: Hero */
#hero {
    width: 100%;

    .hero__content {
        width: 100%;
    }
}

/* Sección: Contador del evento */
#countdown {
    width: 100%;
    margin: 9rem 0 7rem;
    padding: 0 2rem;

    .countdown__content {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        border: 4px solid var(--primary-color);
        border-radius: 30px;
        padding: 1rem;

        a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .hurrytimer-campaign.hurrytimer-campaign-14 {
            transform: translateY(-4rem);
            height: 3rem;

            .hurrytimer-timer {
                .hurrytimer-timer-block {
                    background-color: var(--light-color);
                    margin: 0;

                    .hurrytimer-timer-digit {
                        font-weight: 900;
                        color: var(--dark-gray-color);
                    }

                    .hurrytimer-timer-label {
                        color: var(--dark-gray-color);
                    }
                }

                .hurrytimer-timer-block:first-child {
                    padding-left: 2rem;
                }

                .hurrytimer-timer-block:last-child {
                    padding-right: 2rem;
                }

                .hurrytimer-timer-sep {
                    padding: 0 1.5rem;
                    color: var(--dark-gray-color);
                    background-color: var(--light-color);
                }
            }
        }
    }
}

/* Valores de inscripción */
.prices {
    width: 100%;
    margin: 10rem 0;
    background-color: var(--light-color);
    .prices__content {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }
}

.prices__title {
    color: var(--primary-color);
}

.prices-tickets {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.prices-tickets__item {
    width: 100%;
    max-width: 360px;
    padding: 1.5rem;
    border: 3px solid color-mix(in srgb, var(--secondary-color), #ffffff 40%);
    border-radius: 15px;
    position: relative;
    .prices-tickets__icon {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: color-mix(in srgb, var(--secondary-color), #ffffff 90%);
        border-radius: 10px;
        margin-bottom: 1rem;
        img {
            width: 70%;
            height: 70%;
            object-fit: contain;
        }
    }
}

.prices-tickets__item::after, .prices-tickets__item::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 99px;
    background-color: var(--light-color);
    bottom: 7.4rem;
    border: 3px solid color-mix(in srgb, var(--secondary-color), #ffffff 40%);
}

.prices-tickets__item::before {
    left: -20px;
    clip-path: inset(0 0 0 50%);
}

.prices-tickets__item::after {
    right: -21px;
    clip-path: inset(0 50% 0 0);
}

.prices-tickets__footer {
    border-top: 3px dashed color-mix(in srgb, var(--secondary-color), #ffffff 40%);
    padding-top: 1rem;
}

/* Sección alternable: congreso */

.congreso__content {
  border: none;
}

.congreso__content .active {
  border: none;
}

.congreso__button {
  width: 50%;
  border-radius: 0;
  border: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.congreso__button.active {
  border: none;
}

.congreso__button:hover {
  border: none;
  color: var(--light-color);
}

#nav-buttonOne-tab {
  background-color: var(--primary-color);
  color: var(--light-color);
}

#nav-buttonTwo-tab {
  background-color: var(--secondary-color);
  color: var(--light-color);
  .congreso__overlay {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }
}

#nav-buttonThree-tab {
  background-color: var(--terciary-color);
  color: var(--light-color);
}

#nav-buttonOne {
  .congreso__overlay {
    color: var(--light-color);
  }
}

.congreso__inner {
    width: 50%;
    min-width: 340px;
    padding: 1.5rem;
    .cronograma__image {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
        img {
            width: 100%;
            height: auto;
            object-fit: contain;
            border-radius: 20px;
        }
    }
}

.congreso__pane {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  outline: none;
}

.congreso__overlay {
  padding: 4rem 2rem;
  width: 100%;
  height: 100%;
  .congreso__desc {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
  }
}

.congreso__h2 {
  margin-bottom: 1rem;
  margin-top: 0;
  text-align: center;
}

.congreso__subtitle {
  margin-bottom: 2rem;
}

.congreso__subtitle {
  font-weight: var(--bold-font);
  display: block;
}

.congreso__a {
  background-color: var(--light-color);
  color: var(--dark-color);
}

.congreso__a:hover {
  transform: scale(1.08);
  box-shadow: 25px 25px 10px var(--light-shadows);
  background-color: var(--dark-color);
  color: var(--light-color);
}

.congreso__loop {
  margin-top: 2rem;
}

.congreso-card {
  width: 100%;
  max-width: 920px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-color: var(--light-color);
  margin: 1.5rem auto;
  color: var(--dark-color);
  transition: var(--transition);
  &:hover {
    transform: scale(1.05);
    box-shadow: 10px 10px 10px var(--light-shadow);
  }
  .congreso-card__thumbnail {
    width: 35%;
    height: 240px;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .congreso-card__info {
    width: 65%;
    padding: 1rem 1rem 1rem 1.5rem;
    position: relative;
    h4 {
      color: var(--primary-color);
      margin-top: 0;
      margin-bottom: 1.5rem;
    }
    p {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: clip;
      line-clamp: 4;
    }
    .button-left {
      margin-top: 2.5rem;
      position: absolute;
      bottom: 1.5rem;
      left: 1.5rem;
    }
  }
}

.icon-set {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  flex-wrap: wrap;
  .icon-set__icon {
    width: 170px;
    .icon {
      width: 60%;
      margin: 0 auto 1.5rem;
      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
  }
}

/* Redes sociales */
.congress-social-media {
    width: 100%;
    margin: 2rem 0;

    .congress-social-media__content {
        background-color: rgb(from var(--light-color) r g b / 50%);
        border-radius: 25px;
        width: 100%;
        max-width: 992px;
        margin: 0 auto;
        padding: 2rem;

        .congress-social-media__buttons {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;

            a {
                margin: 1rem;
                background-color: var(--secondary-color);
                border: 2px solid var(--secondary-color);
                color: var(--dark-color);
                width: 70px;
                height: 70px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 2em;
                border-radius: 999px;
                text-decoration: none;
                transition: var(--transition-fast);

                &:hover {
                    box-shadow: 0 0 10px var(--secondary-color);
                    background-color: var(--light-color);
                    color: var(--secondary-color);
                }
            }
        }
    }
}

.recorrido {
    width: 100%;
    margin: 7rem 0;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    iframe {
        width: 100%;
        max-width: 992px;
        height: 600px;
        border: none;
        border-radius: 15px;
        margin: 0 auto;
        box-shadow: 3px 3px 10px var(--light-shadow);
    }
}

/* Disertantes en home */
.disertantes {
    width: 100%;

    .disertantes__content {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
}

.disertantes-item {
    width: 270px;
    height: 455px;
    margin: 1rem;
    position: relative;
    transition: var(--transition-fast);

    .disertantes-item__thumbnail {
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 170px;
        height: 170px;
        border-radius: 99px;
        overflow: hidden;
        border: 5px solid var(--terciary-color);
        z-index: 1;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .disertantes-item__flag {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 25px;
        border-radius: 5px;
        overflow: hidden;
        z-index: 2;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .disertantes-item__info {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        padding: 0.7rem;
        backdrop-filter: blur(10px);
        padding-top: 200px;
        background-color: var(--primary-color);

        .disertantes-item__inner {
            width: 100%;
            height: fit-content;

            h4 {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: clip;
                line-clamp: 2;
                margin: 0 0 1rem 0;
                color: var(--light-color);
            }

            p {
                display: -webkit-box;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: clip;
                line-clamp: 4;
                color: var(--light-color);
            }

            .buttons-center {
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
            }
        }
    }
}

/* Beneficios */
#beneficios {
    width: 100%;
    background-color: var(--primary-color);

    .beneficios__content {
        width: 100%;
        padding: 3rem 2rem 6rem;

        h2 {
            color: var(--light-color);
            text-align: center;
            margin-top: 0;
        }

        .beneficios__group {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            padding-top: 2.5rem;
        }
    }

    .beneficios__footer {
        width: 100%;
        margin-top: 3rem;

        img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }
}

.beneficios-item {
    width: 350px;
    border-radius: 15px;
    background-color: var(--light-color);
    box-shadow: 0 3px 10px var(--light-shadow);
    overflow: hidden;

    .beneficios-item__thumbnail {
        width: 100%;
        aspect-ratio: 1.5 / 1;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .beneficios-item__info {
        padding: 0.5rem 1.5rem;

        h4 {
            color: var(--primary-color);
            text-align: center;
        }
    }
}

.beneficios-item:first-child {
    .beneficios-item__info {
        padding-right: 3.4rem;
    }
}

.beneficios-item:nth-child(2) {
    transform: scale(1.15);
}

.beneficios-item:last-child {
    .beneficios-item__info {
        padding-left: 3.4rem;
    }
}

/* Sponsors */
.supports {
    width: 100%;
    background-color: var(--primary-color);
    margin: 7rem 0 1rem;

    .supports__content {
        width: 100%;
        max-width: 1440px;
        margin: 0 auto;
        padding: 5rem 2rem;

        .supports__main-logo {
            width: 100%;
            max-width: 200px;
            margin: 1rem auto 2rem;
            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        .supports__box {
            margin: 4rem 0;

            .supports__slider {
                width: 85%;
                margin: 0 auto;
                box-shadow: 3px 3px 5px var(--light-shadow);
                height: 15rem;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 15px 0 15px 0;
                background-color: var(--secondary-color);
                border: 1px solid var(--secondary-color);
                box-shadow: 7px 7px 5px var(--light-shadow);
            }

            .supports__slider.ss-2 {
                background-color: var(--light-color);
                border: 1px solid var(--light-color);
            }
        }
    }
}

/* Contenido Dinámico y Educativo */
.news {
    width: 100%;

    .news__content {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;

        .news__loop {
            width: 100%;
            display: flex;
            align-items: stretch;
            flex-wrap: wrap;
            justify-content: space-around;
        }
    }
}

.news-item {
    width: 300px;
    margin: 0.5rem;
    perspective: 1000px;

    .news-item__content {
        border: 2px solid var(--primary-color);
        border-radius: 25px;
        transition: var(--transition-fast);
        width: 100%;
        overflow: hidden;

        &:hover {
            box-shadow: 15px 15px 10px var(--light-shadow);
        }

        .news-item__image {
            width: 100%;
            outline: 2px solid var(--primary-color);
            height: 16rem;
            border-radius: 25px;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .news-item__date {
            p {
                margin: 0;
                color: var(--gray-color);
            }
        }

        .news-item__info {
            width: 100%;
            padding: 1rem;

            .news-item__title {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: clip;
                height: 54px;
                line-clamp: 2;
            }

            p:not(.news-item__date p) {
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: clip;
                line-clamp: 3;
                height: 67px;
            }
        }

        .news-item__footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;

            .button-left {
                width: calc(60% - 7.5px);
            }

            .news-item__share {
                width: calc(40% - 7.5px);
                display: flex;
                align-items: center;
                justify-content: flex-end;

                .share-icon {
                    width: 35px;
                    height: 35px;
                    margin: 0 5px;
                    font-size: 1.2em;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 99px;
                    transition: var(--transition-fast);
                }

                .share-icon.facebook {
                    background-color: var(--primary-color);
                    color: var(--light-color);

                    &:hover {
                        background-color: #3b5998;
                        box-shadow: 0 0 10px #3b5998;
                    }
                }

                .share-icon.whatsapp {
                    background-color: var(--primary-color);
                    color: var(--light-color);

                    &:hover {
                        background-color: #25d366;
                        box-shadow: 0 0 10px #25d366;
                    }
                }
            }
        }
    }
}

/* Donde encontrarnos */
.where {
    width: 100%;
    padding: 3rem 2rem;
    background-color: rgb(from var(--light-gray-color) r g b / 40%);

    .where__content {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;

        .where__map {
            width: 100%;
            height: 270px;
            border-radius: 150px;
            border: 2px solid var(--primary-color);
            position: relative;
            overflow: hidden;

            .ornament__location-pin {
                position: absolute;
                top: 50%;
                left: 0;
                transform: translateY(-50%);
                width: 100%;
                max-width: 263px;
                height: 100%;
                max-height: 300px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 10em;
                color: var(--secondary-color);
                background-color: var(--light-color);
                border-radius: 150px;
                outline: 2px solid var(--primary-color);
                z-index: 2;

                img {
                    width: 85%;
                    height: 85%;
                    object-fit: contain;
                }
            }

            iframe {
                width: 100%;
                height: 100%;
            }
        }
    }
}

/* Footer */
#footer {
    width: 100%;
    background-color: var(--secondary-color);
    padding: 3rem 2rem;

    .footer__content {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: stretch;
        justify-content: center;
        flex-wrap: wrap-reverse;
        gap: 15px;

        .footer__inner {
            width: calc(50% - 12.5px);
        }

        .footer__inner:first-child {
            .footer__brand {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                img {
                    width: 100%;
                    max-width: 260px;
                }
            }

            .footer__info {
                list-style: none;
                padding: 0;
                width: 100%;
                max-width: 368px;
                margin: 0 auto;
                color: var(--light-color);
                li {
                    margin: 0.5rem 0;
                }
            }
        }

        .footer__inner:last-child {
            .contact {
                width: 100%;
                max-width: 440px;
                margin: 0 auto;
                background-color: var(--light-color);
                padding: 1rem;
                border-radius: 15px;
                font-weight: 700;

                p {
                    margin: 0;
                }

                .cf7-input,
                .cf7-textarea {
                    padding: 0.7rem 0.5rem 0.7rem 1rem;
                    border: none;
                    border-bottom: 1px solid var(--primary-color);
                    width: 100%;
                    margin: 0.5rem 0;

                    &:focus {
                        outline: 4px solid rgb(from var(--primary-color) r g b / 30%);
                    }
                }

                .cf7-textarea {
                    height: 6rem;
                }

                .cf7-submit {
                    padding: 0.5rem 2rem;
                    border-radius: 15px;
                    background-color: var(--primary-color);
                    color: var(--light-color);
                    border: 2px solid var(--primary-color);
                    transition: var(--transition-fast);
                    margin: 1rem 0;

                    &:hover {
                        background-color: var(--light-color);
                        color: var(--primary-color);
                        box-shadow: 0 0 10px var(--primary-color);
                    }
                }
            }
        }
    }
}

.footer__ide {
    width: 100%;
    background-color: var(--dark-color);
    padding: 0.5rem 1rem;

    a {
        text-decoration: none;
        display: flex;
        max-width: 300px;
        width: 100%;
        margin: 0 auto;
        align-items: center;
        justify-content: center;

        img {
            width: 27px;
            margin-right: 0.5rem;
        }

        color: var(--light-color);
    }
}

/*
###################################################################################
                DEFINICIONES DE PÁGINAS, CATEGORÍAS Y ENTRADAS
###################################################################################
*/
.entry {
    width: 100%;
    padding: 2rem;
    background-color: var(--light-gray-color);
    color: var(--dark-gray-color);

    .entry__content {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: stretch;
        justify-content: center;
        flex-wrap: wrap;
        background-color: var(--light-color);
        box-shadow: 10px 10px 10px var(--light-shadow);
        padding: 2rem;

        .entry__box:first-child {
            width: 65%;
            padding: 0 0.5rem;

            .entry__header {
                width: 100%;

                .entry__att-image {
                    width: 100%;
                    height: calc((1200px - (1200px * 0.4)) / 1.5);

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .breadcrumbs {
                    font-weight: 700;
                    margin: 0;

                    a {
                        color: var(--primary-color);
                        text-decoration: none;
                    }

                    .breadcrumb_last {
                        color: var(--dark-gray-color);
                    }
                }

                .entry__date {
                    margin-bottom: 2rem;
                }

                .entry__title {
                    color: var(--primary-color);
                    margin-bottom: 0;
                    margin-top: 2rem;
                }
            }

            .entry__excerpt {
                p {
                    width: 100%;
                    padding: 1.5rem;
                    border: 3px dashed var(--primary-color);
                    font-size: 1.5em;
                    border-radius: 25px 25px 25px 5px;
                    margin: 2rem 0;
                }
            }

            .entry__body {

                h1,
                h2,
                h3,
                h4,
                h5,
                h6 {
                    color: var(--primary-color);
                    margin: 2rem 0 0.7rem 0;
                }
            }

            .entry-tags {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: flex-start;

                .entry-tags__title {
                    margin-right: 1rem;
                    color: var(--primary-color);
                }

                ul {
                    list-style: none;
                    margin: 0;
                    padding: 0;
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    flex-wrap: wrap;

                    li {
                        margin: 0.3rem;

                        a {
                            display: block;
                            color: var(--primary-color);
                            text-decoration: none;
                            border: 1px solid var(--primary-color);
                            background-color: transparent;
                            padding: 0.3rem 0.5rem;
                            border-radius: 99px;
                            font-size: 0.8em;

                            &:hover {
                                background-color: var(--primary-color);
                                color: var(--light-color);
                            }
                        }
                    }
                }
            }
        }

        .entry__box:last-child {
            width: 35%;
            padding: 0 0.5rem;

            .entry-box__content {
                .entry-search {
                    position: relative;
                    width: 100%;

                    .entry-search__form {
                        display: flex;
                        align-items: center;
                        justify-content: flex-start;

                        .entry-search__field {
                            padding: 0.5rem 1rem;
                            border: 1px solid var(--light-gray-color);
                            width: 100%;

                            &:focus {
                                outline: 4px solid rgb(from var(--primary-color) r g b / 30%);
                            }
                        }

                        .entry-search__submit {
                            width: 3rem;
                            height: 2.7rem;
                            font-size: 1.2em;
                            border: 2px solid var(--primary-color);
                            background-color: var(--primary-color);
                            color: var(--light-color);
                            padding: 0;
                        }
                    }
                }

                .entry-related {
                    width: 100%;
                    margin: 1rem 0;

                    .entry-related__title {
                        color: var(--primary-color);
                        margin-bottom: 1rem;
                    }

                    .entry-related__body {
                        li {
                            a {
                                color: var(--primary-color);
                                text-decoration: none;
                                display: block;
                                padding: 0.4rem;
                                border-bottom: 1px dashed var(--primary-color);

                                &:hover {
                                    background-color: var(--primary-color);
                                    color: var(--light-color);
                                }
                            }
                        }
                    }
                }
            }

            .entry-follow {
                width: 100%;

                .entry-follow__content {
                    width: 100%;

                    .entry-follow__title {
                        color: var(--primary-color);
                    }

                    .entry-follow__list {
                        display: flex;
                        align-items: center;
                        justify-content: flex-start;
                        list-style: none;
                        margin: 0;
                        padding: 0;

                        .entry-follow__item {
                            margin: 0 0.3rem;

                            a {
                                text-decoration: none;
                                color: var(--light-color);
                                display: flex;
                                background-color: var(--primary-color);
                                border-radius: 99px;
                                width: 3.5rem;
                                height: 3.5rem;
                                font-size: 1.6em;
                                justify-content: center;
                                align-items: center;
                                border: 2px solid var(--primary-color);
                                transition: var(--transition-fast);

                                &:hover {
                                    background-color: var(--light-color);
                                    color: var(--primary-color);
                                    box-shadow: 0 0 10px var(--primary-color);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

/* Categorías */
.categories {
    width: 100%;
    padding: 2rem;

    .categories__content {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;

        .categories__header {
            width: 100%;

            .categories__title {
                color: var(--primary-color);
                margin-bottom: 1rem;
            }

            .categories__description {
                color: var(--dark-gray-color);
                margin-bottom: 2rem;
                width: 100%;
            }
        }

        .categories__body {
            width: 100%;

            .categories__loop {
                width: 100%;
                display: flex;
                align-items: stretch;
                justify-content: space-evenly;
                flex-wrap: wrap;
            }
        }
    }
}

/* Pages */
.page {
    width: 100%;
    background-color: var(--light-gray-color);

    .page__content {
        width: 100%;

        .page-header {
            width: 100%;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            display: flex;
            align-items: flex-end;
            justify-content: flex-start;
            flex-wrap: wrap;
            width: 100%;
            height: 100%;
            position: relative;

            .page-header__overlay {
                position: absolute;
                z-index: 2;
                padding: 2rem;
                top: 0;
                height: 0;
                width: 100%;
                height: 100%;
                background: transparent;
                background: linear-gradient(180deg, rgba(255, 255, 255, 0) 11%, rgba(0, 0, 0, 0.6194852941176471) 77%);
            }

            .page-header__content {
                position: relative;
                z-index: 3;
                width: 100%;
                max-width: 1200px;
                padding: 2rem;
                margin: 0 auto;

                .page__title {
                    color: var(--dark-color);
                }

                #breadcrumbs {
                    font-weight: 700;

                    a {
                        color: var(--primary-color);
                        text-decoration: none;
                    }

                    .breadcrumb_last {
                        color: var(--light-color);
                    }
                }

                #breadcrumbs.primary-color-last .breadcrumb_last {
                    color: var(--dark-color);
                }
            }
        }

        .page__body {
            width: 100%;
            margin-bottom: 5rem;

            .page__content {
                background-color: var(--light-color);
                box-shadow: 2px 2px 5px var(--light-shadow);
                border: 1px solid var(--light-gray-color);
                border-radius: 25px;
                width: 100%;
                max-width: 1200px;
                margin: 0 auto;
                padding: 2rem;

                h1,
                h2,
                h3,
                h4,
                h5,
                h6 {
                    color: var(--primary-color);
                }
            }
        }
    }
}

.not-found {
    width: 100%;

    .not-found__content {
        width: 100%;
        max-width: 1200px;
        padding: 2rem;
        margin: 0 auto;
        color: var(--dark-gray-color);

        .not-found__inner {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;

            .not-found__box {
                width: calc(50% - 10px);
            }

            .not-found__box:first-child {
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }
            }
        }
    }
}

.wp-pagenavi {
    margin: 2rem auto 0;
    width: max-content;
    transform: scale(1.02);

    .pages,
    .current,
    .page,
    .nextpostslink,
    .previouspostslink {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
    }

    .pages {
        border-radius: 10px 0 0 10px;
    }

    .current {
        background-color: var(--primary-color);
        color: var(--light-color);
        border-color: var(--primary-color) !important;
    }

    .page {
        background-color: transparent;
    }
}

.wp-pagenavi> :last-child {
    border-radius: 0 10px 10px 0;
}

/* Estilos de entradas de la categoría "Posters" */
.entry-posters {
    width: 100%;
    padding: 3.5rem 0;
    background-color: color-mix(in srgb, var(--light-gray-color) 80%, white 20%);
}

.entry-posters__content {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    border: 1px solid color-mix(in srgb, var(--light-gray-color) 95%, black 5%);
    box-shadow: 0 0 10px var(--light-shadow);
    background-color: var(--light-color);
}

.posters {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap-reverse;

    .posters__h1 {
        color: var(--primary-color);
        text-transform: uppercase;
        padding-left: 1rem;
        border-left: 6px solid var(--primary-color);
    }

    .posters__box {
        padding: 1.5rem;
    }

    .posters__box:first-child {
        width: 50%;
    }

    .posters__box:last-child {
        width: 50%;
    }
}

/*
###################################################################################
    DEFINICIONES DE OPTIMIZACIÓN Y ADAPTABILIDAD DEL SITIO EN DIFERENTES PANTALLAS
###################################################################################
*/

@media (width < 1441px) {
    .entry {
        .entry__content {
            max-width: 1024px;

            .entry__box:first-child {
                .entry__header {
                    .entry__att-image {
                        height: calc((1024px - (1024px * 0.4)) / 1.5);
                    }
                }
            }
        }
    }
}

@media (width < 1200px) {
    .where {
        .where__content {
            .where__map {
                max-width: 94vw;
                max-height: 21.5vw;

                .ornament__location-pin {
                    font-size: 13vw;
                    max-width: 21vw;
                    max-height: 22vw;
                }
            }
        }
    }
}

@media (width < 1100px) {
    .main-menu {
        display: none;
    }

    .header__highlight-button.desk {
        display: none;
    }

    .header__mobile-button {
        display: block;
    }

    .entry {
        .entry__content {
            .entry__box:first-child {
                .entry__header {
                    .entry__att-image {
                        height: 37vw;
                    }
                }
            }
        }
    }

    #beneficios {
        .beneficios__content {
            .beneficios__group {
                justify-content: space-evenly;
            }
        }
    }

    .beneficios-item {
        margin: 0.5rem;
    }

    .beneficios-item:first-child {
        .beneficios-item__info {
            padding-right: 1.5rem;
        }
    }

    .beneficios-item:nth-child(2) {
        transform: scale(1);
    }

    .beneficios-item:last-child {
        .beneficios-item__info {
            padding-left: 1.5rem;
        }
    }
}

@media (width < 992px) {}

@media (width < 900px) {
    .entry {
        .entry__content {
            .entry__box:first-child {
                width: 100%;

                .entry__header {
                    .entry__att-image {
                        height: 53vw;
                    }
                }
            }

            .entry__box:last-child {
                width: 100%;
                padding-top: 3rem;
                border-top: 3px dashed var(--primary-color);
            }
        }
    }

    .disertantes {
        display: none;
    }
}

@media (width < 768px) {
    .congreso-card {
        .congreso-card__thumbnail {
            display: none;
        }

        .congreso-card__info {
            width: 100%;
            padding-bottom: 5rem;
        }
    }
}

@media (width < 720px) {

    /*
  #supports {
    .supports__cat {
      .supports__title,
      .supports__slider {
        width: 100%;
        margin: 0.5rem;
      }
      .supports__title {
        height: auto;
        padding: 1rem;
        border-radius: 15px 15px 0 0;
      }
      .supports__slider {
        border-radius: 0 0 15px 15px;
      }
    }
  }*/
    .posters {
        .posters__box {
            width: 100% !important;
        }
    }
}

@media (width < 620px) {
    #countdown {
        .countdown__content {
            .hurrytimer-campaign.hurrytimer-campaign-18 {
                height: 8rem;
            }
        }
    }

    .services-menu {
        .services-submenu__nav {
            .nav {
                .nav-link {
                    width: calc(50% - 1rem);
                }
            }
        }
    }

    .service-item {
        .service-item__image {
            width: 200px;
        }

        .service-item__info {
            width: calc(100% - 100px);

            p {
                -webkit-line-clamp: 3;
                line-clamp: 3;
            }
        }
    }

    #footer {
        .footer__content {
            gap: 0;

            .footer__inner {
                width: 100%;
                margin: 1rem 0;
            }
        }
    }
}

@media (width < 576px) {
    #countdown {
        .countdown__content {
            .hurrytimer-campaign.hurrytimer-campaign-14 {
                height: 10rem;
            }
        }
    }

    .congreso__button {
        width: 100%;
    }
}

@media (width < 512px) {}

@media (width < 480px) {
    .services-menu {

        .services-submenu__nav,
        .services-menu__nav {
            .nav {
                .nav-link {
                    width: calc(100% - 1rem);
                }
            }
        }
    }

    .service-item {
        .service-item__image {
            width: 0;
        }

        .service-item__info {
            width: 100%;
        }
    }

    .entry {
        padding: 0;

        .entry__content {
            width: 100%;
            max-width: none;
            margin: 0;
            padding: 1rem;
        }
    }
}

@media (width < 400px) {
    #countdown {
        .countdown__content {
            .hurrytimer-campaign.hurrytimer-campaign-18 {
                height: 10rem;
            }
        }
    }
}