/*
 * Identidade visual do site público.
 * Os estilos administrativos continuam isolados em style.css.
 */
:root {
    --site-bg: #080a0c;
    --site-bg-soft: #0f1317;
    --site-surface: #151a1f;
    --site-surface-raised: #1b2127;
    --site-line: rgba(255, 255, 255, .11);
    --site-text: #f4f2ed;
    --site-muted: #aab3bd;
    --site-orange: #f27522;
    --site-orange-light: #ff9a52;
    --site-gold: #d8b16c;
    --site-floating-panel-width: 250px;
}

.site-page {
    background: var(--site-bg);
    color: var(--site-text);
    font-family: "Open Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    line-height: 1.65;
    overflow-x: hidden;
}

.site-page html {
    scroll-behavior: smooth;
}

.site-page a {
    color: inherit;
}

.site-page .page-title {
    letter-spacing: .015em;
}

.site-navbar-shell {
    height: 0;
    position: relative;
    z-index: 1030;
}

.site-page #header.site-navbar {
    align-items: center;
    backdrop-filter: blur(16px);
    background: rgba(7, 9, 11, .42);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .18);
    gap: 16px;
    left: 50% !important;
    margin: 0;
    max-width: 1180px;
    padding: 9px 14px !important;
    right: auto !important;
    top: 16px !important;
    transform: translateX(-50%);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
    width: calc(100% - 32px);
}

.site-page #header.site-navbar.bg-index,
.site-page #header.site-navbar.blur {
    background: rgba(11, 14, 17, .88);
    border-color: rgba(242, 117, 34, .22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}

.site-navbar .container-sm {
    max-width: none;
    width: 100%;
}

.site-navbar .navbar-brand {
    color: #fff !important;
    font-size: 1.02rem;
    letter-spacing: .08em;
    white-space: nowrap;
}

.site-navbar .navbar-toggler {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 10px;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 40px;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(242, 117, 34, .24);
}

@media (min-width: 992px) {
    .site-navbar .navbar-toggler {
        display: none;
    }
}

.site-navbar .navbar-collapse {
    justify-content: flex-end;
}

.site-navbar .navbar-nav {
    align-items: center;
    gap: 4px;
}

.site-navbar .nav-link {
    border-radius: 9px;
    color: rgba(255, 255, 255, .76) !important;
    font-family: "Open Sans", sans-serif;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .09em;
    padding: 9px 10px !important;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    background: rgba(242, 117, 34, .13);
    color: var(--site-orange-light) !important;
    transform: translateY(-1px);
}

.site-hero {
    position: relative;
}

.site-hero .page-header {
    background-position: center;
    background-size: cover;
    min-height: max(620px, 100svh) !important;
    overflow: hidden;
    position: relative;
}

.site-hero .page-header::after {
    background: linear-gradient(180deg, rgba(3, 4, 5, .2) 20%, rgba(3, 4, 5, .12) 48%, rgba(3, 4, 5, .88) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.site-hero .mask {
    background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .04), rgba(0, 0, 0, .7) 75%);
    opacity: .7 !important;
    z-index: 1;
}

.site-hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.site-hero-kicker {
    color: var(--site-orange-light);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .28em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.site-hero-logo {
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .48));
    max-height: min(53vh, 470px);
    max-width: min(72vw, 460px);
    object-fit: contain;
}

.site-hero-cta {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .74rem;
    font-weight: 800;
    gap: 11px;
    letter-spacing: .1em;
    margin-top: 30px;
    padding: 11px 17px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.site-hero-cta:hover {
    background: var(--site-orange);
    border-color: var(--site-orange);
    color: #180b04;
    transform: translateY(-2px);
}

.collaborator-float-rail {
    align-items: center;
    backdrop-filter: blur(18px);
    background: linear-gradient(160deg, rgba(27, 33, 39, .94), rgba(8, 10, 12, .92));
    border: 1px solid rgba(242, 117, 34, .48);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .34), 0 0 34px rgba(242, 117, 34, .16);
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: calc(100vh - 28px);
    opacity: 0;
    overflow-y: auto;
    padding: 24px 20px 20px;
    pointer-events: none;
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translate(22px, -50%);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    visibility: hidden;
    width: var(--site-floating-panel-width);
    z-index: 1020;
}

