:root {
  --sp-navy: #062449;
  --sp-navy-2: #0b335f;
  --sp-blue: #0c426f;
  --sp-gold: #b99455;
  --sp-gold-2: #d1b06d;
  --sp-brick: #8d4f42;
  --sp-ink: #182232;
  --sp-muted: #5f6d7c;
  --sp-line: #e8edf2;
  --sp-soft: #f6f8fb;
  --sp-white: #ffffff;
  --sp-shadow: 0 20px 55px rgba(6, 36, 73, 0.14);
  --sp-radius: 20px;
  --sp-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sp-font-serif: Georgia, "Times New Roman", serif;
}

html.sp-dark {
  --sp-ink: #f6f8fb;
  --sp-muted: #c3ccd8;
  --sp-line: #203248;
  --sp-soft: #0d1a2a;
  --sp-white: #101b2a;
  --sp-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sp-white);
  color: var(--sp-ink);
  font-family: var(--sp-font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--sp-navy); text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
a:hover { color: var(--sp-blue); }

button, input, textarea, select { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.content-narrow { width: min(860px, calc(100% - 40px)); margin-inline: auto; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--sp-white);
  border-radius: 8px;
  box-shadow: var(--sp-shadow);
  clip: auto !important;
  clip-path: none;
  color: var(--sp-navy);
  display: block;
  height: auto;
  left: 12px;
  padding: 10px 14px;
  top: 12px;
  width: auto;
  z-index: 100000;
}

.site-header { background: var(--sp-white); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 rgba(6, 36, 73, .08); }
.admin-bar .site-header { top: 32px; }

.topbar { background: var(--sp-navy); color: #fff; font-size: .86rem; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--sp-gold-2); }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar__contact, .topbar__links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar__links a { font-weight: 700; font-size: .78rem; letter-spacing: .02em; }

.theme-toggle { border: 0; background: transparent; padding: 0; cursor: pointer; display: inline-flex; align-items: center; }
.theme-toggle__track { width: 42px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5); display: inline-flex; align-items: center; padding: 2px; }
.theme-toggle__dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.2); transform: translateX(0); transition: transform .2s ease; }
html.sp-dark .theme-toggle__dot { transform: translateX(18px); background: var(--sp-gold-2); }

.mainnav__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { flex: 0 0 auto; }
.site-logo, .custom-logo-link { display: inline-flex; align-items: center; }
.site-logo img, .custom-logo-link img { display: block; max-width: 152px; max-height: 74px; object-fit: contain; }
.primary-navigation { margin-left: auto; }
.primary-menu { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.primary-menu li { position: relative; }
.primary-menu a { display: block; padding: 12px 14px; border-radius: 999px; color: var(--sp-ink); font-size: .82rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: var(--sp-soft); color: var(--sp-navy); }
.primary-menu .sub-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; background: var(--sp-white); border: 1px solid var(--sp-line); border-radius: 16px; box-shadow: var(--sp-shadow); padding: 8px; list-style: none; margin: 0; z-index: 25; }
/* Invisible hover bridge: prevents dropdown menus from closing while the pointer moves from the parent link into the submenu. */
.primary-menu li.menu-item-has-children::after { content: ""; display: none; position: absolute; left: 0; right: 0; top: 100%; height: 14px; z-index: 24; }
.primary-menu li.menu-item-has-children:hover::after, .primary-menu li.menu-item-has-children:focus-within::after { display: block; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { text-transform: none; letter-spacing: 0; border-radius: 10px; }

.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; border-radius: 12px; padding: 9px; cursor: pointer; }
.menu-toggle:hover { background: var(--sp-soft); }
.menu-toggle__bar { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--sp-ink); border-radius: 99px; }

