@media(min-width:1200px) {
    .gallery-grid {
        max-width: 1518px;
        margin: auto
    }

    .posts-inner {
        padding-bottom: 90px
    }

    .testimonials {
        padding-bottom: 70px
    }

    .copyright {
        margin-top: 55px
    }

    .story-content {
        padding-bottom: 58px
    }
}

@media(min-width:1200px) and (max-width:1750px) {
    .back-to-top {
        right: 0
    }

    .mtm-pricing-inner {
        max-width: 1300px !important;
    }

    .drawer-contact {
        margin-top: 30px;
    }

    .footer-details {
        max-width: 1530px;
    }

    .footer-details {
        padding-inline: 5%;
        margin-top: 30px !important;
        margin: 0 auto;

    }

    .testimonials-inner {
        gap: 50px;
        grid-template-columns: 32% 1fr
    }

    .footer-menus {
        margin-left: 12%
    }
}

@media(max-width:1250px) {
    .mtm-step-connector {
        left: calc(50% + 55px);
        width: calc(100% + var(--mtm-step-gap, 40px) - 110px);
    }
}

@media(max-width:1199px) {
    html {
        scrollbar-gutter: auto;
    }



    body {
        font-size: 17px;
        overflow-x: clip;
        max-width: 100%;
    }

    .container {
        width: calc(100% - 64px)
    }

    .site-header {
        height: 90px
    }

    .header-logo {
        width: 150px;
        height: 50px
    }

    .menu-toggle {
        top: 20px;
        right: 24px
    }

    .hero {
        height: 620px
    }

    .hero h1,
    .hero .hero-title {
        font-size: 40px
    }

    .hero-cta,
    .hero-slide .hero-cta {
        bottom: 70px
    }

    .hero-nav {
        display: none
    }

    .hero-swiper>.hero-pagination,
    .hero-swiper>.hero-pagination.swiper-pagination-horizontal,
    .hero-swiper>.hero-pagination.swiper-pagination-bullets,
    .hero-swiper>.hero-pagination.swiper-pagination-lock {
        bottom: 28px !important
    }

    .gallery-section {
        padding-block: 64px
    }

    .gallery-grid {
        gap: 20px
    }

    .brand-intro {
        padding: 70px 32px;
        min-height: 0
    }

    .brand-intro p {
        font-size: 18px;
        max-width: 650px
    }

    .posts-inner {
        padding: 64px 30px
    }

    .posts-grid {
        gap: 22px
    }

    .post-card h3 {
        font-size: 23px
    }

    .post-excerpt {
        font-size: 17px
    }

    .post-category {
        font-size: 11px;
        letter-spacing: 1px
    }

    .section-heading h2,
    h2 {
        font-size: 38px
    }

    .testimonials {
        padding: 65px 32px
    }

    .testimonials-inner {
        gap: 50px;
        grid-template-columns: minmax(0, 1fr);
    }

    .testimonials h2 {
        font-size: 34px
    }

    .review blockquote {
        font-size: 17px
    }

    .review-stage {
        padding-left: 44px
    }

    .footer-inner {
        min-height: 0;
        padding: 70px 0 28px
    }

    .footer-menus {
        margin: 65px 50px 40px;
        gap: 32px
    }

    .footer-highlight li {
        font-size: 26px
    }

    .footer-menus li,
    .footer-details {
        font-size: 16px
    }

    .footer-details {
        gap: 45px
    }

    .back-to-top {
        right: 0;
        top: 70px;
        width: 56px;
        height: 56px
    }

    .copyright {
        margin-top: 50px;
        font-size: 14px
    }

    .drawer-panel {
        width: 60%
    }

    .drawer-inner {
        padding: 110px 70px 60px 40px
    }

    .menu-close {
        right: 58px;
        top: 30px
    }

    .drawer-contact {
        margin-top: 80px
    }

    .story-frame {
        width: calc(100% - 100px);
        padding-top: 64px
    }

    .story-content {
        padding: 64px 40px
    }

    .story-copy {
        font-size: 18px
    }

    .story-content h1 {
        font-size: 40px
    }

    .story-section {
        padding-bottom: 64px
    }

    .mtm-pricing-desktop {
        padding: 0 20px;
    }
}

