/* --- Web --- */
@media only screen and (max-width: 1700px) {
  .sidebar-subscribe__form {
    grid-template: 1fr 1fr/1fr;
    gap: 5px;
  }
  .sidebar-subscribe__form-input {
    border-right: var(--main-border);
  }
  .sidebar-subscribe__form-btn {
    width: 100%;
  }
  .sidebar-subscribe h4, .sidebar-subscribe__address {
    text-align: center;
  }
}
@media only screen and (max-width: 1440px) {
  .container {
    max-width: 1300px;
  }

  .flights__form-middle {
    flex-direction: column;
    min-height: 130px;
  }
  .flights__form-date {
    width: 100%;
    display: grid;
    grid-template: 1fr/1fr 1fr;
  }
}
/* --- Laptop Landscape --- */
@media only screen and (max-width: 1366px) {
  .container {
    max-width: 1170px;
  }

  .shop-product__item--grid {
    grid-template: auto/1fr;
  }
}
/* --- Tablet Landscape --- */
@media only screen and (max-width: 1200px) {
  .container {
    max-width: clamp(940px, 95vw, 1100px);
  }

  .header__top {
    flex-direction: column;
  }
  .header__top-list {
    justify-content: center;
  }
  .header__top-actions {
    display: grid;
    grid-template: 1fr/1fr 1fr;
  }
  .header__top-actions a {
    justify-content: center;
  }
  .header__bottom-bottomnav-list {
    overflow-x: auto;
  }
  .header__bottom-bottomnav-list a {
    white-space: nowrap;
  }
  .header__bottom-topnav-list a {
    padding: 20px 10px;
  }

  .main__column {
    padding: 20px 10px;
  }
  .main__sidebar-list li {
    max-width: none;
  }
  .main__sidebar-list li::before {
    top: auto;
  }

  .post-small {
    max-height: none;
  }
  .post-aligned__link {
    max-width: none;
  }
  .post-content-horizontal {
    align-items: flex-start;
  }
  .post-global__image-wrap {
    max-height: 400px;
  }
  .post-central-column {
    align-items: flex-start;
  }

  .flights__tables {
    padding: 20px 10px;
  }
  .flights__sidebar {
    padding: 20px 10px;
  }

  .scores__inner {
    padding: 20px 10px;
  }
  .scores__content {
    grid-template: auto/1fr;
    max-width: 100%;
    min-width: 0;
  }
  .scores__right {
    padding: 20px 0;
  }

  .stream__comments {
    padding-right: 10px;
  }
  .stream__inner {
    padding: 20px 0 20px 10px;
  }

  .posts__column {
    padding: 20px 10px;
  }
  .posts__reviews, .posts__people {
    margin: 0 -10px 0 -10px;
    padding: 20px 10px;
  }

  .category__main,
.category__top-block,
.category__videos,
.category__bordered-block {
    padding: 20px 10px;
  }

  .category__people {
    margin: 0;
  }

  .category__reviews {
    margin: 20px 0 0 0;
  }

  .category__top-block {
    margin-bottom: 0;
  }

  .category__videos {
    margin-top: 0;
  }

  .category__bordered-block {
    margin-bottom: 0;
  }

  .category__top-block .medium-banner,
.category__top-block .main__socials {
    margin-bottom: 20px;
  }

  .most-shared__inner {
    padding: 20px 10px;
  }
  .most-shared__posts {
    display: grid;
    grid-template: auto/1fr 1fr;
  }

  .subscribe__inner,
.footer__inner {
    padding: 20px 10px;
  }

  .category-post__sidebar, .category-post__main {
    padding: 20px 10px;
  }

  .comments__wrap {
    padding: 20px 10px;
    margin: 0 -10px;
  }

  .shop__top-inner,
.shop .gifts {
    grid-template: auto/1fr 1fr;
  }
  .shop__top-slider,
.shop .gifts__sale {
    grid-row: 2/3;
    grid-column: 1/3;
  }
  .shop__nav-list {
    left: 10px;
    padding-right: 10px;
  }
  .shop__inner {
    padding: 0 10px;
  }

  .shop-product,
.shop-category {
    padding: 0 10px 50px;
  }
}
/* --- Tablet Portrait --- */
@media only screen and (max-width: 960px) {
  .container {
    max-width: clamp(748px, 95vw, 900px);
  }

  .search__selects {
    flex-direction: column;
  }

  .top-banner {
    display: none;
  }

  .header {
    margin-top: 10px;
  }
  .header__middle {
    padding: 20px;
    display: grid;
    grid-template: 1fr/repeat(3, 1fr);
  }
  .header__middle-right {
    justify-content: flex-end;
  }
  .header__middle-logo {
    margin: 0 auto;
    width: 22vw;
    min-width: 135px;
  }
  .header__top-nav {
    display: none;
  }
  .header__bottom-topnav {
    display: none;
  }
  .header__bottom-bottomnav {
    padding: 0;
  }
  .header .nos-videos {
    display: none;
  }

  div.header__video,
div.header__middle-left {
    display: none;
  }

  .main__inner {
    grid-template: auto/1fr;
  }
  .main__column-center {
    grid-row: 1/2;
    border: none;
  }

  .flights__tables {
    border-right: none;
  }
  .flights__sidebar {
    padding: 20px 10px;
  }
  .flights__inner {
    grid-template: auto/1fr;
  }

  .post-aligned {
    justify-content: flex-start;
  }

  .scores__next-match {
    grid-template: auto/1fr;
  }
  .scores__next-team:nth-child(2) {
    border-left: none;
  }

  .posts__inner {
    grid-template: auto/1fr;
  }
  .posts__right .post-aligned__image {
    order: 0;
  }
  .posts__right .post-aligned__link {
    order: 1;
  }

  .subscribe__inner {
    grid-template: auto/1fr;
  }

  .burger {
    display: flex;
  }

  .category-post__main {
    border: none;
  }
  .category-post__inner {
    grid-template: auto/1fr;
  }

  .comments__wrap {
    padding-bottom: 0;
  }

  .category__top-block .medium-banner {
    margin: 0 auto 20px auto;
  }

  .category__main-list .post-content-horizontal {
    align-items: flex-start;
  }

  .category__inner {
    grid-template: auto/1fr;
  }

  .category__main-top {
    padding-bottom: 0;
  }

  .shop-product__inner {
    grid-template: auto/1fr;
  }
  .shop-product__seller {
    width: auto;
  }

  .shop-product__complain-form {
    padding: 30px 15px;
  }

  .shop-category__main {
    grid-template: 1fr/1fr;
  }

  .shop-category__items-filters {
    display: inline-block;
  }

  .shop-category__sidebar {
    position: absolute;
    z-index: 99;
    transform: translateX(-200%);
    transition: transform 0.3s;
    min-width: 275px;
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 500px;
  }
  .shop-category__sidebar.is-active {
    transform: translateX(0);
  }

  .shop-category__items-inner {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
  .shop-category__items-inner.is-active {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .shop-category__items-inner.is-active .shop-category__item-img {
    height: auto;
  }

  .shop-category__item-img {
    height: auto;
  }
}
/* --- Mobile Phones L--- */
@media only screen and (max-width: 768px) {
  .container {
    max-width: calc(100% - 20px);
  }

  .header__socials {
    display: none;
  }

  .main__inner {
    grid-template: auto/1fr;
  }
  .main__column {
    padding: 20px 10px;
  }
  .main__column-center {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .main__column-left {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .main__column-right {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .main__sidebar-list li {
    justify-content: flex-start;
  }

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

  .flights__form-destinations {
    flex-direction: column;
  }
  .flights__form-date {
    grid-template: 1fr 1fr/1fr;
    border: none;
    background-color: transparent;
    gap: 20px;
  }
  .flights__form-middle {
    min-height: 255px;
    justify-content: flex-start;
  }
  .flights__form-date label + label::after {
    display: none;
  }
  .flights__form-date label {
    background-color: #fff;
    border: var(--main-border);
  }

  .scores__team-info {
    flex-direction: column;
  }
  .scores__team-info span {
    order: 1;
  }
  .scores__team.right .scores__team-info {
    align-items: flex-start;
  }
  .scores__team.left .scores__team-info {
    align-items: flex-end;
  }
  .scores__team-flag {
    order: 0;
  }

  .stream__inner {
    padding: 10px;
  }
  .stream__content {
    grid-template: auto/1fr;
  }
  .stream__comments-inner {
    max-height: 300px;
  }
  .stream__comments-list li {
    max-width: none;
    padding-right: 10px;
  }
  .stream__comments {
    padding: 0;
  }

  .post-radio {
    padding: 15px 10px;
    align-items: flex-start;
  }

  .slider-buttons .sw-p,
.slider-buttons .sw-n {
    display: none;
  }

  .footer__top {
    grid-template: auto/1fr;
  }

  .comments__item-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .category__main-top {
    grid-template: auto/1fr;
  }

  .shop__top-inner,
.shop .gifts {
    grid-template: auto/1fr;
  }
  .shop__offers {
    grid-row: 2/3;
    grid-column: 1/2;
  }
  .shop__top-slider,
.shop .gifts__sale {
    grid-row: 3/4;
    grid-column: 1/2;
  }

  .custom-select__list {
    right: 0;
    left: auto;
  }

  .shop-category__topbar {
    display: grid;
    grid-template: auto/1fr 1fr;
    gap: 15px;
    justify-items: flex-end;
    padding: 15px;
  }

  .shop-category__items-count {
    grid-row: 1/2;
    grid-column: 1/3;
  }

  .shop-category__sort,
.shop-category__items-count {
    margin-right: auto;
    margin-left: 0;
  }

  .shop__offer {
    min-height: 350px;
  }
}
/* --- Mobile Phones M--- */
@media only screen and (max-width: 425px) {
  .post-central-column__image {
    max-width: none;
    max-height: 200px;
    margin: 0 auto;
  }

  .flights__form-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .scores__table-top {
    flex-direction: column;
    align-items: center;
  }
  .scores__team.right, .scores__team.left {
    align-items: center;
    padding-top: 0;
  }
  .scores__team.right .scores__team-info, .scores__team.left .scores__team-info {
    align-items: center;
  }
  .scores__next-team {
    padding: 10px;
  }
  .scores__left .scores__next-country {
    flex-direction: column;
    gap: 5px;
  }
  .scores__right .scores__sidebar-list li {
    padding: 10px 0 10px 10px;
  }

  .post-central-column {
    align-items: flex-start;
  }

  .most-shared__posts {
    grid-template: auto/1fr;
  }

  .subscribe__inner {
    gap: 30px;
  }
  .subscribe__form {
    grid-template: auto/1fr;
  }

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

  .comments__form-button {
    width: 100%;
  }

  .post-content-horizontal {
    grid-template: auto/1fr;
  }

  .post-content-horizontal__image {
    max-width: none;
  }

  .shop-product__complain-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .shop-product__complain-form form textarea {
    margin-bottom: 0;
  }
}
/* --- Mobile Phones S--- */
@media only screen and (max-width: 360px) {
  .kalendae {
    left: 30px !important;
  }
}

/* ------------------- */
/* --- AUGUST 2024 --- */
/* ------------------- */
/* --- Tablet Landscape --- */
@media only screen and (max-width: 1200px) {
    .autos-post-meta-wrap,
    .autos-post,
    .autos-post-head {
        padding-left: 10px;
        padding-right: 10px;
    }
    .autos-search-form-wrap {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 40px;
    }
    .products-grid,
    .shop-category__autos {
        gap: 20px;
    }
    .autos-search-form {
        flex-wrap: wrap;
        --field-width: calc(0.2 * (100% - 4 * var(--this-gap)));
    }
    .autos-search-form div.autos-search-form__field:first-child {
        width: 100%;
    }
    .autos-post.content-with-sidebar {
        --this-gap: 20px;
    }
    .autos-post-summary {
        padding: 37px 0 34px 0;
        margin-bottom: 33px;
    }
    .autos-summary-list {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    .autos-summary-list li {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 2;
        grid-row-gap: 16px;
        text-align: center;
        gap: 10px;
    }
    .autos-summary-list li i {
        justify-self: center;
    }

    /* --- FASHION --- */
    /* -------------- */
    .fashion-page {
        padding-left: 10px;
        padding-right: 10px;
    }
    .search-line-form {
        padding-bottom: 20px;
    }
    .fashion-sale {
        --content-width: 220px;
        margin-bottom: 28px;
    }
    .fashion-sale-content {
        padding: 36px 15px 26px 15px;
    }
    .fashion-sale-content h1 {
        font-size: 34px;
        line-height: 32px;
    }
    /* --- Fashion Search --- */
    .fashion-page.shop-category .search-line-form {
        padding-left: 10px;
        padding-right: 10px;
    }
    .fashion-page.shop-category .search-line-form i {
        left: 22px;
    }
    .shop-category__fashion {
        gap: 20px;
    }
    .fashion-post-return {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    a.post-return::before {
        margin-bottom: 0;
    }
    .fashion-post.content-with-sidebar {
        --this-gap: 20px;
    }

    /* --- Real Estate --- */
    /* ------------------- */
    .real-estate-page {
        padding-left: 10px;
        padding-right: 10px;
    }
    .re-intro-block {
        padding-top: 30px;
    }
    .real-estate-page .content-with-sidebar:not(.re-intro-posts-wrap) > .is-sidebar {
        padding-top: 40px;
    }
    .real-estate-page .content-with-sidebar:not(.re-intro-posts-wrap) {
        --this-gap: 40px;
    }
    .real-estate-page .content-with-sidebar:not(.re-intro-posts-wrap):not(.re-search-results) > .is-sidebar::before {
        left: -20px;
    }
    .re-intro-posts-wrap {
        flex-direction: column;
        gap: 40px;
    }
    .content-with-sidebar.re-intro-posts-wrap > :not(.is-sidebar),
    .content-with-sidebar.re-intro-posts-wrap > .is-sidebar {
        width: 100%;
    }
    .selected-posts-list li.is-video::before,
    .selected-posts-list li.is-video::after {
        top: 50%;
        transform: translateY(-50%);
    }
    .re-post-list-preview {
        flex-direction: column;
        --this-gap: 20px;
    }
    .re-post-list__image,
    .re-post-list__content {
        width: 100%;
        transform: unset;
    }
    .most-shared-grid {
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
    .real-estate-most-shared {
        margin: 0 -10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .real-estate-post .comments__form label input {
        max-width: 100%;
    }
}  
/* --- Tablet Portrait --- */
@media only screen and (max-width: 960px) {
    .shop-category__listing-filter {
        gap: 30px;
    }
    .autos-search-form {
        --field-width: calc(0.5 * (100% - var(--this-gap)));
    }
    .autos-search-form div.autos-search-form__field:first-child {
        width: var(--field-width);
    }
    .fashion-shop-sidebar  > div:not(.shop-category__sidebar),
    .autos-shop-sidebar > div:not(.shop-category__sidebar) {
        display: none;
    }
    .autos-search-form-wrap {
        margin-bottom: 10px;
    }
    .products-grid {
        gap: 20px;
    }
    .shop-category__autos .shop-category__items-filters {
        margin-bottom: 0;
    }
    /* --- Tablet: Autos Post --- */
    .autos-post-meta-wrap {
        padding-top: 20px;
    }
    a.post-return::before {
        margin-bottom: 0px;
    }
    .autos-post-head.content-with-sidebar,
    .autos-post.content-with-sidebar {
        --sidebar-width: 240px;
    }
    
    .autos-post-title-wrap {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 20px;
    }

    .autos-post-sidebar {
        gap: 20px;
    }
    .autos-gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr)
    }
    .autos-more-posts .products-grid {
        grid-template-columns: repeat(3, 1fr)
    }
    .autos-more-posts {
        width: calc(100% + var(--this-gap) + var(--sidebar-width));
    }

    /* --- FASHION --- */
    /* -------------- */
    .fashion-sale-content {
        padding: 16px 10px 16px 10px;
    }
    .fashion-sale-slider .fashion-slider-pagination {
        bottom: 25px;
    }

    /* --- Real Estate --- */
    /* ------------------- */
    .real-estate-page .content-with-sidebar:not(.re-intro-posts-wrap) {
        --this-gap: 21px;
    }
    .real-estate-page .content-with-sidebar:not(.re-intro-posts-wrap):not(.re-search-results) > .is-sidebar::before {
        left: -11px;
        top: 20px;
        height: calc(100% - 20px);
    }
    .real-estate-page .content-with-sidebar {
        --sidebar-width: 240px;
    }
    .real-estate-page .page-sidebar .main__socials-list {
        gap: 10px;
    }
    .real-estate-page .main__socials-item {
        font-size: 12px;
    }
    .re-intro-block {
        padding-top: 10px;
    }
    .real-estate-page .content-with-sidebar:not(.re-intro-posts-wrap) > .is-sidebar {
        padding-top: 20px;
    }
}
/* --- Mobile Phones L --- */
@media only screen and (max-width: 760px) {
    .shop-category__listing-filter {
        gap: 20px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .fashion-product__content h5,
    .autos-product-card-content h5 {
        font-size: 17px;
        line-height: 20px;
    }
    .autos-product-banner {
        grid-column: span 2;
    }
    .autos-shop-sidebar,
    .shop-category__autos .shop-category__items {
        max-width: 100%;
    }
    .pagination-list li a, 
    .pagination-list li span {
        width: 36px;
        height: 36px;
    }
    .pagination-list {
        font-size: 14px;
    }
    a.pagination-prev,
    a.pagination-next {
        margin: 0;
    }
    .pagination-list {
        gap: 5px;
    }
    /* --- Autos Post --- */
    .content-with-sidebar.autos-post-head {
        --this-gap: 0;
        padding-bottom: 20px;
    }
    .autos-page .content-with-sidebar {
        flex-direction: column;
        --sidebar-width: 100%;
    }
    .autos-page .content-with-sidebar > :not(.is-sidebar) {
        width: 100%;
    }
    .autos-summary-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .autos-more-posts {
        width: auto;
    }
    .autos-more-posts .products-grid,
    .features-list {
        grid-template-columns: repeat(1, 1fr);
    }

    /* --- FASHION --- */
    /* -------------- */
    .fashion-menu {
        display: none;
    }
    .fashion-sale {
        flex-direction: column-reverse;
    }
    .fashion-sale-content {
        gap: 20px;
        padding: 20px;
        align-items: center;
        text-align: center;
    }
    .fashion-sale-content br {
        display: none;
    }
    .fashion-sale-content,
    .fashion-sale-slider {
        width: 100%;
    }
    .fashion-post.content-with-sidebar {
        flex-direction: column-reverse;
    }
    .fashion-post.content-with-sidebar > div:not(.is-sidebar),
    .fashion-post.content-with-sidebar > div.is-sidebar {
        width: 100%;
    }

    /* --- Real Estate --- */
    /* ------------------- */
    .re-intro-block h2 {
        font-size: 35px;
    }
    .re-intro-posts-wrap {
        padding-bottom: 23px;
    }
    .re-categories-slider {
        margin-bottom: 35px;
    }
    .real-estate-page .content-with-sidebar {
        flex-direction: column;
    }
    .real-estate-page .content-with-sidebar > div.is-sidebar,
    .real-estate-page .content-with-sidebar > div:not(.is-sidebar) {
        width: 100%;
    }
    .most-shared-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .real-estate-page .search-line-form {
        padding: 27px 0 27px 0;
    }
    .real-estate-page .search-line-form i {
        top: 42px;
    }

    /* Post */
    .re-post-head {
        padding: 27px 0 27px 0;
    }
    .re-post-breadcrumbs {
        margin-bottom: 27px;
    }
    .real-estate-post h1.post-title {
        font-size: 40px;
        line-height: 37px;
    }
    .real-estate-post p {
        font-size: 17px;
        line-height: 25px;
    }
    figure.re-post-featured-image {
        margin-bottom: 20px;
    }
    .re-post-gallery {
        padding-top: 4px;
        margin-bottom: 24px;
    }
    .real-estate-post .comments__wrap {
        padding-bottom: 24px;
    }
    .re-post-sidebar .widget-recent-news {
        padding-top: 7px;
    }
    .re-post-content .category-post__post-tags {
        padding-top: 7px;
        margin-bottom: 30px;
    }
    .re-post-content {
        padding-bottom: 30px;
    }
    .real-estate-post .comments__wrap {
        padding-top: 27px;
    }
    .re-post-content p:not(:last-child) {
        margin-bottom: 25px;
    }
}
/* --- Mobile Phones M --- */
@media only screen and (max-width: 425px) {

}
/* --- Mobile Phones S --- */
@media only screen and (max-width: 360px) {

}