.arc-gallery-render,.arc-gallery-portal{--arc-gallery-paper:#f4f1e8;--arc-gallery-forest:#142b23;--arc-gallery-accent:#a5b679;--arc-gallery-columns:3;--arc-gallery-tablet-columns:2;--arc-gallery-mobile-columns:1;--arc-gallery-gap:16px;--arc-gallery-radius:8px;--arc-gallery-ratio:4/3;box-sizing:border-box}
.arc-gallery-render *,.arc-gallery-portal *,.arc-gallery-lightbox *{box-sizing:border-box}
.arc-gallery-render [hidden],.arc-gallery-portal [hidden],.arc-gallery-lightbox [hidden]{display:none!important}
.arc-gallery-render{width:100%;min-width:0}
.arc-gallery-central,.arc-gallery-collection{min-width:0;--arc-gallery-ink:var(--arc-gallery-forest);--arc-gallery-surface:var(--arc-gallery-paper);color:var(--arc-gallery-ink)}
.arc-gallery-central[data-arc-gallery-theme="inherit"]{--arc-gallery-ink:inherit;--arc-gallery-surface:transparent;color:inherit}
.arc-gallery-central[data-arc-gallery-theme="light"]{--arc-gallery-ink:#202b30;--arc-gallery-surface:#fff}
.arc-gallery-central[data-arc-gallery-theme="dark"]{--arc-gallery-ink:#f4f1e8;--arc-gallery-surface:#15231f}
.arc-gallery-central:not([data-arc-gallery-theme="inherit"]){background:var(--arc-gallery-surface);padding:clamp(20px,3vw,40px);border-radius:var(--arc-gallery-radius)}
.arc-gallery-title{font-family:inherit;font-size:clamp(28px,4vw,48px);line-height:1.15;margin:0 0 12px;color:inherit}
.arc-gallery-description{max-width:780px;line-height:1.75;margin:0 0 28px;opacity:.8}
.arc-gallery-cover{display:block;width:100%;max-height:520px;object-fit:cover;aspect-ratio:16/7;border-radius:var(--arc-gallery-radius);margin:0 0 28px}
.arc-gallery-group-tabs,.arc-gallery-collection-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;padding:0;list-style:none}
.arc-gallery-group-tabs button,.arc-gallery-collection-tabs button,[data-arc-gallery-collection-tab]{appearance:none;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 18px;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:999px;font:inherit;font-size:14px;line-height:1.4;font-weight:600;background:transparent;color:inherit;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.arc-gallery-group-tabs button.is-active,.arc-gallery-collection-tabs button.is-active,[data-arc-gallery-collection-tab].is-active{background:var(--arc-gallery-forest);border-color:var(--arc-gallery-forest);color:var(--arc-gallery-paper)}
.arc-gallery-central[data-arc-gallery-theme="dark"] .arc-gallery-group-tabs button.is-active{background:var(--arc-gallery-accent);border-color:var(--arc-gallery-accent);color:#10251d}
.arc-gallery-group-tabs button:focus-visible,.arc-gallery-collection-tabs button:focus-visible,.arc-gallery-open:focus-visible,.arc-gallery-tools :focus-visible,.arc-gallery-control:focus-visible{outline:3px solid var(--arc-gallery-accent,#b3dc67);outline-offset:4px}
.arc-gallery-group>h3{font-size:clamp(22px,3vw,34px);line-height:1.25;margin:0 0 12px}
.arc-gallery-group>p:not(.arc-gallery-empty-result){margin:0 0 24px;max-width:720px;line-height:1.65;opacity:.75}
.arc-gallery-grid{display:grid;grid-template-columns:repeat(var(--arc-gallery-columns),minmax(0,1fr));align-items:start;gap:var(--arc-gallery-gap);width:100%;min-width:0}
.arc-gallery-item{margin:0;min-width:0;position:relative;overflow:hidden;border-radius:var(--arc-gallery-radius);background:color-mix(in srgb,currentColor 5%,transparent)}
.arc-gallery-open{display:block;position:relative;overflow:hidden;color:inherit;text-decoration:none;line-height:0;border-radius:var(--arc-gallery-radius)}
.arc-gallery-item img{display:block!important;width:100%!important;max-width:100%;height:auto!important;aspect-ratio:var(--arc-gallery-ratio);object-fit:cover;transition:transform .45s cubic-bezier(.2,.65,.3,1),opacity .3s ease}
.arc-gallery-item a:hover img{transform:scale(1.035)}
.arc-gallery-item figcaption{font-size:14px;line-height:1.6;padding:14px 16px;overflow-wrap:anywhere;color:inherit}
.arc-gallery-item.is-loading{background:color-mix(in srgb,currentColor 8%,transparent)}
.arc-gallery-item img[data-arc-gallery-src]{opacity:0}
.arc-gallery-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;margin-top:28px;color:inherit}
.arc-gallery-pagination p{margin:0;font:inherit;font-size:14px}
.arc-gallery-more{appearance:none;min-height:44px;padding:12px 22px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.arc-gallery-more:hover{background:color-mix(in srgb,currentColor 8%,transparent)}
.arc-gallery-more:focus-visible{outline:3px solid var(--arc-gallery-accent);outline-offset:4px}
.arc-gallery-item.is-error img{min-height:150px;object-fit:contain;padding:20px;font-size:13px;line-height:1.6}
[data-arc-gallery-caption="none"] figcaption{display:none}
[data-arc-gallery-caption="overlay"] .arc-gallery-item figcaption{position:absolute;inset:auto 0 0;padding:38px 18px 18px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#fff;pointer-events:none}
[data-arc-gallery-layout="editorial"] .arc-gallery-item:first-child{grid-column:span 2;grid-row:span 2}
[data-arc-gallery-layout="editorial"] .arc-gallery-item:first-child img{aspect-ratio:1/1}
[data-arc-gallery-layout="masonry"] .arc-gallery-grid{align-items:stretch;grid-auto-flow:dense}
[data-arc-gallery-layout="masonry"] .arc-gallery-item:nth-child(5n+1){grid-row:span 2}
[data-arc-gallery-layout="masonry"] .arc-gallery-item:nth-child(5n+1) .arc-gallery-open{height:100%}
[data-arc-gallery-layout="masonry"] .arc-gallery-item:nth-child(5n+1) img{height:100%!important;min-height:100%;aspect-ratio:3/4}
.arc-gallery-empty-result{border:1px dashed color-mix(in srgb,currentColor 30%,transparent);border-radius:12px;padding:36px;text-align:center;font-size:16px;line-height:1.7}
.arc-gallery-teaser{position:relative;isolation:isolate;overflow:hidden;min-height:380px;padding:clamp(30px,5vw,64px);border-radius:20px;background:var(--arc-gallery-forest);color:var(--arc-gallery-paper);display:flex;flex-direction:column;justify-content:end;align-items:start;gap:14px}
.arc-gallery-teaser>.arc-gallery-cover,.arc-gallery-teaser>img{position:absolute!important;z-index:-2;inset:0;margin:0;width:100%;height:100%!important;max-height:none;object-fit:cover;aspect-ratio:auto;border-radius:0}
.arc-gallery-teaser:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(4,19,14,.93),rgba(4,19,14,.1) 95%)}
.arc-gallery-teaser .arc-gallery-title{font-family:Georgia,serif;font-size:clamp(32px,5vw,58px);max-width:850px}
.arc-gallery-teaser .arc-gallery-description{margin:0;max-width:640px}
.arc-gallery-teaser a{display:inline-flex;align-items:center;gap:24px;min-height:48px;padding:14px 24px;text-decoration:none;background:var(--arc-gallery-paper);color:var(--arc-gallery-forest);border:1px solid transparent;border-radius:999px;font-size:15px;font-weight:600;margin-top:12px;line-height:1.4}
.arc-gallery-teaser a:after{content:"↗";font-size:22px;font-family:Arial,sans-serif}
.arc-gallery-teaser a:hover{background:var(--arc-gallery-accent)}
.arc-gallery-placeholder{padding:40px 24px;min-height:200px;border:1px dashed #739875;border-radius:12px;background:#eef2e8;color:#203a2e;text-align:center;display:grid;place-content:center}
.arc-gallery-placeholder strong{font-size:22px}.arc-gallery-placeholder p{margin:12px 0 0;max-width:520px;font-size:14px;line-height:1.7}
.arc-gallery-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.arc-gallery-portal{position:relative;width:var(--arc-gallery-viewport,100%);max-width:none!important;margin-inline:calc((100% - var(--arc-gallery-viewport,100%))/2)!important;background:var(--arc-gallery-paper);color:var(--arc-gallery-forest);padding-bottom:clamp(60px,8vw,130px);--arc-gallery-content:1280px;overflow:clip}
.arc-gallery-portal-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;min-height:540px;padding:clamp(50px,7vw,100px) max(28px,calc((100% - var(--arc-gallery-content))/2));gap:60px;border-bottom:1px solid color-mix(in srgb,var(--arc-gallery-forest) 15%,transparent)}
.arc-gallery-hero-copy{position:relative;z-index:1;max-width:640px}
.arc-gallery-hero-copy:before{content:"BILDER · MOMENTE · ERINNERUNGEN";display:block;margin:0 0 26px;font-family:inherit;font-size:11px;line-height:1.8;font-weight:600;letter-spacing:.2em;color:var(--arc-gallery-accent)}
.arc-gallery-portal-hero h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(48px,6.5vw,100px);line-height:1.02;letter-spacing:-.04em;color:inherit;margin:0 0 28px;overflow-wrap:anywhere}
.arc-gallery-portal-hero p{font-size:clamp(16px,1.8vw,20px);line-height:1.75;opacity:.8;margin:0;max-width:580px}
.arc-gallery-hero-media{position:relative;width:100%;overflow:hidden;border-radius:80px 80px 6px 6px;aspect-ratio:1/1;background:var(--arc-gallery-forest)}
.arc-gallery-hero-media img{display:block;width:100%;height:100%!important;object-fit:cover;max-height:none;aspect-ratio:auto}
.arc-gallery-portal-hero:has(.arc-gallery-hero-media img):not(:has(.arc-gallery-hero-copy)){display:block}
.arc-gallery-portal-hero:not(:has(.arc-gallery-hero-media)){grid-template-columns:1fr;min-height:350px}.arc-gallery-portal-hero:not(:has(.arc-gallery-hero-media)) .arc-gallery-hero-copy{max-width:900px}
.arc-gallery-portal>.arc-gallery-collection-tabs,.arc-gallery-portal>nav:has([data-arc-gallery-collection-tab]){max-width:var(--arc-gallery-content);margin:0 auto;padding:38px 28px 0;color:inherit}
.arc-gallery-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;max-width:var(--arc-gallery-content);margin:0 auto;padding:28px;color:inherit}
.arc-gallery-search{display:flex;align-items:center;gap:12px;flex:1 1 320px;max-width:650px;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:999px;padding:0 18px;min-height:48px}
.arc-gallery-search svg{width:20px;height:20px;flex-shrink:0}.arc-gallery-search input{width:100%;min-width:0;font:inherit;font-size:14px;line-height:1.5;padding:12px 0;border:0!important;box-shadow:none!important;outline:none;background:transparent!important;color:inherit!important}.arc-gallery-search input::placeholder{color:inherit;opacity:.6}
.arc-gallery-year select,.arc-gallery-reset{font:inherit;font-size:13px;min-height:48px;padding:12px 18px;border:1px solid color-mix(in srgb,currentColor 20%,transparent);background:transparent;color:inherit;border-radius:999px;cursor:pointer}
.arc-gallery-year option{background:var(--arc-gallery-paper);color:var(--arc-gallery-forest)}
.arc-gallery-reset{border-color:transparent}.arc-gallery-result-count{margin-left:auto;font-size:12px;opacity:.65;white-space:nowrap}
.arc-gallery-portal>.arc-gallery-collection{max-width:var(--arc-gallery-content);margin:0 auto;padding:20px 28px;color:inherit}
.arc-gallery-portal .arc-gallery-collection>.arc-gallery-title{font-family:Georgia,serif;max-width:900px;margin-bottom:14px}.arc-gallery-portal .arc-gallery-group>h3{font-family:Georgia,serif;font-weight:400}.arc-gallery-portal .arc-gallery-description{margin-bottom:24px}
/* Each Premium preset changes composition in addition to its editable palette. */
[data-arc-gallery-template="heritage"] .arc-gallery-portal-hero{background:radial-gradient(ellipse at 5% 25%,color-mix(in srgb,var(--arc-gallery-accent) 15%,transparent),transparent 55%)}
[data-arc-gallery-template="heritage"] .arc-gallery-hero-media:after{content:"";position:absolute;inset:14px;border:1px solid rgba(255,255,255,.5);border-radius:70px 70px 0 0;pointer-events:none}
[data-arc-gallery-template="editorial"] .arc-gallery-portal-hero{grid-template-columns:1.4fr 1fr;align-items:end;min-height:660px;padding-bottom:40px;gap:80px}
[data-arc-gallery-template="editorial"] .arc-gallery-hero-media{border-radius:0;aspect-ratio:3/4}
[data-arc-gallery-template="editorial"] .arc-gallery-portal-hero h1{font-size:clamp(64px,8.5vw,130px)}
[data-arc-gallery-template="editorial"] .arc-gallery-item{border-radius:0;background:none}[data-arc-gallery-template="editorial"] .arc-gallery-item figcaption{padding-inline:0;border-bottom:1px solid currentColor}
[data-arc-gallery-template="cinema"] .arc-gallery-portal-hero{display:flex;align-items:end;min-height:76vh;isolation:isolate;padding-top:220px;color:#fff}
[data-arc-gallery-template="cinema"] .arc-gallery-hero-media,[data-arc-gallery-template="portfolio"] .arc-gallery-hero-media{position:absolute;inset:0;border-radius:0;width:100%;height:100%;aspect-ratio:auto;z-index:-2}
[data-arc-gallery-template="cinema"] .arc-gallery-portal-hero:after,[data-arc-gallery-template="portfolio"] .arc-gallery-portal-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.05))}
[data-arc-gallery-template="cinema"] .arc-gallery-grid{gap:8px}[data-arc-gallery-template="cinema"] .arc-gallery-item{border-radius:0}[data-arc-gallery-template="cinema"] .arc-gallery-item img{aspect-ratio:16/9}
[data-arc-gallery-template="minimal"] .arc-gallery-portal-hero{min-height:400px;padding-block:80px;gap:36px;grid-template-columns:1.5fr 1fr}
[data-arc-gallery-template="minimal"] .arc-gallery-portal-hero h1{font-family:inherit;font-size:clamp(44px,5vw,72px);font-weight:600;letter-spacing:-.055em}
[data-arc-gallery-template="minimal"] .arc-gallery-hero-media{aspect-ratio:16/10;border-radius:0}[data-arc-gallery-template="minimal"] .arc-gallery-grid{gap:36px}[data-arc-gallery-template="minimal"] .arc-gallery-item{background:none;border-radius:0}
[data-arc-gallery-template="museum"]{--arc-gallery-content:1180px}[data-arc-gallery-template="museum"] .arc-gallery-portal-hero{display:flex;flex-direction:column;text-align:center;padding-block:90px;gap:55px}
[data-arc-gallery-template="museum"] .arc-gallery-hero-copy{max-width:850px}[data-arc-gallery-template="museum"] .arc-gallery-hero-copy p{margin-inline:auto}[data-arc-gallery-template="museum"] .arc-gallery-hero-media{max-width:950px;aspect-ratio:16/8;border-radius:0;border:16px solid color-mix(in srgb,var(--arc-gallery-forest) 12%,var(--arc-gallery-paper));box-shadow:0 18px 45px #0002}
[data-arc-gallery-template="museum"] .arc-gallery-grid{gap:50px}[data-arc-gallery-template="museum"] .arc-gallery-item{background:none;border-radius:0}[data-arc-gallery-template="museum"] .arc-gallery-open{padding:12px;background:color-mix(in srgb,var(--arc-gallery-forest) 8%,var(--arc-gallery-paper));border-radius:0}[data-arc-gallery-template="museum"] .arc-gallery-item figcaption{padding:18px 0;font-family:Georgia,serif;font-size:16px}
[data-arc-gallery-template="mosaic"]{--arc-gallery-content:1540px}[data-arc-gallery-template="mosaic"] .arc-gallery-portal-hero{min-height:470px;grid-template-columns:1fr 1.6fr;gap:30px}[data-arc-gallery-template="mosaic"] .arc-gallery-hero-media{aspect-ratio:16/9;border-radius:30px}
[data-arc-gallery-template="mosaic"] .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-columns),minmax(0,1fr));gap:10px;grid-auto-flow:dense}[data-arc-gallery-template="mosaic"] .arc-gallery-item:nth-child(7n+1){grid-column:span 2;grid-row:span 2}[data-arc-gallery-template="mosaic"] .arc-gallery-item:nth-child(7n+1) img{aspect-ratio:1/1}
[data-arc-gallery-template="portfolio"] .arc-gallery-portal-hero{display:flex;align-items:center;justify-content:center;text-align:center;min-height:85vh;padding-block:150px;isolation:isolate;color:#fff}[data-arc-gallery-template="portfolio"] .arc-gallery-hero-copy{max-width:900px}[data-arc-gallery-template="portfolio"] .arc-gallery-hero-copy p{margin:auto}[data-arc-gallery-template="portfolio"] .arc-gallery-portal-hero:after{background:rgba(0,0,0,.48)}[data-arc-gallery-template="portfolio"] .arc-gallery-grid{gap:4px}[data-arc-gallery-template="portfolio"] .arc-gallery-item{border-radius:0}
[data-arc-gallery-template="journal"] .arc-gallery-portal-hero{grid-template-columns:1fr;min-height:450px;padding-bottom:60px}[data-arc-gallery-template="journal"] .arc-gallery-hero-copy{max-width:1040px}[data-arc-gallery-template="journal"] .arc-gallery-hero-media{aspect-ratio:21/8;border-radius:0}[data-arc-gallery-template="journal"] .arc-gallery-portal-hero h1{max-width:850px}[data-arc-gallery-template="journal"] .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-columns),minmax(0,1fr));gap:40px}[data-arc-gallery-template="journal"] .arc-gallery-item{background:none;border-radius:0}[data-arc-gallery-template="journal"] .arc-gallery-item figcaption{font-family:Georgia,serif;padding:20px 0;font-size:18px}
[data-arc-gallery-template="glass"] .arc-gallery-portal-hero{background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--arc-gallery-accent) 40%,transparent),transparent 70%);gap:50px}[data-arc-gallery-template="glass"] .arc-gallery-hero-copy{padding:36px;border:1px solid color-mix(in srgb,currentColor 15%,transparent);background:color-mix(in srgb,var(--arc-gallery-paper) 65%,transparent);backdrop-filter:blur(20px);border-radius:24px}[data-arc-gallery-template="glass"] .arc-gallery-hero-media{border-radius:24px;box-shadow:0 25px 75px #0003}[data-arc-gallery-template="glass"] .arc-gallery-item{border:1px solid color-mix(in srgb,currentColor 15%,transparent);border-radius:16px;background:color-mix(in srgb,currentColor 5%,transparent)}
[data-arc-gallery-template="archive"] .arc-gallery-portal-hero{grid-template-columns:1.6fr 1fr;min-height:360px;padding-block:60px}[data-arc-gallery-template="archive"] .arc-gallery-hero-media{aspect-ratio:3/2;border-radius:4px}[data-arc-gallery-template="archive"] .arc-gallery-portal-hero h1{font-size:clamp(48px,5.5vw,82px)}[data-arc-gallery-template="archive"] .arc-gallery-collection{display:grid;grid-template-columns:200px minmax(0,1fr);column-gap:40px}[data-arc-gallery-template="archive"] .arc-gallery-collection>header,[data-arc-gallery-template="archive"] .arc-gallery-collection>.arc-gallery-title,[data-arc-gallery-template="archive"] .arc-gallery-collection>.arc-gallery-description{grid-column:1/-1}[data-arc-gallery-template="archive"] .arc-gallery-group-tabs{grid-column:1;grid-row:2;align-self:start;position:sticky;top:130px;display:flex;flex-direction:column}[data-arc-gallery-template="archive"] .arc-gallery-group-tabs button{justify-content:start;border-radius:0;border-width:0 0 1px;font-size:15px}[data-arc-gallery-template="archive"] .arc-gallery-group{grid-column:2;grid-row:2}[data-arc-gallery-template="archive"] .arc-gallery-item{border-radius:0}
[data-arc-gallery-template="panorama"]{--arc-gallery-content:1540px}[data-arc-gallery-template="panorama"] .arc-gallery-portal-hero{grid-template-columns:1fr;min-height:300px;padding-block:60px;gap:36px}[data-arc-gallery-template="panorama"] .arc-gallery-hero-copy{max-width:1050px}[data-arc-gallery-template="panorama"] .arc-gallery-hero-media{aspect-ratio:26/7;border-radius:0}[data-arc-gallery-template="panorama"] .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-columns),minmax(0,1fr));gap:20px}[data-arc-gallery-template="panorama"] .arc-gallery-item img{aspect-ratio:21/9}[data-arc-gallery-template="panorama"] .arc-gallery-item:first-child{grid-column:1/-1;grid-row:auto}
[data-arc-gallery-template="showcase"] .arc-gallery-portal-hero{grid-template-columns:1fr 1.2fr;min-height:680px;align-items:end;gap:40px}[data-arc-gallery-template="showcase"] .arc-gallery-hero-media{aspect-ratio:4/5;border-radius:16px 120px 16px 16px}[data-arc-gallery-template="showcase"] .arc-gallery-hero-copy{padding-bottom:45px}[data-arc-gallery-template="showcase"] .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-columns),minmax(0,1fr));gap:24px}[data-arc-gallery-template="showcase"] .arc-gallery-item:first-child{grid-column:1/-1;grid-row:auto}[data-arc-gallery-template="showcase"] .arc-gallery-item:first-child img{aspect-ratio:21/8}
.arc-module-gallery[data-arc-gallery-simple="1"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.arc-module-gallery[data-arc-gallery-simple="1"] img{aspect-ratio:var(--arc-gallery-simple-ratio,4/3);cursor:zoom-in}.arc-module-gallery[data-arc-gallery-simple="1"][data-arc-gallery-lightbox="0"] img{cursor:default}
.arc-gallery-lightbox-open{overflow:hidden!important}.arc-gallery-lightbox{position:fixed;inset:16px;width:calc(100% - 32px);height:calc(100dvh - 32px);max-width:1600px;max-height:calc(100dvh - 32px);margin:auto;border:1px solid #ffffff26;border-radius:16px;padding:0;background:#111c19;color:#f5f3e9;overflow:hidden;box-shadow:0 20px 100px #0008;z-index:2147483640;--arc-gallery-accent:#b3dc67}.arc-gallery-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.arc-gallery-lightbox::backdrop{background:#06100fe8;backdrop-filter:blur(12px)}
.arc-gallery-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid #fff2;z-index:2}.arc-gallery-lightbox-count{font-size:13px;letter-spacing:.05em;font-variant-numeric:tabular-nums}.arc-gallery-lightbox-actions{display:flex;align-items:center;gap:8px}.arc-gallery-control{width:44px;height:44px;min-height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff0d;border:1px solid #ffffff26;border-radius:50%;color:#fff;cursor:pointer;text-decoration:none}.arc-gallery-control:hover{background:#ffffff24}.arc-gallery-control:disabled{opacity:.3;cursor:default}.arc-gallery-control svg{width:22px;height:22px;flex:none}
.arc-gallery-lightbox-viewport{position:relative;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:24px 80px;background:#08100d}.arc-gallery-lightbox-image{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;display:block;transition:opacity .2s ease}.arc-gallery-lightbox-prev,.arc-gallery-lightbox-next{position:absolute;z-index:1;top:calc(50% - 22px);background:#142821db}.arc-gallery-lightbox-prev{left:18px}.arc-gallery-lightbox-next{right:18px}.arc-gallery-lightbox-viewport.is-zoomed{overflow:auto;align-items:start;justify-content:start}.arc-gallery-lightbox-viewport.is-zoomed .arc-gallery-lightbox-image{max-width:none!important;max-height:none!important;width:auto!important;height:auto!important}.arc-gallery-lightbox-caption{padding:16px 24px;line-height:1.5;max-height:24vh;overflow:auto}.arc-gallery-lightbox-caption strong{font-size:16px}.arc-gallery-lightbox-caption p{font-size:13px;opacity:.75;margin:4px 0 0}.arc-gallery-lightbox-caption:has(strong:empty):has(p:empty){padding:0}.arc-gallery-lightbox:fullscreen,.arc-gallery-lightbox.is-fullscreen{inset:0;max-width:none;width:100%;height:100dvh;max-height:none;border-radius:0}
@media(max-width:1024px){.arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-tablet-columns),minmax(0,1fr))}.arc-gallery-portal-hero{gap:30px;min-height:450px}[data-arc-gallery-template="mosaic"] .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-tablet-columns),minmax(0,1fr))}[data-arc-gallery-template="museum"] .arc-gallery-grid{gap:24px}[data-arc-gallery-template="archive"] .arc-gallery-collection{grid-template-columns:150px minmax(0,1fr);gap:24px}.arc-gallery-portal-hero h1{font-size:clamp(48px,7vw,76px)}}
@media(max-width:782px){.arc-gallery-portal{padding-bottom:48px}.arc-gallery-portal-hero{grid-template-columns:1fr!important;padding:42px 22px;gap:30px;min-height:0}.arc-gallery-portal-hero h1{font-size:clamp(44px,11vw,68px)!important;line-height:1.06;margin-bottom:20px}.arc-gallery-hero-copy:before{font-size:9px;letter-spacing:.16em;margin-bottom:20px}.arc-gallery-portal-hero p{font-size:16px}.arc-gallery-hero-media{aspect-ratio:4/3;max-height:420px;border-radius:50px 50px 6px 6px}.arc-gallery-portal>.arc-gallery-collection-tabs,.arc-gallery-portal>nav:has([data-arc-gallery-collection-tab]){padding:24px 20px 0}.arc-gallery-tools{padding:20px;gap:8px}.arc-gallery-search{flex-basis:100%;max-width:none}.arc-gallery-year{flex:1}.arc-gallery-year select{width:100%}.arc-gallery-reset{padding-inline:10px}.arc-gallery-result-count{flex-basis:100%;margin:4px 0 0}.arc-gallery-portal>.arc-gallery-collection{padding:12px 20px}.arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-mobile-columns),minmax(0,1fr))}.arc-gallery-item:first-child{grid-column:auto!important;grid-row:auto!important}.arc-gallery-item:nth-child(5n+1){grid-row:auto!important}.arc-gallery-item img{aspect-ratio:var(--arc-gallery-ratio)!important}.arc-gallery-group-tabs,.arc-gallery-collection-tabs{gap:6px;margin-bottom:22px}.arc-gallery-group-tabs button,.arc-gallery-collection-tabs button,[data-arc-gallery-collection-tab]{font-size:12px;padding:10px 14px}.arc-gallery-title{font-size:32px}.arc-gallery-description{font-size:14px;margin-bottom:22px}.arc-gallery-cover{aspect-ratio:4/3}.arc-gallery-empty-result{padding:24px;font-size:14px}.arc-gallery-teaser{min-height:360px;border-radius:14px;padding:28px}.arc-gallery-teaser .arc-gallery-title{font-size:40px}.arc-module-gallery[data-arc-gallery-simple="1"]{grid-template-columns:1fr}[data-arc-gallery-template="cinema"] .arc-gallery-portal-hero,[data-arc-gallery-template="portfolio"] .arc-gallery-portal-hero{min-height:65vh;padding:150px 22px 50px}[data-arc-gallery-template="editorial"] .arc-gallery-portal-hero,[data-arc-gallery-template="museum"] .arc-gallery-portal-hero,[data-arc-gallery-template="showcase"] .arc-gallery-portal-hero{min-height:0;padding:48px 22px;gap:30px}[data-arc-gallery-template="museum"] .arc-gallery-hero-media{border-width:8px}[data-arc-gallery-template="glass"] .arc-gallery-hero-copy{padding:24px}[data-arc-gallery-template="archive"] .arc-gallery-collection{display:block}[data-arc-gallery-template="archive"] .arc-gallery-group-tabs{position:static;flex-direction:row}[data-arc-gallery-template="archive"] .arc-gallery-group-tabs button{border-radius:999px;border-width:1px}[data-arc-gallery-template="panorama"] .arc-gallery-hero-media{aspect-ratio:16/7}[data-arc-gallery-template="panorama"] .arc-gallery-grid,[data-arc-gallery-template="journal"] .arc-gallery-grid,[data-arc-gallery-template="showcase"] .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-mobile-columns),minmax(0,1fr))}[data-arc-gallery-template="mosaic"] .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-mobile-columns),minmax(0,1fr))}[data-arc-gallery-template="mosaic"] .arc-gallery-item:nth-child(7n+1){grid-row:auto}[data-arc-gallery-template="mosaic"] .arc-gallery-item:nth-child(7n+1){grid-column:1/-1!important}[data-arc-gallery-template="showcase"] .arc-gallery-hero-copy{padding-bottom:0}[data-arc-gallery-template="museum"] .arc-gallery-grid,[data-arc-gallery-template="minimal"] .arc-gallery-grid{gap:24px}.arc-gallery-lightbox{inset:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.arc-gallery-lightbox-toolbar{padding:calc(10px + env(safe-area-inset-top)) 12px 10px;gap:8px}.arc-gallery-lightbox-actions{gap:4px}.arc-gallery-lightbox-count{font-size:11px}.arc-gallery-control{width:40px;height:44px;padding:9px;border-radius:10px}.arc-gallery-lightbox-viewport{padding:8px}.arc-gallery-lightbox-prev,.arc-gallery-lightbox-next{top:auto;bottom:12px}.arc-gallery-lightbox-prev{left:12px}.arc-gallery-lightbox-next{right:12px}.arc-gallery-lightbox-caption{padding:12px 16px calc(12px + env(safe-area-inset-bottom));max-height:25vh}.arc-gallery-lightbox-caption strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.arc-gallery-item img,.arc-gallery-group-tabs button,.arc-gallery-control,.arc-gallery-lightbox-image{transition:none!important}}

