/* emergencies page: own rules from home-sample/emergencies-sample-6 */
/* =================== Dental emergencies (sample 1) =================== */

  /* Hero: what to do, said plainly; on the right, the call card: one big tap target */
  .hero--er .wrap { min-height: min(580px, calc(100vh - 86px)); padding-bottom: 64px; }
  .hero--er h1 { max-width: 14ch; }
  .call-card { justify-self: center; width: min(100%, 440px); padding: 30px 30px 26px; border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 34px 60px -40px rgba(76,28,8,.5); }
  .call-card p { margin: 0; }
  .cc-label { font-weight: 700; color: var(--deep); }
  .cc-call {
    display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 18px; padding: 20px 22px; border-radius: 18px;
    background: var(--pulse-ink); color: var(--white); text-decoration: none; white-space: nowrap;
    font-family: var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 600; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1;
    box-shadow: 0 18px 30px -18px rgba(201,22,28,.8); transition: background-color .2s ease, transform .2s ease;
  }
  .cc-call svg { width: 26px; height: 26px; flex: none; }
  .cc-call:hover { background: #A81217; transform: translateY(-1px); }
  .cc-call:focus-visible { outline: 3px solid var(--swell); outline-offset: 3px; }
  .cc-hours { display: grid; gap: 4px; color: var(--warm); }
  .cc-hours strong { color: var(--deep); }
  .cc-911 { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; color: var(--pulse-ink); }
  .motion .call-card { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out) .35s, transform 1.1s var(--ease-out) .35s; }
  .hero-in .call-card { opacity: 1; transform: none; }

  /* When it can't wait: the red band, three plain lines */
  .now-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; max-width: 760px; border-top: 1px solid rgba(255,255,255,.35); }
  .now-list li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6px 28px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.35); color: var(--white); font-size: 1.12rem; line-height: 1.5; }
  .now-list strong { font-family: var(--display); font-variation-settings: "SOFT" 100, "opsz" 36; font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
  .band--red.er-now .wrap { grid-template-columns: 1fr; }
  /* a deeper shade of Pulse Red so the regular-weight lines meet the 4.5:1 contrast minimum */
  .band--red.er-now { background: var(--pulse-ink); }

  .sec-head { max-width: 660px; margin-bottom: 40px; }
  .sec-head p { margin: 16px 0 0; font-size: 1.1rem; }

  /* Prevent the next one: sports */
  .prevent { padding: 100px 0; }
  .prevent-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 56px; align-items: center; padding: 48px 52px; border-radius: 30px; background: var(--glide-soft); }
  .prevent-card h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
  .prevent-card p { margin: 16px 0 0; font-size: 1.1rem; line-height: 1.65; }
  .prevent-links { display: grid; gap: 10px; }
  .prevent-links a { display: grid; grid-template-columns: 1fr 18px; gap: 12px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--deep); }
  .prevent-links a:hover { box-shadow: 0 0 0 2px var(--glide); }
  .prevent-links a:focus-visible { outline: 3px solid var(--swell); outline-offset: 2px; }
  .prevent-links strong { display: block; font-family: var(--display); font-variation-settings: "SOFT" 100, "opsz" 36; font-weight: 600; font-size: 1.15rem; }
  .prevent-links span { display: block; font-size: .95rem; color: var(--warm); }
  .prevent-links svg { width: 18px; height: 18px; color: var(--current); }

  @media (prefers-reduced-motion: reduce) { .cc-call { transition: none; } .cc-call:hover { transform: none; } }
  @media (max-width: 1000px) {
    .prevent-card { grid-template-columns: 1fr; }
  }
  @media (max-width: 820px) {
    .call-card { width: 100%; justify-self: start; }
    .now-list li { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .hero--er .wrap { padding-bottom: 48px; }
    .call-card { padding: 24px 20px 22px; border-radius: 22px; }
    .prevent { padding: 72px 0; }
    .prevent-card { padding: 32px 22px; border-radius: 22px; }
  }