.collaborator-float-rail.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
    visibility: visible;
}

.collaborator-float-heading {
    align-items: center;
    color: var(--site-orange-light);
    display: flex;
    flex-direction: column;
    font-size: .8rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.collaborator-float-heading i {
    font-size: 1.4rem;
}

.collaborator-float-carousel {
    box-sizing: border-box;
    height: 375px;
    overflow: hidden;
    padding: 8px;
    width: 100%;
}

.collaborator-float-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 1.25s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
    width: 100%;
}

.collaborator-float-item {
    align-items: center;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 22px;
    display: flex;
    box-sizing: border-box;
    flex: 0 0 auto;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.collaborator-float-item:hover,
.collaborator-float-item:focus-visible {
    background: rgba(242, 117, 34, .14);
    border-color: var(--site-orange-light);
    box-shadow: 0 0 0 2px rgba(242, 117, 34, .3), 0 0 26px rgba(242, 117, 34, .58), 0 0 48px rgba(242, 117, 34, .24);
    outline: none;
    transform: translateY(-2px) scale(1.04);
    z-index: 2;
}

.collaborator-float-item img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.collaborator-float-progress {
    color: var(--site-muted);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.collaborator-float-cta {
    align-items: center;
    color: var(--site-muted);
    display: flex;
    flex-direction: column;
    font-size: .72rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
    display: none;
}

.collaborator-float-cta:hover,
.collaborator-float-cta:focus-visible {
    color: var(--site-orange-light);
    outline: none;
}

.site-section {
    position: relative;
    scroll-margin-top: 96px;
}

.site-section-light {
    background: var(--site-bg-soft);
}

.site-section-dark {
    background: var(--site-bg);
}

.site-section::before {
    background: linear-gradient(90deg, transparent, rgba(242, 117, 34, .28), transparent);
    content: "";
    height: 1px;
    left: 8%;
    position: absolute;
    right: 8%;
    top: 0;
}

.site-container {
    max-width: 1180px;
    padding-bottom: clamp(76px, 9vw, 126px);
    padding-top: clamp(76px, 9vw, 126px);
}

.site-section-heading {
    margin: 0 auto clamp(34px, 5vw, 56px);
    max-width: 780px;
    text-align: center;
}

.site-section-kicker,
.board-card-role {
    color: var(--site-orange-light);
    display: block;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .2em;
    margin-bottom: 11px;
    text-transform: uppercase;
}

.site-section-title {
    color: var(--site-text);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    margin: 0;
}

.site-section-lead {
    color: var(--site-muted);
    font-size: clamp(.92rem, 1.6vw, 1.04rem);
    margin: 15px auto 0;
    max-width: 560px;
}

.site-copy {
    color: #d5d9dd;
    font-size: 1rem;
    margin: 0 auto;
    max-width: 860px;
}

.site-copy p {
    margin: 0;
}

.site-copy p + p {
    margin-top: 18px;
}

.site-elements-grid {
    display: grid;
    gap: 13px 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-elements-grid ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-elements-grid li {
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--site-line);
    border-radius: 12px;
    color: #d5d9dd;
    padding: 15px 17px 15px 43px;
    position: relative;
    height: fit-content;
}

.site-elements-grid li::before {
    color: var(--site-orange-light);
    content: "✦";
    font-size: 1rem;
    left: 17px;
    position: absolute;
    top: 14px;
}

.site-subsection {
    border-top: 1px solid var(--site-line);
    margin: 58px auto 0;
    max-width: 860px;
    padding-top: 42px;
}

.site-subsection-heading {
    margin-bottom: 22px;
}

.site-subsection-title {
    color: var(--site-text);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    margin: 0;
}

.site-subsection-elements {
    margin-top: 42px;
}

.board-grid,
.collaborators-grid,
.events-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collaborators-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.board-card,
.collaborator-card,
.event-card {
    background: linear-gradient(145deg, rgba(26, 32, 38, .98), rgba(13, 16, 19, .98)) !important;
    border: 1px solid var(--site-line) !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2) !important;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.collaborator-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.board-card:hover,
.collaborator-card:hover,
.event-card:hover {
    border-color: rgba(242, 117, 34, .45) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .32) !important;
    transform: translateY(-5px);
}

.board-card-media,
.collaborator-card-media,
.collaborator-card-placeholder,
.event-card-media {
    align-items: center;
    background: #0b0e11;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.board-card-media {
    aspect-ratio: 4 / 3;
}

.board-card-media img,
.collaborator-card-media img,
.event-card-media img {
    height: 100%;
    object-fit: contain;
    padding: 16px;
    width: 100%;
}

.board-card-media i,
.collaborator-card-placeholder i {
    color: var(--site-orange);
    font-size: 3.2rem;
}

.collaborator-card-pdf-placeholder {
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.collaborator-card-pdf-placeholder i {
    font-size: 3rem;
}

.collaborator-card-pdf-placeholder span {
    color: var(--site-muted);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.board-card-body,
.collaborator-card .card-body,
.event-card-body {
    padding: 23px;
}

.board-card-role {
    margin-bottom: 7px;
}

.board-card-name,
.event-card-title {
    color: var(--site-text);
    font-size: 1.35rem;
    margin: 0;
}

.board-card-bio,
.event-card-description,
.collaborator-card .card-text {
    color: var(--site-muted) !important;
    font-size: .9rem;
    line-height: 1.65;
    margin: 14px 0 0;
}

.collaborator-card-media,
.collaborator-card-placeholder,
.event-card-media {
    aspect-ratio: 4 / 3;
}

.collaborator-card .card-img-top {
    aspect-ratio: auto;
    background: transparent;
    object-fit: contain;
    padding: 16px;
}

.collaborator-card .card-title {
    color: var(--site-text) !important;
    font-size: 1.22rem;
}

.collaborator-links {
    margin-top: 22px !important;
}

.collaborator-pdf-card {
    background: #080b0e;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
    margin: 18px 0 0;
    overflow: hidden;
    padding-bottom: 8px;
    text-align: left;
}

.collaborator-pdf-heading {
    align-items: center;
    color: var(--site-orange-light);
    display: flex;
    font-size: .76rem;
    font-weight: 800;
    gap: 8px;
    letter-spacing: .04em;
    padding: 12px 14px;
    text-transform: uppercase;
}

.collaborator-pdf-heading i {
    color: var(--site-orange);
    font-size: 1rem;
}

.collaborator-pdf-card p {
    color: var(--site-muted);
    font-size: .78rem;
    line-height: 1.5;
    margin: 0;
    padding: 0 14px 12px;
}

.collaborator-pdf-link {
    align-items: center;
    background: rgba(242, 117, 34, .12);
    border: 1px solid rgba(242, 117, 34, .48);
    border-radius: 999px;
    color: var(--site-orange-light);
    cursor: pointer;
    display: flex;
    font-size: .76rem;
    font-weight: 800;
    gap: 7px;
    justify-content: center;
    margin: 0 14px;
    padding: 9px 13px;
    font-family: inherit;
    width: calc(100% - 28px);
}

.collaborator-pdf-link:hover,
.collaborator-pdf-link:focus-visible {
    background: var(--site-orange);
    border-color: var(--site-orange);
    color: #fff;
}

.collaborator-links .btn,
.site-section-action .btn {
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .02em;
    padding: 9px 13px;
}

.collaborator-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.collaborator-links .btn-outline-light {
    border-color: rgba(255, 255, 255, .24);
    color: #e7ebef;
}

.collaborator-links .btn-outline-light:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
}

.event-card-media {
    aspect-ratio: 16 / 9;
}

.event-card-media img {
    padding: 0;
}

.event-card-title {
    font-size: 1.3rem;
}

.event-card-meta {
    color: var(--site-orange-light);
    display: flex;
    flex-direction: column;
    font-size: .78rem;
    font-weight: 700;
    gap: 7px;
    margin-top: 16px;
}

.event-card-meta i {
    margin-right: 6px;
}

.event-card-description {
    border-top: 1px solid var(--site-line);
    padding-top: 15px;
}

.gallery {
    background: #080a0c;
    border: 3px solid var(--site-orange);
    border-radius: 20px;
    column-count: 4;
    column-gap: 0;
    overflow: hidden;
    box-shadow: 0 0 22px rgba(255, 177, 94, .62), 0 0 54px rgba(242, 117, 34, .34), 0 0 100px rgba(242, 117, 34, .16), 0 20px 58px rgba(0, 0, 0, .72);
}

.gallery .gallery-item {
    background: #080a0c;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    display: block;
    font: inherit;
    overflow: hidden;
    padding: 0;
    position: relative;
    break-inside: avoid;
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease;
    width: 100%;
}

.gallery .gallery-item:hover {
    box-shadow: 0 0 28px rgba(255, 194, 126, .9), 0 0 64px rgba(242, 117, 34, .62), 0 0 112px rgba(242, 117, 34, .3), 0 22px 48px rgba(0, 0, 0, .82);
    transform: scale(1.045);
    z-index: 3;
}

.gallery .gallery-item:focus-visible {
    box-shadow: 0 0 26px rgba(255, 194, 126, .86), 0 0 58px rgba(242, 117, 34, .56), 0 0 104px rgba(242, 117, 34, .26), 0 18px 42px rgba(0, 0, 0, .7);
    outline: none;
    z-index: 3;
}

.gallery .gallery-item img {
    background: #080a0c;
    display: block;
    height: auto;
    object-fit: contain;
    padding: 0;
    width: 100%;
}

.gallery .gallery-caption {
    display: none;
}

.site-section-action {
    margin-top: 32px;
}

.site-section-action .btn {
    background: var(--site-orange);
    border-color: var(--site-orange);
    color: #1b0b03;
}

.site-section-action .btn:hover {
    background: var(--site-orange-light);
    border-color: var(--site-orange-light);
    color: #1b0b03;
}

.site-gallery-modal {
    z-index: 1090;
}

.site-page .modal-backdrop {
    z-index: 1085;
}

.site-gallery-modal .modal-content {
    background: #0d1013;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .58);
    overflow: hidden;
}

.collaborator-pdf-modal {
    z-index: 1090;
}

.collaborator-pdf-modal .modal-content {
    background: #0d1013;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .58);
    overflow: hidden;
}

.collaborator-pdf-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--site-line);
    padding: 18px 22px;
}