html[data-arc-builder-mode="edit"] .arc-module-gallery[data-arc-gallery-simple="1"]:empty{min-height:180px;border:1px dashed #739875;background:#eef2e8;place-content:center}html[data-arc-builder-mode="edit"] .arc-module-gallery[data-arc-gallery-simple="1"]:empty:before{content:"Galerie Direkt · Bilder in den Einstellungen hinzufügen";grid-column:1/-1;color:#203a2e;text-align:center;padding:30px;font-size:14px;line-height:1.7}

.arc-gallery-group-header h3{font-size:clamp(22px,3vw,34px);line-height:1.25;margin:0 0 12px}.arc-gallery-group-header>p{margin:0 0 24px;max-width:720px;line-height:1.65;opacity:.75}.arc-gallery-portal .arc-gallery-group-header h3{font-family:Georgia,serif;font-weight:400}.arc-gallery-portal .arc-gallery-collection>header>.arc-gallery-title{font-family:Georgia,serif;max-width:900px;margin-bottom:14px}.arc-gallery-kicker{display:none}.arc-gallery-count{font:inherit;font-size:11px;opacity:.65}.arc-gallery-teaser-copy>.arc-gallery-count{font-size:12px;letter-spacing:.08em;margin:14px 0 0}.arc-gallery-teaser-copy{max-width:850px}

.arc-gallery-tab-cover{width:28px!important;height:28px!important;min-width:28px;object-fit:cover;border-radius:50%;display:block;margin:0}.arc-gallery-search:has(input:disabled){opacity:.5}.arc-gallery-empty{max-width:1280px;margin:0 auto;padding:70px 28px;text-align:center;line-height:1.8}
.arc-gallery-portal-page.arc-header-original .site-header{background:#142b23!important;color:#f4f1e8}.arc-gallery-portal-page .arc-gallery-portal{margin-block:0!important}
.arc-module-gallery[data-arc-gallery-simple="1"][data-arc-gallery-ratio="1:1"]{--arc-gallery-simple-ratio:1/1}.arc-module-gallery[data-arc-gallery-simple="1"][data-arc-gallery-ratio="3:2"]{--arc-gallery-simple-ratio:3/2}.arc-module-gallery[data-arc-gallery-simple="1"][data-arc-gallery-ratio="16:9"]{--arc-gallery-simple-ratio:16/9}.arc-module-gallery[data-arc-gallery-simple="1"][data-arc-gallery-ratio="original"]{--arc-gallery-simple-ratio:auto}

@media(min-width:1025px){[data-arc-gallery-columns="1"] .arc-gallery-item:first-child,[data-arc-gallery-columns="1"] .arc-gallery-item:nth-child(7n+1){grid-column:1!important;grid-row:auto!important}}
@media(min-width:783px) and (max-width:1024px){[data-arc-gallery-tablet-columns="1"] .arc-gallery-item:first-child,[data-arc-gallery-tablet-columns="1"] .arc-gallery-item:nth-child(7n+1){grid-column:1!important;grid-row:auto!important}.arc-gallery-portal .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-tablet-columns),minmax(0,1fr))}}

