/* ============================================================================
   dvc-points-2027.css, card 1213.
   18 DVC Resorts Ranked by Points Needed for a 7 Night Stay in 2027.
   Builds on christmas-day-parks.css (.xd) + quietest-days.css (.xq) + hours-light.css.
   ========================================================================== */

.dp .xd-h1 { max-width: 22ch; }
.dp-photo { max-width: 270px; }
.dp-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.dp-answer {
  grid-template-columns: 162px 1fr;
  grid-template-areas: "big p" "big pod" "stats stats";
  gap: 14px 18px;
}
.dp-big { padding: 16px 14px; }
.dp-big .xd-big-n { font-size: 76px; }
.dp-big .xd-big-l { font-size: 12.5px; letter-spacing: 0.08em; }
.dp-answer-p { font-size: 16px; line-height: 1.5; margin: 0; }

.dp-podium li { display: flex; }
.dp-podium a { width: 100%; height: 100%; align-content: center; }
.dp-podium .xq-pod-d { display: flex; flex-direction: column; line-height: 1.15; white-space: normal; }
.dp-podium .xq-pod-w { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: var(--hl-ink-3); text-transform: uppercase; }
.dp-podium .xq-pod-d span { font-weight: 800; font-size: 14.5px; color: var(--hl-ink); }
.dp-stats { grid-area: stats; }

/* Quick answer notes */
.dp-notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dp-note {
  padding: 16px 18px; border-radius: 18px; background: var(--hl-card);
  box-shadow: var(--hl-shadow-sm), inset 0 0 0 1px var(--hl-line);
}
.dp-note h3 { margin: 0 0 6px; font-family: var(--hl-display); font-weight: 900; font-size: 18px; }
.dp-note p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--hl-ink-2); }

/* Summary & seasonal tables (stacked cards on <= 760px) */
.dp-table-wrap {
  margin-bottom: 18px;
  background: var(--hl-card); border-radius: 18px; overflow: hidden;
  box-shadow: var(--hl-shadow-sm), inset 0 0 0 1px var(--hl-line);
}
.dp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dp-table thead th {
  padding: 11px 14px; text-align: left; background: var(--hl-sky-2);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink-3);
}
.dp-table tbody tr { border-top: 1px solid var(--hl-line); box-shadow: inset 4px 0 0 var(--pc); }
.dp-table tbody th, .dp-table tbody td { padding: 11px 14px; vertical-align: middle; }
.dp-table tbody th { font-family: var(--hl-display); font-weight: 900; font-size: 18px; color: var(--pc); width: 48px; }
.dp-table tbody td a { font-weight: 700; color: var(--hl-ink); text-decoration: none; }
.dp-table tbody td a:hover { color: var(--hl-coral-deep); text-decoration: underline; }
.dp-region-tag {
  display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px;
  background: var(--hl-sky-2); color: var(--hl-ink-3); font-size: 11px; font-weight: 700;
}

/* Ranked resort cards */
.dp-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dp-card-top h3 a { color: var(--hl-ink); text-decoration: none; }
.dp-card-top h3 a:hover { color: var(--hl-coral-deep); text-decoration: underline; }
.dp-pill {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  background: color-mix(in oklab, var(--pc) 11%, white);
  color: var(--pc); font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--pc) 25%, white);
}
.dp-room-line { margin: 5px 0 0; font-size: 14px; color: var(--hl-ink-2); line-height: 1.45; }
.dp-alt-studio {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 8px;
  background: var(--hl-sky-2); color: var(--hl-ink-2); font-size: 12.5px; font-weight: 600;
}
.dp-facts { grid-template-columns: 0.9fr 1.15fr 1fr 1fr; }

