.gallery-filters{display:flex;gap:24px;flex-wrap:wrap;margin:28px 0}.gallery-filters label{display:grid;gap:6px}.gallery-filters select,.gallery-field input,.gallery-field textarea,.gallery-field select{font:inherit;padding:10px;border:1px solid #b5c8be;border-radius:4px;max-width:100%;background:white;color:#123343}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.gallery-card h2{font-size:23px;margin:14px 0}.gallery-card p{overflow-wrap:anywhere}.gallery-photo{display:block;width:100%;border:0;padding:0;background:#eef4f1;cursor:zoom-in}.gallery-photo img{display:block;width:100%;height:260px;object-fit:contain}.gallery-admin-preview{width:100%;max-width:420px;max-height:360px;object-fit:contain;margin:20px 0}.gallery-editor{display:grid;grid-template-columns:1fr 1fr;gap:18px}.gallery-field{display:grid;gap:6px;min-width:0}.gallery-editor .check,.gallery-editor .admin-actions,.gallery-editor p{grid-column:1/-1}.gallery-editor .check input{margin-right:10px}#gallery-admin-list summary{cursor:pointer;font-weight:bold}.gallery-dialog{width:min(900px,94vw);max-height:90vh;border:0;padding:24px;overflow:auto}.gallery-dialog::backdrop{background:#123343cc}.gallery-dialog img{width:100%;max-height:60vh;object-fit:contain}.gallery-dialog h2{margin:18px 0}.gallery-dialog button{cursor:pointer}.gallery-intro{max-width:850px}@media(max-width:900px){.gallery-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.gallery-grid,.gallery-editor{grid-template-columns:1fr}.gallery-photo img{height:auto;max-height:360px}.gallery-filters{flex-direction:column}}

.gallery-badge{display:inline-block;padding:4px 10px;border-radius:20px;font-size:13px;margin-right:10px}.gallery-badge.published{background:#d9f0e1;color:#07572b;border:1px solid #38865a}.gallery-badge.draft{background:#f3ede0;color:#70541c;border:1px solid #b7a375}.gallery-published{border-left:5px solid #188348}.gallery-draft{border-left:5px solid #aa956b}.gallery-english{grid-column:1/-1;background:#f1f5f4;padding:15px}.gallery-english .gallery-editor{margin-top:14px}#translation-form{display:grid;gap:12px;max-width:640px}#translation-form input,#translation-form select{font:inherit;padding:12px;border:1px solid #b5c8be}.gallery-card{scroll-margin-top:30px}.gallery-card:target{outline:3px solid #08783d;outline-offset:10px}

#gallery-paste{margin:18px 0;padding:22px;border:2px dashed #71988a;border-radius:12px;background:#f0f6f3;cursor:pointer}#gallery-paste:focus{outline:3px solid #246851;outline-offset:3px}#gallery-paste p{margin:8px 0}.gallery-paste-preview{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #cad8d0;margin:10px 0;flex-wrap:wrap}.gallery-paste-preview img{width:100px;height:80px;object-fit:contain}.gallery-paste-preview span{flex:1;overflow-wrap:anywhere;min-width:100px}

.gallery-metadata{grid-column:1/-1;padding:18px;border:1px solid #adc7bb;border-radius:10px;background:#f4f8f6;min-width:0}.gallery-metadata legend{font-weight:700}.gallery-metadata p{font-size:14px}.gallery-metadata button{margin:8px 8px 8px 0}.gallery-paste-preview small{display:block;font-size:12px}

.gallery-map-link{display:inline-block;margin:6px 0 12px;padding:8px 0;text-decoration:underline;text-underline-offset:3px;font-weight:600}.gallery-map-link:focus-visible{outline:3px solid #38865a;outline-offset:4px}

#geocoding-form{display:grid;gap:12px;max-width:640px}#geocoding-form input{font:inherit;padding:12px;border:1px solid #b5c8be}.google-place{padding:8px 10px;background:#f4f6f5;border-left:2px solid #aeb9b2}.google-attribution{font-family:Arial,sans-serif;font-size:12px;font-weight:400;font-style:normal;letter-spacing:normal;white-space:nowrap;color:#5e5e5e}
/* Editorial encounter mosaic */
.encounters{--coral:#c64f40;--emerald:#087c66;--ink:#10233d}.encounters .encounter-intro{padding-bottom:0}.encounters h1{font-size:clamp(2.2rem,5vw,4.8rem);max-width:none}.encounter-mosaic{display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:16px;margin:36px 0 12px}.portrait{margin:0;position:relative;overflow:hidden;border-radius:8px;aspect-ratio: .84;background:#eef4f1}.portrait img{width:200%;max-width:none;height:100%;object-fit:cover;display:block}.portrait-right img{margin-left:-100%}.portrait figcaption{position:absolute;bottom:0;left:0;right:0;padding:40px 22px 22px;background:linear-gradient(transparent,#10233dcc);color:white;font-weight:600;font-size:1.15rem}.word-cloud{position:relative;display:flex;flex-wrap:wrap;gap:8px 12px;align-content:center;justify-content:center;padding:26px 8px;background:radial-gradient(ellipse at center,#fff 46%,#e4f5ef66 75%,transparent 76%);isolation:isolate}.word-cloud:before,.word-cloud:after{content:'';position:absolute;inset:14px -12px;border:1px solid #79c7b3;border-radius:46% 54% 66% 34%;transform:rotate(-15deg);z-index:-1;pointer-events:none}.word-cloud:after{inset:45px 5px;transform:rotate(28deg);border-color:#f1b3a7}.word{font:inherit;font-weight:700;border:0;background:white;color:var(--ink);cursor:pointer;padding:4px;border-radius:3px;font-size:clamp(1rem,1.6vw,1.4rem);line-height:1.3}.word-1,.word-6{color:var(--coral);font-size:clamp(1.4rem,2.2vw,2rem)}.word-2,.word-9{color:var(--emerald);font-size:clamp(1.4rem,2.2vw,2rem)}.word-3{font-size:clamp(1.8rem,3.2vw,3rem)}.word-4,.word-7{color:#287792}.word:hover,.word[aria-pressed=true]{background:#e3f4ed;text-decoration:underline;text-underline-offset:5px}.word:focus-visible{outline:3px solid #087c66;outline-offset:4px}.cloud-hint{width:100%;text-align:center;font-size:12px;margin-top:18px;color:#596879}.encounter-story{grid-column:1/2;background:#edf5f1;padding:26px;border-radius:8px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;justify-content:center}.encounter-story h2{font-size:clamp(1.4rem,2vw,1.9rem)}.encounter-story p{font-size:15px}.encounter-video{grid-column:2/4;min-width:0;background:#10233d;border-radius:8px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center}.encounter-video video{display:block;width:100%;max-height:370px;background:#0c1626}.encounter-video p{color:white;font-size:clamp(1.4rem,2vw,2rem);padding:28px;font-weight:600}.portrait-note{font-size:12px;color:#5d6974}.encounter-statement{text-align:center;font-size:clamp(1.4rem,2.6vw,2.3rem);font-weight:700;padding:30px 0;border-bottom:1px solid #b9daca}.encounter-outro{background:#10233d!important;color:white;text-align:center}.encounter-outro h2{color:white}.encounters .gallery-grid{display:block;columns:3;column-gap:24px}.encounters .gallery-card{break-inside:avoid;margin:0 0 24px;border:1px solid #e0e8e4;border-radius:8px;overflow:hidden;background:white;padding-bottom:16px;display:inline-block;width:100%}.encounters .gallery-card>p,.encounters .gallery-card>h2,.encounters .gallery-card>a{margin-left:20px;margin-right:20px}.encounters .gallery-photo{position:relative}.encounters .gallery-photo img{height:auto;max-height:500px;object-fit:contain}.gallery-photo video{width:100%;display:block;max-height:380px;background:#10233d;pointer-events:none}.media-play{position:absolute;inset:0;display:grid;place-items:center;color:white;background:#10233d33;font-size:42px}.gallery-dialog video{width:100%;max-height:65vh;background:#10233d}.gallery-tagline{font-size:12px;color:#087c66}.topic-selection{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.topic-selection p:empty{display:none}.encounters #moments{scroll-margin-top:30px}.gallery-admin-preview:is(video){background:#10233d}.encounters .gallery-card h2{font-size:22px}
@media(max-width:900px){.encounter-mosaic{grid-template-columns:1fr 1fr}.word-cloud{grid-column:1/-1;grid-row:2;min-height:220px}.portrait-right{grid-column:2;grid-row:1}.encounter-video{grid-column:2}.encounter-video{grid-template-columns:1fr}.encounter-video p{font-size:18px;padding:16px}.encounters .gallery-grid{columns:2}}
@media(max-width:560px){.encounter-mosaic{gap:10px}.portrait figcaption{padding:28px 12px 14px;font-size:14px}.encounter-story,.encounter-video{grid-column:1/-1}.encounter-video{grid-template-columns:1fr 1fr}.encounters .gallery-grid{columns:1}.word{font-size:18px}.word-1,.word-2,.word-6,.word-9{font-size:24px}.word-3{font-size:32px}}
@media(prefers-reduced-motion:no-preference){.word{transition:background .2s,transform .2s}.word:hover{transform:translateY(-2px)}}
.word-cloud[hidden]{display:none}.word.wc-size-small{font-size:clamp(.95rem,1.4vw,1.2rem)}.word.wc-size-medium{font-size:clamp(1.1rem,1.7vw,1.5rem)}.word.wc-size-large{font-size:clamp(1.35rem,2.2vw,2rem)}.word.wc-size-xl{font-size:clamp(1.7rem,3vw,2.8rem)}.word.wc-color-navy{color:#10233d}.word.wc-color-green{color:#087c66}.word.wc-color-blue{color:#287792}.word.wc-color-coral{color:#c64f40}.word-cloud .word{max-width:100%;overflow-wrap:anywhere}.word-cloud-categories{display:flex;flex-wrap:wrap;gap:14px;margin:18px 0}.word-cloud-categories .gallery-field{display:flex;align-items:center;gap:8px;font-size:14px}#word-cloud-editor .inbox-card{margin:16px 0}#word-cloud-editor input[type=checkbox]{width:20px;height:20px}

/* Explicit slots keep dynamically inserted video links out of auto-placement. */
.encounter-video{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto auto 1fr;grid-template-areas:"video ." "video title" "video link" "video .";column-gap:0;align-items:center}
.encounter-video video{grid-area:video;align-self:center;max-width:100%;height:auto;object-fit:contain}
.encounter-video>p{grid-area:title;min-width:0;margin:0;padding:24px 28px 12px;overflow-wrap:break-word;line-height:1.35}
.encounter-video>.video-direct-link{grid-area:link;justify-self:start;min-width:0;margin:0 28px 24px;padding:10px 0;min-height:44px;box-sizing:border-box;color:#e4f5ef;line-height:1.5;text-underline-offset:4px;overflow-wrap:anywhere}
.encounter-video>.video-direct-link:hover{color:#fff}
.encounter-video>.video-direct-link:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:900px){.encounter-video{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:"video" "title" "link";align-content:center}.encounter-video>p{padding:20px 20px 8px;font-size:20px}.encounter-video>.video-direct-link{margin:0 20px 16px}.encounter-video video{max-height:420px}}
@media(max-width:560px){.encounter-video{grid-column:1/-1;grid-template-columns:minmax(0,1fr);grid-template-areas:"video" "title" "link"}.encounter-video video{max-height:480px}.encounter-video>p{font-size:22px}.encounter-story{padding:22px}}

/* Compact photo collage: details stay inside the image until opened. */
.encounters .gallery-grid{columns:3;column-gap:4px;line-height:0}
.encounters .gallery-card{margin:0 0 4px;padding:0;border:0;border-radius:0;vertical-align:top;line-height:normal;background:transparent}
.encounters .gallery-photo{position:relative;overflow:hidden;border-radius:0;color:#fff;text-align:left;line-height:1.4}
.encounters .gallery-photo img{height:auto;max-height:none;width:100%;object-fit:contain}
.encounters .gallery-photo video{height:auto;max-height:none;width:100%}
.gallery-overlay{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:5px;padding:32px 16px 14px;background:linear-gradient(transparent,rgba(7,20,31,.92) 32%);color:#fff;opacity:0;visibility:hidden;pointer-events:none}
.gallery-overlay-title{font-size:17px;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gallery-overlay-meta{display:block;font-size:12px}
.gallery-overlay-caption{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gallery-overlay .google-place{padding:0;border:0;background:none}
.gallery-overlay .google-attribution{color:#fff}
@media(hover:hover){.gallery-photo:hover .gallery-overlay{opacity:1;visibility:visible}}
.gallery-photo:focus-visible .gallery-overlay{opacity:1;visibility:visible}
.encounters .gallery-photo:focus-visible{outline:3px solid #35ca9d;outline-offset:-3px}
@media(prefers-reduced-motion:no-preference){.gallery-overlay{transition:opacity .18s ease,visibility .18s ease}}
@media(max-width:900px){.encounters .gallery-grid{columns:2}}
@media(max-width:560px){.encounters .gallery-grid{columns:2}.gallery-overlay{padding:24px 9px 9px}.gallery-overlay-title{font-size:14px}.gallery-overlay-caption{display:none}}
@media(max-width:360px){.encounters .gallery-grid{columns:1}}

/* Old-school style upload queue: one editable original at a time. */
.gallery-queue-dialog{width:min(860px,94vw);max-height:90dvh;box-sizing:border-box;overflow:auto;padding:24px;border:1px solid #adc6b6;border-radius:16px;color:#123343;background:white}.gallery-queue-dialog::backdrop{background:#102b25b3}.gallery-queue-media{display:block;max-width:100%;width:auto;max-height:38dvh;object-fit:contain;margin:12px auto}.gallery-queue-dialog .gallery-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gallery-queue-dialog .gallery-metadata{grid-column:1/-1;min-width:0}.gallery-queue-dialog input,.gallery-queue-dialog textarea,.gallery-queue-dialog select{box-sizing:border-box;width:100%;max-width:100%;font:inherit;min-height:44px}.gallery-queue-dialog input[type=checkbox]{width:auto;min-height:auto}.gallery-queue-dialog button{min-height:44px;cursor:pointer}.gallery-queue-actions{position:sticky;bottom:-24px;background:white;padding:14px 0;border-top:1px solid #cad8d0}.gallery-queue-dialog h2{font-size:24px;margin:0}.gallery-queue-dialog .gallery-field{display:grid;gap:6px}.gallery-queue-dialog .check{display:flex;gap:10px}#gallery-paste.dragging{outline:3px solid #16814c;background:#e6f4eb}#gallery-upload-kind{display:block;margin:10px 0;padding:10px;font:inherit}#gallery-paste-previews .gallery-paste-preview{flex-wrap:wrap}#gallery-paste-previews small{display:block}@media(max-width:600px){.gallery-queue-dialog{padding:16px;width:96vw}.gallery-queue-dialog .gallery-editor{grid-template-columns:1fr}.gallery-queue-actions{bottom:-16px}.gallery-queue-actions button{flex:1 1 45%}}

.gallery-owner-tools{display:flex;gap:12px;margin:16px 0}.gallery-owner-edit{display:block;padding:9px;background:#edf4ef;color:#183d34;font-size:13px;text-align:center}.gallery-queue-dialog .gallery-metadata{padding:14px;border:1px solid #cad8d0;border-radius:10px}

/* Quick actions remain visible while a gallery entry is collapsed. */
.gallery-item>summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;cursor:pointer;list-style:none}.gallery-overview-thumb{width:76px;height:64px;object-fit:cover;border-radius:7px;background:#e2ebe6;flex:0 0 76px}.gallery-overview-heading{display:grid;gap:7px;flex:1;min-width:140px;overflow-wrap:anywhere}.gallery-overview-actions{display:flex;flex-wrap:wrap;gap:8px}.gallery-overview-actions button{min-height:44px;cursor:pointer;margin:0}.gallery-overview-actions .gallery-remove{color:#9a2929;border-color:#b88585}.gallery-overview-status{flex:0 0 100%;font-size:14px}.gallery-overview-status:empty{display:none}.gallery-item>summary:focus-visible{outline:3px solid #16814c;outline-offset:5px}@media(max-width:600px){.gallery-overview-actions{flex:1 1 100%}.gallery-overview-actions button{flex:1;padding:10px}.gallery-overview-thumb{width:64px;height:58px;flex-basis:64px}}

.gallery-bulk-bar{position:sticky;top:10px;z-index:15;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:16px;margin:20px 0;background:#edf5ef;border:1px solid #a9c4b2;border-radius:10px;box-shadow:0 3px 12px #12334315}.gallery-bulk-bar>span{font-weight:700}.gallery-bulk-bar>p{flex:0 0 100%;margin:0}.gallery-bulk-bar>p:empty{display:none}.gallery-bulk-bar button{min-height:44px;margin:0}.gallery-bulk-bar .gallery-remove{color:#9a2929;border-color:#b88585}.gallery-select-label{display:flex;gap:8px;align-items:center;min-height:44px;font-size:14px;cursor:pointer}.gallery-select-label input[type=checkbox]{width:22px;height:22px;margin:0;accent-color:#176a42}.gallery-item.gallery-selected{border:2px solid #16814c;background:#f3faf5}@media(max-width:600px){.gallery-bulk-bar{top:5px;padding:10px;gap:8px}.gallery-bulk-bar button{flex:1 1 45%;font-size:13px}.gallery-bulk-bar>span{flex:0 0 100%}.gallery-select-label{flex:0 0 100%}}

.gallery-rotation-frame{display:block;position:relative;width:100%;overflow:hidden;line-height:0}.gallery-rotation-frame img{position:absolute!important;left:50%;top:50%;max-width:none!important;max-height:none!important;object-fit:contain;margin:0}.gallery-admin-preview+.gallery-rotation-frame{max-width:100%}.gallery-owner-actions{display:flex;gap:6px;flex-wrap:wrap;padding:8px;background:#edf5ef}.gallery-owner-actions button,.gallery-owner-actions a{font-size:12px;min-height:40px;padding:8px;cursor:pointer}.gallery-owner-actions span{font-size:13px;flex:0 0 100%}.gallery-owner-actions span:empty{display:none}.gallery-inline-editor{width:min(760px,94vw);max-height:88dvh;overflow:auto;padding:24px;box-sizing:border-box;border:1px solid #adc6b6;border-radius:14px;color:#123343}.gallery-inline-editor::backdrop{background:#12334399}.gallery-inline-editor form{display:grid;gap:12px}.gallery-inline-editor label{display:grid;gap:6px}.gallery-inline-editor input,.gallery-inline-editor textarea{box-sizing:border-box;width:100%;font:inherit;padding:10px;min-height:44px}.gallery-inline-editor button{min-height:44px;cursor:pointer}.gallery-inline-editor h2{font-size:25px}.gallery-item .gallery-rotation-frame{max-width:480px;margin:12px auto}.gallery-overview-thumb{transform-origin:center}

.gallery-view-switch{align-items:center;flex-wrap:wrap;padding:14px;border:1px solid #b7cdbf;border-radius:10px;background:#f4f8f5}.gallery-view-switch button{min-height:44px;cursor:pointer}.gallery-view-switch button[aria-pressed=true]{background:#183d34;color:#fff;border-color:#183d34}.gallery-view-switch>span{flex:0 0 100%;font-size:13px;color:#3b6350}.gallery-view-switch [hidden]{display:none!important}

.gallery-bulk-bar[hidden],.gallery-more[hidden],#gallery-upload button[hidden]{display:none!important}.gallery-review-select{display:flex;align-items:center;gap:8px;padding:10px;background:#eaf3ec;font-size:13px;font-weight:650}.gallery-review-select input{width:22px;height:22px;accent-color:#176a42}.gallery-more{display:block;margin:24px auto;min-height:44px}.gallery-card video{min-height:110px;background:#193c33}.gallery-card{content-visibility:auto;contain-intrinsic-size:auto 300px}.gallery-inline-editor input,.gallery-inline-editor textarea{font-size:16px}.gallery-bulk-bar select{padding:10px;min-height:44px;max-width:100%;font:inherit}
.gallery-tag-picker{border:1px solid #adc6b6;border-radius:10px;padding:14px;display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1}.gallery-tag-picker legend{font-weight:700}.gallery-tag-picker p{flex-basis:100%;margin:0 0 5px}.gallery-tag-picker label{display:flex!important;align-items:center;gap:8px;padding:8px 12px;border:1px solid #c5d8cd;border-radius:22px;background:#f1f6f2;cursor:pointer}.gallery-tag-picker input[type=checkbox]{width:20px!important;height:20px;min-height:20px!important;margin:0;padding:0;accent-color:#176a42}.gallery-tag-note{font-size:12px!important;margin:0!important;padding:8px 10px;color:#31574a;background:#f1f6f2}.gallery-inline-editor select{font:inherit;min-height:44px;max-width:100%}
.gallery-tag-preview{display:block;width:100%;max-height:260px;object-fit:contain;background:#edf4ef;margin:12px 0}.gallery-tag-picker:disabled label{opacity:.6;cursor:wait}
.gallery-reuse-select{box-sizing:border-box;max-width:100%;min-width:0;min-height:40px;font:inherit;font-size:14px;padding:8px 10px;border:1px solid #b8cdbf;border-radius:6px;background:#f0f6f2;color:#194c3a;margin-top:-6px}.gallery-editor>.gallery-reuse-select{align-self:start}.gallery-field input{width:100%;box-sizing:border-box}

.gallery-sdg-panel{padding:24px;background:#f3f5f2;border-radius:16px;margin:28px 0}.gallery-sdg-panel h2{font-size:24px;margin-top:0}.gallery-sdg-filters{display:flex;flex-wrap:wrap;gap:8px}.gallery-sdg-filters button{font:inherit;font-size:14px;background:white;border:2px solid #d9dedc;border-left:7px solid var(--sdg-color,#65459a);border-radius:8px;padding:10px 12px;text-align:left;cursor:pointer}.gallery-sdg-filters button[aria-pressed="true"]{background:#182d35;color:white;border-top-color:#182d35;border-right-color:#182d35;border-bottom-color:#182d35}.gallery-sdg-picker{border:1px solid #c4d1c9;border-radius:12px;padding:16px;margin:18px 0;min-width:0}.gallery-sdg-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.gallery-sdg-options label{display:flex;gap:8px;align-items:center;font-size:14px;background:#f3f5f2;padding:10px;border-radius:8px;cursor:pointer}.gallery-sdg-options input{width:18px;height:18px;flex-shrink:0}.gallery-sdg-number{display:grid;place-items:center;min-width:30px;height:30px;font-weight:bold;color:#111;border:1px solid #666;border-radius:4px}.gallery-sdg-picker details{margin-top:14px}.gallery-sdg-picker summary{cursor:pointer}.gallery-sdg-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px}.gallery-sdg-badges:empty{display:none}.gallery-sdg-badges small{width:100%;color:#475c54}.gallery-sdg-badges>span{border:2px solid;border-radius:6px;padding:3px 7px;font-size:12px;background:#fff;color:#172c24}.gallery-sdg-filters button:focus-visible,.gallery-sdg-options input:focus-visible{outline:3px solid #65459a;outline-offset:3px}

.gallery-overlay .gallery-sdg-badges{padding:6px 0 0}.gallery-overlay .gallery-sdg-badges small{display:none}.gallery-overlay .gallery-sdg-badges>span{font-size:11px;padding:2px 5px}
.gallery-metadata-filters{flex:1 0 100%;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;border:1px solid #a9c4b2;border-radius:8px;padding:12px}.gallery-metadata-filters legend{font-weight:700;padding:0 6px}.gallery-metadata-filters label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:14px}.gallery-metadata-filters input,.gallery-metadata-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:8px;font:inherit;font-size:16px;background:white;color:#193c33;border:1px solid #a9c4b2;border-radius:6px}.gallery-metadata-filters button{grid-column:1/-1;justify-self:start}@media(max-width:600px){.gallery-metadata-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-metadata-filters label:has(select){grid-column:1/-1}}

/* Approved journey reflection, 22 October 2026. */
.encounters .encounter-motto{font-size:clamp(1.3rem,2.2vw,1.75rem);font-weight:600;line-height:1.4;color:#087443;margin:0 0 14px;max-width:900px}.encounters .encounter-reflection{max-width:850px;margin:0 0 30px;line-height:1.65}.encounter-intro{margin-top:18px}

/* Give the landscape introduction the full card width. */
.encounter-video{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:"video" "title" "link"}
.encounter-video video{aspect-ratio:16/9;max-height:none}

/* Gallery intro without the repeated personal video. */
.encounter-mosaic>.encounter-story{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:36px;align-items:start}
.encounter-story>.eyebrow,.encounter-story>h2{grid-column:1}.encounter-story>.eyebrow{grid-row:1}.encounter-story>h2{grid-row:2;margin:8px 0 0}.encounter-story>p{grid-column:2;grid-row:1/3;margin:0}.encounter-story>span:last-child{grid-column:2;margin-top:14px}
@media(max-width:640px){.encounter-mosaic>.encounter-story{display:flex;gap:12px}.encounter-story>h2,.encounter-story>p,.encounter-story>span:last-child{margin:0}}

/* Compact transition from portraits to the photo collection. */
.encounters>section.encounter-intro>.wrap{padding-bottom:0}.encounters .encounter-mosaic{margin-bottom:0}.encounters .encounter-story{padding:24px 26px}.encounters .encounter-story>p{align-self:center}.encounters #moments>.wrap{padding-top:36px}.encounters #moments h2{margin-bottom:10px}.encounters #moments .gallery-subtitle{margin:0 0 12px;color:#087443;font-weight:600}.encounters #moments .gallery-subtitle+p{margin:0 0 24px}
@media(max-width:640px){.encounters .encounter-story{padding:20px}.encounters #moments>.wrap{padding-top:28px}}

/* Launch preview: visible gallery and topics, owner-only detail interactions. */
.gallery-photo-preview{cursor:default}.word.word-preview,.word.word-preview:hover{opacity:1;cursor:default;color:inherit;text-decoration:none;background:white}.word.word-preview.wc-color-green{color:var(--emerald)}.word.word-preview.wc-color-coral{color:var(--coral)}.word.word-preview.wc-color-blue{color:#287792}.word.word-preview.wc-color-navy{color:var(--ink)}.gallery-view-switch{margin:20px 0}.gallery-photo-preview:focus-visible .gallery-overlay{opacity:1;visibility:visible}

/* Full-width, seamless photo mosaic. Natural image proportions preserve faces. */
.encounters-launch .word-cloud,.encounters-launch .encounter-categories{display:none!important}
.encounters-launch>.encounter-intro{padding-bottom:0}
.encounters-launch #moments{padding:0!important;margin:0!important;background:#fff}
html body.design-site main.encounters-launch #moments>.wrap{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
.encounters-launch #moments>.wrap>.eyebrow,.encounters-launch #moments h2,.encounters-launch .gallery-subtitle,.encounters-launch .gallery-subtitle+p,.encounters-launch .topic-selection{display:none}
.encounters-launch .gallery-grid{display:block!important;columns:4;column-gap:0!important;width:100%;line-height:0;margin:0;padding:0}
.encounters-launch .gallery-card{display:inline-block!important;break-inside:avoid;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent;vertical-align:top;line-height:0;content-visibility:visible}
.encounters-launch .gallery-photo{display:block;position:relative;overflow:hidden;width:100%;margin:0;padding:0;border-radius:0;line-height:0}
.encounters-launch .gallery-photo img,.encounters-launch .gallery-photo video{display:block;width:100%;height:auto;max-height:none;object-fit:contain;margin:0;border:0;vertical-align:top}
.encounters-launch .gallery-overlay{position:absolute;inset:auto 0 0;opacity:0;visibility:hidden;pointer-events:none;padding:48px 20px 20px;background:linear-gradient(transparent,rgba(7,20,31,.94) 45%);color:#fff;line-height:1.45;gap:6px}
.encounters-launch .gallery-overlay-title{font-size:22px;line-height:1.3}
.encounters-launch .gallery-overlay-meta{font-size:16px;line-height:1.45}
.encounters-launch .gallery-overlay-caption{font-size:17px;line-height:1.45;display:-webkit-box}
.encounters-launch .gallery-overlay-meta:empty,.encounters-launch .gallery-overlay-caption:empty{display:none}
@media(hover:hover){.encounters-launch .gallery-photo:hover .gallery-overlay{opacity:1;visibility:visible}}
.encounters-launch .gallery-photo:focus-visible .gallery-overlay{opacity:1;visibility:visible}
.encounters-launch .gallery-photo:focus-visible{outline:3px solid #35ca9d;outline-offset:-3px}
@media(min-width:1800px){.encounters-launch .gallery-grid{columns:5}}
@media(max-width:1100px){.encounters-launch .gallery-grid{columns:3}}
@media(max-width:700px){.encounters-launch .gallery-grid{columns:2}.encounters-launch .gallery-overlay{padding:32px 12px 12px}.encounters-launch .gallery-overlay-title{font-size:19px}.encounters-launch .gallery-overlay-caption{display:none}}
@media(max-width:360px){.encounters-launch .gallery-grid{columns:1}}
