.hero-section {
    padding: 64px 0 74px;
    position: relative;
}

h1 {
    color: #001f3f;
    text-align: center;
    text-transform: uppercase;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.0007em;
}

h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #001f3f;
    text-align: center;

}

.webinar.hero-section p {
    padding: 0;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
}

.webinar__video {
    padding: 64px 0 0;
    text-align: center;
}

.webinar__video video {
    width: 100%;
    max-width: 1100px;
}

.video-preview {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;

    img {
        width: 100%;
        display: block;
    }
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 80px;
    height: 80px;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

/* треугольник */
.video-play-btn::after {
    content: '';
    display: block;

    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;

    margin-left: 4px;
}

/* MODAL */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center; /* ← это ключ */
}

.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.video-modal__content {
    position: relative;
    max-width: 900px;
    margin: auto;
    width: 100%;
    z-index: 2;
}

.video-modal video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.video-modal__content {
    position: relative;
    z-index: 2;
    width: min(100% - 32px, 1100px);
    max-width: 1100px;
}

.video-modal__embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-modal__embed iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.video-modal__close {
    position: absolute;
    top: -40px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
    h1 {
        margin-bottom: 10px;
        font-size: 32px;
        line-height: 40px;
    }

    h4 {
        font-size: 22px;
    }
}

/* start Takeaways section */
.webinar-takeaways--dark {
    background: #01172B;
    padding: 50px 0;
}

.webinar-takeaways--dark .webinar-takeaways__title {
    margin: 0 0 40px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
    text-align: center;
}

