/* #region Webinar Details */

.webinar-details {
    margin: 0 auto;
}

/* --- Hero header --- */
.webinar-details-header {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 200px;
    gap: 32px;
}

.webinar-details-header.webinar-type-on-demand {
    background-color: #30357D;
}

.webinar-details-header.webinar-type-seminary {
    background-color: #aa892e;
}

.webinar-details-header.webinar-type-live {
    background-color: #52625c;
}

.webinar-details-header.webinar-type-lunchwebinars {
    background-color: #4e8c50;
}

.webinar-details-header__image {
    flex: 0 0 350px;
    max-width: 350px;
    overflow: hidden;
    border-radius: 24px;
}

.webinar-details-header__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.webinar-details-header__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
    justify-content: space-between;
}

.webinar-details-header__breadcrumb {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.webinar-details-header__breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
}

.webinar-details-header__breadcrumb a:hover {
    color: rgba(255, 255, 255, 1);
}

.webinar-details-header__title {
    font-family: "Gilda Display", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.webinar-details-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
}

.webinar-details-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.webinar-details-meta__item svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.webinar-details-header__buttons {
    display: flex;
    gap: 24px;
}

.webinar-details-header__buttons a {
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    height: 50px;
    line-height: 24px;
}

/* --- Body --- */
.webinar-details-header-bloc {
    max-width: 1280px;
    width: 1280px;
    margin: 0 auto;
    display: flex;
    padding: 24px 0px;
    gap: 32px;
}

.webinar-details-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    max-width: 1280px;
    padding: 40px 0;
    border-bottom: 1px solid #ccc;
}

.webinar-details-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    padding: 12px 0px 24px 0px;
    font-size: 24px;
    text-align: left;
    line-height: 32px;
    margin-bottom: 0px;
    text-transform: uppercase;
    color: #7a7a7a;
}

.webinar-details-content {
    margin: 0 auto;
}

.webinar-details-content-bloc {
    display: flex;
    gap: 32px;
    max-width: 1280px;
    margin: auto;
}

.webinar-details-left-panel {
    width: 350px;
}

.webinar-details-right-panel {
    width: calc(100% - 374px);
}

.webinar-details-right-panel .webinar-card__cta-button {
    display: block;
    margin-top: 1em;
    text-transform: uppercase;
}

.webinar-details-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-content: end;
    align-items: center;
    min-height: 60px;
    border-top: 1px solid #ccc;
    width: 100%;
    padding-top: 20px;
}

.webinar-card_buttons {
    height: 44px;
}

.webinar-card__cta-button {
    background-color: #4a5c65;
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    /*line-height: 50px;*/
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid white;
}

.webinar-details-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    line-height: 32px;
    color: #333;
    margin-bottom: 32px;
}

.webinar-details-description p {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    line-height: 32px;
    color: #333;
}

/* --- Left panel --- Hosted by */
.webinar-details-left-panel .speaker {
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.webinar-details-left-panel .speaker img {
    width: 50px;
    height: 50px;
    border-radius: 25px;
}

.webinar-details-left-panel .speaker .speaker-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.webinar-details-left-panel .speaker h3 {
    font-family: 'DM Sans', sans-serif;
    height: 30px;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: flex-start;
    font-size: 20px;
}

.webinar-details-left-panel .speaker h4 {
    font-family: 'DM Sans', sans-serif;
    height: 20px;
    line-height: 20px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 400;
}

.webinar-details-left-panel .speaker-link {
    text-align: center;
}

.webinar-details-left-panel .speaker-link a {
    color: black;
    font-size: 20px;
}

.webinar-details-keyvalue {
    width: 100%;
    margin-bottom: 32px;
    text-align: left;
}

/* --- Bottom panel --- Pricing */

#main .page-content {
    margin: 0;
}

.webinar-details-bottom-panel {
    display: block;
    position: sticky;
    background: white;
    width: 100%;
    bottom: 0px;
    margin: auto;
    box-shadow: 0 -2px 12px 0 oklch(62.95% .0204 306.5 / .08), 0 -8px 16px 0 oklch(62.95% .0204 306.5 / .16);
}

.webinar-details-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: auto;
    padding: 16px 0;
}

.webinar-details-article {
    width: 45%;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    font-family: Arial, Helvetica, sans-serif;
    height: 120px;
    align-content: space-between;
}

.webinar-details-article .subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 24px;
    text-align: left;
    line-height: 32px;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.webinar-details-price {
    text-align: right;
}

.webinar-details-price .euro {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

.webinar-details-price .tva {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: #9a9a9a;
    margin-left: 12px;
}

.webinar-details-separator {
    height: 100px;
    width: 1px;
    background: #aaa;
}

.webinar-details-abo {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 32px;
    row-gap: 8px;
    width: 45%;
    color: #9a9a9a;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    height: 120px;
    align-content: space-between;
}

.webinar-details-abo>div:nth-child(1) {
    grid-column: 1 / -1;
    font-size: 14px;
    font-weight: 400;
}

.webinar-details-abo>div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    font-size: 22px;
    font-weight: 700;
}

.webinar-details-abo>div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
    font-size: 16px;
    font-weight: 400;
    color: #9a9a9a;
    line-height: 1.15;
}

.webinar-details-abo>div:nth-child(3)::first-line {
    font-size: 22px;
    font-weight: 700;
}

