.slzd-archive, .slzd-single, .slzd-home, .slzd-invite-page {
    --slzd-ink: #123951;
    --slzd-blue: #075c83;
    --slzd-pale: #edf7fc;
    --slzd-line: #c6dfec;
    color: var(--slzd-ink);
}
.slzd-shell { width: min(calc(100% - 2.5rem), 74rem); margin-inline: auto; }
.slzd-archive .slzd-shell { width: min(calc(100% - 2.5rem), 80rem); }
.slzd-narrow { max-width: 54rem; }
.slzd-head { padding-block: clamp(2rem, 6vw, 4.5rem); background: var(--slzd-pale); }
.slzd-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: .5rem 0; line-height: 1.06; overflow-wrap: anywhere; }
.slzd-head p { max-width: 44rem; margin: .8rem 0 0; }
.slzd-back { color: var(--slzd-blue); font-size: .94rem; }
.slzd-body { padding-block: 1.75rem 3rem; }
.slzd-gallery-controls { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .9rem 1rem; margin-bottom: 1.25rem; }
.slzd-filters { display: flex; flex-wrap: wrap; gap: .55rem; }
.slzd-place-filter { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .25rem .5rem; max-width: 100%; }
.slzd-place-filter label { grid-column: 1 / -1; font-size: .88rem; font-weight: 650; }
.slzd-place-filter select { width: 100%; max-width: 19rem; border: 1px solid var(--slzd-line); border-radius: .5rem; padding: .55rem .7rem; background: #fff; color: var(--slzd-ink); font: inherit; }
.slzd-filters a, .slzd-heart, .slzd-button {
    border: 1px solid var(--slzd-line); border-radius: 999px; padding: .55rem .95rem;
    background: #fff; color: var(--slzd-ink); font: inherit; font-weight: 650; text-decoration: none;
}
.slzd-filters a[aria-current=page], .slzd-button { background: var(--slzd-blue); border-color: var(--slzd-blue); color: white; }
.slzd-button { display: inline-block; width: fit-content; cursor: pointer; }
.slzd-button:hover { background: #064868; color: white; }
.slzd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.slzd-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--slzd-line); border-radius: .7rem; overflow: hidden; background: #fff; }
.slzd-card__link:focus-visible { outline: 3px solid #1a8bb8; outline-offset: -4px; }
.slzd-card__link[data-slzd-preview=image][aria-haspopup=dialog] { cursor: zoom-in; }
.slzd-cover {
    display: grid; flex: 1; place-items: center; position: relative; overflow: hidden;
    aspect-ratio: 16 / 9; background: #e2eff5; color: var(--slzd-blue); text-decoration: none;
}
.slzd-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.slzd-cover__icon { display: grid; place-items: center; width: 3.3rem; aspect-ratio: 1; border: 1px solid var(--slzd-line); border-radius: 50%; background: #fff; }
.slzd-card__type { position: absolute; top: .65rem; left: .65rem; padding: .2rem .55rem; border-radius: .4rem; background: #102d43e5; color: #fff; font-size: .8rem; font-weight: 700; }
.slzd-card__zoom { position: absolute; right: .55rem; bottom: .55rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #102d43e5; color: #fff; font-size: 1.3rem; line-height: 1; }
.slzd-card__body { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem .7rem .6rem .85rem; }
.slzd-card__text { min-width: 0; }
.slzd-card__body .slzd-card__title { color: var(--slzd-ink); font-size: clamp(.95rem, 1.35vw, 1.12rem); line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.slzd-capture { color: #416077; overflow-wrap: anywhere; }
.slzd-card__body .slzd-capture { margin: .25rem 0 0; font-size: .82rem; line-height: 1.4; }
.slzd-capture__place { font-weight: 650; }
.slzd-capture time { white-space: nowrap; }
.slzd-head .slzd-capture a { color: var(--slzd-blue); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .slzd-cover:hover img { transform: scale(1.035); }
}
@media (min-width: 36em) {
    .slzd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .slzd-card:nth-child(4n+1), .slzd-card:nth-child(4n+4), .slzd-card:nth-child(4n+2):last-child { grid-column: 1 / -1; }
    .slzd-card:nth-child(4n+4) .slzd-cover { aspect-ratio: 4 / 1; min-height: 9rem; }
}
@media (min-width: 55em) {
    .slzd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(clamp(13rem, 21vw, 17rem), auto); }
    .slzd-card .slzd-cover { aspect-ratio: auto; min-height: 0; }
    .slzd-card:nth-child(4n+1) { grid-column: span 2; grid-row: span 2; }
    .slzd-card:nth-child(4n+1):last-child { grid-column: 1 / -1; }
    .slzd-card:nth-child(4n+2):last-child { grid-column: span 1; grid-row: span 2; }
    .slzd-card:nth-child(4n+4) .slzd-cover { aspect-ratio: auto; min-height: 0; }
}
.slzd-pagination { margin-top: 1.65rem; }
.slzd-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.slzd-pagination .page-numbers li { margin: 0; }
.slzd-pagination :is(a, span).page-numbers {
    display: grid; place-items: center; min-width: 2.65rem; min-height: 2.65rem; padding: .2rem .75rem;
    border: 1px solid var(--slzd-line); border-radius: .55rem; background: #fff; color: var(--slzd-ink);
    font-weight: 650; text-decoration: none;
}
.slzd-pagination .page-numbers.current { background: var(--slzd-blue); border-color: var(--slzd-blue); color: #fff; }
.slzd-pagination a.page-numbers:hover { background: var(--slzd-pale); }
.slzd-pagination .page-numbers.dots { min-width: auto; border-color: transparent; padding-inline: .25rem; }

html.slzd-lightbox-open { overflow: hidden; }
.slzd-lightbox {
    box-sizing: border-box; width: min(70rem, calc(100% - 1.5rem)); max-width: none;
    max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); margin: auto; padding: 0;
    border: 0; border-radius: .9rem; background: #102a3b; color: #fff; overscroll-behavior: contain;
}
.slzd-lightbox:not([open]) { display: none; }
.slzd-lightbox::backdrop { background: rgba(5, 20, 30, .88); }
.slzd-lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: .65rem .85rem; }
.slzd-lightbox__bar h2 { margin: 0; font-size: clamp(1rem, 3vw, 1.3rem); line-height: 1.2; color: inherit; overflow-wrap: anywhere; }
.slzd-lightbox__media { display: grid; place-items: center; min-height: clamp(9rem, 34vh, 17rem); background: #071923; }
.slzd-lightbox__media :is(img, video) { display: block; max-width: 100%; max-height: 65vh; object-fit: contain; }
.slzd-lightbox__media video { width: 100%; }
.slzd-lightbox__media img { touch-action: pan-y pinch-zoom; user-select: none; }
.slzd-lightbox__media p { padding: 1rem; text-align: center; }
.slzd-lightbox__bar--footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.slzd-lightbox__bar--footer .slzd-capture { margin: 0; color: #d1e6f0; font-size: .88rem; }
.slzd-lightbox__controls { display: flex; align-items: center; gap: .55rem; }
.slzd-lightbox__count { min-width: 3.1rem; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slzd-lightbox__button {
    display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; padding: 0;
    border: 1px solid #5f8193; border-radius: 50%; background: #173c51; color: #fff;
    font: inherit; font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.slzd-lightbox__button[hidden] { display: none; }
.slzd-lightbox__button:hover { background: #255670; }
.slzd-lightbox__links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .4rem .65rem; min-width: 0; }
.slzd-lightbox__details { color: #f4fbff; font-size: .9rem; font-weight: 650; text-underline-offset: .2em; }
.slzd-lightbox :is(a, button):focus-visible { outline: 2px solid #b5e7ff; outline-offset: 2px; }

.slzd-main-media { display: block; width: 100%; border-radius: .8rem; overflow: hidden; }
video.slzd-main-media { background: #132d3c; max-height: 72vh; }
.slzd-main-media img { display: block; width: 100%; height: auto; }
.slzd-description { margin-block: 1rem; }
.slzd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-block: 1.25rem; }
.slzd-actions[hidden], .slzd-actions button[hidden] { display: none; }
.slzd-heart { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.slzd-heart[aria-disabled=true] { cursor: wait; }
.slzd-heart__icon { font-size: 1.25rem; line-height: 1; }
.slzd-heart[aria-pressed=true] { background: var(--slzd-pale); border-color: var(--slzd-blue); color: var(--slzd-blue); }
.slzd-reaction-status { font-size: .9rem; }
.slzd-actions--compact { position: relative; flex: 0 0 auto; margin: 0; }
.slzd-actions--compact .slzd-heart { min-width: 2.75rem; min-height: 2.75rem; justify-content: center; gap: .3rem; padding: .3rem .55rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.slzd-actions--compact .slzd-heart__icon { color: #83354c; font-size: 1.3rem; }
.slzd-actions--compact .slzd-heart[aria-pressed=true] { border-color: #dca2b2; background: #fff1f4; color: #83354c; }
.slzd-actions--compact :is(.slzd-heart__label, .slzd-reaction-status) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.slzd-actions--compact.slzd-actions--error .slzd-reaction-status {
    z-index: 1; right: 0; bottom: calc(100% + .35rem); width: max-content; max-width: 12rem; height: auto;
    padding: .4rem .55rem; border-radius: .35rem; clip-path: none; white-space: normal; background: #3c2531; color: #fff;
}
.slzd-comments { margin-block: 2rem 0; padding-top: 1rem; border-top: 1px solid var(--slzd-line); overflow-wrap: anywhere; }
.slzd-comments h2 { font-size: 1.5rem; }
.slzd-comments .comment-reply-title { font-size: 1.2rem; }
.slzd-comment-list { list-style: none; padding-inline-start: 0; }
.slzd-comment-list .comment-body { background: var(--slzd-pale); padding: .7rem 1rem; margin-block: .7rem; border-radius: .65rem; }
.slzd-comments #commentform > p > label { display: block; }
.slzd-comments #commentform .comment-form-cookies-consent > label { display: inline; }
.slzd-comments input:not([type=checkbox]), .slzd-comments textarea { max-width: 100%; }
.slzd-home { margin-block: clamp(1.6rem, 4vw, 3.1rem); }
.slzd-home__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1rem; margin-bottom: .95rem; }
.slzd-home__head h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.25rem); }
.slzd-invite-page { background: var(--slzd-pale); margin: 0; font: 16px/1.5 system-ui, sans-serif; }
.slzd-invite { box-sizing: border-box; width: min(calc(100% - 2rem), 39rem); margin: clamp(1rem, 6vw, 4rem) auto; border: 1px solid var(--slzd-line); border-radius: 1rem; padding: clamp(1.15rem, 5vw, 2.3rem); background: #fff; }
.slzd-invite__portal { color: var(--slzd-blue); font-weight: 700; margin-top: 0; }
.slzd-invite h1 { font-size: clamp(1.5rem, 5vw, 2.15rem); line-height: 1.14; }
.slzd-invite form > label { display: block; margin-top: .85rem; font-weight: 650; }
.slzd-invite .slzd-capture-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 1rem; margin-top: .85rem; }
.slzd-invite .slzd-capture-fields p { margin: 0; }
.slzd-invite .slzd-capture-fields label { display: block; font-weight: 650; }
.slzd-invite input:not([type=checkbox]), .slzd-invite textarea { box-sizing: border-box; width: 100%; max-width: 100%; border: 1px solid #a9c7d8; border-radius: .45rem; padding: .55rem; font: inherit; }
.slzd-invite form > .slzd-consent { display: flex; align-items: flex-start; gap: .5rem; font-weight: 400; }
.slzd-consent input { margin-top: .35rem; }
.slzd-invite button { margin-top: 1rem; }
.slzd-invite #slzd-upload-help { font-size: .9rem; margin-block: .4rem; }
.slzd-message { border-radius: .45rem; padding: .65rem .8rem; background: var(--slzd-pale); }
.slzd-message--error { color: #8a1d29; background: #fff1f2; }
@media (max-width: 36em) {
    .slzd-invite .slzd-capture-fields { grid-template-columns: 1fr; gap: .65rem; }
    .slzd-lightbox__bar--footer { grid-template-columns: auto minmax(0, 1fr); }
    .slzd-lightbox__bar--footer > [data-slzd-lightbox-caption] { grid-column: 1 / -1; }
    .slzd-pagination :is(a, span).page-numbers { padding-inline: .5rem; }
}
