/* =====================================================
   Edzorb Law · Results section
   1) Toppers carousel   2) Strike-rate panel
   Mobile first: base styles are the phone design.
   ===================================================== */

.results {
  padding: 40px 0;
  background: #fff;
  background: linear-gradient(180deg, var(--sky-light) 0%, #F2FAFF 100%);
  scroll-margin-top: 62px;   /* keeps the heading below the sticky header when linked as #results */
}

/* ---------- Toppers carousel ---------- */
.topper-carousel {
  position: relative;
  margin-top: 18px;
}

/* the scrolling row. On a phone it runs to the screen edges. */
.topper-track {
  display: flex;
  gap: 14px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.topper-track::-webkit-scrollbar {
  display: none;
}

/* one topper: photo, laurel + rank, name (phone layout) */
.topper-card {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 10px; */
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
  scroll-snap-align: start;
}

.topper-photo {
  width: 84px;
  height: 84px;
}

.topper-face {
  width: 84px;
  height: 84px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--sky);
  object-fit: cover;
}

/* used when a topper has no photo yet */
.topper-initial {
  display: grid;
  place-items: center;
  background: #FAE0FF;
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
}

.topper-badge {
  display: flex;
  align-items: center;
  gap: 2px;
}

.laurel {
  width: auto;
  height: 34px;
}

.topper-label {
  max-width: 120px;
  font-size: 15px;
  line-height: 1.15;
  color: var(--navy);
}

.topper-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
}

/* ---------- Strike-rate panel ---------- */
.strike-panel {
  margin-top: 22px;
  padding: 22px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--navy-hi), var(--navy-lo));
  color: #fff;
}

.strike-title {
  margin-top: 6px;
  font-size: 19px;
  line-height: 1.25;
  color: #fff;
}

.strike-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.strike-row {
  display: grid;
  grid-template-columns: 96px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.strike-bar {
  height: 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

/* each bar reads its width from --value set in the HTML */
.strike-bar i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--sky-200), #fff);
}

.strike-value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.strike-link {
  display: inline-block;
  /* margin-top: 14px; */
  font-weight: 900;
  color: #fff;
}

/* ---------- Tablet and desktop (601px and up) ----------
   Cards switch to the laurel-around-photo layout and no
   longer bleed to the screen edge. 3 cards in view. */
@media (min-width: 601px) {
  .results {
    padding: 10px 0 40px;
    background: var(--sky-50);
  }

  .topper-track {
    gap: 18px;
    margin: 0 -4px;
    padding: 8px 4px 16px;
    scroll-padding-inline: 4px;
  }

  .topper-card {
    flex-basis: calc((100% - 36px) / 3);
    display: grid;
    grid-template-columns: 1fr 84px 1fr;
    grid-template-areas:
      "laurel-left photo laurel-right"
      "name        name  name"
      "exam        exam  exam"
      "rank        rank  rank";
    align-items: center;
    column-gap: 10px;
    padding: 24px 14px 22px;
    box-shadow: none;
  }

  /* these wrappers only exist for the phone layout;
     "display: contents" lets their children join the grid above */
  .topper-badge,
  .topper-label {
    display: contents;
  }

  .topper-photo {
    grid-area: photo;
  }

  .laurel {
    height: 54px;
  }

  .laurel-left {
    grid-area: laurel-left;
    justify-self: end;
  }

  .laurel-right {
    grid-area: laurel-right;
    justify-self: start;
  }

  .topper-name {
    grid-area: name;
    margin-top: 12px;
    font-size: 17px;
  }

  .topper-exam {
    grid-area: exam;
    font-size: 15px;
    font-weight: 400;
    color: var(--muted);
  }

  .topper-rank {
    grid-area: rank;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 900;
    color: var(--navy);
  }

  .strike-panel {
    padding: 30px 32px;
    border-radius: 28px;
    box-shadow: var(--shadow-card);
  }

  .strike-title {
    font-size: 24px;
  }

  .strike-row {
    grid-template-columns: 150px 1fr 48px;
    gap: 14px;
    font-size: 14px;
  }
}

/* ---------- Desktop (961px and up) ----------
   4 cards in view, strike panel in two columns. */
