/* ==========================================================================
   Disneyland Guide — page-specific styles
   Vars scoped to .dl-page so they don't bleed into the theme header/footer.
   ========================================================================== */

.dl-page {
  --navy:     #1a2f5e;
  --blue:     #1a6fb5;
  --green:    #2a9d5c;
  --orange:   #e07b2a;
  --yellow:   #f5c842;
  --pink:     #e0457b;
  --magic:    #6B3FA0;
  --magic-lt: #EDE1FF;
  --cream:    #faf8f4;
  color: #333;
}

/* HERO */
.dl-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d1b5e 50%, #1a3461 100%);
  padding: 70px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dl-hero .stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.dl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--magic-lt);
  color: var(--magic);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  position: relative;
}
.dl-hero h1 {
  font-size: clamp(30px, 6vw, 58px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 18px;
  position: relative;
}
.dl-page .yl { color: var(--yellow); }
.dl-page .pk { color: var(--pink); }
.dl-hero p {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto 12px;
  position: relative;
}
.dl-meta {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin-bottom: 32px;
  position: relative;
}
.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  position: relative;
}
.jump-link {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 50px;
  text-decoration: none;
}

/* SPECIALIST */
.dl-specialist {
  background: var(--magic);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dl-spec-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--magic-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 3px solid rgba(255,255,255,.3);
}
.dl-spec-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.dl-spec-name {
  font-size: 18px;
  font-weight: 700;
  color: white;
}
.dl-spec-desc {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

/* PAGE WRAP */
.dl-page .page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTIONS */
.dl-section {
  padding: 56px 0;
  border-bottom: 2px solid rgba(0,0,0,.06);
}
.eyebrow-sm {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.15;
}
.section-body {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* BOXES */
.vk-box {
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.vk-box h4 {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
}
.vk-box ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vk-box ul li {
  font-size: 14px;
  line-height: 1.6;
}
.box-navy { background: var(--navy); color: white; }
.box-navy h4 { color: white; }
.box-navy li { color: rgba(255,255,255,.85); }
.box-orange { background: #fff3e0; border-left: 4px solid var(--orange); }
.box-orange h4 { color: var(--orange); }
.box-green { background: #e8f9ee; border-left: 4px solid var(--green); }
.box-green h4 { color: var(--green); }
.box-yellow { background: #fffbe6; border-left: 4px solid var(--yellow); }
.box-yellow h4 { color: #a07000; }
.box-magic { background: var(--magic-lt); border-left: 4px solid var(--magic); }
.box-magic h4 { color: var(--magic); }

/* TIP CARDS */
.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.tip-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 3px 16px rgba(0,0,0,.07);
  border-top: 4px solid var(--navy);
}
.t-green  { border-top-color: var(--green); }
.t-magic  { border-top-color: var(--magic); }
.t-yellow { border-top-color: var(--yellow); }
.t-pink   { border-top-color: var(--pink); }
.tip-icon { font-size: 28px; margin-bottom: 10px; }
.tip-card h3 {
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.tip-card p { font-size: 13px; color: #555; line-height: 1.6; }
.tip-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.tag-pro   { background: #e8f9ee; color: var(--green); }
.tag-save  { background: #fff8e0; color: #a07000; }
.tag-plan  { background: var(--magic-lt); color: var(--magic); }
.tag-worth { background: #e8f4ff; color: #1a5fa8; }

/* CROWD GRID */
.crowd-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 16px;
}
.crowd-month { border-radius: 10px; padding: 10px 6px; text-align: center; }
.month-name  { font-weight: 800; font-size: 12px; color: var(--navy); }
.crowd-level { font-size: 10px; font-weight: 600; margin-top: 4px; }
.crowd-low  { background: #d4edda; }
.crowd-low  .crowd-level { color: #155724; }
.crowd-med  { background: #fff3cd; }
.crowd-med  .crowd-level { color: #856404; }
.crowd-high { background: #f8d7da; }
.crowd-high .crowd-level { color: #721c24; }
.crowd-peak { background: #dc3545; }
.crowd-peak .month-name,
.crowd-peak .crowd-level { color: white; }

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--magic), var(--blue));
  border-radius: 2px;
}
.tl-item { display: flex; gap: 18px; padding: 14px 0; }
.tl-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  border: 3px solid var(--magic);
  z-index: 1;
  flex-shrink: 0;
}
.tl-time {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--magic);
  margin-bottom: 4px;
}
.tl-content { padding-top: 6px; }
.tl-content h3 { font-weight: 800; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.tl-content p  { font-size: 13px; color: #555; line-height: 1.6; }

/* HEIGHT TABLE */
.height-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}
.height-table th {
  background: var(--navy);
  color: white;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 14px;
  text-align: left;
}
.height-table td {
  padding: 10px 14px;
  font-size: 13px;
  color: #444;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.height-table tr:nth-child(even) td { background: rgba(0,0,0,.02); }
.ht-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}
.ht-dl { background: #e8f4ff; color: #1a5fa8; }
.ht-ca { background: #fff3ee; color: var(--orange); }

/* FOOD GRID */
.food-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.food-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.food-card .fi { font-size: 26px; margin-bottom: 8px; }
.food-card h3  { font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.food-card p   { font-size: 13px; color: #555; line-height: 1.55; }

/* PACK GRID */
.pack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.pack-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.pack-card h4 { font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.pack-card ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pack-card ul li { font-size: 13px; color: #555; display: flex; gap: 8px; }
.pack-card ul li::before { content: "☑"; color: var(--green); flex-shrink: 0; }

/* DRIVE STEPS */
.drive-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.drive-step {
  background: white;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.drive-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drive-step h4 { font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.drive-step p  { font-size: 13px; color: #555; line-height: 1.55; }

/* FOOTER CTA */
.dl-footer-cta {
  background: var(--yellow);
  padding: 60px 24px;
  text-align: center;
}
.dl-footer-cta h2 {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin: 10px 0 14px;
}
.dl-footer-cta p {
  font-size: 15px;
  color: rgba(0,0,0,.6);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.btn-navy {
  background: var(--navy);
  color: white;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 600px) {
  .crowd-grid { grid-template-columns: repeat(3, 1fr); }
  .food-grid,
  .pack-grid  { grid-template-columns: 1fr; }
  .tip-grid   { grid-template-columns: 1fr; }
}
