/* Universal adjustments */
@media (max-width: 1680px) {
}

@media (max-width: 1520px) {
  .left {
    position: fixed;
    left: 60px;
  }
  .right {
    position: fixed;
    right: 60px;
  }
}

@media (max-width: 1480px) {
  .left {
    position: fixed;
    left: 40px;
  }
  .right {
    position: fixed;
    right: 40px;
  }
}
@media (max-width: 1410px) {
  .left {
    position: fixed;
    left: -150px;
  }
  .right {
    position: fixed;
    right: -150px;
  }
}

@media (max-width: 1480px) {
  .left {
    position: fixed;
    left: 40px;
  }
  .right {
    position: fixed;
    right: 40px;
  }
}
@media (max-width: 1410px) {
  .left {
    position: fixed;
    left: 0px;
  }
  .right {
    position: fixed;
    right: 0px;
  }
}

/* 1313px - 1290px arası */
@media (max-width: 1313px) and (min-width: 1290px) {
  .bigPost {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 20px;
  }
  .bigPostHome {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 20px;
  }
  .SinglePage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 4fr));
    gap: 20px;
  }
}

/* 1290px və aşağı */
@media (max-width: 1290px) {
  .left,
  .right {
    display: none;
  }
}

/* 1200px və aşağı */
@media (max-width: 1200px) {
  .navList {
    display: flex;
  }
}

/* 1167px və aşağı */
@media (max-width: 1167px) {
  .bigPost {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 20px;
  }
  .bigPostHome {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 20px;
  }
  .SinglePage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 3fr));
    gap: 20px;
  }
}

/* 1150px və aşağı */
@media (max-width: 1150px) {
  .layout {
    display: flex;
    flex-direction: column;
    /* margin-top: -15px; */
  }

  .homeBlogCard:not(:first-child) {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 4fr));
    gap: 5px;
  }

  .homeBlogCard a {
    text-decoration-line: none;
  }

  .homeBlogCardAnother {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 4fr));
  }

  .sidebar-card img {
    height: 200px;
  }

  .news-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0px;
  }

  .center,
  .rightCenterMenu {
    width: 100%;
  }

  .blogContent {
    padding-top: 0px !important;
    margin-top: 5px !important;
  }

  .singleSimilarNews {
    display: flex;
    flex-direction: column-reverse;
  }

  /* .footer {
        max-width: 100%;
    } */
  .bigPost {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 5px;
  }
  /* .bigPostHome {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 4fr));
    gap: 5px;
  } */
  .bigPostSinglePage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 242px));
    gap: 10px;
  }
}

/* 1130px və aşağı */
@media (max-width: 1130px) {
  .navList {
    gap: 25px;
  }
}

/* 1024px - 769px arası */
@media (min-width: 769px) and (max-width: 1024px) {
  .left,
  .right {
    width: 120px;
  }

  .center {
    margin: 0 0px;
  }

  .news-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .navList {
    gap: 23px;
  }
}

@media (max-width: 1033px) {
  .bigPostSinglePage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 3fr));
    gap: 10px;
  }
}
/* 1000px və aşağı */
@media (max-width: 1000px) {
  .footerContainer {
    justify-content: center;
  }

  .footerColumn ul {
    columns: 4;
  }

  .footerColumn {
    align-items: center;
  }

  .footerTop {
    margin-left: 0px;
  }

  .logoBase {
    text-align: center;
  }
}

/* 1000px - 930px arası */
@media (max-width: 1000px) and (min-width: 930px) {
  .card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    height: auto;
    min-height: 100%;
  }

  .card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
  }

  .card-content {
    padding: 10px 0px;
  }

  .card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .card-content .category {
    font-size: 14px;
    color: #00b140;
  }
}

