@media only screen and (max-width: 1200px) {
    .grid-row > div[class*='t-grid'],
    [class*='t-grid'] {
        display: grid;
        grid-column-gap: var(--grid-gap);
        grid-row-gap: var(--grid-gap);
    }
    .t-grid-1col {
        grid-template-columns: repeat(1, 1fr);
    }
    .t-grid-2cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .t-grid-3cols {
        grid-template-columns: repeat(3, 1fr);
    }
    .t-grid-4cols {
        grid-template-columns: repeat(4, 1fr);
    }
    .t-grid-5cols {
        grid-template-columns: repeat(5, 1fr);
    }
    .t-grid-6cols {
        grid-template-columns: repeat(6, 1fr);
    }

    /* Fullwidth Sections */
    section.t-is-fullwidth {
        max-width: 100svw;
        --website-fw-spacing: calc(0.5 * (100vw - var(--grid-container-width)));
        margin-left: calc(-1 * var(--website-fw-spacing));
        margin-right: calc(-1 * var(--website-fw-spacing));
        padding-left: var(--website-fw-spacing);
        padding-right: var(--website-fw-spacing);
    }
    section.t-is-fullwidth.t-is-stretched {
        padding-left: 0;
        padding-right: 0;
    }
    section.t-is-fullwidth.t-is-stretched > .t-is-boxed {
        --website-fw-spacing: calc(0.5 * (100vw - var(--grid-container-width)));
        padding-left: var(--website-fw-spacing);
        padding-right: var(--website-fw-spacing);
    }

    /* Sections Spacing */
    section[data-tp-padding="none"] {
        padding-top: 0;
        padding-bottom: 0;
    }
    section[data-tp-padding="top"] {
        padding-bottom: 0;
    }
    section[data-tp-padding="bottom"] {
        padding-top: 0;
    }
    section[data-tp-padding="small"] {
        padding: calc(0.5 * var(--website-section-gap)) 0;
    }
    
    /* === CTA BLOCKS === */
    .masked-cta .masked-content {
        max-width: 30%;
    }
    .masked-cta .cta-title {
        max-width: 80%;
    }
    .grid-cta-with-image {
        --this-spacing: var(--grid-large-gap);
    }
    [class*='grid-col-'] > div.offset-image {
        width: calc(100% - var(--this-offset) - var(--this-spacing));
    }

    /* === CONTACTS PAGE === */
    .framed-socials a {
        width: 36px;
        height: 36px;
    }
    iframe.google-map {
        max-height: 309px;
    }

    /* === PORTFOLIO === */
    .slider-nav.on-sides {
        top: calc(50% - 36px)
    }
    .slider-nav.on-sides a {
        width: 48px;
        height: 72px;
    }
    .next-post.icon-link .icon-wrap {
        width: 128px;
        height: 128px;
    }
    .next-post .icon {
        width: 36px;
        height: 36px;
    }
}