.collaborator-pdf-modal .modal-title {
    color: var(--site-text);
    font-size: 1.25rem;
    margin: 3px 0 0;
}

.collaborator-pdf-modal-body {
    background: #080a0c;
    height: min(78vh, 780px);
    padding: 0 !important;
}

.collaborator-pdf-modal-body iframe {
    background: #fff;
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.collaborator-pdf-modal-footer {
    border-top: 1px solid var(--site-line);
    justify-content: flex-end;
    padding: 14px 22px;
}

.collaborator-pdf-modal-footer .btn {
    background: var(--site-orange);
    border-color: var(--site-orange);
    border-radius: 999px;
    color: #1b0b03;
    font-size: .78rem;
    font-weight: 800;
    padding: 10px 16px;
}

.collaborator-pdf-modal-footer .btn:hover,
.collaborator-pdf-modal-footer .btn:focus-visible {
    background: var(--site-orange-light);
    border-color: var(--site-orange-light);
    color: #1b0b03;
}

.site-gallery-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--site-line);
    padding: 18px 22px;
}

.site-gallery-modal .modal-title {
    color: var(--site-text);
    font-size: 1.25rem;
    margin: 3px 0 0;
}

.site-gallery-modal-counter {
    color: var(--site-orange-light);
    display: block;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.site-gallery-modal .modal-body {
    align-items: center;
    background: #080a0c;
    display: flex;
    gap: 15px;
    justify-content: center;
    min-height: min(70vh, 680px);
    padding: 22px 66px 26px;
    position: relative;
}

.site-gallery-modal-figure {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.site-gallery-modal-figure img {
    display: block;
    height: auto;
    max-height: min(62vh, 610px);
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.site-gallery-modal-figure figcaption {
    color: #dfe4e8;
    font-size: .88rem;
    line-height: 1.55;
    max-width: 760px;
    text-align: center;
}

.site-gallery-modal-nav {
    align-items: center;
    background: rgba(242, 117, 34, .9);
    border: 0;
    border-radius: 50%;
    color: #1b0b03;
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
    width: 42px;
    z-index: 2;
}

.site-gallery-modal-nav:hover,
.site-gallery-modal-nav:focus-visible {
    background: var(--site-orange-light);
    outline: none;
    transform: translateY(-50%) scale(1.06);
}

.site-gallery-modal-prev {
    left: 18px;
}

.site-gallery-modal-next {
    right: 18px;
}

.site-footer {
    background: #050607;
    border-top: 1px solid var(--site-line);
    text-align: center;
}

.site-footer .site-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 48px;
    padding-top: 58px;
}

.site-footer-logo {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .4));
    height: 90px;
    object-fit: contain;
    width: 90px;
}

