/* V47: warm Thanksgiving paper, white recipe cards and compact blue navigation. */
@media screen {
  body[data-edition="thanksgiving"] {
    --canvas: #fff8f0;
    --paper: #fff;
    min-height: 100vh;
    background: var(--canvas);
  }
  body[data-edition="thanksgiving"] .recipe-card {
    background: #fff;
    box-shadow: 0 7px 18px -12px #79543950;
  }
  body[data-edition="thanksgiving"] .menu-row,
  body[data-edition="thanksgiving"] .recipe-notes,
  body[data-edition="thanksgiving"] .recipe-source {
    border-color: #e9ded2;
  }
  body[data-edition="thanksgiving"] .ingredients-panel,
  body[data-edition="thanksgiving"] .focus-ingredients {
    background: #fff;
    border-color: #e7d8cb;
  }

  /* The limited public reader fades into the same paper as the full reader. */
  body[data-edition="thanksgiving"] .preview-cutoff { background: var(--canvas); }
  body[data-edition="thanksgiving"] .preview-cutoff::before {
    background: linear-gradient(to top, #fff8f0 4%, rgb(255 248 240 / .92) 22%, rgb(255 248 240 / 0));
  }
  body[data-edition="thanksgiving"]:has(.preview-cutoff)::after {
    background: linear-gradient(to top, #fff8f0, rgb(255 248 240 / 0));
  }

  @media (min-width: 701px) {
    .site-header > .main-nav {
      width: auto;
      min-width: 0;
      padding: 0;
      background: transparent !important;
      border-radius: 0;
      box-shadow: none;
    }
    .site-header .main-nav a { background: transparent; }
    .site-header .main-nav a[aria-current="page"] {
      background: #eaf3fa !important;
      color: #244967 !important;
      box-shadow: none;
    }
  }
  @media (min-width: 701px) and (max-width: 980px) {
    html { scroll-padding-top: 96px; }
    .site-header {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-between;
      height: 76px;
      min-height: 76px;
      padding: 10px 20px;
      gap: 12px;
    }
    .site-header > .edition-identity { flex: 0 0 auto; min-height: 36px; }
    .site-header .reader-wordmark { width: 156px !important; height: 36px !important; }
    .site-header > .main-nav { flex: 0 1 auto; min-height: 44px; margin-left: auto; gap: 2px; }
    .site-header .main-nav > a { min-height: 44px; padding: 8px 10px; gap: 5px; font-size: .78rem; white-space: nowrap; }
    .site-header .main-nav > a > svg,
    .site-header .main-nav .nav-icon > svg { width: 19px; height: 19px; }
    .site-header > .header-tools { flex: 0 0 auto; margin: 0; }
    .plan-summary { top: 96px; }
    #recipe-library { scroll-margin-top: 96px; }
  }
}
