:root {
    --primary: #1d7952;
}

.home-header {
    padding: 0.5rem 0rem;
    border-bottom: 0.1rem solid rgba(128, 128, 128, 0.128);
    position: relative;
}
.article-header .container {
    width: 55% !important;
    margin: auto;
}

.article-footer figure{
    /* display : none; */
 }

.article-footer nav {
    margin: auto;
}

.home-header .menu-icon {
    position: absolute;
    left: 1rem;
    top: 1.3rem;
    font-size: 1.5rem;
    color: #090d4a;
}

.home-header .form {
    width: 100%;
    background-color: #ff7c08;
    border-radius: 1.5rem;
}

.home-header .form input {
    display: block;
    border: none;
    padding: 0.8rem 1rem;
    background: none;
    outline: none;
    color: white;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    width: 95%;
}

.home-header .form input::placeholder {
    color: white;
    font-size: 1rem;
}

.home-header .form img {
    display: block;
    width: 1.3rem;
}

/* hero sec */
.hero-sec {
    background-position: center;
    background-size: cover;
    max-height: 32rem;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-sec.category-sec {
    height: 15vh;
}

.hero-sec .bannersec {
    height: 100%
}

.about-sec {
    max-height: 32rem !important;
    height: 100vh !important;
}

.home-post-banner-content {
    margin: 0 auto;
    height: fit-content;
}

.home-post-banner-content p {
    font-size: 2.2rem;
    color: white;
}

.home-post-banner-content h2 {
    font-size: 3.3rem;
    color: #e2ed57;
    font-weight: 700;
    margin-top: 0.8rem;
}

.home-post-banner-content span {
    color: white;
    font-weight: lighter !important;
}

.home-post-banner-content .input-div {
    display: flex;
    margin-top: 2rem;
}

.home-post-banner-content input {
    width: 100%;
    padding: 1rem 1.4rem;
    border-radius: 2.5rem;
    border: 4px solid transparent;
    outline: none;
    letter-spacing: 0.1rem;
    font-size: 1rem;
    color: black;
}

.home-post-banner-content button {
    border: none;
    background: none;
    background-color: var(--primary);
    padding: 0 1.5rem;
    border-top-right-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
    margin-left: -2rem;
}

.home-post-banner-content img {
    width: 1.6rem;
}

/* categories */
.categories-parent {
    width: 65%;
    margin-top: 3rem;
}

.categories-parent h3 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 600;
}

.categories {
    margin-top: 2rem;
}

.categories figure {
    width: 8rem;
}

.categories figure img {
    margin: auto;
    display: block;
}

.categories p {
    text-align: center;
    margin-top: 0.8rem;
    font-size: 1rem;
    text-transform: capitalize;
}

/* Latest articles */
.latest-articles {
    width: 55%;
    margin: auto;
    margin-top: 3rem;
}

.latest-articles-1 {
    width: 55%;
    margin: auto;
    margin-top: 3rem;
}

.latest-articles h3 {
    font-size: 2rem;
    font-weight: 600;
}

.latest-articles-child article {
    margin-top: 2rem;
}

.latest-articles .latest-articles-child figure {
    /* background: url(/assets/article/article.jpeg) no-repeat;
    background-position: center;
    background-size: cover; */
    max-height: 9.5rem;
    max-width: 10rem;
    min-width: 10rem;
    height: 100vh;
    width: 100%;
    border-radius: 0.5rem;
}

.latest-articles-child h4 {
    font-size: 1.2rem;
    margin-left: 1rem;
    font-weight: 700;
}

.latest-articles a.readmore {
    border: 3px solid rgba(0, 0, 0, 0.765);
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    display: block;
    width: fit-content;
    margin: auto;
    margin-top: 3rem;
    font-weight: 600;
}

/* carousel-sec */
.carousel-sec {
    margin-top: 4rem;
}

.carousel-sec #wrapper {
    width: 100%;
    width: 55%;
    margin: auto;
    position: relative;
}

.carousel-sec #wrapper h4 {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.carousel-sec #carousel {
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel-sec #carousel::-webkit-scrollbar {
    height: 0;
}