@media (min-width: 961px) {
  .results {
    padding: 20px 0 50px;
  }

  .topper-carousel {
    margin-top: 26px;
  }

  .topper-card {
    flex-basis: calc((100% - 54px) / 4);
  }

  .strike-panel {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 36px;
    align-items: center;
    padding: 34px 38px;
  }

  .strike-title {
    font-size: 26px;
  }

  .strike-list {
    gap: 0;
    margin-top: 0;
  }

  .strike-row {
    margin: 9px 0;
  }

  .strike-bar {
    height: 9px;
  }
}




/* Heading with green target icon */
.strike-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.strike-heading .strike-title {
  flex: 1;
  min-width: 0;
  margin-top: 6px;
}

.strike-target {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: #42DCA5;
}

/* Smaller target on mobile */
@media (max-width: 425px) {
  .strike-heading {
    gap: 10px;
  }

  .strike-target {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
}


/* Start progress bars at zero */
.results .strike-bar i {
  width: 0;
  transition: width 1.4s ease;
}

/* Animate when Results section enters view */
.results.is-visible .strike-bar i {
  width: var(--value);
}

@media (prefers-reduced-motion: reduce) {
  .results .strike-bar i {
    transition: none;
  }
}


.strike-target {
  display: block;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

@media (max-width: 425px) {
  .strike-target {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
}

/* ================================================ */


/* Results Variation 2 — White & Black */

.results-variation-2 {
  background: #ffffff;
}

.results-variation-2 .strike-panel-light {
  background: #ffffff;
  color: #000000;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.results-variation-2 .eyebrow-light,
.results-variation-2 .eyebrow,
.results-variation-2 .strike-title,
.results-variation-2 .strike-link,
.results-variation-2 .strike-row,
.results-variation-2 .strike-value {
  color: #000000;
}

.results-variation-2 .strike-bar {
  background: #e5e7eb;
}

.results-variation-2 .strike-bar i {
  background: linear-gradient(90deg, #000000, #555555);
}

.results-variation-2 .strike-target {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

@media (max-width: 425px) {
  .results-variation-2 .strike-target {
    width: 70px;
    height: 70px;
  }
}




/* All 12 exams CTA */
.strike-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* min-height: 50px; */
  margin-top: 18px;
  padding:8px 12px;
  border: 1.5px solid transparent;
  border-radius: 999px;

  background: linear-gradient(
    100deg,
    #527bea 0%,
    #8b50ed 55%,
    #c83ce8 100%
  );

  color: #ffffff;
  font: 900 16px Lato, sans-serif;
  text-decoration: none;
  cursor: pointer;

  transition: transform .2s, box-shadow .2s;
}

.strike-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 80, 237, .25);
}

.strike-link:focus-visible {
  outline: 3px solid #527bea;
  outline-offset: 3px;
}

/* ================================================ */


/* Results Variation — Vertical Bar Chart */

.results-variation-2 .strike-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  /* margin-top: 26px; */
  padding: 18px 0 4px;
}

.results-variation-2 .chart-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.results-variation-2 .chart-value {
  margin-bottom: 10px;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.results-variation-2 .chart-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid #dfe3e8;
  background: #f0f2f5;
  border-radius: 8px 8px 0 0;
}

.results-variation-2 .chart-track i {
  display: block;
  width: 72%;
  height: var(--bar-height);
  border-radius: 7px 7px 0 0;
  background: linear-gradient(
    180deg,
    #a855f7 0%,
    #527bea 100%
  );
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.2s ease;
}

.results-variation-2.is-visible .chart-track i {
  transform: scaleY(1);
}

.results-variation-2 .chart-label {
  margin-top: 10px;
  color: #111;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 425px) {
  .results-variation-2 .strike-chart {
    gap: 6px;
  }

  .results-variation-2 .chart-track {
    height: 125px;
  }

  .results-variation-2 .chart-track i {
    width: 80%;
  }

  .results-variation-2 .chart-value {
    font-size: 11px;
  }

  .results-variation-2 .chart-label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-variation-2 .chart-track i {
    transition: none;
  }
}




/* ==================================================== */


/* =====================================
   Strike Rate — Variation 2
   Circular chart + exam coverage list
   ===================================== */

.results-v2 {
  padding: 40px 0;
  background: var(--sky-50);
}

.strike-v2-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--navy);
}

