

@media (min-width: 1024px) {
  .hero::after {
    content: '';
    position: absolute;
    bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    width: 2px; height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    border-radius: 999px;
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scaleY(1); }
    50%       { opacity: 1;   transform: translateX(-50%) scaleY(1.15); }
  }

  .home-section {
    max-width: 1200px; margin: 0 auto;
    padding: 4rem 2rem;
  }
  .categories-wrap + .home-section, .home-top + .home-section { padding-top: 1.5rem; }
  .home-featured-row {
    max-width: 1200px; margin: 0 auto;
    padding: 0 2rem 4rem;
  }

  .home-search-wrap { max-width: 760px; margin: 2.5rem auto; }
  .home-search-title { font-size: 2.3rem; }
  .home-search-input { height: 56px; font-size: 1.125rem; padding: 0 1.5rem; }
  .home-search-btn { width: 56px; height: 56px; }
  .home-search-btn .material-symbols-outlined { font-size: 1.75rem; }

  .recipe-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1.25rem !important;
    padding: 0 !important;
  }
  .section-head { padding: 0 !important; }

  .featured-card__img { aspect-ratio: 3/2; }

  .newsletter {
    padding: 3rem;
  }
  .newsletter h3 { font-size: 2rem; }
  .newsletter__form {
    flex-direction: row;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid var(--on-surface);
    background: var(--surface-white);
    box-shadow: none;
  }
  .newsletter__input {
    border-radius: 0;
    box-shadow: none;
    border: none;
    flex: 1;
  }
  .newsletter__input:focus { box-shadow: none; }
  .btn-signup {
    width: auto; padding: 0 2rem;
    border-radius: 0;
    white-space: nowrap;
  }

  .promo-card {
    max-width: 1200px;
    margin: 0 auto 4rem;
    border-radius: var(--radius-2xl);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
  }
  .promo-card h2 { font-size: 2rem; margin-bottom: .75rem; }
  .promo-card p  { max-width: 480px; }
}

@media (min-width: 1024px) {
  .sr-layout {
    padding-top: 2rem;
  }

  .sr-layout__main .sr-hero-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 0;
  }

  .sr-layout__sidebar .sr-card {
    border-radius: var(--radius-xl);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--outline-var) transparent;
  }
  .sr-layout__sidebar .sr-card::-webkit-scrollbar { width: 4px; }
  .sr-layout__sidebar .sr-card::-webkit-scrollbar-track { background: transparent; }
  .sr-layout__sidebar .sr-card::-webkit-scrollbar-thumb { background: var(--outline-var); border-radius: 999px; }

  .sr-author-bar { padding-left: 0; padding-right: 0; }
  .sr-title { padding-left: 0; padding-right: 0; }
  .sr-actions { padding-left: 0; padding-right: 0; }
  .sr-body { padding-left: 0; padding-right: 0; }
  .sr-more h3 { padding: 0 !important; }
  .sr-more-scroll { padding: 0 !important; }
}

@media (min-width: 1024px) {
  .archive-header {
    max-width: 1200px; margin: 0 auto;
    padding: 2.5rem 2rem 0;
    text-align: center;
  }
  .archive-header__title { font-size: 3rem; }
  .filter-bar {
    max-width: 1200px; margin: 1.25rem auto 2.5rem;
    padding: 0 2rem;
  }
  .categories-wrap {
    max-width: 1200px; margin: 0 auto;
    padding: 0.5rem 2rem !important;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }
  .archive-grid {
    max-width: 1200px; margin: 0 auto;
    padding: 0 2rem !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1.25rem !important;
  }
  .pagination { padding: 2rem; }
}

@media (min-width: 1024px) {
  .author-page-layout {
    padding-top: 3rem;
  }

  .author-sidebar {
    position: static;
  }

  .author-hero { padding: 0; text-align: center; }
  .author-avatar { width: 180px; height: 180px; }
  .author-name { font-size: 2.25rem; }

  .spotlight {
    margin: 0 0 2.5rem !important;
    aspect-ratio: 16/7 !important;
    border-radius: var(--radius-xl);
  }

  .author-bio   { padding: 0 !important; }
  .author-socials { padding: 0 0 1.5rem !important; justify-content: center; }

  .author-page-layout .recipe-grid {
    padding: 0 !important;
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .search-page-layout {
    max-width: 1200px; margin: 0 auto;
    padding: 3rem 2rem 5rem;
  }
  .search-page-layout .search-box {
    max-width: 760px; margin: 0 auto 2.5rem;
  }
  .search-two-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
  }
}

@media (min-width: 1024px) {
  .saved-header {
    max-width: 1200px; margin: 0 auto;
    padding: 2.5rem 2rem 0;
  }
  .saved-header__title { font-size: 2.5rem; }
  .categories-wrap {
    max-width: 1200px; margin: 0 auto;
    padding: 1.25rem 2rem;
  }
  .saved-header ~ .recipe-grid,
  .saved-header ~ * .recipe-grid {
    max-width: 1200px; margin: 0 auto;
    padding: 0 2rem !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1.25rem !important;
  }
}

@media (min-width: 1024px) {
  .recipe-card { cursor: pointer; }
  .recipe-card:hover .recipe-card__bookmark { opacity: 1; }
  .recipe-card__bookmark { opacity: 0.7; transition: opacity var(--ease), transform var(--ease); }

  .sr-more-card { cursor: pointer; }
}

@media (min-width: 1024px) {
  .recipe-card__title { font-size: 1.1rem; }
  .featured-card__title { font-size: 1.75rem; }
  .hero__eyebrow { font-size: 0.75rem; }
  body { font-size: 1rem; }
  .section-head h2 { font-size: 1.875rem; }
  .recipe-card__stats { font-size: 0.8125rem; gap: 0.35rem 0.75rem; }
  .recipe-card__stats .material-symbols-outlined { font-size: 1rem; }
}

@media print {
  .top-bar, .bottom-nav, .desktop-nav,
  .sr-topbar, .sr-actions, .sr-more,
  .newsletter, .promo-card,
  .site-footer, .recipe-card__bookmark,
  .categories-wrap, .filter-bar, .home-search-wrap,
  .btn-load-more, .pagination,
  .author-socials { display: none !important; }

  body { background: #fff; color: #000; font-size: 12pt; }
  .sr-layout { display: block !important; }
  .sr-layout__sidebar { display: block; position: static !important; }
  .sr-card { box-shadow: none !important; border: 1px solid #ddd !important; }
  a { color: #000 !important; text-decoration: none !important; }
  h1, h2, h3 { page-break-after: avoid; }
  img { max-width: 100% !important; }
  .sr-hero-img { aspect-ratio: 16/9 !important; }
}
