:root {
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --line: var(--we-line);
    --brand: var(--we-red);
    --brand-dark: var(--we-red-dark);
    --text: var(--we-ink);
    --muted: var(--we-muted);
}

.page-home .site-main > .container {
    padding-top: 18px;
}

.home-layout {
    display: grid;
    gap: 16px;
}

.app-download-quick {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    padding: 14px 18px;
    border: 1px solid #e5b9bd;
    border-left: 5px solid var(--we-red);
    border-radius: 9px;
    background: #fff;
    box-shadow: var(--we-shadow);
}

.app-download-quick-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #fae9eb;
    color: var(--we-red);
    font-size: 21px;
}

.app-download-quick-copy strong,
.app-download-quick-copy span { display: block; }
.app-download-quick-copy strong { color: var(--we-ink); font-size: 15px; }
.app-download-quick-copy span { margin-top: 3px; color: var(--we-muted); font-size: 13px; }

.app-download-quick-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 7px;
    background: var(--we-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.app-download-quick-button:hover,
.app-download-quick-button:focus-visible { background: var(--we-red-dark); color: #fff; }

.facebook-community-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 17px 20px;
    border: 1px solid #d8e6fb;
    border-radius: 9px;
    background: linear-gradient(135deg, #f7faff 0%, #edf5ff 100%);
    box-shadow: var(--we-shadow);
}

.facebook-community-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    font-size: 24px;
}

.facebook-community-copy span {
    display: block;
    margin-bottom: 3px;
    color: #1877f2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.facebook-community-copy strong {
    display: block;
    color: var(--we-ink);
    font-size: 17px;
}

.facebook-community-copy p {
    margin: 3px 0 0;
    color: var(--we-muted);
    font-size: 13px;
}

.facebook-community-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 7px;
    background: #1877f2;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.facebook-community-button:hover {
    background: #1264cf;
    color: #fff;
}

.homepage-community-sponsors {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(245px, 1fr);
    gap: 14px;
    align-items: stretch;
}

.homepage-community-sponsors > * {
    min-width: 0;
}

.homepage-sponsor-slider,
.homepage-sponsor-empty {
    min-height: 176px;
    padding: 15px 16px 12px;
    border: 1px solid #dce9e2;
    border-radius: 9px;
    background: linear-gradient(145deg, #ffffff 0%, #f2f8f4 100%);
    box-shadow: var(--we-shadow);
}

.homepage-sponsor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.homepage-sponsor-heading span,
.homepage-sponsor-empty > span {
    display: block;
    margin-bottom: 3px;
    color: #287251;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.homepage-sponsor-heading h2 {
    margin: 0;
    color: var(--we-ink);
    font-size: 15px;
    line-height: 1.25;
}

.homepage-sponsor-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
}

.homepage-sponsor-controls button {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    padding: 0;
    border: 1px solid #d8e4dc;
    border-radius: 50%;
    background: #fff;
    color: #2d6548;
    cursor: pointer;
}

.homepage-sponsor-controls button:hover,
.homepage-sponsor-controls button:focus-visible {
    border-color: #9fc7ad;
    background: #e8f3ec;
}

.homepage-sponsor-viewport {
    overflow: hidden;
    min-height: 104px;
    margin-top: 8px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .72);
}

.homepage-sponsor-track {
    display: flex;
    width: 100%;
    min-height: 104px;
    transition: transform .45s ease;
}

.homepage-sponsor-slide {
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    text-align: center;
}

.homepage-sponsor-logo {
    display: grid;
    width: 100%;
    height: 66px;
    place-items: center;
}

.homepage-sponsor-logo img {
    display: block;
    width: min(100%, 88px);
    height: 66px;
    object-fit: contain;
    object-position: center;
}

.homepage-sponsor-slide strong {
    overflow: hidden;
    max-width: 100%;
    color: #26372d;
    font-size: 13px;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.homepage-sponsor-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 7px;
}

.homepage-sponsor-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c7d8cc;
    cursor: pointer;
}

.homepage-sponsor-dots button[aria-current="true"] {
    width: 18px;
    border-radius: 999px;
    background: #287251;
}

.homepage-sponsor-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.homepage-sponsor-empty strong {
    color: var(--we-ink);
    font-size: 16px;
    line-height: 1.35;
}

.homepage-sponsor-empty a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 12px;
    color: #287251;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.homepage-sponsor-empty a:hover,
.homepage-sponsor-empty a:focus-visible {
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .homepage-sponsor-track { transition: none; }
}

