/* Shared inner pages: recipes, legal */

.page-inner main {
  overflow-x: hidden;
}

.page-hero {
  color: #fff;
  overflow: hidden;
  padding: 0 16px 48px;
  position: relative;
}

@media (min-width: 1025px) {
  .page-hero {
    padding: 0 40px 64px;
  }
}

.page-hero__bg {
  height: calc(100% + var(--site-header-clearance));
  left: 0;
  position: absolute;
  right: 0;
  top: calc(-1 * var(--site-header-clearance));
  z-index: 0;
}

.page-hero--recipes .page-hero__bg {
  background: #811b48;
}

.page-hero__inner {
  margin: 0 auto;
  max-width: 1200px;
  padding-top: calc(var(--site-header-clearance) + 40px);
  position: relative;
  text-align: center;
  z-index: 1;
}

@media (min-width: 1025px) {
  .page-hero__inner {
    padding-top: calc(var(--site-header-clearance) + 56px);
  }
}

.page-hero--recipes .page-hero__inner {
  max-width: 1000px;
}

.page-hero--recipes .page-hero__title {
  font-size: 3.5rem;
  letter-spacing: -2px;
  line-height: 80%;
  margin: 0 auto;
  padding-bottom: 12px;
}

@media (min-width: 769px) {
  .page-hero--recipes .page-hero__title {
    font-size: 6.25rem;
    letter-spacing: -3px;
    padding-bottom: 32px;
  }
}

.page-hero--recipes .page-hero__text {
  font-size: 1.125rem;
  letter-spacing: -0.18px;
  line-height: 1.55;
  margin: -8px auto 0;
  max-width: 36rem;
}

@media (min-width: 1025px) {
  .page-hero--recipes .page-hero__text {
    font-size: 1.375rem;
    letter-spacing: -0.22px;
    line-height: 1.5;
  }
}

.page-hero__eyebrow {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1.44px;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .page-hero__title {
    font-size: 4.5rem;
    letter-spacing: -2.16px;
  }
}

.page-hero__text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin: 16px auto 0;
  max-width: 640px;
}

/* —— Recipes grid —— */
.recipes-page {
  padding: 48px 24px 64px;
}

@media (min-width: 769px) {
  .recipes-page {
    padding: 64px 48px 80px;
  }
}

@media (min-width: 1200px) {
  .recipes-page {
    padding: 64px 80px 96px;
  }
}

.recipes-page .site-content-container {
  margin: 0 auto;
  max-width: 960px;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.recipes-page__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .recipes-page__grid {
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .recipes-page__grid {
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
  }
}

.recipes-page__card-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

/* Compact cards — recipes listing only */
.recipes-page .recipe-card {
  border-radius: 16px;
  padding: 12px;
}

.recipes-page .recipe-card__image {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

.recipes-page .recipe-card__time {
  font-size: 0.6875rem;
  letter-spacing: -0.22px;
  padding: 5px 6px;
  right: 8px;
  top: 8px;
}

@media (min-width: 769px) {
  .recipes-page .recipe-card__time {
    font-size: 0.75rem;
    letter-spacing: -0.24px;
  }
}

.recipes-page .recipe-card__tags {
  margin-top: 10px;
}

.recipes-page .recipe-card__tags li {
  font-size: 0.6875rem;
  letter-spacing: -0.22px;
}

@media (min-width: 769px) {
  .recipes-page .recipe-card__tags li {
    font-size: 0.75rem;
    letter-spacing: -0.24px;
  }
}

.recipes-page .recipe-card__title {
  font-size: 1.125rem;
  letter-spacing: -0.54px;
  line-height: 0.9;
  margin: 10px 0 4px;
}

@media (min-width: 769px) {
  .recipes-page .recipe-card__title {
    font-size: 1.25rem;
    letter-spacing: -0.6px;
  }
}

/* —— Legal —— */
.legal-page {
  padding: calc(var(--site-header-clearance) + 48px) 24px 80px;
}

@media (min-width: 1025px) {
  .legal-page {
    padding: calc(var(--site-header-clearance) + 64px) 48px 96px;
  }
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 0.95;
  margin: 0 0 8px;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .legal-page__title {
    font-size: 3.5rem;
    letter-spacing: -1.68px;
  }
}

.legal-page__updated {
  color: rgba(35, 31, 32, 0.65);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 32px;
}

.legal-page__content {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.18px;
  line-height: 1.55;
  max-width: 720px;
}

.legal-page__content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1.1;
  margin: 32px 0 12px;
  text-transform: uppercase;
}

.legal-page__content p,
.legal-page__content ul {
  margin: 0 0 16px;
}

.legal-page__content ul {
  padding-left: 1.25rem;
}

.legal-page__content a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__content a:hover {
  text-decoration: none;
}