.carousel-sec #prev,
.carousel-sec #next {
    display: flex;
    justify-content: center;
    align-content: center;
    background: white;
    border: none;
    padding: 8px;
    border-radius: 50%;
    outline: 0;
    cursor: pointer;
    position: absolute;
}

.carousel-sec #prev {
    top: 55%;
    left: 0;
    transform: translate(50%, -50%);
    display: none;
}

.carousel-sec #next {
    top: 55%;
    right: 0;
    transform: translate(-50%, -50%);
}

.carousel-sec #content {
    display: grid;
    grid-gap: 16px;
    grid-auto-flow: column;
    margin: auto;
    box-sizing: border-box;
}

.item {
    width: 250px;
    height: 180px;
    background: green;
    max-width: 250px;
}

.carousel-sec p {
    text-align: center;
}

/* footer */

footer {
    margin-top: 2rem;
    padding: 1rem 0rem;
}

footer nav a {
    /* margin-left: 1.5rem; */
}


.menuBar {
    position: absolute;
    left: 1.2rem;
    font-size: 2.5rem;
    top: 1.8rem;
    color: white;
    cursor: pointer;
}

.menuBar i {
    color: #163d9e;
}

.menuBarClose {
    right: 0rem !important;
    position: absolute;
    right: 0rem;
    margin-right: 2rem;
    font-size: 1.8rem;
    top: 1.5rem;
    color: black;
    cursor: pointer;
}

.menuSideBar {
    height: 100vh;
    position: fixed;
    width: 22rem !important;
    top: 0rem;
    background: rgba(255, 255, 255, 0.57);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.3px);
    -webkit-backdrop-filter: blur(10.3px);
    transition: all 0.5s ease-in-out;
    display: none;
    z-index: 999;
    border-right: 1px solid rgba(128, 128, 128, 0.139);
}

.menuSideBar .ul {
    list-style: none;
    margin-top: 8rem;
    line-height: 2;
    margin-left: 2rem;
}

.menuSideBar a {
    color: black;
}

.eachMenuSideBarli {
    font-size: 1.3rem;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
}

.eachUnderLi {
    list-style-position: inside;
    margin-left: 3rem !important;
    color: white;
    font-size: 1.3rem;
    list-style: none;
}

.underCategoryOfsubmenu {
    display: none;
}

.OPENEDaLLaRTICLES {
    display: none;
}

.subCategoryArticle,
.eachMenuSideBarli {
    color: white;
}

.header_subCategories li a {
    color: black;
    font-size: 1rem !important;
    margin-right: 5rem !important;
    font-family: "Poppins", sans-serif !important;
}


.category-article {
    font-size: 2rem !important;
    color: var(--primary);
    padding: 1rem 0;
    font-weight: 500;
}

.content-article .heading {
    font-size: 1.8rem !important;
    font-weight: 500;
    margin: 1rem 0;
}

.article-content-data p, .article-content-data li, .article-content-data ul {
    /* line-height: 1.2 !important; */
    font-size: 1rem;
    margin: .5rem 0;
}