@media(max-width:920px) {
    .testimonials-inner {
        grid-template-columns: minmax(0, 1fr);
        /* Cho phép cột grid co nhỏ hơn min-content */
    }

    .testimonials .reviews {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        /* Triệt tiêu min-width: auto của CSS Grid */
        overflow: hidden;
        /* Chặn tuyệt đối Swiper và controls tràn ra ngoài lề phải */
    }

    .reviews-swiper {
        min-width: 0;
        /* Đảm bảo Swiper tính toán lại độ rộng slide theo đúng khung cha */
    }
}

@media(max-width:767px) {
    html {
        scrollbar-gutter: auto;
    }

    body {
        overflow-x: clip;
        max-width: 100%;
    }

    .container {
        width: calc(100% - 27px)
    }

    .error-404 {
        min-height: calc(100vh - 80px - 160px);
        padding: 48px 0 80px
    }

    .error-404-inner {
        padding-block: 28px
    }

    .error-404-code {
        font-size: 88px
    }

    .error-404 h1 {
        font-size: 26px
    }

    .error-404-copy {
        font-size: 16px;
        margin-bottom: 28px
    }

    .error-404-actions {
        flex-direction: column;
        gap: 20px
    }

    .site-header {
        height: 80px
    }

    .header-logo {
        width: 132px;
        height: 44px
    }

    .menu-toggle {
        right: 10px;
        top: 15px
    }

    .hero {
        height: 560px
    }

    .hero h1,
    .hero .hero-title {
        font-size: 32px;
        max-width: 360px;
        margin-top: -30px
    }

    .hero-cta,
    .hero-slide .hero-cta {
        bottom: 52px
    }

    .button {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 14px
    }

    .gallery-section {
        padding-block: 40px
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .gallery-more {
        margin-top: 28px
    }

    .brand-intro {
        padding: 50px 24px
    }

    .brand-intro h2 {
        font-size: 30px;
        margin-bottom: 22px
    }

    .brand-intro p {
        font-size: 16px
    }

    .posts-frame {
        border: 0
    }

    .posts-inner {
        padding: 44px 0
    }

    .section-heading {
        margin-bottom: 26px
    }

    .section-heading h2 {
        font-size: 32px
    }

    .text-link {
        font-size: 11px
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .post-card-media {
        aspect-ratio: 400/500
    }

    .post-card h3 {
        font-size: 23px
    }

    .post-category {
        margin-top: 20px
    }

    .post-excerpt {
        font-size: 16px
    }

    .testimonials {
        padding: 48px 24px
    }

    .testimonials-inner {
        display: block !important;
    }

    .testimonials h2 {
        font-size: 32px;
        margin-bottom: 30px;
        max-width: 270px
    }

    .review-stage {
        min-height: 0;
        padding-left: 35px;
        margin-bottom: 24px
    }

    .review-stage:before {
        font-size: 65px;
        top: -14px
    }

    .review blockquote {
        font-size: 16px
    }

    .review figcaption {
        font-size: 11px
    }

    .footer-inner {
        padding-top: 48px
    }

    .footer-brand.footer-logo {
        width: 175px;
        height: 185px
    }

    .back-to-top {
        right: 0;
        width: 44px;
        height: 44px;
        top: 40px
    }

    .back-to-top svg {
        width: 24px;
        height: 28px
    }

    .footer-menus {
        margin: 44px 0 34px;
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px
    }

    .footer-highlight li {
        font-size: 22px
    }

    .footer-menus li {
        font-size: 14px
    }

    .footer-details {
        display: block;
        margin-top: 32px;
        font-size: 14px
    }

    .footer-details address {
        margin-top: 24px
    }

    .footer-details>div p {
        margin-top: 8px
    }

    .copyright {
        font-size: 11px;
        margin-top: 40px
    }

    .social-links {
        gap: 24px
    }

    .social-links svg,
    .social-links .social-icon {
        width: 32px;
        height: 32px
    }

    .zalo {
        font-size: 26px
    }

    .drawer-panel {
        width: 330px;
        max-width: 100%;
    }

    .drawer-inner {
        padding: 95px 32px 40px
    }

    .menu-close {
        right: 26px;
        top: 25px
    }

    .languages {
        font-size: 21px;
        margin-bottom: 24px
    }

    .drawer nav li {
        font-size: 22px
    }

    .drawer-contact {
        margin-top: 65px
    }

    .drawer-contact p {
        font-size: 16px
    }

    .drawer .social-links svg,
    .drawer .social-links .social-icon {
        width: 34px;
        height: 34px
    }

    .story-frame {
        width: calc(100% - 40px);
        padding-top: 40px
    }

    .story-content {
        padding: 40px 18px
    }

    .story-content h1 {
        font-size: 30px;
        margin-bottom: 26px
    }

    .story-copy {
        font-size: 16px;
        line-height: 1.65
    }

    .story-images {
        margin-block: 28px
    }

    .story-section {
        padding-bottom: 40px
    }

    .story-copy .signature {
        margin-top: 24px
    }
}

@media(max-width:600px) {

    .story-copy .signature {
        font-size: 16px;
        margin-top: 15px
    }

    .site-header {
        height: 68px;
        background-color: #EFEFEF;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    .site-header.is-hidden {
        transform: translateY(-100%);
    }

    .header-logo {
        width: auto;
        height: 28px;
    }

    .menu-toggle {
        top: 50%;
        transform: translateY(-50%);
        right: 16px;
        height: 35px;
        width: 35px;
        color: #1B1310;
    }

    .menu-toggle-icon {
        display: block;
        width: 30px;
        height: 20px;
    }

    .drawer-inner {
        padding: 85px 61px 40px 32px;
    }

    .languages {
        font-size: 19px;
        margin-bottom: 34px;
    }

    .menu-close {
        right: 9px;
        top: 25px;
    }

    .drawer nav li {
        font-size: 19px;
        line-height: 25px;
    }

    .drawer nav {
        margin-bottom: 45px;
    }

    .drawer-contact {
        margin-top: 45px;
    }

    .drawer-contact p br {
        display: none;
    }

    .drawer .social-links svg,
    .drawer .social-links .social-icon {
        width: 28px;
        height: 27px;
    }

    .drawer .social-links .social-item:last-child .social-icon {
        width: auto;
        height: 20px;
    }

    .hero {
        height: 550px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 50px;
    }

    .hero-slide {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 50px;
        height: 100%;
        gap: 80px;
        width: 100%;
    }

    .hero h1,
    .hero .hero-title {
        position: relative;
        z-index: 2;
        font-size: 26px;
        line-height: 1.25;
        text-align: center;
        color: #fff;
        max-width: unset;
        margin: 0 0 24px;
        padding: 0;
    }

    .hero-cta,
    .hero-slide .hero-cta {
        position: static;
        transform: none;
        margin: 0;
        bottom: auto;
        left: auto;
        z-index: 2;
    }

    .hero-cta .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 47px;
        padding: 10px 16px;
        padding-right: 16px;
        border: 1px solid rgba(255, 255, 255, 0.9);
        background: transparent;
        color: #fff;
        font-size: 15px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        border-radius: 0;
        transition: color .25s ease, padding-right .32s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hero-cta .button::before {
        background: #fff;
        transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hero-cta .button:after {
        transition: opacity .22s ease .05s, transform .32s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hero-cta .button:hover,
    .hero-cta .button:active,
    .hero-cta .button.is-animating {
        color: var(--dark) !important;
        padding-right: 64px !important;
    }

    .hero-cta .button:hover::before,
    .hero-cta .button:active::before,
    .hero-cta .button.is-animating::before {
        transform: scaleX(1) !important;
    }

    .hero-cta .button:hover:after,
    .hero-cta .button:active:after,
    .hero-cta .button.is-animating:after {
        right: 14px !important;
        opacity: 1 !important;
        transform: translate3d(0, -50%, 0) !important;
    }

    .hero-swiper>.hero-pagination {
        bottom: 12px !important;
    }

    .gallery-more {
        margin-top: 29px;
    }

    .gallery-section {
        padding-block: 50px;
    }

    .gallery-section {
        padding-top: 0px;
    }

    .gallery-grid {
        gap: 16px;
    }

    .gallery-item {
        aspect-ratio: unset;
        width: auto;
        height: 250px;
    }

    .button.arrow-link:not(.button-filled) {
        font-size: 15px;
        line-height: 25px;
        padding: 12px 16px;
        min-height: 45px;
        padding-right: 16px;
        transform: translateZ(0);
        transition: color .25s ease, padding-right .32s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .button.arrow-link:not(.button-filled)::before {
        transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .button.arrow-link:not(.button-filled):after {
        transition: opacity .22s ease .05s, transform .32s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .button.arrow-link:not(.button-filled).is-animating,
    .button.arrow-link:not(.button-filled):active {
        color: #fff !important;
        padding-right: 64px !important;
    }

    .button.arrow-link:not(.button-filled).is-animating::before,
    .button.arrow-link:not(.button-filled):active::before {
        transform: scaleX(1) !important;
    }

    .button.arrow-link:not(.button-filled).is-animating:after,
    .button.arrow-link:not(.button-filled):active:after {
        right: 14px !important;
        opacity: 1 !important;
        transform: translate3d(0, -50%, 0) !important;
    }

    .button.button-white.arrow-link.is-animating,
    .button.button-white.arrow-link:active,
    .button.button-white.arrow-link:hover {
        color: var(--dark) !important;
        padding-right: 64px !important;
    }

    .button.button-white.arrow-link.is-animating::before,
    .button.button-white.arrow-link:active::before,
    .button.button-white.arrow-link:hover::before {
        transform: scaleX(1) !important;
    }

    .button.button-white.arrow-link.is-animating:after,
    .button.button-white.arrow-link:active:after,
    .button.button-white.arrow-link:hover:after {
        right: 14px !important;
        opacity: 1 !important;
        transform: translate3d(0, -50%, 0) !important;
    }

    .brand-intro {
        padding: 40px 39px;
    }

    .brand-intro h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .brand-intro p br {
        display: none;
    }

    .posts-frame.container {
        padding: 0 15px;
        border: 1px solid #d2cac2;
        border-top: 0;
        border-bottom: 0;
        width: calc(100% - 24px);
    }

    .posts-inner {
        padding: 35px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .posts-section .text-link {
        font-size: 13px;

    }

    .media-zoom img,
    .gallery-image,
    .post-image {
        object-position: top;
    }

    .post-card-media {
        aspect-ratio: 336 / 270;
    }

    .posts-grid {
        gap: 0;
    }

    .post-card:not(:last-child) {
        border-bottom: 1px solid #d2cac2;
        margin-inline: -15px;
        padding-inline: 15.5px;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .post-category {
        font-size: 12.5px;
        line-height: 25px;
        margin-bottom: 5px;
    }

    .post-card h3 {
        font-size: 19px;
    }

    .post-excerpt {
        font-size: 16px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        margin-bottom: 0px;
    }

    .testimonials {
        padding: 40px 29.5px;
    }

    .testimonials h2 {
        font-size: 24px;
        max-width: unset;
        text-align: center;
        margin-bottom: 20px;
    }

    .testimonials h2 br {
        display: none;
    }

    .review blockquote {
        font-size: 16px;
        font-weight: 300;
    }

    .review-stage:before {
        font-size: 65px;
        width: 31px;
        height: 25px;
        top: -8px;
    }

    .review figcaption {
        font-size: 12px;
    }

    .review-stage {
        min-height: 0;
        padding-left: 50px;
        margin-bottom: 24px;
    }

    .review-controls {
        margin-left: 50px;
    }

    .testimonials .reviews {
        overflow: unset;
    }

    .footer-inner {
        min-height: 0;
        padding: 24px 0 10px;
    }

    .back-to-top svg {
        width: 20px;
        height: 25px;
    }

    .footer-logo {
        height: 96px;
        width: 96px;
    }

    .footer-brand {
        width: unset;
        margin: 0 0 30px;
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    }

    .footer-menus {
        margin-top: 0;
        margin-bottom: 30px;
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    .footer-menu--services {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-menu--brand {
        grid-column: 1;
        grid-row: 2;
        margin-top: 24px;
    }

    .footer-menu--support {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }

    .footer-menu--brand h2 {
        font-size: 19px;
        letter-spacing: 0.02em;
    }

    .footer-menus h2,
    .footer-highlight li,
    .footer-highlight a {
        font-size: 19px;
        margin-bottom: 14px;
        line-height: 1.19;
    }

    .footer-menus li {
        font-size: 14px;
        line-height: 1.7;
        font-weight: 300;
        margin-bottom: 4px;
    }

    .footer-highlight {
        margin-top: 24px;
    }



    .social-links--footer-desktop {
        display: none !important;
    }

    .footer-menus .social-links,
    .footer-menus .social-links--footer-mobile {
        grid-column: 2;
        grid-row: 1 / span 2;
        display: grid !important;
        grid-template-columns: repeat(2, auto);
        gap: 16px 20px;
        align-items: center;
        justify-content: start;
        align-self: start;
        margin-top: 135px;
    }

    .footer-menus .social-links .social-item {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        min-width: unset;
    }

    .footer-menus .social-links .social-item[aria-label*="Instagram"] {
        order: 1;
    }

    .footer-menus .social-links .social-item[aria-label*="Zalo"] {
        order: 2;
    }

    .footer-menus .social-links .social-item[aria-label*="TikTok"],
    .footer-menus .social-links .social-item[aria-label*="Tiktok"] {
        order: 3;
    }

    .footer-menus .social-links .social-item[aria-label*="Facebook"] {
        order: 4;
    }

    .footer-menus .social-links .social-icon,
    .footer-menus .social-links svg {
        width: auto;
        height: 25px;
        max-width: 54px;
        object-fit: contain;
        display: block;
    }

    .footer-details {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 24px;
        font-size: 14px;
        margin-bottom: 10px;
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    }

    .copyright {
        font-size: 11px;
        margin-top: 0;
    }

    .footer-details strong {
        font-size: 15px;
    }

    .footer-details address {
        order: 1;
        margin-top: 0;
        font-style: normal;
    }

    .footer-details>div {
        order: 2;
        margin-top: 0;
    }

    .footer-details>div p {
        margin-top: 8px;
    }

    .page-template-page-about .hero--slider {
        padding-bottom: 0px;
    }

    .story-frame {
        padding-top: 50px;
    }

    .story-content h1 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 35px;
    }

    .story-copy {
        text-align: start;
    }

    .mtm-intro {
        padding: 19px 20px 50px;
        border-bottom: 1px solid #8d6e519e;
    }

    .page-template-page-may-do .site-header,
    .page-template-page-portfolio .site-header,
    body.blog .site-header,
    .single-post .site-header,
    .page-template-page-lien-he .site-header,
    .page-template-page-policy .site-header {
        box-shadow: unset;
    }

    .mtm-intro h1 {
        font-size: 24px;
        line-height: 30px;

    }

    .mtm-copy {
        font-size: 16px;
        line-height: 22px;
        text-align: start !important;
    }

    .mtm-outro {
        font-size: 16px;
        line-height: 22px;
        margin: 0 auto 30px;
    }

    .mtm-craft {
        padding: 50px 0;
        border-bottom: 1px solid #8d6e519e;
    }

    .mtm-journey-cta {
        padding-bottom: 0;
        margin-bottom: 50px;
    }

    .mtm-journey-box p,
    .mtm-journey-note {
        margin: 0 auto 30px;
    }

    .mtm-journey-note strong,
    .mtm-journey-note b {
        font-weight: 700;
        margin-top: 10px;
        display: inline-block;
    }

    .mtm-craft-grid {
        gap: 16px;
        padding: 0 14px;
    }

    .mtm-craft-item {
        aspect-ratio: unset;
        min-height: 300px;
    }

    .mtm-lookbook-grid {
        gap: 16px;
        padding: 0 14px;
        margin: 0;
    }

    .mtm-lookbook-item {
        max-height: 500px;
    }


    .page-template-page-wedding .hero {
        justify-content: space-between;
        padding: 50px 24px;
    }

    .ikigai-booking-panel {
        padding: 60px 22px 36px;
    }

    .ikigai-booking-close {
        font: 300 36px / 1 Georgia, serif;
    }

    .ikigai-booking-header {
        margin-bottom: 0;
    }

    .ikigai-booking-header h2 {
        font-size: 24px;
        line-height: 30px;
        margin: 0 0 20px;
    }

    .ikigai-booking-header p {
        font-size: 16px;
        line-height: 22px;
        max-width: 100%;
    }

    .ikigai-booking-field--slide[data-placeholder]::after {
        top: unset;
        bottom: 0
    }

    .ikigai-booking-field--slide input {
        padding: 0px 0 10px;
    }

    .ikigai-booking-row .ikigai-booking-field {
        border-bottom: 0;
    }

    .ikigai-booking-contact {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .ikigai-booking-fieldset legend {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .ikigai-booking-radio {
        font-size: 16px;
        line-height: 22px;
    }

    .ikigai-booking-radio-col {
        gap: 12px;
    }

    .ikigai-booking-fieldset {
        border-bottom: 0;
        padding-bottom: 18px;
        padding-top: 18px;
    }

    .ikigai-booking-date input[type="date"] {
        font-size: 13px;
    }

    .ikigai-booking-field--inline {
        gap: 0;
        border-bottom: 0;
    }

    .ikigai-booking-actions {
        padding-top: 0;

    }

    .ikigai-booking-submit {
        min-width: unset;
        width: fit-content;
        min-height: 47px;
        padding: 9px 20px;
        font-size: 15px;
    }
}

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

    html,
    * html body,
    body {
        margin-top: 0 !important;
    }

    #wpadminbar {
        display: none !important;
    }
}