.webinar-takeaways--dark .webinar-takeaways__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.webinar-takeaways__icon {
    width: 32px;
    height: 32px;
    min-width: 25px;
    display: block;
    margin-bottom: 20px;
    background-color: #C3D200;

    -webkit-mask-image: url('../../assets/images/icon-home1.svg');
    mask-image: url('../../assets/images/icon-home1.svg');

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.webinar-takeaways--dark .webinar-takeaways__item {
    color: #ffffff;
}
.webinar-takeaways--dark .webinar-takeaways__icon {
    color: #f4b731;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 20px;
}

.webinar-takeaways--dark .webinar-takeaways__text {
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
}

@media (max-width: 991px) {

}

@media (max-width: 767px) {
    .webinar-takeaways--dark {
        padding: 56px 0;
    }
    .webinar-takeaways--dark .webinar-takeaways__grid {
        gap: 20px;
    }

    .webinar-takeaways--dark .webinar-takeaways__text {
        font-size: 17px;
    }


    .webinar-takeaways--dark .webinar-takeaways__title{
       margin-bottom: 20px
    }


    .webinar-takeaways--dark .webinar-takeaways__item{
        display: flex;
        gap: 15px;
    }
}
/* end Takeaways section */


/* start webinar-speakers section */
.webinar-speakers {
    background: #c8d400;
    padding: 80px 0 80px;
}

.webinar-speakers__top {
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}

.webinar-speakers__title {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.webinar-speakers__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.webinar-speakers__card {
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: space-between;
}

.webinar-speakers__image {
    aspect-ratio: 1.5;
    background: #0b254d;
    overflow: hidden;
}

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

.webinar-speakers__content {
    padding: 24px 24px 28px;
    background: #01172B;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.webinar-speakers__name {
    margin: 0;
    color: #c8d400;
    font-size: 19px;
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
}

.webinar-speakers__role {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .webinar-speakers {
        padding: 80px 0 90px;
    }

    .webinar-speakers__name    {
        font-size: 12px;
    }
    .webinar-speakers__role{
        font-size: 12px;
    }
   
}

@media (max-width: 767px) {
    .webinar-speakers.container{
        max-width: 500px;
    }
    .webinar-speakers {
        padding: 60px 0 70px;
    }

    .webinar-speakers__top {
        margin-bottom: 32px;
    }

    .webinar-speakers__grid {
        grid-template-columns: 1fr;
    }

    .webinar-speakers__name    {
        font-size: 16px;
    }

    .webinar-speakers__card {
        border-radius: 24px;
    }

    .webinar-speakers__content {
        padding: 20px 20px 24px;

    }

    .webinar-speakers__role {
        font-size: 16px;
    }

    .webinar-takeaways--dark .webinar-takeaways__grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* end of webinar-speakers section */


/* end of webinar-speakers section */

.webinar-cta {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background: #ececec;
}

.webinar-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.webinar-cta__title {
    margin: 0 0 40px;
}

.webinar-cta__title-main,
.webinar-cta__title-highlight {
    display: inline-block;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
    color: #001b3d;
}

.webinar-cta__title-main {
    margin-bottom: 8px;
}

.webinar-cta__title-highlight {
    padding: 14px 32px 18px;
    color: #ffffff;
    background: #00a63c;
    border-radius: 24px;
}

.webinar-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 70px;
    padding: 16px 25px;
    border-radius: 24px;
    background: #c8d400;
    color: #001b3d;
    text-decoration: none;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.webinar-cta__button-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: block;
    background-color: #001b3d;

    -webkit-mask-image: url('../../assets/images/FuturePlus-Navy-Arrow.png');
    mask-image: url('../../assets/images/FuturePlus-Navy-Arrow.png');

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.webinar-cta__button:hover {
    transform: translateY(-2px);
}

.webinar-cta__button-icon {
    font-size: 34px;
    line-height: 1;
}

.webinar-cta__shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.webinar-cta__shape img {
    display: block;
    width: 100%;
    height: auto;
}

.webinar-cta__shape--left {
    left: 0;
    bottom: 40px;
    width: 260px;
}

.webinar-cta__shape--right {
    right: 0;
    top: 60px;
    width: 320px;
}

@media (max-width: 991px) {
    .webinar-cta {
        padding: 50px 0;
    }

    .webinar-cta__title-main,
    .webinar-cta__title-highlight {
        font-size: 30px;
    }

    .webinar-cta__shape--left {
        width: 180px;
    }

    .webinar-cta__shape--right {
        width: 220px;
    }
}

@media (max-width: 767px) {

    .webinar-cta__title-main,
    .webinar-cta__title-highlight {
        font-size: 30px;
    }

    .webinar-cta__title-highlight {
        padding: 10px 18px 12px;
        border-radius: 18px;
    }

    .webinar-cta__button {
        min-height: 72px;
        padding: 16px 24px;
        font-size: 18px;
        border-radius: 18px;
    }

    .webinar-cta__shape--left,
    .webinar-cta__shape--right {
        opacity: 0.35;
    }

    .webinar-cta__title {
        margin: 0 0 15px;
    }
}


.webinar-resources {
    padding: 70px 0;
    background: #ffffff;
}

.webinar-resources__top {
    max-width: 820px;
    margin: 0 auto 35px;
    text-align: center;
}

.webinar-resources__title {
    margin: 0 0 16px;
    color: #001f3f;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.webinar-resources__text {
    margin: 0;
    color: #001f3f;
    font-size: 16px;
    line-height: 1.45;
}

.webinar-resources__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.webinar-resources__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: #01172B;
}

.webinar-resources__image {
    aspect-ratio: 16 / 9;
    background: #0b254d;
    overflow: hidden;
}

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

.webinar-resources__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    gap: 10px;
    color: #ffffff;
}

.webinar-resources__card-title {
    margin: 0;
    color: #c8d400;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    padding: 0;
    min-height: 48px;
}

.webinar-resources__card-text {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
}

.webinar-resources__link {
    color: #c8d400;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
}

.webinar-resources__link:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .webinar-resources {
        padding: 56px 0;
    }

    .webinar-resources__top {
        margin-bottom: 32px;
        text-align: left;
    }

    .webinar-resources__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .webinar-resources__card {
        border-radius: 24px;
    }

    .webinar-resources__content {
        padding: 20px;
    }

    .webinar-resources__card-title {
        font-size: 20px;
        min-height: unset;
    }
}


