/* ==========================================================================
   Cookham Reach Sailing Club - site layer on top of Porto 13.1
   Palette comes from porto/css/skins/skin-crsc.css:
     --primary    burgee red   (calls to action, highlights)
     --secondary  club navy    (headings, dark bands)
     --quaternary deep navy    (header, footer, page headers)
     --tertiary   river mist   (alternate section background)
   ========================================================================== */

:root {
    --crsc-radius: 12px;
    --crsc-shadow: 0 18px 40px -18px rgba(12, 35, 54, .35);
    --crsc-ink: var(--secondary);
}

body { font-size: 15px; line-height: 27px; color: #4b5b69; }
h1, h2, h3, h4, h5 { color: var(--crsc-ink); letter-spacing: -.01em; }
h1:focus { outline: none; }
h3, h4 { text-transform: none; }

/* ---------- Brand ---------- */

/* Club logo, white/red variant generated from the original for dark backgrounds */
.crsc-logo { display: block; width: auto; height: auto; }
.crsc-logo--header { height: 74px; transition: height .3s ease; }
html.sticky-header-active .crsc-logo--header { height: 58px; }
.crsc-logo--footer { height: 96px; }
@media (max-width: 991px) { .crsc-logo--header { height: 60px; } }

.crsc-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none !important; }
.crsc-brand__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .03em;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .15);
}
.crsc-brand__text { display: grid; line-height: 1.1; white-space: nowrap; }
.crsc-brand__name { color: #fff; font-weight: 700; font-size: 17px; }
.crsc-brand__sub { color: rgba(255, 255, 255, .7); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

#header .header-logo { min-height: 76px; display: flex; align-items: center; }
#header .header-nav-main nav > ul > li > a { text-transform: none; font-size: 15px; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
    #header .header-nav-main nav > ul > li > a { font-size: 14px; padding-left: 9px !important; padding-right: 9px !important; }
    .crsc-nav-members { display: none; }
    .crsc-brand__sub { display: none; }
}
#header .header-nav-main nav > ul > li > a.active { color: #fff !important; }
@media (min-width: 992px) {
    #header .header-nav-main nav > ul > li > a { position: relative; }
    #header .header-nav-main nav > ul > li > a.active::after {
        content: "";
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--primary);
    }
}
#header.header-transparent .header-body { background-color: transparent !important; }
html.sticky-header-active #header.header-transparent .header-body { background-color: var(--quaternary) !important; }

/* ---------- Photos (river-toned fallback until real images are added) ---------- */

.photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--crsc-radius);
    background:
        radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, .14), transparent 60%),
        linear-gradient(160deg, #2c5a7a 0%, #16395a 50%, #0c2336 100%);
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.crsc-photo-shadow { box-shadow: var(--crsc-shadow); }

/* ---------- Hero (home) ---------- */

.crsc-hero {
    position: relative;
    min-height: min(100vh, 900px);
    min-height: min(100dvh, 900px);
    padding: 120px 0 80px;
    background-color: var(--quaternary);
    /* Photo when set in the admin (--crsc-bg), club gradient underneath if it is missing */
    background-image:
        var(--crsc-bg, none),
        radial-gradient(90% 70% at 85% 10%, rgba(184, 35, 47, .18), transparent 60%),
        linear-gradient(160deg, #1d4a6c 0%, #12324a 45%, #0c2336 100%);
    background-size: cover;
    background-position: center;
}
.crsc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 35, 54, .88) 0%, rgba(12, 35, 54, .55) 55%, rgba(12, 35, 54, .2) 100%);
}
.crsc-hero > .container { min-height: calc(min(100dvh, 900px) - 200px); display: flex; }
.crsc-hero > .container > .row { flex: 1; }
.crsc-hero__heading {
    margin: 0;
    color: #fff;
    font-weight: 800;
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    text-transform: uppercase;
    text-wrap: balance;
}
.crsc-hero__eyebrow { letter-spacing: .14em; }
@media (max-width: 575px) {
    .crsc-hero .btn { width: 100%; justify-content: center; }
    .crsc-hero .d-flex.gap-3 { flex-direction: column; }
}
#header .crsc-nav-join > a { background: var(--primary) !important; color: #fff !important; }
/* Hero entrance in pure CSS: above-the-fold content must not depend on JavaScript */
@media (prefers-reduced-motion: no-preference) {
    .crsc-page-header .crsc-rise { animation: crsc-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
    .crsc-page-header .crsc-rise + .crsc-rise { animation-delay: .12s; }
    .crsc-hero .crsc-rise { animation: crsc-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
    .crsc-hero .crsc-rise:nth-child(2) { animation-delay: .12s; }
    .crsc-hero .crsc-rise:nth-child(3) { animation-delay: .24s; }
    .crsc-hero .crsc-rise:nth-child(4) { animation-delay: .36s; }
}
@keyframes crsc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.crsc-btn-ghost-light { color: #fff !important; border-color: rgba(255, 255, 255, .7) !important; }
.crsc-btn-ghost-light:hover { background: #fff !important; color: var(--secondary) !important; }
.crsc-hero__lead { max-width: 40rem; margin: 1.25rem 0 0; color: rgba(255, 255, 255, .85); font-size: 1.2rem; line-height: 1.6; }

/* ---------- Section heading (Porto event style) ---------- */

.crsc-heading__label {
    display: block;
    margin-bottom: .4rem;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.crsc-heading__title { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 700; }
.crsc-lead-text p { font-size: 1.15rem; line-height: 1.8; }

/* ---------- Activity tiles ---------- */

.crsc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
    height: 100%;
    padding: 1.75rem;
    overflow: hidden;
    border-radius: var(--crsc-radius);
    background: #fff;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(12, 35, 54, .06);
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s cubic-bezier(.16, 1, .3, 1);
}
.crsc-tile:hover { transform: translateY(-4px); box-shadow: var(--crsc-shadow); }
.crsc-tile h3 { margin: 0 0 .35rem; font-size: 1.35rem; font-weight: 700; }
.crsc-tile p { margin: 0; line-height: 1.6; }
.crsc-tile__icon { margin-bottom: auto; font-size: 2rem; color: var(--primary); }
.crsc-tile__more { display: inline-block; margin-top: .9rem; font-size: 13px; font-weight: 600; color: var(--primary); }
.crsc-tile .crsc-tile__photo { position: absolute; inset: 0; border-radius: 0; }
.crsc-tile .crsc-tile__photo img { transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.crsc-tile:hover .crsc-tile__photo img { transform: scale(1.04); }
.crsc-tile--photo { min-height: 300px; }
.crsc-tile--photo-lg { min-height: 460px; }
.crsc-tile--photo .crsc-tile__body, .crsc-tile--photo-lg .crsc-tile__body { position: relative; z-index: 1; }
.crsc-tile--photo::after, .crsc-tile--photo-lg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 35, 54, .9) 0%, rgba(12, 35, 54, .1) 60%);
}
.crsc-tile--photo h3, .crsc-tile--photo-lg h3 { color: #fff; }
.crsc-tile--photo p, .crsc-tile--photo-lg p { color: rgba(255, 255, 255, .85); max-width: 38rem; }
.crsc-tile--photo .crsc-tile__more, .crsc-tile--photo-lg .crsc-tile__more { color: #fff; }
.crsc-tile--photo-lg h3 { font-size: 1.8rem; }
.crsc-tile--primary { background: var(--primary); }
.crsc-tile--primary h3, .crsc-tile--primary .crsc-tile__icon, .crsc-tile--primary .crsc-tile__more { color: #fff; }
.crsc-tile--primary p { color: rgba(255, 255, 255, .88); }
.crsc-tile--navy { background: var(--secondary); min-height: 300px; }
.crsc-tile--navy h3, .crsc-tile--navy .crsc-tile__more { color: #fff; }
.crsc-tile--navy .crsc-tile__icon { color: var(--primary--300); }
.crsc-tile--navy p { color: rgba(255, 255, 255, .8); }

/* ---------- Counters ---------- */

.crsc-counters .counter { display: flex; flex-direction: column; align-items: center; text-align: center; }
.crsc-counters .counter > i[class*="fa-"] {
    display: grid !important;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff !important;
    font-size: 26px !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.crsc-counters .counter strong { padding-top: 0 !important; font-size: 44px; line-height: 1; }
.crsc-counters .counter label { display: block; max-width: 16rem; line-height: 1.4; }

/* ---------- Date badge, countdown, events ---------- */

.crsc-date-badge {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    line-height: 1;
    box-shadow: 0 12px 30px -12px var(--primary-rgba-60);
}
.crsc-date-badge__day { font-size: 38px; font-weight: 800; align-self: end; }
.crsc-date-badge__month { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; align-self: start; padding-top: 4px; }
.crsc-date-badge--sm { width: 76px; height: 76px; }
.crsc-date-badge--sm .crsc-date-badge__day { font-size: 26px; }
.crsc-date-badge--sm .crsc-date-badge__month { font-size: 11px; }

.crsc-countdown { display: flex; justify-content: center; }
.crsc-countdown span > span { display: inline-block; min-width: 88px; padding: 14px 10px; margin: 0 4px; border-radius: var(--crsc-radius); background: var(--tertiary); text-align: center; }
.crsc-countdown .font-weight-bold { display: block; font-size: 34px; line-height: 1.1; }
@media (min-width: 992px) { .crsc-countdown { justify-content: flex-end; } }

.crsc-event-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--grey-300);
    border-radius: var(--crsc-radius);
    background: #fff;
    transition: box-shadow .3s ease, transform .3s ease;
}
.crsc-event-row:hover { box-shadow: var(--crsc-shadow); transform: translateY(-2px); }
.crsc-event-row--highlight { border-color: var(--primary-rgba-40); background: var(--primary-rgba-10); }
@media (max-width: 575px) { .crsc-event-row { flex-wrap: wrap; } }

/* ---------- Events calendar ---------- */

.crsc-cal-toolbar { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1.25rem; }
.crsc-cal-month { margin: 0; min-width: 14rem; text-align: center; font-size: 1.8rem; font-weight: 700; }
.crsc-cal-nav { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--grey-300); border-radius: 50%; color: var(--secondary); text-decoration: none !important; transition: border-color .2s ease, color .2s ease; }
.crsc-cal-nav:hover { border-color: var(--primary); color: var(--primary); }

.crsc-cal-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-bottom: 2rem; }
.crsc-cal-chip { --chip: var(--secondary); display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .9rem; border: 1px solid var(--grey-300); border-radius: 999px; background: #fff; color: var(--secondary); font-size: 13.5px; font-weight: 600; text-decoration: none !important; }
.crsc-cal-chip:hover { border-color: var(--chip); }
.crsc-cal-chip.is-active { background: var(--chip); border-color: var(--chip); color: #fff; }
.crsc-cal-chip.is-active .crsc-cal-dot { background: #fff; }
.crsc-cal-dot { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; background: var(--chip, var(--secondary)); }

.crsc-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--grey-300); border-radius: var(--crsc-radius); overflow: hidden; background: var(--grey-300); gap: 1px; }
.crsc-cal__dow { padding: .6rem; background: var(--secondary); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.crsc-cal__day { display: flex; flex-direction: column; gap: 3px; min-height: 118px; padding: .4rem .45rem .5rem; background: #fff; }
.crsc-cal__day.is-other { background: var(--grey-100); }
.crsc-cal__day.is-other .crsc-cal__num { color: var(--grey-700); }
.crsc-cal__num { align-self: flex-end; display: grid; place-items: center; min-width: 26px; height: 26px; margin-bottom: 2px; border-radius: 50%; font-size: 13px; font-weight: 600; color: var(--secondary); }
.crsc-cal__day.is-today .crsc-cal__num { background: var(--primary); color: #fff; }
.crsc-cal__pill { --chip: var(--secondary); display: block; overflow: hidden; padding: 2px 6px; border-left: 3px solid var(--chip); border-radius: 4px; background: color-mix(in srgb, var(--chip) 12%, #fff); color: var(--secondary); font-size: 12px; font-weight: 600; line-height: 1.45; white-space: nowrap; text-overflow: ellipsis; text-decoration: none !important; }
.crsc-cal__pill:hover { background: color-mix(in srgb, var(--chip) 22%, #fff); }
.crsc-cal__time { margin-right: 3px; font-weight: 500; color: var(--grey-1000); }
.crsc-cal__more { font-size: 12px; font-weight: 600; color: var(--primary); text-decoration: none; }
.crsc-cal-type { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .2rem; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--chip); }
.crsc-event-row { border-left: 4px solid var(--chip, var(--grey-300)); scroll-margin-top: 110px; }
.crsc-event-row:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip) 35%, transparent); }
@media (max-width: 767px) {
    .crsc-cal { display: none; }
    .crsc-cal-month { min-width: 0; font-size: 1.4rem; }
    .crsc-cal-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; }
    .crsc-cal-chip { white-space: nowrap; }
}

/* ---------- Inner page header ---------- */

.crsc-page-header {
    background-color: var(--quaternary);
    background-image: var(--crsc-bg, none), linear-gradient(160deg, #1d4a6c 0%, #12324a 50%, #0c2336 100%) !important;
    background-size: cover;
    background-position: center;
    padding: 190px 0 90px !important;
    margin: 0 !important;
}
.crsc-page-header__lead { max-width: 46rem; margin: .5rem auto 0; color: rgba(255, 255, 255, .85); font-size: 1.15rem; line-height: 1.7; }
.crsc-page-header .breadcrumb { margin-bottom: 1rem; }
.crsc-page-header .breadcrumb > li.active { color: #f3a6ac; }
.crsc-offset-header { padding-top: 150px !important; }

/* ---------- Call to action band ---------- */

.crsc-cta { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-200) 100%) !important; }
.crsc-cta h2 { color: #fff; }

/* ---------- Feature cards ---------- */

.crsc-feature {
    padding: 2rem;
    border-radius: var(--crsc-radius);
    background: #fff;
    box-shadow: 0 1px 2px rgba(12, 35, 54, .06), 0 10px 30px -18px rgba(12, 35, 54, .25);
}
.bg-transparent .crsc-feature { border: 1px solid var(--grey-300); box-shadow: none; }
.crsc-feature__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: var(--primary-rgba-10);
    color: var(--primary);
    font-size: 22px;
}
.crsc-feature__text p:last-child { margin-bottom: 0; }

/* ---------- Member benefits ---------- */

.crsc-perks { background: linear-gradient(160deg, #16395a 0%, var(--secondary) 55%, var(--quaternary) 100%) !important; }
.crsc-perks__lead { max-width: 38rem; margin: .75rem auto 0; color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.crsc-perk {
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--crsc-radius);
    background: rgba(255, 255, 255, .05);
    transition: background-color .3s ease, transform .3s ease;
}
.crsc-perk:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.crsc-perk__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 14px; background: var(--primary); color: #fff; font-size: 20px; }
.crsc-perk h3 { margin: 0 0 .4rem; color: #fff; font-size: 1.1rem; font-weight: 700; }
.crsc-perk p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 14px; line-height: 1.6; }

/* ---------- Membership plans ---------- */

.crsc-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.25rem 1.5rem 1.75rem;
    border: 1px solid var(--grey-300);
    border-radius: var(--crsc-radius);
    background: #fff;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.crsc-plan:hover { transform: translateY(-4px); box-shadow: var(--crsc-shadow); border-color: transparent; }
.crsc-plan--featured { border: 2px solid var(--primary); }
.crsc-plan__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 14px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.crsc-plan__name { margin: 0 0 .75rem; font-size: 1.1rem; font-weight: 700; }
.crsc-plan__price { color: var(--secondary); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.crsc-plan__currency { font-size: 1.3rem; vertical-align: top; margin-right: 2px; position: relative; top: 4px; }
.crsc-plan__desc { margin: .9rem 0 1.25rem; font-size: 14px; line-height: 1.6; }

/* ---------- Facts, link cards ---------- */

.crsc-facts { margin: 0; padding: 0; list-style: none; border-radius: var(--crsc-radius); background: #fff; box-shadow: var(--crsc-shadow); overflow: hidden; }
.crsc-facts li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.5rem; }
.crsc-facts li + li { border-top: 1px solid var(--grey-200); }
.crsc-facts li > i { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 10px; background: var(--primary-rgba-10); color: var(--primary); }
.crsc-facts li > span { display: grid; line-height: 1.4; color: var(--secondary); font-weight: 500; }
.crsc-facts strong { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-900); }

.crsc-link-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--grey-300);
    border-radius: var(--crsc-radius);
    background: #fff;
    text-decoration: none !important;
    transition: border-color .25s ease, transform .25s ease;
}
.crsc-link-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.crsc-link-card > i:first-child { font-size: 1.6rem; color: var(--primary); }
.crsc-link-card > span { display: grid; flex: 1; color: var(--grey-1000); line-height: 1.5; }
.crsc-link-card strong { color: var(--secondary); font-size: 1.05rem; }
.crsc-link-card__arrow { color: var(--grey-800); }

/* ---------- Article (history, CMS content) ---------- */

.crsc-article { font-size: 16px; line-height: 1.85; }
.crsc-article h2 { margin: 2.5rem 0 1rem; font-size: 1.8rem; font-weight: 700; }
.crsc-article h2:first-child { margin-top: 0; }
.crsc-article blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--crsc-radius) var(--crsc-radius) 0;
    background: var(--tertiary);
}
.crsc-article blockquote p { margin: 0; font-size: 1.3rem; line-height: 1.5; font-weight: 500; color: var(--secondary); }
.crsc-article blockquote p:has(cite) { margin-top: .6rem; font-size: 14px; font-weight: 400; }
.crsc-article cite { font-style: normal; color: var(--grey-1000); }

.crsc-article figure { margin: 2.5rem 0; }
.crsc-article figure img { display: block; width: 100%; height: auto; border-radius: var(--crsc-radius); box-shadow: var(--crsc-shadow); filter: sepia(.12); }

/* ---------- Gallery ---------- */

.crsc-gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--crsc-radius); aspect-ratio: 4 / 3; background: var(--tertiary); }
.crsc-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.crsc-gallery__zoom {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(12, 35, 54, .45);
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity .3s ease;
}
.crsc-gallery__item:hover img { transform: scale(1.06); }
.crsc-gallery__item:hover .crsc-gallery__zoom { opacity: 1; }

/* ---------- History photo story (CSS slideshow, 5 slides x 6s) ---------- */

.crsc-film { background: var(--quaternary); }
.crsc-film__stage { position: relative; height: min(78vh, 720px); min-height: 420px; overflow: hidden; }
.crsc-film__slide { position: absolute; inset: 0; margin: 0; opacity: 0; }
.crsc-film__slide img { width: 100%; height: 100%; object-fit: cover; }
.crsc-film__slide:not(:nth-of-type(5)) img { filter: sepia(.25) contrast(1.05); }
/* Overlay lives inside each slide: the fading slide is its own stacking context */
.crsc-film__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(12, 35, 54, .92) 0%, rgba(12, 35, 54, .15) 45%, rgba(12, 35, 54, .55) 100%);
    pointer-events: none;
}
.crsc-film__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 max(1.5rem, calc((100vw - 1140px) / 2)) 3rem; display: grid; gap: .35rem; }
.crsc-film__year { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.crsc-film__caption { max-width: 40rem; color: rgba(255, 255, 255, .88); font-size: 1.15rem; }
.crsc-film__title { position: absolute; top: 2.5rem; left: max(1.5rem, calc((100vw - 1140px) / 2)); z-index: 3; max-width: 36rem; }
.crsc-film__title h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
.crsc-film__title .crsc-heading__label { color: rgba(255, 255, 255, .75); }
.crsc-film__toggle {
    position: absolute;
    right: max(1.5rem, calc((100vw - 1140px) / 2));
    bottom: 3rem;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(12, 35, 54, .4);
    color: #fff;
}
.crsc-film__toggle:hover { background: var(--primary); border-color: var(--primary); }
.crsc-film__slide:first-of-type { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .crsc-film__slide { animation: crsc-film-fade 30s infinite; animation-delay: calc(var(--i) * 6s); }
    .crsc-film__slide:first-of-type { animation-name: crsc-film-fade-first; }
    .crsc-film__slide img { animation: crsc-film-zoom 30s infinite; animation-delay: calc(var(--i) * 6s); }
    .crsc-film__stage.is-paused .crsc-film__slide, .crsc-film__stage.is-paused .crsc-film__slide img { animation-play-state: paused; }
}
@keyframes crsc-film-fade { 0% { opacity: 0; } 3% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
@keyframes crsc-film-fade-first { 0% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes crsc-film-zoom { 0% { transform: scale(1); } 24% { transform: scale(1.12); } 100% { transform: scale(1.12); } }

/* ---------- History timeline ---------- */

.crsc-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.crsc-timeline__item { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--grey-400); }
.crsc-timeline__item::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--tertiary); }
.crsc-timeline__year { display: block; margin-bottom: .35rem; color: var(--primary); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.crsc-timeline__item h3 { margin: 0 0 .4rem; font-size: 1.1rem; font-weight: 700; }
.crsc-timeline__item p { margin: 0; font-size: 14px; line-height: 1.6; }
@media (max-width: 991px) { .crsc-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .crsc-timeline { grid-template-columns: 1fr; } }

.crsc-article figcaption { margin-top: .6rem; font-size: 13px; color: var(--grey-1000); text-align: center; font-style: italic; }

/* ---------- Youth: checklist and FAQ ---------- */

.crsc-checklist { padding: 2rem; border-radius: var(--crsc-radius); background: var(--secondary); color: rgba(255, 255, 255, .85); }
.crsc-checklist h3 { color: #fff; }
.crsc-checklist .crsc-feature__icon { background: var(--primary); color: #fff; }
.crsc-checklist ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.crsc-checklist li { position: relative; padding-left: 1.6rem; font-size: 14px; line-height: 1.5; }
.crsc-checklist li::before { content: "\f00c"; position: absolute; left: 0; top: 1px; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; color: var(--primary--300); }
.crsc-faq__body { padding: 1rem 1.25rem 1.25rem; }
.crsc-faq__body p:last-child { margin-bottom: 0; }

/* ---------- Model yacht fleets ---------- */

.crsc-fleet { overflow: hidden; border-radius: var(--crsc-radius); background: #fff; box-shadow: 0 1px 2px rgba(12, 35, 54, .06), 0 10px 30px -18px rgba(12, 35, 54, .25); }
.crsc-fleet__photo { display: block; }
.crsc-fleet__photo .photo { border-radius: 0; }
.crsc-fleet__photo img { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.crsc-fleet:hover .crsc-fleet__photo img { transform: scale(1.04); }
.crsc-fleet__body { padding: 1.5rem 1.75rem 1.75rem; }
.crsc-fleet__body h3 { margin: 0 0 .4rem; font-size: 1.35rem; font-weight: 700; }
.crsc-fleet__body p { margin: 0; }

/* ---------- Gallery page ---------- */

.crsc-gallery-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.crsc-gallery-nav__link { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1.1rem; border: 1px solid var(--grey-300); border-radius: 999px; color: var(--secondary); font-weight: 600; font-size: 14px; text-decoration: none; }
.crsc-gallery-nav__link span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--primary-rgba-10); color: var(--primary); font-size: 12px; }
.crsc-gallery-nav__link:hover { border-color: var(--primary); color: var(--primary); }
.crsc-album { scroll-margin-top: 110px; }

/* ---------- Results ---------- */

.crsc-season-pills .nav-link { border-radius: 999px !important; margin: 0 4px; font-weight: 600; color: var(--secondary); border: 1px solid var(--grey-300); }
.crsc-season-pills .nav-link.active { background: var(--secondary) !important; border-color: var(--secondary); color: #fff !important; }

.crsc-series-card {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.75rem;
    border: 1px solid var(--grey-300);
    border-top: 4px solid var(--primary);
    border-radius: var(--crsc-radius);
    background: #fff;
    text-decoration: none !important;
    transition: transform .3s ease, box-shadow .3s ease;
}
.crsc-series-card:hover { transform: translateY(-4px); box-shadow: var(--crsc-shadow); }
.crsc-series-card h3 { margin: .25rem 0; font-size: 1.35rem; font-weight: 700; }
.crsc-series-card p { margin: 0; color: var(--grey-1000); }
.crsc-series-card__dates { font-size: 13px; font-weight: 600; color: var(--primary); }
.crsc-series-card__more { margin-top: auto; padding-top: .75rem; font-size: 13px; font-weight: 600; color: var(--secondary); }

.crsc-results-heading:not(:first-child) { margin-top: 2.5rem; }
.crsc-table-wrap { border: 1px solid var(--grey-300); border-radius: var(--crsc-radius); background: #fff; }
.crsc-results-table { font-variant-numeric: tabular-nums; }
.crsc-results-table thead th { background: var(--secondary); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 0; white-space: nowrap; padding: .9rem 1rem; }
.crsc-results-table td { padding: .8rem 1rem; white-space: nowrap; vertical-align: middle; }
.crsc-results-table .num { text-align: right; }
.crsc-results-table .pos { font-weight: 700; width: 3.5rem; color: var(--secondary); }
.crsc-results-table .strong { font-weight: 700; color: var(--secondary); }
.crsc-results-table .is-podium .pos { color: var(--primary); }

.crsc-results-table .is-discard { color: var(--grey-800); text-decoration: line-through; }
.crsc-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.crsc-status--final { background: rgba(18, 50, 74, .1); color: var(--secondary); }
.crsc-status--provisional { background: rgba(214, 140, 18, .15); color: #8a5a00; }
.crsc-sheet-summary { padding: .9rem 1.2rem; border-radius: var(--crsc-radius); background: var(--tertiary); color: var(--secondary); font-weight: 500; }
.crsc-sheet-key { font-size: 13px; color: var(--grey-1000); }

.crsc-races { display: grid; gap: .75rem; }
.crsc-race { border: 1px solid var(--grey-300); border-radius: var(--crsc-radius); background: #fff; overflow: hidden; }
.crsc-race summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; }
.crsc-race summary::-webkit-details-marker { display: none; }
.crsc-race__name { font-weight: 700; color: var(--secondary); font-size: 1.05rem; }
.crsc-race__meta { color: var(--grey-900); font-size: 13px; }
.crsc-race__chevron { margin-left: auto; color: var(--primary); transition: transform .25s ease; }
.crsc-race[open] .crsc-race__chevron { transform: rotate(180deg); }
.crsc-race[open] summary { border-bottom: 1px solid var(--grey-200); }

.crsc-pdf { overflow: hidden; border: 1px solid var(--grey-300); border-radius: var(--crsc-radius); background: var(--tertiary); box-shadow: var(--crsc-shadow); }
.crsc-pdf object { display: block; width: 100%; height: 80vh; min-height: 560px; }

.race-list { display: grid; gap: .6rem; align-content: start; }
.race-list__item {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: .75rem;
    align-items: center;
    padding: .8rem 1rem;
    border: 1px solid var(--grey-300);
    border-radius: var(--crsc-radius);
    background: #fff;
    text-decoration: none !important;
    transition: border-color .2s ease;
}
.race-list__item[href]:hover { border-color: var(--primary); }
.race-list__item.is-pending { opacity: .6; }
.race-list__item > span:last-child { display: grid; line-height: 1.4; color: var(--secondary); }
.race-list__date { font-size: 13px; font-weight: 700; color: var(--primary); }

/* ---------- Empty state, map ---------- */

.crsc-empty { padding: 3.5rem 1.5rem; border: 2px dashed var(--grey-300); border-radius: var(--crsc-radius); background: #fff; }
.crsc-empty > i { display: block; margin-bottom: 1rem; font-size: 2.6rem; }
.crsc-empty p { max-width: 32rem; margin-left: auto; margin-right: auto; }

.crsc-map { height: 100%; min-height: 440px; overflow: hidden; border-radius: var(--crsc-radius); box-shadow: var(--crsc-shadow); background: var(--tertiary); }
.crsc-map iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }

/* ---------- Contact form ---------- */

.crsc-contact-form .form-label { color: var(--secondary); font-weight: 600; font-size: 14px; margin-bottom: .35rem; }
.crsc-contact-form .form-control { min-height: 46px; border-radius: 10px; border-color: var(--grey-400); font-size: 15px; }
.crsc-contact-form textarea.form-control { min-height: 150px; }
.crsc-contact-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem var(--primary-rgba-20); }
.crsc-contact-form .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.crsc-contact-form .invalid { border-color: #c0392b !important; }
.crsc-contact-form .validation-message { margin-top: .3rem; color: #b3261e; font-size: 13px; }
.crsc-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.crsc-contact-done { padding: 3rem 2rem; }
.crsc-map--compact, .crsc-map--compact iframe { min-height: 300px; height: 300px; }

/* ---------- Membership application form ---------- */

.crsc-apply { padding: .5rem; border-radius: var(--crsc-radius); background: #fff; box-shadow: var(--crsc-shadow); }
.crsc-apply .card { border-color: var(--grey-300); border-radius: var(--crsc-radius); overflow: hidden; }
.crsc-apply .card-header.bg-primary { background: var(--secondary) !important; }
.crsc-apply .text-primary { color: var(--secondary) !important; }
.crsc-apply .border-primary { border-color: var(--primary) !important; }
.crsc-apply .card.bg-primary { background: var(--primary) !important; }
.crsc-apply .form-label { color: var(--secondary); }
/* Order summary stays below the sticky site header (76px, 70px when shrunk) */
.crsc-apply .crsc-apply__summary { top: calc(var(--crsc-header-h, 76px) + 1.25rem); z-index: 5; }

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

#footer { font-size: 14px; }
.crsc-footer-links li { margin-bottom: .55rem; }
.crsc-footer-links a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s ease; }
.crsc-footer-links a:hover { color: #fff; }
.crsc-footer-copyright { border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- Page builder preview ---------- */

.crsc-preview-bar { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 1050; display: block; width: max-content; text-align: center; line-height: 1.45; max-width: calc(100% - 2rem); padding: .75rem 1.25rem; border-radius: 999px; background: #0f172a; color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

/* ---------- More page builder sections ---------- */

.crsc-section-lead { max-width: 42rem; margin: .9rem auto 0; font-size: 1.05rem; }

/* Member quotes */
.crsc-quote { position: relative; display: flex; flex-direction: column; margin: 0; padding: 2rem 1.75rem 1.5rem; border-radius: var(--crsc-radius); background: #fff; box-shadow: 0 1px 2px rgba(12, 35, 54, .06), 0 10px 30px -18px rgba(12, 35, 54, .25); }
.bg-transparent .crsc-quote { border: 1px solid var(--grey-300); box-shadow: none; }
.crsc-quote__mark { display: block; margin-bottom: .9rem; color: var(--primary); opacity: .35; font-size: 28px; }
.crsc-quote blockquote { flex: 1; margin: 0 0 1.5rem; padding: 0; border: 0; font-size: 1.02rem; line-height: 1.75; color: var(--secondary); font-style: italic; }
.crsc-quote figcaption { display: flex; align-items: center; gap: .8rem; }
.crsc-quote figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.crsc-quote figcaption strong { color: var(--secondary); }
.crsc-quote figcaption span span { font-size: 13px; color: var(--grey-900); }
.crsc-quote__photo, .crsc-quote__initial { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.crsc-quote__initial { display: grid; place-items: center; background: var(--primary-rgba-10); color: var(--primary); font-weight: 800; font-size: 18px; }
.crsc-quote--single { max-width: 50rem; margin: 2rem auto 0; padding: 3rem 3rem 2.25rem; text-align: center; }
.crsc-quote--single blockquote { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.6; }
.crsc-quote--single figcaption { justify-content: center; text-align: left; }

/* People */
.crsc-person { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--crsc-radius); background: #fff; box-shadow: 0 1px 2px rgba(12, 35, 54, .06), 0 10px 30px -18px rgba(12, 35, 54, .25); text-align: center; transition: transform .3s ease; }
.crsc-person:hover { transform: translateY(-3px); }
.bg-transparent .crsc-person { border: 1px solid var(--grey-300); box-shadow: none; }
.crsc-person__photo { aspect-ratio: 1; background: linear-gradient(160deg, #1d4a6c 0%, #0c2336 100%); display: grid; place-items: center; }
.crsc-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.crsc-person__photo span { color: rgba(255, 255, 255, .85); font-size: 2.4rem; font-weight: 800; letter-spacing: .05em; }
.crsc-person__body { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.1rem 1rem 1.3rem; }
.crsc-person h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.crsc-person__role { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.crsc-person p { margin: .35rem 0 0; font-size: 14px; line-height: 1.55; }
.crsc-person__email { margin-top: .6rem; font-size: 14px; font-weight: 600; }

/* Sponsor logos */
.crsc-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem 2.5rem; }
.crsc-logos__item { display: grid; place-items: center; width: 170px; height: 90px; padding: .75rem; }
.crsc-logos__item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s ease, opacity .3s ease; }
.crsc-logos__item:hover img { filter: none; opacity: 1; }

/* Price cards (share the membership plan look) */
.crsc-price .crsc-plan__price { font-size: 2.3rem; }
.crsc-price__note { margin-top: .35rem; font-size: 13px; color: var(--grey-900); }
.crsc-price__list { width: 100%; margin: 1.1rem 0 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--grey-200); text-align: left; font-size: 14px; line-height: 1.6; }
.crsc-price__list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.crsc-price__list li { position: relative; padding-left: 1.6rem; }
.crsc-price__list li::before { content: "\f00c"; position: absolute; left: 0; top: 1px; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; color: var(--primary); }
.crsc-price__list p:last-child { margin-bottom: 0; }

/* Weekly timetable */
.crsc-schedule { margin: 0; padding: 0; list-style: none; border-radius: var(--crsc-radius); background: #fff; box-shadow: var(--crsc-shadow); overflow: hidden; }
.crsc-schedule__row { display: grid; grid-template-columns: 9rem 44px 1fr; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid var(--grey-200); }
.crsc-schedule__row:first-child { border-top: 0; }
.crsc-schedule__row--same-day { border-top-style: dashed; }
.crsc-schedule__day { color: var(--secondary); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.crsc-schedule__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary-rgba-10); color: var(--primary); }
.crsc-schedule__what { display: flex; flex-direction: column; line-height: 1.45; }
.crsc-schedule__what strong { color: var(--secondary); }
.crsc-schedule__what span { font-size: 14px; }
@media (max-width: 575px) { .crsc-schedule__row { grid-template-columns: 44px 1fr; } .crsc-schedule__day { grid-column: 1 / -1; } .crsc-schedule__row--same-day .crsc-schedule__day { display: none; } }

/* Documents */
.crsc-docs { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.crsc-docs__item { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.4rem; border: 1px solid var(--grey-300); border-radius: var(--crsc-radius); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.crsc-docs__item:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--crsc-shadow); text-decoration: none; }
.crsc-docs__icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--primary-rgba-10); color: var(--primary); font-size: 20px; }
.crsc-docs__text { display: flex; flex: 1; flex-direction: column; line-height: 1.45; }
.crsc-docs__text strong { color: var(--secondary); }
.crsc-docs__text span { font-size: 14px; }
.crsc-docs__action { color: var(--primary); font-size: 14px; font-weight: 700; white-space: nowrap; }
@media (max-width: 575px) { .crsc-docs__action { display: none; } }

/* Video */
.crsc-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--crsc-radius); background: #0c2336; box-shadow: var(--crsc-shadow); }
.crsc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Photo banner */
.crsc-banner {
    position: relative; display: flex; align-items: center; min-height: 460px; padding: 5rem 0;
    background-image: linear-gradient(90deg, rgba(12, 35, 54, .88) 0%, rgba(12, 35, 54, .55) 55%, rgba(12, 35, 54, .2) 100%), var(--crsc-bg, none), linear-gradient(160deg, #1d4a6c 0%, #0c2336 100%);
    background-size: cover; background-position: center;
}
.crsc-banner--center { text-align: center; background-image: linear-gradient(rgba(12, 35, 54, .65), rgba(12, 35, 54, .65)), var(--crsc-bg, none), linear-gradient(160deg, #1d4a6c 0%, #0c2336 100%); }
.crsc-banner__content { max-width: 36rem; }
.crsc-banner--center .crsc-banner__content { margin: 0 auto; }
.crsc-banner h2 { margin: 0 0 .75rem; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.15; }
.crsc-banner p { margin: 0 0 1rem; color: rgba(255, 255, 255, .85); font-size: 1.1rem; line-height: 1.7; }
@media (min-width: 992px) { .crsc-banner { background-attachment: fixed; } }

/* Notice bar */
.crsc-notice { padding: 1rem 0; border-bottom: 1px solid rgba(12, 35, 54, .08); }
.crsc-notice--info { background: #e8f1fb; --notice: #1d5f9e; }
.crsc-notice--warning { background: #fff4d6; --notice: #9a6200; }
.crsc-notice--success { background: #e5f6ea; --notice: #1d7a3a; }
.crsc-notice__inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.crsc-notice__icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--notice); font-size: 18px; }
.crsc-notice__text { flex: 1; min-width: 14rem; margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.55; }
.crsc-notice__text strong { margin-right: .35rem; color: var(--notice); }
.crsc-notice__link { color: var(--notice); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* Social links */
.crsc-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.crsc-social__link { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.4rem; border: 1px solid var(--grey-300); border-radius: 999px; background: #fff; color: var(--secondary); font-weight: 700; text-decoration: none; transition: all .2s ease; }
.crsc-social__link i { color: var(--primary); font-size: 18px; transition: color .2s ease; }
.crsc-social__link:hover { background: var(--primary); border-color: var(--primary); color: #fff; text-decoration: none; }
.crsc-social__link:hover i { color: #fff; }

/* Upcoming events */
.crsc-next-event { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--grey-300); border-left: 4px solid var(--chip, var(--primary)); border-radius: var(--crsc-radius); background: #fff; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.crsc-next-event:hover { transform: translateY(-2px); box-shadow: var(--crsc-shadow); text-decoration: none; }
.crsc-next-event .crsc-date-badge--sm { width: 64px; height: 64px; flex-shrink: 0; }
.crsc-next-event__body { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.crsc-next-event__body strong { color: var(--secondary); font-size: 1.02rem; }
.crsc-next-event__when { margin-top: .2rem; font-size: 13px; color: var(--grey-900); }

/* Map */
.crsc-map--block, .crsc-map--block iframe { min-height: 380px; }
.crsc-map-address { display: flex; gap: .8rem; margin: 1rem 0 0; font-style: normal; color: var(--secondary); font-weight: 500; }
.crsc-map-address i { margin-top: .3rem; color: var(--primary); }

/* ── Blog (/news), newsletter sign-up ─────────────────────────────────────── */
.crsc-news-card { overflow: hidden; border-radius: var(--crsc-radius); background: #fff; box-shadow: 0 1px 2px rgba(12, 35, 54, .06), 0 10px 30px -18px rgba(12, 35, 54, .25); transition: transform .3s ease, box-shadow .3s ease; }
.crsc-news-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(12, 35, 54, .06), 0 18px 36px -18px rgba(12, 35, 54, .35); }
.crsc-news-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none !important; }
.crsc-news-card .photo { border-radius: 0; }
.crsc-news-card__placeholder { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #12324a, #0c2336); color: rgba(255, 255, 255, .5); font-size: 2.5rem; }
.crsc-news-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.crsc-news-card__meta { display: flex; gap: .6rem; align-items: center; font-size: .8rem; color: var(--grey-500, #6b7280); text-transform: uppercase; letter-spacing: .04em; }
.crsc-news-card__cat { color: var(--primary); font-weight: 700; }
.crsc-news-card__title { font-size: 1.2rem; line-height: 1.35; font-weight: 700; margin: 0; }
.crsc-news-card__summary { margin: 0; color: #4b5563; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.crsc-news-card__more { margin-top: auto; padding-top: .4rem; color: var(--primary); font-weight: 700; font-size: .9rem; }

.crsc-news-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.crsc-news-filter a { padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--grey-300, #d1d5db); color: var(--crsc-ink); font-weight: 600; text-decoration: none; }
.crsc-news-filter a:hover { border-color: var(--secondary); }
.crsc-news-filter a.is-active { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.crsc-news-search { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; padding: 1.25rem 1.5rem; border-radius: var(--crsc-radius); background: #eef3f7; }
.crsc-news-search__field { display: flex; flex-direction: column; gap: .3rem; min-width: 12rem; }
.crsc-news-search__field--grow { flex: 1 1 16rem; }
.crsc-news-search label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--secondary); margin: 0; }
.crsc-news-search__input { position: relative; }
.crsc-news-search__input i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: #6b7280; }
.crsc-news-search__input input { width: 100%; padding: .55rem .9rem .55rem 2.4rem; border: 1px solid #d1d5db; border-radius: 999px; background: #fff; }
.crsc-news-search select { border-radius: 999px; padding-top: .55rem; padding-bottom: .55rem; border-color: #d1d5db; }
.crsc-news-search__actions { display: flex; align-items: center; gap: 1rem; }
.crsc-news-search__clear { font-weight: 600; color: var(--secondary); }
.crsc-news-search__summary { color: #4b5563; margin: -.5rem 0 1.5rem; }
.crsc-pager { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }
.crsc-pager__info { color: #6b7280; }
.crsc-news-subscribe { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 1.75rem 2rem; border-radius: var(--crsc-radius); background: #eef3f7; }

.crsc-article__header { padding-bottom: 2rem; background: linear-gradient(180deg, #eef3f7 0%, rgba(238, 243, 247, 0) 100%); }
.crsc-article__header .container, .crsc-article__body, .crsc-article__footer { max-width: 780px; }
.crsc-article__crumbs { font-size: .85rem; color: #6b7280; margin-bottom: 1rem; }
.crsc-article__crumbs a { color: #6b7280; }
.crsc-article__crumbs span { margin: 0 .3rem; }
.crsc-article__title { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; font-weight: 800; margin-bottom: .75rem; }
.crsc-article__lead { font-size: 1.2rem; color: #374151; margin-bottom: .75rem; }
.crsc-article__meta { color: #6b7280; font-size: .9rem; margin: 0; }
.crsc-article__cover { max-width: 1040px; margin: 0 auto 2rem; }
.crsc-article__cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--crsc-radius); box-shadow: var(--crsc-shadow); }
.crsc-article__body { margin: 0 auto; font-size: 1.08rem; line-height: 1.75; color: #1f2937; }
.crsc-article__body img { max-width: 100%; height: auto; border-radius: 8px; }
.crsc-article__body h2, .crsc-article__body h3 { margin-top: 2rem; }
.crsc-article__body table { width: 100%; margin: 1rem 0; }
.crsc-article__gallery { max-width: 1040px; margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; }
.crsc-article__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: opacity .2s; }
.crsc-article__gallery a:hover img { opacity: .85; }
.crsc-article__footer { margin: 2.5rem auto 3rem; padding-top: 1.5rem; border-top: 1px solid var(--grey-300, #e5e7eb); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.crsc-article__tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.crsc-article__tags a { padding: .25rem .7rem; border-radius: 999px; background: #eef3f7; color: var(--secondary); font-size: .85rem; text-decoration: none; }
.crsc-article__share { display: flex; gap: .5rem; align-items: center; color: #6b7280; }
.crsc-article__share a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--secondary); color: #fff; text-decoration: none; }
.crsc-article__share a:hover { background: var(--primary); }

.crsc-newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; padding: 2.25rem 2.5rem; border-radius: var(--crsc-radius); background: linear-gradient(135deg, #12324a, #0c2336); color: #fff; }
.crsc-newsletter .crsc-heading__title, .crsc-newsletter .crsc-heading__label { color: #fff; }
.crsc-newsletter__lead { color: rgba(255, 255, 255, .8); margin: .5rem 0 0; }
.crsc-newsletter__fields { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: .5rem; }
.crsc-newsletter__consent { font-size: .85rem; }
.crsc-newsletter .crsc-newsletter__consent { color: rgba(255, 255, 255, .85); }
.crsc-newsletter .validation-message { color: #fecaca; }
.crsc-newsletter__done { display: flex; gap: 1rem; align-items: center; }
.crsc-newsletter__done i { font-size: 2rem; color: var(--primary); }
.crsc-newsletter .crsc-newsletter__done i { color: #fff; }
.crsc-newsletter__done p { margin: 0; }
@media (max-width: 991px) {
    .crsc-newsletter { grid-template-columns: 1fr; padding: 1.75rem; }
    .crsc-newsletter__fields { grid-template-columns: 1fr; }
}

/* ── Consent: third-party maps and videos load only after the visitor agrees ── */
.crsc-embed { position: relative; width: 100%; height: 100%; min-height: inherit; }
.crsc-video .crsc-embed { position: absolute; inset: 0; }
.crsc-embed__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
    background: linear-gradient(135deg, #12324a 0%, #0c2336 100%); background-size: cover; background-position: center; }
.crsc-map .crsc-embed__placeholder { background: repeating-linear-gradient(45deg, #e5edf3 0 14px, #eef3f7 14px 28px); }
.crsc-embed__card { max-width: 30rem; text-align: center; padding: 1.5rem; border-radius: var(--crsc-radius); background: rgba(255, 255, 255, .96); box-shadow: var(--crsc-shadow); }
.crsc-embed__icon { font-size: 2.2rem; color: var(--primary); margin-bottom: .75rem; }
.crsc-embed__text { font-size: .92rem; color: #374151; margin-bottom: 1rem; line-height: 1.55; }
.crsc-embed__actions { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.crsc-embed__always { font-size: .85rem; color: var(--secondary); text-decoration: underline; }

.crsc-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 10000; max-width: 1100px; margin: 0 auto;
    background: #0c2336; color: #e5edf3; border-radius: var(--crsc-radius); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); animation: crsc-rise .4s ease both; }
.crsc-consent[hidden] { display: none; }
.crsc-consent__inner { display: flex; gap: 1.5rem; align-items: center; padding: 1.25rem 1.5rem; flex-wrap: wrap; }
.crsc-consent__text { flex: 1 1 28rem; font-size: .92rem; line-height: 1.55; }
.crsc-consent__title { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: .35rem; }
.crsc-consent a { color: #fff; text-decoration: underline; }
.crsc-consent__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ── Footer: newsletter signup and legal links ── */
.crsc-footer-news { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.crsc-footer-news input { flex: 1 1 12rem; min-width: 0; padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; }
.crsc-footer-news input::placeholder { color: rgba(255, 255, 255, .6); }
.crsc-footer-news__note { font-size: .78rem; color: rgba(255, 255, 255, .6); margin: .5rem 0 0; }
.crsc-footer-news__note a { color: rgba(255, 255, 255, .85); }
.crsc-footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.25rem; margin: .5rem 0 0; padding: 0; list-style: none; font-size: .85rem; }
.crsc-footer-legal a, .crsc-footer-legal button { color: #9ca3af; background: none; border: 0; padding: 0; text-decoration: none; }
.crsc-footer-legal a:hover, .crsc-footer-legal button:hover { color: #fff; }

/* ── Privacy and cookie pages ── */
.crsc-legal { max-width: 820px; }
.crsc-legal h2 { font-size: 1.5rem; font-weight: 700; margin: 2.25rem 0 .75rem; }
.crsc-legal h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.crsc-legal table { width: 100%; font-size: .92rem; margin: 1rem 0 1.5rem; }
.crsc-legal th { background: #eef3f7; color: var(--secondary); }
.crsc-legal th, .crsc-legal td { padding: .6rem .75rem; border-bottom: 1px solid #e5e7eb; vertical-align: top; text-align: left; }
.crsc-legal__note { padding: 1rem 1.25rem; border-left: 4px solid var(--primary); background: #fdf3f4; border-radius: 6px; }
.crsc-legal__choice { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 1.25rem 1.5rem; border-radius: var(--crsc-radius); background: #eef3f7; margin: 1rem 0 2rem; }
.crsc-consent__options { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.crsc-consent__options label { display: inline-flex; align-items: center; gap: .4rem; margin: 0; color: #fff; font-weight: 600; cursor: pointer; }
.crsc-consent__options span { font-weight: 400; color: rgba(255, 255, 255, .65); }
.crsc-consent__options input { width: 1.05rem; height: 1.05rem; accent-color: var(--primary); }