@media only screen and (max-width: 960px) {
    .active-menu-ind,
    .main-header-inner {
        display: none;
    }
    .mobile-header-inner {
        display: flex;
        min-height: 44px;
        justify-content: space-between;
        align-items: center;
        padding: var(--website-header-spacing) var(--grid-gap);
        width: 100%;
    }
    .mobile-menu-toggler {
        width: 44px;
        height: 44px;
        background: var(--website-s-accent);
        transition: background-color 0.3s;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
    }
    .mobile-menu-toggler::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        display: block;
        border: 1px solid var(--website-s-accented-text);
        opacity: 0.15;
        border-radius: inherit;
        transition: opacity 0.3s;
        will-change: opacity;
        z-index: 1;
    }
    .mobile-menu-toggler i {
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 3;
    }
    .mobile-menu-toggler span {
        background: var(--website-s-accented-text);
        width: 18px;
        height: 2px;
        border-radius: 2px;
        display: block;
        position: absolute;
        left: 11px;
        transform-origin: 0 50%;
        transition: transform 0.3s, background-color 0.3s;
        will-change: transform;
        z-index: 5;
    }
    .mobile-menu-toggler span:nth-child(1) {
        top: calc(50% - 7px);
    }
    .mobile-menu-toggler span:nth-child(2) {
        top: calc(50% - 1px);
        transform-origin: 50% 50%;
    }
    .mobile-menu-toggler span:nth-child(3) {
        top: calc(50% + 5px);
        transform: scale(0.667, 1);
    }
        
    .show-menu .mobile-menu-toggler {
        background: transparent;
    }
    .show-menu .mobile-menu-toggler::before {
        opacity: 1;
    }
    .show-menu .mobile-menu-toggler span:nth-child(1) {
        transform: rotate(45deg) scale(1.35,1) translate(-1px, -2px);
        background-color: var(--website-s-heading);
    }
    .show-menu .mobile-menu-toggler span:nth-child(2) {
        transform: scale(0, 1);
        background-color: var(--website-s-heading);
    }
    .show-menu .mobile-menu-toggler span:nth-child(3) {
        transform: rotate(-45deg) scale(1.35,1) translate(-1px, 2px);
        background-color: var(--website-s-heading);
    }

    .mobile-nav {
        display: block;
    }
    .show-menu .mobile-nav {
        transform: translate(0);
        pointer-events: all;
    }
    body.show-menu.is-unloading .mobile-nav {
        transform: translateX(100%);
        pointer-events: none;
    }
    .mobile-nav::-webkit-scrollbar {
        width: 0;
    }    
    .mobile-nav::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 1px;
        height: 100%;
        background: linear-gradient(to top, transparent, var(--website-s-border)); ;
    }
    .mobile-nav::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 90deg, transparent 25%, var(--website-s-body-bg) 100%);
    }

    .mobile-menu {
        padding: var(--grid-large-gap);
        margin: 0;
        position: relative;
        z-index: 5;
    }
    .mobile-menu > li.current-menu-parent > a::before,
    .mobile-menu > li.current-menu-item > a::before,
    .mobile-menu > li.current-menu-ancestor > a::before,
    .mobile-menu .sub-menu > li.current-menu-parent > a::before,
    .mobile-menu .sub-menu > li.current-menu-item > a::before,
    .mobile-menu .sub-menu > li.current-menu-ancestor > a::before {
        content: '';
        position: absolute;
        left: calc(-1 * var(--grid-large-gap));
        top: 50%;
        display: block;
        width: var(--grid-gap);
        height: 2px;
        border-radius: 0 2px 2px 0;
        background: var(--website-s-heading);
    }
    .mobile-menu .sub-menu > li.current-menu-parent > a::before,
    .mobile-menu .sub-menu > li.current-menu-item > a::before,
    .mobile-menu .sub-menu > li.current-menu-ancestor > a::before {
        opacity: 1;
        width: var(--grid-small-gap);
        left: calc(-1 * var(--grid-gap) + 2px);
        transform: translateY(-1px);
    }
    .mobile-menu a {
        color: var(--website-c-menu);
        display: block;
        position: relative;
        padding: 16px 0;
    }
    .mobile-menu .sub-menu {
        padding-left: var(--grid-gap);
        position: relative;
        display: none;
    }
    .mobile-menu .sub-menu a {
        padding: 12px 0;
    }
    .mobile-menu .sub-menu::before {
        content: '';
        width: 2px;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background: var(--website-s-heading);
        opacity: 0.15;
        border-radius: 2px;
    }
    .mobile-menu li {
        margin: 0;
        padding: 0;
        list-style: none;
        font-family: var(--website-t-menu-ff);
        font-weight: var(--website-t-menu-fw);
        font-size: var(--website-t-menu-fs);
        line-height: var(--website-t-menu-lh);
        position: relative;
    }
    .mobile-menu ul.sub-menu li {
        font-family: var(--website-t-submenu-ff);
        font-weight: var(--website-t-submenu-fw);
        font-size: var(--website-t-submenu-fs);
        line-height: var(--website-t-submenu-lh);
    }

    .mobile-menu li.current-menu-parent > a,
    .mobile-menu li.current-menu-item > a,
    .mobile-menu li.current-menu-ancestor > a {
        color: var(--website-c-menu-active);
    }

    .mobile-menu li.menu-item-has-children > a::after {
        content: '';
        width: var(--website-t-menu-fs);
        height: var(--website-t-menu-fs);
        background: var(--website-c-menu);
        transition: background-color 0.3s, transform 0.3s;
        display: inline-block;
        vertical-align: middle;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        -webkit-mask-size: contain;
        mask-repeat: no-repeat;
        mask-size: contain;
        mask-position: center;
        -webkit-mask-image: var(--icon-chevron-down);
        mask-image: var(--icon-chevron-down);
        transform: translateY(-1px) rotate(-90deg);
        position: absolute;
        right: -24px;
        width: 36px;
        height: 36px;
        top: calc(50% - 18px);
    }
    .mobile-menu li.current-menu-parent.menu-item-has-children > a::after,
    .mobile-menu li.current-menu-item.menu-item-has-children > a::after,
    .mobile-menu li.current-menu-ancestor.menu-item-has-children > a::after {
        background: var(--website-c-menu-active);
    }
    .mobile-menu li.menu-item-has-children > a.is-active::after {
        transform: translateY(-1px) rotate(0deg);
    }

    ul.mobile-menu li.menu-divider {
        position: relative;
        padding: 12px 0;
        height: 1px;
        pointer-events: none;
    }
    ul.mobile-menu li.menu-divider::after {
        content: '';
        width: 100%;
        height: 1px;
        display: block;
        background: var(--website-s-heading);
        position: absolute;
        left: 0;
        top: 12px;
        opacity: 0.1;
    }

    .mobile-menu-overlay {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 86;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s;
        will-change: opacity;
        background: var(--website-s-nav);
    }
    .show-menu .mobile-menu-overlay {
        pointer-events: all;
        opacity: 0.5;
    }
}

