/* ChurchBizNetwork identity. Church-specific theme variables load after this file. */
:root {
  --ink: #173243;
  --ink-2: #284858;
  --muted: #59707a;
  --line: #dce6e8;
  --line-strong: #bdcfd3;
  --paper: #f6f8f7;
  --soft: #edf5f3;
  --brand: #176a60;
  --brand-dark: #104f49;
  --brand-soft: #e1f1ec;
  --accent: #8a591e;
  --radius: 12px;
}
body { background: var(--paper); }
.site-header { border-bottom: 1px solid var(--line); padding-block: 18px; }
.site-header .network-brand { font-size: 21px; gap: 12px; flex-shrink: 0; }
.network-brand::before { display: none; }
.network-logo { width: 44px; height: 44px; flex-shrink: 0; }
.network-brand > span { line-height: 1.2; }
.network-brand small { display: block; font-size: 10px; font-weight: 650; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.brand:hover { text-decoration: none; }
.site-footer { padding-block: 28px; }
.site-footer > span { font-weight: 750; color: var(--ink); }
.site-footer small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.network-hero {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; min-height: 540px;
  padding: clamp(28px, 4.5vw, 64px); margin-top: 28px; border-radius: 22px;
  background: radial-gradient(ellipse at 88% 12%, #245c62 0, transparent 54%), #122f40;
  box-shadow: 0 20px 50px #122f4012;
}
.network-hero h1 { font-size: clamp(40px, 4.5vw, 62px); line-height: 1.06; font-weight: 750; max-width: 670px; margin-bottom: 24px; }
.network-hero .eyebrow { color: #f0c376; font-size: 11px; line-height: 1.7; }
.network-hero .hero-description { font-size: 16px; line-height: 1.75; color: #d1e4e6; max-width: 510px; margin-bottom: 28px; }
.network-hero .search-panel { max-width: 550px; background: white; border: 0; padding: 6px; gap: 4px; }
.network-hero .search-panel input { min-width: 0; flex: 1; width: 100%; font-size: 14px; color: #173243; }
.network-hero .search-panel button { background: #176a60; white-space: nowrap; border-radius: 7px; padding-inline: 16px; }
.network-hero .search-panel button:hover { background: #104f49; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.hero-links a { color: #e8f2f0; font-size: 13px; font-weight: 600; }
.hero-links a span { color: #f0c376; padding-left: 6px; }
.network-visual { position: relative; min-height: 390px; isolation: isolate; }
.network-orbit { position: absolute; inset: 35px 12px; border: 1px solid #71a5a766; border-radius: 50%; transform: rotate(-24deg); }
.network-orbit::after { content: ''; position: absolute; inset: 35px -20px; border: 1px dashed #71a5a755; border-radius: 50%; transform: rotate(65deg); }
.network-center { position: absolute; inset: 100px 0 auto; display: grid; justify-items: center; gap: 9px; text-align: center; }
.network-center strong { font-size: 18px; color: white; }
.network-center > span { font-size: 12px; line-height: 1.6; color: #c2dddc; }
.network-node { position: absolute; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; border: 1px solid #bed3d333; border-radius: 12px; background: #f8fbf9; color: #173243; padding: 15px 18px; box-shadow: 0 10px 30px #081e3322; min-width: 172px; }
.network-node > span { display: grid; grid-row: 1 / 3; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e1f1ec; color: #176a60; font-size: 10px; font-weight: 800; }
.network-node strong { display: block; font-size: 12px; }
.network-node small { display: block; font-size: 10px; color: #59707a; margin-top: 4px; }
.node-one { top: 4px; left: 8px; }
.node-two { top: 87px; right: -12px; }
.node-three { bottom: 0; left: 20px; }
.network-churches { padding-top: 18px; scroll-margin-top: 155px; }
.network-churches .section-heading { align-items: end; gap: 28px; }
.network-churches .section-heading h2 { margin: 0; max-width: 500px; font-size: clamp(26px, 3vw, 34px); }
.network-churches .section-heading > p { max-width: 310px; font-size: 14px; }
.church-card { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 4px 15px #17324304; }
.church-card:hover { border-color: var(--brand); }
.church-card-link { color: var(--brand-dark); font-size: 12px; font-weight: 700; margin-top: 22px; }
.network-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; border-top: 1px solid var(--line); padding-top: 44px; padding-bottom: 24px; }
.network-intro h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; margin-bottom: 24px; }
.network-benefits article { border-bottom: 1px solid var(--line); padding: 0 0 20px; margin: 0 0 22px; }
.network-benefits article > span { color: var(--brand-dark); font-size: 11px; font-weight: 700; }
.network-benefits h3 { font-size: 19px; margin: 8px 0; }
.network-benefits p { color: var(--muted); font-size: 14px; margin-bottom: 0; max-width: 470px; }
@media (max-width: 1050px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .network-hero { grid-template-columns: 1fr 0.85fr; gap: 18px; }
  .network-visual { transform: scale(.9); transform-origin: center; }
  .node-two { right: -20px; }
}
@media (max-width: 760px) {
  .network-hero { grid-template-columns: 1fr; gap: 36px; padding: 32px 24px; }
  .network-hero > div { max-width: 100%; }
  .network-hero h1 { font-size: clamp(37px, 7.6vw, 54px); }
  .network-visual { min-height: 350px; width: min(100%, 380px); justify-self: center; transform: none; }
  .node-two { right: 0; }
  .node-one { left: 0; }
  .node-three { left: 12px; }
  .network-center { inset-block-start: 92px; }
  .network-intro { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
  .network-churches .section-heading { align-items: flex-start; }
}
@media (max-width: 560px) {
  .network-visual { display: grid; gap: 10px; min-height: auto; }
  .network-center { position: relative; inset: auto; padding-bottom: 20px; }
  .network-node { position: relative; inset: auto; width: 100%; }
  .network-hero .search-panel { flex-direction: column; gap: 6px; padding: 7px; }
  .network-hero .search-panel button { width: 100%; }
  .network-hero .hero-description { font-size: 15px; }
  .site-header .network-brand { font-size: 20px; }
  .network-node { padding: 12px; min-width: 164px; }
  .network-node small { font-size: 9px; }
}
