/* ==========================================================================
   Waterford Chamber - Sub pages
   File: /assets/css/subpage.css
   Loaded ONLY by the redesigned sub pages (About, Future of the Chamber,
   Volunteer, Sponsorship, Contact, Articles). Every class uses the "sp-"
   prefix so nothing here can collide with styles.css or other page sheets.
   Colors inside dark panels use !important on purpose: styles.css sets global
   h1-h6 / p / a colors that would otherwise win.
   ========================================================================== */

.sp-page {
    --sp-ink: #10303c;
    --sp-body: #3c5864;
    --sp-muted: #4a6672;
    --sp-teal: #1f7a91;
    --sp-teal-dk: #17637a;
    --sp-teal-xdk: #124f61;
    --sp-brand: #3EA2BE;
    --sp-green: #8DB63F;
    --sp-green-dk: #4d6b14;
    --sp-sun: #F6B73C;
    --sp-cream: #FFFBF4;
    --sp-line: #e3edf0;
    background: var(--sp-cream);
    color: var(--sp-ink);
    font-family: 'Manrope', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: clip;
}
.sp-page *, .sp-page *::before, .sp-page *::after { box-sizing: border-box; }
.sp-page a { text-decoration: none; }
.sp-page img { max-width: 100%; }

/* ---------- Header (warm gradient, compact) ---------- */
.sp-hero {
    position: relative;
    background: linear-gradient(180deg, #FFF3D6 0%, var(--sp-cream) 100%);
    overflow: hidden;
}
.sp-hero::before {
    content: '';
    position: absolute;
    right: -90px;
    top: -110px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: var(--sp-sun);
    opacity: .28;
}
.sp-hero::after {
    content: '';
    position: absolute;
    right: 150px;
    bottom: 14px;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(#3EA2BE 2.4px, transparent 2.8px);
    background-size: 20px 20px;
    opacity: .4;
}
.sp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 52px;
}
.sp-crumbs {
    font-size: .875rem;
    font-weight: 600;
    color: var(--sp-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.sp-page .sp-crumbs a { color: var(--sp-teal); }
.sp-page .sp-crumbs a:hover { text-decoration: underline; }
.sp-crumb-current { color: var(--sp-ink); font-weight: 700; }

.sp-page h1.sp-h1 {
    margin: 24px 0 0;
    max-width: 860px;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--sp-ink);
}
.sp-h1-accent { position: relative; display: inline-block; color: var(--sp-teal); }
.sp-h1-accent svg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16px;
    width: 100%;
    height: 10px;
}
.sp-page p.sp-sub {
    margin: 32px 0 0;
    max-width: 680px;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--sp-body);
}

/* ---------- Body layout ---------- */
.sp-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}
.sp-main { flex: 1 1 640px; min-width: 0; max-width: 860px; }
.sp-body--wide .sp-main { max-width: none; }
.sp-rail {
    flex: 0 1 292px;
    min-width: 260px;
    position: sticky;
    top: 24px;
    display: grid;
    gap: 20px;
}
.sp-section { margin-top: 72px; }
.sp-section:first-child { margin-top: 0; }
.sp-page h2.sp-h2 {
    margin: 12px 0 0;
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--sp-ink);
}
.sp-page h2.sp-h2--plain { margin-top: 0; }
.sp-page h3.sp-h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--sp-ink); }

