.modalContent{overscroll-behavior:contain;color:#2b493c;background-color:#f3f1e8;border:1px solid #233d3226;border-radius:16px;width:min(540px,100% - 2rem);max-height:calc(100dvh - 2rem);margin:auto;padding:1.5rem;overflow-y:auto}.modalContent::backdrop{background-color:#233d328c}.modalContent .modalHeader{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.modalContent .modalHeader h2{font-family:var(--font-cormorant-garamond),Georgia,serif;margin:0;font-size:28px;font-weight:500}.modalContent .modalHeader button{min-width:44px;min-height:44px;color:inherit;cursor:pointer;background:0 0;border:0;font-size:28px}.modalContent .modalHeader button:disabled{opacity:.5;cursor:wait}.modalContent button:focus-visible{outline-offset:3px;outline:2px solid #2b493c}.modalContent.modalGallery{width:min(1200px,100% - 2rem);height:calc(100dvh - 2rem);padding:1rem;overflow:hidden}.modalContent.modalGallery[open]{flex-direction:column;display:flex}.modalContent.modalGallery .modalHeader{flex-shrink:0;margin-bottom:.75rem}.modalContent.modalGallery .modalHeader h2{font-size:24px}.modalContent.modalGallery .modalHeader button{flex-shrink:0}
