/* After Hours is the single site-wide visual direction. Loaded after base.min.css. */
body.after-hours {
    --night: #181b20;
    --night-deep: #0d0e11;
    --night-line: #383a3d;
    --night-ink: #eee7dc;
    --night-copy: #d4cec4;
    --night-muted: #aaa49b;
    --night-accent: #ec9e53;
    background: var(--night);
    color: var(--night-ink);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
body.after-hours-chrome {
    --night: #181b20;
    --night-line: #383a3d;
    --night-ink: #eee7dc;
    --night-accent: #ec9e53;
}

body.after-hours header, body.after-hours-chrome header { background: var(--night); }
body.after-hours .navbar, body.after-hours-chrome .navbar {
    background: var(--night) !important;
    border-bottom: 1px solid var(--night-line);
    padding: 12px clamp(18px, 6vw, 90px) !important;
}
body.after-hours .navbar .navbar-brand, body.after-hours-chrome .navbar .navbar-brand {
    background: transparent;
    color: var(--night-ink) !important;
    font: 600 20px "DM Sans", sans-serif;
    padding: 0;
    text-transform: none;
}
body.after-hours .navbar .dropdown-menu, body.after-hours-chrome .navbar .dropdown-menu {
    background-color: var(--night) !important;
    border-color: var(--night-line);
}
body.after-hours .navbar .dropdown-menu .dropdown-item,
body.after-hours-chrome .navbar .dropdown-menu .dropdown-item {
    color: var(--night-ink) !important;
}
body.after-hours .navbar .dropdown-menu .dropdown-item:hover,
body.after-hours .navbar .dropdown-menu .dropdown-item:focus-visible,
body.after-hours-chrome .navbar .dropdown-menu .dropdown-item:hover,
body.after-hours-chrome .navbar .dropdown-menu .dropdown-item:focus-visible {
    background-color: transparent !important;
    color: var(--night-accent) !important;
}
body.after-hours .navbar a.nav-link, body.after-hours-chrome .navbar a.nav-link {
    color: var(--night-ink) !important;
    font-size: 14px;
    text-transform: none;
}
body.after-hours .navbar a:hover,
body.after-hours .navbar a:focus-visible,
body.after-hours-chrome .navbar a:hover,
body.after-hours-chrome .navbar a:focus-visible {
    background-color: transparent !important;
    color: var(--night-accent) !important;
}
body.after-hours .navbar .nav-item.active > a.nav-link,
body.after-hours-chrome .navbar .nav-item.active > a.nav-link {
    background-color: transparent !important;
    box-shadow: inset 0 -2px 0 var(--night-accent);
    color: var(--night-accent) !important;
}
body.after-hours .navbar a:focus-visible,
body.after-hours .navbar button:focus-visible,
body.after-hours-chrome .navbar a:focus-visible,
body.after-hours-chrome .navbar button:focus-visible,
body.after-hours footer a:focus-visible,
body.after-hours-chrome footer a:focus-visible {
    outline: 2px solid var(--night-accent);
    outline-offset: 3px;
}
body.after-hours .navbar button:focus-visible,
body.after-hours-chrome .navbar button:focus-visible { box-shadow: none; }
body.after-hours main { margin: 0 !important; }

body.after-hours footer, body.after-hours-chrome footer {
    background: var(--night);
    border-top: 1px solid var(--night-line);
    color: var(--night-ink);
    padding: 24px clamp(18px, 6vw, 90px);
}
body.after-hours footer .row, body.after-hours-chrome footer .row {
    align-items: center;
    margin: 0 auto;
    max-width: 1100px;
}
body.after-hours footer ul, body.after-hours-chrome footer ul { margin: 0 !important; padding: 0 !important; }
body.after-hours footer a, body.after-hours-chrome footer a { color: #d9d3c9; text-decoration: none; }
body.after-hours footer a:hover, body.after-hours footer i, body.after-hours-chrome footer a:hover, body.after-hours-chrome footer i { color: var(--night-accent); }
body.after-hours .copyright, body.after-hours-chrome .copyright { color: #9f9a92; font-size: 13px; margin-top: 8px; }

.home-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(70px, 12vw, 150px) 8vw 96px;
}
body.after-hours:has(.home-intro) .home-intro {
    background: radial-gradient(ellipse at 82% 45%, #34302a 0, var(--night) 48%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    min-height: 38vh;
    padding-bottom: clamp(16px, 2vw, 28px);
    padding-left: max(9vw, calc((100vw - 1100px) / 2));
    padding-top: clamp(28px, 4.5vw, 64px);
}
body.after-hours.home main > article {
    padding-bottom: clamp(12px, 1.5vw, 20px) !important;
    padding-top: clamp(12px, 1.5vw, 20px) !important;
}
body.after-hours.home main > article .raw-html {
    margin-inline: auto;
    max-width: 74ch;
}
body.after-hours.home main > article .raw-html > div.h-100 {
    border-radius: 8px !important;
    margin-bottom: 0 !important;
    padding: clamp(16px, 2.5vw, 28px) !important;
}
body.after-hours.home main .raw-html p code {
    background: #292c31;
    border-radius: 3px;
    color: #f4c18d;
    display: inline;
    font-family: inherit;
    font-size: .95em;
    padding: .08em .3em;
    white-space: nowrap;
}
body.after-hours.home main .raw-html i.swatch-red { color: var(--night-accent) !important; }
.home-kicker, .blog-deck {
    color: var(--night-accent);
    font: 12px "DM Sans", sans-serif;
    letter-spacing: .08em;
}
.home-intro h1 {
    color: var(--night-ink);
    font: 500 clamp(60px, 8vw, 104px)/1.02 "Newsreader", Georgia, serif;
    letter-spacing: -.025em;
    margin: 20px 0;
    max-width: 1200px;
    text-wrap: balance;
    text-transform: none;
}
.home-intro > p:not(.home-kicker) {
    color: #c3bdb3;
    font-size: 19px;
    max-width: 540px;
}
.home-intro > a {
    color: var(--night-accent);
    font-weight: 600;
}
.blog-index-shell {
    margin: 0 auto;
    max-width: 1100px;
    padding: 48px 28px 90px;
}
.blog-row h2 {
    color: var(--night-ink);
    font: 500 28px/1.15 "Newsreader", Georgia, serif;
}
.blog-row h2 a { color: inherit; }
.post-meta { color: var(--night-muted); font-size: 13px; }

.blog-index-shell { max-width: 1000px; padding-top: 64px; }
.blog-masthead { border-bottom: 1px solid var(--night-line); padding: 32px 0 48px; }
.blog-masthead h1 {
    color: var(--night-ink);
    font: 500 clamp(52px, 7.5vw, 88px)/1.02 "Newsreader", Georgia, serif;
    letter-spacing: -.025em;
    max-width: 944px;
    text-transform: none;
    text-wrap: balance;
}
.blog-deck { color: var(--night-accent); }
.blog-introduction { color: #c3bdb3; font-size: 17px; line-height: 1.6; max-width: 540px; }
.blog-row {
    align-items: center;
    border-bottom: 1px solid var(--night-line);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(220px, 34%) 1fr;
    padding: 30px 0;
}
.blog-thumb img {
    aspect-ratio: 1.65;
    filter: saturate(.72);
    object-fit: cover;
    transition: filter .25s ease;
    width: 100%;
}
.blog-thumb:hover img { filter: saturate(1); }
.blog-row h2 { font-size: clamp(27px, 3.5vw, 38px); line-height: 1.12; margin: 8px 0; }
.blog-row-copy > p:not(.post-meta) { color: #c3bdb3; line-height: 1.6; }
.blog-row .read-link { color: var(--night-accent); font-weight: 600; }

/* Article detail */
body.after-hours.blog-post .text-center {
    margin: 0 auto;
    max-width: 900px;
    padding: clamp(42px, 7vw, 84px) 24px 30px !important;
}
body.after-hours.blog-post .card-title {
    color: var(--night-ink);
    font: 500 clamp(42px, 5vw, 64px)/1.04 "Newsreader", Georgia, serif;
    letter-spacing: -.025em;
    margin: 0 auto;
    max-width: 820px;
    text-transform: none;
}
body.after-hours.blog-post .text-center hr {
    border-color: var(--night-line);
    margin: 22px auto !important;
    max-width: 720px;
}
body.after-hours.blog-post .text-center p {
    color: var(--night-muted);
    font-size: 13px;
}
body.after-hours.blog-post .hero-image { background: var(--night); }
body.after-hours.blog-post .hero-image img {
    display: block;
    max-height: 620px;
    object-fit: cover;
    width: 100%;
}
body.after-hours.blog-post .hero-image.card { border: 0 !important; border-radius: 0 !important; }
body.after-hours.blog-post main > .container {
    max-width: 1120px;
    padding: 44px 24px 90px;
}
body.after-hours.blog-post main > .container > .row > .col-md-8 {
    flex: 0 0 100%;
    margin-left: 0;
    max-width: 100%;
    padding: 0;
    width: 100%;
}
body.after-hours.blog-post main > .container article {
    color: var(--night-copy);
    font-size: 18px;
    line-height: 1.62;
    margin-inline: auto;
    max-width: 82ch;
}
body.after-hours.blog-post main > .container article p,
body.after-hours.blog-post main > .container article li {
    font-size: 1em;
    line-height: inherit;
}
body.after-hours.blog-post main > .container article p {
    margin-bottom: .38em;
    margin-top: 0;
}
body.after-hours.blog-post main > .container article h2,
body.after-hours.blog-post main > .container article h3,
body.after-hours.blog-post main > .container article h4 {
    color: var(--night-ink);
    font-family: "Newsreader", Georgia, serif;
    line-height: 1.16;
    margin: 1.45em 0 .45em;
    text-transform: none;
}
body.after-hours.blog-post main > .container article h2 { font-size: clamp(34px, 4vw, 46px); }
body.after-hours.blog-post main > .container article h3 { font-size: clamp(26px, 3vw, 34px); }
body.after-hours.blog-post main > .container article a,
body.after-hours.blog-post main > .container .small a {
    color: var(--night-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
body.after-hours.blog-post main > .container article blockquote {
    border: 1px solid var(--night-line);
    color: #c3bdb3;
    padding: 18px 22px;
}
body.after-hours.blog-post main > .container article img { height: auto; max-width: 100%; }
body.after-hours.blog-post main > .container article figure { margin: 2rem 0; }
body.after-hours.blog-post main > .container article code {
    background: #23262b;
    color: #f0c58f;
}
body.after-hours.blog-post main > .container article pre {
    background: #23262b;
    border: 1px solid var(--night-line);
    overflow: auto;
    padding: 20px;
}
body.after-hours.blog-post main > .container hr { border-color: var(--night-line); }
body.after-hours.blog-post main > .container .small { color: var(--night-muted); padding-top: 10px; }

@media (max-width: 767.98px) {
    body.after-hours .navbar, body.after-hours-chrome .navbar { padding-block: 8px !important; }
    body.after-hours .navbar-toggler, body.after-hours-chrome .navbar-toggler {
        align-items: center;
        display: inline-flex;
        height: 44px;
        justify-content: center;
        min-width: 44px;
        padding: 0;
        width: 44px;
    }
    body.after-hours .navbar .navbar-nav > .nav-item > a.nav-link,
    body.after-hours-chrome .navbar .navbar-nav > .nav-item > a.nav-link,
    body.after-hours .navbar .dropdown-menu > a.dropdown-item,
    body.after-hours-chrome .navbar .dropdown-menu > a.dropdown-item {
        align-items: center;
        display: flex;
        min-height: 44px;
    }
    body.after-hours .navbar .nav-item.active > a.nav-link,
    body.after-hours-chrome .navbar .nav-item.active > a.nav-link {
        box-shadow: none;
        text-decoration: underline;
        text-decoration-color: var(--night-accent);
        text-underline-offset: 4px;
    }
    body.after-hours footer a, body.after-hours-chrome footer a {
        align-items: center;
        display: inline-flex;
        min-height: 44px;
    }
    body.after-hours footer .list-inline-item > a,
    body.after-hours-chrome footer .list-inline-item > a {
        justify-content: center;
        min-width: 44px;
    }
}

@media (max-width: 700px) {
    .blog-row { gap: 16px; grid-template-columns: 1fr; }
    .blog-thumb img { aspect-ratio: 1.8; }
    .home-intro h1 { font-size: clamp(48px, 14vw, 76px); }
    .blog-masthead h1 { font-size: clamp(46px, 13vw, 70px); }
    .blog-index-shell { padding: 40px 20px 64px; }
    .blog-row h2 { font-size: 31px; }
    body.after-hours footer .row, body.after-hours-chrome footer .row { gap: 10px; }
    body.after-hours footer .text-end, body.after-hours-chrome footer .text-end { text-align: left !important; }
    body.after-hours.blog-post .hero-image img { max-height: 360px; }
    body.after-hours.blog-post main > .container { max-width: none; padding: 32px 20px 64px; }
    body.after-hours.blog-post main > .text-center { padding: 40px 20px 24px !important; }
    body.after-hours.blog-post .card-title { font-size: clamp(34px, 9vw, 48px); }
    body.after-hours.blog-post main > .container article { font-size: 17px; line-height: 1.58; max-width: 100%; }
    body.after-hours.blog-post main > .container article p { line-height: 1.58; margin-bottom: .34em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* MicroBlogs follow the same After Hours palette and long-form type system. */
body.after-hours.microblog-index .microblog-index-shell {
    max-width: 1000px;
    padding: 64px 28px 90px;
}
.microblog-masthead {
    border-bottom: 1px solid var(--night-line);
    padding: 16px 0 36px;
}
.microblog-deck {
    color: var(--night-accent);
    font-size: 13px;
}
.microblog-masthead h1 {
    color: var(--night-ink);
    font: 500 clamp(48px, 7vw, 78px)/1.04 "Newsreader", Georgia, serif;
    letter-spacing: -.025em;
    margin: 12px 0;
    text-transform: none;
}
.microblog-introduction { color: #c3bdb3; font-size: 18px; max-width: 620px; }
.microblog-feed { margin: 0 auto; max-width: 850px; }
.microblog-entry {
    border-bottom: 1px solid var(--night-line);
    padding: 34px 0;
}
.microblog-entry h2 {
    color: var(--night-ink);
    font: 500 clamp(27px, 3.5vw, 36px)/1.14 "Newsreader", Georgia, serif;
    margin: 0 0 14px;
    text-transform: none;
}
.microblog-image { display: block; margin: 0 0 20px; }
.microblog-image img { max-height: 480px; object-fit: cover; width: 100%; }
.microblog-body { color: var(--night-copy); font-size: 17px; line-height: 1.62; }
.microblog-body p { margin: 0 0 .38em; }
.microblog-meta { margin: 18px 0 8px; }
body.after-hours.microblog-index .microblog-meta .badge,
body.after-hours.microblog-post .text-center .badge {
    background: #292c31 !important;
    border: 1px solid #424247;
    border-radius: 0 !important;
    color: #d4cec4 !important;
    font-size: 12px;
    font-weight: 500;
    margin: 0 6px 4px 0;
    padding: 5px 8px;
}
.microblog-tags { color: var(--night-muted); font-size: 13px; }
.microblog-tags a { color: var(--night-accent); margin: 0 8px; }
body.after-hours.microblog-post .text-center { max-width: 900px; }
body.after-hours.microblog-post .text-center h1 { text-transform: none; }
body.after-hours.microblog-post .hero-image img { width: 100%; }
body.after-hours.microblog-tag-index .container,
body.after-hours.microblog-tags-index .container { max-width: 1000px; padding-bottom: 72px; padding-top: 54px; }
body.after-hours.microblog-tag-index .container > h1,
body.after-hours.microblog-tags-index .container > h1 {
    color: var(--night-ink);
    font: 500 clamp(38px, 6vw, 64px)/1.08 "Newsreader", Georgia, serif;
    margin: 0 0 32px;
    text-transform: none;
}
body.after-hours.microblog-tag-index article { border-bottom: 1px solid var(--night-line); padding: 18px 0 26px; }
body.after-hours.microblog-tag-index article > a { color: var(--night-ink); text-decoration: none; }
body.after-hours.microblog-tag-index article h2 { font: 500 clamp(25px, 3vw, 34px)/1.15 "Newsreader", Georgia, serif; text-transform: none; }
body.after-hours.microblog-tag-index article img { max-height: 360px; object-fit: cover; width: 100%; }
body.after-hours.microblog-tag-index .badge { background: #292c31 !important; color: #d4cec4 !important; }
body.after-hours.microblog-tags-index ul { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; }
body.after-hours.microblog-tags-index ul li { color: var(--night-muted); }
body.after-hours.microblog-tags-index ul a { color: var(--night-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.after-hours.microblog-tags-index ul i { color: var(--night-accent); }

body.after-hours.blog-tag-index .container,
body.after-hours.blog-tags-index .container { max-width: 1100px; padding-bottom: 72px; padding-top: 54px; }
body.after-hours.blog-tag-index .container > h1,
body.after-hours.blog-tags-index .container > h1 {
    color: var(--night-ink);
    font: 500 clamp(38px, 6vw, 64px)/1.08 "Newsreader", Georgia, serif;
    margin: 0 0 32px;
    text-transform: none;
}
body.after-hours.blog-tag-index article { border-bottom: 1px solid var(--night-line); padding: 18px 0 26px; }
body.after-hours.blog-tag-index article a { color: var(--night-ink); text-decoration: none; }
body.after-hours.blog-tag-index article h2,
body.after-hours.blog-tag-index .row > h2 {
    color: var(--night-ink);
    font: 500 clamp(25px, 3vw, 34px)/1.15 "Newsreader", Georgia, serif;
    text-transform: none;
}
body.after-hours.blog-tag-index article img { max-height: 360px; object-fit: cover; width: 100%; }
body.after-hours.blog-tag-index article p.small,
body.after-hours.blog-tag-index .row > div p.small { color: var(--night-muted); }
body.after-hours.blog-tag-index hr { border-color: var(--night-line); }
body.after-hours.blog-tag-index .row > div > h5 a { color: var(--night-ink); font: 500 21px/1.2 "Newsreader", Georgia, serif; text-transform: none; }
body.after-hours.blog-tags-index ul { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; }
body.after-hours.blog-tags-index ul li { color: var(--night-muted); }
body.after-hours.blog-tags-index ul a { color: var(--night-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.after-hours.blog-tags-index ul i { color: var(--night-accent); }

/* Shared Wagtail content blocks used by the remaining non-rating pages. */
body.after-hours h1,
body.after-hours h2,
body.after-hours h3,
body.after-hours h4,
body.after-hours h5,
body.after-hours h6 {
    color: var(--night-ink);
    font-family: "Newsreader", Georgia, serif;
    text-transform: none;
}
body.after-hours main a { color: var(--night-accent); text-underline-offset: 3px; }
body.after-hours main a:hover { color: #ffc080; }
body.after-hours main .streamfield,
body.after-hours main .richtext,
body.after-hours main .rich-text {
    color: var(--night-copy);
    font-size: 17px;
    line-height: 1.7;
    max-width: 74ch;
}
body.after-hours main .streamfield p,
body.after-hours main .richtext p,
body.after-hours main .rich-text p { margin-bottom: .55em; }
body.after-hours main .bg-dark,
body.after-hours main .bg-dark-gray { background-color: #202329 !important; color: var(--night-ink) !important; }
body.after-hours main .bg-cobalt { background-color: #3b2a1e !important; color: #f4c18d !important; }
body.after-hours main .bg-dark a,
body.after-hours main .bg-dark-gray a,
body.after-hours main .bg-cobalt a { color: var(--night-accent); }
body.after-hours main .btn-primary,
body.after-hours main .btn-warning {
    background: var(--night-accent);
    border-color: var(--night-accent);
    color: #181b20;
}
body.after-hours main .btn-primary:hover,
body.after-hours main .btn-warning:hover { background: #ffc080; border-color: #ffc080; color: #181b20; }
body.after-hours main figure figcaption { color: var(--night-muted); font-size: 14px; margin-top: 8px; }
body.after-hours main .image-grid .card {
    background: #202329 !important;
    border-color: var(--night-line) !important;
    color: var(--night-copy);
}
body.after-hours main .image-grid .card h4 { color: var(--night-ink); }
body.after-hours main hr { border-color: var(--night-line); opacity: 1; }
body.after-hours main .icon i { color: var(--night-accent); }

@media (max-width: 700px) {
    body.after-hours main .streamfield,
    body.after-hours main .richtext,
    body.after-hours main .rich-text { font-size: 16px; line-height: 1.65; }
}

@media (max-width: 700px) {
    body.after-hours.microblog-index .microblog-index-shell { padding: 42px 20px 64px; }
    .microblog-entry { padding: 26px 0; }
    .microblog-body { font-size: 16px; }
    .microblog-masthead h1 { font-size: clamp(44px, 12vw, 64px); }
    body.after-hours.microblog-post .text-center { padding: 40px 20px 24px !important; }
    body.after-hours.blog-tag-index .container,
    body.after-hours.blog-tags-index .container { padding: 40px 20px 64px; }
}