/* Loaded only by the customizable gateway, including its Customizer preview. */
.og-page, .og-page * { box-sizing:border-box; }
.og-page {
    min-height:var(--og-page-height); display:flex; flex-direction:column;
    background:linear-gradient(var(--og-overlay),var(--og-overlay)),var(--og-image) var(--og-image-position) / var(--og-image-size) no-repeat var(--og-attachment) var(--og-page-bg);
}
.og-main { display:flex; flex:1; align-items:var(--og-vertical); justify-content:center; padding:var(--og-top) clamp(16px,4vw,48px) var(--og-bottom); }
.og-inner { width:min(100%,var(--og-width)); min-width:0; }
.og-heading { text-align:var(--og-heading-align); text-shadow:var(--og-heading-shadow); }
.og-heading h1 { font-family:var(--og-font); font-weight:var(--og-weight); font-size:var(--og-title-size); color:var(--og-title-color); line-height:1.1; margin:0; }
.og-heading h1:not(.screen-reader-text),.og-eyebrow,.og-intro { margin:0 0 1rem; }
.og-eyebrow { font-size:var(--og-eyebrow-size); color:var(--og-eyebrow-color); }
.og-intro { font-size:var(--og-intro-size); color:var(--og-intro-color); }
.og-intro p { margin:0; }
.og-primary { display:grid; justify-content:center; grid-template-columns:repeat(var(--og-columns),minmax(0,var(--og-box-width))); gap:var(--og-gap); }
.og-slot { min-width:0; }
.og-page .og-card {
    height:100%; transition:transform 180ms ease-out,box-shadow 180ms ease-out;
    position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column;
    justify-content:var(--og-flow); gap:1rem; min-width:0; min-height:var(--og-box-height); padding:var(--og-padding);
    text-align:var(--og-align); color:var(--og-text); text-decoration:none; overflow-wrap:anywhere;
    border:var(--og-border-width) solid var(--og-border); border-radius:var(--og-radius); background:var(--og-card-bg);
    box-shadow:var(--og-box-shadow); backdrop-filter:blur(var(--og-blur));
}
/* The parent theme clears shadow on every anchor with !important. Only portal cards own this exception. */
body.osm-portal-body .og-page .og-card { box-shadow:var(--og-box-shadow) !important; }
.og-page .og-accent-top { border-top:var(--og-accent-width) solid var(--og-accent); }
.og-page .og-accent-left { border-left:var(--og-accent-width) solid var(--og-accent); }
.og-card::before { content:""; position:absolute; z-index:-1; inset:0; pointer-events:none; background:var(--og-photo) center/cover no-repeat; opacity:var(--og-photo-opacity); }
.og-content { color:var(--og-text); flex:var(--og-content-grow) 1 auto; display:grid; align-content:center; gap:.65rem; opacity:var(--og-content-opacity); }
.og-mark { text-align:var(--og-logo-align); font-size:clamp(2rem,5vw,4rem); font-weight:750; line-height:1.16; }
.og-mark img { display:inline-block; width:var(--og-logo-width); max-width:100%; max-height:var(--og-logo-height); height:auto; object-fit:contain; vertical-align:middle; }
.og-title { font-size:var(--og-card-title-size); }
.og-description,.og-headline { font-size:var(--og-body-size); white-space:pre-line; }
.og-button { align-self:var(--og-button-align); display:inline-block; width:var(--og-button-width); max-width:100%; padding:.65em 1em; text-align:center;
    border-radius:var(--og-button-radius); background:var(--og-button-bg); color:var(--og-button-text); font-size:var(--og-button-size); font-weight:700; }
.og-card:is(:hover,:focus-visible) .og-button { background:var(--og-hover-bg); color:var(--og-hover-text); }
@media (hover:hover) and (pointer:fine) {
    body.osm-portal-body .og-slot:hover > .og-card { transform:translateY(var(--og-lift)); box-shadow:var(--og-hover-shadow) !important; }
}
body.osm-portal-body .og-page .og-card:focus-visible { transform:translateY(var(--og-lift)); box-shadow:var(--og-hover-shadow) !important; }
@media (prefers-reduced-motion:reduce) {
    body.osm-portal-body .og-page .og-slot > .og-card { transition:none; transform:none; }
}
.og-card:focus-visible { outline:3px solid Highlight; outline-offset:3px; }
.og-partner { display:flex; flex-wrap:wrap; gap:var(--og-gap); justify-content:var(--og-compact-align); margin-top:var(--og-compact-gap); }
.og-partner .og-slot { width:var(--og-compact-width); max-width:min(100%,var(--og-compact-max)); }
.og-partner .og-card { min-height:0; padding:0; border-radius:var(--og-button-radius); }
.og-partner .og-button { width:100%; }
.og-external { display:flex; justify-content:center; margin-top:clamp(20px,3vw,36px); }
.og-external-button { display:inline-flex; align-items:center; justify-content:center; max-width:100%; min-height:44px; padding:10px 18px;
    border-radius:12px; background:white; color:#18303a; box-shadow:0 3px 12px #0003; transition:transform 180ms ease-out,box-shadow 180ms ease-out; }
.og-external-button img { display:block; width:200px; max-width:100%; height:auto; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .og-external-button:hover { transform:translateY(-4px); box-shadow:0 9px 20px #0004; }
}
.og-external-button:focus-visible,.og-credit a:focus-visible { outline:3px solid Highlight; outline-offset:3px; }
.og-credit { margin-top:.25em; }
.og-footer .og-credit a { color:inherit; text-decoration:underline; text-underline-offset:.18em; }
.og-footer { text-align:center; padding:var(--og-footer-padding) 1rem; color:var(--og-footer-color); background:var(--og-footer-bg); }
@media(max-width:850px) { .og-primary { grid-template-columns:repeat(var(--og-tablet-columns),minmax(0,var(--og-box-width))); } }
@media(max-width:640px) {
    .og-primary { grid-template-columns:minmax(0,var(--og-box-width)); }
    .og-heading h1 { font-size:var(--og-mobile-size); }
    .og-partner .og-card { max-width:100%; }
}