.form-sec-article .input-div {
    width: 50% !important;
    margin: auto;
    padding: 0.2rem 0.3rem;
    border: 1px solid rgba(128, 128, 128, 0.421);
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.form-sec-article .body-img {
    width: 2rem !important;
    height: 2rem !important;
    color: white !important;
}


/* --------------------------------------------------- */
.latest-articles .heading .line {
    width: 150px;
    height: 1.3px;
    background-color: var(--primary);
}

.latest-articles .heading .text {
    text-wrap: nowrap;
    margin: 0 1rem;
    font-size: 2.2rem;
    font-weight: 600;
}

.display-article {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3rem;
    width: 100%;
    margin: auto;
    /* margin-top: 4rem; */
}

.display-article .each-article h3 {
    text-align: center;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.display-article .each-article p {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
}

.article-btn {
    display: block;
    width: fit-content;
    background: none;
    border: none;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.8rem 3rem;
    margin: auto;
    position: relative;
    margin-bottom: -1.3rem;
    font-size: 1.3rem;
    color: white;
    border-radius: 0.1rem;
}

/* choice editor */
.choice-editor {
    margin-top: 6rem;
    /* margin-top: 10rem; */
}

.choice-editor .choice-editor-inside {
    width: 100% !important;
    margin: auto;
}

.choice-editor-left article {
    margin-bottom: 1rem;
}

.choice-editor .choice-editor-left .figure {
    height: 10rem !important;
    overflow: hidden;
    object-fit: center;
}

.choice-editor .choice-editor-left .figure img {
    height: 100%;
    object-fit: cover;
}

.choice-editor-left .inside-right {
    margin-left: 1.5rem;
    line-height: 1.1;
}

.choice-editor-left .inside-right h5 {
    font-size: 1.5rem;
    font-weight: 600;
    width: 70%;
}

.choice-editor-left .inside-right p {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.choice-editor-left .hero-button {
    margin: 0;
    padding: 0.6rem 2rem;
    font-size: 1.1rem;
}

.lineSec .line {
    background-color: var(--primary);
    height: 0.1rem;
    margin: 0 1rem;
    border-radius: 3rem;
}

.lineSec {
    width: 80%;
    font-size: 2rem;
    text-wrap: nowrap;
    margin-bottom: 3rem;
    margin-left: -1rem;
}

.text {
    font-style: italic;
    font-weight: 600;
}

.choice-editor-right article {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.choice-editor-right article h5 {
    font-size: 2rem !important;
    font-weight: 600 !important;
    color: white !important;
}

.choice-editor-right h3 {
    font-size: 2rem;
    font-weight: 600;
    color: white;
}

.choice-editor-right p {
    color: white;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.choice-editor-right .hero-button {
    margin-top: 1rem;
    padding: 0.8rem 2.5rem;
    font-size: 1.3rem;
}

/* popular Articles */
.Popular-articles {
    margin-top: 2.5rem;
}

.Popular-articles .lineSec {
    width: 50%;
    margin: auto;
}

.popular-articles-inside {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
    width: 90%;
    margin: auto;
    margin-top: 12rem;
}

.popular-articles-inside .each-article {
    border: 1px solid var(--primary);
    border-bottom-left-radius: 6rem;
    border-bottom-right-radius: 6rem;
    position: relative;
    min-height: 28rem;
}


.popular-articles-inside .each-article .content {
    width: 90%;
    height: fit-content;
    margin: auto;
}

.popular-articles-inside .each-article h4 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    /* margin-bottom: 1rem; */
    margin-top: 2.5rem;
}

.popular-articles-inside .each-article p {
    font-size: 1.6rem;
    /* text-align: center; */
    /* margin-bottom: 2.5rem; */
}

.popular-articles-inside .each-article .article-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1.3rem;
    border-radius: 0.15rem;
    font-size: 1.1rem;
    position: absolute;
    left: 25%;
    right: 25%;
    text-wrap: nowrap;
    bottom: 0;
}

/* adbanner */
.Ad-banner {
    margin-top: 6rem;
}

.ad-banner-inside {
    width: 70%;
    background-color: var(--gray-color);
    text-align: center;
    margin: auto;
    padding: 2rem 0;
}

.ad-banner-inside h2 {
    font-size: 2rem;
}

/* footer */
.footer {
    margin-top: 4rem;
    text-align: center;
}

.about-sec {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--primary);
}

.about-sec figure {
    width: 250px;
    margin: 1rem auto;
}

.about-sec h2 {
    font-size: 2rem;
    font-weight: 700;
}

.about-sec p {
    margin-top: 0.8rem;
    line-height: 1.2;
    font-size: 1.2rem;
}

.about-sec p span a {
    color: var(--primary);
}

.footer .nav-ul {
    width: 60%;
    margin: auto;
    font-size: 1.25rem;
    padding: 3rem 0;
}

.footer .nav-ul a {
    color: black;
    display: block;
    margin: 0rem 1.5rem;
    margin-bottom: 1rem;
}

/* -------------------------------------------- */
.feed-sec .all-feed {
    width: 70%;
    margin: auto;
}

.feed-sec .all-feed article {
    border: 1px solid var(--primary);
    padding: 1.3rem 2rem;
    line-height: 1.4;
    border-radius: 0.2rem;
    transition: all 0.2s ease-in-out;
    margin-bottom: 1rem;
}

.feed-sec .all-feed article h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

.feed-sec .all-feed article a {
    font-size: 1.3rem;
    color: bla !important;
}

.feed-sec .all-feed article p {
    font-size: 1.05rem;
    width: 75%;
    line-height: normal;
}

.feed-sec .button {
    background-color: var(--primary);
    padding: 0.3rem 1rem;
    padding-right: 0rem;
    color: black;
    font-weight: 600;
}

.above-search-line {
    text-align: right;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.footer-feed {
    margin-top: 4rem;
}

.footer-feed-inside {
    padding: 1.5rem 0;
    border-top: 1px solid var(--primary);
}

.footer-feed-inside p span a {
    color: var(--primary);
    font-weight: 600;
}

.footer-feed .nav-ul a {
    color: black;
}

.all-feed .button img {
    width: 2rem;
}


/* slide show  */
.slideshow-container {
    /* max-width: 1000px; */
    width: 100%;
    position: relative;
    margin: auto;
    /* height: 70vh; */
}

/* Hide the images by default */
.slideshow-container .mySlides {
    display: none;
}

/* Next & previous buttons */
.slideshow-container .prev,
.slideshow-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--primary);
    font-weight: bold;
    font-size: 12px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    display: none;
}

/* Position the "next button" to the right */
.slideshow-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.slideshow-container .prev:hover,
.slideshow-container .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.slideshow-container .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.slideshow-container .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: block;
    margin: 0 0.4rem;
    transition: background-color 0.6s ease;
}