.arc-gallery-lightbox.is-fullscreen{inset:0;width:100%;height:100dvh;max-width:none;max-height:100dvh;border-radius:0;border:0}

/* A single filter toolbar is shared by server rendering and the interactive gallery. */
.arc-gallery-tools{display:grid;grid-template-columns:minmax(240px,1fr) minmax(160px,190px) auto;gap:12px;align-items:center;padding-block:24px}
.arc-gallery-tools>.arc-gallery-search{grid-column:1;max-width:none;min-width:0;min-height:50px;border-radius:12px;transition:border-color .18s ease,box-shadow .18s ease}
.arc-gallery-tools>.arc-gallery-search:focus-within{border-color:var(--arc-gallery-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--arc-gallery-accent) 20%,transparent)}
.arc-gallery-tools>.arc-gallery-search input{min-height:48px;font-size:14px}
.arc-gallery-year,.arc-gallery-year-filter{position:relative;display:block;min-width:0;margin:0}
.arc-gallery-tools>.arc-gallery-year,.arc-gallery-tools>.arc-gallery-year-filter{grid-column:2}
.arc-gallery-year:after,.arc-gallery-year-filter:after{content:"";position:absolute;right:20px;top:calc(50% - 5px);width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);pointer-events:none;opacity:.65}
.arc-gallery-year select,.arc-gallery-year-filter select{appearance:none;width:100%;min-height:50px;padding:12px 42px 12px 18px;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:12px;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:1.5;cursor:pointer}
.arc-gallery-year option,.arc-gallery-year-filter option{color:var(--arc-gallery-forest);background:var(--arc-gallery-paper)}
.arc-gallery-tools>.arc-gallery-reset{grid-column:3;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;margin:0;padding:12px 16px;border-radius:12px;border:1px solid color-mix(in srgb,currentColor 14%,transparent);white-space:nowrap}
.arc-gallery-reset svg{width:16px;height:16px;flex:none}.arc-gallery-reset:disabled{opacity:.38;cursor:default}.arc-gallery-reset:not(:disabled):hover{background:color-mix(in srgb,currentColor 6%,transparent)}
.arc-gallery-tools>.arc-gallery-result-count{grid-column:1/-1;justify-self:end;margin:0;padding:0 2px;font-size:12px;line-height:1.6}
.arc-gallery-tools:not(:has(.arc-gallery-year:not([hidden]),.arc-gallery-year-filter:not([hidden]))){grid-template-columns:minmax(240px,1fr) auto}
.arc-gallery-tools:not(:has(.arc-gallery-year:not([hidden]),.arc-gallery-year-filter:not([hidden])))>.arc-gallery-reset{grid-column:2}
.arc-gallery-tools:not(:has(.arc-gallery-search)){grid-template-columns:minmax(160px,190px) auto minmax(0,1fr)}
.arc-gallery-tools:not(:has(.arc-gallery-search))>.arc-gallery-year,.arc-gallery-tools:not(:has(.arc-gallery-search))>.arc-gallery-year-filter{grid-column:1}
.arc-gallery-tools:not(:has(.arc-gallery-search))>.arc-gallery-reset{grid-column:2;justify-self:start}
.arc-gallery-tools:not(:has(.arc-gallery-search,.arc-gallery-year:not([hidden]),.arc-gallery-year-filter:not([hidden]))){display:block;text-align:right}
.arc-gallery-collection-heading{margin:0 0 30px;min-width:0}
.arc-gallery-collection-heading:has(.arc-gallery-collection-cover){display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:clamp(24px,4vw,56px);align-items:center}
.arc-gallery-collection-copy{min-width:0}.arc-gallery-collection-copy>.arc-gallery-description{margin:0}.arc-gallery-portal .arc-gallery-collection-copy>.arc-gallery-title{font-family:Georgia,serif;font-weight:400;margin-bottom:14px}
.arc-gallery-collection-cover{position:relative;overflow:hidden;aspect-ratio:3/2;border-radius:12px;background:color-mix(in srgb,currentColor 5%,transparent);margin:0;width:100%;min-width:0}
.arc-gallery-collection-cover>img.arc-gallery-cover{display:block;width:100%;height:100%!important;max-height:none;aspect-ratio:auto;object-fit:cover;border-radius:0;margin:0}
@media(max-width:782px){
 .arc-gallery-tools{grid-template-columns:minmax(0,1fr) auto;padding:20px;gap:10px}
 .arc-gallery-tools>.arc-gallery-search{grid-column:1/-1;max-width:none}
 .arc-gallery-tools>.arc-gallery-year,.arc-gallery-tools>.arc-gallery-year-filter{grid-column:1;min-width:0}
 .arc-gallery-tools>.arc-gallery-reset{grid-column:2;min-width:0;padding-inline:12px}
 .arc-gallery-tools>.arc-gallery-result-count{grid-column:1/-1;justify-self:start;margin:2px 0 0}
 .arc-gallery-tools:not(:has(.arc-gallery-year:not([hidden]),.arc-gallery-year-filter:not([hidden]))){grid-template-columns:minmax(0,1fr) auto}
 .arc-gallery-tools:not(:has(.arc-gallery-year:not([hidden]),.arc-gallery-year-filter:not([hidden])))>.arc-gallery-search{grid-column:1/-1;grid-row:1}
 .arc-gallery-tools:not(:has(.arc-gallery-year:not([hidden]),.arc-gallery-year-filter:not([hidden])))>.arc-gallery-reset{grid-column:2}
 .arc-gallery-tools:not(:has(.arc-gallery-search)){grid-template-columns:minmax(0,1fr) auto}
 .arc-gallery-tools:not(:has(.arc-gallery-search,.arc-gallery-year:not([hidden]),.arc-gallery-year-filter:not([hidden]))){display:block}
 .arc-gallery-collection-heading:has(.arc-gallery-collection-cover){grid-template-columns:minmax(0,1fr);gap:22px}
 .arc-gallery-collection-cover{order:-1;aspect-ratio:16/9;border-radius:10px}
}
@media(prefers-reduced-motion:reduce){.arc-gallery-tools>.arc-gallery-search{transition:none}}

