/* Club Coaster Classic. Plain CSS, no build step. Look follows the AstroWind/Tailwind club sites. */
@font-face {
    font-family: "Inter Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary: var(--ghost-accent-color, #1e40af);
    --primary-dark: color-mix(in srgb, var(--primary) 85%, black);
    --text: rgb(16 16 16);
    --heading: #000;
    --muted: rgb(16 16 16 / 66%);
    --page: #fff;
    --line: #e5e7eb;
    --font: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 80rem;
    --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: -0.025em;
    color: var(--text);
    background: var(--page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.menu-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
.icon { display: inline-block; vertical-align: middle; flex: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.25; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--primary); color: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 0; color: #fff; }
.muted { color: var(--muted); }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }

.button {
    display: inline-flex; align-items: center; padding: .5rem .75rem; font-weight: 500;
    border: 1px solid #d1d5db; border-radius: .25rem; background: #fff; color: var(--text);
}
.button:hover { border-color: var(--primary); color: var(--primary); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--page); }
.header-inner { padding: .75rem; }
.header-brand { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { margin-right: .5rem; width: 50px; height: 50px; object-fit: contain; }
.menu-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border: 0; background: none; cursor: pointer; border-radius: .25rem;
}
.menu-toggle span { display: block; width: 1.5rem; height: 2px; margin: 3px 0; background: #000; opacity: .8; border-radius: 9999px; transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.site-nav, .header-end { display: none; }
.menu-open { height: 100vh; overflow-y: auto; }
.menu-open .site-nav { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: .01rem; }
.nav-link {
    display: flex; align-items: center; gap: .25rem; width: 100%; padding: .75rem 1rem;
    font: inherit; letter-spacing: inherit; color: var(--text); background: none; border: 0; cursor: pointer; text-align: left;
}
.nav-link:hover { color: var(--primary); }
.js .nav-child { display: none; }
.dropdown { list-style: none; margin: 0; padding: 0 0 0 1rem; display: none; }
.has-dropdown.open > .dropdown { display: block; }

@media (min-width: 768px) {
    .header-inner { display: flex; justify-content: space-between; padding: .75rem 1.5rem; }
    .header-end { display: block; }
    .menu-toggle { display: none; }
    .site-nav, .menu-open .site-nav { display: flex; align-items: center; margin-inline: 1.25rem; }
    .menu-open { height: auto; overflow: visible; }
    .nav-list { display: flex; font-size: .9375rem; }
    .nav-link { width: auto; }
    .nav-item { position: relative; }
    .dropdown {
        position: absolute; left: 0; top: 100%; min-width: 200px; padding: 0; border-radius: .25rem;
        background: rgb(255 255 255 / 90%); backdrop-filter: blur(8px); filter: drop-shadow(0 20px 13px rgb(0 0 0 / 3%)) drop-shadow(0 8px 5px rgb(0 0 0 / 8%));
    }
    .has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { display: block; }
    .dropdown .nav-link { padding: .5rem 1.25rem; white-space: nowrap; }
    .dropdown li:first-child .nav-link { border-radius: .25rem .25rem 0 0; }
    .dropdown li:last-child .nav-link { border-radius: 0 0 .25rem .25rem; }
    .dropdown .nav-link:hover { background: #f3f4f6; }
}

/* Home and lists */
.hero { display: flex; justify-content: center; overflow: hidden; }
.hero img { max-height: 20rem; width: auto; object-fit: contain; }
.section { padding-block: 3rem; }
@media (min-width: 768px) { .section { padding-block: 4rem; } }
@media (min-width: 1024px) { .section { padding-block: 5rem; } }
.section-head { margin-bottom: 2rem; }
.section-title { margin: 0 0 .5rem; font-size: 1.875rem; font-weight: 700; line-height: 1; letter-spacing: -0.025em; color: var(--heading); }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.archive-link:hover { color: var(--primary); }
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { margin-bottom: 1.5rem; min-width: 0; }
.card-title { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: var(--heading); }
@media (min-width: 640px) { .card-title { font-size: 1.5rem; } }
.card p { margin: 0; }
.card-excerpt { display: block; margin-bottom: 1.5rem; }
.card-image { display: block; margin-top: 1.5rem; border-radius: .25rem; overflow: hidden; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); background: #9ca3af; }
.card-image img { width: 100%; height: 16rem; object-fit: cover; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }

/* Articles and pages */
.article { padding: 2rem 0 3rem; }
@media (min-width: 640px) { .article { padding-top: 4rem; } }
@media (min-width: 1024px) { .article { padding-top: 5rem; padding-bottom: 5rem; } }
.article-header, .article-image, .article-back { width: min(45rem, 100% - 2rem); margin-inline: auto; }
.article-meta { margin: 0 0 .5rem; font-size: .875rem; }
.article-meta a:hover { text-decoration: underline; }
.article-title { margin: 0; font-size: 2.25rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.05em; color: var(--heading); }
@media (min-width: 768px) { .article-title { font-size: 3rem; } }
.article-header hr { margin: 1rem 0 0; border: 0; border-top: 1px solid var(--line); }
.article-image { margin-top: 2rem; margin-bottom: 0; }
.article-image img { width: 100%; border-radius: .375rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1); }
.article-image figcaption { margin-top: .5rem; font-size: .875rem; color: var(--muted); text-align: center; }
.article-back { margin-top: 3rem; margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; color: var(--muted); }
.back-link:hover { color: var(--primary); }

.gh-content {
    --content: 45rem;
    display: grid;
    grid-template-columns:
        [full-start] minmax(1rem, 1fr)
        [wide-start] minmax(0, calc((var(--container) - var(--content)) / 2))
        [main-start] min(var(--content), calc(100% - 2rem))
        [main-end] minmax(0, calc((var(--container) - var(--content)) / 2))
        [wide-end] minmax(1rem, 1fr)
        [full-end];
    margin-top: 2rem;
    font-size: 1.125rem;
    line-height: 1.7777778;
    letter-spacing: -0.0125em;
    color: #374151;
}
@media (min-width: 1024px) { .gh-content { font-size: 1.25rem; line-height: 1.8; } }
.gh-content > * { grid-column: main-start / main-end; min-width: 0; margin: 0 0 1.3333em; }
.gh-content > .kg-width-wide, .gh-content > .kg-gallery-card, .gh-content > .kg-file-card { grid-column: wide-start / wide-end; }
.gh-content > .kg-width-full { grid-column: full-start / full-end; }
.gh-content h1, .gh-content h2, .gh-content h3, .gh-content h4 { margin: 1.8em 0 .8em; font-weight: 700; letter-spacing: -0.05em; line-height: 1.2; color: var(--heading); }
.gh-content h2 { font-size: 1.6em; }
.gh-content h3 { font-size: 1.35em; }
.gh-content > :first-child { margin-top: 0; }
.gh-content a { color: var(--primary); text-decoration: underline; }
.gh-content a:hover { color: var(--primary-dark); }
.gh-content ul, .gh-content ol { padding-left: 1.6em; }
.gh-content li { margin: .4em 0; }
.gh-content blockquote { margin-inline: 0; padding-left: 1em; border-left: .25rem solid var(--line); font-style: italic; }
.gh-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 3em; }
.gh-content img { border-radius: .375rem; }
.gh-content .kg-card figcaption { font-size: .875rem; text-align: center; color: var(--muted); margin-top: .5rem; }
.gh-content pre { overflow-x: auto; padding: 1rem; background: #f3f4f6; border-radius: .375rem; font-size: .875em; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: .9em; }
.gh-content th, .gh-content td { padding: .5em; border-bottom: 1px solid var(--line); text-align: left; }
.gh-content .kg-image-card img, .gh-content .kg-gallery-image img { box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1); }
.gh-content .kg-width-full img { border-radius: 0; }