.all-dots {
    width: 20rem;
    margin: auto;
}

.active,
.dot:hover {
    background-color: var(--primary);
    height: 20px;
    width: 20px;
}

/* Fading animation */
.slideshow-container .fade {
    animation-name: fade;
    animation-duration: 1.5s;
}


@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.smallDevicesLatestArticles a {
    margin-left: 1.2rem !important;
}

.smallDevicesLatestArticles {
    margin-top: -3rem !important;
}

.search-list-item__img-col img {
    width: 150px;
    height: 100px;
}

.smallColumnFlex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media screen and (max-width: 1400px) {
    .c_container {
        width: 90%;
    }

    .clicksco__container {
        width: 90% !important;
        margin: auto;
    }

    .popular-articles-inside .each-article figure {
        width: 220px;
        height: 220px;
        right: 5%;
        left: 5%;
        margin-top: 3rem;
    }
}

@media screen and (max-width: 1300px) {
    html {
        font-size: 14px;
    }

    .popular-articles-inside .each-article figure {
        width: 220px;
        height: 220px;
        right: 5%;
        left: 5%;
        margin-top: 3rem;
    }
}

@media screen and (max-width: 1270px) {
    .popular-articles-inside .each-article figure {
        width: 180px;
        height: 180px;
        right: 5%;
        left: 5%;
        margin-top: 3rem;
    }

    .popular-articles-inside .each-article h4 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1200px) {
    html {
        font-size: 14px;
    }

    .popular-articles-inside {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 4rem;
    }

    .popular-articles-inside .each-article {
        margin-bottom: 8rem;
    }

    .hero-bg {
        max-height: 500px;
        height: 90vh;
    }

    .hero-bg h1 {
        font-size: 3rem;
    }

    .popular-articles-inside .each-article figure {
        right: 5%;
        left: 5%;
        width: 220px;
        height: 220px;
    }

}

@media screen and (max-width: 1100px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero h3 {
        font-size: 2.5rem;
    }

    .footer-feed .nav-ul li {
        text-wrap: nowrap;
        margin-bottom: 0.5rem;
    }

    .hero .dots {
        width: 12%;
    }

    /* .slideshow-container {
     height: 60vh !important;
    } */
    .popular-articles-inside .each-article figure {
        right: 5%;
        left: 5%;
        width: 220px;
        height: 220px;
    }
}

