/* ─────────────────────────────────────────────────────────────────────────
 * clever-prep-404.css
 * Page-scoped styles for the Bricks 404 (error) template.
 *
 * Layout: centered hero with a giant LT Superior "404" + statement + CTAs,
 * followed by a small 4-up grid of helpful destinations.
 * ───────────────────────────────────────────────────────────────────────── */

/* ── Hero ─────────────────────────────────────────────────────────────── */
.cp-404-hero {
  padding: clamp(80px, 14vw, 180px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px);
  background:
    radial-gradient(ellipse at top, rgba(237, 134, 60, 0.06), transparent 60%),
    #fff;
}
.cp-404-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cp-404-hero__eyebrow { opacity: 0.6; }
/* Oversize "404" display — LT Superior at extreme size with light tracking */
.cp-404-hero__big {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-size: clamp(120px, 22vw, 240px);
  font-weight: 400;
  line-height: 0.95;
  color: var(--cp-text-headline, #28354A);
  letter-spacing: -0.04em;
  margin: 0;
  /* Subtle orange tint via background-clip on the strokes for personality */
  background: linear-gradient(180deg, var(--cp-text-headline, #28354A) 0%, var(--cp-text-headline, #28354A) 60%, rgba(237, 134, 60, 0.85) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.cp-404-hero__title {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cp-text-headline, #28354A);
  letter-spacing: -0.02em;
  margin: 12px 0 4px;
}
.cp-404-hero__body {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--cp-text-secondary, #555);
  max-width: 600px;
  margin: 0;
  align-self: center;
}
.cp-404-hero__ctas {
  display: flex;
  flex-direction: row;
  align-items: center;          /* Bricks .brxe-block defaults to flex-start — override */
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ── Helpful links grid ────────────────────────────────────────────────── */
.cp-404-links {
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 64px) clamp(80px, 12vw, 140px);
  background: var(--cp-cream-bg, #f7f4ed);
}
.cp-404-links__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.cp-404-links__label { opacity: 0.6; }
.cp-404-links__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}
.cp-404-links__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cp-404-links__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(40, 53, 74, 0.08);
  border-color: rgba(237, 134, 60, 0.25);
}
.cp-404-links__card-title {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--cp-text-headline, #28354A);
  margin: 0;
}
.cp-404-links__card-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--cp-text-secondary, #555);
  margin: 0;
  flex: 1;
}
.cp-404-links__card-cta {
  margin-top: 8px;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .cp-404-links__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cp-404-links__grid { grid-template-columns: 1fr; }
}

/* ── Popular destinations (card slider recipe wrapper) ──────────────────
   The .cp-r-cardslider recipe owns its own padding/max-width, so the
   section + inner here are pass-through. Background matches the page. */
.brxe-section.cp-404-popular { padding: 0; background: var(--cp-cream-bg, #F7F4ED); }
.brxe-container.cp-404-popular__inner { max-width: none; padding: 0; }
