/* breakpoints */

/* xxl */
@media (width < 1616px) {
}
/* xl */
@media (width < 1416px) {
}

/* lg */
@media (width < 1216px) {
}
/* md */
@media (width < 992px) {
}
/* s */
@media (width < 768px) {
}
/* xs */
@media (width < 640px) {
}

@media (max-width: 1024px) {
    .heading-1,
    .sec__t {
        font-size: 42px;
    }
    .heading-2 {
        font-size: 36px;
    }
    .heading-3 {
        font-size: 32px;
    }
    .gal {
        height: 300px;
    }
    .trg {
        flex-wrap: wrap;
    }
    .tcd {
        flex: 0 0 calc(50% - 10px);
    }
    .sg {
        flex-wrap: wrap;
        padding: 0 20px;
    }
    .sg .sc {
        flex: 0 0 calc(50% - 8px) !important;
        height: 400px;
    }
    .advg {
        /* flex-wrap: wrap; */
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .adv {
        /* width: calc(33.33% - 12px); */
        /* width: auto; */
        flex-shrink: 1;
        height: auto;
    }
    .tg {
        flex-wrap: wrap;
    }
    .tc {
        width: calc(33.33% - 14px);
    }
    .cb-wrap {
        grid-template-columns: 1fr;
    }
    .ig {
        grid-template-columns: 1fr 1fr;
    }
    .ps {
        flex-wrap: wrap;
    }
    .pst {
        flex: 1 1 calc(50% - 8px);
        max-width: none;
    }
    .amc {
        height: auto;
    }
    .amc__p {
        width: 250px;
        height: 350px;
    }

    .blog__grid {
        grid-template-columns: repeat(1, 1fr)!important;
    }

    .blog__card-title {
        font-size: 15px;
    }

    .blog__card-desc {
        font-size: 12px;
        font-weight: 500;
    }

    .mq-track span {
        font-size: 27px;
    }
    .sec-space-top-md {
        padding-top: 50px
    }

    .blog__card {
        min-height: 245px;
    }
    .blog__card-sub-title {
        font-size: 8px;
    }

    .contact_form__right {
        display: none;
    }

    .contact_form__wrap {
        display: block;
    }

    .contact_form__bg {
        height: auto;
        padding: 44px 22px;
        padding-bottom: 72px;
    }

    .hd__desc, .hd p {
        font-size: 15px;
    }

    .ab__in_desc {
        font-size: 13px;
    }

    .rt__h {
        font-size: 18px;
        padding: 10px 12px;
    }

    .al__i {
        font-size: 15px;
        padding: 5px 0;
    }

    .rtg, .hcd__tg {
        grid-template-columns: 1fr;
    }

    .ah {
        font-size: 22px;
    }

    .hcd {
        width: auto;
        height: auto;
    }

    .acs, .gal {
        margin-bottom: 0px
    }
    .hd p:last-child {
        margin-bottom: 0!important;
    }

    .hcd__pl, .hcd__pv {
        font-size: 18px;
    }

    .hcd .ui-button {
        font-size: 12px;
        letter-spacing: 4%;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }

    .cc__v {
        font-size: 23px;
    }

    .cc {
        min-height: 120px;
        padding: 12px;
    }

    .cc__lb {
        font-size: 16px;
    }

    .cc__ic {
        width: 38px;
        height: 38px;;
    }

    .team__card {
        height: auto;
        overflow: none;
    }

    .team__card-info {
        flex-direction: column;
        align-items: start;
        margin-top: 10px;
        padding: 14px 0;
    }

    .team__card-info {
        position: unset;
        gap: 9px;
    }

    .team__card-info:before, .team__card__pic {
        height: 450px;
    }

    .team__card__name {
        font-size: 15px;
        color: #000;
    }

    ul.filter-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .tcd__nm {
        font-size: 15px;
    }
    .tcd__lc {
        font-size: 9px;
    }

    .tcd__pr {
        font-size: 16px;
    }

    .tcd__bot {
        flex-direction: column;
        align-items: start;
    }

    .tcd__im {
        height: 184px;
    }

    .ui-button-outline-md {
        font-size: 9px;
        height: 25px;
    }

    .filter-nav {
        display: none;
    }

    .filter-grid-btn {
        --btn: unset;
    }

    a.menu__link {
        font-size: 30px;
    }

    .team__card-btn {
        font-size: 11px;
        height: 30px;
    }

    .sc {
        height: 300px;
    }

    .sc__nm, .sc__pr {
        font-size: 15px;
    }

    .sc__btm > .ui-button-outline {
        display: none;
    }

    .sc__mob-button {
        width: 25px;
        height: 25px;
        border: 2px solid #fff;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sc__bd {
        padding: 10px;
    }

    .footer__top {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .footer__contacts {
        flex-direction: column;
        align-items: start;
        gap: 0px;
        /* margin-bottom: 30px; */
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 10px 5px;
    }

    .footer__link {
        background: #F4F4F4;
        padding: 5px 10px;
        border-radius: 5px;
    }

    .footer__col-2 {
        gap: 30px;
    }

    .footer__col-3, .footer__col-4 {
        width: 50%;
    }

    .footer__last-cols {
        display: flex;
        gap: 10px
    }

    .desktop-visible {
        display: none;
    }

    .mobile-visible {
        display: block;
    }

    .hg {
        padding-top: 0;
    }

    .ui-modal__content_right {
        display: none;
    }

    .ui-modal__content {
        max-width: unset;
        grid-template-columns: unset;
        display: block;
        margin-left: 10px;
        margin-right: 10px;
    }

    .ui-modal__grid-2 {
        grid-template-columns: 1fr;
    }


    textarea.ui-modal__textarea, .ui-modal__input {
        border: unset;
        border-bottom: 1px solid #0052b4;
        border-radius: 0;
        padding: 0;
    }
    
    .ui-modal__content_head .heading-2 {
        font-size: 35px;
    }
        /* height: 257px; */
}
@media (max-width: 768px) {
    .heading-1,
    .sec__t {
        font-size: 28px;
    }
    .heading-2 {
        font-size: 22px;
        padding: 22px;
        line-height: 117%;
    }
    .heading-3 {
        font-size: 24px;
    }
    .hero {
        height: auto;
        min-height: 500px;
        padding-top: 80px;
    }
    .sf {
        flex-direction: column;
    }
    .sf__f {
        border-right: none;
        border-bottom: 1px solid var(--gr-bd);
    }
    .gal {
        grid-template-columns: 1fr;
        height: auto;
    }
    .hg {
        grid-template-columns: 1fr;
    }
    .tg {
        flex-wrap: wrap;
    }
    .tc {
        width: calc(50% - 10px);
        height: 400px;
    }
    .ctg {
        grid-template-columns: 1fr;
    }
    .atg {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .cfs {
        grid-template-columns: 1fr;
        padding: 32px 12px;
    }
    .cb-wrap {
        grid-template-columns: 1fr;
    }
    .cb__left {
        padding: 32px;
    }
    .cb__right {
        min-height: 300px;
        position: relative;
    }
    .ps {
        flex-direction: column;
    }
    .pst {
        flex: 1 1 100%;
        max-width: none;
    }
    .hdr__nav .hb {
        display: none;
    }
    /* .hs {
        display: none;
    } */
    .adv {
        /* width: calc(50% - 8px); */
        /* width: auto; */
        flex-shrink: 1;
        height: auto;
        padding: 5px 5px;
    }

    .adv__ic {
        margin-bottom: 15px;
        width: auto
    }

    .adv__ic img {
        width: 50px;
        height: 50px;
        margin: auto;
    }

    .adv__v {
        font-size: 14px;
        line-height: 16px;
    }

    .adv__l {
        font-size: 8px;
    }
    .ig {
        grid-template-columns: 1fr;
    }
    .ic {
        flex-direction: column;
        min-height: auto;
    }
    .ic__im {
        width: 100%;
        min-height: 200px;
    }
    .ft__b {
        flex-direction: column;
        text-align: center;
    }
    .sg .sc {
        flex: 0 0 100% !important;
        height: 350px;
    }
    .tcd {
        flex: 0 0 100%;
    }
    .trg {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }
    .tour-filters {
        flex-wrap: wrap;
    }
    .sea {
        min-height: auto;
    }
    .amc {
        /* flex-direction: column; */
        height: auto;
    }
    .amc__p {
        width: 50%;
        height: 300px;
    }
    .cfs-wide {
        /* padding: 0 20px; */
        padding: 0
    }

    .cfs__inf {
        display: none;
    }

    .amc__nm {
        font-size: 14px;
    }

    .amc__q {
        font-size: 13px;
    }

    .amc__qi {
        width: 35px;
        height: 28px;
    }

    .amc__qi svg {
        width: 100%;
        height: 100%;
    }

    .cfs__t {
        height: auto;
        font-size: 28px;
        font-weight: 500;
    }

    .cfs__tx {
        font-size: 14px;
    }

    .ui-button-outline-footer {
        font-size: 14px;
        padding: 11px 14px;
    }

    .footer__phone {
        font-size: 30px;
    }

    .footer__email {
        font-size: 19px;
    }

    a.footer__text {
        font-size: 12px;
    }
}
