:root { --smash-radius: 1rem; }
body.smash-site { font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.bg-body-smash { background-color: var(--bs-body-bg); }
.bg-smash-header-light { background-color: #D4EBFE !important; }

/* Fixed and custom block colors receive a semantic surface class from Theme.php.
   This also covers colors selected from the Site Colors palette, which render as
   inline background colors and therefore do not carry a named background class. */
.smash-surface-light {
    --smash-surface-text: #212529;
    --smash-surface-muted: #495057;
    --smash-surface-link: #225f8b;
    color: var(--smash-surface-text) !important;
}
.smash-surface-dark {
    --smash-surface-text: #ffffff;
    --smash-surface-muted: rgba(248,249,250,.78);
    --smash-surface-link: #ffffff;
    color: var(--smash-surface-text) !important;
}
:is(.smash-surface-light,.smash-surface-dark).smash-rich-text,
:is(.smash-surface-light,.smash-surface-dark) .smash-rich-text,
:is(.smash-surface-light,.smash-surface-dark) .smash-block-intro,
:is(.smash-surface-light,.smash-surface-dark) .smash-block-intro-body {
    color: var(--smash-surface-text) !important;
}
:is(.smash-surface-light,.smash-surface-dark).smash-rich-text > :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,table),
:is(.smash-surface-light,.smash-surface-dark).smash-rich-text > div :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,td,th),
:is(.smash-surface-light,.smash-surface-dark) .smash-rich-text :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,td,th),
:is(.smash-surface-light,.smash-surface-dark) .smash-block-intro :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,td,th),
:is(.smash-surface-light,.smash-surface-dark) .smash-block-intro-body :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,td,th) {
    color: var(--smash-surface-text) !important;
}
:is(.smash-surface-light,.smash-surface-dark) .smash-block-intro :is(.text-muted,.text-body-secondary,small),
:is(.smash-surface-light,.smash-surface-dark):is(.smash-image-block,.smash-video-block) figcaption {
    color: var(--smash-surface-muted) !important;
}
:is(.smash-surface-light,.smash-surface-dark).smash-rich-text a:not(.btn),
:is(.smash-surface-light,.smash-surface-dark) .smash-rich-text a:not(.btn),
:is(.smash-surface-light,.smash-surface-dark) .smash-block-intro a:not(.btn),
:is(.smash-surface-light,.smash-surface-dark):is(.smash-image-block,.smash-video-block) figcaption a:not(.btn) {
    color: var(--smash-surface-link) !important;
}
.smash-surface-light.smash-navigation-block .nav-link:not(.active):not(:hover):not(:focus-visible):not(.show) {
    color: #212529 !important;
}
.smash-surface-dark.smash-navigation-block .nav-link:not(.active):not(:hover):not(:focus-visible):not(.show) {
    color: #ffffff !important;
}

/* Keep Header Light Blue content readable when the site itself uses dark mode.
   Bootstrap's dark color variables otherwise override the inherited text color. */