/* Footer */
.site-footer { margin-top: 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem 1rem; padding-block: 2rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }
@media (min-width: 640px) { .footer-grid { column-gap: 2rem; } }
@media (min-width: 768px) { .footer-grid { padding-block: 3rem; } }
.footer-brand, .footer-sponsors, .footer-links { grid-column: span 12; min-width: 0; }
@media (min-width: 1024px) { .footer-brand, .footer-sponsors, .footer-links { grid-column: span 4; } }
.footer-title { display: inline-block; margin-bottom: .5rem; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.footer-legal { margin: 0; font-size: .875rem; }
.footer-legal a { margin-right: .5rem; color: var(--muted); transition: color .15s; }
.footer-legal a:hover, .footer-columns a:hover { color: #374151; text-decoration: underline; }
.footer-heading { display: block; margin-bottom: .5rem; font-weight: 500; color: #111827; }
.sponsors > * { margin: 0 0 1.25rem; }
.sponsors img, .sponsors figure { max-width: 100%; }
.sponsors a { display: block; }
.sponsors figcaption { display: none; }
.footer-columns { list-style: none; margin: 0; padding: 0; columns: 9rem; column-gap: 2rem; font-size: .875rem; }
.footer-columns li { margin-bottom: .5rem; break-inside: avoid; }
.footer-columns a { color: var(--muted); transition: color .15s; }
.footer-column-start { break-before: column; font-size: 1rem; }
.footer-column-start:first-child { break-before: auto; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.5rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 2rem; } }
.social-links { display: flex; list-style: none; margin: 0 0 0 -.5rem; padding: 0; }
@media (min-width: 768px) { .social-links { order: 1; margin-left: 1rem; margin-bottom: 0; } }
.social-links a { display: inline-flex; padding: .625rem; border-radius: .5rem; color: var(--muted); }
.social-links a:hover { background: #f3f4f6; color: var(--text); }
.copyright { font-size: .875rem; color: #6b7280; }

.error { text-align: center; }
