/* Wedding page (page-wedding.php) */

.hero {
    height: 850px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: white;
    isolation: isolate;
    padding: 120px 24px 100px;
}

.hero h1 {
    font-size: 48px;
    text-align: center;
    padding: 0 24px;
    line-height: 1.25;
}

.hero-cta {
    position: static;
}

.hero--slider {
    display: block;
    padding: 0;
}

.hero--slider .hero-cta,
.hero-slide .hero-cta {
    position: absolute;
}

.wedding-intro {
    padding: 100px 0 80px;
    text-align: center
}

.wedding-intro-title {
    margin: 0 auto 56px;
    font: 500 45px / 51px var(--title);
    font-synthesis: none;
    color: #4D3E37;
}

.wedding-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 620px));
    gap: 10px;
    justify-content: center;
    margin: auto
}

.wedding-intro-item {
    overflow: hidden;
    aspect-ratio: 620/880;
    cursor: pointer
}

section.wedding-mission {
    border-top: 1px solid #8D6E5180;
}

.wedding-intro-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale3d(1, 1, 1);
    transform-origin: center;
    backface-visibility: hidden;
    transition: transform .8s cubic-bezier(0.23, 1, 0.32, 1)
}

.wedding-intro-item:hover .media-zoom img,
.wedding-intro-item:focus-within .media-zoom img {
    transform: scale3d(1.06, 1.06, 1)
}

.wedding-mission-frame {
    max-width: 1530px;
    margin: auto;
    border-inline: 1px solid var(--line)
}

.wedding-mission-inner {
    padding: 100px 40px;
    text-align: center
}

.wedding-mission-copy {
    max-width: 1000px;
    margin: 0 auto 36px;
    font-weight: 300;
    font-size: 20px;
    line-height: 31px;
    color: var(--ink);
}

.wedding-mission-inner .button {
    min-height: 48px;
    padding: 12px 28px;
    font-size: 18px;
    letter-spacing: 1.2px
}

.wedding-journey {
    padding: 100px 40px;
    text-align: center;
    border-top: 1px solid var(--line)
}

.wedding-journey h2 {
    margin-bottom: 56px
}

.wedding-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1500px;
    margin: auto;
    list-style: none;
    padding: 0;
    counter-reset: none;
}

.wedding-journey-step {
    text-align: left
}

.wedding-journey-image {
    overflow: hidden;
    width: 100%;
    height: 600px;
    margin-bottom: 28px;
    cursor: pointer
}

.wedding-journey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale3d(1, 1, 1);
    transform-origin: center;
    backface-visibility: hidden;
    transition: transform .8s cubic-bezier(0.23, 1, 0.32, 1)
}

.wedding-journey-step:hover .media-zoom img,
.wedding-journey-step:focus-within .media-zoom img {
    transform: scale3d(1.06, 1.06, 1)
}

.wedding-journey-number {
    font-size: 40px;
    letter-spacing: 1.4px;
    color: #4D3E37;
    margin: 0;
    font-family: 'Public Sans', sans-serif;
    font-weight: 600
}

.wedding-journey-trigger {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    text-align: left
}

.wedding-journey-icon {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin-top: 12px;
    flex-shrink: 0;
    background: url('../images/mtm-pricing-plus.svg') center / 19px 19px no-repeat;
    transition: background .2s ease
}

.wedding-journey-step.is-open .wedding-journey-icon {
    background-image: url('../images/mtm-pricing-minus.svg');
    background-size: 19px 2px
}

.wedding-journey-step h3 {
    font: 400 26px / 1.35 var(--body);
    margin-bottom: 12px
}

h2#wedding-faq-title {
    font-size: 45px;
    font-weight: 500;
    font-family: var(--title);
    font-synthesis: none
}

.wedding-journey-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height .45s cubic-bezier(0.23, 1, 0.32, 1),
        opacity .3s ease
}

.wedding-journey-step.is-open .wedding-journey-panel {
    max-height: 480px;
    opacity: 1
}

.wedding-journey-copy {
    margin: 0;
    font-size: 20px;
    font-family: var(--body);
    line-height: 31px;
    color: #4E3438;
    font-weight: 300
}

.wedding-packages-container {
    margin: 0 auto;
    max-width: 1530px;
    border-left: 1px solid #8D6E5180;
    border-right: 1px solid #8D6E5180;
}