.arc-gallery-tools>.arc-gallery-reset{line-height:1.4}
@media(max-width:782px){
 .arc-gallery-tools:has(.arc-gallery-search)>.arc-gallery-search{grid-column:1/-1;grid-row:1}
 .arc-gallery-tools:has(.arc-gallery-search)>.arc-gallery-year,.arc-gallery-tools:has(.arc-gallery-search)>.arc-gallery-year-filter{grid-row:2}
 .arc-gallery-tools:has(.arc-gallery-search)>.arc-gallery-reset{grid-row:2}
 .arc-gallery-tools:has(.arc-gallery-search):not(:has(.arc-gallery-year:not([hidden]),.arc-gallery-year-filter:not([hidden])))>.arc-gallery-result-count{grid-column:1;grid-row:2;align-self:center;margin:0}
}

.arc-gallery-preview-notice{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 20px;background:#eaf0df;border-bottom:1px solid #d3dec2;color:#243c2e;font:inherit;font-size:13px;line-height:1.5;text-align:center}
.arc-gallery-preview-notice strong{font-weight:700}.arc-gallery-preview-main{width:100%;min-width:0;margin:0}

/* Additional Premium compositions share the configured palette and device columns. */
.arc-gallery-portal .arc-gallery-hero-copy:before{color:color-mix(in srgb,var(--arc-gallery-accent) 60%,var(--arc-gallery-forest))}
.arc-gallery-portal[data-arc-gallery-template="cinema"] .arc-gallery-portal-hero-has-cover .arc-gallery-hero-copy:before,.arc-gallery-portal[data-arc-gallery-template="portfolio"] .arc-gallery-portal-hero-has-cover .arc-gallery-hero-copy:before{color:#fff;opacity:.8}
[data-arc-gallery-template="atlas"]{--arc-gallery-content:1440px}
[data-arc-gallery-template="atlas"] .arc-gallery-portal-hero{grid-template-columns:1fr 1.35fr;gap:clamp(30px,5vw,80px);min-height:570px;background:linear-gradient(90deg,color-mix(in srgb,var(--arc-gallery-forest) 5%,transparent) 1px,transparent 1px),linear-gradient(color-mix(in srgb,var(--arc-gallery-forest) 5%,transparent) 1px,transparent 1px);background-size:56px 56px}
[data-arc-gallery-template="atlas"] .arc-gallery-hero-media{aspect-ratio:6/5;border-radius:4px;outline:1px solid color-mix(in srgb,var(--arc-gallery-forest) 25%,transparent);outline-offset:10px}
[data-arc-gallery-template="atlas"] .arc-gallery-grid{gap:24px}
[data-arc-gallery-template="atlas"] .arc-gallery-item{padding:10px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:3px;background:var(--arc-gallery-paper);box-shadow:0 12px 28px color-mix(in srgb,var(--arc-gallery-forest) 8%,transparent)}
[data-arc-gallery-template="salon"]{--arc-gallery-content:1180px}
[data-arc-gallery-template="salon"] .arc-gallery-portal-hero{display:flex;flex-direction:column;text-align:center;min-height:540px;gap:42px;padding-block:72px;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--arc-gallery-accent) 12%,transparent),transparent 70%)}
[data-arc-gallery-template="salon"] .arc-gallery-hero-copy{max-width:900px}
[data-arc-gallery-template="salon"] .arc-gallery-hero-copy p{margin-inline:auto}
[data-arc-gallery-template="salon"] .arc-gallery-hero-media{max-width:820px;aspect-ratio:16/9;border-radius:50% 50% 8px 8px / 65% 65% 8px 8px;border:10px solid var(--arc-gallery-paper);outline:1px solid var(--arc-gallery-accent);outline-offset:8px}
[data-arc-gallery-template="salon"] .arc-gallery-grid{gap:32px}
[data-arc-gallery-template="salon"] .arc-gallery-item{padding:14px;background:transparent;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:0}
[data-arc-gallery-template="salon"] .arc-gallery-item figcaption{font-family:Georgia,serif;text-align:center;padding:18px 4px 4px}
[data-arc-gallery-template="folio"] .arc-gallery-portal-hero{grid-template-columns:1.35fr 1fr;align-items:start;gap:54px;min-height:520px;padding-block:72px;border-bottom:3px solid var(--arc-gallery-forest)}
[data-arc-gallery-template="folio"] .arc-gallery-portal-hero h1{font-family:inherit;font-weight:600;letter-spacing:-.06em;font-size:clamp(58px,7vw,110px)}
[data-arc-gallery-template="folio"] .arc-gallery-hero-media{aspect-ratio:4/5;border-radius:0;box-shadow:18px 18px 0 color-mix(in srgb,var(--arc-gallery-accent) 20%,var(--arc-gallery-paper))}
[data-arc-gallery-template="folio"] .arc-gallery-collection-heading{padding-block:16px;border-bottom:1px solid color-mix(in srgb,currentColor 20%,transparent)}
[data-arc-gallery-template="folio"] .arc-gallery-grid{gap:32px}
[data-arc-gallery-template="folio"] .arc-gallery-item{background:none;border-radius:0}
[data-arc-gallery-template="folio"] .arc-gallery-item figcaption{padding:16px 0;border-bottom:1px solid color-mix(in srgb,currentColor 20%,transparent)}
[data-arc-gallery-template="nocturne"]{--arc-gallery-content:1440px}
[data-arc-gallery-template="nocturne"] .arc-gallery-portal-hero{grid-template-columns:1fr;gap:42px;min-height:460px;padding-block:72px;background:radial-gradient(ellipse at 80% 0,color-mix(in srgb,var(--arc-gallery-accent) 14%,transparent),transparent 65%)}
[data-arc-gallery-template="nocturne"] .arc-gallery-hero-copy{max-width:1050px}
[data-arc-gallery-template="nocturne"] .arc-gallery-portal-hero h1{font-size:clamp(52px,7.2vw,110px)}
[data-arc-gallery-template="nocturne"] .arc-gallery-hero-media{aspect-ratio:21/9;border-radius:12px;box-shadow:0 28px 60px color-mix(in srgb,var(--arc-gallery-forest) 10%,transparent)}
[data-arc-gallery-template="nocturne"] .arc-gallery-grid{gap:12px}
[data-arc-gallery-template="nocturne"] .arc-gallery-item{border-radius:4px;border:1px solid color-mix(in srgb,currentColor 15%,transparent)}
[data-arc-gallery-template="nocturne"] .arc-gallery-group-tabs button{border-radius:8px;letter-spacing:.04em}
[data-arc-gallery-template="botanical"] .arc-gallery-portal-hero{grid-template-columns:1fr 1fr;gap:64px;min-height:560px;background:radial-gradient(ellipse at 90% 35%,color-mix(in srgb,var(--arc-gallery-accent) 18%,transparent),transparent 55%)}
[data-arc-gallery-template="botanical"] .arc-gallery-hero-media{aspect-ratio:5/6;border-radius:46% 46% 8% 8% / 40% 40% 8% 8%;border:8px solid color-mix(in srgb,var(--arc-gallery-accent) 14%,var(--arc-gallery-paper))}
[data-arc-gallery-template="botanical"] .arc-gallery-grid{gap:24px}
[data-arc-gallery-template="botanical"] .arc-gallery-item{border-radius:24px 24px 6px 6px;background:color-mix(in srgb,currentColor 4%,transparent)}
[data-arc-gallery-template="botanical"] .arc-gallery-collection-tabs button{border-radius:18px 18px 4px 4px}
[data-arc-gallery-template="courtyard"] .arc-gallery-portal-hero{grid-template-columns:1.15fr 1fr;min-height:580px;gap:56px;background:linear-gradient(135deg,color-mix(in srgb,var(--arc-gallery-accent) 9%,transparent),transparent 65%)}
[data-arc-gallery-template="courtyard"] .arc-gallery-hero-media{aspect-ratio:4/5;border-radius:50% 50% 0 0 / 40% 40% 0 0;padding:9px;background:color-mix(in srgb,var(--arc-gallery-accent) 24%,var(--arc-gallery-paper));outline:1px solid var(--arc-gallery-accent);outline-offset:8px}
[data-arc-gallery-template="courtyard"] .arc-gallery-hero-media img{border-radius:inherit}
[data-arc-gallery-template="courtyard"] .arc-gallery-grid{gap:24px}
[data-arc-gallery-template="courtyard"] .arc-gallery-item{padding:8px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:8px;background:transparent}
[data-arc-gallery-template="courtyard"] .arc-gallery-group-tabs button{border-radius:4px;border-width:1px 1px 3px}
[data-arc-gallery-template="timeline"] .arc-gallery-portal-hero{grid-template-columns:1.4fr 1fr;gap:44px;min-height:430px;padding-block:60px}
[data-arc-gallery-template="timeline"] .arc-gallery-hero-media{aspect-ratio:3/2;border-radius:4px;border-bottom:6px solid var(--arc-gallery-accent)}
[data-arc-gallery-template="timeline"] .arc-gallery-collection{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px 36px}
[data-arc-gallery-template="timeline"] .arc-gallery-collection-heading{grid-column:1/-1}
[data-arc-gallery-template="timeline"] .arc-gallery-group-tabs{grid-column:1;grid-row:2;position:sticky;top:130px;align-self:start;display:flex;flex-direction:column;padding-left:18px;border-left:2px solid color-mix(in srgb,currentColor 20%,transparent)}
[data-arc-gallery-template="timeline"] .arc-gallery-group-tabs button{justify-content:start;border-radius:4px;position:relative}
[data-arc-gallery-template="timeline"] .arc-gallery-group-tabs button:before{content:"";position:absolute;left:-25px;top:calc(50% - 5px);width:10px;height:10px;background:var(--arc-gallery-accent);border:2px solid var(--arc-gallery-paper);border-radius:50%}
[data-arc-gallery-template="timeline"] .arc-gallery-group{grid-column:2;grid-row:2;min-width:0}
[data-arc-gallery-template="timeline"] .arc-gallery-item{border-radius:6px}
[data-arc-gallery-template="contact-sheet"]{--arc-gallery-content:1440px}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-portal-hero{grid-template-columns:1fr;min-height:330px;padding-block:56px;gap:36px;border-bottom:1px solid currentColor}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-hero-copy{max-width:1050px}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-portal-hero h1{font-family:inherit;font-weight:600;letter-spacing:-.055em;font-size:clamp(48px,5.8vw,88px)}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-hero-copy:before{font-family:monospace;letter-spacing:.12em}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-hero-media{aspect-ratio:24/7;border-radius:0;border-block:8px solid color-mix(in srgb,var(--arc-gallery-forest) 18%,var(--arc-gallery-paper))}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-grid{gap:12px}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-item{padding:8px;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:0;background:color-mix(in srgb,currentColor 4%,var(--arc-gallery-paper))}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-item figcaption{font-family:monospace;font-size:12px;padding:12px 2px 4px}
[data-arc-gallery-template="contact-sheet"] .arc-gallery-group-tabs button{border-radius:2px;font-family:monospace}
@media(max-width:1024px){[data-arc-gallery-template="timeline"] .arc-gallery-collection{grid-template-columns:150px minmax(0,1fr);gap:24px}}
@media(max-width:782px){
 .arc-gallery-portal[data-arc-gallery-template="atlas"] .arc-gallery-portal-hero,.arc-gallery-portal[data-arc-gallery-template="salon"] .arc-gallery-portal-hero,.arc-gallery-portal[data-arc-gallery-template="folio"] .arc-gallery-portal-hero,.arc-gallery-portal[data-arc-gallery-template="nocturne"] .arc-gallery-portal-hero,.arc-gallery-portal[data-arc-gallery-template="botanical"] .arc-gallery-portal-hero,.arc-gallery-portal[data-arc-gallery-template="courtyard"] .arc-gallery-portal-hero,.arc-gallery-portal[data-arc-gallery-template="timeline"] .arc-gallery-portal-hero,.arc-gallery-portal[data-arc-gallery-template="contact-sheet"] .arc-gallery-portal-hero{min-height:0;padding:42px 22px;gap:28px}
 [data-arc-gallery-template="salon"] .arc-gallery-hero-media{border-width:6px;outline-offset:5px}
 [data-arc-gallery-template="folio"] .arc-gallery-hero-media{box-shadow:8px 8px 0 color-mix(in srgb,var(--arc-gallery-accent) 20%,var(--arc-gallery-paper))}
 [data-arc-gallery-template="nocturne"] .arc-gallery-hero-media,[data-arc-gallery-template="contact-sheet"] .arc-gallery-hero-media{aspect-ratio:16/9}
 [data-arc-gallery-template="botanical"] .arc-gallery-hero-media,[data-arc-gallery-template="courtyard"] .arc-gallery-hero-media{aspect-ratio:4/5;max-height:440px}
 [data-arc-gallery-template="salon"] .arc-gallery-grid,[data-arc-gallery-template="folio"] .arc-gallery-grid{gap:20px}
 [data-arc-gallery-template="timeline"] .arc-gallery-collection{display:block}
 [data-arc-gallery-template="timeline"] .arc-gallery-group-tabs{position:static;flex-direction:row;border-left:0;border-bottom:1px solid color-mix(in srgb,currentColor 20%,transparent);padding:0 0 16px}
 [data-arc-gallery-template="timeline"] .arc-gallery-group-tabs button{justify-content:center}
 [data-arc-gallery-template="timeline"] .arc-gallery-group-tabs button:before{display:none}
}
/* An unselected page cover stays a compact text introduction in every preset. */
.arc-gallery-portal .arc-gallery-portal-hero.arc-gallery-portal-hero-no-cover{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;justify-items:start;min-height:0;height:auto;gap:0;padding-block:clamp(52px,6vw,88px);color:inherit}
.arc-gallery-portal .arc-gallery-portal-hero-no-cover .arc-gallery-hero-copy{width:100%;min-width:0;max-width:960px}
.arc-gallery-portal .arc-gallery-portal-hero-no-cover:after{display:none}
.arc-gallery-portal[data-arc-gallery-template="museum"] .arc-gallery-portal-hero-no-cover,.arc-gallery-portal[data-arc-gallery-template="portfolio"] .arc-gallery-portal-hero-no-cover,.arc-gallery-portal[data-arc-gallery-template="salon"] .arc-gallery-portal-hero-no-cover{justify-items:center}
.arc-gallery-portal[data-arc-gallery-template="showcase"] .arc-gallery-portal-hero-no-cover .arc-gallery-hero-copy{padding-bottom:0}
@media(max-width:782px){.arc-gallery-portal .arc-gallery-portal-hero.arc-gallery-portal-hero-no-cover{padding:42px 22px}}

