.results-invite{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;margin-top:44px}.results-invite p{color:#647084;max-width:560px;line-height:1.7}.results-invite button{padding:17px 27px;border-radius:10px;background:#172c54;color:white;font-weight:600}.results-invite button:hover{background:#112449;transform:translateY(-3px)}
.results-dialog{width:min(1120px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:22px;background:#f8fafc;color:#172c54;box-shadow:0 30px 100px #11244955;overscroll-behavior:contain}.results-dialog::backdrop{background:rgba(9,20,41,.78);backdrop-filter:blur(6px)}.results-dialog [hidden]{display:none!important}.results-dialog:focus{outline:none}
.results-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;background:#172c54;color:white}.results-dialog-header h2{font-size:25px;line-height:1.3}.results-dialog-header p{font-size:13px;color:#d2ddef;margin-top:5px}.results-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#ffffff18;color:white;font-size:28px}.results-close:hover{background:#ffffff30}.results-back{margin-bottom:7px;background:transparent;color:#ffb07d;text-align:left;font-size:13px;padding:0}
.results-overview{padding:26px 28px 32px}.results-filter-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.results-filters{display:flex;gap:8px;flex-wrap:wrap}.results-filters button{padding:10px 17px;border-radius:999px;color:#172c54;background:#eaf0f7;font-weight:600;font-size:13px}.results-filters button[aria-pressed=true]{background:#172c54;color:white}.results-filters button:hover{box-shadow:0 3px 10px #172c5418}.results-count{color:#647084;font-size:13px;white-space:nowrap}.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.result-tile{padding:0;overflow:hidden;background:white;color:#172c54;border-radius:15px;text-align:left;box-shadow:0 4px 20px #172c5408;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}.result-tile img{width:100%;height:230px;object-fit:cover;object-position:center 30%;background:#eaf0f7}.result-tile-copy{display:flex;flex-direction:column;gap:7px;padding:18px}.result-tile-copy strong{font-size:20px}.result-category{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#a34810}.result-tile-copy>span:last-child{font-size:13px;line-height:1.6;color:#647084}.result-tile:hover{transform:translateY(-5px);box-shadow:0 14px 30px #172c5418}
.result-viewer{padding:24px 28px 30px}.result-photo-stage{background:#112449;border-radius:15px;overflow:hidden;display:flex;align-items:center;justify-content:center}.result-photo{display:block;max-height:60dvh;width:100%;height:60dvh;object-fit:contain;touch-action:pan-y pinch-zoom}.result-viewer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:22px}.result-caption{line-height:1.7}.result-caption h3{font-size:24px;margin-bottom:6px}.result-caption p{font-size:14px;color:#465267}.result-controls{display:flex;align-items:center;gap:12px;flex-shrink:0}.result-controls button{height:44px;width:44px;border-radius:50%;background:#172c54;color:white;font-size:21px}.result-controls button:hover{background:#345583}.result-position{min-width:48px;text-align:center;font-size:13px;color:#647084}
@media(max-width:850px){.results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.results-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.results-dialog-header{padding:18px}.results-dialog-header h2{font-size:21px}.results-overview,.result-viewer{padding:18px}.results-grid{gap:14px;grid-template-columns:1fr}.result-tile img{height:280px}.results-filter-row{align-items:flex-start;flex-direction:column;gap:12px}.results-filters{gap:6px}.results-filters button{padding:9px 13px}.result-viewer-bottom{align-items:flex-start;flex-direction:column;gap:18px}.result-controls{align-self:center}.result-photo{height:52dvh;max-height:52dvh}}
@media(prefers-reduced-motion:reduce){.result-tile:hover,.results-invite button:hover{transform:none}}

/* Inline, paginated gallery: six results per page. */
.inline-results{margin-top:64px;padding-top:44px;border-top:1px solid #dce4ef;scroll-margin-top:110px}
.inline-results-heading{margin-bottom:24px}.inline-results-heading h3{font-size:28px;line-height:1.35;letter-spacing:-.02em;margin-top:10px;color:#172c54}
.inline-results .results-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;align-content:start}
.result-tile{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.result-tile img{object-position:center 15%;flex-shrink:0}
.results-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:32px}.results-pagination[hidden]{display:none}.results-pagination button{padding:11px 15px;min-width:44px;min-height:44px;border-radius:9px;background:#fff;color:#172c54;font-weight:600;font-size:14px;box-shadow:0 2px 10px #172c5406}.results-pagination button[aria-current=page]{background:#172c54;color:#fff}.results-pagination button:disabled{opacity:.4;cursor:default}.results-pagination button:not(:disabled):hover{background:#dce7f5;transform:translateY(-2px)}.results-pagination button[aria-current=page]:hover{background:#172c54}
@media(max-width:850px){.inline-results .results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.inline-results .results-grid{grid-template-columns:1fr}.inline-results{margin-top:44px;padding-top:32px}.inline-results-heading h3{font-size:23px}.results-pagination{gap:5px}.results-pagination button{padding:10px;min-width:40px}}
@media(prefers-reduced-motion:reduce){.results-pagination button:hover{transform:none}}

/* One combined gallery and an image-only lightbox. */
.inline-results{margin-top:0;padding-top:0;border-top:0}
.result-tile-media{display:block;position:relative;overflow:hidden;flex-shrink:0}
.result-tile-media img{transition:transform .5s var(--ease)}
.result-enlarge{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:rgba(9,20,41,.42);color:white;opacity:0;transition:opacity .3s ease}
.result-enlarge>.material-symbols-outlined{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.16);font-size:30px}
.result-enlarge>span:last-child{font-size:13px;font-weight:600;letter-spacing:.02em}
.result-tile:hover .result-enlarge,.result-tile:focus-visible .result-enlarge{opacity:1}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.result-tile:hover .result-tile-media img{transform:scale(1.035)}}
@media(hover:none){.result-enlarge{inset:auto 10px 10px auto;opacity:1;padding:8px;border-radius:50%;background:rgba(9,20,41,.7)}.result-enlarge>span:last-child{display:none}.result-enlarge>.material-symbols-outlined{width:25px;height:25px;font-size:23px;background:none}}
.results-dialog.results-lightbox{width:calc(100% - 32px);height:calc(100dvh - 32px);max-height:none;max-width:none;margin:auto;background:transparent;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible}
.results-lightbox::backdrop{background:rgba(7,16,34,.88);backdrop-filter:blur(4px)}
.lightbox-stage{height:100%;width:100%;display:flex;align-items:center;justify-content:center}
.lightbox-photo{display:block;width:auto;height:auto;max-height:calc(100dvh - 80px);max-width:calc(100% - 140px);object-fit:contain;touch-action:pan-y pinch-zoom;border-radius:4px}
.lightbox-close,.lightbox-arrow{position:absolute;z-index:2;width:46px;height:46px;display:flex;align-items:center;justify-content:center;color:white;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);border-radius:50%;font-size:26px}
.lightbox-close{right:6px;top:6px;font-size:31px}.lightbox-arrow{top:50%;transform:translateY(-50%)}.lightbox-previous{left:8px}.lightbox-next{right:8px}.lightbox-close:hover,.lightbox-arrow:hover{background:rgba(255,255,255,.25)}
@media(max-width:540px){.results-dialog.results-lightbox{width:100%;height:100dvh}.lightbox-photo{max-width:calc(100% - 20px);max-height:calc(100dvh - 130px)}.lightbox-close{right:12px;top:12px}.lightbox-arrow{top:auto;bottom:18px;transform:none}.lightbox-previous{left:calc(50% - 58px)}.lightbox-next{right:calc(50% - 58px)}}

/* Center vector icons independently of font metrics and default button padding. */
.lightbox-close,.lightbox-arrow{padding:0;line-height:1;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
.lightbox-close svg,.lightbox-arrow svg{display:block;width:23px;height:23px;flex-shrink:0;margin:0}

/* Taller client images: square on desktop and portrait-oriented on phones. */
.result-tile-media{aspect-ratio:1 / 1}
.result-tile-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}
@media(max-width:540px){.result-tile-media{aspect-ratio:4 / 5;max-height:460px}}

/* Hide the two-pixel encoded bottom edge in the Alberte preview. */
.result-tile-media img[src$="/resultat-alberte.webp"]{transform:scale(1.02)}