.site-footer-text {
    color: var(--site-text);
    font-size: 1.25rem;
    margin: 20px 0 23px;
}

.site-footer-top {
    color: var(--site-muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-footer-top:hover {
    color: var(--site-orange-light);
}

.site-page .audio-widget {
    bottom: 20px;
    right: 20px;
}

.site-page .audio-card {
    backdrop-filter: blur(18px);
    background: rgba(13, 16, 19, .88);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: 8px 10px;
    width: var(--site-floating-panel-width);
}

@media (max-width: 991px) {
    .site-navbar .navbar-collapse {
        background: rgba(10, 13, 16, .98);
        border: 1px solid var(--site-line);
        border-radius: 14px;
        margin-top: 10px;
        padding: 8px;
    }

    .site-navbar .navbar-nav {
        align-items: stretch;
    }

    .site-navbar .nav-link {
        padding: 12px 13px !important;
    }

    .board-grid,
    .collaborators-grid,
    .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery {
        column-count: 3;
    }
}

@media (max-width: 680px) {
    .site-page #header.site-navbar {
        top: 10px !important;
        width: calc(100% - 20px);
    }

    .site-hero-kicker {
        font-size: .6rem;
        letter-spacing: .18em;
    }

    .site-hero-logo {
        max-width: 82vw;
    }

    .site-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-elements-grid {
        grid-template-columns: 1fr;
    }

    .board-grid,
    .collaborators-grid,
    .events-grid,
    .gallery {
        column-count: 2;
    }

    .board-card-media,
    .collaborator-card-media,
    .collaborator-card-placeholder {
        aspect-ratio: 16 / 10;
    }

    .site-page .audio-widget {
        bottom: 12px;
        right: 12px;
    }

    .collaborator-float-rail {
        bottom: calc(78px + env(safe-area-inset-bottom));
        flex-direction: row;
        gap: 8px;
        left: 12px;
        padding: 8px;
        right: 12px;
        top: auto;
        transform: translateY(18px);
        width: auto;
    }

    .site-page:has(#audio-consent:not([hidden])) .collaborator-float-rail {
        bottom: calc(200px + env(safe-area-inset-bottom));
    }

    .site-page:not(:has(#bg-audio-widget)) .collaborator-float-rail {
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .site-page .audio-card {
        width: 100%;
    }

    .collaborator-float-rail.is-visible {
        transform: translateY(0);
    }

    .collaborator-float-heading {
        display: none;
        flex: 0 0 auto;
        padding: 0 4px;
    }

    .collaborator-float-carousel {
        flex: 1 1 auto;
        height: 72px;
        min-width: 0;
        padding: 6px;
    }

    .collaborator-float-track {
        flex-direction: row;
        gap: 8px;
        height: 100%;
        width: max-content;
    }

    .collaborator-float-item {
        height: 100%;
        padding: 4px;
    }

    .collaborator-float-progress {
        display: none;
    }

    .collaborator-float-cta {
        flex: 0 0 auto;
        padding: 0 4px;
    }

    .collaborator-pdf-modal-body {
        height: 70vh;
    }

    .site-gallery-modal .modal-body {
        min-height: min(72vh, 620px);
        padding: 18px 48px 22px;
    }

    .site-gallery-modal-figure img {
        max-height: 58vh;
    }

    .site-gallery-modal-nav {
        height: 36px;
        width: 36px;
    }

    .site-gallery-modal-prev {
        left: 10px;
    }

    .site-gallery-modal-next {
        right: 10px;
    }
}

@media (max-width: 420px) {
    .gallery {
        column-count: 1;
    }
}
