/* The networking-events landing pages (src/networking/render.js; SFBAYHCC/SEO/CountyLanding, Phase C).
   Hero after the Upcoming Events template: navy #182E45, cyan radial glow, #4FC3E7 kicker, one H1, a panel, pills.
   Strict blue ramp only (palette v2): #F2FAFE #E6F6FC #4FC3E7 #009DD7 #0A76BA #1268AE #164C7E #182E45.
   Buttons fill 600 #0A76BA with white text, hover 700 #1268AE. Mid and dark tones carry white text. */
.nx-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 860px) { .nx-wrap { padding: 0 16px; } }

/* hero */
.nx-hero { position: relative; background: #182E45; color: #fff; overflow: hidden; }
.nx-hero__glow { position: absolute; inset: 0; background: radial-gradient(circle at 78% 8%, rgba(0, 157, 215, 0.55), transparent 55%); pointer-events: none; }
.nx-hero .nx-wrap { position: relative; padding-top: 24px; }
.nx-crumb { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.nx-crumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.nx-crumb a:hover { color: #fff; text-decoration: underline; }
.nx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-top: 32px; }
.nx-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #4FC3E7; }
.nx-h1 { font-size: 52px; font-weight: 900; line-height: 1.05; letter-spacing: -0.025em; margin: 14px 0 18px; color: #fff; }
.nx-lede { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); max-width: 600px; margin: 0 0 24px; }
.nx-pills { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 40px; padding: 20px 0 22px; }
.nx-pill { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); }
.nx-pill:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nx-pill.is-on { background: #0A76BA; border-color: #0A76BA; color: #fff; font-weight: 700; }
.nx-pill--sky { color: #182E45; background: #4FC3E7; border-color: #4FC3E7; font-weight: 700; }

/* the promo slot */
.nx-panel { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 28px; margin-bottom: 8px; }
.nx-panel__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4FC3E7; margin-bottom: 14px; }
.nx-panel__h { font-size: 26px; font-weight: 900; line-height: 1.15; color: #fff; margin: 0 0 12px; letter-spacing: -0.01em; }
.nx-panel__text { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); margin: 0 0 18px; }
.nx-panel__stats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nx-panel__stats li { font-size: 13px; font-weight: 700; color: #182E45; background: #E6F6FC; border-radius: 999px; padding: 6px 12px; }
.nx-panel__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* buttons and the sign-up form */
.nx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: #0A76BA; color: #fff; border: 0; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.nx-btn:hover, .nx-btn:focus-visible { background: #1268AE; color: #fff; }
.nx-form { display: flex; max-width: 520px; }
.nx-form__input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid #D1D5DB; border-right: 0; border-radius: 8px 0 0 8px; font: inherit; font-size: 16px; color: #182E45; background: #fff; }
.nx-form__input:focus { outline: 2px solid #4FC3E7; outline-offset: 1px; }
.nx-form .nx-btn { border-radius: 0 8px 8px 0; white-space: nowrap; }
.nx-form--dark .nx-form__input { border-color: #fff; }
.nx-form__note { font-size: 13px; color: var(--fg-2, #3F5266); margin: 8px 0 0; }
.nx-hero .nx-form__note, .nx-band .nx-form__note { color: rgba(255, 255, 255, 0.7); }

/* page body */
.nx-page { padding-top: 32px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 36px; }
.nx-intro { font-size: 18px; line-height: 1.6; color: var(--fg-2, #3F5266); max-width: 820px; }
.nx-intro p { margin: 0 0 14px; }
.nx-intro p:last-child { margin-bottom: 0; }
.nx-section { min-width: 0; }
.nx-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.nx-h2 { font-size: 26px; font-weight: 900; color: #182E45; margin: 0 0 12px; line-height: 1.2; }
.nx-head .nx-h2 { margin: 0; }
.nx-h3 { font-size: 18px; font-weight: 700; color: #182E45; margin: 28px 0 4px; }
.nx-count { font-size: 14px; font-weight: 700; color: #1268AE; }
.nx-note { font-size: 14px; color: var(--fg-2, #3F5266); line-height: 1.55; margin: 0 0 14px; }
.nx-empty { font-size: 16px; color: #164C7E; background: #F2FAFE; border: 1px solid #E6F6FC; border-radius: 12px; padding: 16px 18px; margin: 0; }
.nx-link { display: inline-block; margin-top: 12px; color: #4FC3E7; font-weight: 700; text-decoration: none; }
.nx-link:hover { text-decoration: underline; }

/* event cards: the whole card opens the event (the title link is stretched) */
.nx-evs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nx-ev { position: relative; display: flex; gap: 16px; padding: 16px; border: 1px solid #E5E7EB; border-radius: 12px; background: #fff; }
.nx-ev:hover { border-color: #4FC3E7; }
.nx-ev--own { border-color: #4FC3E7; background: #F2FAFE; }
.nx-ev__date { flex: 0 0 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #E6F6FC; border-radius: 10px; padding: 8px 4px; color: #182E45; line-height: 1; }
.nx-ev--own .nx-ev__date { background: #0A76BA; color: #fff; }
.nx-ev__mon { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.nx-ev__day { font-size: 26px; font-weight: 900; margin-top: 4px; }
.nx-ev__body { min-width: 0; }
.nx-ev__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--fg-2, #3F5266); }
.nx-ev__tag { font-weight: 700; color: #1268AE; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; }
.nx-ev__title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 6px 0 4px; }
.nx-ev__link { color: #182E45; text-decoration: none; overflow-wrap: anywhere; }
.nx-ev__link::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.nx-ev__link:hover { color: #1268AE; }
.nx-ev__link:focus-visible { outline: none; }
.nx-ev:focus-within { outline: 2px solid #0A76BA; outline-offset: 2px; }
.nx-ev__sub { font-size: 14px; color: var(--fg-2, #3F5266); overflow-wrap: anywhere; }

/* the sign-up under the events */
.nx-inline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 22px; padding: 20px; background: #F2FAFE; border: 1px solid #E6F6FC; border-radius: 12px; }
.nx-inline strong { display: block; font-size: 18px; color: #182E45; margin-bottom: 4px; }
.nx-inline .nx-note { margin: 0; }

/* navy bands (mid-page and final) */
.nx-band { background: #182E45; color: #fff; padding: 44px 0; }
.nx-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.nx-band__h { font-size: 28px; font-weight: 900; line-height: 1.2; margin: 0 0 8px; color: #fff; }
.nx-band__lead { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); margin: 0; }

/* cities, industries */
.nx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border: 1px solid #E5E7EB; border-radius: 999px; color: #182E45; text-decoration: none; font-size: 14px; font-weight: 500; }
.nx-chip span { font-size: 12px; color: #1268AE; font-weight: 700; }
.nx-chip:hover { border-color: #4FC3E7; background: #F2FAFE; }

/* partner chambers */
.nx-chambers { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: 24px; }
.nx-chambers li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid #F2F4F8; font-size: 15px; }
.nx-chambers a { color: #1268AE; text-decoration: none; }
.nx-chambers a:hover { text-decoration: underline; }

/* questions */
.nx-faq { display: grid; gap: 10px; max-width: 860px; }
.nx-faq__item { border: 1px solid #E5E7EB; border-radius: 12px; padding: 14px 18px; background: #fff; }
.nx-faq__item summary { cursor: pointer; font-weight: 700; color: #182E45; font-size: 16px; }
.nx-faq__item p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--fg-2, #3F5266); }

/* the index's county cards */
.nx-counties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nx-county { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid #E5E7EB; border-radius: 12px; text-decoration: none; color: #182E45; background: #fff; }
.nx-county:hover { border-color: #4FC3E7; background: #F2FAFE; }
.nx-county__name { font-size: 19px; font-weight: 900; }
.nx-county__n { font-size: 14px; font-weight: 700; color: #1268AE; }
.nx-county__k { font-size: 13px; color: var(--fg-2, #3F5266); }

@media (max-width: 960px) {
  .nx-hero__grid, .nx-band__grid, .nx-inline { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .nx-evs { grid-template-columns: minmax(0, 1fr); }
  .nx-counties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .nx-h1 { font-size: 36px; }
  .nx-lede { font-size: 17px; }
  .nx-form { flex-direction: column; gap: 8px; }
  .nx-form__input { border-right: 1px solid #D1D5DB; border-radius: 8px; }
  .nx-form--dark .nx-form__input { border-color: #fff; }
  .nx-form .nx-btn { border-radius: 8px; width: 100%; }
  .nx-counties { grid-template-columns: minmax(0, 1fr); }
  .nx-band__h { font-size: 24px; }
  .nx-panel { padding: 22px; }
}

/* the county links on /events (src/networking/counties.js countyChips, inserted by src/render/events.js) */
.nx-bycounty { margin-top: 28px; padding-top: 20px; border-top: 1px solid #E5E7EB; }
.nx-bycounty__h { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1268AE; margin-bottom: 10px; }

/* the county bar under the hero: the nine county pages, this one marked; scrolls sideways inside itself on a phone */
.nx-subnav { background: #F2FAFE; border-bottom: 1px solid #E6F6FC; }
.nx-subnav__row { display: flex; align-items: center; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.nx-subnav__label { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1268AE; padding-right: 8px; }
.nx-subnav__link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-bottom: 3px solid transparent; color: #164C7E; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nx-subnav__link:hover { color: #0A76BA; border-bottom-color: #4FC3E7; }
.nx-subnav__link.is-on { color: #182E45; font-weight: 700; border-bottom-color: #0A76BA; }