/* Glass uses the centered, full-width panel shown in its layout sketch. */
.arc-gallery-portal[data-arc-gallery-template="glass"] .arc-gallery-portal-hero{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:32px}
.arc-gallery-portal[data-arc-gallery-template="glass"] .arc-gallery-hero-copy{width:100%;min-width:0;max-width:1180px}
.arc-gallery-portal[data-arc-gallery-template="glass"] .arc-gallery-hero-copy p{margin-inline:auto}
.arc-gallery-portal[data-arc-gallery-template="glass"] .arc-gallery-hero-media{max-width:1180px;aspect-ratio:21/9}
.arc-gallery-portal[data-arc-gallery-template="glass"] .arc-gallery-portal-hero-no-cover{gap:0}

/* Explicit header choices override composition only; template typography and palette remain. */
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])){display:grid;grid-template-columns:minmax(0,1fr);align-items:center;justify-items:stretch;gap:36px;min-height:0;height:auto;padding-block:clamp(52px,6vw,88px);color:inherit;isolation:isolate}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])):after{display:none}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])) .arc-gallery-hero-copy{width:100%;min-width:0;max-width:1180px;grid-column:1;grid-row:1;justify-self:center}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])) .arc-gallery-hero-copy:before{color:color-mix(in srgb,var(--arc-gallery-accent) 60%,var(--arc-gallery-forest));opacity:1}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])) h1{max-width:none}
.arc-gallery-portal[data-arc-gallery-template="showcase"] .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])) .arc-gallery-hero-copy{padding-bottom:0}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])) .arc-gallery-hero-media{position:relative;inset:auto;z-index:auto;grid-column:1;grid-row:2;justify-self:center;width:100%;height:auto;max-width:1180px;max-height:none;aspect-ratio:21/9;min-width:0}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover:is([data-arc-gallery-header-layout="split-left"],[data-arc-gallery-header-layout="split-right"]){grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,4vw,60px)}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover:is([data-arc-gallery-header-layout="split-left"],[data-arc-gallery-header-layout="split-right"]) .arc-gallery-hero-media{grid-row:1;aspect-ratio:4/3;max-height:620px}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="split-left"] .arc-gallery-hero-media{grid-column:2}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="split-right"] .arc-gallery-hero-copy{grid-column:2}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="media-first"] .arc-gallery-hero-media{grid-row:1}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="media-first"] .arc-gallery-hero-copy{grid-row:2}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"]{min-height:580px;gap:0;color:#fff}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"] .arc-gallery-hero-copy{max-width:960px;padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"] .arc-gallery-hero-copy:before{color:#fff;opacity:.8}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"] .arc-gallery-hero-media{position:absolute;inset:0;z-index:-2;grid-area:auto;justify-self:stretch;align-self:stretch;width:100%;height:100%;max-width:none;aspect-ratio:auto;padding:0;border:0;border-radius:0;outline:0;box-shadow:none}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"] .arc-gallery-hero-media img{border-radius:0}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"] .arc-gallery-hero-media:after{display:none}
.arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"]:after{content:"";display:block;position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,rgba(4,19,14,.86),rgba(4,19,14,.42))}
.arc-gallery-portal .arc-gallery-portal-hero-no-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])){gap:0}