.bg-smash-header-light {
    --smash-light-surface-text: #212529;
    --smash-light-surface-muted: #495057;
    --smash-light-surface-link: #225f8b;
}
.bg-smash-header-light.smash-rich-text,
.bg-smash-header-light .smash-rich-text,
.bg-smash-header-light .smash-block-intro,
.bg-smash-header-light .smash-block-intro-body {
    color: var(--smash-light-surface-text) !important;
}
.bg-smash-header-light.smash-rich-text > :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,table),
.bg-smash-header-light.smash-rich-text > div :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,td,th),
.bg-smash-header-light .smash-rich-text :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,td,th),
.bg-smash-header-light .smash-block-intro :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,td,th),
.bg-smash-header-light .smash-block-intro-body :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,td,th) {
    color: var(--smash-light-surface-text) !important;
}
.bg-smash-header-light .smash-block-intro :is(.text-muted,.text-body-secondary,small),
.bg-smash-header-light:is(.smash-image-block,.smash-video-block) figcaption {
    color: var(--smash-light-surface-muted) !important;
}
.bg-smash-header-light.smash-rich-text a:not(.btn),
.bg-smash-header-light .smash-rich-text a:not(.btn),
.bg-smash-header-light .smash-block-intro a:not(.btn),
.bg-smash-header-light:is(.smash-image-block,.smash-video-block) figcaption a:not(.btn) {
    color: var(--smash-light-surface-link) !important;
}
.bg-smash-header-light.smash-navigation-block .nav-link:not(.active):not(:hover):not(:focus-visible):not(.show) {
    color: var(--smash-light-surface-text) !important;
}
.smash-logo { max-height: 56px; width: auto; }
.smash-header {
    --smash-nav-text: #212529;
    --smash-nav-hover-bg: #0D6EFD;
    --smash-nav-hover-text: #ffffff;
    --smash-nav-active-bg: #0D6EFD;
    --smash-nav-active-text: #ffffff;
    --smash-nav-dropdown-bg: #ffffff;
    --smash-nav-dropdown-text: #212529;
    --smash-nav-dropdown-hover-bg: #0D6EFD;
    --smash-nav-dropdown-hover-text: #ffffff;
    --smash-nav-radius: 8px;
    --smash-nav-gap: 4px;
    --smash-nav-weight: 650;
}
[data-bs-theme="dark"] .smash-header {
    /* The editable light-theme value is often dark. Use an accessible normal
       link color when the header surface changes to dark mode. */
    --smash-nav-text: #f8f9fa !important;
}
.smash-header .smash-container-surface.smash-surface-light {
    --smash-nav-text: #212529 !important;
}
.smash-header .smash-container-surface.smash-surface-dark {
    --smash-nav-text: #f8f9fa !important;
}
.smash-header .navbar-nav { gap: var(--smash-nav-gap); }
.smash-header-mobile .navbar-brand { margin-right: 0; min-width: 0; }
.smash-header-mobile .navbar-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smash-header .navbar-toggler { flex-shrink: 0; }
/* The header uses its own mobile/desktop breakpoint. Do not use Bootstrap's
   navbar-expand-lg here: that rule forces .navbar-collapse to display on
   desktop and duplicates the navigation beside the selected header layout. */
