@font-face {
    font-family: Orbitron;
    src: url("../assets/fonts/Orbitron.ttf") format("truetype");
    font-weight: 400 900;
    font-display: swap;
}

@font-face {
    font-family: Geist;
    src: url("../assets/fonts/Geist.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Geist Pixel Square";
    src: url("../assets/fonts/GeistPixel-Square.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Formula 1 Display Wide";
    src: url("../assets/fonts/Formula1Display-Wide.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --red: #ff4438;
    --bg: #111113;
    --muted: #aaaab2;
    --line: #343438;
    --body: Geist, system-ui, sans-serif;
    --display: "Formula 1 Display Wide", "Geist Pixel Square", var(--body);
    --brand: Orbitron, var(--body);
    --bs-font-sans-serif: var(--body);
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--bg);
    color: #f5f5f5;
    font-family: var(--body);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    touch-action: manipulation;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #ffc15b;
    outline-offset: 5px;
}

.container {
    max-width: 1240px;
    padding-left: 32px;
    padding-right: 32px;
}

.red {
    color: var(--red);
}

.muted {
    color: var(--muted);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #111113f5;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 90px;
}

.navbar-brand,
.navbar-brand:hover {
    color: white;
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    font-family: var(--brand);
    font-size: 30px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2px;
}

.brand-sub {
    font: 10px/1.4 var(--body);
    letter-spacing: 2px;
    display: block;
    color: #bbb;
    max-width: 95px;
}

.nav-link {
    color: #bcbcc2;
    font-size: 13px;
    margin-left: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active {
    color: white;
    box-shadow: inset 0 -2px var(--red);
}

.contact-nav {
    border: 1px solid #59595e;
}

.hero {
    overflow: hidden;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    color: #b9b9c0;
    font-size: 10px;
    letter-spacing: 1.9px;
    padding: 30px 0;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ccc;
    margin-bottom: 24px;
}

.eyebrow>span {
    font-family: var(--display);
    color: var(--red);
    margin-right: 12px;
}

h1,
h2 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.2;
}

h3 {
    font-family: var(--body);
    font-weight: 600;
    line-height: 1.3;
    font-size: 19px;
}

h1 {
    font-size: clamp(32px, 3.6vw, 48px);
    letter-spacing: -1.5px;
    line-height: 1.3;
}

.hero-description {
    color: #bcbcc4;
    max-width: 460px;
    margin: 28px 0;
    font-size: 16px;
}

.btn {
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    padding: 14px 22px;
}

.btn span {
    margin-left: 24px;
}

.btn-community {
    background: var(--red);
    color: #111;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 93% 100%, 0 100%);
}

.btn-community:hover {
    background: #ff7269;
    color: #111;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    padding: 24px 0 28px;
    border-top: 1px solid var(--line);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.hero-bottom b {
    color: var(--red);
    margin: 0 18px;
}

.hero-bottom a {
    color: #b5b5bd;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
}

.section-alt {
    background: #161618;
}

h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    letter-spacing: -1px;
    margin: 0 0 28px;
}

.section p {
    color: #b7b7bf;
}

.section .eyebrow {
    color: #ccc;
}

.section-title {
    margin-bottom: 45px;
}

.lead {
    font-size: 23px;
    font-weight: 500;
    color: #eee !important;
    line-height: 1.5;
}

.arrow-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: -0.125em;
}

.text-link {
    display: inline-flex;
    align-items: center;
    border: 0;
    border-bottom: 1px solid var(--red);
    background: none;
    color: #eee;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 700;
}

.text-link>span[aria-hidden="true"] {
    margin-left: 25px;
    color: var(--red);
}

.principle {
    border-top: 1px solid var(--line);
    padding: 25px 0 12px;
}

.small-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #ff8178;
}

.principle h3 {
    margin: 12px 0;
}

.principle p {
    font-size: 13px;
}

.heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
    gap: 24px;
}

.heading-row h2 {
    margin-bottom: 0;
}

.heading-row>p {
    font-size: 13px;
    margin: 0;
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.filter {
    background: none;
    color: #bdbdc4;
    border: 1px solid #48484e;
    padding: 8px 18px;
    font-size: 12px;
}

.filter.active {
    background: #f5f5f5;
    color: #111;
    border-color: #f5f5f5;
}

.activity-card {
    height: 100%;
    border: 1px solid var(--line);
    padding: 28px;
    position: relative;
}

.activity-card:before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    height: 3px;
    width: 45px;
    background: var(--red);
}

.activity-card h3 {
    margin: 25px 0 15px;
}

.activity-card p {
    font-size: 13px;
}