.wedding-journey-step>.wedding-journey-number {
    margin-bottom: 10px
}

.wedding-packages {
    padding: 0;
    border-top: 1px solid #8D6E5180;
    border-bottom: 1px solid #8D6E5180;
}

.wedding-packages-panel {
    max-width: 1000px;
    margin: auto;
    padding: 72px 56px 56px;
    text-align: center
}

.wedding-packages-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 415px;
    margin: 0 auto 48px;
    font-family: var(--title);
    font-synthesis: none;
    font-weight: 500;
    font-style: normal;
    font-size: 100px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--ink);
    text-align: right;
    vertical-align: middle
}

.wedding-packages-title-line {
    display: block;
    font-family: var(--title);
    font-synthesis: none;
    font-weight: 500;
    font-style: normal;
    font-size: 100px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: right;
    vertical-align: middle
}

.wedding-packages-title-line:nth-child(2) {
    padding-left: 20px
}

.wedding-packages-title-line:nth-child(3) {
    text-align: right;
    width: 100%
}

.wedding-packages-panel h2:not(.wedding-packages-title) {
    font-size: 56px;
    margin-bottom: 48px
}

.wedding-packages-desktop {
    display: block;
}

.wedding-packages-mobile {
    display: none;
}

.wedding-packages-table {
    margin-bottom: 40px;
    text-align: left
}

.wedding-packages-head {
    display: grid;
    grid-template-columns: minmax(160px, 1.1fr) minmax(0, 3.2fr);
    gap: 16px;
    padding: 28px 0 22px;
    border-bottom: 1px solid var(--line)
}

.wedding-packages-cols,
.wedding-packages-prices {
    display: grid;
    grid-template-columns: repeat(var(--wedding-cols, 4), minmax(0, 1fr));
    gap: 12px;
    text-align: center;
}

.wedding-packages-col-name {
    display: block;
    font: 400 26px/1.2 var(--body);
    color: #4E3438
}

.wedding-packages-col-from {
    display: block;
    margin-top: 6px;
    font: italic 300 20px/1.3 var(--body);
    color: #4C4546
}

.wedding-packages-line {
    border-bottom: 1px solid var(--line)
}

.wedding-packages-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(160px, 1.1fr) minmax(0, 3.2fr);
    gap: 16px;
    align-items: center;
    padding: 26px 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    text-align: left
}

.wedding-packages-line-name {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font: 400 26px/40px var(--body);
    color: var(--ink)
}

.wedding-packages-icon {
    display: inline-block;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    background: url('../images/mtm-pricing-plus.svg') center / 19px 19px no-repeat;
    transition: background .2s ease
}

.wedding-packages-line.is-open .wedding-packages-icon {
    background-image: url('../images/mtm-pricing-minus.svg');
    background-size: 19px 2px
}

.wedding-packages-price {
    font: 300 20px/1.4 var(--body);
    color: #4E3438
}

.wedding-packages-panel-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height .45s cubic-bezier(0.23, 1, 0.32, 1),
        opacity .3s ease
}

.wedding-packages-line.is-open .wedding-packages-panel-body {
    max-height: 480px;
    opacity: 1
}

.wedding-packages-panel-body p {
    margin: 0;
    padding: 0 0 28px;
    font: italic 300 20px / 1.65 'Roboto', sans-serif;
    color: var(--muted)
}

.wedding-packages-cta {
    display: flex;
    justify-content: center
}

.wedding-faq {
    padding: 40px 40px 120px;
    text-align: center;
    border-bottom: 1px solid #8D6E5180;
    margin-bottom: 100px;
}

.wedding-faq h2 {
    margin-bottom: 48px
}

.wedding-faq-list {
    max-width: 900px;
    margin: auto;
    text-align: left;
    border-top: 0
}

.wedding-faq-item {
    border-bottom: 1px solid #8D6E5180;
}

.wedding-faq-item:last-child {
    border-bottom: 0
}

.wedding-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 4px;
    text-align: left;
    font: 400 26px/1.4 var(--body);
    color: var(--ink)
}

.wedding-faq-trigger:after {
    content: '';
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    background: url('../images/mtm-pricing-plus.svg') center / 19px 19px no-repeat;
    transition: background .2s ease
}

.wedding-faq-item.is-open .wedding-faq-trigger:after {
    background-image: url('../images/mtm-pricing-minus.svg');
    background-size: 19px 2px
}

