/* AdvanceAPractice credentialing state pages.
   Loaded only for the credentialing state family. */
.aap-state {
  --navy: #0f2a47;
  --blue: #1a56db;
  --blue-dk: #1442ad;
  --ink: #16202e;
  --muted: #586573;
  --bg: #fff;
  --tint: #eef3fa;
  --tint2: #f6f9fd;
  --line: #e2e8f0;
  --line-dk: #cbd5e1;
  --ok: #0f7b52;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 42, 71, .06), 0 8px 30px rgba(16, 42, 71, .06);
  --maxw: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.aap-state * { box-sizing: border-box; }
.aap-state .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.aap-state h1,
.aap-state h2,
.aap-state h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.01em; }
.aap-state h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.aap-state h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 750; }
.aap-state h3 { margin-bottom: .35em; font-size: 1.12rem; font-weight: 700; }
.aap-state p { margin: 0 0 1rem; }
.aap-state a { color: var(--blue); text-decoration: none; }
.aap-state a:hover { text-decoration: underline; }
.aap-state .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .4em .85em;
  border: 1px solid #d3e0fb;
  border-radius: 999px;
  color: var(--blue);
  background: #e7eefc;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.aap-state .muted { color: var(--muted); }
.aap-state section { padding: clamp(46px, 6.5vw, 78px) 0; }
.aap-state .tint { background: var(--tint); }
.aap-state .lede { max-width: 46ch; color: #2c3a4b; font-size: clamp(1.03rem, 1.5vw, 1.22rem); }
.aap-state .crumb { padding-top: 20px; color: #a9bcd4; font-size: .85rem; }
.aap-state .crumb a { color: #cfe0ff; }

.aap-state .hero { color: #fff; background: linear-gradient(160deg, #0f2a47 0%, #153a63 60%, #1442ad 130%); }
.aap-state .hero .eyebrow { color: #cfe0ff; background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .22); }
.aap-state .hero h1 { margin-bottom: clamp(18px, 2vw, 24px) !important; color: #fff; }
.aap-state .hero .lede { max-width: 54ch; color: #d7e3f5 !important; }
.aap-state .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.aap-state .btn {
  display: inline-block;
  padding: .9em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.aap-state .btn-primary { color: var(--navy); background: #fff; }
.aap-state .btn-primary:hover { background: #eaf1ff; text-decoration: none; }
.aap-state .btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .4); }
.aap-state .btn-ghost:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
body.aap-family-credentialing-state .aap-state .hero .btn-primary {
  border-color: #fff !important;
  color: var(--navy) !important;
  background: #fff !important;
}
body.aap-family-credentialing-state .aap-state .hero .btn-primary:hover {
  color: var(--navy) !important;
  background: #eaf1ff !important;
}
body.aap-family-credentialing-state .aap-state .hero .btn-ghost {
  border-color: rgba(255, 255, 255, .58) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .08) !important;
}
body.aap-family-credentialing-state .aap-state .hero .btn-ghost:hover {
  border-color: #fff !important;
  color: var(--navy) !important;
  background: #fff !important;
}

.aap-state .teach { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--navy); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; }
.aap-state .teach span { padding: .35em .7em; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.aap-state .teach em { color: var(--muted); font-style: normal; font-weight: 600; }

.aap-state .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.aap-state .card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.aap-state .card .tag { display: inline-block; margin-bottom: .7rem; padding: .3em .7em; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.aap-state .tag.medicaid { color: #0f7b52; background: #eaf6ef; }
.aap-state .tag.commercial { color: var(--blue-dk); background: #e7eefc; }
.aap-state .kv { margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.aap-state .kv b { display: block; margin-bottom: .15rem; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.aap-state .pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .4rem; }
.aap-state .pill { padding: .28em .7em; border: 1px solid var(--line); border-radius: 999px; color: #33465b; background: var(--tint); font-size: .82rem; }

.aap-state .payers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.aap-state .payer { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.aap-state .payer h3 { margin-bottom: .15rem; }
.aap-state .payer .sub { margin-bottom: .6rem; color: var(--muted); font-size: .86rem; }
.aap-state .payer ul { margin: .2rem 0 0; padding: 0; list-style: none; font-size: .93rem; }
.aap-state .payer li { position: relative; margin: .32rem 0; padding-left: 1.25rem; color: #33465b; }
.aap-state .payer li::before { position: absolute; top: .62em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); content: ""; }
.aap-state .payer li b { color: var(--ink); }
.aap-state .carve { display: inline-block; margin-top: .5rem; padding: .15em .55em; border: 1px solid #f6dcae; border-radius: 8px; color: #8a4b00; background: #fdf0dd; font-size: .76rem; font-weight: 700; }

.aap-state .check { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 0; padding: 0; list-style: none; }
.aap-state .check li { position: relative; padding-left: 2rem; color: #2c3a4b; }
.aap-state .check li::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; color: #fff; background: var(--ok); font-size: .8rem; font-weight: 800; content: "✓"; }
.aap-state .check li b { color: var(--ink); }
.aap-state .check small { display: block; color: var(--muted); font-size: .85rem; }

.aap-state .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 18px; counter-reset: s; }
.aap-state .step { position: relative; padding-top: 52px; }
.aap-state .step::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: var(--navy); font-weight: 800; counter-increment: s; content: counter(s); }
.aap-state .step h3 { font-size: 1rem; }
.aap-state .step p { margin: 0; color: var(--muted); font-size: .92rem; }
.aap-state .callout { padding: 24px 26px; border: 1px dashed var(--line-dk); border-radius: var(--radius); background: var(--tint2); }
.aap-state .callout h3 { color: var(--navy); }

.aap-state details.faq { margin-bottom: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.aap-state details.faq summary { padding: 16px 20px; color: var(--navy); font-weight: 700; list-style: none; cursor: pointer; }
.aap-state details.faq summary::-webkit-details-marker { display: none; }
.aap-state details.faq summary::after { float: right; color: var(--blue); font-size: 1.2rem; line-height: 1; content: "+"; }
.aap-state details.faq[open] summary::after { content: "\2212"; }
.aap-state details.faq .a { padding: 0 20px 18px; color: #33465b; }

.aap-state .cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(30px, 5vw, 46px); border-radius: 20px; color: #fff; background: linear-gradient(120deg, #0f2a47, #1442ad); }
.aap-state .cta h2 { margin: 0; color: #fff; }
.aap-state .cta p { max-width: 46ch; margin: .4rem 0 0; color: #d7e3f5; }
.aap-state .links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.aap-state .linkcard { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.aap-state .linkcard b { display: block; margin-bottom: .2rem; }
.aap-state .linkcard span { color: var(--muted); font-size: .88rem; }
.aap-state .sources { color: var(--muted); font-size: .86rem; }
.aap-state .sources h3 { color: var(--ink); font-size: 1rem; }
.aap-state .sources li { margin: .3rem 0; }
.aap-state .verified { display: inline-block; margin-left: .4rem; padding: .05em .45em; border: 1px solid #cdeadb; border-radius: 6px; color: var(--ok); background: #eaf6ef; font-size: .74rem; }
.aap-state .disclaimer { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.aap-state .byline { margin-top: 1rem; color: var(--muted); font-size: .88rem; }
.aap-state .provenance { margin-top: .75rem; color: var(--muted); font-size: .82rem; }

@media (max-width: 820px) {
  .aap-state { font-size: 16px; }
  .aap-state .grid2,
  .aap-state .payers,
  .aap-state .check { grid-template-columns: 1fr; }
  .aap-state .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  /* The disclosure already supplies the page gutter. Keep one inner gutter. */
  .aap-state .aap-state-disclosure { --aap-state-disclosure-inner-width: 100%; }
  .aap-state .aap-state-disclosure__body > section > .wrap { padding-inline: 16px; }
  .aap-state .aap-state-disclosure__body .card { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .aap-state .btn { transition: none; }
}
