.learn-forex-list {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(224, 230, 236, 0.2);
    border-radius: 11px;
    padding: 2.4rem 3.2rem 3rem;
    margin: 2.6rem 0;
}

.learn-forex-list li {
    list-style: none;
    margin-left: 7rem;
    position: relative;
    border-bottom: 1px solid rgba(224, 230, 236, 0.2);
    padding: 1.4rem 0;
    max-width: 40rem;
    font-size: 2rem;
    color: var(--white);
}

.learn-forex-list li::before {
    content: url('../img/svg-icons/tick-shape-white.svg') !important;
    position: absolute;
    top: 1.9rem;
    left: -4rem;
}

.partner-3 {
    background: #E6F0FA;
}

.upcoming-webinars-slider {
    margin-top: 3rem;
}

.upcoming-webinars-slider .inner {
    background: var(--white);
    border-radius: 4px;
    padding: 0.8rem 1rem;
}

.upcoming-webinars-slider h4 {
    color: #5C6874;
    margin-bottom: 1rem;
    padding-bottom: 4px;
    border-bottom: 1px solid #E3ECF0;
}

.upcoming-webinars-slider .swiper-slide img {
    border-radius: 4px;
    height: 10rem;
    width: 100%;
    object-fit: cover;
}

.upcoming-webinars-slider .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 1rem;
    line-height: 1;
}

.upcoming-webinars-slider .swiper-pagination-bullet {
    padding: 0;
    margin: 0 2px !important;
    opacity: 1;
    background: #AEBDC8;
}

.upcoming-webinars-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--red);
}

.open-webinar-box {
    background: linear-gradient(230deg, #C6D2DF, rgba(198, 210, 223, 0));
    position: relative;
    z-index: 1;
    margin-left: auto;
    max-width: 40rem;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) -40px 53px 28px -27px;
}
.open-webinar-box::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: auto;
    height: auto;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 17px;
    overflow: hidden;
    background: var(--white);
}
.open-webinar-box .presenter-info {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.6rem;
}
.open-webinar-box .presenter-info::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: .2;
    background: linear-gradient(to right, rgba(214, 2, 2, 0.29), rgba(255, 0, 0, 0));
}
.open-webinar-box .presenter-info .avatar {
    text-align: center;
}
.open-webinar-box .presenter-info .avatar img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}
.open-webinar-box .presenter-info .name {
    margin-top: 1rem;
    max-width: 188px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}
.open-webinar-box .presenter-info .name h5 {
    color: #454E57;
    marign-bottom: 0;
}
.open-webinar-box .presenter-info .name p {
    color: #707F8C;
    font-size: 1.6rem;
    font-width: 400;
    margin-bottom: 0;
}
.open-webinar-box .event-info {
    padding: 3.2rem 2rem;
}
.open-webinar-box .event-info .box {
    max-width: 20rem;
    margin: 0 auto 3rem;
}
.open-webinar-box .event-info .inner {
    padding-bottom: 1.4rem;
    position: relative;
}
.open-webinar-box .event-info .inner::after {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: auto;
    content: url("../img/svg-icons/icon-32.svg");
}
.open-webinar-box .event-info .inner .icon {
    margin-right: 1rem;
    position: relative;
    top: 3px;
}
.open-webinar-box .event-info .inner .text {
    line-height: 1.2;
}
.open-webinar-box .event-info .inner .text p {
    color: #BA0202;
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.open-webinar-box .event-info .inner .text small {
    display: block;
    color: #3B4855;
    font-weight: 500;
    font-size: 1.5rem;
}
.open-webinar-box .event-info .cta-box {
    text-align: center;
    margin-top: 4rem;
}

.past-webinars-section {
    background: #E6F0FA;
}
.past-webinars-slider {
    margin-top: 10rem;
}
.webinar-box {
    border: 1px solid #C3D0DE;
    box-shadow: rgba(40, 44, 48, 0.12) 0 2px 6px 0;
    background: var(--white);
    border-radius: 11px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1rem;
}
.webinar-box .img-box {
    width: 100%;
    height: 19rem;
    position: relative;
    border-bottom: 4px solid var(--red);
}
.webinar-box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.webinar-box .img-box .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--white);
    transform: translate(-50%, -50%) scale(1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    outline: 5px solid rgba(255, 255, 255, 0.6);
}
.webinar-box:hover .img-box .play-btn {
    transform: translate(-50%, -50%) scale(1.2);
}
.webinar-box .content-box {
    padding: 1.5rem 1.6rem;
}
.webinar-box .content-box .title {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    padding-bottom: 6px;
    border-bottom: 1px solid #E1E6EB;
    margin-bottom: 1.6rem;
    line-height: 1.2;
    min-height: 6rem;
}
.webinar-box .content-box .event-date-time .box {
    padding-bottom: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
}
.webinar-box .content-box .event-date-time .box:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.webinar-box .content-box .event-date-time .box p {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
    color: #5E6974;
}
.webinar-box .content-box .event-date-time .box::before {
    content: url("../img/svg-icons/icon-33.svg");
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: auto;
}
.webinar-box .content-box .event-date-time .box:last-child::before {
    display: none;
}
.webinar-box .content-box .event-date-time .box span {
    color: var(--red);
}