.sp-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 800;
    background: #FFF0CC;
    color: #6b4e0a;
}
.sp-pill--green { background: #EAF3D6; color: var(--sp-green-dk); }
.sp-pill--brand { background: #E6F4F8; color: var(--sp-teal-dk); }

/* ---------- Rich text coming from the CMS ---------- */
.sp-rich { color: var(--sp-body); font-size: 1.06rem; }
.sp-rich > br { display: none; }
.sp-page .sp-rich p { margin: 0 0 1.1rem; color: var(--sp-body); font-size: 1.06rem; line-height: 1.7; }
.sp-page .sp-rich p:last-child { margin-bottom: 0; }
.sp-page .sp-rich strong { color: var(--sp-ink); font-weight: 800; }
.sp-page .sp-rich a { color: var(--sp-teal); font-weight: 700; text-decoration: underline; }
.sp-page .sp-rich ul, .sp-page .sp-rich ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.sp-page .sp-rich li { margin-bottom: .5rem; color: var(--sp-body); }
.sp-page .sp-rich h3 { margin: 0 0 .6rem; font-size: 1.35rem; font-weight: 800; color: var(--sp-ink); }
.sp-page .sp-rich h4 { margin: 0 0 .4rem; font-size: 1.1rem; font-weight: 800; color: var(--sp-ink); }
.sp-lede .sp-rich p:first-child,
.sp-page .sp-lede p:first-child {
    font-size: clamp(1.25rem, 2.1vw, 1.5rem);
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--sp-ink);
}

/* ---------- Cards, rows, icons ---------- */
.sp-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sp-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.sp-stack { display: grid; gap: 14px; }

.sp-card {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 20px;
    padding: 22px 24px;
}
.sp-row { display: flex; gap: 18px; align-items: flex-start; }
.sp-page .sp-row h3, .sp-page .sp-card h3 { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--sp-ink); }
.sp-page .sp-row p, .sp-page .sp-card p { margin: 6px 0 0; color: var(--sp-body); font-size: 1rem; line-height: 1.6; }
.sp-page .sp-card p:first-child { margin-top: 0; }

