/* ==========================================================================
   THE HUB: design layer
   Loaded after built/screen.css (see default.hbs), so it overrides the Source
   theme without a build step. Edit this file directly; no compiling needed.

   Typography matches thelibertinemuse.com (Squarespace site styles):
   - Headings: Fraunces 300, line height 1.4, letter spacing 0.025em
   - Body: Poppins 300, 14px, line height 2, letter spacing 0.025em
   - Navigation: Poppins 400, uppercase, 0.9 x base size
   - Buttons: Poppins 600, uppercase, letter spacing 0.1em
   This theme uses 1rem = 10px, so Squarespace sizes are converted to px below.
   ========================================================================== */

:root {
    --hub-font-heading: "Fraunces", Georgia, "Times New Roman", serif;
    --hub-font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    --hub-text: #322d29; /* the main site's black (warm, not pure black) */
    --hub-text-soft: rgb(50 45 41 / 0.7);
    --hub-line: rgb(50 45 41 / 0.12);

    /* Sizes from the Brand Foundation (November 2026): smaller and tighter than the main site's old ones */
    --hub-base: 13.5px;
    --hub-h1: 34px;
    --hub-h2: 26px;
    --hub-h3: 19px;
    --hub-h4: 15px;
    --hub-nav: 12.6px;
    --hub-button: 10.5px;

    /* Make the theme's own font variables point to the Hub fonts */
    --font-sans: var(--hub-font-body);
    --font-serif: var(--hub-font-heading);
    --gh-font-heading: var(--hub-font-heading);
    --gh-font-body: var(--hub-font-body);
    --color-darker-gray: var(--hub-text);
    --color-primary-text: var(--hub-text);
    --color-secondary-text: var(--hub-text-soft);

    /* More white space */
    --container-width: 1200px;
    --container-gap: clamp(24px, 5vw, 72px);
    --grid-gap: 56px;
    --content-width: 680px;
}

/* ---------- Base ---------- */

body {
    font-family: var(--hub-font-body) !important;
    font-size: var(--hub-base);
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.025em;
    color: var(--hub-text);
}

h1, h2, h3, h4, h5, h6,
.is-title,
.gh-content :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--hub-font-heading) !important;
    font-weight: 300 !important;
    line-height: 1.4;
    letter-spacing: 0.025em !important;
    color: var(--hub-text);
}

.is-body,
.gh-content {
    font-family: var(--hub-font-body) !important;
}

strong, b {
    font-weight: 500;
}

/* ---------- Buttons ---------- */

/* Every Hub button; the colours are set in BRAND FOUNDATION at the end of this file */
.gh-button,
.hub-button,
.subscribe-button {
    font-family: var(--hub-font-body) !important;
    font-size: var(--hub-button) !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    padding: 14px 18px !important;
    border: 1px solid #e2dcd6 !important;
    border-radius: 0 !important;
    color: #322d29 !important;
    background: #e2dcd6 !important;
    text-decoration: none !important;
    transition: background-color 0.2s;
}

.gh-button:hover,
.hub-button:hover,
.subscribe-button:hover {
    opacity: 1 !important;
    background: #d8d1ca !important;
    border-color: #d8d1ca !important;
}

.hub-button {
    display: inline-block;
}

/* ---------- Navigation (desktop) ---------- */

.gh-navigation {
    height: 110px;
}

.gh-navigation-logo {
    font-family: var(--hub-font-heading) !important;
    font-size: 22.4px !important; /* site title 1.6rem */
    font-weight: 300 !important;
    letter-spacing: 0.025em !important;
}

.gh-navigation .nav a,
.gh-navigation-members a:not(.gh-button) {
    font-family: var(--hub-font-body);
    font-size: var(--hub-nav) !important;
    font-weight: 400 !important;
    letter-spacing: 0.025em;
    text-transform: uppercase !important;
}

.gh-navigation .nav {
    gap: 44px;
}

/* Desktop: logo on the left, menu links aligned right before Sign in / Account */
@media (min-width: 768px) {
    /* Same 44px between every item: menu links, Account and Sign out
       (the grid already adds 24px between the menu and the account links) */
    .gh-navigation.is-left-logo .gh-navigation-menu {
        justify-content: flex-end;
        margin-right: 20px;
        margin-left: 16px;
    }

    .gh-navigation-members {
        gap: 44px;
    }
}

/* No search on the Hub (the main site has none) */
.gh-search,
.gh-navigation [data-ghost-search] {
    display: none !important;
}

/* ---------- Navigation (mobile), like the main site's menu ---------- */

@media (max-width: 767px) {
    #gh-navigation,
    #gh-navigation .gh-navigation-brand {
        height: 80px;
    }

    /* Title centred, menu button on the right */
    #gh-navigation .gh-navigation-brand {
        grid-template-columns: 44px 1fr 44px;
    }

    #gh-navigation .gh-navigation-logo {
        grid-column: 2;
        justify-self: center;
        font-size: 25.2px !important; /* mobile site title 1.8rem */
    }

    #gh-navigation .gh-burger {
        grid-column: 3;
        justify-self: end;
    }

    /* Menu items: centred, uppercase, light, generous spacing */
    .is-open#gh-navigation .gh-navigation-menu {
        align-items: center;
        justify-content: center;
    }

    #gh-navigation .nav {
        gap: 0;
        align-items: center;
        text-align: center;
    }

    #gh-navigation .nav a {
        display: inline-block;
        margin: 14px 5vw;
        font-family: var(--hub-font-body);
        font-size: var(--hub-base) !important;
        font-weight: 400 !important;
        letter-spacing: 0.025em;
        line-height: 1.4;
        text-transform: uppercase !important;
    }

    /* Phone menu for visitors: Sign in the same size as Your account for members */
    #gh-navigation .gh-button {
        width: 100%;
        font-size: 11.5px !important;
        letter-spacing: 0.16em !important;
        padding: 14px !important;
    }
}

/* ---------- Post cards (Source's lists; the Hub has no posts) ---------- */

.gh-card-title {
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
}

.gh-card-excerpt {
    margin-top: 12px;
    font-size: var(--hub-base);
    font-weight: 300;
    line-height: 2;
    color: var(--hub-text-soft);
    -webkit-line-clamp: 3;
}

.gh-card-image {
    margin-bottom: 24px;
}

/* ---------- Pages and posts ---------- */

.gh-article-header {
    margin: clamp(56px, 8vw, 120px) 0 clamp(32px, 4vw, 56px);
}

.page-template .gh-article-header {
    margin-block: clamp(56px, 8vw, 120px) clamp(32px, 4vw, 56px);
}

.gh-article-title {
    font-size: clamp(30px, 6vw, var(--hub-h1)) !important;
    line-height: 1.4 !important;
}