/* 930px və aşağı */
@media (max-width: 930px) {
  .news-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .navList {
    display: flex;
    gap: 0px;
  }

  .navbarNav {
    display: none;
  }

  .hamburgerIcon i {
    padding: 0px;
    margin-top: 6px;
    margin-right: 0px;
    font-size: 28px;
    display: block;
  }
  .openSearchMobile {
    font-size: 22px !important;
    margin-top: 10px !important;
  }
  .news-social-icons {
    display: none !important;
  }

  .navbar-wrapper {
    margin-top: 0px;
  }

  .headerClasster {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 15px 0px; */
    background-color: white;
    border-bottom: 1px solid #00b140;
    position: sticky;
    top: 0;
    z-index: 8;
    /* margin-bottom: 15px; */
  }

  .searchDiv {
    position: absolute;
    right: 25px;
    top: -15px;
    z-index: 10;
  }

  .social-icons {
    margin-right: 50px;
  }

  /* .searchIcon {
    font-size: 17px;
    margin-right: 10px;
  } */

  .navbarSearch {
    position: absolute;
    top: 96px;
    left: 0;
    width: 100%;
    background: #fbf5f5;
    flex-direction: row;
    justify-content: center;
    opacity: 0;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

    /* pointer-events: none; */
    transform: translateY(-20px);
  }

  .navbarSearch.active {
    position: absolute;
    top: 110px;
    left: 0;
    opacity: 1;
    pointer-events: all;
    /* transform: translateY(0); */
  }

  .searchIconTwo {
    display: block;
    margin-left: 10px;
  }
  .exitSearchMobile {
    display: none !important;
  }
  .exitSearchMobileActive {
    display: block !important;
  }
  .clearSearchMobile {
    position: absolute;
    right: 80px;
    font-size: 20px;
    cursor: pointer;
    color: #c4c4c4;
    display: none !important;
  }
  .clearSearchMobileActive {
    display: block !important;
  }
  .inputSearchSelf {
    width: 100%;
  }
  .inputSearchSelf:focus {
    outline: none;
  }

  .inputSearchBtn {
    padding: 6px 10px;
  }
}

/* 920px və aşağı */
@media (max-width: 920px) {
  .sliderBase {
    margin-top: 5px;
    z-index: 0;
  }
}

@media (max-width: 850px) {
  .news-cardsCategory {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .card-category img {
    height: 160px;
  }
}

/* 820px və aşağı */
@media (max-width: 820px) {
  .navbarNav {
    display: none;
  }

  .navSeacrBaseDiv {
    display: block;
  }

  .sliderBase {
    margin-top: 5px;
  }

  /* !TODO  burda elave etdim  */
  .bigPost {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 5px;
  }
  .bigPostHome {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 5px;
  }
}

/* 792px və aşağı */
@media (max-width: 792px) {
  .footerContainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footerGif {
    margin-top: 10px;
  }

  .logo {
    justify-content: center;
  }

  .socialIcons {
    justify-content: center;
  }

  .createdBy {
    margin-top: 10px;
  }

  .footerTop {
    margin-left: 0;
  }

  .footerBottom {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 16px;
  }
  .followUs {
    margin-top: 20px;
  }
}
@media (max-width: 790px) {
  .news-top-content {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* sağa-sola scroll yaradır */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* mobil üçün smooth scroll */
    gap: 24px;
  }

  /* scrollbar görünsün, amma səliqəli */
  .news-top-content::-webkit-scrollbar {
    height: 6px; /* scroll barın hündürlüyü */
    /* display: none; */
  }

  .news-top-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }

  .news-top-content::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #00f5d4, #00bbf9, #9b5de5);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
  }

  .news-top-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #9b5de5, #00bbf9, #00f5d4);
    box-shadow: 0 0 12px rgba(155, 93, 229, 0.8);
  }
  .news-top-links ul {
    flex-wrap: nowrap; /* linklər bir xəttdə qalsın */
    gap: 25px;
  }

  .news-top-right {
    flex-shrink: 0; /* sıxılmasın */
  }

  .news-date {
    flex-shrink: 0;
  }
}

/* 775px və aşağı */
@media (max-width: 775px) {
  .bigPost {
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 20px;
  }
  .bigPostHome {
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    gap: 20px;
  }
}

/* 768px və aşağı */
@media (max-width: 768px) {
  body > div {
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
    text-align: center;
    padding: 15px;
  }

  .center {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
  }

  .rightCenterMenu {
    width: 100%;
  }

  header {
    padding: 0px 8px;
  }

  /* .social-icons {
        display: none;
    } */

  .BigPostImage {
    height: 180px;
  }

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

  .miniPost ul {
    width: 100%;
  }

  .BigPostImageSinglePage {
    height: 200px;
    overflow: hidden;
  }

  .aBlockWrapSinglePage {
    display: flex;
    flex-direction: column;
  }
  .BigPostCardSinglePage {
    padding: 12px;
  }

  .BigPostTitleSinglePage {
    font-size: 16px;
  }

  .aboutContent {
    grid-template-columns: 1fr;
  }

  .aboutContainer {
    padding: 0px 25px;
  }

  .aboutTitle {
    font-size: 1.8rem;
  }
}