.news-feature {
    background: #202024;
    border: 1px solid var(--line);
    padding: 32px;
    height: 100%;
}

.news-feature p,
.news-small p {
    font-size: 13px;
}

.news-post-image {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin: 24px 0;
}

.news-small {
    padding: 25px 0;
    border-top: 1px solid #4b4b52;
}

.news-small h3 {
    margin: 16px 0;
}

.announcement {
    margin-top: 25px;
}

.gallery-button {
    background: none;
    border: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    color: white;
    display: block;
}

.gallery-button img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    background: #202023;
    transition: filter 0.2s;
}

.gallery-button:hover img {
    filter: brightness(1.2);
}

.modal-body .post-image {
    display: block;
    width: min(100%, 420px) !important;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.post-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.post-image-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0;
}

.post-hashtags a {
    color: #ff8178;
}

.post-hashtags a:hover {
    text-decoration: underline;
}

.gallery-caption {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
}

.gallery-caption span:last-child {
    color: var(--red);
}

.contact-section {
    background: #19191b;
}

.contact-section h2 {
    font-size: clamp(32px, 3.7vw, 50px);
}

.contact-line {
    border-bottom: 1px solid #484044;
    padding: 18px 0;
}

.contact-line p {
    font-size: 13px;
    margin: 8px 0;
}

footer {
    padding: 45px 0 20px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-top p {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

.footer-top nav {
    display: flex;
    gap: 24px;
    font-size: 12px;
}

.footer-bottom {
    margin-top: 35px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: #aaa;
}

.back-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--red);
    border: 0;
    color: #111;
    z-index: 1020;
    font-size: 24px;
}

.modal-content {
    background: var(--bg);
    color: #eee;
    border: 1px solid var(--line);
    border-top: 3px solid var(--red);
    border-radius: 0;
    box-shadow: 0 24px 80px #0009;
    max-height: calc(100dvh - 48px);
}

.modal-header {
    border-color: #45454a;
    padding: 24px 28px;
    gap: 20px;
    align-items: flex-start;
    background: #19191c;
    border-bottom: 1px solid var(--line);
}

.modal-body {
    padding: 28px;
    line-height: 1.8;
    overflow-y: auto;
}

.modal-body p {
    color: #bcbcc4;
    font-size: 15px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px;
    background: white;
    color: black;
}

.skip-link:focus {
    top: 12px;
}

[hidden] {
    display: none !important;
}

.site-header .navbar {
    --bs-navbar-active-color: #fff;
}

.site-header .navbar-nav .nav-link.active {
    color: #fff;
}

.site-header .navbar-toggler {
    filter: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    box-shadow: none;
    order: 3;
}

.site-header .navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-width='1.5' d='M3 5h18M3 12h18M3 19h18'/%3E%3C/svg%3E");
}

.site-header .navbar-toggler:hover {
    background: #ffffff0a;
}

.site-header .navbar-toggler:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.modal {
    --bs-modal-border-radius: 0;
    --bs-modal-inner-border-radius: 0;
}

.modal-backdrop {
    --bs-backdrop-opacity: 0.8;
}

.modal-title {
    line-height: 1.45;
    letter-spacing: -0.4px;
}

.modal-header .btn-close {
    flex-shrink: 0;
    opacity: 0.85;
    padding: 12px;
    margin: -4px -8px -4px 0;
    border-radius: 0;
}

.modal-header .btn-close:hover {
    opacity: 1;
    background-color: #ffffff0a;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 32px;
}

.music-toggle {
    background: transparent;
    border: 1px solid var(--line);
    color: #fff;
    transition:
        border-color 0.2s,
        background-color 0.2s;
}

.music-toggle:hover,
.music-toggle[aria-pressed="true"] {
    border-color: var(--red);
    background: #ff44380d;
}

#music-icon {
    color: var(--red);
    width: 16px;
    text-align: center;
}

.site-header .navbar-brand {
    order: 0;
}

.site-header .navbar-collapse {
    order: 1;
}

.site-header .music-toggle {
    order: 2;
    margin-left: 18px;
    flex-shrink: 0;
}

.site-header .music-toggle,
.site-header .contact-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 128px;
    height: 46px;
    min-height: 46px;
    padding: 0 14px !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.back-top-car {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 150vw;
    height: 140vh;
    max-height: none;
    object-fit: contain;
    pointer-events: none;
    z-index: 1040;
    transform: translate(-50%, 110%);
}

.back-top-car.is-rising {
    animation: car-rise 1.5s cubic-bezier(0.25, 0.65, 0.5, 1) both;
}