.gh-article-excerpt {
    font-family: var(--hub-font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.025em;
    color: var(--hub-text-soft);
}

.gh-content {
    font-size: var(--hub-base);
    line-height: 2;
    letter-spacing: 0.025em;
}

.gh-content > * + * {
    margin-top: 24px;
}

.gh-content > [id]:not(:first-child) {
    margin-top: 64px;
}

.gh-content h1 { font-size: clamp(30px, 6vw, var(--hub-h1)); }
.gh-content h2 { font-size: clamp(28px, 5vw, var(--hub-h2)); }
.gh-content h3 { font-size: clamp(24px, 4vw, var(--hub-h3)); }
.gh-content h4 { font-size: var(--hub-h4); }

.gh-content a {
    color: var(--hub-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* ---------- Membership banner (homepage + paywall) ---------- */

.hub-banner {
    position: relative;
    padding: clamp(72px, 10vw, 128px) 24px;
    text-align: center;
    background-color: #efe7df;
    background-position: center;
    background-size: cover;
}

/* Soft light veil so the dark text stays readable over the photo */
.hub-banner.has-image::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgb(250 246 241 / 0.55);
}

.hub-banner-inner {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
}

.hub-banner-label {
    margin-bottom: 16px;
    font-family: var(--hub-font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--hub-text);
}

.hub-banner-heading {
    margin: 0;
    font-size: clamp(26px, 4.2vw, var(--hub-h3)) !important;
    line-height: 1.3 !important;
}

.hub-banner .hub-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding: 16px 26px !important;
}

.hub-banner-arrow {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
}

/* Mobile: show the right side of the photo (keeps the olive branches in view) */
@media (max-width: 767px) {
    .hub-banner.has-image {
        background-position: right center;
    }
}

/* Homepage: full width, after the cards */
.home-template .hub-banner {
    margin-top: clamp(48px, 8vw, 112px);
}

/* Paywall: inside the page, wider than the text column */
.gh-content > .hub-banner {
    margin-top: 56px;
    margin-bottom: 24px;
    grid-column: wide-start / wide-end;
}

.gh-content .hub-banner p {
    margin-top: 20px;
}

.gh-content .hub-banner .hub-banner-label {
    margin-top: 0;
}

/* Public preview above the paywall: the last lines fade out */
.gh-content > .hub-preview {
    grid-column: full-start / full-end;
    margin-top: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 110px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 110px), transparent 100%);
}

.gh-content > .hub-preview + .hub-banner {
    margin-top: 32px;
}

/* ---------- Paywall box (error message only) ---------- */

.hub-paywall {
    margin: 48px 0;
    padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 48px);
    text-align: center;
    background: #faf8f6;
    border: 1px solid var(--hub-line);
}

.hub-paywall-message {
    margin-bottom: 28px;
    font-size: 15px;
    color: var(--hub-text);
}

/* ---------- Sign-in page ---------- */

.subscribe-input {
    font-family: var(--hub-font-body);
    font-size: 15px;
    border-radius: 0 !important;
}

/* "Please enter your email" label above the field, centred */
.subscribe-fieldset legend {
    margin: 0 auto 4px;
    text-align: center;
    font-size: var(--hub-base);
    color: var(--hub-text-soft);
}

/* ---------- Footer ---------- */

.hub-footer {
    margin-top: clamp(48px, 8vw, 96px);
    padding-block: 40px 48px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.025em;
    color: var(--hub-text-soft);
}

.home-template .hub-footer {
    margin-top: 0;
}

.hub-footer .gh-footer-inner {
    display: block;
}

.hub-footer p {
    margin: 0;
}

.hub-footer-link {
    margin-top: 6px !important;
}

.hub-footer-link a {
    color: var(--hub-text) !important;
    text-decoration: none;
}

.hub-footer-link a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Meetups (assets/js/hub-meetups.js) ---------- */

.hub-meetups {
    --hub-accent: #7d7067;
    grid-column: main-start / main-end;
    margin-top: 40px;
}

.hub-form input,
.hub-form select,
.hub-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: var(--hub-font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--hub-text);
    background: #fff;
    border: 1px solid var(--hub-line);
    border-radius: 0;
    outline: none;
}

.hub-form :is(input, select, textarea):focus {
    border-color: var(--hub-text);
}

.hub-meetups-status {
    padding: 32px 0;
    color: var(--hub-text-soft);
}

.gh-content .hub-meetup-ages {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    font-size: 12.6px;
    line-height: 1;
    color: var(--hub-text-soft);
}

.hub-age {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hub-age-icon {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hub-meetup-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 0 0 2px;
    font-family: var(--hub-font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--hub-accent);
    background: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    cursor: pointer;
}

.hub-meetups-more {
    display: block;
    margin: 32px auto 0;
    padding: 12px 28px;
    font-family: var(--hub-font-body);
    font-size: 11.9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hub-text);
    background: none;
    border: 1px solid var(--hub-text);
    cursor: pointer;
}

.hub-meetups-more[hidden] {
    display: none;
}

/* ---------- Events (assets/js/hub-events.js): filter, status and Show more use the Meetups styles above ---------- */

.hub-events,
.hub-saved {
    --hub-event-title: #3b3430;  /* warm charcoal */
    --hub-event-taupe: #7d7067;  /* soft taupe, still readable on the page background */
    --hub-event-line: rgb(125 112 103 / 0.16);
    --hub-accent: #7d7067;
}

/* Month: a chapter opening rather than a label */

.hub-events-month-head {
    margin: 64px 0 8px;
}

.hub-events-month:first-child .hub-events-month-head {
    margin-top: 48px;
}

.gh-content .hub-events-month-title {
    margin: 2px 0 0 !important;
    font-family: var(--hub-font-heading) !important;
    font-size: 54px !important;
    font-weight: 300 !important;
    letter-spacing: -0.01em;
    line-height: 1.1 !important;
    color: var(--hub-accent);
}

/* Short burgundy rule under the month name */
.hub-events-month-head::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin-top: 18px;
    background: var(--hub-accent);
}

/* Message at the bottom of the screen when a save didn't go through */
.hub-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 100;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 12px 18px;
    font-size: 13px;
    color: #fff;
    background: var(--hub-text);
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.hub-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.hub-saved .hub-account-status a {
    color: var(--hub-accent);
}

.hub-event-new {
    display: inline-block;
    margin-right: 10px;
    padding: 1px 7px;
    font-size: 9.8px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.6;
    color: #fff;
    background: var(--hub-accent);
    vertical-align: 1px;
}

@media (max-width: 767px) {
    .hub-events-month-head {
        margin-top: 52px;
    }

    .hub-events-month:first-child .hub-events-month-head {
        margin-top: 36px;
    }

    .gh-content .hub-events-month-title {
        font-size: 40px !important;
    }
}

/* Forms */

.hub-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--hub-line);
}

.hub-form label {
    display: grid;
    gap: 6px;
    font-size: 12.6px;
    font-weight: 400;
    color: var(--hub-text);
}

.hub-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Safari: stop date fields from overflowing the card */
.hub-form-row > * {
    min-width: 0;
}

.hub-form input[type="date"] {
    display: block;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    text-align: left;
}

.hub-form input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

/* Country suggestions */
.hub-country {
    position: relative;
}

.hub-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    margin: 2px 0 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--hub-line);
    box-shadow: 0 8px 24px rgb(50 45 41 / 0.08);
}

.hub-suggest {
    max-height: 264px;
    overflow-y: auto;
}

