.maternity-notice {
    position: fixed;
    inset: 0;
    width: calc(100% - 32px);
    max-width: 900px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid #daab48;
    background: #fff;
    color: #1c1b1b;
    box-shadow: 0 24px 80px rgba(3, 29, 62, .3);
    overflow-y: auto;
}

.maternity-notice:not([open]) { display: none; }
.maternity-notice::backdrop { background: rgba(3, 29, 62, .72); }
html.maternity-is-open, html.maternity-is-open body { overflow: hidden; }

.maternity-layout {
    display: grid;
    grid-template-columns: 38% 62%;
}

.maternity-portrait {
    display: flex;
    align-items: center;
    background: #f4f0e8;
}

.maternity-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3633 / 5449;
    object-fit: contain;
}

.maternity-content { padding: 54px 38px 36px; }
.maternity-content h2 { color: #031d3e; font-size: 29px; line-height: 1.3; }
.maternity-content h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    margin: 20px 0 24px;
    background: #daab48;
}
.maternity-content p { margin: 0 0 18px; line-height: 1.75; }
.maternity-signature { font-family: 'Poppins', sans-serif; font-weight: 700; color: #031d3e; }
.maternity-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #031d3e;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.maternity-dismiss {
    padding: 11px 28px;
    border: 1px solid #daab48;
    background: #031d3e;
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.maternity-dismiss:hover { background: #14385f; }
.maternity-notice button:focus-visible { outline: 3px solid #daab48; outline-offset: 3px; }

@media (max-width: 600px) {
    .maternity-layout { grid-template-columns: 1fr; }
    .maternity-portrait { justify-content: center; padding: 20px; }
    .maternity-photo { width: auto; height: 210px; max-width: 100%; }
    .maternity-content { padding: 28px 24px; }
    .maternity-content h2 { font-size: 26px; }
}
