.webinar-hero-section {
    padding: 260px 0 0 0;
    background-color: rgba(229, 229, 229, 1);
}

.section-title {
    margin-bottom: 20px;
    text-transform: uppercase;
    color: rgba(54, 54, 54, 1);
    font-size: 60px;
    line-height: 80px;
}

.section-description {
    margin-bottom: 40px;
    color: rgba(106, 106, 106, 1);
}

.webinar-grid-section {
    padding: 60px 0;
}

.webinar-item {
    margin-bottom: 30px;
    transition: opacity 0.3s ease;
    opacity: 1;
    padding-left: 0;
    padding-right: 0;
}

.webinar-item.hidden {
    opacity: 0;
    display: none;
}

.page-numbers {
    gap: 18px;
    display: flex;
}

.webinar-card {
    
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 1320px;
    row-gap: 24px;

    .video-wrapper {
        /* background-color: #DAC2B8; */
        background-color: #BACDFF;
        padding: 40px;
        display: flex;
        flex-wrap: wrap;
        column-gap: .5rem;
        @media (max-width: 575px) { 
            padding: 20px;
            
            align-items: start;
            /* flex-direction: column; */
        }
    }

    .webinar-button {
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1.5px;
        border: 1px #00000066 solid;
        background: #0000001F;
        color: #363636 !important;
        transition: color 0.3s ease;
        border-radius: 8px;
        min-width: 120px;
        @media (max-width: 767px) { 
            order: 2;
        }

        &:hover {
            background: #00000015;
        }

        

        .play-icon {
            margin-left: 1rem;
        }
    }
}

.webinar-images-container {
    flex-basis: 100%;
    min-height: 308px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
    @media (max-width: 991px) {
        min-height: auto;
        align-items: start;
    }
    @media (max-width: 575px) {
        min-height: auto;
        align-self: stretch;
        margin-top: 20px;
        margin-bottom: 30px;
        column-gap: 6px;
    }
    .webinar-speaker-card {
        height: 100%;
    }
    .webinar-speaker-info {
        .speaker-name {
            font-family: 'Simula', sans-serif;
            font-size: 18px;
            margin-bottom: .25rem;
            font-style: italic;
        }
        .speaker-title {
            font-size: 12px;
        }
    }
    .webinar-image-wrapper{
        max-width: 325px;
        width: 100%;
        margin-bottom: 1rem;
        @media (max-width: 575px) {
            max-width: 96px;
        }
        &.placeholder {
            max-width: 200px;
            background-color: transparent;
            @media (max-width: 575px) {
                max-width: 50px;
            }
            .webinar-image {
                filter: invert(.7);
                opacity: .25;
            }
        }
        .webinar-image {
            border-radius: 7px;
            filter: grayscale(1);
            width: 100%;
            height: auto;
            aspect-ratio: 1 / 1;
            object-fit: cover;

            @media (max-width: 575px) { 
                aspect-ratio: 5/9;
                border-radius: 2px;
            }
        }
    }
}


.webinar-title-wrapper {
 

    .category {
        font-size: 12px;
        min-width: 90px;
        @media (max-width: 575px) {
            font-size: 10px;
            margin-bottom: 10px;
            /* flex-basis: 100%; */
        }
    }
}
.webinar-title {
    color: rgba(54, 54, 54, 1);
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    text-transform: uppercase;
     @media (max-width: 575px) {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 1rem;
    }
}

.webinar-excerpt {
    color: #363636;
    margin-bottom: 0;
    font-family: 'Simula';
    font-size: 14px;
    line-height: 24px;

    @media (max-width:575px) {
        font-size: 12px;
        line-height: 16px;
    }
}
.the-journal-section {
    .section-button {
        margin: 0 0 32px 0;
    }
    @media (max-width: 575px) {
        padding-left: 1rem !important;
        padding-top: 43px !important;
    }
}
.mobile-separator {
    @media (max-width: 575px) {
        color: #bbb;
        opacity: 1;
    }
}

.journal-title {
    font-family: 'Simula';
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 32px;
}

.journal-button-link {
    margin-bottom: 32px;
}

.category-filters {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: flex-start;
    margin-bottom: 40px;
    margin-top: 20px;
}

.category-filter {
    padding: 8px 20px;
    margin: 0 8px 16px 0;
    border: none;
    background: rgba(247, 247, 247, 1);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-size: 14px;
    color: #363636;
    position: relative;
}

.category-filter.active {
    background: #363636;
    color: white;
    padding-left: 35px;
}

.category-filter.active:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    line-height: 0;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #ffffff;
}