.hub-state[hidden] {
    display: none;
}

.hub-suggest[hidden] {
    display: none;
}

.hub-suggest li {
    margin: 0;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

.hub-suggest li:hover {
    background: #f7f6f6;
}

.hub-form textarea {
    resize: vertical;
    line-height: 1.6;
}

.gh-content .hub-form-note {
    margin: 0;
    font-size: 12.6px;
    line-height: 1.6;
    color: var(--hub-text-soft);
}

.hub-form-count {
    justify-self: end;
    font-size: 11px;
    color: var(--hub-text-soft);
}

.hub-form .hub-button {
    justify-self: start;
    cursor: pointer;
    border: 0;
}

.hub-form .hub-button:disabled {
    opacity: 0.6;
}

.gh-content .hub-form-result {
    margin: 0;
    font-size: 13px;
    color: var(--hub-accent);
}

.gh-content .hub-form-success {
    margin: 0;
    color: var(--hub-text);
}

@media (max-width: 767px) {

    .hub-form {
        padding: 18px;
    }

    .hub-form-row {
        grid-template-columns: 1fr;
    }

    /* 16px stops iPhones zooming in when a field is tapped */
    .hub-form :is(input, select, textarea),
    .subscribe-input {
        font-size: 16px !important;
    }
}

/* Sign-in confirmation / error: shown under the form instead of floating over the text below */
.subscribe-form .subscribe-notification {
    position: static;
    display: none;
    margin-top: 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--hub-line);
    background: #fff;
    text-align: left;
    font-size: 13px;
    line-height: 1.6;
}

.subscribe-form.success .subscribe-notification,
.subscribe-form.error .subscribe-notification {
    display: flex;
}

.subscribe-notification a {
    color: var(--hub-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Account page (custom-account.hbs) ---------- */

.hub-account-section {
    padding: clamp(56px, 9vw, 120px) 24px clamp(64px, 10vw, 128px);
}

.hub-account {
    max-width: 520px;
    margin: 0 auto;
}

.hub-account-title {
    margin: 0 0 40px;
    text-align: center;
    font-size: clamp(30px, 6vw, var(--hub-h2)) !important;
}

.hub-account-details {
    margin: 0;
    border-top: 1px solid var(--hub-line);
}

.hub-account-details > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hub-line);
}

.hub-account-details dt {
    font-size: 12.6px;
    color: var(--hub-text-soft);
}

.hub-account-details dd {
    margin: 0;
    font-size: 14px;
    text-align: right;
    word-break: break-word;
}

.hub-account-emails {
    margin-top: 48px;
}

.hub-account-subtitle {
    margin: 0 0 8px;
    font-size: 22px !important;
}

.hub-account-status {
    color: var(--hub-text-soft);
}

.hub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hub-line);
    cursor: pointer;
}

.hub-toggle-text {
    display: grid;
    gap: 2px;
}

.hub-toggle-name {
    font-size: 14px;
    font-weight: 400;
}

.hub-toggle-description {
    font-size: 12.6px;
    line-height: 1.6;
    color: var(--hub-text-soft);
}

.hub-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hub-toggle-switch {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    background: #d9d4cf;
    border-radius: 24px;
    transition: background 0.2s;
}

.hub-toggle-switch::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    content: "";
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.hub-toggle input:checked + .hub-toggle-switch {
    background: var(--hub-text);
}

.hub-toggle input:checked + .hub-toggle-switch::after {
    transform: translateX(20px);
}

.hub-toggle input:focus-visible + .hub-toggle-switch {
    outline: 2px solid var(--hub-text);
    outline-offset: 2px;
}

.hub-account-saved {
    min-height: 20px;
    margin: 12px 0 0;
    font-size: 12.6px;
    color: var(--hub-text-soft);
}

.hub-account-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 40px;
}

.hub-account-links a {
    padding-bottom: 2px;
    font-size: 13px;
    color: var(--hub-text);
    border-bottom: 1px solid currentColor;
}

@media (max-width: 767px) {
    .hub-account-links {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Mobile menu: Account above Sign out */
    .is-open#gh-navigation .gh-navigation-members {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* Email preferences: region ticks (assets/js/hub-email-prefs.js) */
.hub-prefs-regions {
    padding: 20px 0 4px;
}

/* Account page: region switches under "All new events" / "All new meetups" */
.hub-prefs-group {
    padding-bottom: 8px;
}

.hub-prefs-regions {
    padding-left: 20px;
}

.hub-toggle-sub {
    padding: 12px 0;
}

.hub-toggle-sub .hub-toggle-name {
    font-size: 13px;
    color: var(--hub-text-soft);
}

.hub-toggle-sub .hub-toggle-switch {
    transform: scale(0.85);
    transform-origin: right center;
}

/* ==========================================================================
   REDESIGN (October 2026): more white space, filter tabs, members' homepage,
   calmer page headers. Mobile first.
   ========================================================================== */

:root {
    --hub-accent-color: #7d7067; /* taupe: lines, labels and marks. Oxblood (--hub-oxblood) is for buttons only */
    --hub-oxblood: #6f3540;
    --hub-taupe: #7d7067;
    --hub-beige: #efe7df;
}

/* Small spaced capitals used above headings and sections */
.hub-eyebrow,
.gh-content .hub-eyebrow {
    margin: 0;
    font-family: var(--hub-font-body);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--hub-taupe);
}

/* ---------- Filter tabs (Events and Meetups) ---------- */

.hub-filters {
    display: flex;
    gap: 24px;
    margin: 0 calc(var(--container-gap) * -1);
    padding: 14px var(--container-gap) 12px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--background-color, #f7f6f6);
}

.hub-filters::-webkit-scrollbar {
    display: none;
}

.hub-filter {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 0 4px;
    font-family: var(--hub-font-body);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.025em;
    white-space: nowrap;
    color: var(--hub-taupe);
    background: none;
    border: 0;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}

.hub-filter[aria-pressed="true"] {
    font-weight: 400;
    color: var(--hub-text);
    border-bottom-color: var(--hub-accent-color);
}

.hub-filter svg {
    width: 12px;
    height: 12px;
    fill: var(--hub-accent-color);
}

/* Events and Meetups: title, one line of info, then the filters on a fine line, then the list */
.hub-meetups {
    margin-top: 0;
}

.page-events .gh-article-header,
.page-meetups .gh-article-header {
    margin-bottom: 20px;
}

.gh-content > .hub-list-start {
    margin-top: 0 !important;
}

.hub-filters {
    border-bottom: 1px solid var(--hub-line);
}

.hub-meetups-list > .hub-meetups-status {
    padding-top: 36px;
}

/* ---------- Events: more air ---------- */

/* Month headings: "OCTOBER 2026" in small burgundy capitals with a fine line running to the right */
.hub-events-month-head {
    margin: 64px 0 4px;
}

.hub-events-month:first-child .hub-events-month-head {
    margin-top: 40px;
}

.hub-events-month-head::after {
    content: none;
}

.gh-content .hub-events-month-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 !important;
    font-family: var(--hub-font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    line-height: 1.4 !important;
    text-transform: uppercase;
    color: var(--hub-accent-color);
}

.gh-content .hub-events-month-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--hub-accent-color);
    opacity: 0.5;
}

