.day-page {
    padding-bottom: 88px;
}

.day-page-hero {
    width: calc(100% - 80px);
    max-width: 1400px;
    min-height: 610px;
    margin: 34px auto 70px;
    border: 1px solid #eee1d7;
    border-radius: 52px;
    background: linear-gradient(135deg,#fff5ed 0%,#fffdf9 49%,#eaf6fb 100%);
    box-shadow: 0 26px 70px #67513f14;
    isolation: isolate;
}

.day-page-hero:before,
.day-page-hero:after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.day-page-hero:before {
    width: 300px;
    height: 300px;
    left: -110px;
    bottom: -150px;
    background: #f8d8c978;
}

.day-page-hero:after {
    width: 260px;
    height: 260px;
    right: 34%;
    top: -150px;
    background: #d8edf68c;
}

.day-page-hero-content.container {
    width: 100%;
    max-width: none;
    min-height: 608px;
    padding: 34px 54% 54px 62px;
}

.day-page-hero .breadcrumbs {
    margin-bottom: 112px;
    color: #77767a;
}

.day-page-hero .breadcrumbs a {
    color: #56555a;
}

.day-page-hero .breadcrumbs a:hover {
    color: var(--coral);
}

.day-page-intro {
    max-width: 560px;
    padding-left: 0;
}

.day-page-intro h1 {
    max-width: 520px;
    font-size: 70px;
    line-height: 1.02;
    letter-spacing: -1px;
    color: #2e3035;
}

.day-page-intro > p {
    max-width: 520px;
    margin-top: 26px;
    font-size: 20px;
    line-height: 1.55;
    color: #666970;
}

.day-page .day-intro-flower {
    top: -66px;
    left: 2px;
}

.day-page .day-intro-flower-small {
    top: -44px;
    left: 68px;
}

.day-intro-cloud {
    top: -94px;
    right: 14px;
    width: 112px;
    opacity: .78;
}

.day-page-visual {
    inset: 24px 24px 24px auto;
    width: 48%;
    border-radius: 44px 44px 92px 44px;
    overflow: hidden;
    mask-image: none;
    background: #e7f3f7;
    box-shadow: 0 24px 50px #594b4024;
}

.day-page-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 58%,#34383d14 100%);
    pointer-events: none;
}

.day-page-visual img {
    object-position: center 34%;
}

.day-gallery {
    padding-top: 0;
    padding-bottom: 76px;
}

.gallery-tabs {
    gap: 12px;
    margin-bottom: 30px;
    padding: 8px;
    border: 1px solid #eee5dc;
    border-radius: 34px;
    background: #fffdf9c9;
    box-shadow: 0 12px 32px #66513e0b;
}

.gallery-tabs button {
    min-height: 58px;
    border-radius: 27px;
    background: transparent;
    box-shadow: none;
}

.gallery-tabs button[aria-selected="true"] {
    border-color: #e56d6b;
    background: var(--coral);
    box-shadow: 0 10px 24px #ed727029;
}

.day-photo-grid {
    gap: 18px;
}

.day-photo-tile {
    aspect-ratio: 1.28;
    border: 1px solid #eee5dd;
    border-radius: 26px;
    box-shadow: 0 14px 34px #584a3f10;
}

.day-photo-tile:focus-visible {
    outline-offset: 4px;
}

.photo-expand {
    width: 42px;
    height: 42px;
    right: 16px;
    bottom: 16px;
    box-shadow: 0 6px 18px #3f34272b;
}

