/* Standalone styles for the generated dinosaur landing pages.
   Kept separate from styles.css so these pages stay lightweight. */
:root {
  --c-bg: #fffbe9;
  --c-primary: #ff7a3d;
  --c-primary-dark: #e85d1f;
  --c-accent: #ffd84d;
  --c-text: #2d2640;
  --c-text-soft: #5a5470;
  --c-card: #fff;
  --font: "Comic Sans MS", "Trebuchet MS", "Nunito", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  line-height: 1.6;
}
a { color: var(--c-primary-dark); }
.dp { max-width: 820px; margin: 0 auto; padding: 24px 18px 48px; }
.dp-crumbs { font-size: .9rem; color: var(--c-text-soft); margin-bottom: 18px; }
.dp-crumbs span { margin: 0 6px; }
.dp-card {
  background: var(--c-card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(45, 38, 64, .12);
}
.dp-hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.dp-art { width: 220px; height: 160px; }
.dp h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 5vw, 2.4rem); }
.dp-pron { margin: 0 0 10px; color: var(--c-text-soft); font-size: .95rem; }
.dp-badges { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.dp-badge {
  background: var(--c-accent);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .9rem;
  font-weight: 700;
}
.dp-lead { font-size: 1.1rem; }
.dp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 20px 0;
  padding: 0;
}
.dp-stats div {
  background: var(--c-bg);
  border-radius: 16px;
  padding: 12px 14px;
}
.dp-stats dt { font-size: .8rem; text-transform: uppercase; color: var(--c-text-soft); letter-spacing: .04em; }
.dp-stats dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 700; }
.dp-facts { padding-inline-start: 22px; }
.dp-facts li { margin-bottom: 8px; }
.dp-compare {
  background: var(--c-bg);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 0;
}
.dp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.dp-btn {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 122, 61, .35);
}
.dp-btn-ghost { background: #fff; color: var(--c-primary-dark); border: 2px solid var(--c-primary); box-shadow: none; }
.dp-more { margin-top: 36px; }
.dp-links { display: flex; flex-wrap: wrap; gap: 10px; }
.dp-links a {
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(45, 38, 64, .1);
}
.dp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.dp-tile {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(45, 38, 64, .1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dp-tile img { width: 100%; height: auto; }
.dp-tile span { font-size: .9rem; color: var(--c-text-soft); }
.dp-footer { margin-top: 40px; text-align: center; color: var(--c-text-soft); font-size: .9rem; }
[dir="rtl"] .dp-facts { padding-inline-start: 22px; }
