/*
Author: Taleh Rzayev
Developers: Kənan Məmmədov (Frontend Developer) , Əhəd Hacıyev (Frontend Developer) 
 
*/


@media (max-width: 1200px) {

    .catagory__content.flexDirection .catagory__post .catagory__post-input {
        width: 100%;
    }

    .catagory__content.flexDirection .catagory__post .catagory__post-input input {
        width: 86%;
    }

}

@media (max-width:992px) {
    .open-menu {
        display: block;
    }

    .main-nav-links {
        position: fixed;
        left: 0;
        top: 0;
        flex-direction: column;
        background-color: var(--color-ee4c7d);
        width: 100%;
        height: 100vh;
        padding: 60px 20px;
        transform: translateX(-100%);
        transition: .7s;
    }

    .main-nav-link {
        padding: 0;
    }

    .main-nav-link a,
    .main-nav-link.active a {
        color: var(--color-white) !important;
        font-size: 22px !important;
    }

    .main-nav-link a:hover {
        color: var(--color-white) !important;
    }

    .open {
        transform: translateX(0);
    }

    .close-menu {
        display: block;
        position: fixed;
        right: 30px;
        top: 20px;
        background: none;
        border: none;
        color: var(--color-white);
        font-size: 20px;
    }

    .main-nav-link:hover::after {
        display: none;
    }

    .nav-responsive-socials {
        /* display: block; */
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 10;
        background-color: var(--color-black);
        padding: 10px 0;
        width: 100%;

    }

    .nav-responsive-socials a {
        background: none;
        color: var(--color-white);
    }

    .nav-responsive-socials a:hover {
        background: none;

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

    .about-us .row {
        flex-direction: column-reverse;
    }

    .about-us-description {
        margin-top: 20px;

    }

    .slider-item--description {
        height: 230px;
        top: 15%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .slider-item--description h1 {
        font-size: 30px;
    }


    .catagory__post .catagory__post-input {
        display: none;
    }

    .catagory__post {
        width: 30%;
    }

    .catagory__content .catagory__popular .catagory__popular-title .catagory__popular-title-text {
        margin-top: 25px;
        font-size: 20px;
        padding-bottom: 0px;
    }

    .catagory__post-content-card .catagory__post-content-item {
        display: flex;
        align-items: start;
        justify-content: space-between;
        gap: 15px;
        margin-bottom: 15px;
    }

    .catagory__post-content-card .catagory__post-content-item .catagory__post-content-img {
        width: 40%;
        height: 80px;
    }

    .catagory__post-content-card .catagory__post-content-item .catagory__post-content-info {
        width: 100%;
    }

    .catagory__post-content-card .catagory__post-content-item .catagory__post-content-info .catagory__post-content-text a {
        font-size: 15px;
    }

    .catagory__post-content-card .catagory__post-content-item .catagory__post-content-info .catagory__post-content-date {
        line-height: 0px;
        font-size: 13px;
        margin-top: 0px;
    }

    .catagory__popular-card {
        margin-bottom: 20px;
    }

    .catagory__popular-card-img{
        width: 100%;
    }

    .catagory__popular-card .catagory__popular-card-info p a {
        line-height: 20px;
        font-size: 17px;
    }

    .catagory__popular-card-img img {
        width: 300px;
    }

    .catagory__popular-card .catagory__popular-card-info .catagory__popular-card-info-last {
        font-size: 15px;
    }

    .contact__content {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .contact__content .contact__info {
        width: 100%;
    }

    .contact__content .contact__form {
        width: 100%;
    }

    .contact__content .contact__info-text {
        max-width: 100%;
    }

    .contact__content .contact__form {
        padding: 30px;
    }




    .catagory__post {
        width: 100%;
    }

    .catagory__post {
        display: none;
    }

    .news-detail-left {
        display: block;
    }

    .news-detail-left>* {
        display: none;
    }

    .anket-container {
        display: block;
        width: 100%;
    }

    .catagory__content .catagory__popular {
        width: 90%;
    }

    .catagory__content.press{
        align-items: center;
        justify-content: center;
    }

    .catagory__content.flexDirection {
        flex-direction: column;
        width: 100%;
    }

    .catagory__content.flexDirection .catagory__side-content {
        width: 100%;
    }

    .catagory__content.flexDirection .catagory__side-date {
        justify-content: flex-start;
        gap: 15px;
    }

    .about__admin-content {
        width: 100%;
    }

    .marathon-detail-description--right {
        position: static;
    }

    .marathon-detail-description--right {
        box-shadow: none;
    }

    .marathon--img img {
        max-height: 400px;

    }
}

@media (max-width:768px) {

    .catagory__side-img {
        height: 400px;
    }
  
  .mobile_other_news_block{
  display: block;
}

.mobile_tag_block{
 display: block;
}


    .contact-iframe iframe {
        width: 100%;
    }

    .catagory__popular-card {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }

    .catagory__popular-card-img img {
        width: 100%;
    }

    .catagory__popular-card .catagory__popular-card-info{
        width: 100%;
    }
    .catagory__popular-card .catagory__popular-card-info p a {
        font-size: 18px;
    }

    .catagory__popular-card .catagory__popular-card-info .catagory__popular-card-info-last {
        color: var(--color-gray);
    }

    .catagory__content{
        gap: 0;
    }

    .catagory__side-img img{
        object-fit: contain;
    }

    .catagory__content.flexDirection .catagory__side-title h1 {
        font-size: 22px;
    }

    .contact__content .contact__info .contact__info-boxs {
        height: auto;
    }

    .contact__content .contact__form form label input {
        width: 100%;
    }



}

@media (max-width:576px) {
    .newsCard-img {
        width: 100%;
        height: 300px;
    }

    .bottom-news-section-card--img {
        height: 300px;
    }

    .search-container input {
        width: 70%;
    }

    .slider-item--description h1 {
        font-size: 24px;
    }

    .slider-item--description {
        width: 95% !important;
    }

    .slider--img img {
        height: 400px;
    }

    .slider-control {
        bottom: 60px;
    }

    .login-page--form {
        width: 80%;
    }

    .login-page-form--head {
        font-size: 26px;
    }

    .our-team.row .our-tean--card {
        max-width: 340px;
        margin: auto;
    }
}

@media (max-width:426px) {
    .newsCard-img {
        height: 250px;
    }

    .bottom-news-section-card--img {
        height: 250px;
    }

    .catagory__side-img {
        height: 300px;
    }

    .login-page--form {
        width: 95%;

    }

    .button-and-forgot>a {
        font-size: 14px;
    }

}