/* Alignment is independent of composition, including the text-only header. */
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="left"]{text-align:left;justify-items:start;align-items:center;justify-content:flex-start}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="center"]{text-align:center;justify-items:center;align-items:center;justify-content:center}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="right"]{text-align:right;justify-items:end;align-items:center;justify-content:flex-end}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="left"] .arc-gallery-hero-copy{justify-self:start;align-self:auto}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="center"] .arc-gallery-hero-copy{justify-self:center;align-self:auto}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="right"] .arc-gallery-hero-copy{justify-self:end;align-self:auto}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align]:not([data-arc-gallery-header-align="template"]) h1{max-width:none}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="left"] .arc-gallery-hero-copy p{margin-inline:0 auto}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="center"] .arc-gallery-hero-copy p{margin-inline:auto}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-header-align="right"] .arc-gallery-hero-copy p{margin-inline:auto 0}
.arc-gallery-portal:is([data-arc-gallery-template="museum"],[data-arc-gallery-template="salon"]) .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="template"][data-arc-gallery-header-align="left"]{align-items:flex-start}
.arc-gallery-portal:is([data-arc-gallery-template="museum"],[data-arc-gallery-template="salon"]) .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="template"][data-arc-gallery-header-align="right"]{align-items:flex-end}
@media(max-width:782px){
 .arc-gallery-portal[data-arc-gallery-template="glass"] .arc-gallery-hero-copy{padding:24px}
 .arc-gallery-portal[data-arc-gallery-template="glass"] .arc-gallery-hero-media{aspect-ratio:16/9}
 .arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])){padding:42px 22px;gap:28px}
 .arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])) .arc-gallery-hero-copy{grid-column:1;grid-row:1}
 .arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])) .arc-gallery-hero-media{grid-column:1;grid-row:2;aspect-ratio:16/9;max-height:420px}
 .arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="media-first"] .arc-gallery-hero-media{grid-row:1}
 .arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="media-first"] .arc-gallery-hero-copy{grid-row:2}
 .arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"]{min-height:460px}
 .arc-gallery-portal .arc-gallery-portal-hero-has-cover[data-arc-gallery-header-layout="background"] .arc-gallery-hero-media{grid-area:auto;aspect-ratio:auto;max-height:none}
 .arc-gallery-portal .arc-gallery-portal-hero-no-cover[data-arc-gallery-header-layout]:where(:not([data-arc-gallery-header-layout="template"])){gap:0}
}