@media only screen and (min-width: 740px) and (max-width: 960px) {
    .large-text.tp-normal-text {
        font-size: var(--website-t-content-fs);
        line-height: var(--website-t-content-lh);
        letter-spacing: var(--website-t-content-ls);
        font-weight: var(--website-t-content-fw);
    }
    
    /* Fullwidth Sections */
    section.tp-is-fullwidth {
        max-width: 100svw;
        --website-fw-spacing: calc(0.5 * (100vw - var(--grid-container-width)));
        margin-left: calc(-1 * var(--website-fw-spacing));
        margin-right: calc(-1 * var(--website-fw-spacing));
        padding-left: var(--website-fw-spacing);
        padding-right: var(--website-fw-spacing);
    }
    section.tp-is-fullwidth.tp-is-stretched {
        padding-left: 0;
        padding-right: 0;
    }
    section.tp-is-fullwidth.tp-is-stretched > .tp-is-boxed {
        --website-fw-spacing: calc(0.5 * (100vw - var(--grid-container-width)));
        padding-left: var(--website-fw-spacing);
        padding-right: var(--website-fw-spacing);
    }

    .tp-centered-last-item.tp-grid-2cols > div:nth-child(odd):last-child {
        transform: translateX(calc(50% + 0.5 * var(--grid-gap)));
    }

    /* Icon Boxes */
    .icon-box .box-icon {
        width: 48px;
        height: 48px;
    }
    .icon-box i {
        width: 24px;
        height: 24px;
    }
    .icon-box h4 {
        padding-right: calc(48px + var(--grid-small-gap));
    }
}