.day-page-invitation {
    min-height: 190px;
    padding: 44px 52px;
    border: 1px solid #dcebf1;
    border-radius: 42px;
    background: linear-gradient(120deg,#eaf6fa 0%,#f4fbfd 64%,#fff5ee 100%);
    box-shadow: 0 18px 48px #5c71800e;
}

.day-page-invitation h2 {
    font-size: 38px;
    line-height: 1.18;
}

.day-page-invitation p {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.55;
}

.day-page-invitation .button {
    min-width: 260px;
    min-height: 62px;
    border-radius: 22px;
}

.gallery-lightbox::backdrop {
    background: #24252bed;
}

@media (max-width:1200px) {
    .day-page-hero {
        width: calc(100% - 48px);
        min-height: 500px;
        margin-top: 26px;
        margin-bottom: 56px;
        border-radius: 42px;
    }

    .day-page-hero-content.container {
        min-height: 498px;
        padding: 28px 52% 42px 42px;
    }

    .day-page-hero .breadcrumbs {
        margin-bottom: 86px;
    }

    .day-page-intro h1 {
        font-size: 54px;
    }

    .day-page-intro > p {
        margin-top: 20px;
        font-size: 18px;
    }

    .day-page-visual {
        inset: 20px 20px 20px auto;
        width: 48%;
        border-radius: 34px 34px 72px 34px;
    }

    .day-intro-cloud {
        width: 92px;
    }

    .gallery-tabs {
        grid-template-columns: repeat(3,minmax(0,1fr));
        padding: 7px;
        border-radius: 30px;
    }

    .day-page-invitation {
        padding: 36px 38px;
        border-radius: 36px;
    }

    .day-page-invitation h2 {
        font-size: 33px;
    }
}

@media (max-width:700px) {
    .day-page {
        padding-bottom: 48px;
    }

    .day-page-hero {
        display: flex;
        width: calc(100% - 32px);
        min-height: 0;
        margin: 18px auto 42px;
        border-radius: 30px;
        overflow: hidden;
    }

    .day-page-hero:before {
        width: 180px;
        height: 180px;
        left: -90px;
        bottom: 160px;
    }

    .day-page-hero:after {
        width: 160px;
        height: 160px;
        right: -70px;
        top: 40px;
    }

    .day-page-hero-content.container {
        order: 1;
        width: 100%;
        min-height: 0;
        padding: 22px 20px 24px;
    }

    .day-page-hero .breadcrumbs {
        margin-bottom: 62px;
        font-size: 13px;
    }

    .day-page-intro h1 {
        max-width: 330px;
        font-size: 44px;
        line-height: 1.04;
    }

    .day-page-intro > p {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.5;
    }

    .day-page .day-intro-flower {
        top: -44px;
        left: 0;
        width: 32px;
        height: 32px;
    }

    .day-page .day-intro-flower-small {
        top: -31px;
        left: 46px;
        width: 20px;
        height: 20px;
    }

    .day-intro-cloud {
        top: -58px;
        right: 2px;
        width: 74px;
    }

    .day-page-visual {
        position: relative;
        order: 2;
        inset: auto;
        width: auto;
        margin: 0 12px 12px;
        aspect-ratio: 16 / 11;
        border-radius: 24px 24px 46px 24px;
    }

    .day-page-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 34%;
    }

    .day-gallery {
        padding-bottom: 44px;
    }

    .gallery-tabs {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
        margin-bottom: 18px;
        padding: 6px;
        border-radius: 24px;
    }

    .gallery-tabs button {
        min-height: 50px;
        padding: 10px 8px;
        border-radius: 20px;
        gap: 7px;
    }

    .gallery-tabs svg {
        width: 22px;
        height: 22px;
    }

    .day-photo-grid {
        gap: 9px;
    }

    .day-photo-tile {
        aspect-ratio: 1;
        border-radius: 16px;
        box-shadow: none;
    }

    .photo-expand {
        display: none;
    }

    .day-page-invitation {
        min-height: 0;
        padding: 28px 22px 30px;
        border-radius: 28px;
        gap: 22px;
    }

    .day-page-invitation h2 {
        font-size: 30px;
    }

    .day-page-invitation p {
        font-size: 16px;
    }

    .day-page-invitation .button {
        width: 100%;
        min-width: 0;
        min-height: 58px;
    }
}