.past-webinars-slider .swiper-pagination {
    position: relative;
    line-height: 1;
    margin-top: 5rem;
}
.past-webinars-slider .swiper-pagination .swiper-pagination-bullet {
    opacity: 1;
    margin: 0 2px !important;
    background: #AEBDC8;
    width: 11.6px;
    height: 11.6px;
}
.past-webinars-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--red);
}

.videos-wrapper {
    margin-bottom: 8rem;
}
.videos-wrapper:last-child {
    margin-bottom: 0;
}
.view-all {
    color: var(--red);
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.view-all svg {
    margin-left: 4px;
}

#videoPlayModal .modal-body {
    position: relative;
}
#videoPlayModal .modal-body .overlay-loading {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

#videoPlayModal .modal-body iframe {
    z-index: 1;
    position: relative;
    width: 100% !important;
    height: 50rem !important;
}

.ebooks .learn-forex-list {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    margin-top: 2rem;
}
.ebooks .learn-forex-list li {
    font-size: 1.8rem;
    border-bottom: 0;
    margin-left: 3.5rem;
    max-width: 100%;
    padding: 1rem 0;
}
.ebooks .learn-forex-list li::before {
    top: 1.5rem;
    left: -3.5rem;
}

.rules-grid {
    margin-top: 7rem;
}
.rules-grid .box {
    margin-bottom: 5rem;
}
.rules-grid .box:last-child {
    margin-bottom: 0;
}
.rules-grid h6 {
    font-size: 2.7rem;
    font-weight: bold;
    color: #4D545B;
    margin-bottom: 1.2rem;
}
.rules-grid p {
    font-size: 1.8rem;
    font-weight: 400;
    color: #76818D;
    margin-bottom: 0;
}

.trading-participants-grid .box {
    display: flex;
    border-radius: 11px;
    background: #F6F8FA;
    overflow: hidden;
    box-shadow: rgba(23, 20, 20, 0.3) 1px 2px 6px 0;
    margin-bottom: 3rem;
}
.trading-participants-grid .box:last-child {
    margin-bottom: 0;
}
.trading-participants-grid .box > * {
    flex: 1;
}
.trading-participants-grid .box .icon-box {
    max-width: 15rem;
    background: var(--white);
    text-align: center;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trading-participants-grid .box .icon-box img {
    width: 6.1rem;
    height: 6.1rem;
}
.trading-participants-grid .box .text {
    font-size: 3rem;
    font-weight: bold;
    color: #3B4855;
    padding: 2.8rem 3rem 3.4rem;
    line-height: 1;
}

.currency-pair-table {
    margin-top: 7rem;
}

.currency-pair-table thead {
    background: rgba(248, 253, 255, 0.15);
}

.currency-pair-table thead th {
    border-bottom: 0;
    border-top: 0;
}
.currency-pair-table thead th:last-child {
    border-left: 2px solid rgba(211, 218, 226, 0.39);
}
.currency-pair-table thead th:first-child {
    background: rgba(216, 227, 237, 0.17);
}
.currency-pair-table thead th,
.currency-pair-table tbody td {
    padding: 3rem 9rem;
    font-size: 1.7rem;
    color: #ECF4FF;
    font-weight: 500;
}
.currency-pair-table tbody td {
    background: rgba(255, 255, 255, 0.31);
    border: 2px solid #ACB8C7;
}

/* Media Queries */
@media (max-width: 1600px) {
    .past-webinars-slider {
        margin-top: 6rem;
    }
    .past-webinars-slider .swiper-pagination {
        margin-top: 3rem;
    }
    .videos-wrapper {
        margin-bottom: 6rem;
    }
    .rules-grid {
        margin-top: 5rem;
    }
    .rules-grid .box {
        margin-bottom: 4rem;
    }
    .trading-participants-grid .box .text {
        font-size: 2.4rem;
    }
    .currency-pair-table {
        margin-top: 5rem;
    }
    .currency-pair-table thead th,
    .currency-pair-table tbody td {
        padding: 2.7rem 7rem;
    }
}

@media (max-width: 1199px) {
    .currency-pair-table thead th, .currency-pair-table tbody td {
        padding: 2rem 5rem;
    }
}

@media (max-width: 767px) {
    .open-webinar-box {
        margin-right: auto;
    }
    .past-webinars-slider {
        margin-top: 3rem;
    }
    .webinar-box .content-box .title {
        min-height: auto;
    }
    .videos-wrapper {
        margin-bottom: 4rem;
    }
    #videoPlayModal .modal-body iframe {
        width: 100% !important;
        height: 32rem !important;
    }
    .rules-grid {
        margin-top: 3rem;
    }
    .rules-grid .box {
        margin-bottom: 2rem;
    }
    .trading-participants-grid .box .text {
        font-size: 1.8rem;
    }
    .trading-participants-grid .box {
        margin-bottom: 2rem;
    }
    .currency-pair-table {
        margin-top: 4rem;
    }
    .currency-pair-table thead th, .currency-pair-table tbody td {
        padding: 1.4rem 1.8rem;
    }
}
