@import './style.css';


/*  */

.current-affairs-banner {
    margin-top: 50px;
    width: 100%;
    height: auto;
    /* min-height: 152px; */
    /* border-radius: 4px; */
}

.current-affairs-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}


/*  */

.ca-heading {
    font-style: normal;
    font-weight: 600;
    font-size: var(--font-size18);
    line-height: 122%;
    color: var(--black-color);
}

/* .monthSwiper .swiper {
    width: 100%;
    height: 100%;
}

.monthSwiper .swiper-slide {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}



.monthSwiper .swiper-button-next {
    background-image: url(./../icons/swiper-next.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    right: -12px;
    width: 24px;
    height: 24px;

}

.monthSwiper .swiper-button-next::after {
    display: none;
}

.monthSwiper .swiper-button-prev {
    background-image: url(./../icons/swiper-prev.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    left: -12px;
    width: 24px;
    height: 24px;
}

.monthSwiper .swiper-button-prev::after {
    display: none;
} */





.current-affair-months .nav-link {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    font-weight: 400;
    font-size: var(--font-size16);
    line-height: initial;
    color: var(--gray2-color) !important;
    white-space: nowrap;
}

.current-affair-months .nav-link.active {
    background-color: var(--primary-color);
    color: var(--white-color) !important;
}

.current-affair-months {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 40px;
    overflow-x: hidden;
    margin: 0 4px;
}

.current-affair-months .nav-item:not(:last-child) {
    margin-right: 10px;
}

.currentLeft,
.currentRight {
    position: relative;
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.currentLeft {
    background-image: url("./../icons/swiper-prev.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


.currentRight {
    background-image: url("./../icons/swiper-next.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}



/* Current- affairs dates */

.daily-current-tab .tab-content {
    margin-top: 20px;
}

.ca-day-box:not(:last-child) {
    margin-bottom: 10px;
}

.ca-day-box {
    position: relative;
    width: 100%;
    height: 50px;
    background: var(--white-color);
    border-left: 3px solid var(--primary-color);
    box-shadow: 0px 0px 2px rgba(130, 130, 130, 0.5);
    border-radius: 4px;
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}


.check-calender-svg {
    width: 16px;
    height: 16px;
}

.ca-day-box p {
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-size16);
    line-height: 118%;
    color: var(--black-color);
}

.ca-day-box::after {
    content: '';
    display: inline-flex;
    background-image: url('../../icons//megamenu-arrow.svg');
    align-items: center;
    border: none;
    margin-left: auto;
    background-size: contain;
    background-repeat: no-repeat;
    width: 13px;
    height: 12px;

}


.ca-see-more-shade {
    left: 0;
    right: 0;
    bottom: 0;
    height: 65px;
    width: 100%;
    position: absolute;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) -503.85%, rgba(255, 255, 255, 0) -503.79%, var(--white-color) 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.ca-see-more-shade button {
    background: var(--white-color);
    border: 1px solid #F2F2F2;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.08), 0px 7px 15px rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    padding: 5px 20px;
    font-size: var(--font-size16);
    line-height: 118%;
    color: var(--blue1-color);
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.ca-see-more-shade button svg {
    margin-left: 5px;
    width: 16px;
    height: 16px;
}



/* Trending Section */

.ca-trending-section {
    margin-top: 50px;
}

.trending-info-box {
    width: 100%;
    min-height: 100px;
    display: flex;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.trending-img-wrapper {
    width: 190px;
    height: 100%;
}

.trending-img-wrapper img {
    width: 190px;
    height: 100%;
    object-fit: cover;
}


.trending-info-content {
    padding: 10px;
    width: 100%;
}


.t-date-calender {
    width: 16px;
    height: 16px;
}


.trending-heading {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-size16);
    line-height: 118%;
    color: var(--black-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.trending-info-content p {
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-m-size14);
    line-height: initial;
    margin-top: 10px;
    /* Gray 2 */

    color: var(--gray2-color);
        /*  */
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
}

.trending-info-content span {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-m-size12);
    line-height: initial;

    /* Gray 2 */

    color: var(--gray2-color);
}


.trending-info-box:not(:last-child) {
    margin-bottom: 10px;
}



/* trending videos */

.ca-video-box {
    width: 100%;
    min-height: 230px;
    border-radius: 4px;
}

.ca-video-box-image {
    width: 100%;
    min-height: 150px;
    object-fit: fill;
}

.ca-video-box-content {
    padding: 10px;
}

.ca-video-title {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-m-size16);
    line-height: 118%;
    color: var(--black-color);
    width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}


.ca-video-box-content span {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-m-size12);
    line-height: initial;
    color: var(--gray3-color);
}


.topic-box {
    width: 100%;
    min-height: 140px;
    background: var(--white-color);
    box-shadow: 0px 0px 2px rgba(130, 130, 130, 0.5);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.topic-box img {
    width: 60px;
    height: 60px;
}

.topic-box p {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-size14);
    line-height: initial;
    /* identical to box height */

    margin-top: 10px;
    color: var(--black-color);
}




/* -----------left side -------- */

.ca-heading-2 {
    font-style: normal;
    font-weight: 600;
    font-size: var(--font-m-size16);
    line-height: 118%;
    color: var(--black-color);
}

.ca-box-shade {
    background: var(--white-color);
    width: 100%;
    min-height: 100px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.08), 0px 7px 15px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    padding: 16px;
}

.editorial-box {
    display: flex;
}

.editorial-box:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.editorial-box img {
    width: 140px;
    height: 100%;
    object-fit: fill;
}

.editorial-box h6 {
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-m-size14);
    line-height: initial;

    color: var(--black-color);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.editorial-box span {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-m-size12);
    line-height: initial;
    /* identical to box height */


    /* Gray 2 */

    color: var(--gray2-color);
}

.editorial-box-content {
    padding: 10px;
}


.ca-view-all-btn {
    width: 100%;
    height: 37px;
    border: 1px solid var(--primary-color);
    background-color: var(--white-color);
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-m-size14);
    line-height: initial;
    /* identical to box height */
    color: var(--primary-color);
    border-radius: 4px;
    margin-top: 20px;
}