.smash-header-mobile-nav { width: 100%; }
@media (min-width: 992px) {
    .smash-header .smash-header-mobile-nav { display: none !important; }

    /* Bootstrap keeps dropdowns static inside a collapsed-style navbar.
       This header uses a custom desktop layout, so force desktop menus out
       of document flow so opening one overlays the page instead of pushing
       the page content downward. */
    .smash-header { z-index: 1030; }
    .smash-header .smash-header-desktop .nav-item.dropdown,
    .smash-header .smash-header-center-grid .nav-item.dropdown {
        position: relative;
    }
    .smash-header .smash-header-desktop .navbar-nav .dropdown-menu,
    .smash-header .smash-header-center-grid .navbar-nav .dropdown-menu {
        position: absolute !important;
        z-index: 1080;
    }
}
.smash-header-desktop { min-width: 0; }
.smash-header-nav-fill { flex: 1 1 auto; min-width: 0; }
.smash-header-center-grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: max(1rem, calc(var(--smash-nav-gap) * 2));
    width: 100%;
    min-width: 0;
}
.smash-header-center-grid .smash-header-center-brand {
    justify-self: center;
    margin: 0;
}
.smash-header-nav-side {
    display: flex;
    align-items: center;
    min-width: 0;
}
.smash-header-nav-left { justify-content: flex-end; }
.smash-header-nav-right { justify-content: flex-start; }
.smash-header-nav-side .navbar-nav { min-width: 0; }
.smash-header .nav-link {
    color: var(--smash-nav-text) !important;
    font-weight: var(--smash-nav-weight);
    padding: .6rem 1rem;
    border: 0;
    border-radius: var(--smash-nav-radius);
    background: transparent;
    text-decoration: none;
}
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.cms-section .container, .cms-section .container-xxl { position: relative; }
.smash-hero { min-height: 520px; display: flex; align-items: center; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.smash-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.35), rgba(0,0,0,.15)); }
.smash-hero > .container, .smash-hero > .container-xxl { position: relative; z-index: 1; }
.smash-hero-card { max-width: 760px; }
.smash-card { border: 0; border-radius: var(--smash-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.smash-card:hover { transform: translateY(-4px); box-shadow: 0 1rem 2.4rem rgba(0,0,0,.18); }
.smash-card .card-img-top { aspect-ratio: 16/9; object-fit: cover; }
.smash-rich-text img { max-width: 100%; height: auto; border-radius: .75rem; }
.smash-image-text-img { width: 100%; border-radius: var(--smash-radius); object-fit: cover; }
.smash-footer a { text-decoration: none; }
.smash-footer a:hover { text-decoration: underline; }
.smash-footer-rich-text > :last-child { margin-bottom: 0; }
.smash-footer-rich-text img { max-width: 100%; height: auto; }
.smash-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: .15rem .35rem .15rem 0;
    border-radius: 50%;
    line-height: 1;
    vertical-align: middle;
    transition: transform .15s ease, opacity .15s ease;
}
.smash-footer-social-link svg { width: 1.45rem; height: 1.45rem; }
.smash-footer-social-link:hover,
.smash-footer-social-link:focus-visible { text-decoration: none; transform: translateY(-1px); opacity: .82; }
.smash-footer-social-link-facebook { color: #1877f2; }
.smash-footer-social-link-youtube { color: #ff0000; }
.smash-gallery-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--smash-radius); }
@media (max-width: 991.98px) { .smash-utility .navbar .container-fluid { justify-content: center !important; } .smash-hero { min-height: 420px; } }

/* Configurable header navigation states */
.smash-header .nav-link:focus,
.smash-header .nav-link:focus-visible,
.smash-header .nav-link:hover,
.smash-header .nav-link.show {
    background: var(--smash-nav-hover-bg);
    color: var(--smash-nav-hover-text) !important;
}
.smash-header .nav-link.active,
.smash-header .nav-link[aria-current="page"] {
    background: var(--smash-nav-active-bg);
    color: var(--smash-nav-active-text) !important;
}
.smash-header .nav-link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--smash-nav-hover-bg) 35%, transparent);
    outline-offset: 2px;
}
.smash-header .dropdown-menu {
    --bs-dropdown-bg: var(--smash-nav-dropdown-bg);
    --bs-dropdown-color: var(--smash-nav-dropdown-text);
    --bs-dropdown-link-color: var(--smash-nav-dropdown-text);
    --bs-dropdown-link-hover-color: var(--smash-nav-dropdown-hover-text);
    --bs-dropdown-link-hover-bg: var(--smash-nav-dropdown-hover-bg);
    --bs-dropdown-link-active-color: var(--smash-nav-dropdown-hover-text);
    --bs-dropdown-link-active-bg: var(--smash-nav-dropdown-hover-bg);
    border-radius: var(--smash-nav-radius);
    padding: .45rem;
}
.smash-header .dropdown-item {
    border-radius: max(2px, calc(var(--smash-nav-radius) - 3px));
}
.smash-header .dropdown-divider {
    border-color: color-mix(in srgb, var(--smash-nav-dropdown-text) 20%, transparent);
}

/* Bootstrap Layout Block */
.layout-block-intro {
    max-width: 920px;
}
.layout-column {
    min-height: 1px;
}
.layout-column > :last-child {
    margin-bottom: 0;
}
.smash-container-narrow {
    max-width: 920px;
}