/* A selected photo layout takes precedence over the page preset's photo geometry.
   "template" keeps its original composition, frames, spacing and image formats. */
.arc-gallery-portal[data-arc-gallery-image-layout]:where(:not([data-arc-gallery-image-layout="template"])) .arc-gallery-collection .arc-gallery-grid{display:grid;grid-template-columns:repeat(var(--arc-gallery-columns),minmax(0,1fr));grid-auto-flow:row;grid-auto-rows:auto;align-items:start;gap:var(--arc-gallery-gap);min-width:0}
.arc-gallery-portal[data-arc-gallery-image-layout]:where(:not([data-arc-gallery-image-layout="template"])) .arc-gallery-grid>.arc-gallery-item{grid-column:auto!important;grid-row:auto!important;min-width:0;height:auto}
.arc-gallery-portal[data-arc-gallery-image-layout]:where(:not([data-arc-gallery-image-layout="template"])) .arc-gallery-grid>.arc-gallery-item .arc-gallery-open{height:auto;min-height:0}
.arc-gallery-portal[data-arc-gallery-image-layout]:where(:not([data-arc-gallery-image-layout="template"])) .arc-gallery-grid>.arc-gallery-item img{height:auto!important;min-height:0;aspect-ratio:var(--arc-gallery-ratio)!important;object-fit:cover}
.arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection .arc-gallery-grid{grid-auto-flow:dense;grid-auto-rows:clamp(140px,15vw,220px);align-items:stretch}
.arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-grid>.arc-gallery-item{display:flex;flex-direction:column;height:100%}
.arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-grid>.arc-gallery-item .arc-gallery-open{flex:1;min-height:0}
.arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-grid>.arc-gallery-item img{height:100%!important;aspect-ratio:auto!important}
.arc-gallery-portal[data-arc-gallery-image-layout="masonry"] .arc-gallery-grid>.arc-gallery-item:nth-child(6n+1){grid-row:span 2!important}
.arc-gallery-portal[data-arc-gallery-image-layout="editorial"] .arc-gallery-grid>.arc-gallery-item:first-child{grid-column:span 2!important;grid-row:span 2!important}
.arc-gallery-portal[data-arc-gallery-image-layout="panorama"] .arc-gallery-grid>.arc-gallery-item img{aspect-ratio:16/9!important}
.arc-gallery-portal[data-arc-gallery-image-layout="panorama"] .arc-gallery-grid>.arc-gallery-item:first-child{grid-column:1/-1!important}
.arc-gallery-portal[data-arc-gallery-image-layout="panorama"] .arc-gallery-grid>.arc-gallery-item:first-child img{aspect-ratio:21/9!important}
.arc-gallery-portal[data-arc-gallery-image-layout="square"] .arc-gallery-grid>.arc-gallery-item img{aspect-ratio:1/1!important}
.arc-gallery-portal[data-arc-gallery-image-layout="portrait"] .arc-gallery-grid>.arc-gallery-item img{aspect-ratio:3/4!important}
.arc-gallery-portal[data-arc-gallery-image-layout="filmstrip"] .arc-gallery-collection .arc-gallery-grid{display:flex;align-items:start;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:var(--arc-gallery-accent) transparent}
.arc-gallery-portal[data-arc-gallery-image-layout="filmstrip"] .arc-gallery-grid>.arc-gallery-item{flex:0 0 clamp(220px,32%,420px);scroll-snap-align:start;scroll-snap-stop:normal}
.arc-gallery-portal[data-arc-gallery-image-layout="filmstrip"] .arc-gallery-grid>.arc-gallery-item img{aspect-ratio:4/3!important}
.arc-gallery-portal[data-arc-gallery-image-layout="contact"] .arc-gallery-collection .arc-gallery-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.arc-gallery-portal[data-arc-gallery-image-layout="contact"] .arc-gallery-grid>.arc-gallery-item img{aspect-ratio:3/2!important}
@media(min-width:1025px){
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-columns="1"] .arc-gallery-grid{grid-auto-rows:auto}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-columns="1"] .arc-gallery-grid>.arc-gallery-item{grid-column:auto!important;grid-row:auto!important;height:auto}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-columns="1"] .arc-gallery-item img{height:auto!important;aspect-ratio:var(--arc-gallery-ratio)!important}
}
@media(min-width:783px) and (max-width:1024px){
 .arc-gallery-portal[data-arc-gallery-image-layout]:where(:not([data-arc-gallery-image-layout="template"])) .arc-gallery-collection .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-tablet-columns),minmax(0,1fr))}
 .arc-gallery-portal[data-arc-gallery-image-layout="contact"] .arc-gallery-collection .arc-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-tablet-columns="1"] .arc-gallery-grid{grid-auto-rows:auto}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-tablet-columns="1"] .arc-gallery-grid>.arc-gallery-item{grid-column:auto!important;grid-row:auto!important;height:auto}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-tablet-columns="1"] .arc-gallery-item img{height:auto!important;aspect-ratio:var(--arc-gallery-ratio)!important}
}
@media(max-width:782px){
 .arc-gallery-portal[data-arc-gallery-image-layout]:where(:not([data-arc-gallery-image-layout="template"])) .arc-gallery-collection .arc-gallery-grid{grid-template-columns:repeat(var(--arc-gallery-mobile-columns),minmax(0,1fr))}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection .arc-gallery-grid{grid-auto-rows:clamp(100px,35vw,180px)}
 .arc-gallery-portal[data-arc-gallery-image-layout="contact"] .arc-gallery-collection .arc-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .arc-gallery-portal[data-arc-gallery-image-layout="filmstrip"] .arc-gallery-grid>.arc-gallery-item{flex-basis:82%}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-mobile-columns="1"] .arc-gallery-grid{grid-auto-rows:auto}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-mobile-columns="1"] .arc-gallery-grid>.arc-gallery-item{grid-column:auto!important;grid-row:auto!important;height:auto}
 .arc-gallery-portal:is([data-arc-gallery-image-layout="masonry"],[data-arc-gallery-image-layout="editorial"]) .arc-gallery-collection[data-arc-gallery-mobile-columns="1"] .arc-gallery-item img{height:auto!important;aspect-ratio:var(--arc-gallery-ratio)!important}
}