/* ---------- Meetups: Share your plans under the listings, heading, short text and the form open ---------- */

/* A white band across the page, so it reads apart from the listings */
.hub-share {
    margin: 72px calc(var(--container-gap) * -1) 0;
    padding: 56px var(--container-gap) 64px;
    background: #fff;
}

@media (min-width: 768px) {
    .hub-share {
        margin-inline: 0;
        padding-inline: 56px;
    }
}

.gh-content .hub-share > * {
    margin: 0;
}

/* Same heading as the homepage sections, with the short burgundy line */
.gh-content .hub-share-title {
    font-size: 32px !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
}

.gh-content .hub-share-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin-top: 22px;
    background: var(--hub-accent-color);
}

.gh-content .hub-share-note {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--hub-text-soft);
}

/* The forms (Share your plans, Write to Anna): no box, small capital labels, fields as a single fine line */
:is(.hub-share, .hub-write) .hub-form {
    gap: 28px;
    margin-top: 36px;
    padding: 0;
    background: none;
    border: 0;
}

:is(.hub-share, .hub-write) .hub-form-row {
    gap: 28px;
}

:is(.hub-share, .hub-write) .hub-form label {
    gap: 4px;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hub-taupe);
}

/* Same size as the body text (14px); iPhones don't zoom in on them thanks to the viewport line in
   default.hbs */
:is(.hub-share, .hub-write) .hub-form :is(input, select, textarea) {
    padding: 10px 0;
    font-size: 14px !important;
    letter-spacing: 0;
    text-transform: none;
    color: var(--hub-text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgb(50 45 41 / 0.25);
}

:is(.hub-share, .hub-write) .hub-form :is(input, select, textarea):focus {
    border-bottom-color: var(--hub-accent-color);
}

:is(.hub-share, .hub-write) .hub-form ::placeholder {
    color: rgb(50 45 41 / 0.4);
}

:is(.hub-share, .hub-write) .hub-form textarea {
    min-height: 96px;
}

/* Age menus: a fine arrow, lined up with the other fields; "Choose" in grey until picked */
:is(.hub-share, .hub-write) .hub-form select {
    padding-right: 24px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d7067' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 2px center;
}

:is(.hub-share, .hub-write) .hub-form select:invalid {
    color: rgb(50 45 41 / 0.4);
}

:is(.hub-share, .hub-write) .hub-form-count {
    letter-spacing: 0;
    text-transform: none;
}

:is(.hub-share, .hub-write) .hub-form .hub-button {
    margin-top: 8px;
    padding: 16px 28px !important;
}

.hub-share-form-slot:empty {
    display: none;
}

/* ---------- Events teaser for visitors (above the paywall) ---------- */

.gh-content > .hub-preview.is-plain {
    -webkit-mask-image: none;
    mask-image: none;
}

.gh-content > .hub-teaser {
    margin-top: 16px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}

.hub-teaser-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--hub-line);
}

.hub-teaser-bar {
    display: block;
    width: 44%;
    height: 10px;
    margin-top: 10px;
    background: #e6dfd8;
}

/* Where the date would be: a tall block and a short bar under it */
.hub-teaser-date .hub-teaser-bar {
    width: 34px;
    height: 34px;
    margin-top: 0;
}

.hub-teaser-date .hub-teaser-bar + .hub-teaser-bar {
    width: 28px;
    height: 8px;
    margin-top: 8px;
}

.hub-teaser-bar.is-title {
    width: 76%;
    height: 15px;
}

/* ---------- Members' homepage (hub-home.hbs + hub-home.js) ---------- */

.hub-home {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(40px, 8vw, 96px) var(--container-gap) clamp(64px, 10vw, 120px);
}

.hub-home-title {
    margin: 10px 0 0;
    font-size: clamp(36px, 9vw, 48px) !important;
    line-height: 1.1 !important;
}

.hub-home-link {
    padding-bottom: 2px;
    font-size: 13px;
    font-weight: 400;
    color: var(--hub-text);
    text-decoration: none;
    border-bottom: 1px solid var(--hub-accent-color);
}

.hub-home-link span {
    margin-left: 4px;
    color: var(--hub-accent-color);
}

/* Grey placeholder rows while events load (homepage and Events page) */
.hub-skeleton-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: center;
    padding: 14px 0;
}

.hub-skeleton-thumb,
.hub-skeleton-lines span {
    display: block;
    background: #ebe5df;
    animation: hub-pulse 1.4s ease-in-out infinite;
}

.hub-skeleton-thumb {
    width: 64px;
    height: 64px;
}

.hub-skeleton-lines {
    display: grid;
    gap: 9px;
}

.hub-skeleton-lines span {
    width: 40%;
    height: 10px;
}

.hub-skeleton-lines span:nth-child(2) {
    width: 75%;
    height: 15px;
}

@keyframes hub-pulse {
    50% { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
    .hub-skeleton-thumb,
    .hub-skeleton-lines span {
        animation: none;
    }
}

.hub-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* A note from Anna: a calm beige block across the full width */
.hub-home .hub-banner {
    margin: 48px calc(var(--container-gap) * -1) 0;
}

@media (min-width: 768px) {
    .hub-home .hub-banner {
        margin-inline: 0;
    }
}

/* ---------- Account page: more air ---------- */

.hub-account-emails {
    margin-top: 64px;
}

.hub-account-links {
    margin-top: 56px;
}

/* ---------- Phones ---------- */

@media (max-width: 767px) {
    .gh-article-header,
    .page-template .gh-article-header {
        margin: 32px 0 24px;
    }

    .hub-events-month-head {
        margin-top: 56px;
    }

    .hub-events-month:first-child .hub-events-month-head {
        margin-top: 36px;
    }

    .gh-content .hub-events-month-title {
        font-size: 13px !important;
    }
}

/* The panel */
.hub-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4000000;
    background: rgb(30 24 20 / 0.38);
    opacity: 0;
    transition: opacity 0.3s;
}

.hub-sheet-backdrop.is-open {
    opacity: 1;
}

.hub-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4000001;
    box-sizing: border-box;
    width: 100%;
    max-width: 600px;
    max-height: 88vh;
    margin: 0 auto;
    padding: 14px 28px calc(36px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--background-color, #f7f6f6);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 40px rgb(30 24 20 / 0.18);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hub-sheet.is-open {
    transform: translateY(0);
}

.hub-sheet:focus {
    outline: none;
}

.hub-sheet[hidden],
.hub-sheet-backdrop[hidden] {
    display: none;
}

.hub-sheet-handle {
    width: 40px;
    height: 4px;
    margin: 0 auto 10px;
    background: rgb(50 45 41 / 0.18);
    border-radius: 4px;
}

.hub-sheet-close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--hub-text);
    background: none;
    border: 0;
    cursor: pointer;
}

.hub-sheet-close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
}

.hub-sheet-body {
    display: grid;
    padding-top: 10px;
}