/* 720px və aşağı */
@media (max-width: 720px) {
  .navList {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .news-cardsCategory {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

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

/* 670px və aşağı */
@media (max-width: 670px) {
  .card img {
    height: 120px;
  }
  .news-cardsCategory {
    width: 100%;
  }
}
/* 650px və aşağı */
@media (max-width: 650px) {
  .news-cards {
    width: 100%;
  }
}

/* 620px və aşağı */
@media (max-width: 620px) {
  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card img {
    height: 160px;
  }

  .searchDiv {
    position: absolute;
    right: 0px;
    top: 41px;
    z-index: 10;
    border-radius: 0;
    border: none;
    outline: none;
    box-shadow: none;
  }

  .searchDiv input[type="text"] {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 300px;
    transition: width 0.3s ease;
    outline: none;
  }
  .card-category img {
    height: 160px;
  }
}

@media (max-width: 590px) {
  .searchDiv {
    position: fixed;
    right: 0;
    left: 0;
    top: 47px;
    z-index: 1000;
    border-radius: 0;
    border: none;
    outline: none;
    box-shadow: none;
    width: 100%;
    justify-content: center;
  }

  .searchDiv input[type="text"] {
    width: 64vw;
    max-width: 100%;
  }

  .searchDiv button {
    flex-shrink: 0;
  }
  .adsImgTwo {
    display: none;
  }
  .headerDescriptionAds {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .headerDescriptionAdsPC {
    display: none;
  }
}
/* 540px və aşağı */
@media (max-width: 540px) {
  .news-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .prevBtn,
  .nextBtn {
    position: absolute;
    top: 40%;
  }

  .imgCard {
    height: 280px;
  }

  .sliderBase {
    min-height: 284px;
  }

  .newsTitle {
    font-size: 16px;
    font-weight: bold;
    word-break: break-word;
  }
}

@media (max-width: 500px) {
  .rightLink {
    margin-top: 0px;
  }

  .meta {
    font-size: 13px;
  }

  .aBlockTitle h2 {
    font-size: 18px;
  }

  .blogContent img {
    height: 100%;
  }
  .singleRight-sidebar {
    margin-top: 0px;
  }
  .singlePageSimilarCard {
    margin-top: 0px;
  }
  .layout {
    gap: 0px;
  }
  .blogContent,
  .news-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 470px) {
  .logoDiv {
    height: 65px !important;
  }
  .logoDiv a img {
    height: 100% !important;
  }
  .card-category {
    min-height: 100%;
  }

  .news-cardsCategory {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 6px;
  }

  .card-category img {
    width: 100%;
    height: 190px;
    object-fit: cover;
  }
  .blogContent,
  .news-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 450px) {
  .searchDiv input[type="text"] {
    width: 60vw;
    max-width: 100%;
  }
  .headerClasster {
    padding: 10px 0px;
  }
  .bigPost {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  .bigPostHome {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 2fr));
    gap: 5px;
  }

  .navbarSearch.active {
    position: absolute;
    top: 91px;
    left: 0;
    opacity: 1;
    pointer-events: all;
    /* transform: translateY(0); */
  }
}

@media (max-width: 407px) {
  .searchDiv input[type="text"] {
    width: 66vw;
    /* vh yox, vw istifadə et */
    max-width: 100%;
    /* heç vaxt div çölünə çıxmasın */
  }
}

/* 400px və aşağı */
@media (max-width: 400px) {
  .card {
    min-height: 100%;
  }

  .news-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 6px;
  }

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

  .sidebar-title {
    font-size: 15px;
  }
}

@media (max-width: 365px) {
  .searchDiv input[type="text"] {
    width: 61vw;
    /* vh yox, vw istifadə et */
    max-width: 100%;
    /* heç vaxt div çölünə çıxmasın */
  }
}
@media (max-width: 353px) {
  .meta {
    font-size: 11px;
  }
}

/* 357px və aşağı */
@media (max-width: 357px) {
  .sidebar-meta {
    font-size: 13px;
  }
}

/* 337px və aşağı */
@media (max-width: 337px) {
  .sidebar-meta {
    font-size: 11px;
  }
}

/* 316px və aşağı */
@media (max-width: 316px) {
  .sidebar-meta {
    font-size: 11px;
  }
}
@media (max-width: 314px) {
  .meta {
    font-size: 10px;
  }
}