.strike-v2-left .eyebrow {
  color: var(--navy);
  letter-spacing: 3px;
  font-weight: 900;
}

.strike-v2-title {
  margin-top: 12px;
  font-size: 27px;
  line-height: 1.15;
  color: var(--navy);
}

.strike-v2-title span {
  display: block;
  color: #168fc2;
}

.strike-v2-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s, background .2s;
}

.strike-v2-cta:hover {
  background: #087ba7;
  transform: translateY(-2px);
}

/* Circular donut chart */
.strike-donut-wrap {
  display: grid;
  place-items: center;
  margin-top: 26px;
}

.strike-donut {
  --chart-size: 250px;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--chart-size);
  height: var(--chart-size);
  max-width: 100%;
  border-radius: 50%;

  /* Six proportional segments */
  background: conic-gradient(
    #72c9f2 0% 16.67%,
    #43a9db 16.67% 33.34%,
    #2387bd 33.34% 50.01%,
    #176c9c 50.01% 66.68%,
    #12577e 66.68% 83.35%,
    #0b405e 83.35% 100%
  );

  box-shadow: 0 12px 28px rgba(0, 65, 102, .12);
}

/* White center creates the donut */
.strike-donut-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 43%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 0 0 5px rgba(255,255,255,.8);
  line-height: 1.3;
}

.strike-donut-center span:first-child {
  font-size: 13px;
  letter-spacing: 1.5px;
}

.strike-donut-center strong {
  font-size: 13px;
}

.strike-center-icon {
  margin-top: 6px;
  color: #168fc2;
  font-size: 28px;
}

/* Right-hand exam list */
.strike-v2-right {
  align-self: center;
  padding: 4px 0;
}

.strike-v2-list-title {
  /* margin-bottom: 12px; */
  font-size: 19px;
  color: var(--navy);
}

.strike-v2-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.strike-v2-item:last-child {
  border-bottom: 0;
}

.strike-v2-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--item-color);
}

.strike-v2-name {
  font-size: 14px;
  color: var(--ink);
}

.strike-v2-value {
  font-size: 18px;
  font-weight: 900;
  color: var(--item-color);
  font-variant-numeric: tabular-nums;
}

/* Bottom highlight strip */
.strike-v2-note {
  display: flex;
  align-items: center;
  gap: 16px;
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--sky-50);
}

.strike-v2-note-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d9f1ff;
  color: var(--navy);
  font-size: 25px;
}

.strike-v2-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
}

/* Tablet and desktop */
@media (min-width: 601px) {
  .strike-v2-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding: 32px;
  }

  .strike-v2-title {
    font-size: 30px;
  }

  .strike-donut {
    --chart-size: 280px;
  }

  .strike-v2-right {
    padding-top: 30px;
  }

  .strike-v2-item {
    padding: 18px 8px;
  }

  .strike-v2-name {
    font-size: 15px;
  }
}

@media (min-width: 961px) {
  .strike-v2-card {
    grid-template-columns: 1.1fr .9fr;
    column-gap: 48px;
    padding: 38px;
  }

  .strike-donut {
    --chart-size: 310px;
  }

  .strike-v2-title {
    font-size: 34px;
  }
}

@media (max-width: 360px) {
  .strike-v2-card {
    padding: 20px 14px;
  }

  .strike-donut {
    --chart-size: 220px;
  }

  .strike-v2-name {
    font-size: 12px;
  }

  .strike-v2-value {
    font-size: 16px;
  }
}



/* Percentage labels inside circular chart */
.strike-donut {
  position: relative;
}