.hub-sheet-meta {
    margin: 0;
    font-size: 12.6px;
    color: var(--hub-taupe);
}

.hub-sheet-meta .hub-event-new {
    margin-right: 8px;
}

.hub-sheet-title {
    margin: 6px 0 0;
    font-size: 28px !important;
    line-height: 1.25 !important;
}

.hub-sheet-text {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.85;
}

.hub-sheet-text + .hub-sheet-text {
    margin-top: 12px;
}

.hub-sheet-actions {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.hub-sheet .hub-sheet-link {
    display: block;
    text-align: center;
    padding: 16px 20px !important;
}

.hub-sheet-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-family: var(--hub-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hub-accent-color);
    background: none;
    border: 1px solid var(--hub-accent-color);
    cursor: pointer;
}

.hub-sheet-save svg {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.4;
}

.hub-sheet-save[aria-pressed="true"] svg {
    fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
    .hub-sheet,
    .hub-sheet-backdrop {
        transition: none;
    }
}

/* The panel sits outside the event list, so it gets the label colour directly */
.hub-sheet .hub-event-new {
    background: var(--hub-accent-color);
}

/* WATCHLIST: the same small label as NEW, outlined instead of filled */
.hub-event-new.is-watchlist,
.hub-sheet .hub-event-new.is-watchlist {
    color: var(--hub-accent-color);
    background: none;
    box-shadow: inset 0 0 0 1px var(--hub-accent-color);
}

.hub-event-labels {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
}

.hub-event-labels .hub-event-new {
    margin: 0;
}

.hub-event-by {
    font: inherit;
    color: inherit;
}

/* Meetup panel */
.hub-sheet .hub-meetup-panel {
    padding: 0;
    border: 0;
    cursor: auto;
}

.hub-meetup-panel .hub-meetup-ages {
    display: flex;
    gap: 8px;
    margin: 8px 0 0;
    font-size: 12.6px;
    color: var(--hub-taupe);
}

.hub-sheet .hub-meetup-contact {
    display: block;
    width: 100%;
    margin: 0;
    padding: 16px 20px !important;
    text-align: center;
    border: 0;
    cursor: pointer;
}

.hub-sheet .hub-meetup-form-slot .hub-form {
    margin-top: 16px;
}

/* Panel: date and place, labels on the right */
.hub-sheet-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hub-sheet-meta .hub-event-new {
    margin: 0;
}

/* ---------- Phone menu: Your account and Sign out ---------- */

@media (max-width: 767px) {
    .is-open#gh-navigation .gh-navigation-members {
        width: 100%;
        gap: 12px;
    }

    /* Your account: a full-width button (filled in Oxblood, see the end of this file); Sign out: a quiet text link under it */
    #gh-navigation .gh-navigation-members a.hub-nav-account,
    #gh-navigation .gh-navigation-members a.hub-nav-signout {
        display: block;
        width: 100%;
        padding: 14px !important;
        font-size: 11.5px !important;
        font-weight: 500 !important;
        letter-spacing: 0.16em;
        text-align: center;
        text-transform: uppercase;
        background: none;
    }

    #gh-navigation .gh-navigation-members a.hub-nav-signout {
        color: var(--hub-taupe) !important;
    }
}

/* ---------- Members' homepage: base (the look is set in the minimal homepage section further down) ---------- */

.hub-home {
    padding-top: 12px;
}

.hub-home-welcome .hub-home-title {
    margin-top: 12px;
}

/* Short burgundy line under the headline */
.hub-home-welcome .hub-home-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin-top: 26px;
    background: var(--hub-accent-color);
}

.hub-home-intro {
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--hub-text-soft);
}

/* ---------- Page headers v2: editorial, like the homepage welcome ---------- */

/* Small line above the title: the page's Excerpt in Ghost */
.gh-article-header .hub-page-eyebrow {
    margin: 0 0 12px;
    letter-spacing: 0.22em;
    color: var(--hub-taupe);
}

/* Same size as the homepage heading */
.gh-article-header .gh-article-title,
.hub-account-title {
    margin: 0 !important;
    font-size: clamp(36px, 9vw, 48px) !important;
    font-weight: 300 !important;
    line-height: 1.1 !important;
}

/* Short burgundy line under every page title */
.gh-article-header .gh-article-title::after,
.hub-account-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin-top: 26px;
    background: var(--hub-accent-color);
}

.hub-account-title {
    margin-bottom: 48px !important;
    text-align: left;
}

.hub-account-eyebrow {
    margin: 0 0 12px;
    letter-spacing: 0.22em;
    color: var(--hub-taupe);
}

.page-events .gh-article-header,
.page-meetups .gh-article-header {
    margin-bottom: 28px;
}

/* Phones: Your account starts at the same height as the other page titles */
@media (max-width: 767px) {
    .hub-account-section {
        padding-top: 32px;
    }
}

/* ---------- Write to Anna (assets/js/hub-write.js) ---------- */

.hub-write .hub-form {
    margin-top: 8px;
}

/* "Anna will reply to …": the member's Hub email, shown but not editable */
.gh-content .hub-write-reply {
    display: grid;
    gap: 6px;
    margin: 0;
}

.hub-write-reply-label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hub-taupe);
}

.hub-write-reply-email {
    font-size: 14px;
    color: var(--hub-text);
}

/* Events and Meetups: space between the page's intro text and the filter tabs */
.gh-content > * + .hub-list-start {
    margin-top: 36px !important;
}

/* ---------- Log-in section (partials/components/hub-login.hbs): homepage, Hub pages and Sign in for visitors ---------- */

.hub-login {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: calc(100vh - 220px);
    min-height: calc(100svh - 220px);
    padding: 48px var(--container-gap) 72px;
    text-align: center;
}

.hub-login-inner {
    width: 100%;
    max-width: 380px;
}

.hub-login .hub-eyebrow {
    margin: 0 0 14px;
    letter-spacing: 0.22em;
    color: var(--hub-taupe);
}

.hub-login-title {
    margin: 0 !important;
    font-size: clamp(30px, 8vw, 38px) !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
}

.hub-login .subscribe-form {
    max-width: none;
    margin-top: 32px;
}

/* The heading says it all: the "Please enter your email" line is for screen readers only here */
.hub-login .subscribe-fieldset legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* The email field as a single fine line, like the Hub's other forms */
.hub-login .subscribe-input {
    margin-top: 0;
    padding: 12px 0;
    font-size: 14px !important;
    text-align: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgb(50 45 41 / 0.25);
    border-radius: 0 !important;
}

.hub-login .subscribe-input:focus {
    border-bottom-color: var(--hub-accent-color);
}

.hub-login .subscribe-fieldset {
    gap: 24px;
}

.hub-login .subscribe-button {
    width: 100%;
    padding: 16px !important;
}

.hub-login-switch {
    margin: 28px 0 0;
    font-size: 12.6px;
    color: var(--hub-text-soft);
}