.editorial-top {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(330px, 0.88fr);
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.featured-story,
.next-panel,
.events-section,
.calendar-panel,
.video-card,
.empty-state,
.organizer-callout,
.facebook-events-panel {
    border: 1px solid var(--we-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: var(--we-shadow);
}

.facebook-events-panel {
    padding: clamp(20px, 2.5vw, 30px);
    background: linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
}

.facebook-events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.facebook-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #1877f2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.facebook-events-header h2 {
    margin: 0;
    color: var(--we-ink);
    font-family: var(--we-serif);
    font-size: clamp(24px, 2.3vw, 32px);
    letter-spacing: -0.035em;
}

.facebook-events-header p {
    margin: 7px 0 0;
    color: var(--we-muted);
}

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

.facebook-event-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce8fb;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 90, 188, 0.08);
}

.facebook-event-media {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    background: #dfe9f7;
}

.facebook-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.facebook-event-card:hover .facebook-event-media img {
    transform: scale(1.025);
}

.facebook-event-date {
    position: absolute;
    left: 13px;
    bottom: 13px;
    display: flex;
    width: 68px;
    min-height: 78px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #185abc;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(21, 33, 52, 0.18);
    text-transform: uppercase;
}

.facebook-event-date span,
.facebook-event-date small {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.facebook-event-date strong {
    margin: 5px 0;
    font-family: var(--we-serif);
    font-size: 26px;
}

.facebook-source-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(24, 119, 242, 0.94);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.facebook-event-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 17px;
}

.facebook-event-copy h3 {
    margin: 7px 0 10px;
    color: var(--we-ink);
    font-size: 19px;
    line-height: 1.2;
}

.facebook-event-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.facebook-event-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 800;
}

.facebook-event-copy .facebook-event-actions {
    margin-top: auto;
    padding-top: 14px;
}

.facebook-event-actions a {
    color: var(--we-red);
    text-decoration: none;
}

.facebook-event-actions .facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1877f2;
}

.featured-story {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    min-height: 400px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.featured-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px, 3.2vw, 42px);
    min-width: 0;
}