@media (min-width: 992px) {
    .site-header .navbar-nav {
        align-items: center;
    }

    .site-header .music-nav-item {
        margin-right: 4px;
    }

    .site-header .music-nav-item .music-toggle {
        margin-left: 18px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding-bottom: 20px;
    }

    .nav-link {
        margin-left: 0;
    }

    .section {
        padding: 60px 0;
    }

    .hero-top span:last-child {
        display: none;
    }

    .heading-row {
        align-items: start;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .site-header .music-toggle {
        margin-left: auto;
        margin-right: 8px;
    }

    .site-header .navbar-collapse {
        order: 4;
    }

    .site-header .music-nav-item .music-toggle {
        margin: 10px 0;
    }
}

@media (max-width: 575px) {
    .post-image-pair {
        grid-template-columns: 1fr;
    }

    .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .navbar {
        min-height: 76px;
    }

    .brand {
        font-size: 26px;
    }

    .hero-top {
        font-size: 8px;
        letter-spacing: 1px;
    }

    h1 {
        font-size: clamp(26px, 7.6vw, 40px);
        letter-spacing: -1px;
    }

    .hero-bottom {
        font-size: 8px;
        gap: 15px;
    }

    .hero-bottom b {
        margin: 0 6px;
    }

    .hero-bottom a {
        max-width: 80px;
    }

    .heading-row {
        display: block;
    }

    .heading-row>p {
        margin-top: 20px;
    }

    .footer-top {
        flex-wrap: wrap;
    }

    .footer-top nav {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .news-feature {
        padding: 23px;
    }

    .row.g-5 {
        --bs-gutter-x: 2rem;
    }

    .modal-dialog {
        margin: 16px;
    }

    .modal-content {
        max-height: calc(100dvh - 32px);
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .modal-title {
        font-size: 17px !important;
    }

    .modal-body p {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }

    .back-top-car {
        display: none !important;
    }
}

@keyframes car-rise {
    0% {
        transform: translate(-50%, 110%);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -110vh);
        opacity: 0;
    }
}

:root {
    --red: #ef1b2d;
    --bg: #ffffff;
    --ink: #111111;
    --muted: #6d6d6d;
    --line: #dddddd;
}

body {
    background: #fff;
    color: var(--ink);
    line-height: 1.5;
}

.container {
    max-width: 1160px;
}

.red {
    color: var(--red);
}

.muted {
    color: #737373;
}

.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e4e4e4;
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 68px;
}

.navbar-brand,
.navbar-brand:hover {
    color: #111;
    gap: 12px;
}

.brand {
    color: var(--red);
    font-size: 22px;
    letter-spacing: -1.5px;
}

.brand-sub {
    color: #111;
    font-size: 8px;
    line-height: 1.15;
    letter-spacing: 0.9px;
}

.nav-link {
    color: #333;
    font-size: 11px;
    font-weight: 650;
    margin-left: 7px;
}

.nav-link:hover,
.nav-link.active,
.site-header .navbar-nav .nav-link.active {
    color: var(--red);
}

.nav-link.active {
    box-shadow: none;
}

.contact-nav {
    background: var(--red);
    color: #fff !important;
    border: 0;
    padding-left: 22px !important;
    padding-right: 22px !important;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.music-toggle {
    color: #222 !important;
    border-color: #ccc !important;
}

.hero {
    padding: 26px 0 56px;
}

.hero-top {
    padding: 0 0 20px;
    color: #777;
    border-bottom: 1px solid #ededed;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.front-page {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
    gap: 54px;
    padding: 28px 0 22px;
}

.lead-story {
    min-width: 0;
}

.story-kicker {
    color: var(--red);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.5px;
    margin: 22px 0 8px;
}

h1,
h2 {
    font-family: var(--body);
    font-weight: 750;
    color: #111;
}

h1 {
    font-size: clamp(38px, 5vw, 66px);
    line-height: 0.94;
    letter-spacing: -3.2px;
    margin: 0;
}

.hero-description {
    color: #666;
    max-width: 590px;
    margin: 18px 0 10px;
    font-size: 14px;
}

.story-link,
.latest-story small {
    color: var(--red);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.story-link span,
.latest-story b {
    font-size: 16px;
    margin-left: 3px;
}

.latest-stories {
    border-top: 1px solid #d9d9d9;
}

.latest-story {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid #d9d9d9;
    align-items: center;
}

.latest-story img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    background: #f2f2f2;
}

.latest-story strong {
    display: block;
    font-size: 14px;
    line-height: 1.15;
    letter-spacing: -0.2px;
    margin-bottom: 8px;
}

.latest-story:hover strong {
    color: var(--red);
}

.latest-story small {
    display: block;
}

.hero-bottom {
    border-color: #ddd;
    color: #555;
}

.hero-bottom a {
    color: var(--red);
    font-weight: 700;
}

.section {
    padding: 92px 0;
    border-bottom: 1px solid #dedede;
}

.section-alt,
.contact-section {
    background: #f4f4f2;
}

.section p {
    color: #626262;
}

.section .eyebrow,
.eyebrow {
    color: var(--red);
    font-size: 10px;
}

.eyebrow>span {
    color: #111;
}

h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

h3 {
    color: #111;
}

.lead {
    color: #111 !important;
}

.small-label {
    color: var(--red);
}

.principle {
    border-color: #ccc;
}

.text-link {
    color: #111;
}

.filter {
    color: #333;
    border-color: #bbb;
    background: #fff;
}

.filter.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.activity-card {
    background: #fff;
    border-color: #d3d3d3;
}

.activity-card::before {
    height: 4px;
    width: 64px;
}

.news-feature {
    background: #fff;
    border-color: #d5d5d5;
    padding: 26px;
}

.news-small {
    border-color: #cfcfcf;
}

.gallery-button {
    color: #111;
}

.gallery-button img {
    background: #e9e9e7;
}

.gallery-button:hover img {
    filter: contrast(1.04);
}

.gallery-caption span:last-child {
    color: var(--red);
}

.contact-line {
    border-color: #ccc;
}

footer {
    background: #111;
    color: #fff;
    padding-top: 58px;
}

.footer-top p,
.footer-bottom {
    color: #aaa;
}

.footer-bottom {
    border-color: #333;
}

.back-top {
    color: #fff;
}

.modal-content {
    background: #fff;
    color: #111;
    border-color: #ddd;
    border-top-color: var(--red);
}

.modal-header {
    background: #f5f5f3;
    border-color: #ddd;
}

.modal-body p {
    color: #555;
}

.modal-header .btn-close {
    filter: none;
}

@media (max-width: 991px) {
    .site-header .navbar-toggler-icon {
        filter: invert(1);
    }

    .site-header .navbar-collapse {
        background: #fff;
        border-top: 1px solid #ddd;
    }

    .front-page {
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 18px;
    }

    .front-page {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .latest-story {
        grid-template-columns: 112px 1fr;
    }

    .latest-story img {
        width: 112px;
        height: 82px;
    }

    .hero-top span:last-child {
        display: none;
    }

    h1 {
        letter-spacing: -2px;
    }

    .site-header .navbar-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        align-items: center;
    }

    .site-header .navbar-nav>.nav-item:not(.music-nav-item):not(:last-child) {
        grid-column: 1 / -1;
    }

    .site-header .music-nav-item {
        grid-column: 1;
    }

    .site-header .navbar-nav>.nav-item:last-child {
        grid-column: 2;
    }

    .site-header .music-nav-item .music-toggle,
    .site-header .contact-nav {
        width: 100%;
        margin: 10px 0 0;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-bottom span {
        display: none;
    }

    .hero-bottom a {
        max-width: none;
    }

    .latest-story {
        grid-template-columns: 92px 1fr;
    }

    .latest-story img {
        width: 92px;
        height: 70px;
    }
}

.brand {
    font-family: var(--brand);
    font-style: italic;
    font-weight: 700;
}

h1,
h2 {
    font-family: var(--display);
    font-weight: 400;
}

.community-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.community-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: #fff;
    border: 1px solid #d3d3d3;
}

.community-story-wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
}

.community-story img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.community-story-wide img {
    height: 100%;
    min-height: 360px;
}

.community-story>div {
    padding: 28px;
}

.community-story h3 {
    margin: 12px 0;
    font-size: 22px;
}

.community-story p {
    margin: 0;
    font-size: 14px;
}

.activity-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.activity-image {
    width: calc(100% + 56px);
    height: 210px;
    margin: -28px -28px 24px;
    object-fit: cover;
}

.activity-card .text-link {
    align-self: flex-start;
    margin-top: 8px;
}

.album-modal-content {
    background: #f7f7f5;
}

.album-description {
    max-width: 720px;
}

.album-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.album-modal-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: #e6e6e3;
}

.album-modal-grid img:first-child {
    grid-column: 1 / -1;
    height: min(52vw, 520px);
}

@media (max-width: 767px) {

    .community-story-grid,
    .community-story-wide {
        grid-template-columns: 1fr;
    }

    .community-story-wide img {
        min-height: 260px;
    }

    .album-modal-grid {
        grid-template-columns: 1fr;
    }

    .album-modal-grid img,
    .album-modal-grid img:first-child {
        grid-column: 1;
        height: auto;
        max-height: none;
    }
}
