/* A compact news strip: 128px on desktop, 124px on mobile.
   The complete story opens in a dialog; extra stories stay on one scrollable row. */
.club-news {
    height: 128px;
    color: #182b21;
    background: #f4f0e7;
    border-bottom: 1px solid #dce2d5;
    scroll-margin-top: 90px;
}
.news-strip {
    height: 100%;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding-block: 14px;
}
.news-heading { min-width: 0; }
.news-heading h2 {
    margin: 0;
    color: #193d2b;
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
}
.news-count {
    display: inline-block;
    margin-top: 4px;
    padding: 1px 7px;
    color: #425d47;
    background: #e2e8da;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
}
.news-scroll-hint {
    display: block;
    margin-top: 3px;
    color: #53654f;
    font-size: 11px;
    line-height: 16px;
}
.news-list {
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #71836c #e2e8da;
}
.news-list:focus-visible { outline: 3px solid #245b43; outline-offset: 2px; }
.news-card {
    flex: 0 0 100%;
    min-width: 0;
    height: 80px;
    scroll-snap-align: start;
}
.news-open {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    color: inherit;
    background: #fffdf7;
    border: 0;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
}
.news-open:hover { background: #e8eddf; }
.news-open:focus-visible { outline: 3px solid #245b43; outline-offset: -3px; }
.news-thumb {
    width: 72px;
    height: 64px;
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #e5e9dd;
    border-radius: 5px;
}
.news-thumb img { width: 100%; height: 100%; object-fit: contain; }
.news-copy { flex: 1 1 auto; min-width: 0; }
.news-title,
.news-excerpt {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-title { color: #21452e; font-size: 17px; font-weight: 750; line-height: 25px; }
.news-excerpt { margin-top: 2px; color: #4f6051; font-size: 14px; line-height: 22px; }
.news-more {
    flex: 0 0 auto;
    color: #245b43;
    font-size: 12px;
    font-weight: 800;
    line-height: 18px;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Reuse the site's accessible dialog controls without cropping the news photo. */
.news-dialog { width: min(1000px, calc(100% - 32px)); max-height: 88svh; }
.news-dialog-card {
    max-height: 88vh;
    max-height: 88svh;
    grid-template-columns: minmax(250px, 1.1fr) minmax(0, 1fr);
    align-items: start;
}
.news-dialog-card-text { grid-template-columns: minmax(0, 1fr); }
.news-dialog-image {
    width: 100%;
    height: auto;
    max-height: 78vh;
    max-height: 78svh;
    object-fit: contain;
    background: #e5e9dd;
}
.news-dialog-content { min-width: 0; align-self: start; padding: 66px 30px 36px; }
.news-dialog-content .eyebrow { font-size: 10px; line-height: 1.5; }
.news-dialog-content h2 {
    margin: 12px 0 20px;
    color: #21452e;
    font-size: clamp(27px, 3.6vw, 40px);
    line-height: 1.12;
    overflow-wrap: anywhere;
}
.news-dialog-text { margin: 0; color: #4f6051; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.news-dialog .event-dialog-close:focus-visible { outline: 3px solid #d9ad5b; outline-offset: 3px; }

.halloween-theme .club-news { color: #f7eddf; background: #21191e; border-bottom-color: #543b3b; }
.halloween-theme .news-heading h2 { color: #f8e7d2; }
.halloween-theme .news-count { color: #eac3a2; background: #3c2931; }
.halloween-theme .news-scroll-hint { color: #dcb693; }
.halloween-theme .news-list { scrollbar-color: #bb8057 #3c2931; }
.halloween-theme .news-open { background: #30222a; }
.halloween-theme .news-open:hover { background: #3c2931; }
.halloween-theme .news-open:focus-visible,
.halloween-theme .news-list:focus-visible { outline-color: #ffc185; }
.halloween-theme .news-thumb,
.halloween-theme .news-dialog-image { background: #161218; }
.halloween-theme .news-title,
.halloween-theme .news-dialog-content h2 { color: #fae9d5; }
.halloween-theme .news-excerpt,
.halloween-theme .news-dialog-text { color: #dfcec0; }
.halloween-theme .news-more,
.halloween-theme .news-dialog-content .eyebrow { color: #ffc185; }

@media (max-width: 820px) {
    .club-news { height: 124px; }
    .news-strip {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 20px minmax(0, 1fr);
        gap: 4px;
        padding-block: 8px;
    }
    .news-heading { display: flex; align-items: center; gap: 8px; }
    .news-heading h2 { font-size: 12px; }
    .news-count { margin-top: 0; font-size: 10px; line-height: 16px; }
    .news-scroll-hint { margin: 0 0 0 auto; font-size: 10px; line-height: 16px; }
    .news-card { height: 72px; }
    .news-open {
        display: grid;
        grid-template-columns: 60px minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) 16px;
        column-gap: 11px;
        row-gap: 0;
        padding: 6px 8px;
        border-radius: 6px;
    }
    .news-thumb { grid-column: 1; grid-row: 1 / span 2; width: 60px; height: 60px; }
    .news-copy { grid-column: 2; grid-row: 1; }
    .news-title { font-size: 14px; line-height: 21px; }
    .news-excerpt { margin-top: 0; font-size: 12px; line-height: 19px; }
    .news-more { grid-column: 2; grid-row: 2; font-size: 10px; line-height: 16px; }
    .news-copy:first-child,
    .news-copy:first-child + .news-more { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .news-dialog-card { grid-template-columns: minmax(0, 1fr); }
    .news-dialog-image { max-height: 46vh; max-height: 46svh; }
    .news-dialog-content { padding: 28px 22px; }
    .news-dialog-card-text .news-dialog-content { padding-top: 68px; }
    .news-dialog-content h2 { margin-right: 0; font-size: 29px; }
}
@media print {
    .club-news { background: #fff; border-color: #bbb; }
    .news-open { background: #fff; }
    .news-heading h2, .news-title, .news-excerpt, .news-more { color: #222; }
}