@media (max-width: 768px) {
    .category-filters {
        /* justify-content: center; */
        margin-bottom: 0;
    }
}

/* Pagination Styles */
.webinar-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-number {
    display: inline-flex;
    justify-content: center;
    width: 12px;
    transition: all 0.3s ease;
    font-size: 14px;
    align-items: center;
}

.page-number.active {
    border-bottom: solid 1px;
}

.page-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(54, 54, 54, 1);
    transition: all 0.3s ease;
}

.page-arrow:hover {
    background: var(--color-black);
}

.page-arrow svg {
    width: 16px;
    height: 16px;
}

.page-arrow.disabled {
    opacity: 0.5;
    background: rgba(247, 247, 247, 0.5);
    cursor: not-allowed;
    pointer-events: none;
}

.page-arrow.disabled svg path {
    stroke: #999;
}

@media (max-width: 768px) {
    .section-title {
        text-align: center;
        font-size: 32px;
        line-height: 40px;
    }
    .section-description {
        text-align: center;
        max-width: 70%;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    #webinars-grid {
        padding: 1rem!important;
    }
    .webinar-hero-section {
        padding-top: 180px;
    }
}

.email-subscription-section .email-subscription-card {
    background: #f7f7f7;
}


/* START - single webinar */

.single-webinar {
    padding-top: 140px;
}

.single-webinar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: #00000033 solid 1px;
    margin: 0 60px;
}




.single-webinar-title {
    max-width: 890px;
    font-size: 60px;
    line-height: 80px;
    padding-bottom: 24px;
    text-transform: uppercase;
    text-align: center;
    color: #363636;
    font-family: "Basis Grotesque", sans-serif;
}

.single-webinar-subtitle {
    max-width: 807px;
    font-size: 24px;
    line-height: 32px;
    padding-bottom: 60.25px;
    text-align: center;
    color: #363636;
    font-family: 'Simula';
}

.single-webinar-interview {
    font-size: 14px;
    line-height: 24px;
    color: #363636;
    font-family: "Basis Grotesque", sans-serif;
}

.single-webinar-interview:nth-of-type(2) {
    padding-bottom: 60.25px;
}

.webinar-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
}

.webinar-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.webinar-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.webinar-play-btn:hover {
    opacity: 0.8;
}

.summary-section {
    max-width: 720px;
    padding: 92.5px 0;
    color: #363636;
    width: 100%;
}

.summary-title {
    font-size: 24px;
    line-height: 32px;
    font-family: "Basis Grotesque", sans-serif;
    padding-bottom: 16px;
}

.summary-content {
    font-size: 14px;
    line-height: 24px;
    font-family: 'Simula';
}

.journal-header-container {
    padding-left: calc((100% - 1320px) / 2);
    margin-bottom: 56px;
}

.journal-title {
    font-size: 32px;
    line-height: 40px;
    font-family: 'Simula';
    color: #363636;
}

.explore-btn {
    width: 186px;
    height: 40px;
    padding: 16px 54px;
    border-radius: 140px;
    border: none;
    background: #363636;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 16px;
    font-family: "Basis Grotesque", sans-serif;
    letter-spacing: 1.6px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .single-webinar-content {
        margin: 0 16px;
    }
    .single-webinar {
        padding-top: 114px;
    }

    .single-webinar-title {
        font-size: 35px;
        line-height: 45px;
    }

    .single-webinar-subtitle {    
        font-size: 16px;
        line-height: 22px;
        padding-bottom: 28.25px;
    }

    .single-webinar-interview:nth-of-type(2) {
        padding-bottom: 28.25px;
    }

    .summary-section {
        padding: 28.25px 0 54px 0;
    }

    .summary-title {
        font-size: 18px;
        padding-bottom: 4px;
    }

    .summary-content {
        line-height: 20px;
    }

    .journal-header-container {
        padding-left: 16px;
        margin-bottom: 40px;
    }

    .journal-title {
        font-size: 24px;
        line-height: 32px;
        font-family: 'Simula';
        color: #363636;
    }

    .explore-btn {
        width: 133px;
        height: 32px;
        padding: 12.5px 40px;
        border: none;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .journal-header-container {
        padding-left: calc((100% - 510px) / 2);
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .journal-header-container {
        padding-left: calc((100% - 720px) / 2);
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .journal-header-container {
        padding-left: calc((100% - 960px) / 2);
    }
}

@media (min-width: 1201px) and (max-width: 1401px) { 
    .journal-header-container {
        padding-left: calc((100% - 1120px) / 2);
    }
}

/* End - single webinar */