.webinar-details-button-abo {
    background-color: #a9892e;
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid white;
    grid-column: 1 / -1;
    justify-self: center;
}

.webinar-details-button-abo:hover {
    background-color: #8D7F42;
    color: white;
}

.webinar-details-button-article {
    background-color: transparent;
    color: #a9892e;
    text-align: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #a9892e;
    grid-column: 1 / -1;
    justify-self: center;
}

.webinar-details-button-article:hover {
    border-color: #8D7F42;
    color: #8D7F42;
}

/* --- Relevant webinars --- */
.webinar-details-relevant-panel {
    background-color: #e5e5e5;
}

.webinar-details-relevant-panel>div {
    max-width: 1280px;
    margin: auto;
    padding: 40px 0;
}

.webinar-details-relevant_list {
    /* display: flex;
    gap: 24px;
    flex-wrap: wrap; */
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.webinar-details-relevant_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Chrome / Edge / Safari */
.webinar-details-relevant_list::-webkit-scrollbar {
    display: none;
}

/* Boutons flèches */
.webinar-details-arrow {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #34464a;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webinar-details-arrow:hover {
    opacity: 0.85;
}

.webinar-details-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.webinar-details-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 324px;
    flex: 0 0 324px;
    scroll-snap-align: start;
}

.webinar-card__image img:hover {
    width: 102%;
    height: 102%;
    transition: width 0.3s ease, height 0.3s ease;
}

.webinar-details-header-bloc-mobile {
    display: none;
}

/* --- Between 768px and 1310px --- */
@media (max-width: 1310px) and (min-width: 769px) {
    .webinar-details-header {
        padding: 0px 15px;
    }

    .webinar-details-content-bloc {
        padding: 0px 15px;
    }

    .webinar-details-bottom-panel {
        padding: 0px 15px;
    }

    .webinar-details-relevant-panel {
        padding: 0px 15px;
    }
}

/* --- Mobile --- */
@media (max-width: 768px) {

    /* --- Hero header --- */
    .webinar-details-header-bloc {
        display: none;
    }

    .webinar-details-header-bloc-mobile {
        margin: 0 auto;
        display: flex;
        padding: 16px;
        flex-direction: column;
        gap: 16px;
    }

    .webinar-details-header__breadcrumb {
        font-size: 16px;
    }

    .webinar-details-header__image {
        flex: 0 0 160px;
        max-width: unset;
        overflow: hidden;
        border-radius: 24px;
    }

    .webinar-details-header__title {
        font-size: 24px;
        font-weight: 400;
        line-height: 1.5;
        color: #fff;
        margin-bottom: 32px;
    }

    .webinar-details-header__meta {
        display: grid;
        gap: 16px;
        grid-template-columns: auto auto;
        margin-bottom: 32px;
    }

    .webinar-details-meta__item {
        font-size: 16px;
    }

    .webinar-details-header__buttons {
        gap: 16px;
        flex-direction: column;
    }

    .webinar-details-header__buttons a {
        padding: 6px 10px;
        border-radius: 50px;
        text-decoration: none;
        height: unset;
        line-height: 18px;
        font-size: 16px;
    }

    /* --- Body --- */
    .webinar-details-content-bloc {
        flex-direction: column;
        padding: 0 16px;
    }

    .webinar-details-left-panel {
        width: 100%;
    }

    .webinar-details-right-panel {
        width: 100%;
    }

    /* --- Bottom panel --- Pricing */
    .webinar-details-pricing {
        display: flex;
        justify-content: space-between;
        align-items: start;
        max-width: 1280px;
        margin: auto;
        padding: 16px;
        flex-direction: column;
    }

    .webinar-details-article {
        width: 100%;
        display: grid;
        padding: 0px;
        align-content: start;
        border-bottom: 1px solid #c9c9c9;
        margin-bottom: 16px;
        height: 100%;
        padding-bottom: 16px;
    }

    .webinar-details-article .subtitle {
        font-size: 16px;
        line-height: 20px;
    }

    .webinar-details-price .euro {
        font-size: 20px;
    }

    .webinar-details-price .tva {
        font-size: 12px;
    }

    .webinar-details-button-article {
        padding: 6px 10px;
        border-radius: 50px;
        text-decoration: none;
        height: unset;
        line-height: 18px;
        font-size: 16px;
        width: 100%;
    }

    .webinar-details-separator {
        display: none;
    }

    .webinar-details-abo {
        width: 100%;
        display: grid;
        height: 100%;
        align-content: start;
    }

    .webinar-details-abo>div:nth-child(2) {
        font-size: 20px;
    }

    .webinar-details-button-abo {
        padding: 6px 10px;
        border-radius: 50px;
        text-decoration: none;
        height: unset;
        line-height: 18px;
        font-size: 16px;
        width: 100%;
    }

    /* .webinar-details-relevant_list {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: space-evenly;
    } */

    .webinar-details-arrow {
        display:none;
    }

    /* --- Relevant webinars --- */
    .webinar-details-relevant-panel>div {
        padding: 0px 16px 16px 16px;
    }

    .webinar-details-card {
        width: 45%;
    }
}

/* --- Mobile --- */
@media (max-width: 420px) {
    .webinar-details-card {
        flex: 0 0 300px;
    }
}

/* #endregion */