/* Header typography is optional and scoped to the selected portal template. */
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-title-font] .arc-gallery-hero-copy h1{font-family:var(--arc-gallery-title-font)}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-title-color] .arc-gallery-hero-copy h1{color:var(--arc-gallery-title-color)}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-title-size] .arc-gallery-hero-copy h1{font-size:var(--arc-gallery-title-size)!important}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-intro-font] .arc-gallery-hero-copy>p:not(.arc-gallery-kicker){font-family:var(--arc-gallery-intro-font)}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-intro-color] .arc-gallery-hero-copy>p:not(.arc-gallery-kicker){color:var(--arc-gallery-intro-color);opacity:1}
.arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-intro-size] .arc-gallery-hero-copy>p:not(.arc-gallery-kicker){font-size:var(--arc-gallery-intro-size)}
@media(max-width:1024px){
 .arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-title-size-tablet] .arc-gallery-hero-copy h1{font-size:var(--arc-gallery-title-size-tablet)!important}
 .arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-intro-size-tablet] .arc-gallery-hero-copy>p:not(.arc-gallery-kicker){font-size:var(--arc-gallery-intro-size-tablet)}
}
@media(max-width:782px){
 .arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-title-size-mobile] .arc-gallery-hero-copy h1{font-size:var(--arc-gallery-title-size-mobile)!important}
 .arc-gallery-portal .arc-gallery-portal-hero[data-arc-gallery-intro-size-mobile] .arc-gallery-hero-copy>p:not(.arc-gallery-kicker){font-size:var(--arc-gallery-intro-size-mobile)}
}