.wedding-faq-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height .45s cubic-bezier(0.23, 1, 0.32, 1),
        opacity .3s ease
}

.wedding-faq-item.is-open .wedding-faq-panel {
    max-height: 640px;
    opacity: 1
}

.wedding-faq-answer {
    position: relative;
    padding: 8px 28px 22px;
    font-size: 20px;
    line-height: 1.65;
    color: #4E3438;
    font-weight: 300
}

.wedding-faq-answer:after {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 22px;
    width: 2px;
    background: #4E3438
}

@media (max-width: 1199px) {
    .wedding-intro {
        padding: 64px 32px 48px
    }

    .wedding-intro-title {
        font-size: 24px;
        margin-bottom: 40px;
        line-height: 30px;
    }

    .wedding-intro-grid {
        gap: 18px
    }

    .wedding-mission {
        padding-bottom: 0
    }

    .wedding-mission-frame {
        width: calc(100% - 100px)
    }

    .wedding-mission-inner {
        padding: 48px 32px
    }

    .wedding-mission-copy {
        font-size: 16px
    }

    .wedding-journey {
        padding: 64px 32px
    }

    .wedding-journey h2 {
        margin-bottom: 40px;
        font-size: 38px
    }

    .wedding-journey-grid {
        gap: 28px
    }

    .wedding-journey-image {
        height: clamp(360px, 46vw, 600px)
    }

    .wedding-journey-step h3 {
        font-size: 20px;
    }


    .wedding-packages {
        padding: 24px 32px 0
    }

    .wedding-packages-panel {
        padding: 48px 28px 40px
    }

    .wedding-packages-title,
    .wedding-packages-title-line {
        font-size: 64px
    }

    .wedding-packages-title {
        margin-bottom: 32px
    }

    .wedding-packages-panel h2:not(.wedding-packages-title) {
        font-size: 42px;
        margin-bottom: 32px
    }

    .wedding-faq {
        padding: 24px 32px 80px
    }

    .wedding-faq h2,
    h2#wedding-faq-title {
        margin-bottom: 36px;
        font-size: 38px
    }

    .wedding-faq-trigger {
        font-size: 17px;
        padding: 18px 2px
    }
}