.hub-login-switch a {
    color: var(--hub-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Teaser pages (Events, Meetups, Write to Anna) for visitors: the log-in card on a white band under the
   page's public text, not a full screen */
.hub-login.is-teaser {
    display: block;
    min-height: 0;
    margin: 56px 0 0;
    padding: 56px var(--container-gap) 64px;
    background: #fff;
}

.hub-login.is-teaser .hub-login-inner {
    margin: 0 auto;
}

.hub-login.is-teaser .hub-login-title {
    font-size: clamp(26px, 7vw, 32px) !important;
}

@media (min-width: 768px) {
    .hub-login.is-teaser {
        max-width: 720px;
        margin-inline: auto;
    }
}

/* Teaser pages: Ghost's own "This page is for subscribers only" box is replaced by the log-in card */
.hub-teaser-text .gh-post-upgrade-cta {
    display: none !important;
}

/* "Not a member yet?" and "Click here" on two lines */
.hub-login-switch span,
.hub-login-switch a {
    display: block;
}

.hub-login-switch a {
    margin-top: 4px;
}

/* The Source theme adds space above a page's only text block; the teaser text starts right under the header */
.hub-teaser-text .hub-preview > :first-child {
    margin-top: 0 !important;
}

/* More white space at the sides of the log-in card */
.hub-login-inner {
    max-width: 340px;
}

@media (max-width: 767px) {
    .hub-login,
    .hub-login.is-teaser {
        padding-inline: 44px;
    }
}

/* ==========================================================================
   WATCHLIST SWITCH (November 2026)
   ========================================================================== */

/* Events: "Include Watchlist events" above the filter tabs; the small i mark opens the Watchlist panel.
   Under the Saved tab it is hidden but keeps its space */
.hub-watchlist.is-off {
    visibility: hidden;
}

.hub-watchlist {
    padding: 22px 0 18px;
}

.hub-watchlist-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-watchlist-name {
    font-size: 13.3px;
    font-weight: 400;
    cursor: pointer;
}

.hub-watchlist-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    font-family: var(--hub-font-heading);
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    line-height: 1;
    color: var(--hub-taupe);
    background: none;
    border: 1px solid currentColor;
    border-radius: 50%;
    cursor: pointer;
}

.hub-toggle.hub-watchlist-toggle {
    margin-left: auto;
    padding: 0;
    border-bottom: 0;
}

/* Panel: the Watchlist label after the date and place; on its own in the Watchlist panel */
.hub-sheet-meta .hub-event-new.is-watchlist {
    margin: 0 0 0 10px;
}

.hub-sheet-meta.is-label-only .hub-event-new.is-watchlist {
    margin: 0;
}

/* Panel buttons: compact, side by side when they fit, as wide as their words. Shared with Meetups (its Contact button) */
.hub-sheet-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.hub-sheet .hub-sheet-actions .hub-button,
.hub-sheet .hub-sheet-actions .hub-sheet-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    height: 38px;
    padding: 0 14px !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    letter-spacing: 0.12em !important;
}

.hub-sheet .hub-sheet-save svg {
    width: 14px;
    height: 14px;
}

/* Events: "Something missing?" on the white band at the bottom (same band as Meetups' Share your plans) */
.gh-content .hub-experience .hub-experience-button {
    margin-top: 28px;
}

/* Write to Anna: the form on a white band (like Share your plans and Something missing?), the message box in a soft
   beige so it stands out from the white */
.hub-write {
    margin: 8px calc(var(--container-gap) * -1) 0;
    padding: 44px var(--container-gap) 52px;
    background: #fff;
}

@media (min-width: 768px) {
    .hub-write {
        margin-inline: 0;
        padding-inline: 56px;
    }
}

.hub-write .hub-form {
    margin-top: 0;
}

.hub-write .hub-form textarea {
    min-height: 168px;
    margin-top: 8px;
    padding: 14px 16px;
    line-height: 1.7;
    background: #f4efe8;
    border-bottom: 0;
    resize: vertical;
}

.hub-write .hub-form textarea:focus {
    box-shadow: inset 0 -1px 0 var(--hub-accent-color);
}

/* ---------- Members' homepage v6 (November 2026): minimal, one screen, no scrolling ----------
   A note from Anna between two fine lines, signed in Corinthia, then four rows: icon, fine divider, name with a
   short line in small capitals, arrow */
.hub-home {
    padding-top: 0;
    padding-bottom: 28px;
}

.hub-home-note {
    padding: 36px 0 30px;
    border-top: 1px solid var(--hub-line);
}

.hub-home-note .hub-home-note-eyebrow {
    color: var(--hub-text-soft);
    letter-spacing: 0.26em;
}

.hub-home-welcome.hub-home-note .hub-home-title {
    margin-top: 16px;
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 1.15 !important;
}

.hub-home-welcome.hub-home-note .hub-home-title::after {
    content: none;
}

.hub-home-welcome.hub-home-note .hub-home-intro {
    margin-top: 18px;
    font-size: 12.6px;
    line-height: 1.75;
    color: var(--hub-text);
}

.hub-home-welcome.hub-home-note .hub-home-closing {
    margin-top: 12px;
}

.gh-content .hub-home-sign,
.hub-home-sign {
    margin: 16px 0 0;
    font-family: "Corinthia", var(--hub-font-heading);
    font-size: 38px;
    line-height: 1;
    color: var(--hub-text);
}

.hub-home-links {
    border-top: 1px solid var(--hub-line);
}

.hub-home-link-row {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 0 18px;
    padding: 18px 0;
    color: var(--hub-text);
    text-decoration: none;
    border-bottom: 1px solid var(--hub-line);
}

.hub-home-link-row .hub-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--hub-text);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* The fine divider between the icon and the name */
.hub-home-link-text {
    display: grid;
    gap: 6px;
    padding-left: 20px;
    border-left: 1px solid var(--hub-line);
}

.hub-home-link-title {
    font-family: var(--hub-font-heading);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.2;
}

.hub-home-link-note {
    font-size: 8.8px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hub-text-soft);
}

.hub-home-link-arrow {
    font-size: 15px;
    color: var(--hub-text);
    transition: transform 0.2s;
}

@media (hover: hover) {
    .hub-home-link-row:hover .hub-home-link-arrow {
        transform: translateX(4px);
    }
}

.hub-home > .hub-banner {
    margin-top: 28px;
}

.hub-home-note .hub-home-note-eyebrow {
    font-size: 9.5px;
}