.eyebrow {
    margin: 0 0 13px;
    color: var(--we-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.featured-title,
.section-heading,
.next-panel h2,
.calendar-panel h2,
.empty-state h2 {
    font-family: var(--we-serif);
    color: var(--we-ink);
    letter-spacing: -0.035em;
}

.featured-title {
    margin: 0;
    font-size: clamp(29px, 2vw, 32px);
    line-height: 1.08;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    color: var(--we-ink-soft);
    font-size: 14px;
    font-weight: 650;
}

.featured-meta span,
.event-meta-line,
.mini-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.featured-date-box {
    display: grid;
    place-items: center;
    min-width: 78px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f6f6f5;
    text-align: center;
}

.featured-date-box strong {
    color: var(--we-red);
    font-family: var(--we-serif);
    font-size: 31px;
    line-height: 1;
}

.featured-date-box span {
    color: var(--we-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.featured-date-and-copy {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.featured-summary {
    max-width: 580px;
    margin: 0;
    color: var(--we-ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

.featured-button {
    margin-top: 22px;
    min-width: 190px;
}

.featured-media {
    min-height: 400px;
    background: #e8eaed;
}

.featured-media img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.next-panel {
    padding: 18px 22px;
    min-width: 0;
}

.panel-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--we-line);
}

.next-panel h2,
.calendar-panel h2 {
    margin: 0;
    font-size: 28px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--we-red);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.next-list {
    display: grid;
}

.next-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--we-line);
    color: inherit;
    text-decoration: none;
}

.next-item:last-child {
    border-bottom: 0;
}

.next-date {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 54px;
    border-radius: 7px;
    background: #f5f5f4;
    text-align: center;
}

.next-date span {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.next-date strong {
    font-family: var(--we-serif);
    font-size: 20px;
    line-height: 1.05;
}

.next-date small {
    font-size: 10px;
    font-weight: 700;
}

.next-copy h3 {
    margin: 0 0 5px;
    font-family: var(--we-serif);
    font-size: 15px;
    line-height: 1.25;
}

.mini-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    color: var(--we-muted);
    font-size: 11px;
}

.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(330px, 0.88fr);
    gap: 16px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.events-section {
    padding: 20px;
    min-width: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.section-heading {
    margin: 0;
    font-size: clamp(26px, 2.5vw, 36px);
    line-height: 1.2;
}

.event-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.event-news-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--we-line);
    border-radius: 8px;
    background: #fff;
}

.event-card-image-wrap {
    position: relative;
    height: 165px;
    overflow: hidden;
    background: #eceeed;
}

.event-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.event-news-card:hover .event-card-image-wrap img {
    transform: scale(1.025);
}

.card-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: grid;
    min-width: 58px;
    padding: 7px 8px;
    border-radius: 7px;
    background: var(--we-red);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 20px rgba(93, 9, 13, 0.25);
}

.card-date-badge span,
.card-date-badge small {
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.card-date-badge strong {
    margin: 2px 0;
    font-family: var(--we-serif);
    font-size: 22px;
    line-height: 1;
}

.event-card-content {
    padding: 14px 15px 16px;
}

.event-card-content h3 {
    min-height: 50px;
    margin: 0;
    font-family: var(--we-serif);
    font-size: 18px;
    line-height: 1.32;
}

.event-meta-line {
    margin-top: 7px;
    color: var(--we-muted);
    font-size: 12px;
}

.event-excerpt {
    display: -webkit-box;
    min-height: 64px;
    margin: 10px 0 0;
    overflow: hidden;
    color: var(--we-ink-soft);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--we-line);
}

.event-card-footer a {
    color: var(--we-red);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border: 0;
    border-radius: 4px;
    background: #f7e8e9;
    color: var(--we-red-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.calendar-panel {
    padding: 20px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
}

.calendar-month {
    margin: 0;
    color: var(--we-ink);
    font-family: var(--we-serif);
    font-size: 24px;
}

.calendar-switch {
    display: flex;
    gap: 8px;
}

.btn-calendar {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid var(--we-line-strong);
    border-radius: 50%;
    background: #fff;
    color: var(--we-ink);
    box-shadow: none;
    font-size: 0;
}

.btn-calendar::before {
    font-family: bootstrap-icons;
    font-size: 15px;
}

.btn-calendar:first-child::before {
    content: "\f284";
}

.btn-calendar:last-child::before {
    content: "\f285";
}

.btn-calendar:hover,
.btn-calendar:focus-visible {
    border-color: var(--we-red);
    background: #fff;
    color: var(--we-red);
    box-shadow: none;
}

.calendar-grid-wrap {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.calendar-weekdays {
    margin-bottom: 6px;
}

.calendar-weekday {
    padding: 6px 2px;
    color: var(--we-muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.calendar-day,
.calendar-blank {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #f6f6f5;
    color: var(--we-ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.calendar-day.has-events {
    border-color: #f0bec0;
    background: #fff0f1;
    color: var(--we-red-dark);
    cursor: pointer;
}

.calendar-day.is-today {
    border-color: var(--we-red);
    background: var(--we-red);
    color: #fff;
}

.calendar-day-count {
    display: block;
    margin-top: -2px;
    font-size: 8px;
    line-height: 1;
}

.city-promo {
    position: relative;
    min-height: 185px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 8px;
    background: url("editorial/walsrode-panorama.webp") center / cover no-repeat;
}

.city-promo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.18));
    content: "";
}

.city-promo-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 70%;
    min-height: 185px;
    padding: 22px;
    color: #fff;
}

.city-promo-copy strong {
    font-family: var(--we-serif);
    font-size: 30px;
    line-height: 1.04;
}

.city-promo-copy span {
    margin-top: 7px;
    font-size: 13px;
}

.organizer-callout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 26px;
}

.organizer-callout h2 {
    margin: 0;
    font-family: var(--we-serif);
    font-size: 25px;
}

.organizer-callout p {
    margin: 5px 0 0;
    color: var(--we-muted);
}

.callout-actions {
    display: flex;
    gap: 10px;
}

.btn-secondary {
    border-color: var(--we-line-strong);
    background: #fff;
    color: var(--we-ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--we-red);
    background: #fff5f5;
    color: var(--we-red-dark);
}

.all-events-block {
    padding-top: 12px;
}

.events-filter {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid var(--we-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.events-filter form {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr auto;
    gap: 9px;
}

.events-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.events-list-grid .event-news-card:nth-child(-n+3) {
    display: none;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.video-card {
    overflow: hidden;
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: #111;
}

.video-frame iframe,
.video-frame video {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-body {
    padding: 14px;
}

.video-body h3 {
    margin: 0;
    font-family: var(--we-serif);
    font-size: 18px;
}

.empty-state {
    padding: 42px 28px;
    text-align: center;
}

.empty-state i {
    color: var(--we-red);
    font-size: 36px;
}

.empty-state h2 {
    margin: 12px 0 8px;
    font-size: 26px;
}

.empty-state p {
    max-width: 640px;
    margin: 0 auto 18px;
    color: var(--we-muted);
}

.value-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 -28px;
    padding: 20px 28px;
    border-top: 1px solid var(--we-line);
    border-bottom: 1px solid var(--we-line);
    background: #fff;
}

.app-download-panel {
    display: grid;
    gap: 20px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--we-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--we-shadow);
}

.app-download-heading > span {
    color: var(--we-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.app-download-heading h2 {
    margin: 6px 0 5px;
    font-family: var(--we-serif);
    font-size: clamp(24px, 3vw, 32px);
}

.app-download-heading p,
.app-download-card p {
    margin: 0;
    color: var(--we-muted);
    line-height: 1.55;
}

.app-download-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.app-download-card {
    display: grid;
    align-content: start;
    gap: 13px;
    min-width: 0;
    padding: 19px;
    border: 1px solid var(--we-line);
    border-radius: 10px;
    background: #f7f7f8;
}

.app-download-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--we-ink);
    font-size: 18px;
    font-weight: 800;
}

.app-download-platform i {
    color: var(--we-red);
    font-size: 24px;
}

.app-download-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    text-align: center;
}

.app-download-version {
    display: block;
    width: fit-content;
    max-width: 100%;
    color: #566273;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
}

.app-download-coming-soon {
    width: fit-content;
    padding: 8px 11px;
    border: 1px solid #d5d5d8;
    border-radius: 6px;
    background: #ededee;
    color: #57575c;
    font-size: 13px;
    font-weight: 750;
}

.value-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: center;
    min-height: 56px;
    padding: 0 24px;
    border-right: 1px solid var(--we-line);
}

.value-item:last-child {
    border-right: 0;
}

.value-item i {
    color: var(--we-red);
    font-size: 30px;
}

.value-item strong,
.value-item span {
    display: block;
}

.value-item strong {
    font-family: var(--we-serif);
    font-size: 15px;
}

.value-item span {
    color: var(--we-muted);
    font-size: 12px;
}

.modal {
    background: rgba(17, 24, 39, 0.7);
}

.modal-content {
    border-radius: 10px;
    background: #fff;
}

.modal-close {
    color: var(--we-ink-soft);
}

@media (max-width: 1120px) {
    .editorial-top,
    .news-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .next-panel {
        padding-block: 18px;
    }

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

    .event-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sidebar-stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .city-promo {
        margin-top: 0;
    }

    .events-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 820px) {
    .homepage-community-sponsors {
        grid-template-columns: 1fr;
    }

    .homepage-sponsor-slider,
    .homepage-sponsor-empty {
        min-height: 160px;
    }

    .facebook-community-cta {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .facebook-community-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .featured-story {
        grid-template-columns: 1fr;
    }

    .featured-media {
        order: -1;
        min-height: 250px;
    }

    .featured-media img {
        min-height: 250px;
        max-height: 330px;
    }

    .event-card-grid,
    .events-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .organizer-callout {
        grid-template-columns: 1fr;
    }

    .app-download-options {
        grid-template-columns: 1fr;
    }

    .callout-actions {
        flex-wrap: wrap;
    }

    .value-strip {
        grid-template-columns: 1fr;
    }

    .value-item {
        border-right: 0;
        border-bottom: 1px solid var(--we-line);
        padding-block: 14px;
    }

    .value-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 620px) {
    .app-download-quick { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 13px; }
    .app-download-quick-button { grid-column: 1 / -1; width: 100%; }
    .page-home .site-main > .container {
        padding-top: 12px;
    }

    .editorial-top,
    .home-layout {
        gap: 12px;
    }

    .featured-copy {
        padding: 22px 19px 24px;
    }

    .featured-title {
        font-size: 31px;
        overflow-wrap: anywhere;
    }

    .featured-date-and-copy {
        grid-template-columns: 1fr;
    }

    .featured-date-box {
        grid-template-columns: auto auto auto;
        justify-content: start;
        gap: 6px;
        min-width: 0;
        width: fit-content;
    }

    .featured-date-box strong {
        font-size: 23px;
    }

    .next-list,
    .event-card-grid,
    .events-list-grid,
    .sidebar-stack {
        grid-template-columns: 1fr;
    }

    .next-panel,
    .events-section,
    .calendar-panel {
        padding: 17px;
    }

    .section-header,
    .panel-heading-row {
        align-items: flex-start;
    }

    .section-header {
        flex-direction: column;
        gap: 7px;
    }

    .events-filter form {
        grid-template-columns: 1fr;
    }

    .event-card-image-wrap {
        height: 210px;
    }

    .event-card-content h3 {
        min-height: 0;
    }

    .organizer-callout {
        padding: 21px 18px;
    }

    .app-download-panel {
        padding: 20px 17px;
    }

    .app-download-card {
        padding: 17px;
    }

    .app-download-button {
        width: 100%;
    }

    .facebook-events-panel {
        padding: 19px 16px;
    }

    .facebook-event-card {
        min-width: 0;
    }

    .facebook-events-grid {
        grid-template-columns: 1fr;
    }

    .facebook-event-media {
        height: 210px;
    }

    .callout-actions .btn {
        flex: 1 1 100%;
    }

    .value-strip {
        margin-inline: -16px;
        padding-inline: 16px;
    }
}

/* Crop the approved Bingo posters to fill event cards and the featured view. */
:is(.event-card-image-wrap, .featured-media) img:is([src^="event_image.php?id=177&"], [src^="event_image.php?id=178&"], [src^="event_image.php?id=179&"], [src^="event_image.php?id=180&"], [src^="event_image.php?id=181&"], [src^="event_image.php?id=182&"]) {
    object-fit: cover;
    object-position: center;
}
