@media screen and (max-width: 1280px) {
    .container {
        width: 90%;
    }
    .mini-container {
        width: 90%;
    }
}
@media screen and (max-width: 990px) {
    html {
        font-size: 12px;
    }
}

@media screen and (max-width: 580px) {
    html {
        font-size: 16px;
    }
    .container,
    .mini-container {
        width: 90%;
    }
    .flex-column580 {
        flex-direction: column;
    }

    .header nav ul {
        display: none;
    }
    .header .header-logo {
        flex: 0 1 60%;
    }
    .header .flex70 {
        flex: 0 1 10%;
    }
    .header nav form {
        flex: 0 1 fit-content;
        background: none;
        display: none;
    }
    .header nav .search-btn {
        display: block;
        background: none;
        border: none;
        background-color: #b4bb57;
        padding: 0.25rem 0.43rem;
        border-radius: 0.2rem;
    }
    .header nav .search-btn img {
        width: 1.3rem;
    }
    .header nav form input {
        display: none;
    }
    .header nav form img {
        width: 1.5rem;
        height: 1.5rem;
    }
    .global-search {
        background: none;
        outline: none;
        border: none;
        width: 80%;
        margin: auto;
        margin-bottom: -1rem;
        padding: 0.8rem 1rem;
        background-color: #ebebeb;
        border-radius: 0.3rem;
        margin-top: 1rem;
    }
    .hero-sec .hero-articles article .inside-content {
        .content-elements {
            min-height: 8.1rem;
            height: fit-content;
            max-height: 9.2;
        }
    }
    .all-articles {
        margin: 0rem;
        h2 {
            border: none;
            color: green !important;
        }
    }
    .content-article .heading {
        font-size: 1.3rem !important;
        margin-bottom: 1rem;
    }
    .mid-category-list {
        .container,
        .mini-container {
            width: 100%;
        }
        margin-top: 0;
        display: block;
        ul {
            padding: 1rem 0;
            border-radius: 0.2rem;
            a {
                font-size: 0.8rem;
                color: #fef201;
            }
        }
    }
    .header .flex40 {
        flex: 0 1 50%;
    }
    .all-articles .global-search {
        width: 90%;
    }
    .hero-sec .hero-articles {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1.2rem;
    }
    .hero-sec {
        margin-top: 1rem;
    }
    .hero-sec .hero-articles article {
        min-height: 20rem;
        height: 100%;
        max-height: 20rem;
    }
    .latest-articles {
        h2 {
            text-align: center;
            border: none;
        }
    }
    .latest-articles .inside-articles {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 2rem;
        margin-top: 0;
    }

    .latest-articles .inside-articles article {
        min-height: 15rem;
        max-height: 15rem;
        height: 100%;
        h5 {
            font-size: 1.3rem;
        }
        p {
            font-size: 1rem;
        }
    }

    .all-articles .inside-articles {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1.2rem;
        margin-top: 1rem;
    }

    .all-articles .inside-articles article {
        padding-bottom: 0.5rem;
        p {
            font-size: 1.1rem;
            /* height: 3.2rem; */
        }
    }

    .form-global {
        margin-bottom: 0.5rem;
    }

    footer {
        padding-top: 3rem;
        .powerdBY {
            display: block;
            text-align: center;
            padding: 0.3rem 0;
            border-top: 1px solid rgba(128, 128, 128, 0.387);
            width: 100%;
            margin-top: 1rem;
        }
        figure {
            margin-bottom: 1rem;
        }
        p {
            text-align: center;
        }
        ul {
            margin-top: 3rem;
            /* margin-left: -1rem !important; */
            li {
                width: 30%;
                margin: auto;
                margin-bottom: 1rem;
                /* margin-left: -1rem !important; */
            }
        }
    }
    .article-footer .flex40 {
        margin-left: -2rem !important;
    }

    .pagination {
        margin: auto;
        margin-top: 2rem;
        .inside {
            width: 90%;
            p {
                margin: 0.2rem;
            }
        }
    }

    .header-article {
        width: 70% !important;
        margin: auto !important;
        .header-logo {
            /* width: 50%; */
            display: block;
            flex: 0 1 100% !important;
            padding: 0rem 2rem !important;
        }
    }
}

@media screen and (max-width: 580px) {
    .srchly .mid-category-list {
        background-color: var(--text-color) !important;
        a {
            color: white;
        }
        ul {
            background-color: var(--text-color) !important;
        }
    }
    .wohlbe .mid-category-list {
        background-color: var(--text-color) !important;
        a {
            color: white;
        }
        ul {
            background-color: var(--text-color) !important;
        }
    }
    .category-hero-sec .category-hero-articles {
        article {
            grid-template-columns: repeat(1, 1fr);
        }
        figure {
            height: 35vh !important;
            width: 100%;
        }
        .flex48 {
            flex: 0 1 100%;
        }
        .content {
            padding-left: 1rem;
            padding-bottom: 2rem;
            p {
                width: 95%;
            }
            h5 {
                width: 95%;
            }
        }
    }

    .single-list-articles .inside-articles {
        grid-template-columns: repeat(1, 1fr);
        p {
            height: 4.5rem;
        }
    }

    .srchly .header nav .search-btn,
    .wohlbe .header nav .search-btn {
        display: block;
        background: none;
        border: none;
        background-color: var(--text-color);
        padding: 0.25rem 0.43rem;
        border-radius: 0.2rem;
    }

    .srchly .all-articles {
        h2 {
            color: var(--text-color) !important;
        }
    }
    .wohlbe .all-articles {
        h2 {
            color: var(--text-color) !important;
        }
    }
    .wohlbe .header .header-logo {
        flex: 0 1 75% !important;
    }
}




@media screen and (max-width: 580px) {
    .sparnu .mid-category-list{
        margin-top: 2rem !important;
        ul{
            a{
                color: var(--footer-text-color) !important;
            }
        }
    }
    .sparnu .all-articles .mid-category-list{
        margin-top: 0 !important;
    }
}

@media screen and (max-width : 580px) {
    .srchprices .header .search-btn{
        background-color: var(--footer-text-color);
    }

    .srchprices .mid-category-list li a{
        color: var(--footer-text-color);
    }

    .srchprices .latest-articles h2{
        color: var(--footer-text-color);
    }
}
