/* Edge RCM — state aware content */

.geo-strip {
  background: var(--color-bg-deep, #eef2f9);
  border-bottom: 1px solid var(--color-line, #e4e9f2);
}
.geo-strip__inner { padding-top: .85rem; padding-bottom: .85rem; }
.geo-strip p { margin: 0; font-size: var(--fs-sm, .95rem); color: var(--color-text, #1f2937); }
.geo-strip a { font-weight: 600; color: var(--color-primary, #004aad); white-space: nowrap; }

.geo-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.6rem;
  font-size: var(--fs-sm, .95rem);
  color: var(--color-muted, #566175);
}
.geo-picker select {
  font: inherit;
  padding: .5rem .8rem;
  border: 1px solid var(--color-line, #e4e9f2);
  border-radius: var(--radius-xs, 8px);
  background: #fff;
  color: var(--color-text, #1f2937);
  min-width: 200px;
}
.geo-picker a { font-weight: 600; color: var(--color-primary, #004aad); }

.state-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .8rem;
}
.state-list__item {
  display: block;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--color-line, #e4e9f2);
  border-radius: var(--radius-sm, 12px);
  color: var(--color-text, #1f2937);
  text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.state-list__item:hover { border-color: var(--color-primary, #004aad); box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,.08)); }
.state-list__item b { display: block; color: var(--color-primary, #004aad); }
.state-list__item span { display: block; font-size: .85rem; color: var(--color-muted, #566175); margin-top: .2rem; }

a.card { display: block; color: inherit; text-decoration: none; }

.pill-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0 .4rem; }
.state-note { font-size: .85rem; color: var(--color-muted, #566175); margin: .4rem 0 0; }

/* Homepage: bold state bar above the hero */
.geo-strip--top { background: var(--color-primary, #004aad); border-bottom: 0; }
.geo-strip--top p { color: #fff; text-align: center; }
.geo-strip--top b { color: var(--color-accent, #ffc918); }
.geo-strip--top a { color: #fff; text-decoration: underline; }
.geo-strip--top a.geo-strip__cta {
  display: inline-block;
  margin-left: .4rem;
  padding: .3rem .8rem;
  border-radius: var(--radius-pill, 999px);
  background: var(--color-accent, #ffc918);
  color: #0b1b3a;
  text-decoration: none;
}

/* ---------------- Animated state outline ---------------- */
.geo-shape { display: block; overflow: visible; }
.geo-shape__fill { fill: var(--geo-fill, #004aad); opacity: 0; animation: geoFill .9s ease 1.1s forwards; }
.geo-shape__line {
  fill: none;
  stroke: var(--geo-line, #004aad);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: geoDraw 1.6s ease forwards;
}
.geo-shape__pin { fill: var(--geo-pin, #ffc918); stroke: #fff; stroke-width: 1.5; opacity: 0; animation: geoPop .4s ease 1.8s forwards; }
.geo-shape__ring { fill: none; stroke: var(--geo-pin, #ffc918); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: geoPulse 2s ease-out 2.2s infinite; }

@keyframes geoDraw { to { stroke-dashoffset: 0; } }
@keyframes geoFill { to { opacity: 1; } }
@keyframes geoPop { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes geoPulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes geoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Homepage hero card */
.hero__floating.geo-card--state i { width: 56px; height: 56px; background: var(--color-primary-050, #eaf1fc); padding: 6px; }
.hero__floating.geo-card--state i .geo-shape { width: 100%; height: 100%; animation: geoFloat 4s ease-in-out 2.4s infinite; }
.geo-shape--card { --geo-fill: #004aad; --geo-line: #004aad; }

/* Small shape in the blue bar */
.geo-shape--mini { display: inline-block; width: 26px; height: 26px; vertical-align: middle; margin-right: .45rem; --geo-fill: rgba(255,255,255,.25); --geo-line: #ffc918; }
.geo-strip:not(.geo-strip--top) .geo-shape--mini { --geo-fill: rgba(0,74,173,.18); --geo-line: #004aad; }

/* State page hero */
.state-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.state-hero__map { max-width: 320px; width: 100%; justify-self: center; --geo-fill: rgba(255,255,255,.14); --geo-line: #ffc918; }
.state-hero__map .geo-shape { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.25)); animation: geoFloat 5s ease-in-out 2.4s infinite; }
.state-hero__map .geo-shape__line { stroke-width: 1.4; }
@media (max-width: 860px) {
  .state-hero { grid-template-columns: 1fr; }
  .state-hero__map { max-width: 200px; order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .geo-shape__fill, .geo-shape__line, .geo-shape__pin { animation: none; opacity: 1; stroke-dashoffset: 0; }
  .geo-shape__ring, .geo-shape { animation: none !important; }
}
.geo-shape--card .geo-shape__line { stroke-width: 3; }
.geo-shape--mini .geo-shape__line { stroke-width: 6; }
.geo-shape--mini .geo-shape__ring, .geo-shape--mini .geo-shape__pin { display: none; }