/* Nested Bootstrap layout content */
.smash-layout-column {
    min-width: 0;
    height: 100%;
}
.smash-layout-column-content-height {
    height: auto;
}
.smash-layout-column-padding-height {
    height: auto;
    min-height: 0 !important;
}
.smash-layout-column > * + * {
    margin-top: 1rem;
}
.smash-column-block {
    width: 100%;
    padding: 1rem;
    border-radius: var(--smash-radius);
}
.smash-layout-column > .cms-section,
.smash-layout-column > section {
    width: 100%;
    max-width: none;
}
.smash-layout-column > .cms-section {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.smash-layout-column > .cms-section > .container,
.smash-layout-column > .cms-section > .container-xxl,
.smash-layout-column > section > .container,
.smash-layout-column > section > .container-xxl {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.smash-layout-column .smash-hero {
    min-height: 360px;
}
.smash-layout-column-background {
    min-height: 3rem;
    background-clip: padding-box;
}
.smash-column-bg-light { background-color: #f8f9fa; color: #212529; }
.smash-column-bg-header-light { background-color: #D4EBFE; color: #212529; }
.smash-column-bg-red { background-color: #6F42C1; color: #ffffff; }
.smash-column-bg-blue { background-color: #0D6EFD; color: #ffffff; }
.smash-column-bg-dark { background-color: #212529; color: #ffffff; }
.smash-layout-column-background.text-white a:not(.btn) { color: inherit; }
.smash-layout-column-background[data-smash-column-theme="light"] {
    --smash-column-content-color: #212529;
    --smash-column-muted-color: #495057;
    --smash-column-link-color: #225f8b;
    color: #212529;
}
.smash-layout-column-background[data-smash-column-theme="dark"] {
    --smash-column-content-color: #ffffff;
    --smash-column-muted-color: rgba(248,249,250,.78);
    --smash-column-link-color: #ffffff;
    color: #ffffff;
}
.smash-layout-column-background[data-smash-column-theme] > .smash-column-block {
    color: var(--smash-column-content-color) !important;
}
.smash-layout-column-background[data-smash-column-theme] > .smash-column-block > :is(h1,h2,h3,h4,h5,h6,p),
.smash-layout-column-background[data-smash-column-theme] > .smash-rich-text > div :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,td,th),
.smash-layout-column-background[data-smash-column-theme] .smash-block-intro :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,td,th) {
    color: var(--smash-column-content-color) !important;
}
.smash-layout-column-background[data-smash-column-theme] > :is(.smash-image-block,.smash-video-block) figcaption,
.smash-layout-column-background[data-smash-column-theme] .smash-block-intro :is(.text-muted,.text-body-secondary,small) {
    color: var(--smash-column-muted-color) !important;
}
.smash-layout-column-background[data-smash-column-theme] > .smash-rich-text a:not(.btn),
.smash-layout-column-background[data-smash-column-theme] .smash-block-intro a:not(.btn) {
    color: var(--smash-column-link-color) !important;
}
.smash-layout-column-background[data-smash-column-theme="light"] > .smash-navigation-block .nav-link:not(.active):not(:hover):not(:focus-visible):not(.show) {
    color: #212529 !important;
}
.smash-layout-column-background[data-smash-column-theme="dark"] > .smash-navigation-block .nav-link:not(.active):not(:hover):not(:focus-visible):not(.show) {
    color: #ffffff !important;
}

/* Image content block */
.smash-content-image {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
.smash-image-ratio-1x1,
.smash-image-ratio-4x3,
.smash-image-ratio-16x9,
.smash-image-ratio-21x9 {
    width: 100%;
}
.smash-image-ratio-1x1 { aspect-ratio: 1 / 1; }
.smash-image-ratio-4x3 { aspect-ratio: 4 / 3; }
.smash-image-ratio-16x9 { aspect-ratio: 16 / 9; }
.smash-image-ratio-21x9 { aspect-ratio: 21 / 9; }
.smash-image-fit-cover { object-fit: cover; }
.smash-image-fit-contain { object-fit: contain; }
.smash-image-fit-none { object-fit: none; }

/* Video content block */
.smash-video-block .ratio {
    width: 100%;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.12);
}
.smash-content-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.smash-video-block iframe {
    border: 0;
}
.smash-video-status {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: .65rem;
    width: auto;
    height: auto;
    max-width: calc(100% - 2rem);
    padding: .7rem .9rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(15,27,39,.88);
    color: #fff;
    font-size: .875rem;
    box-shadow: 0 .75rem 2rem rgba(0,0,0,.25);
    transform: translate(-50%,-50%);
    backdrop-filter: blur(8px);
}
.smash-video-status[hidden] { display: none; }
.smash-video-spinner {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: smash-video-spin .8s linear infinite;
}
.smash-video-spinner[hidden] { display: none; }
.smash-video-status .btn { flex: 0 0 auto; border-radius: 999px; }
@keyframes smash-video-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .smash-video-spinner { animation: none; }
}

/* Page-selectable navigation block */
.smash-nav-padding-compact { --smash-navigation-padding-y: .4rem; }
.smash-nav-padding-normal { --smash-navigation-padding-y: .65rem; }
.smash-nav-padding-roomy { --smash-navigation-padding-y: .9rem; }
.smash-nav-padding-extra { --smash-navigation-padding-y: 1.15rem; }
.smash-nav-font-small { --smash-navigation-font-size: .875rem; }
.smash-nav-font-normal { --smash-navigation-font-size: 1rem; }
.smash-nav-font-large { --smash-navigation-font-size: 1.125rem; }
.smash-nav-font-xlarge { --smash-navigation-font-size: 1.25rem; }
.smash-nav-main-transparent { --smash-navigation-main-bg: transparent; --smash-navigation-main-text: inherit; }
.smash-nav-main-red { --smash-navigation-main-bg: #6F42C1; --smash-navigation-main-text: #ffffff; }
.smash-nav-main-blue { --smash-navigation-main-bg: #0D6EFD; --smash-navigation-main-text: #ffffff; }
.smash-nav-main-header_light { --smash-navigation-main-bg: #D4EBFE; --smash-navigation-main-text: #212529; }
.smash-nav-main-white { --smash-navigation-main-bg: #ffffff; --smash-navigation-main-text: #212529; }
.smash-nav-main-light { --smash-navigation-main-bg: #F1F3F5; --smash-navigation-main-text: #212529; }
.smash-nav-main-dark { --smash-navigation-main-bg: #212529; --smash-navigation-main-text: #ffffff; }
.smash-nav-hover-transparent { --smash-navigation-hover-bg: transparent; --smash-navigation-hover-text: inherit; }
.smash-nav-hover-red { --smash-navigation-hover-bg: #6F42C1; --smash-navigation-hover-text: #ffffff; }
.smash-nav-hover-blue { --smash-navigation-hover-bg: #0D6EFD; --smash-navigation-hover-text: #ffffff; }
.smash-nav-hover-header_light { --smash-navigation-hover-bg: #D4EBFE; --smash-navigation-hover-text: #212529; }
.smash-nav-hover-white { --smash-navigation-hover-bg: #ffffff; --smash-navigation-hover-text: #212529; }
.smash-nav-hover-light { --smash-navigation-hover-bg: #F1F3F5; --smash-navigation-hover-text: #212529; }
.smash-nav-hover-dark { --smash-navigation-hover-bg: #212529; --smash-navigation-hover-text: #ffffff; }
.smash-nav-align-start { justify-content: flex-start; align-items: flex-start; }
.smash-nav-align-center { justify-content: center; align-items: center; }
.smash-nav-align-end { justify-content: flex-end; align-items: flex-end; }
.smash-nav-align-start .nav-link, .smash-nav-align-start .dropdown-item { text-align: left; }
.smash-nav-align-center .nav-link, .smash-nav-align-center .dropdown-item { text-align: center; }
.smash-nav-align-end .nav-link, .smash-nav-align-end .dropdown-item { text-align: right; }
.smash-nav-width-full nav,
.smash-nav-width-full .nav,
.smash-nav-width-full .nav-item,
.smash-nav-width-full .nav-link {
    width: 100%;
}
.smash-nav-width-full .nav-link {
    display: block;
}
.smash-nav-width-full .dropdown-menu {
    width: 100%;
    min-width: 100%;
}
.smash-navigation-block .nav-link {
    padding: var(--smash-navigation-padding-y, .65rem) .85rem;
    border-radius: .65rem;
    color: inherit;
    font-size: var(--smash-navigation-font-size, 1rem);
    line-height: 1.25;
    text-align: left;
}
.smash-navigation-block .nav-link:hover,
.smash-navigation-block .nav-link:focus-visible,
.smash-navigation-block .nav-link.active {
    color: #fff;
    background: #0D6EFD;
}
.smash-navigation-list .nav-link {
    border-bottom: 1px solid rgba(127,127,127,.2);
}
.smash-navigation-block .dropdown-item {
    padding-top: var(--smash-navigation-padding-y, .65rem);
    padding-bottom: var(--smash-navigation-padding-y, .65rem);
    font-size: var(--smash-navigation-font-size, 1rem);
    line-height: 1.25;
}
.smash-navigation-block .dropdown-menu {
    --bs-dropdown-link-active-bg: #0D6EFD;
}
.smash-navigation-block.smash-navigation-block .nav-link:not(.active):not(:hover):not(:focus-visible):not(.show),
.smash-navigation-block.smash-navigation-block .dropdown-item:not(.active):not(:hover):not(:focus) {
    background-color: var(--smash-navigation-main-bg, transparent);
    color: var(--smash-navigation-main-text, inherit) !important;
}
.smash-navigation-block.smash-navigation-block .nav-link:hover,
.smash-navigation-block.smash-navigation-block .nav-link:focus-visible,
.smash-navigation-block.smash-navigation-block .nav-link.active,
.smash-navigation-block.smash-navigation-block .nav-link.show,
.smash-navigation-block.smash-navigation-block .dropdown-item:hover,
.smash-navigation-block.smash-navigation-block .dropdown-item:focus,
.smash-navigation-block.smash-navigation-block .dropdown-item.active {
    background-color: var(--smash-navigation-hover-bg, #0D6EFD);
    color: var(--smash-navigation-hover-text, #ffffff) !important;
}

/* Optional square outer corners for any content block background. */
.cms-section.smash-block-square {
    border-radius: 0 !important;
}

/* Full-width contact form block */
.smash-contact-block,
.smash-contact-content,
.smash-contact-form {
    width: 100%;
    max-width: none;
}
.smash-layout-column > .smash-contact-block {
    padding: 1rem;
}
.smash-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.smash-block-intro-body > :last-child { margin-bottom: 0; }
.smash-block-intro-body img { max-width: 100%; height: auto; }
.smash-block-intro-body table { width: 100%; }

/* Facebook post, video, and Page embeds */
.smash-facebook-block,
.smash-facebook-align,
.smash-facebook-frame {
    width: 100%;
    min-width: 0;
}
.smash-facebook-frame {
    max-width: min(100%, var(--smash-facebook-width, 500px));
    height: min(var(--smash-facebook-height, 680px), 80vh);
    overflow: hidden;
    border-radius: .75rem;
    background: rgba(127,127,127,.08);
}
.smash-facebook-frame iframe {
    display: block;
    width: var(--smash-facebook-width, 500px);
    max-width: none;
    height: var(--smash-facebook-height, 680px);
    border: 0;
    background: transparent;
    transform-origin: top left;
}
@media (max-width: 420px) {
    .smash-facebook-frame {
        overflow-x: auto;
        border-radius: .5rem;
    }
}

/* Bootstrap content slider block */
.smash-slider-block,
.smash-content-slider {
    width: 100%;
    min-width: 0;
}
.smash-content-slider .carousel-inner {
    background: rgba(127,127,127,.08);
    box-shadow: 0 .65rem 1.8rem rgba(0,0,0,.14);
}
.smash-slider-slide {
    width: 100%;
    min-height: 1px;
}
.smash-slider-slide.text-only {
    display: flex;
    align-items: center;
    min-height: 260px;
}
.smash-slider-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.smash-slider-fixed-height,
.smash-slider-fixed-height .carousel-inner,
.smash-slider-fixed-height .carousel-item,
.smash-slider-fixed-height .smash-slider-slide {
    height: var(--smash-slider-height, 420px);
}
.smash-slider-fixed-height .smash-slider-slide {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
.smash-slider-fixed-height .smash-slider-slide.has-image .smash-slider-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
}
.smash-slider-fixed-height .smash-slider-slide.has-image.has-text .smash-slider-image {
    height: 0;
    flex: 1 1 auto;
}
.smash-slider-fixed-height .smash-slider-slide.has-text .smash-slider-copy {
    flex: 0 0 auto;
    max-height: 60%;
    overflow-y: auto;
}
.smash-slider-fixed-height .smash-slider-slide.text-only .smash-slider-copy {
    margin: auto 0;
    max-height: 100%;
}
.smash-slider-copy {
    width: 100%;
    padding: 1.25rem 3.5rem;
    color: inherit;
}
.smash-slider-copy h3 { margin-bottom: .65rem; }
.smash-slider-text { line-height: 1.55; }
.smash-slider-text > :last-child { margin-bottom: 0; }
.smash-slider-text img { max-width: 100%; height: auto; }
.smash-slider-has-indicators .smash-slider-copy { padding-bottom: 3rem; }
.smash-content-slider .carousel-control-prev,
.smash-content-slider .carousel-control-next {
    width: 3.25rem;
    opacity: .92;
}
.smash-content-slider .carousel-control-prev-icon,
.smash-content-slider .carousel-control-next-icon {
    width: 2.35rem;
    height: 2.35rem;
    padding: .45rem;
    border-radius: 999px;
    background-color: rgba(15,27,39,.82);
    background-size: 55% 55%;
    box-shadow: 0 .3rem .8rem rgba(0,0,0,.25);
}
.smash-content-slider .carousel-indicators [data-bs-target] {
    width: .7rem;
    height: .7rem;
    border: 0;
    border-radius: 999px;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(15,27,39,.45),0 .2rem .5rem rgba(0,0,0,.22);
}
@media (max-width: 560px) {
    .smash-slider-copy { padding: 1rem 2.8rem; }
    .smash-slider-has-indicators .smash-slider-copy { padding-bottom: 2.75rem; }
    .smash-content-slider .carousel-control-prev,
    .smash-content-slider .carousel-control-next { width: 2.75rem; }
}

/* News reel and article reading pane */
.smash-news-reel-block,
.smash-news-reel {
    width: 100%;
    min-width: 0;
}
.smash-news-reel {
    display: grid;
    gap: .65rem;
}
.smash-news-headline {
    width: 100%;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(127,127,127,.28);
    border-radius: .85rem;
    background: rgba(127,127,127,.09);
    color: inherit !important;
    text-align: left;
    box-shadow: 0 .25rem .7rem rgba(0,0,0,.08);
    transition: transform .18s ease,background-color .18s ease,border-color .18s ease;
}
.smash-news-headline:hover,
.smash-news-headline:focus-visible {
    border-color: #0D6EFD;
    background: #0D6EFD;
    color: #ffffff !important;
    transform: translateY(-1px);
}
.smash-news-headline:focus-visible {
    outline: 3px solid rgba(59,137,201,.38);
    outline-offset: 2px;
}
.smash-news-headline time,
.smash-news-headline-title,
.smash-news-summary,
.smash-news-read-more {
    display: block;
}
.smash-news-headline time {
    margin-bottom: .25rem;
    font-size: .78rem;
    font-weight: 700;
    opacity: .72;
}
.smash-news-headline-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}
.smash-news-summary {
    margin-top: .4rem;
    font-size: .9rem;
    line-height: 1.45;
    opacity: .82;
}
.smash-news-read-more {
    margin-top: .6rem;
    color: #0D6EFD;
    font-size: .82rem;
    font-weight: 800;
}
.smash-news-headline:hover .smash-news-read-more,
.smash-news-headline:focus-visible .smash-news-read-more {
    color: #ffffff;
}
.smash-news-pane {
    --bs-offcanvas-width: min(92vw, 760px);
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}
.smash-news-pane .offcanvas-header {
    border-bottom: 1px solid var(--bs-border-color);
}
.smash-news-pane .offcanvas-title {
    margin-top: .2rem;
    color: var(--bs-heading-color);
    line-height: 1.2;
}
.smash-news-pane-date {
    color: var(--bs-secondary-color);
    font-size: .85rem;
    font-weight: 700;
}
.smash-news-photo {
    display: block;
    width: 100%;
    max-height: 440px;
    margin-bottom: 1.4rem;
    border-radius: .85rem;
    object-fit: cover;
}
.smash-news-article {
    font-size: 1.02rem;
    line-height: 1.7;
}
.smash-news-article img {
    max-width: 100%;
    height: auto;
}
.smash-news-article > :last-child {
    margin-bottom: 0;
}

/* Background opacity layers keep text, controls, and media fully opaque. */
.smash-background-layered {
    position: relative;
    z-index: 0;
    isolation: isolate;
    background-color: transparent !important;
    background-image: none !important;
}
.smash-background-layered::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    opacity: var(--smash-bg-opacity, 1);
    background-color: var(--smash-bg-color, transparent);
    background-image: var(--smash-bg-image, none);
    background-size: var(--smash-bg-size, cover);
    background-position: var(--smash-bg-position, center center);
    background-repeat: var(--smash-bg-repeat, no-repeat);
    background-attachment: var(--smash-bg-attachment, scroll);
}
.smash-body-background-layered {
    min-height: 100vh;
}
.smash-body-background-layered::before {
    position: fixed;
}

.smash-footer-columns { align-items: stretch; }
.smash-footer-rich-text { overflow-wrap: anywhere; }
.smash-footer-rich-text > :first-child { margin-top: 0; }
.smash-footer-rich-text > :last-child { margin-bottom: 0; }
.bg-smash-red { background-color: var(--bs-primary) !important; }
.bg-smash-blue { background-color: #0D6EFD !important; }