.button, .wp-block-button__link, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 0;
  border: 2px solid var(--sp-navy);
  background: var(--sp-navy);
  color: #fff;
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .035em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(6, 36, 73, .18);
}
.button:hover, .wp-block-button__link:hover, input[type="submit"]:hover { color: #fff; background: var(--sp-blue); border-color: var(--sp-blue); transform: translateY(-1px); }
.button--nav { padding-inline: 18px; white-space: nowrap; font-size: .76rem; }
.button--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.72); color: #fff; box-shadow: none; }
.button--ghost:hover { background: #fff; color: var(--sp-navy); border-color: #fff; }
.button--light { background: #fff; border-color: #fff; color: var(--sp-navy); }
.button--light:hover { background: var(--sp-gold-2); border-color: var(--sp-gold-2); color: var(--sp-navy); }

.hero { position: relative; min-height: clamp(430px, 56vw, 670px); background-size: cover; background-position: center; display: flex; align-items: center; overflow: hidden; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 20, 42, .82) 0%, rgba(0, 20, 42, .55) 45%, rgba(0, 20, 42, .18) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 7px; background: linear-gradient(90deg, var(--sp-brick), var(--sp-gold), var(--sp-navy)); }
.hero__inner { position: relative; z-index: 2; color: #fff; padding-block: 90px; }
.eyebrow { margin: 0 0 12px; color: var(--sp-gold); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: var(--sp-gold-2); }
.hero h1 { max-width: 680px; margin: 0; font-family: var(--sp-font-serif); font-size: clamp(3rem, 7vw, 5.8rem); line-height: .95; letter-spacing: -.04em; text-shadow: 0 10px 35px rgba(0,0,0,.35); }
.hero__text { max-width: 650px; margin: 22px 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.quick-links { background: var(--sp-white); padding: 56px 0; }
.quick-links__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quick-card { background: var(--sp-white); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 32px; box-shadow: 0 15px 35px rgba(6,36,73,.06); transition: transform .18s ease, box-shadow .18s ease; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow); }
.quick-card__icon, .portal-welcome__icon { width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center; background: #edf4fb; color: var(--sp-navy); margin-bottom: 20px; }
.quick-card__icon svg, .portal-welcome__icon svg, .portal-card svg { width: 30px; height: 30px; fill: currentColor; }
.quick-card h2 { margin: 0 0 8px; font-family: var(--sp-font-serif); font-size: 1.35rem; }
.quick-card p { margin: 0 0 20px; color: var(--sp-muted); }
.quick-card a, .read-more { color: var(--sp-navy); font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.page-content { color: var(--sp-ink); }
.page-content--front { padding: 10px 0 56px; }
.page-content h2, .page-content h3, .page-content h4 { font-family: var(--sp-font-serif); line-height: 1.15; }
.page-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.featured-image { border-radius: var(--sp-radius); box-shadow: var(--sp-shadow); margin-bottom: 28px; }

.split-section { padding: 74px 0; background: var(--sp-soft); }
.split-section__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 6vw, 72px); align-items: center; }
.split-section__image img { border-radius: 28px; box-shadow: var(--sp-shadow); display: block; width: 100%; }
.split-section__content h2, .section-heading h2, .cta-band h2, .page-hero h1, .archive-header h1 { margin: 0; font-family: var(--sp-font-serif); line-height: 1.05; letter-spacing: -.02em; font-size: clamp(2.2rem, 5vw, 4rem); }
.split-section__content p { color: var(--sp-muted); font-size: 1.06rem; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--sp-ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%; background: var(--sp-gold); box-shadow: inset 0 0 0 4px rgba(255,255,255,.8); }

.news-section { padding: 78px 0; background: var(--sp-white); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--sp-line); border-radius: var(--sp-radius); overflow: hidden; background: var(--sp-white); box-shadow: 0 12px 32px rgba(6,36,73,.06); }
.post-card__thumb { display: block; aspect-ratio: 16 / 10; background: var(--sp-soft); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__body { padding: 24px; }
.post-card__meta { margin: 0 0 8px; color: var(--sp-gold); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.post-card h3 { margin: 0 0 10px; font-family: var(--sp-font-serif); font-size: 1.35rem; line-height: 1.18; }
.post-card h3 a { color: var(--sp-ink); }
.post-card p { color: var(--sp-muted); margin: 0; }
.post-card--placeholder { min-height: 220px; display: flex; }

.cta-band { padding: 58px 0; color: #fff; background: linear-gradient(135deg, var(--sp-navy), #0b3b6c); }
.cta-band .eyebrow { color: var(--sp-gold-2); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band p { max-width: 740px; color: rgba(255,255,255,.85); margin-bottom: 0; }

.page-shell { background: var(--sp-white); }
.page-hero { padding: 74px 0 44px; background: linear-gradient(180deg, var(--sp-soft), var(--sp-white)); border-bottom: 1px solid var(--sp-line); }
.page-hero--portal { background: linear-gradient(135deg, var(--sp-navy), #0b3b6c); color: #fff; }
.page-hero--portal p { color: rgba(255,255,255,.86); }
.page-hero--portal .eyebrow { color: var(--sp-gold-2); }
.page-shell .page-content { padding: 44px 0 76px; }
.archive-header { padding: 70px 0 28px; text-align: center; }
.post-list { display: grid; gap: 22px; padding-bottom: 78px; }
.post-list__item { display: grid; grid-template-columns: 280px 1fr; gap: 26px; padding: 24px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-white); box-shadow: 0 12px 32px rgba(6,36,73,.06); }
.post-list__thumb { aspect-ratio: 16/11; border-radius: 16px; overflow: hidden; background: var(--sp-soft); }
.post-list__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-list h2 { margin: 0 0 10px; font-family: var(--sp-font-serif); }
.post-list h2 a { color: var(--sp-ink); }

.portal-section { padding: 54px 0 84px; }
.portal-welcome { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: start; background: var(--sp-white); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 30px; box-shadow: var(--sp-shadow); }
.portal-welcome h2 { margin: 0 0 8px; font-family: var(--sp-font-serif); font-size: 2rem; }
.portal-welcome p { margin: 0; color: var(--sp-muted); }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.portal-card { display: grid; gap: 10px; border: 1px solid var(--sp-line); border-radius: 18px; background: var(--sp-white); padding: 24px; color: var(--sp-ink); }
.portal-card span { color: var(--sp-navy); }
.portal-card strong { font-family: var(--sp-font-serif); font-size: 1.25rem; }
.portal-card small { color: var(--sp-muted); line-height: 1.45; }
.login-panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: start; background: var(--sp-white); border: 1px solid var(--sp-line); border-radius: 28px; padding: clamp(26px, 5vw, 44px); box-shadow: var(--sp-shadow); }
.login-panel h2 { margin: 0 0 10px; font-family: var(--sp-font-serif); font-size: 2.2rem; }
.login-panel p { color: var(--sp-muted); }
.login-panel form { display: grid; gap: 14px; }
.login-panel label { font-weight: 800; color: var(--sp-ink); }
.login-panel input[type="text"], .login-panel input[type="password"], .login-panel input[type="email"], .page-content input, .page-content textarea, .page-content select {
  width: 100%; border: 1px solid var(--sp-line); background: var(--sp-white); color: var(--sp-ink); border-radius: 12px; padding: 12px 14px;
}
.login-panel__help { margin-top: 16px; }

.site-footer { background: #051b36; color: rgba(255,255,255,.86); }
.footer__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; padding: 60px 0; }
.footer__brand img { width: 250px; max-width: 100%; margin-bottom: 18px; }
.footer__brand p { margin: 0; color: rgba(255,255,255,.74); }
.footer__widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-widget__title { margin: 0 0 14px; color: #fff; font-family: var(--sp-font-serif); font-size: 1.2rem; }
.footer-widget ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-widget a { color: rgba(255,255,255,.78); }
.footer-widget a:hover { color: var(--sp-gold-2); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom-inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .88rem; color: rgba(255,255,255,.68); }
.footer-menu { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }
.footer-menu a { color: rgba(255,255,255,.72); }

.pagination, .nav-links { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.page-numbers { padding: 9px 13px; border: 1px solid var(--sp-line); border-radius: 10px; color: var(--sp-ink); }
.page-numbers.current { background: var(--sp-navy); color: #fff; border-color: var(--sp-navy); }
.comments-area { margin-top: 46px; padding-top: 36px; border-top: 1px solid var(--sp-line); }

@media (max-width: 1020px) {
  .button--nav { display: none; }
  .primary-menu a { padding-inline: 10px; }
  .post-grid, .quick-links__grid { gap: 18px; }
}

@media (max-width: 860px) {
  .admin-bar .site-header { top: 46px; }
  .topbar__inner { justify-content: center; text-align: center; padding: 8px 0; }
  .topbar__contact { display: none; }
  .mainnav__inner { min-height: 78px; }
  .site-logo img, .custom-logo-link img { max-width: 126px; max-height: 60px; }
  .menu-toggle { display: inline-block; order: 3; }
  .primary-navigation { position: absolute; left: 0; right: 0; top: 100%; background: var(--sp-white); border-top: 1px solid var(--sp-line); box-shadow: var(--sp-shadow); display: none; }
  .primary-navigation.is-open { display: block; }
  .primary-menu { display: grid; gap: 0; padding: 12px 20px 22px; }
  .primary-menu a { border-radius: 12px; padding: 13px 14px; }
  .primary-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent; }
  .primary-menu li.menu-item-has-children::after { display: none !important; }
  .hero { min-height: 520px; background-position: center; }
  .hero__shade { background: linear-gradient(90deg, rgba(0,20,42,.86), rgba(0,20,42,.42)); }
  .quick-links__grid, .split-section__grid, .post-grid, .footer__inner, .footer__widgets, .login-panel, .portal-grid { grid-template-columns: 1fr; }
  .cta-band__inner { display: grid; }
  .post-list__item { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; padding: 16px 0; }
}

@media (max-width: 560px) {
  .container, .content-narrow { width: min(100% - 28px, 1180px); }
  .topbar__links { gap: 10px; font-size: .76rem; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: clamp(2.5rem, 16vw, 4.2rem); }
  .hero__actions { display: grid; width: 100%; }
  .hero__actions .button { width: 100%; }
  .quick-card, .post-card__body, .login-panel, .portal-welcome { padding: 22px; }
  .portal-welcome { grid-template-columns: 1fr; }
  .split-section, .news-section { padding: 54px 0; }
  .footer__inner { padding: 46px 0; }
}

/* South Pointe v1.1 refinements */
.topbar__inner { justify-content: space-between; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 14px; min-height: 38px; }
.topbar__right { margin-left: auto; }
.utility-menu, .button-menu, .header-actions-menu, .hero-actions-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.utility-menu a { color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .035em; text-transform: uppercase; }
.utility-menu a:hover { color: var(--sp-gold-2); }
.button-menu li { margin: 0; padding: 0; list-style: none; }
.hero-actions-menu { gap: 14px; }
.hero__actions > .button-menu { margin-top: 0; }
.header-actions { flex: 0 0 auto; }
.theme-toggle { gap: 10px; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .025em; text-transform: uppercase; }
.theme-toggle__text { display: inline-flex; align-items: center; white-space: nowrap; opacity: .92; }
.theme-toggle__dark { color: var(--sp-gold-2); }
html.sp-dark .theme-toggle__standard { color: rgba(255,255,255,.75); }
html.sp-dark .theme-toggle__dark { color: #fff; }
.resource-index-section { padding: 56px 0 14px; background: var(--sp-white); }
.resource-card-grid { grid-template-columns: repeat(4, 1fr); }
.footer-contact-link { font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.sph-resident-disabled .resident-portal-link { display: none !important; }

@media (max-width: 1020px) {
  .header-actions { display: none; }
  .resource-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar__inner { justify-content: center; }
  .topbar__left:empty { display: none; }
  .topbar__right { margin-left: 0; }
  .utility-menu { justify-content: center; }
  .hero-actions-menu { width: 100%; display: grid; }
  .hero-actions-menu .button { width: 100%; }
}

@media (max-width: 560px) {
  .theme-toggle { font-size: .7rem; gap: 8px; }
  .theme-toggle__track { width: 38px; height: 21px; }
  html.sp-dark .theme-toggle__dot { transform: translateX(16px); }
  .resource-card-grid { grid-template-columns: 1fr; }
}

/* South Pointe v1.4 editable homepage banner and events calendar */
.split-section__content > .eyebrow:first-child { margin-top: 0; }
.split-section__content .wp-block-heading:first-child { margin-top: 0; }
.events-page-intro { padding-top: 0 !important; padding-bottom: 28px !important; }
.events-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 18px; }
.events-toolbar h2 { margin: 0; font-family: var(--sp-font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.events-calendar-wrap { margin: 20px 0 44px; }
.events-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--sp-line); border-radius: 22px; overflow: hidden; background: var(--sp-white); box-shadow: 0 12px 32px rgba(6,36,73,.06); }
.events-calendar__day-name { padding: 12px 10px; background: var(--sp-navy); color: #fff; font-weight: 900; text-align: center; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.events-calendar__cell { min-height: 118px; padding: 10px; border-right: 1px solid var(--sp-line); border-top: 1px solid var(--sp-line); background: var(--sp-white); }
.events-calendar__cell:nth-child(7n) { border-right: 0; }
.events-calendar__cell--blank { background: var(--sp-soft); }
.events-calendar__date { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sp-soft); color: var(--sp-ink); font-weight: 900; font-size: .82rem; }
.events-calendar__items { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.events-calendar__items a { display: block; border-radius: 9px; padding: 6px 8px; background: rgba(196,145,72,.16); color: var(--sp-ink); font-size: .82rem; font-weight: 800; line-height: 1.25; }
.events-calendar__items a:hover { background: var(--sp-gold); color: #fff; }
.events-list-section { margin-top: 26px; }
.events-list-section > h2 { margin: 0 0 20px; font-family: var(--sp-font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: center; }
.event-list__item { grid-template-columns: 180px 1fr; }
.event-date-badge { display: flex; align-items: center; justify-content: center; min-height: 96px; border-radius: 18px; background: var(--sp-soft); border: 1px solid var(--sp-line); padding: 16px; color: var(--sp-navy); font-weight: 900; text-align: center; }
.event-details { margin: 0 0 16px; display: grid; gap: 6px; }
.event-details p { margin: 0; color: var(--sp-muted); }
.event-details strong { color: var(--sp-ink); }

@media (max-width: 860px) {
  .events-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
  .events-toolbar h2 { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .events-toolbar .button:first-child { grid-column: 1; grid-row: 2; }
  .events-toolbar .button:last-child { grid-column: 2; grid-row: 2; }
  .events-calendar { display: block; border-radius: 18px; overflow: visible; border: 0; box-shadow: none; background: transparent; }
  .events-calendar__day-name, .events-calendar__cell--blank { display: none; }
  .events-calendar__cell { min-height: 0; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--sp-line); border-radius: 16px; margin-bottom: 10px; background: var(--sp-white); box-shadow: 0 8px 24px rgba(6,36,73,.05); }
  .events-calendar__items { margin-top: 0; flex: 1; }
  .event-list__item { grid-template-columns: 1fr; }
}

/* South Pointe v1.5 plugin-backed events and editable homepage CTA */
.cta-band--editable { padding: 46px 0; }
.cta-band--editable .cta-band__inner { display: block; }
.cta-band--editable .cta-band__content { max-width: 900px; }
.cta-band--editable h2 { font-size: clamp(1.45rem, 3vw, 2.35rem); line-height: 1.15; max-width: 900px; }
.cta-band--editable p { max-width: 860px; font-size: .98rem; line-height: 1.7; }
.cta-band--editable .eyebrow { margin-bottom: 8px; font-size: .78rem; }
.notice-card { border: 1px solid var(--sp-line); border-radius: 18px; padding: 24px; background: var(--sp-soft); box-shadow: 0 12px 32px rgba(6,36,73,.05); }
.notice-card h2 { margin-top: 0; font-family: var(--sp-font-serif); }
.notice-card p:last-child { margin-bottom: 0; }