@media only screen and (max-width: 960px) {

    /* Sections Spacing */
    section[data-tp-padding="none"] {
        padding-top: 0;
        padding-bottom: 0;
    }
    section[data-tp-padding="top"] {
        padding-bottom: 0;
    }
    section[data-tp-padding="bottom"] {
        padding-top: 0;
    }
    section[data-tp-padding="small"] {
        padding: calc(0.5 * var(--website-section-gap)) 0;
    }

    .hero-type01 h1.page-title {
        font-size: var(--website-t-h2-fs);
        letter-spacing: var(--website-t-h2-ls);
        line-height: var(--website-t-h2-lh);
    }
    .hero-type01 .masked-content {
        width: 80px;
        height: 80px;
    }
    .hero-type01 .masked-content a.square-button {
        width: 68px;
        height: 68px;
    }
    .hero-type01 .masked-content a span {
        width: 24px;
        height: 24px;
    }

    .masked-cta .masked-content {
        max-width: 50%;
    }
    .masked-cta .cta-title {
        font-size: var(--website-t-h2-fs);
        letter-spacing: var(--website-t-h2-ls);
        line-height: var(--website-t-h2-lh);
        max-width: 100%;
        margin: var(--grid-large-gap) 0;
    }
    .masked-cta input {
        font-size: var(--website-t-h4-fs);
        letter-spacing: var(--website-t-h4-ls);
    }
    .masked-cta button {
        padding: var(--grid-gap);
    }
    .masked-cta button span {
        width: 28px;
        height: 28px;
    }

    .grid-cta-with-image {
        padding: 0;
    }
    .cta-form-title {
        font-size: var(--website-t-h2-fs);
        letter-spacing: var(--website-t-h2-ls);
        line-height: var(--website-t-h2-lh);
    }
    .cta-text {
        padding: var(--grid-large-gap) 0;
    }
    div[class*='grid-col']:has(.offset-image) {
        margin-top: calc(2 * var(--grid-large-gap));
        margin-bottom: calc(-1 * var(--grid-large-gap));
    }
    [class*='grid-col-']:first-child > div.offset-image,
    [class*='grid-col-'] > div.offset-image {
        border-radius: 0 var(--website-large-br) 0 0;
    }
    [class*='grid-col-']:last-child > div.offset-image {
        border-radius: var(--website-large-br) 0 0 0;
    }

    .section-title p.is-short {
        max-width: calc(0.8 * var(--grid-container-width));
    }
    .masked-content {
        max-width: 50%;
    }
    .grid-cta .masked-content {
        max-width: 33.33%;
    }

    iframe.google-map {
        aspect-ratio: 1/1;
        height: auto;
        max-height: unset;
    }

    .detailed-list-title {
        min-width: calc(25% - var(--grid-gap));
        max-width: calc(25% - var(--grid-gap));
    }
    .detailed-list-description {
        min-width: calc(75% - 2 * var(--grid-gap) - 64px);
        max-width: calc(75% - 2 * var(--grid-gap) - 64px);
    }
    .detailed-list-button {
        width: 64px;
        height: 64px;
    }

    /* Slider */
    .slider-nav.masked-content {
        width: 128px;
        height: 64px;
    }
    .slider-nav.masked-content a {
        width: 56px;
        height: 56px;
        margin: 8px 0 0 8px;
    }
    .slider-nav.on-sides a span.icon {
        width: 20px;
        height: 20px;
    }

    .fullscreen-page .slider img,
    .fullscreen-page .slider video {
        height: calc(100svh - var(--st-header-height) - var(--st-footer-height));
        width: auto;
    }

    .column-item .masked-content {
        max-width: 85%;
    }
    .column-item h4 {
        font-size: var(--website-t-h5-fs);
        letter-spacing: var(--website-t-h5-ls);
        line-height: var(--website-t-h5-lh);
    }
    .column-item-title span {
        margin-bottom: 4px;
    }
    .column-item-content .icon-wrap {
        width: 64px;
        height: 64px;
    }
    .column-item .icon {
        width: 16px;
        height: 16px;
    }

    .next-post h2 {
        font-size: var(--website-t-h2-fs);
        letter-spacing: var(--website-t-h2-ls);
        line-height: var(--website-t-h2-lh);
    }
    .next-post .icon {
        width: 24px;
        height: 24px;
    }
    .next-post.icon-link .icon-wrap {
        width: 96px;
        height: 96px;
    }
    .next-post .icon-wrap::before {
        border-width: 2px;
    }

    /* === Footer === */
    .footer-widgets div[class*='grid-tp-col']:has(.info-widget) {
        padding: 0 calc(0.2 * var(--grid-container-width)) 0 0;
    }
    .info-widget .label {
        margin-bottom: 8px;
    }
}