.sp-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: #FFF0CC;
    color: #8a5a00;
}
.sp-icon--brand { background: #E6F4F8; color: var(--sp-teal); }
.sp-icon--green { background: #EAF3D6; color: var(--sp-green-dk); }
.sp-icon--white { background: #fff; }

.sp-tint { border-radius: 22px; padding: 24px; border: 0; }
.sp-tint--sun { background: #FFF0CC; }
.sp-tint--brand { background: #E6F4F8; }
.sp-tint--green { background: #EAF3D6; }
.sp-page .sp-tint h3 { margin: 14px 0 0; font-size: 1.2rem; font-weight: 800; }
.sp-page .sp-tint p { margin: 8px 0 0; font-size: .97rem; line-height: 1.55; color: var(--sp-body); }

/* ---------- Stats ---------- */
.sp-stat {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-left: 6px solid var(--sp-brand);
    border-radius: 16px;
    padding: 18px 22px;
}
.sp-stat--green { border-left-color: var(--sp-green); }
.sp-stat--sun { border-left-color: var(--sp-sun); }
.sp-stat-n { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--sp-ink); }
.sp-stat-l { margin-top: 4px; font-size: .875rem; font-weight: 700; color: var(--sp-muted); }

/* ---------- Timeline steps ---------- */
.sp-step {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 20px;
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    color: var(--sp-ink);
    transition: box-shadow .2s ease;
}
.sp-step:hover { box-shadow: 0 14px 30px rgba(16,48,60,.12); }
.sp-step-badge {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background: var(--sp-sun);
    color: var(--sp-ink);
}
.sp-step-badge b { font-size: 1.5rem; font-weight: 800; }
.sp-step-badge small { font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.sp-step-badge--brand { background: var(--sp-brand); color: #fff; }
.sp-step-badge--green { background: var(--sp-green); }
.sp-step strong { display: block; font-size: 1.15rem; font-weight: 800; }
.sp-step span.sp-step-text { display: block; font-size: .875rem; color: var(--sp-muted); line-height: 1.4; margin-top: 2px; }

/* ---------- Photo ---------- */
.sp-photo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(16,48,60,.14);
}
.sp-photo-wrap { margin: 26px 0 0; }
.sp-photo-wrap figcaption { margin-top: 10px; font-size: .85rem; color: var(--sp-muted); }

/* ---------- Teal panel ---------- */
.sp-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #17637a 0%, #1f7a91 100%);
    border-radius: 28px;
    padding: clamp(26px, 3.6vw, 40px);
}
.sp-page .sp-panel, .sp-page .sp-panel p { color: #e1f1f5 !important; }
.sp-page .sp-panel h2, .sp-page .sp-panel h3 { color: #fff !important; }
.sp-page .sp-panel .sp-pill { background: rgba(255,255,255,.16); color: #fff !important; }
.sp-panel-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    padding: 22px;
}
.sp-panel-card .sp-icon { background: var(--sp-sun); color: var(--sp-ink); width: 44px; height: 44px; border-radius: 12px; }
.sp-page .sp-panel-card h3 { margin: 14px 0 0; font-size: 1.15rem; font-weight: 800; }
.sp-page .sp-panel-card p { margin: 8px 0 0; font-size: .95rem; line-height: 1.55; }

/* ---------- Pull quote / callout ---------- */
.sp-callout { border-left: 6px solid var(--sp-sun); padding: 6px 0 6px 24px; }
.sp-page .sp-callout p, .sp-page .sp-callout .sp-rich p {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.5;
    font-weight: 700;
    color: var(--sp-ink);
}
.sp-page .sp-callout h3 { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 800; color: var(--sp-ink); }
.sp-note {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 18px;
    padding: 18px 22px;
    margin-top: 20px;
}
.sp-page .sp-note p { margin: 0; color: var(--sp-body); }
.sp-page .sp-note a { color: var(--sp-teal); font-weight: 700; text-decoration: underline; }

/* ---------- Buttons & links ---------- */
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: inherit;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    border-radius: 14px;
    padding: .9rem 1.6rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.sp-btn:hover { transform: translateY(-2px); }
.sp-btn--lg { font-size: 1.06rem; padding: 1.05rem 2rem; border-radius: 16px; }
.sp-btn--block { display: flex; width: 100%; }
.sp-page .sp-btn--primary { background: var(--sp-teal); color: #fff !important; box-shadow: 0 12px 24px rgba(31,122,145,.28); }
.sp-page .sp-btn--primary:hover { background: var(--sp-teal-dk); }
.sp-page .sp-btn--outline { background: #fff; color: var(--sp-ink) !important; border-color: #cfdde2; }
.sp-page .sp-btn--outline:hover { border-color: var(--sp-teal); color: var(--sp-teal) !important; transform: none; }
.sp-page .sp-btn--sun { background: var(--sp-sun); color: var(--sp-ink) !important; }
.sp-page .sp-btn--sun:hover { background: #ffc95c; }
.sp-page .sp-btn--ghost { background: rgba(255,255,255,.14); color: #fff !important; border-color: rgba(255,255,255,.5); }
.sp-page .sp-btn--ghost:hover { background: rgba(255,255,255,.26); transform: none; }
.sp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-page .sp-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--sp-teal) !important; }
.sp-page .sp-link:hover { text-decoration: underline; }
.sp-link i { font-size: .85em; }

/* ---------- Closing bar ---------- */
.sp-cta {
    background: var(--sp-ink);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}
.sp-cta-copy { flex: 1 1 320px; min-width: 0; }
.sp-page .sp-cta h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.1rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: #fff !important; }
.sp-page .sp-cta p { margin: 10px 0 0; font-size: 1.05rem; color: #cfe6ec !important; }
.sp-page .sp-cta a { text-decoration: none; }
.sp-page .sp-cta a.sp-link { color: #F6B73C !important; }

/* ---------- Rail ---------- */
.sp-toc {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 22px;
    padding: 20px 18px;
}
.sp-rail-label {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6b8591;
    padding: 0 10px 8px;
}
.sp-page .sp-toc a {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: .94rem;
    font-weight: 700;
    color: #26434f;
}
.sp-page .sp-toc a:hover { background: #E6F4F8; color: var(--sp-teal); }
.sp-rail-card { background: #E6F4F8; border-radius: 22px; padding: 22px; }
.sp-rail-card--plain { background: #fff; border: 1px solid var(--sp-line); }
.sp-page .sp-rail-card h3 { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--sp-ink); }
.sp-page .sp-rail-card p { margin: 6px 0 14px; font-size: .92rem; color: var(--sp-body); line-height: 1.5; }
.sp-rail-card .sp-btn { margin-top: 10px; }
.sp-rail-card .sp-btn:first-of-type { margin-top: 0; }
.sp-page .sp-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: .92rem;
    font-weight: 700;
    color: var(--sp-ink);
    word-break: break-word;
}
.sp-contact-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #E6F4F8;
    color: var(--sp-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.sp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--sp-body); }
.sp-checks i {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--sp-sun);
    color: var(--sp-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
}

/* ---------- Related chips ---------- */
.sp-related { max-width: 1200px; margin: 0 auto; padding: 24px 24px 72px; }
.sp-related-inner { border-top: 1px solid var(--sp-line); padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sp-related-label { font-size: .95rem; font-weight: 800; color: var(--sp-ink); margin-right: 6px; }
.sp-page .sp-chip {
    background: #fff;
    color: var(--sp-teal-dk);
    border: 1.5px solid #d4e4e9;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: .94rem;
    font-weight: 700;
    transition: all .15s ease;
}
.sp-page .sp-chip:hover { background: var(--sp-teal); color: #fff; border-color: var(--sp-teal); }

/* ---------- Sponsorship tiers ---------- */
.sp-tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; }
.sp-tier {
    --tier: var(--sp-brand);
    background: #fff;
    border: 1px solid var(--sp-line);
    border-top: 8px solid var(--tier);
    border-radius: 22px;
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
}
.sp-tier--bronze { --tier: #C98A4B; }
.sp-tier--silver { --tier: #9AA7AE; }
.sp-tier--gold { --tier: #F6B73C; }
.sp-tier--presidents { --tier: #1f7a91; }
.sp-tier-name { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sp-muted); }
.sp-page .sp-tier-price { margin: 6px 0 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--sp-ink); line-height: 1.1; }
.sp-tier-price small { font-size: 1rem; font-weight: 700; color: var(--sp-muted); }
.sp-page .sp-tier-np { margin: 4px 0 16px; font-size: .88rem; font-weight: 700; color: var(--sp-green-dk); }
.sp-tier .sp-checks { gap: 9px; }

/* ---------- Forms (Contact) ---------- */
.sp-form-card {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 10px 30px rgba(16,48,60,.06);
}
.sp-fieldset { margin: 0 0 34px; padding: 0; border: 0; }
.sp-fieldset:last-of-type { margin-bottom: 0; }
.sp-page .sp-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 18px;
    padding: 0 0 12px;
    border-bottom: 2px solid #f1f5f9;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sp-ink);
}
.sp-legend i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #E6F4F8;
    color: var(--sp-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.sp-fields { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sp-field { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.sp-fields .sp-field { margin-top: 0; }
.sp-fieldset > .sp-field:first-of-type, .sp-fieldset > .sp-fields + .sp-field { margin-top: 18px; }
.sp-fieldset > .sp-field:first-of-type { margin-top: 0; }
.sp-page .sp-field label.sp-label { font-size: .9rem; font-weight: 700; color: #26434f; }
.sp-optional { font-weight: 500; color: #7a929d; font-size: .8rem; }
.sp-page .sp-input,
.sp-page select.sp-input,
.sp-page textarea.sp-input {
    width: 100%;
    padding: .8rem 1rem;
    border: 1.5px solid #d4e4e9;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--sp-ink);
    background: #F8FBFC;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.sp-page .sp-input:focus {
    outline: none;
    border-color: var(--sp-brand);
    box-shadow: 0 0 0 4px rgba(62,162,190,.18);
    background: #fff;
}
.sp-page textarea.sp-input { min-height: 140px; resize: vertical; }
.sp-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-choices--col { flex-direction: column; align-items: stretch; }
.sp-page .sp-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #F8FBFC;
    border: 1.5px solid #d4e4e9;
    border-radius: 12px;
    padding: .7rem 1.1rem;
    cursor: pointer;
    font-size: .97rem;
    font-weight: 600;
    color: #26434f;
    line-height: 1.45;
}
.sp-page .sp-choice:hover { border-color: var(--sp-brand); }
.sp-choice input { margin-top: 4px; accent-color: var(--sp-teal); }
.sp-privacy { background: #F8FBFC; border-left: 4px solid var(--sp-brand); border-radius: 12px; padding: 16px; }
.sp-submit { margin-top: 34px; text-align: center; }
.sp-hidden { display: none !important; }
.sp-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.sp-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    margin: 0 0 22px;
    font-weight: 600;
}
.sp-alert--ok { background: #EAF3D6; border: 1px solid #c9deA0; color: #35500b; }
.sp-alert--err { background: #fde8e8; border: 1px solid #f3c1c1; color: #8a1f1f; }

.sp-hours { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin-top: 10px; font-size: .94rem; }
.sp-hours span:nth-child(odd) { font-weight: 700; color: var(--sp-ink); }
.sp-hours span:nth-child(even) { color: var(--sp-body); text-align: right; }
.sp-social { display: flex; gap: 10px; margin-top: 12px; }
.sp-page .sp-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #E6F4F8;
    color: var(--sp-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.sp-page .sp-social a:hover { background: var(--sp-teal); color: #fff; }

/* ---------- Articles ---------- */
.sp-filters { background: #fff; border: 1px solid var(--sp-line); border-radius: 22px; padding: 20px 22px; display: grid; gap: 18px; }
.sp-search { display: flex; gap: 10px; }
.sp-page .sp-search .sp-input { flex: 1; min-width: 0; }
.sp-page .sp-search button { flex-shrink: 0; }
.sp-filter-label { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b8591; margin-bottom: 10px; }
.sp-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-page .sp-cat {
    background: #F2F7F9;
    border: 1.5px solid #d4e4e9;
    color: var(--sp-teal-dk);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: .9rem;
    font-weight: 700;
    transition: all .15s ease;
}
.sp-page .sp-cat:hover { background: #fff; border-color: var(--sp-teal); }
.sp-page .sp-cat.is-active { background: var(--sp-teal); border-color: var(--sp-teal); color: #fff !important; }
.sp-results { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 0 18px; }
.sp-page .sp-results p { margin: 0; color: var(--sp-muted); font-weight: 600; }
.sp-articles { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sp-article {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(16,48,60,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.sp-article:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(16,48,60,.14); }
.sp-article-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #E6F4F8; }
.sp-article-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sp-article:hover .sp-article-img img { transform: scale(1.04); }
.sp-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--sp-sun);
    color: var(--sp-ink);
    font-size: .75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.sp-article-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sp-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .82rem; color: var(--sp-muted); font-weight: 600; }
.sp-article-cat { color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; background: var(--sp-teal); }
.sp-page .sp-article h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; }
.sp-page .sp-article h2 a { color: var(--sp-ink); }
.sp-page .sp-article h2 a:hover { color: var(--sp-teal); }
.sp-article-excerpt { color: var(--sp-body); font-size: .96rem; line-height: 1.6; }
.sp-page .sp-article-excerpt p { margin: 0; color: var(--sp-body); }
.sp-article-foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--sp-muted); font-weight: 600; }
.sp-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.sp-page .sp-pager a, .sp-pager span.sp-pg {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid #d4e4e9;
    color: var(--sp-teal-dk);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.sp-page .sp-pager a:hover { border-color: var(--sp-teal); }
.sp-pager span.sp-pg--current { background: var(--sp-teal); border-color: var(--sp-teal); color: #fff; }
.sp-pager span.sp-pg--gap { border: 0; background: transparent; }
.sp-empty {
    text-align: center;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 24px;
    padding: 56px 24px;
}
.sp-empty-icon { width: 72px; height: 72px; border-radius: 50%; background: #E6F4F8; color: var(--sp-teal); display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.sp-page .sp-empty h3 { margin: 18px 0 0; font-size: 1.5rem; font-weight: 800; }
.sp-page .sp-empty p { margin: 10px auto 22px; max-width: 460px; color: var(--sp-body); }
.sp-mini { display: grid; gap: 14px; }
.sp-mini a { display: block; color: var(--sp-ink); font-weight: 800; line-height: 1.35; }
.sp-mini a:hover { color: var(--sp-teal); }
.sp-mini time { display: block; margin-top: 2px; font-size: .8rem; color: #6b8591; font-weight: 600; }
.sp-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sp-page .sp-catlist a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    border-left: 4px solid transparent;
    font-size: .94rem;
    font-weight: 700;
    color: #26434f;
    background: #F8FBFC;
}
.sp-page .sp-catlist a:hover, .sp-page .sp-catlist a.is-active { background: #E6F4F8; color: var(--sp-teal); }
.sp-count { color: #6b8591; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .sp-rail { position: static; flex: 1 1 100%; }
    .sp-hero::before { width: 240px; height: 240px; right: -90px; top: -90px; }
    .sp-hero::after { display: none; }
    .sp-body { padding-top: 40px; gap: 36px; }
    .sp-section { margin-top: 56px; }
}
@media (max-width: 640px) {
    .sp-hero-inner { padding: 22px 18px 44px; }
    .sp-body { padding-left: 18px; padding-right: 18px; }
    .sp-related { padding-left: 18px; padding-right: 18px; }
    .sp-photo { aspect-ratio: 4 / 3; }
    .sp-row { gap: 14px; }
    .sp-search { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .sp-page * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   CMS blocks (HTML stored in the admin editor keeps its original class names)
   .vision-point / .vision-points-grid  -> Future of the Chamber
   .achieving-goals-list                 -> Future of the Chamber, Volunteer
   ========================================================================== */

.sp-points { display: grid; gap: 14px; counter-reset: sp-pt; }
.sp-points .vision-points-grid { display: contents; }
.sp-page .sp-points .vision-point {
    counter-increment: sp-pt;
    position: relative;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 20px;
    padding: 22px 24px 22px 92px;
    min-height: 92px;
}
.sp-points .vision-point::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 24px;
    top: 22px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: #FFF0CC;
    color: #8a5a00;
}
.sp-page .sp-points .vision-point h4 { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--sp-ink); }
.sp-page .sp-points .vision-point p { margin: 6px 0 0; font-size: 1rem; line-height: 1.65; color: var(--sp-body); }

/* icons by position (extra points fall back to a check mark) */
.sp-points--five .vision-point:nth-child(1)::before { content: '\f51e'; }
.sp-points--five .vision-point:nth-child(2)::before { content: '\f018'; }
.sp-points--five .vision-point:nth-child(3)::before { content: '\f0c0'; }
.sp-points--thirty .vision-point::before { background: #EAF3D6; color: var(--sp-green-dk); }
.sp-points--thirty .vision-point:nth-child(1)::before { content: '\f279'; }
.sp-points--thirty .vision-point:nth-child(2)::before { content: '\f501'; }
.sp-points--thirty .vision-point:nth-child(3)::before { content: '\f2db'; }

/* inside the teal panel the points become three translucent cards */
.sp-points--panel { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 26px; }
.sp-page .sp-panel .sp-points .vision-point {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    padding: 22px;
    min-height: 0;
}
.sp-panel .sp-points .vision-point::before {
    position: static;
    margin-bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sp-sun);
    color: var(--sp-ink);
    font-size: 1.1rem;
}
.sp-points--panel .vision-point:nth-child(1)::before { content: '\f5fd'; }
.sp-points--panel .vision-point:nth-child(2)::before { content: '\f19d'; }
.sp-points--panel .vision-point:nth-child(3)::before { content: '\f06c'; }
.sp-page .sp-panel .sp-points .vision-point h4 { color: #fff !important; font-size: 1.15rem; }
.sp-page .sp-panel .sp-points .vision-point p { color: #e1f1f5 !important; font-size: .95rem; line-height: 1.55; }

/* goals / opportunities list */
.sp-page .sp-goals .achieving-goals-list,
.sp-page .sp-goals ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.sp-page .sp-goals li {
    margin: 0;
    border-radius: 22px;
    padding: 24px;
    background: #FFF0CC;
    color: var(--sp-body);
    font-size: .97rem;
    line-height: 1.55;
}
.sp-goals li:nth-child(3n+2) { background: #E6F4F8; }
.sp-goals li:nth-child(3n+3) { background: #EAF3D6; }
.sp-goals li > i, .sp-goals li .goal-icon-inline {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    color: var(--sp-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.sp-goals li .goal-icon-inline i { font-size: 1.2rem; }
.sp-goals li strong { display: block; margin-bottom: 6px; font-size: 1.15rem; font-weight: 800; color: var(--sp-ink); }
.sp-goals li .goal-text-content { display: block; }
.sp-goals li .goal-description { display: block; }
.sp-goals--tight ul, .sp-goals--tight .achieving-goals-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Content blocks & values ---------- */
.sp-block {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 24px;
    padding: clamp(24px, 3.6vw, 36px);
}
.sp-block .sp-h2 { margin-top: 0; }
.sp-block .sp-rich { margin-top: 14px; }
.sp-block--sun { background: #FFF0CC; border-color: #f6e2b0; }
.sp-block--brand { background: #E6F4F8; border-color: #cfe6ee; }
.sp-page h3.sp-sub-h { margin: 8px 0 0; font-size: 1.1rem; font-weight: 800; color: var(--sp-teal); letter-spacing: -0.005em; }
.sp-panel .sp-rich { margin-top: 14px; }
.sp-page .sp-panel .sp-rich p, .sp-page .sp-panel .sp-rich li { color: #e1f1f5 !important; }
.sp-page .sp-panel .sp-rich strong { color: #fff !important; }
.sp-page .sp-panel .sp-rich a { color: #F6B73C !important; }
.sp-page .sp-panel h3.sp-sub-h { color: #F6B73C !important; }
.sp-block-link { margin-top: 18px; display: inline-flex; }
.sp-value { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.sp-value:first-of-type { margin-top: 0; }
.sp-value .sp-icon { width: 38px; height: 38px; border-radius: 11px; font-size: 1rem; }
.sp-value strong { display: block; font-size: .97rem; font-weight: 800; color: var(--sp-ink); line-height: 1.3; }
.sp-value span.sp-value-text { display: block; font-size: .85rem; color: var(--sp-muted); line-height: 1.4; }

/* ---------- Additions: mini article rows, empty note ---------- */
.sp-mini-row { display: flex; gap: 12px; align-items: flex-start; }
.sp-mini-row > div { min-width: 0; }
.sp-mini-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #E6F4F8; display: block; }
.sp-page .sp-mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-page .sp-none { margin: 0; color: var(--sp-muted); }
.sp-page .sp-checks li a.sp-link { font-weight: 700; }

/* ---------- Batch 2: accessibility, community, why-join ---------- */

/* points laid out in columns (icon on top) */
.sp-points--cols .vision-points-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.sp-page .sp-points--cols .vision-point { padding: 84px 22px 22px; min-height: 0; }
.sp-points--cols .vision-point::before { left: 22px; top: 22px; }
.sp-points--cols .vision-point:nth-child(3n+2)::before { background: #E6F4F8; color: var(--sp-teal); }
.sp-points--cols .vision-point:nth-child(3n+3)::before { background: #EAF3D6; color: var(--sp-green-dk); }
.sp-page .sp-points--cols .vision-point code, .sp-page .sp-rich code, .sp-page .sp-points code {
    background: #F2F7F9; border-radius: 6px; padding: 1px 6px; font-size: .9em; color: var(--sp-ink);
}

/* lists whose items start with an icon (<li><i></i>text</li>) */
.sp-page .sp-icolist ul, .sp-page .sp-icolist .achieving-goals-list, .sp-page .sp-icolist .involvement-list, .sp-page .sp-icolist .events-checklist, .sp-page .sp-icolist .spotlight-list {
    list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 10px;
}
.sp-page .sp-icolist li {
    position: relative; margin: 0; padding: 14px 18px 14px 66px; min-height: 58px;
    background: #fff; border: 1px solid var(--sp-line); border-radius: 16px;
    color: var(--sp-body); font-size: 1rem; line-height: 1.55;
}
.sp-page .sp-icolist li > i {
    position: absolute; left: 16px; top: 12px; width: 34px; height: 34px; margin: 0;
    border-radius: 10px; background: #E6F4F8; color: var(--sp-teal);
    display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.sp-page .sp-icolist li:nth-child(3n+2) > i { background: #FFF0CC; color: #8a5a00; }
.sp-page .sp-icolist li:nth-child(3n+3) > i { background: #EAF3D6; color: var(--sp-green-dk); }
.sp-page .sp-icolist li strong { color: var(--sp-ink); font-weight: 800; }
.sp-page .sp-icolist a, .sp-page .text-link { color: var(--sp-teal); font-weight: 700; text-decoration: underline; }
.sp-page .sp-icolist .event-category h4 { margin: 0 0 12px; font-size: 1rem; font-weight: 800; color: var(--sp-ink); }

/* community: initiatives and living features (CMS blocks keep their class names) */
.sp-page .sp-initiatives { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 22px; }
.sp-page .sp-initiatives .initiative-item {
    display: flex; gap: 16px; align-items: flex-start; background: #fff;
    border: 1px solid var(--sp-line); border-radius: 22px; padding: 22px;
}
.sp-initiatives .initiative-icon, .sp-features .feature-icon {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: #FFF0CC; color: #8a5a00;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.sp-initiatives .initiative-item:nth-child(4n+2) .initiative-icon, .sp-features .feature-item:nth-child(4n+2) .feature-icon { background: #E6F4F8; color: var(--sp-teal); }
.sp-initiatives .initiative-item:nth-child(4n+3) .initiative-icon, .sp-features .feature-item:nth-child(4n+3) .feature-icon { background: #EAF3D6; color: var(--sp-green-dk); }
.sp-page .sp-initiatives h4, .sp-page .sp-features h4 { margin: 0; font-size: 1.12rem; font-weight: 800; color: var(--sp-ink); }
.sp-page .sp-initiatives p, .sp-page .sp-features p { margin: 6px 0 0; font-size: .97rem; line-height: 1.6; color: var(--sp-body); }
.sp-page .sp-features .features-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 22px; }
.sp-page .sp-features .feature-item {
    display: flex; gap: 14px; align-items: flex-start; background: #fff;
    border: 1px solid var(--sp-line); border-radius: 20px; padding: 20px;
}

/* why join: perk groups */
.sp-perks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-top: 24px; }
.sp-perk { background: #fff; border: 1px solid var(--sp-line); border-radius: 22px; padding: 24px; }
.sp-page .sp-perk h3 { margin: 0 0 14px; font-size: 1.15rem; font-weight: 800; color: var(--sp-ink); display: flex; align-items: center; gap: 12px; }
.sp-perk h3 .sp-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }

/* rail extras */
.sp-page .sp-linklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.sp-page .sp-linklist a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: .94rem; font-weight: 700; color: #26434f; }
.sp-page .sp-linklist a:hover { background: #E6F4F8; color: var(--sp-teal); }
.sp-page .sp-linklist i { width: 18px; text-align: center; color: var(--sp-teal); font-size: .85rem; }
.sp-page kbd {
    background: #F2F7F9; border: 1px solid #cfdde2; border-bottom-width: 2px; border-radius: 6px;
    padding: 1px 6px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; color: var(--sp-ink);
}
.sp-page .sp-facts { display: grid; gap: 12px; margin-top: 14px; }
.sp-page .sp-facts strong { display: block; font-size: .95rem; font-weight: 800; color: var(--sp-ink); }
.sp-page .sp-facts span { display: block; font-size: .88rem; line-height: 1.5; color: var(--sp-body); }
.sp-evrow { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.sp-evdate { flex: 0 0 52px; text-align: center; background: var(--sp-sun); color: var(--sp-ink); border-radius: 12px; padding: 6px 4px; line-height: 1.1; }
.sp-evdate b { display: block; font-size: 1.25rem; font-weight: 800; }
.sp-evdate small { display: block; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sp-page .sp-evrow a { color: var(--sp-ink); font-weight: 800; line-height: 1.35; }
.sp-page .sp-evrow a:hover { color: var(--sp-teal); }
.sp-page .sp-evrow p { margin: 2px 0 0; font-size: .85rem; }
.sp-page .sp-photo--side { aspect-ratio: 4 / 3; max-width: 520px; }
@media (max-width: 640px) {
    .sp-page .sp-points--cols .vision-point { padding-top: 80px; }
    .sp-page .sp-icolist li { padding-left: 60px; }
}