/* Line icons (partials/components/hub-icon.hbs): homepage rows and page headers */
.hub-icon {
    display: block;
    fill: none;
    stroke: var(--hub-text);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Page headers: the page's icon with the small line (Excerpt) beside it, above the title */
.hub-page-kicker {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 14px;
}

.hub-page-kicker .hub-icon {
    flex: none;
    width: 30px;
    height: 30px;
}

.gh-article-header .hub-page-kicker .hub-page-eyebrow,
.hub-page-kicker .hub-account-eyebrow {
    margin: 0;
}

.hub-page-kicker:empty {
    display: none;
}

/* Members' homepage: A NOTE FROM ANNA and the arrows in burgundy */
.hub-home-note .hub-home-note-eyebrow,
.hub-home-link-arrow {
    color: var(--hub-accent-color);
}

/* ==========================================================================
   WHITE PAGES, WHITE HEADER (November 2026)
   The page and the logo bar are white, with a fine line under the bar so the header reads apart from the page.
   The bands (Share your plans, Something missing?, Write to Anna, the visitors' log-in card) take the site colour
   (Design settings: Site background color), with white fields on them.
   ========================================================================== */

body {
    background-color: #fff;
}

.gh-navigation {
    background-color: #fff;
    border-bottom: 1px solid var(--hub-line);
}

/* The bottom of the open phone menu (Your account, Sign out / Sign in): white like the rest of the menu.
   Source gives it the site colour, which showed as a grey band */
.gh-navigation-actions {
    background-color: #fff;
}

/* Filter tabs (they scroll away with the page) */
.hub-filters {
    background: #fff;
}

/* The slide-up panel: white like the page */
.hub-sheet {
    background: #fff;
}

/* Bands in the site colour */
.hub-share,
.hub-write,
.hub-login.is-teaser {
    background: var(--background-color, #f7f6f6);
}

/* Fields on the bands: white */
.hub-write .hub-form textarea {
    background: #fff;
}

/* The homepage note no longer needs its own line under the header */
.hub-home-note {
    border-top: 0;
}

/* ---------- Page photos (November 2026) ----------
   The photo at the top of the homepage and of each page (partials/components/hub-page-image.hbs): full width of the
   column, every photo cropped to the same 16:10 shape, centred. The header sits closer to the logo bar when it has one */
.hub-page-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin: 0 0 28px;
}

.gh-article-header:has(.hub-page-image),
.page-template .gh-article-header:has(.hub-page-image) {
    margin-top: 24px;
}

.hub-account-section:has(.hub-page-image) {
    padding-top: 24px;
}

.hub-home .hub-page-image {
    margin-top: 20px;
}

/* Homepage: no fine line between the photo and A note from Anna */
.hub-home .hub-page-image + .hub-home-note {
    border-top: 0;
    padding-top: 4px;
}

/* ==========================================================================
   EVENT ROWS (November 2026, hub-events.js): the date is the row's picture. A large numeral with the month in
   small capitals under it, then the place as the title, the event and organiser in italics, and an arrow.
   No sketches and no description here: the whole row opens the event panel, where the description is.
   ========================================================================== */

.hub-erow {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--hub-line);
    cursor: pointer;
}

.hub-events-month .hub-erow:last-child {
    border-bottom: 0;
}

.gh-content .hub-erow > * {
    margin: 0 !important;
}

/* The date */
.hub-erow-date-art {
    display: grid;
    justify-items: start;
}

.hub-erow-day {
    font-family: var(--hub-font-heading);
    font-size: 44px;
    font-weight: 300;
    font-variant-numeric: lining-nums;
    letter-spacing: -0.02em;
    line-height: 0.95;
    color: var(--hub-text);
}

.hub-erow-month {
    margin-top: 8px;
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--hub-taupe);
}

.hub-erow-until {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    color: var(--hub-taupe);
}

/* The place (the title, and the button that opens the panel: its invisible layer covers the whole row) */
.hub-erow-body {
    min-width: 0;
}

.gh-content .hub-erow-place {
    margin: 0 !important;
    font-size: 21px !important;
    font-weight: 300 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    color: var(--hub-text);
}

.hub-erow-open {
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

.hub-erow-open::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hub-erow-open:focus-visible {
    outline: none;
}

.hub-erow:has(.hub-erow-open:focus-visible) {
    outline: 1px solid var(--hub-accent-color);
    outline-offset: 4px;
}

/* The event and its organiser */
.gh-content p.hub-erow-name {
    margin: 5px 0 0 !important;
    font-family: var(--hub-font-heading);
    font-size: 14.5px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.45;
    color: var(--hub-taupe);
}

.gh-content p.hub-erow-labels {
    display: flex;
    margin: 10px 0 0 !important;
}

.hub-erow-arrow {
    font-size: 15px;
    color: var(--hub-taupe);
    transition: transform 0.2s, color 0.2s;
}

@media (hover: hover) {
    .hub-erow:hover .hub-erow-arrow {
        color: var(--hub-accent-color);
        transform: translateX(3px);
    }
}

/* Under the Saved tab an un-saved event fades until the list is redrawn */
.hub-erow.is-unsaved {
    opacity: 0.4;
}

@media (min-width: 768px) {
    .hub-erow {
        grid-template-columns: 84px 1fr auto;
        gap: 28px;
        padding: 28px 0;
    }

    .hub-erow-day {
        font-size: 54px;
    }

    .gh-content .hub-erow-place {
        font-size: 24px !important;
    }

    .gh-content p.hub-erow-name {
        font-size: 15.5px;
    }
}

/* Event panel: the event and organiser in italics under the place */
.hub-sheet-event {
    margin: 6px 0 0;
    font-family: var(--hub-font-heading);
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.45;
    color: var(--hub-taupe);
}

/* Loading rows: a block where the date will be */
.hub-skeleton-row {
    grid-template-columns: 64px 1fr;
}

.hub-skeleton-thumb {
    width: 40px;
    height: 52px;
}

/* ==========================================================================
   BRAND FOUNDATION (November 2026): the one place for the Hub's type scale and colour rule.
   Type: Fraunces 300 headings set close (line height 1.15, -0.01em), Poppins 300 text at 13.5px with
   1.8 line height, small text at 11.5px in 400, labels and buttons in small spaced capitals (10.5px, 0.2em).
   Colour: Ink for text, Taupe for labels, lines and marks, Oxblood for buttons only (second buttons are outlined in Ink).
   ========================================================================== */

/* ---------- Type ---------- */

body,
.gh-content,
.gh-card-excerpt {
    line-height: 1.8;
    letter-spacing: 0.02em;
}

h1, h2, h3, h4,
.is-title,
.gh-content .is-title {
    letter-spacing: -0.01em !important;
}

/* Page titles (Events, Meetups, Write to Anna, Account), the homepage heading and Welcome back */
.gh-article-header .gh-article-title,
.hub-account-title,
.hub-home-welcome.hub-home-note .hub-home-title,
.hub-login-title,
.hub-login.is-teaser .hub-login-title {
    font-size: clamp(28px, 7.5vw, var(--hub-h1)) !important;
    line-height: 1.15 !important;
}

/* Second headings: Share your plans, Something missing?, the panel's title */
.gh-content .hub-share-title,
.hub-sheet-title,
.hub-banner-heading {
    font-size: var(--hub-h2) !important;
    line-height: 1.2 !important;
}

/* Third headings */
.hub-account-subtitle {
    font-size: var(--hub-h3) !important;
    line-height: 1.3 !important;
}

/* Text */
.hub-sheet-text,
.gh-content .hub-share-note,
.hub-home-welcome.hub-home-note .hub-home-intro,
.hub-account-details dd,
.hub-toggle-name,
.hub-write-reply-email,
.hub-suggest li,
#gh-navigation .nav a {
    font-size: var(--hub-base) !important;
}

.hub-sheet-text,
.gh-content .hub-share-note,
.hub-home-welcome.hub-home-note .hub-home-intro {
    line-height: 1.8;
}

