/* Rainflower club sites: pond palette, Fraunces headings, Instrument Sans text, light + dark. */
:root {
    --rf-paper: #f7fbf9;
    --rf-ink: #10292b;
    --rf-mist: #4f6b69;
    --rf-leaf: #23876a;
    --rf-line: rgb(16 41 43 / 0.12);
    --rf-bar: #10292b;
    --rf-bar-ink: #dff3ec;
    --ghost-accent-color: #23876a;
    --background-color: var(--rf-paper);
    --color-darker-gray: var(--rf-ink);
    --color-primary-text: var(--rf-ink);
    --color-secondary-text: var(--rf-mist);
    --color-border: var(--rf-line);
    --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Fraunces", Georgia, serif;
    --gh-font-heading: "Fraunces", Georgia, serif;
    --gh-font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root {
        --rf-paper: #0f1d1f;
        --rf-ink: #e7f2ef;
        --rf-mist: #9fbcb7;
        --rf-leaf: #7fd1b9;
        --rf-line: rgb(231 242 239 / 0.14);
        --rf-bar: #0a1517;
        --rf-bar-ink: #bfe6d9;
        --ghost-accent-color: #7fd1b9;
        --color-lighter-gray: rgb(255 255 255 / 0.08);
        --color-dark-border: rgb(255 255 255 / 0.45);
    }
}
html, body { background: var(--rf-paper); color: var(--rf-ink); }
body { font-family: var(--font-sans); }
.is-title, h1, h2, h3, .gh-article-title, .gh-card-title, .gh-navigation-logo { font-family: var(--font-serif); letter-spacing: -0.01em; }
.gh-navigation, .gh-footer, .gh-header { background: var(--rf-paper); color: var(--rf-ink); }
a { color: inherit; }
.gh-content a, .gh-footer-copyright a { color: var(--rf-leaf); }
.gh-card-meta, .gh-article-meta-content, .gh-article-excerpt, .gh-card-excerpt { color: var(--rf-mist); }
.gh-card-author { color: var(--rf-leaf); font-weight: 600; }
.gh-button, .gh-primary-button { background: var(--rf-leaf); color: var(--rf-paper); }
/* ── Rainflower bar (locked: club designs can't hide or recolor it) ── */
.rf-topbar {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    min-height: 46px; padding: 0 max(4vmin, 20px); font: 500 14px/1.3 var(--font-sans);
    background: var(--rf-bar); color: var(--rf-bar-ink);
}
.rf-topbar a { color: var(--rf-bar-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.rf-topbar a:hover .rf-back, .rf-topbar .rf-all:hover { text-decoration: underline; }
.rf-topbar .rf-logo { height: 22px; width: auto; display: inline-block; }
.rf-topbar .rf-back { padding-left: 12px; border-left: 1px solid rgb(223 243 236 / 0.3); opacity: 0.9; }
.rf-topbar .rf-all { opacity: 0.85; white-space: nowrap; }
@media (max-width: 480px) { .rf-topbar .rf-back { display: none; } }

/* ── Hero band ── */
.rf-hero { padding: 4px max(4vmin, 20px) 8px !important; border: 0; background: transparent; }
.rf-hero > .gh-inner { max-width: 1200px; }
.rf-hero-band {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: calc(var(--rf-radius, 14px) + 10px);
    background: color-mix(in srgb, var(--rf-leaf) 42%, #06130f); color: #fff;
    padding: clamp(36px, 7vw, 84px) clamp(24px, 6vw, 72px); min-height: 320px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
@media (prefers-color-scheme: dark) { .rf-hero-band { background: color-mix(in srgb, var(--rf-leaf) 26%, #04100c); } .rf-hero-band::before { opacity: 0.45; } }
.rf-hero-band::before, .rf-hero-band::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.rf-hero-band::before { inset: 0; background: radial-gradient(ellipse at 95% 0%, color-mix(in srgb, var(--rf-leaf) 70%, #fff 0%) 0%, transparent 55%), linear-gradient(115deg, rgb(0 0 0 / 0.25), transparent 70%); opacity: 0.75; }
.rf-hero-band::after {
    width: 460px; height: 460px; right: -100px; top: -70px; border-radius: 50%;
    background: repeating-radial-gradient(circle at 52% 49%, transparent 0 19px, rgb(255 255 255 / 0.2) 20px 21px, transparent 22px 32px);
    -webkit-mask-image: linear-gradient(110deg, transparent, #000 52%); mask-image: linear-gradient(110deg, transparent, #000 52%);
}
.rf-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px;
    font: 700 12.5px/1.2 var(--font-sans); letter-spacing: 0.02em; color: #e3f6ea;
    background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.3);
}
.rf-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #9be7a9; }
.rf-hero-title { font-size: clamp(46px, 8.5vw, 104px); line-height: 1; letter-spacing: -0.035em; margin: 0; max-width: 14ch; color: #fff; }
.rf-hero-sub { margin: 16px 0 28px; max-width: 46ch; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: rgb(255 255 255 / 0.86); }
.rf-hero-btn {
    display: inline-block; padding: 12px 20px; border-radius: max(10px, calc(var(--rf-radius, 10px) - 2px));
    background: #e3f6d2; color: #10291f !important; font: 700 15px/1.2 var(--font-sans); text-decoration: none;
}
.rf-hero-btn:hover { background: #f1ffe6; }
.rf-hero-soon { margin: 0; font-size: 15px; color: rgb(255 255 255 / 0.72); }

/* No posts yet: no empty "Latest" section */
.gh-container:not(:has(.gh-card)) { display: none; }
.gh-container-title { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rf-mist); }

/* ── Footer ── */
.gh-footer { margin-top: 48px; }
.gh-footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-bottom: 0; padding-block: 28px 36px; }
.gh-footer-logo { font-size: 26px; }
.gh-footer-menu:empty { display: none; }
.rf-credit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 500 14px/1.4 var(--font-sans); color: var(--rf-mist); }
.rf-credit img { height: 20px; width: auto; display: block; }
.rf-credit a { color: var(--rf-leaf); }
.rf-logo-night { display: none !important; }
@media (prefers-color-scheme: dark) { .rf-logo-day { display: none !important; } .rf-logo-night { display: block !important; } }
@media (max-width: 600px) { .gh-footer-bar { flex-direction: column; align-items: flex-start; } }