@media screen and (max-width: 1050px) {
    html {
        font-size: 14px;
    }

    .choice-editor-left .inside-right h5 {
        width: 90%;
    }

    .hero .container {
        background-size: contain !important;
    }

    .columnFlex {
        flex-direction: column !important;
    }

    .search-list-item__img-col img {
        width: 100%;
        height: auto;
    }

    .hero-right img {
        margin-top: 0rem;
        position: relative;
        max-height: 450px;
        height: 450px;
        /* height: auto; */
    }

    .smallDevicesLatestArticles {
        margin-top: 1rem !important;
    }

    .Popular-articles .popular-articles-inside .each-article figure {
        right: 5%;
        left: 5%;
        width: 220px;
        height: 220px;
    }

    .Popular-articles .popular-articles-inside .each-article h4 {
        font-size: 1.8rem;
    }

    .categories figure {
        /* width: 10%; */
        flex: 0 1 10%;
    }

    .carousel-sec #wrapper {
        width: 90% !important;
    }
}

@media screen and (max-width: 950px) {
    html {
        font-size: 12px;
    }

    .Popular-articles .popular-articles-inside .each-article figure {
        left: 5%;
        width: 90%;
        height: 55%;
    }

    .flex30 {
        flex: 0 1 50%;
    }

    .footer .nav-ul {
        width: 75%;
    }

    /* .slideshow-container {
     height: 40vh !important;
    } */
    .hero-right img {
        max-height: 330px;
        height: 330px;
    }

    .hero-bg {
        max-height: 350px;
        height: 90vh;
    }

    .hero-bg h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 870px) {
    .categories-parent {
        width: 95% !important;
        margin-top: 3rem;
    }

    .latest-articles-1 {
        width: 90%;
    }

    .latest-articles-1 .flex48 {
        flex: 0 1 90% !important;
    }


}