@media only screen and (max-width: 739px) {
    .mobile-nav::after {
        background: linear-gradient( 180deg, transparent 0%, var(--website-s-body-bg) 100%);
        opacity: 0.85;
    }
    section.is-fullwidth {
        margin-left: calc(-1 * var(--grid-gap));
        margin-right: calc(-1 * var(--grid-gap));
        padding-left: var(--grid-gap);
        padding-right: var(--grid-gap);
    }
    section.is-fullwidth.is-stretched > .is-boxed {
        padding-left: var(--grid-gap);
        padding-right: var(--grid-gap);
    }

    /* === Mobile Menu === */
    .mobile-nav {
        max-width: 100%;
    }
    .mobile-header-inner {
        padding: var(--website-header-spacing) var(--grid-gap);
    }

    /* === Grid === */
    .website-grid-1col,
    .website-grid-2cols,
    .website-grid-3cols,
    .website-grid-4cols,
    .website-grid-5cols,
    .website-grid-6cols {
        grid-template-columns: repeat(1, 1fr);   
    }
    
    section[data-tp-padding="none"] {
        padding-top: 0;
        padding-bottom: 0;
    }
    section[data-tp-padding="top"] {
        padding-bottom: 0;
    }
    section[data-tp-padding="bottom"] {
        padding-top: 0;
    }
    section[data-tp-padding="small"] {
        padding: calc(0.5 * var(--website-section-gap)) 0;
    }

    .hero-info-line {
        font-size: var(--website-t-meta-fs);
    }

    .hero-type01 .hero-social-proof {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        padding-top: var(--grid-gap);
    }
    .hero-type01 .hero-social-proof > p {
        text-align: left;
    }
    .hero-type01 .hero-social-proof > div {
        margin: 0 0 0 28px;
    }
    .hero-type01 .masked-block {
        --masked-inner-radius: var(--website-default-br);
        --masked-border-radius: var(--website-small-br);
    }
    .hero-type01 .masked-content a.square-button {
        width: 44px;
        height: 44px;
        border-radius: var(--website-small-br);
    }
    .hero-type01 .masked-content a span {
        width: 16px;
        height: 16px;
    }
    .hero-type01 .masked-content {
        width: 56px;
        height: 56px;
    }
    .hero-type01 .masked-content.at-bottom-right .square-button {
        margin: var(--grid-small-gap) 0 0 var(--grid-small-gap);
    }
    .hero-type01 .masked-media img {
        border-radius: var(--website-small-br);
    }

    .page-title.is-large {
        font-size: var(--website-t-h1-fs);
        line-height: var(--website-t-h1-lh);
    }
    .section-title p.is-short {
        max-width: calc(0.9 * var(--grid-container-width));
    }
    .image-box:not(:last-child) {
        margin: unset;
    }
    .member-contacts .socials-list a {
        width: 48px;
        height: 48px;
    }
    .member-contacts .socials-list a i {
        width: 24px;
        height: 24px;
    }
    .icon-link .icon-wrap {
        width: 64px;
        height: 64px;
    }

    .masked-content[class*='grid-m-top-'],
    .masked-content[class*='grid-m-bottom-'] {
        position: static;
        max-width: 100%;
        padding: 0;
    }
    .masked-content[class*='grid-m-top-'] > div,
    .masked-content[class*='grid-m-bottom-'] > div {
        padding: 0;
    }

    .detailed-list li {
        align-items: center;
    }
    .detailed-list-title {
        min-width: calc(100% - 2 * var(--grid-gap) - 48px);
        max-width: calc(100% - 2 * var(--grid-gap) - 48px);
    }
    .detailed-list-description {
        display: none;
    }
    .detailed-list-button {
        width: 48px;
        height: 48px;
    }
    .detailed-list-button span.icon {
        width: 16px;
        height: 16px;
    }

    .slider-nav.masked-content a {
        width: 44px;
        min-width: 44px;
        height: 44px;
    }
    .slider-nav.masked-content a::before {
        border-width: 1px;
    }
    .slider-nav.masked-content span.icon {
        width: 12px;
        height: 12px;
    }
    .slider-nav.masked-content {
        width: 100px;
        height: 52px;
    }

    .masked-cta .masked-content {
        display: none;
    }
    .masked-cta .cta-form {
        padding: var(--grid-gap);
        flex-direction: column;
        gap: var(--grid-small-gap);
    }
    .masked-cta .cta-title {
        margin: 0 0 var(--grid-gap) 0;
    }
    .masked-cta .cta-form-button {
        width: 100%;
    }
    .masked-cta button {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .masked-cta input {
        font-size: var(--website-t-h6-fs);
        letter-spacing: var(--website-t-h5-ls);
    }

    .grid-cta .square-button span {
        width: 48px;
        height: 48px;
    }

    .slider-nav.on-sides a {
        height: 64px;
    }
    .slider-nav.on-sides {
        top: calc(50% - 32px);
    }
    .slider-nav.on-sides a.slider-prev span.icon {
        transform: translateX(-4px);
    }
    .slider-nav.on-sides a.slider-next span.icon {
        transform: translateX(4px);
    }
    .slider .slide-content-inner {
        padding: calc(1.5 * var(--grid-small-gap)) calc(1.5 * var(--grid-gap));
    }
    .slider .slide-content-inner h4 {
        font-size: var(--website-t-h5-fs);
        letter-spacing: var(--website-t-h5-ls);
        line-height: var(--website-t-h5-lh);
    }

    .column-item.masked-block {
        --masked-inner-radius: var(--website-default-br)
    }
    .column-item h4 {
        font-size: var(--website-t-h6-fs);
        letter-spacing: var(--website-t-h6-ls);
        line-height: var(--website-t-h6-lh);
    }
    .column-item-content .icon-wrap {
        min-width: 48px;
        min-height: 48px;
        max-width: 48px;
        max-height: 48px;
    }
    .column-item .masked-content {
        max-width: calc(100% - var(--grid-gap));
    }

    .hero-info-line .portfolio-meta {
        display: flex;
        flex-direction: column;
    }
    .next-post.icon-link .icon-wrap {
        width: 64px;
        height: 64px;
        border-radius: var(--website-default-br);
    }
    .next-post .icon {
        width: 20px;
        height: 20px;
    }

    .footer-widgets div[class*='grid-tp-col']:has(.info-widget) {
        padding: 0;
    }
    .menu-widget {
        font-size: 12px;
    }
    .counter {
        margin-bottom: 20px;
    }
}