.quiz-start-box:not(:last-child) {
    margin-bottom: 20px;
}


.quiz-start-box {
    width: 100%;
    min-height: 100px;
    background: var(--white-color);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.08), 0px 7px 15px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    padding: 10px;
    border: 1px solid transparent;
}

.quiz-start-box:hover {
    border: 1px solid var(--blue1-color);
}

.quiz-start-box:hover .quiz-start-btn {
    background: var(--blue1-color);
    color: var(--white-color);
}


.quiz-start-box-top {
    display: flex;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}


.quiz-start-box img {
    width: 40px;
    height: 40px;
}

.quiz-start-box h6 {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-size16);
    line-height: 118%;
    color: var(--black-color);
}

.quiz-start-box p {
    font-weight: 400;
    font-size: var(--font-m-size12);
    line-height: initial;
    /* identical to box height */


    /* Gray 2 */

    color: var(--gray2-color);
}

.quiz-start-box span {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-m-size12);
    line-height: initial;
    /* identical to box height */


    /* Gray 1 */

    color: #333333;
}

.quiz-start-icon {
    width: 16px;
    height: 16px;
}


.quiz-start-btn {
    width: 112px;
    height: 30px;
    background-color: var(--white-color);
    border: 1px solid var(--blue1-color);
    border-radius: 4px;
    font-weight: 400;
    font-size: var(--font-m-size14);
    line-height: initial;
    color: var(--blue1-color);
}


/* free quiz */
.free-quiz-boxes {
    margin-top: 20px;
}

.free-quiz-box:not(:last-child) {
    margin-bottom: 20px;
}

.free-quiz-box {
    display: flex;
    padding: 15px;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    position: relative;
}

.free-quiz-box .free-quiz-label {
    font-weight: 400;
    font-size: var(--font-m-size14);
    line-height: initial;
    color: var(--white-color);
    background: #1AB420;
    border-radius: 3px;
    width: 50px;
    height: 18px;
    position: absolute;
    top: -9px;
    left: 15px;
    display: flex;
    justify-content: center;
}

.free-quiz-box img {
    width: 50px;
    height: 50px;

}

.free-quiz-box h6 {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-size16);
    line-height: 118%;

    color: var(--black-color);
}

.free-quiz-box span {
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-m-size14);
    line-height: initial;
    /* identical to box height */


    /* Gray 1 */

    color: #333333;
}


/* archieve  section*/

.archive-list {
    list-style: none;
}

.archive-list li:not(:last-child) {
    margin-bottom: 10px;
}

.archive-list a {
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-m-size16);
    line-height: 118%;
    color: var(--blue1-color);
}

/* Media Queries */

@media(min-width:1400px) {

    /* custom Grid */

    /* .col-xxl-8.current-affair-grid {
        width: 70%;
    }

    .col-xxl-4.current-affair-grid {
        width: 30%;
    } */

}


@media(max-width:1200px) {
    .trending-img-wrapper {
        width: 160px;
        height: 100%;
    }

    .trending-img-wrapper img {
        width: 160px;
        height: 100%;
    }
}


@media(max-width:576px) {

    .ca-trending-section {
        margin-top: 40px;
    }

    .trending-info-box {
        width: 100%;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
    }


    .trending-img-wrapper {
        width: 100%;
        height: 168px;
    }


    .trending-img-wrapper img {
        width: 100%;
        height: 168px;
    }


    .trending-heading {
        font-style: normal;
        font-weight: 500;
        font-size: var(--font-m-size16);
        line-height: 118%;
        color: var(--black-color);
        white-space: initial;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }


    .current-affairs-banner {
        height: auto;
        margin-top: 20px;
        width: 100%;
        /* min-height: initial; */
        /* border-radius: 4px; */
    }

    .ques-span,
    .time-span {
        display: none;
    }
}


@media(max-width:400px) {
    .ca-trending-section {
        /* margin-top: 20px; */
    }
/*
    .breadcrumb-ellipsis-1 {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 67px;
    }

    .breadcrumb-ellipsis-2 {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 80px;
    } */

    .breadcrumb-flex-ellipsis {
        flex-wrap: nowrap;
    }
}
.filter-ca{
    display: flex;
    gap: 10px;
}
.filter-ca select{
    padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}
.dot{
    height: 5px;
    width: 5px;
    background-color: var(--gray2-color);
    border-radius: 50%;
}
.load-pageBtn {
    width: 134px;
    height: 39px;
    background: var(--primary-color);
    border-radius: 4px;
    border: none;
    color: var(--white-color);
    font-size: var(--font-size16);
    margin: 24px auto;
}