.donut-percent {
  position: absolute;
  z-index: 2;
  width: 58px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Six positions around the circle */
.dp-1 {
  left: 66%;
  top: 19%;
}

.dp-2 {
  left: 83%;
  top: 48%;
}

.dp-3 {
  left: 66%;
  top: 79%;
}

.dp-4 {
  left: 34%;
  top: 79%;
}

.dp-5 {
  left: 17%;
  top: 48%;
}

.dp-6 {
  left: 34%;
  top: 19%;
}

/* Keep labels readable on smaller screens */
@media (max-width: 360px) {
  .donut-percent {
    font-size: 12px;
    width: 46px;
  }
}

/* ================================================== */



/* =====================================
   Strike Rate — Variation 3
   Horizontal bars: state | bar | percentage
   Same card, colours and animation as Variation 2
   ===================================== */

.results-hb {
  padding: 40px 0;
  background: var(--sky-50);
}

.strike-hb-card {
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--navy);
}

.strike-hb-card .eyebrow {
  color: var(--navy);
  letter-spacing: 3px;
  font-weight: 900;
}

.strike-hb-title {
  margin-top: 12px;
  font-size: 27px;
  line-height: 1.15;
  color: var(--navy);
}

.strike-hb-title span {
  display: block;
  color: #168fc2;
}

.strike-hb-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #4A5964;
}

/* the rows */
.strike-hb-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.strike-hb-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 46px;   /* state | bar | percentage */
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.strike-hb-row:last-child {
  border-bottom: 0;
}

.strike-hb-name {
  font-size: 13px;
  line-height: 1.25;
  color: var(--ink);
}

.strike-hb-track {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sky-light);
}

.strike-hb-track i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: 999px;
  background: var(--item-color);
}

.strike-hb-value {
  font-size: 16px;
  font-weight: 900;
  text-align: right;
  color: var(--item-color);
  font-variant-numeric: tabular-nums;
}

/* animation: JS adds .hb-ready (bars at 0), then .is-animating (bars grow) */
.results-hb.hb-ready .strike-hb-track i {
  transform: scaleX(0);
  transform-origin: left center;
}

.results-hb.hb-ready.is-animating .strike-hb-track i {
  transform: scaleX(1);
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i) * 90ms);
}

.strike-hb-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s, background .2s;
}

.strike-hb-cta:hover {
  background: #087ba7;
  transform: translateY(-2px);
}

@media (max-width: 360px) {
  .strike-hb-card {
    padding: 20px 14px;
  }

  .strike-hb-row {
    grid-template-columns: 72px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .strike-hb-name {
    font-size: 12px;
  }

  .strike-hb-value {
    font-size: 15px;
  }
}

@media (min-width: 601px) {
  .strike-hb-card {
    padding: 32px;
  }

  .strike-hb-title {
    font-size: 30px;
  }

  .strike-hb-row {
    grid-template-columns: 110px minmax(0, 1fr) 56px;
    gap: 16px;
    padding: 14px 0;
  }

  .strike-hb-name {
    font-size: 15px;
  }

  .strike-hb-track {
    height: 14px;
  }

  .strike-hb-value {
    font-size: 18px;
  }
}

@media (min-width: 961px) {
  .strike-hb-card {
    max-width: 760px;
    margin-inline: auto;
    padding: 38px;
  }

  .strike-hb-title {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-hb.hb-ready.is-animating .strike-hb-track i {
    transition: none;
  }
}



/* ============================================
   Results Variation 3 - State-wise Coverage Map
   Independent styles; existing results untouched
   ============================================ */

.results-map-v3 {
  padding: 40px 0;
  background: #edf7fc;
}

.state-coverage-card {
  position: relative;
  overflow: hidden;
  padding: 26px 20px 24px;
  background: #fff;
  border: 1px solid #dce7ed;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(0, 45, 70, 0.09);
  color: var(--navy);
}

/* Heading */
.state-coverage-heading {
  position: relative;
  z-index: 2;
}

.state-coverage-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--navy);
}

.state-coverage-title {
  margin: 10px 0 0;
  font-size: 29px;
  line-height: 1.12;
  font-weight: 900;
  color: var(--navy);
}

.state-coverage-title span {
  display: block;
  margin-top: 3px;
  color: #258eb8;
}

/* CTA */
.state-coverage-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* min-height: 46px; */
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease,
              transform .2s ease;
}

.state-coverage-cta:hover {
  background: #087ba7;
  transform: translateY(-2px);
}

/* Map stage */
.state-map-area {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 18px auto 0;
  isolation: isolate;
}