@media screen and (max-width: 750px) {
    html {
        font-size: 12px;
    }

    .Popular-articles .popular-articles-inside .each-article figure {
        left: 5%;
        width: 90%;
        height: 45%;

    }

    .latest-articles .display-article {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-articles .display-article .each-article {
        max-height: 40rem;
        height: 100vh;
    }

    .footer .nav-ul {
        width: 80%;
    }

    .flex-column750 {
        flex-direction: column;
    }

    .footer-feed-inside .flex50 {
        flex: 0 1 40%;
        margin: auto;
    }

    .footer-feed-inside .flex45 {
        flex: 0 1 30% !important;
        margin-top: 1rem;
        width: 80%;
        margin: auto;
        margin-top: 2rem;
    }

    .latest-articles article {
        /* height: 40rem; */
    }
}

@media screen and (max-width: 732px) {
    .hero-right img {
        margin-top: 1.3rem;
    }

    .hero-right {
        background: none !important;
    }

    .feed-sec .container {
        width: 90% !important;
        margin: auto !important;
    }
}

@media screen and (max-width: 670px) {
    html {
        font-size: 10px;
    }

    .slideshow-container {
        width: 90%;
    }

    .Popular-articles .popular-articles-inside {
        grid-template-columns: repeat(2, 1fr);
    }

    .Popular-articles .popular-articles-inside .each-article {
        max-height: 35rem;
        height: 100vh;
        margin-bottom: 10rem;
    }

    .Popular-articles .popular-articles-inside .each-article figure {
        left: 5%;
        width: 90%;
        height: 60%;
        margin-top: -1rem;
    }

    .column-flex {
        flex-direction: column;
    }

    .flex60 {
        flex: 0 1 50%;
    }

    .choice-editor-inside .lineSec {
        margin: auto;
        margin-bottom: 4rem;
    }

    .choice-editor-right {
        display: none;
    }

    .choice-editor-right article {
        height: fit-content !important;
        display: none;
    }

    .hero-right img {
        margin-top: 0.5rem;
    }

    .hero-bg {
        max-height: 200px;
        height: 100vh;
    }

    .categories figure {
        /* width: 10%; */
        flex: 0 1 20%;
        margin-top: 1rem;
    }

    .categories figure img {
        padding-bottom: 30px;
    }

    footer nav {
        margin-top: -25px;
    }
}

@media screen and (max-width: 595px) {
    .hero-right img {
        margin-top: 1.3rem;
    }

    /* .slideshow-container {
     height: 40vh !important;
     width: 90%;
    } */
}

@media screen and (max-width: 550px) {
    .container {
        width: 90%;
        margin: auto;
    }

    .clicksco__container {
        width: 90% !important;
        margin: auto;
    }

    .latest-articles .display-article {
        grid-template-columns: repeat(2, 1fr);
        /* width: 60%; */
    }

    .Popular-articles .popular-articles-inside .each-article {
        max-height: 20rem;
        height: 100vh;
    }

    .Popular-articles .popular-articles-inside .each-article figure {

        left: 5%;
        width: 90%;
        height: 60%;
    }

    .choice-editor-inside .flex25 {
        flex: 0 1 35%;
    }

    .choice-editor-inside .flex60 {
        flex: 0 1 95%;
    }

    .footer .nav-ul {
        width: 95%;
    }

    .latest-articles .each-article h3 {
        font-size: 1.8rem;
    }

    .hero .dots {
        width: 18%;
    }

    .hero-left h1 {
        font-size: 2.5rem;
    }

    .hero-left p {
        font-size: 1.5rem;
    }

    .latest-articles .latest-article-line .heading {
        width: 80%;
    }

    .header .flex2 {
        flex: 0 1 3%;
    }

    .all-feed .button {
        margin-top: 7rem;
    }

    .hero-right img {
        margin-top: 0rem;
    }

    /* .slideshow-container {
     height: 25vh !important;
     width: 90%;
    } */
    .hero-right img {
        max-height: 200px;
        height: 200px;
        /* height: auto; */
    }

    .hero-bg h1 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 505px) {
    .hero-right img {
        margin-top: 1.5rem !important;
    }

    .about-sec figure {
        width: 180px;
        margin: 1rem auto;
    }
}

@media screen and (max-width: 490px) {
    html {
        font-size: 8px;
    }

    .Popular-articles .popular-articles-inside .each-article figure {
        left: 5%;
        width: 90%;
        height: 70%;
    }

    .latest-articles .display-article {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }

    .Popular-articles .lineSec {
        width: 90%;
    }

    .choice-editor-left .lineSec {
        width: 90%;
    }

    .ad-banner-inside {
        width: 90%;
    }

    .hero .dots {
        width: 25%;
    }

    .footer .nav-ul {
        width: 100%;
    }

    .hero-right img {
        width: 120%;
        margin-left: -6rem;
        margin-top: -2rem;
    }

    .hero .container {
        background-size: contain;
        object-fit: cover;
    }

    .hero .container {
        margin-top: 4rem;
    }

    .hero-right img {
        margin-top: -4rem !important;
    }

    /* .slideshow-container {
     height: 20vh !important;
     width: 90%;
    } */
    .hero-right img {
        max-height: 150px;
        height: 150px;
        margin-left: 0rem !important;
        /* height: auto; */
    }

    .hero-bg {
        max-height: 150px;
        height: 100vh;
    }

    .all-dots .dot {
        width: 10px;
        height: 10px;
    }

    .all-dots .active {
        width: 15px;
        height: 15px;
    }

    .latest-articles .display-article .each-article {
        max-height: 30rem;
        height: 100vh;
    }

    .footer .nav-ul {
        width: 80%;
    }
}

@media screen and (max-width: 450px) {
    .Popular-articles .popular-articles-inside .each-article figure {
        left: 5%;
        width: 90%;
        height: 62%;
        margin-top: 1rem;
    }

}

@media screen and (max-width: 410px) {
    .latest-articles .display-article {
        /* width: 70% !important; */
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-right img {
        margin-top: -2.1rem !important;
    }

    .hero .container {
        margin-top: 0rem;
    }

    .latest-articles .display-article .each-article {
        max-height: 45rem;
        height: 100vh;
    }

    .latest-articles .each-article2, .latest-articles .each-article3 {
        display: none;
    }

    /* .slideshow-container {
     height: 23vh !important;
     width: 90%;
    } */
    .Popular-articles .popular-articles-inside .each-article figure {
        left: 5%;
        width: 90%;
        height: 55%;
        margin-top: 2rem;
    }
}

@media screen and (max-width: 380px) {
    .latest-articles .display-article {
        width: 90%;
    }

    .Popular-articles .popular-articles-inside .each-article figure {
        left: 5%;
        width: 90%;
        height: 55%;
    }

    .header .flex30 {
        flex: 0 1 60%;
    }

    .header .flex2 {
        flex: 0 1 5%;
    }

    .feed-sec .all-feed {
        width: 95%;
    }

    .hero-right img {
        margin-top: -0.8rem !important;
    }

}

@media screen and (max-width: 354px) {
    .hero-right img {
        margin-top: 5rem;
        position: relative;
    }

    .hero-bg h1 {
        font-size: 1.2rem;
    }

    .hero-right img {
        margin-top: 1rem !important;
    }

    /* .slideshow-container {
     height: 23vh !important;
     width: 90%;
    } */
    .Popular-articles .popular-articles-inside .each-article figure {
        left: 5%;
        width: 90%;
        height: 45%;
        margin-top: 3rem;
    }
}

@media screen and (max-width: 310px) {
    .latest-articles .display-article {
        width: 85% !important;
    }

    .Popular-articles .popular-articles-inside figure {
        width: 80px;
        height: 80px;
    }

    .hero-right img {
        margin-top: 2.5rem !important;
    }

    /* .slideshow-container {
     height: 35vh !important;
     width: 90%;
    } */
}

/* -------------------------------------- */
.ulpagination li {
    margin: 0.5rem;
}

.ulpagination .numbers li a {
    text-align: center;
    color: wheat;
}

.ulpagination .active {
    text-align: center !important;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
}

.ulpagination .first, .ulpagination .next, .ulpagination .last, .ulpagination .prev {
    border: 1px solid gray;
    background-color: var(--primary);
    border: none;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
}

.form-sec-article label {
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
}

.top-article__category {
    color: var(--primary);
}

.top-article .figure {
    border: 1px solid red;
    background-size: cover;
}


@media screen and (max-width: 1130px) {
    .container {
        width: 90% !important;
    }

    .home-header .form input {
        width: 92%;
    }

    .home-post-banner-content {
        width: 65%;
    }

    .latest-articles {
        width: 85%;

    }

    .search-list-item__img-col .image {
        width: 150px;
    }

    .columnsFlexcategory {
        flex-direction: column;
    }

}

@media screen and (max-width: 750px) {
    .home-post-banner-content {
        width: 85%;
    }

    .search-list-item__img-col .latestARticleHeading {
        margin-left: 2rem;
    }

}

@media screen and (max-width: 550px) {

    .latest-articles .flex48 {
        flex: 0 1 95% !important;

    }

    .columnFlexSmall {
        flex-direction: column;
    }

    .home-header .flex25 {
        flex: 0 1 45%;
    }

    .categories-parent {
        margin-top: 3rem;
    }

    .home-header .form input {
        width: 88%;
    }

    .form-sec-article .input-div {
        width: 70% !important;
    }

    .ulpagination .first, .ulpagination .next, .ulpagination .last, .ulpagination .prev {
        border: 1px solid gray;
        background-color: var(--primary);
        border: none;
        color: white;
        padding: 0.3rem 1rem;
        padding-bottom: 0rem;
        border-radius: 0.5rem;
        margin-top: 0.25rem;
    }
}

.list-articles-short {
    margin-left: 30px;
}
.list-articles-short-category {
    margin-left: 15px;
}
.latest-articles-1 .latest-articles-child figure {
    /* background: url(/assets/article/article.jpeg) no-repeat;
    background-position: center;
    background-size: cover; */
    max-height: 9.5rem;
    max-width: 10rem;
    min-width: 10rem;
    height: 100vh;
    width: 100%;
    border-radius: 0.5rem;
}

.latest-articles-1 .top-article__btn {
    width: fit-content;
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    background-color: var(--primary);
    color: white;
}
footer span{
    /* padding: 10px; */
}
.categorySec .categories{
    margin: auto;
}
.content-article h3{
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0.5rem 0;
}