/* Outside WDW cards */
.dp-outside-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dp-outside-card {
  display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 18px;
  background: var(--hl-card); box-shadow: var(--hl-shadow-sm), inset 0 0 0 1px var(--hl-line);
  border-top: 5px solid var(--pc);
}
.dp-outside-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dp-outside-rank { font-size: 12px; font-weight: 800; color: var(--hl-ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.dp-outside-card h3 { margin: 0; font-family: var(--hl-display); font-weight: 900; font-size: 20px; }
.dp-outside-card h3 a { color: var(--hl-ink); text-decoration: none; }
.dp-outside-card h3 a:hover { color: var(--hl-coral-deep); text-decoration: underline; }
.dp-outside-nums { margin: 0; font-size: 14.5px; color: var(--hl-ink-2); }
.dp-outside-nums strong { font-family: var(--hl-display); font-size: 22px; font-weight: 900; color: var(--pc); margin-right: 4px; }
.dp-outside-why { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--hl-ink-2); }
.dp-outside-meta { margin: auto 0 0; font-size: 12.5px; font-weight: 700; color: var(--hl-ink-3); }

/* Calculator CTA */
.dp-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px 24px; border-radius: 20px;
  background: linear-gradient(135deg, #fffaf0 0%, #ffffff 55%, #eef6fc 100%);
  box-shadow: var(--hl-shadow-sm), inset 0 0 0 1px var(--hl-line);
}
.dp-cta > div:first-child { flex: 1 1 380px; }
.dp-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dp-btn {
  display: inline-block; padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: 14.5px;
  text-decoration: none; transition: transform 0.12s ease;
}
.dp-btn:hover { transform: translateY(-1px); }
.dp-btn-primary { background: var(--hl-coral-deep); color: #fff; }
.dp-btn-primary:hover { color: #fff; }
.dp-btn-secondary { background: var(--hl-card); color: var(--hl-ink); box-shadow: inset 0 0 0 1px var(--hl-line-2); }
.dp-btn-secondary:hover { color: var(--hl-coral-deep); box-shadow: inset 0 0 0 2px var(--hl-coral-deep); }

/* FAQ badge */
.dp-faq-n {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--hl-sky-2); color: var(--hl-ink); font-family: var(--hl-display); font-weight: 900; font-size: 16px;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .dp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .dp-photo { display: none; }
  .dp .xd-h1 { max-width: none; }
  .dp-notes-grid { grid-template-columns: minmax(0, 1fr); }
  .dp-outside-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .dp .xd-hero { padding: 10px 0 16px; }
  .dp .xd-crumbs { margin-bottom: 6px; font-size: 12px; }
  .dp .xd-kick { margin-bottom: 4px; font-size: 11px; }
  .dp .xd-h1 { font-size: clamp(24px, 7vw, 32px); line-height: 1.05; }
  .dp .xd-dek { margin-top: 8px; font-size: 13.5px; gap: 4px 10px; }
  .dp .xq-range-x { display: none; }
  .dp .xd-stamp { font-size: 12px; padding: 3px 8px; }

  .dp-answer {
    margin-top: 12px; padding: 12px; border-radius: 18px;
    grid-template-columns: 62px 1fr;
    grid-template-areas: "big p" "pod pod" "stats stats";
    gap: 10px 12px;
  }
  .dp-big { padding: 10px 6px; border-radius: 12px; }
  .dp-big .xd-big-n { font-size: 38px; }
  .dp-big .xq-big-m { font-size: 9.5px; }
  .dp-big .xd-big-l { font-size: 9.5px; margin-top: 4px; }
  .dp-answer-p { font-size: 13.5px; line-height: 1.42; }
  .dp-podium { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .dp-podium a {
    grid-template-columns: 28px 1fr auto auto;
    grid-template-areas: "n d h s";
    gap: 0 8px; padding: 8px 10px; border-radius: 12px; align-items: center;
  }
  .dp-podium .xq-pod-n { width: 26px; height: 26px; font-size: 14px; border-radius: 8px; }
  .dp-podium .xq-pod-w { font-size: 10px; }
  .dp-podium .xq-pod-d span { font-size: 13px; }
  .dp-podium .xq-pod-h { font-size: 11px; color: var(--hl-ink-3); }
  .dp-podium .xq-pod-s { font-size: 11.5px; margin-top: 0; }
  .dp-podium .xq-pod-s b { font-size: 19px; }
  .dp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .dp-stats div { padding: 8px 10px; }
  .dp-stats dd b { font-size: 16px; }
  .dp-stats dd span { font-size: 11.5px; }

  .dp-table-wrap { background: transparent; box-shadow: none; border-radius: 0; }
  .dp-table thead { display: none; }
  .dp-table, .dp-table tbody, .dp-table tr, .dp-table th, .dp-table td { display: block; width: 100%; }
  .dp-table tbody { display: grid; gap: 8px; }
  .dp-table tbody tr {
    display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; padding: 10px 12px;
    border-radius: 14px; background: var(--hl-card); border-top: 0;
    box-shadow: var(--hl-shadow-sm), inset 4px 0 0 var(--pc), inset 0 0 0 1px var(--hl-line);
  }
  .dp-table tbody th { grid-row: 1 / span 6; padding: 0; width: auto; font-size: 20px; align-self: start; }
  .dp-table tbody td { padding: 0; font-size: 13.5px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .dp-table tbody td::before {
    content: attr(data-label); font-size: 11px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--hl-ink-3);
  }
  .dp-region-tag { display: none; }
  .dp-alt-studio { display: block; margin: 4px 0 0; }
  .dp-cta { padding: 16px; }
  .dp-btn { width: 100%; text-align: center; }
}

@media (max-width: 360px) {
  .dp-answer { grid-template-columns: 52px 1fr; padding: 10px; gap: 8px 10px; }
  .dp-big .xd-big-n { font-size: 32px; }
  .dp-answer-p { font-size: 12.8px; }
  .dp-podium a { padding: 7px 8px; gap: 0 6px; grid-template-columns: 24px 1fr auto; grid-template-areas: "n d s" "n h s"; }
  .dp-podium .xq-pod-n { width: 22px; height: 22px; font-size: 12px; }
}