.india-coverage-map {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* State labels */
.map-label {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 3px 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .94);
  color: #173b4b;
  line-height: 1.05;
  box-shadow: 0 2px 8px rgba(0, 35, 55, .06);
  font-variant-numeric: tabular-nums;
}

.map-label strong {
  font-size: 14px;
  font-weight: 900;
}

.map-label span {
  font-size: 14px;
  font-weight: 800;
}

/* Approximate positions over the map.
   Adjust after adding your map asset. */
.map-label-pb {
  left: 23%;
  top: 20%;
}

.map-label-uk {
  left: 64%;
  top: 20%;
}

.map-label-rj {
  left: 8%;
  top: 34%;
}

.map-label-up {
  left: 75%;
  top: 34%;
}

.map-label-mp {
  left: 64%;
  top: 53%;
}

/* Legend */
.state-map-legend {
  width: min(100%, 235px);
  margin: 16px 0 0 auto;
}

.state-map-legend-title {
  display: block;
  margin-bottom: 8px;
  text-align: right;
  color: #173b4b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .5px;
}

.state-map-gradient {
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #9bdcf5 0%,
    #4da9d4 50%,
    #075078 100%
  );
}

.state-map-legend-values {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #173b4b;
  font-size: 13px;
  font-weight: 800;
}

/* Tablet */
@media (min-width: 601px) {
  .results-map-v3 {
    padding: 48px 0;
  }

  .state-coverage-card {
    padding: 32px 30px 28px;
    border-radius: 32px;
  }

  .state-coverage-title {
    font-size: 36px;
  }

  .state-coverage-eyebrow {
    font-size: 15px;
  }

  .state-coverage-cta {
    min-height: 50px;
    font-size: 17px;
  }

  .state-map-area {
    max-width: 700px;
    margin-top: 12px;
  }

  .map-label strong,
  .map-label span {
    font-size: 16px;
  }

  .state-map-legend {
    width: 250px;
  }
}

/* Desktop */
@media (min-width: 961px) {
  .state-coverage-card {
    padding: 38px 42px 30px;
  }

  .state-coverage-title {
    font-size: 44px;
  }

  .state-map-area {
    max-width: 780px;
    margin-top: 8px;
  }

  .map-label strong,
  .map-label span {
    font-size: 18px;
  }

  .state-map-legend {
    width: 270px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .state-coverage-card {
    padding: 22px 14px;
    border-radius: 22px;
  }

  .state-coverage-title {
    font-size: 25px;
  }

  .map-label {
    padding: 2px 4px;
  }

  .map-label strong,
  .map-label span {
    font-size: 11px;
  }

  .state-map-legend {
    width: 200px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .state-coverage-cta {
    transition: none;
  }

  .state-coverage-cta:hover {
    transform: none;
  }
}


.strike-map-image {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  margin: 24px auto 0;
  object-fit: contain;
}

@media (max-width: 600px) {
  .strike-map-image {
    max-width: 100%;
    margin-top: -5px;
  }
}


/* Map zoom-in animation */
.strike-map-image {
  transform-origin: center center;
  will-change: transform, opacity;
}

.results-map-v3.is-visible .strike-map-image {
  animation: indiaMapZoom 1.1s cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes indiaMapZoom {
  from {
    opacity: 0.55;
    transform: scale(0.84);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* State labels pop-up animation */
.results-map-v3.is-visible .map-label {
  animation: stateLabelPop .55s cubic-bezier(.2, .8, .25, 1) both;
}

.results-map-v3.is-visible .map-label-pb {
  animation-delay: .25s;
}

.results-map-v3.is-visible .map-label-uk {
  animation-delay: .38s;
}

.results-map-v3.is-visible .map-label-rj {
  animation-delay: .48s;
}

.results-map-v3.is-visible .map-label-up {
  animation-delay: .58s;
}

.results-map-v3.is-visible .map-label-mp {
  animation-delay: .68s;
}

@keyframes stateLabelPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.72);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile performance and accessibility */
@media (prefers-reduced-motion: reduce) {
  .results-map-v3.is-visible .strike-map-image,
  .results-map-v3.is-visible .map-label {
    animation: none;
  }
}


/* ============================================== */