:is(.hub-share, .hub-write) .hub-form :is(input, select, textarea),
.hub-form :is(input, select, textarea),
.hub-login .subscribe-input {
    font-size: var(--hub-base) !important;
}

/* Small text: Poppins 400 so it holds up on a phone */
.hub-sheet-meta,
.hub-meetup-panel .hub-meetup-ages,
.gh-content .hub-meetup-ages,
.hub-login-switch,
.hub-toggle-description,
.hub-toggle-sub .hub-toggle-name,
.gh-content .hub-form-note,
.gh-content .hub-form-result,
.hub-account-details dt,
.hub-account-links a,
.hub-watchlist-name,
.hub-filter,
.hub-footer {
    font-size: 11.5px !important;
    font-weight: 400;
}

/* Labels: small spaced capitals in Taupe */
.hub-eyebrow,
.gh-content .hub-eyebrow,
.hub-home-note .hub-home-note-eyebrow,
:is(.hub-share, .hub-write) .hub-form label,
.hub-write-reply-label,
.hub-banner-label {
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--hub-taupe);
}

/* Month headings on Events: a label with a fine line, no longer in oxblood */
.gh-content .hub-events-month-title {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    color: var(--hub-text);
}

.gh-content .hub-events-month-title::after {
    background: var(--hub-line);
    opacity: 1;
}

/* Event and meetup rows at the new scale: the date stays the largest thing in the list */
.hub-erow-day {
    font-size: 40px;
}

.gh-content .hub-erow-place {
    font-size: var(--hub-h3) !important;
}

.gh-content p.hub-erow-name,
.hub-sheet-event {
    font-size: 13.5px;
}

@media (min-width: 768px) {
    .hub-erow-day {
        font-size: 46px;
    }

    .gh-content .hub-erow-place {
        font-size: 21px !important;
    }

    .gh-content p.hub-erow-name {
        font-size: 14px;
    }
}

/* Meetup rows: the ages sit where an event has its name */
.gh-content .hub-erow .hub-meetup-ages {
    margin: 7px 0 0 !important;
    color: var(--hub-taupe);
}

/* NEW: a small filled Taupe label; WATCHLIST: the same label outlined */
.hub-event-new,
.hub-sheet .hub-event-new {
    font-weight: 500;
    letter-spacing: 0.18em;
    background: var(--hub-taupe);
}

.hub-event-new.is-watchlist,
.hub-sheet .hub-event-new.is-watchlist {
    color: var(--hub-taupe);
    background: none;
    box-shadow: inset 0 0 0 1px var(--hub-taupe);
}

/* ---------- Buttons: Oxblood, and only here ---------- */

.gh-button,
.hub-button,
.subscribe-button {
    font-size: 10.5px !important;
    letter-spacing: 0.2em !important;
    padding: 14px 22px !important;
    color: #fbf6f2 !important;
    background: var(--hub-oxblood) !important;
    border: 1px solid var(--hub-oxblood) !important;
}

.gh-button:hover,
.hub-button:hover,
.subscribe-button:hover {
    background: #5e2c36 !important;
    border-color: #5e2c36 !important;
}

/* Second buttons are outlined in Ink: Sign in in the menu (and Organiser's website in the event panel, below) */
#gh-navigation .gh-button {
    letter-spacing: 0.2em !important;
    color: var(--hub-text) !important;
    background: none !important;
    border: 1px solid rgb(50 45 41 / 0.45) !important;
}

#gh-navigation .gh-button:hover {
    background: none !important;
    border-color: var(--hub-text) !important;
}

.hub-sheet .hub-sheet-actions .hub-button {
    letter-spacing: 0.2em !important;
}

/* ---------- Sign in: type only ---------- */

.hub-login .hub-eyebrow {
    margin: 0 0 16px;
    letter-spacing: 0.2em;
}

.hub-login .subscribe-form {
    margin-top: 36px;
}

/* Not a member yet? The Guide: one line, the link as a small label with a single fine underline */
.hub-login-switch {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-top: 32px;
}

.hub-login-switch span,
.hub-login-switch a {
    display: inline;
    margin: 0;
}

.hub-login-switch a {
    padding-bottom: 3px;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--hub-text);
    border-bottom: 1px solid currentColor;
}

/* Contact this couple: centred across the panel */
.hub-sheet .hub-meetup-contact {
    justify-content: center;
}

/* Meetup rows: the first two lines of the message under the ages (the whole message is in the panel) */
.gh-content p.hub-erow-text {
    display: -webkit-box;
    margin: 8px 0 0 !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--hub-text-soft);
}

/* ---------- 10 November 2026 ---------- */

/* Event panel: Save event is the filled button, Organiser's website the outlined one; side by side whenever
   the screen allows (they wrap only when the two don't fit) */
.hub-sheet .hub-sheet-actions {
    flex-wrap: wrap;
    gap: 8px;
}

.hub-sheet .hub-sheet-actions .hub-sheet-save,
.hub-sheet .hub-sheet-actions .hub-sheet-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    flex: 0 1 auto;
    height: 40px;
    padding: 0 12px !important;
    font-family: var(--hub-font-body);
    font-size: 10.5px !important;
    font-weight: 500;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0;
}

.hub-sheet .hub-sheet-actions .hub-sheet-save {
    color: #fbf6f2 !important;
    background: var(--hub-oxblood) !important;
    border: 1px solid var(--hub-oxblood) !important;
}

.hub-sheet .hub-sheet-actions .hub-sheet-save:hover {
    background: #5e2c36 !important;
    border-color: #5e2c36 !important;
}

/* A saved event: the heart fills in */
.hub-sheet .hub-sheet-actions .hub-sheet-save[aria-pressed="true"] svg {
    color: #fbf6f2;
}

.hub-sheet .hub-sheet-actions .hub-sheet-link {
    color: var(--hub-text) !important;
    background: none !important;
    border: 1px solid rgb(50 45 41 / 0.45) !important;
}

.hub-sheet .hub-sheet-actions .hub-sheet-link:hover {
    border-color: var(--hub-text) !important;
}

/* Your account in the menu: filled in Oxblood (Sign in for visitors stays outlined) */
#gh-navigation .gh-navigation-members a.hub-nav-account {
    padding: 12px 18px !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase;
    color: #fbf6f2 !important;
    background: var(--hub-oxblood) !important;
    border: 1px solid var(--hub-oxblood) !important;
}

#gh-navigation .gh-navigation-members a.hub-nav-account:hover {
    background: #5e2c36 !important;
    border-color: #5e2c36 !important;
}

/* Not a member yet? on one line, then the whole sentence as the link, with a single fine underline */
.hub-login-switch {
    display: block;
}

.hub-login-switch span,
.hub-login-switch a {
    display: block;
}

.hub-login-switch a {
    display: inline-block;
    margin-top: 6px;
    padding-bottom: 2px;
    font-size: 11.5px;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* Visitors' Events teaser: shorter, and closer to the log-in card */
.hub-teaser-row {
    padding: 18px 0;
}

.hub-teaser-text + .hub-login.is-teaser {
    margin-top: 32px;
}