@media (max-width: 899px) {

    .wedding-packages-head,
    .wedding-packages-trigger {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .wedding-packages-cols,
    .wedding-packages-prices {
        text-align: left
    }

    .wedding-packages-col-name {
        font-size: 18px
    }

    .wedding-packages-line-name {
        font-size: 18px
    }
}

@media (max-width: 767px) {
    .wedding-intro {
        padding: 48px 15px;
    }

    .wedding-intro-title {
        font-size: 24px;
        margin-bottom: 40px;
        line-height: 30px;
    }

    .wedding-intro-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wedding-intro-item {
        aspect-ratio: 4/5
    }

    .wedding-mission {
        padding-bottom: 0
    }

    .wedding-mission-frame {
        width: calc(100% - 40px)
    }

    .wedding-mission-inner {
        padding: 40px 18px;
    }

    .wedding-mission-copy {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 24px;
    }

    .wedding-journey {
        padding: 48px 30px
    }

    .wedding-journey h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .wedding-journey-number {
        font-size: 24px;
        line-height: 30px;
    }

    .wedding-journey-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 420px
    }

    .wedding-journey-image {
        height: auto;
        aspect-ratio: 336 / 270;
        max-height: 600px;
        margin-bottom: 20px
    }

    .wedding-journey-image img {
        transform: scale3d(1, 1.1, 1);
    }

    .wedding-journey-step h3 {
        font-size: 19px;
        line-height: 25px;
    }

    .wedding-journey-step:hover .media-zoom img,
    .wedding-journey-step:focus-within .media-zoom img {
        transform: scale3d(1.15, 1.15, 1);
    }

    .wedding-journey-copy {
        font-size: 16px;
        line-height: 22px;
    }

    .wedding-packages {
        padding: 0 20px 0
    }

    .wedding-packages-panel {
        padding: 36px 16px 32px
    }

    .wedding-packages-title,
    .wedding-packages-title-line {
        font-size: 52px
    }

    .wedding-packages-title {
        margin-bottom: 24px
    }

    .wedding-packages-title-line:nth-child(2) {
        padding-left: .7em
    }

    .wedding-packages-title-line:nth-child(3) {
        padding-left: 1.7em
    }

    .wedding-packages-panel h2:not(.wedding-packages-title) {
        font-size: 32px;
        margin-bottom: 24px
    }

    .wedding-faq {
        padding: 20px 20px 72px
    }

    .wedding-faq h2,
    h2#wedding-faq-title {
        font-size: 30px;
        margin-bottom: 28px
    }

    .wedding-faq-trigger {
        font-size: 16px;
        padding: 16px 0;
        gap: 16px
    }

    .wedding-faq-answer {
        padding: 18px 16px;
        font-size: 14px
    }

    .wedding-journey-trigger {
        margin-bottom: 20px;
    }

    .wedding-packages-desktop {
        display: none !important;
    }

    .wedding-packages-mobile {
        display: block !important;
        width: 100%;
        margin: 0 auto 15px;
    }

    .wedding-mb-packages-card {
        margin-bottom: 30px;
    }

    .wedding-mb-packages-card:not(:last-child) {
        border-bottom: 1px solid #8d6e5195;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 30px;
    }

    .wedding-mb-packages-card:last-child {
        margin-bottom: 0;
    }

    .wedding-mb-packages-head {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0px 0 15px;
        border: 0;
        background: none;
        cursor: pointer;
        text-align: left;
    }

    .wedding-mb-packages-name {
        font: 400 19px / 25px 'Public Sans', sans-serif;
        color: #4E3438;
    }

    .wedding-mb-packages-icon {
        display: inline-block;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        background: url('../images/mtm-pricing-plus.svg') center / 18px 18px no-repeat;
        transition: background 0.2s ease;
    }

    .wedding-mb-packages-card.is-open .wedding-mb-packages-icon {
        background-image: url('../images/mtm-pricing-minus.svg');
        background-size: 18px 2px;
    }

    .wedding-mb-packages-desc {
        display: grid;
        grid-template-rows: 0fr;
        padding-bottom: 0;
        border-bottom: 1px solid #8d6e5195;
        transition: grid-template-rows 0.35s ease, padding-bottom 0.35s ease;
    }

    .wedding-mb-packages-desc p {
        overflow: hidden;
        min-height: 0;
        margin: 0;
        font: italic 300 16px / 22px 'Public Sans', sans-serif;
        font-style: italic;
        font-synthesis: style;
        text-align: start !important;
        max-width: 300px;
        color: #4C4546;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.3s ease, transform 0.35s ease;
    }

    .wedding-mb-packages-card.is-open .wedding-mb-packages-desc {
        grid-template-rows: 1fr;
        padding-bottom: 18px;
    }

    .wedding-mb-packages-card.is-open .wedding-mb-packages-desc p {
        opacity: 1;
        transform: translateY(0);
    }

    .wedding-mb-packages-list {
        padding-top: 12px;
    }

    .wedding-mb-packages-from {
        text-align: right;
        font: italic 300 16px / 1.2 'Roboto', sans-serif;
        color: #4C4546;
        margin-bottom: 0;
    }

    .wedding-mb-packages-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 0;
        border-bottom: 1px solid #8d6e5195;
    }

    .wedding-mb-packages-row:last-child {
        border-bottom: unset;
    }

    .wedding-mb-packages-label {
        font: 400 18px / 25px 'Public Sans', sans-serif;
        color: #4E3438;
    }

    .wedding-mb-packages-val {
        font: 300 16px / 22px 'Public Sans', sans-serif;
        color: #4E3438;
        text-align: right;
    }


    /* style dùng chung FAQ */

    .wedding-faq {
        padding: 50px 20px;
    }

    .wedding-faq h2,
    h2#wedding-faq-title {
        font-size: 24px;
        margin-bottom: 15px;
        line-height: 30px;
    }

    .wedding-faq-trigger {
        font-size: 18px;
        line-height: 22px;
        padding: 20px 0;
        gap: 16px;
        align-items: flex-start;
    }

    .wedding-faq-answer {
        padding: 0 15px 20px;
        font-size: 16px;
        line-height: 22px;
    }

    .wedding-faq-answer:after {
        top: 0;
        width: 1px;
        background: #AB9A88;
    }

    .wedding-faq-trigger:after {
        width: 16px;
        height: 16px;
    }

    .wedding-faq {
        padding: 50px 20px 30px;
        margin-bottom: 50px;
    }
}