.hero-mini-banner.trading-news {
    padding-bottom: 36rem;
}
.news-inner {
    position: relative;
    top: -47rem;
    margin-bottom: -48rem;
}
.news-grid-section .top-card {
    border-radius: 2.1rem;
    background: var(--white);
    padding: 2rem 3rem 3.4rem;
    box-shadow: rgba(0, 0, 0, 0.08) 0 4px 20px 0;
}
.news-grid-section .top-card .heading {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 2.7rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}
.news-grid-section .top-card .img-box {
    margin-bottom: 2.2rem;
    border-radius: 1.6rem;
    overflow: hidden;
}
.news-grid-section .top-card .content {
    margin-bottom: 3.4rem;
}
.news-grid-section .top-card .content h3 {
    color: #4C5359;
    font-weight: 600;
    font-size: 4rem;
    margin-bottom: 1rem;
}
.news-grid-section .top-card .content p {
    color: #6E767E;
    font-weight: 400;
    font-size: 2.6rem;
    margin-bottom: 0;
}

.recent-news-grid {
    margin-top: 8.2rem;
}
.news-box {
    padding: 0;
    box-shadow: rgba(40, 44, 48, 0.12) 0 2px 6px 0;
    border-radius: 1.1rem;
    overflow: hidden;
    margin-bottom: 3.4rem;
    background: var(--white);
}
.news-box .img-box {
    width: 100%;
    height: 39.2rem;
    overflow: hidden;
}
.news-box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-box .content {
    border: 1px solid #C3D0DE;
    border-top: 0;
    padding: 2.4rem 3.4rem;
}
.news-box .content h5 {
    margin-bottom: 0.7rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 3.2rem;
}
.news-box .content p {
    margin-bottom: 2.8rem;
    color: #626D76;
    font-weight: 400;
    font-size: 2.2rem;
}

.hero-mini-banner .banner-content.news-details {
    max-width: 94rem;
}
.news-details-container {
    border-radius: 2.1rem;
    padding: 3.2rem;
}
.news-details-content h1,
.news-details-content h2,
.news-details-content h3{
    margin: 5.6rem 0 2.1rem;
    font-size: 3rem;
    font-weight: 600;
    color: #4C5359;
}

.news-details-content h2 {
    font-size: 2.7rem;
}

.news-details-content h3 {
    font-size: 2.4rem;
}

.news-details-content h1:first-child {
    margin-top: 0;
}

.news-details-content p {
    margin: 0 0 1.3rem;
    font-size: 2.4rem;
    font-weight: 400;
    color: #4A5157;
}

.recent-news-slider {
    margin-top: 10rem;
    margin-bottom: 4rem;
}

.recent-news-slider .news-box .img-box {
    height: 19rem;
}
.recent-news-slider .news-box .content {
    padding: 2.2rem 1.6rem 2.5rem;
}
.recent-news-slider .news-box .content h5 {
    font-size: 2.2rem;
}
.recent-news-slider .news-box .content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.recent-news-slider .news-box .cta .btn {
    border-radius: 3px;
    padding: 1px 2rem 3px;
}
.recent-news-slider .swiper-pagination {
    bottom: -16px !important;
}
.recent-news-slider .swiper-pagination .swiper-pagination-bullet {
    background: #AEBDC8;
    width: 11px;
    height: 11px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 0;
    padding: 0;
    opacity: 1;
}
.recent-news-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--red);
}

/* Media Queries */
@media (max-width: 1600px) {
    .recent-news-grid {
        margin-top: 4.2rem;
    }
    .news-grid-section .top-card {
        padding: 1.4rem 2rem 2.4rem;
    }
    .news-grid-section .top-card .content {
        margin-bottom: 2.4rem;
    }
    .news-grid-section .top-card .content h3 {
        font-size: 3rem;
    }
    .news-grid-section .top-card .content p {
        font-size: 2.2rem;
    }
    .news-box .img-box {
        height: 26rem;
    }
    .recent-news-slider .news-box .img-box {
        height: 17rem;
    }
    .news-box .content {
        padding: 1.4rem 2.4rem 2.4rem;
    }
    .news-box .content h5 {
        font-size: 2rem;
    }
    .news-box .content p {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    .news-details-container {
        padding: 2.4rem;
    }
    .news-details-content h1 {
        margin: 3.6rem 0 1rem;
        font-size: 2.4rem;
    }
    .news-details-content p {
        margin: 0 0 1rem;
        font-size: 2rem;
    }
    .recent-news-slider {
        margin-top: 6rem;
        margin-bottom: 3rem;
    }
    .recent-news-slider .swiper-pagination {
        bottom: -14px !important;
    }
    .recent-news-slider .news-box .content {
        padding: 1.2rem 1.6rem 2rem;
    }
    .recent-news-slider .news-box .content p {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}
@media (max-width: 767px) {
    .hero-mini-banner.trading-news {
        padding-bottom: 32rem;
    }
    .news-grid-section .top-card .content h3 {
        font-size: 2.5rem;
        margin-bottom: .4rem;
    }
    .news-grid-section .top-card .content p {
        font-size: 1.7rem;
        line-height: 1.4;
    }
    .news-grid-section .top-card .content {
        margin-bottom: 1rem;
    }
    .recent-news-grid {
        margin-top: 3.2rem;
    }
}
@media (max-width: 575px) {
    .hero-mini-banner.trading-news {
        padding-bottom: 38rem;
    }
    .news-grid-section .top-card {
        padding: 1.4rem 1.6rem 1.6rem;
    }
    .news-grid-section .top-card .heading {
        margin-bottom: 1.4rem;
    }
    .news-grid-section .top-card .img-box {
        height: 20rem;
        width: 100%;
        overflow: hidden;
        margin-bottom: 1.2rem;
    }
    .news-grid-section .top-card .img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .news-box .img-box {
        height: 20rem;
    }
    .news-box .content {
        padding: 1rem 1.4rem 2rem;
    }
    .news-box .content h5 {
        font-size: 2.2rem;
    }
    .news-box .content p {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    .news-box {
        margin-bottom: 2rem;
    }
    .display-3, .display-3-5 {
        font-size: 3rem;
    }
}
