/* October review: category emphasis, guide photography and shared navigation. */
.site-header .desktop-nav { display: flex; align-items: center; }
.site-header .desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header .desktop-nav a:hover { color: #773ab5; text-decoration: underline; text-underline-offset: 5px; }
.site-header .desktop-nav a[aria-current="page"] { color: #773ab5; }
.site-header :focus-visible { outline: 3px solid #8736d8; outline-offset: 4px; }

.landing-page .category-section { background: #f4eff9; border-top: 1px solid #eae2f2; }
.category-section .section-head { max-width: 800px; }
.category-section .landing-cats a { display: flex; flex-direction: column; background: #fff; border-color: #e2d9ed; }
.category-section .landing-cats h3 { margin: 0 0 12px; }
.category-section .landing-cats p { margin: 0 0 24px; }
.category-section .landing-cats b { margin-top: auto; color: #773ab5; font-size: 16px; }
.category-section .landing-cats b span { display: inline-block; margin-left: 6px; color: inherit; }
.category-section .landing-cats a:hover b { text-decoration: underline; text-underline-offset: 4px; }

.guide-grid { align-items: stretch; gap: 24px; }
.guide-grid .guide-link { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0; overflow: hidden; }
.guide-link > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.guide-grid .guide-card-label { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex: 1; padding: 22px 24px; color: #15315b; }
.guide-card-label > span:last-child { color: #773ab5; }
.guide-photo { margin: 0 0 36px; }
.guide-photo img { display: block; width: 100%; height: auto; border-radius: 16px; }

.marketplace-page .category-hero { padding: 38px 0 36px; }
.category-hero .needs-heading { align-items: baseline; gap: 24px; margin-bottom: 24px; }
.marketplace-page .category-hero h1 { margin: 0; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.15; }
.category-hero .need-card { background: #fff; }
.category-hero .need-card[aria-pressed="true"] { background: #f6f0fc; }
.category-hero .need-card:hover { background: #fcf9ff; }

@media (max-width: 1050px) {
  .site-header .nav-wrap { height: auto; min-height: 78px; gap: 0 20px; flex-wrap: wrap; padding-block: 10px 4px; }
  .site-header .desktop-nav { display: flex; order: 3; width: 100%; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
  .site-header .desktop-nav a, .marketplace-page .desktop-nav a:first-child { display: inline-flex; }
  .site-header .nav-wrap .btn { display: inline-flex; }
  .landing-page section[id], .catalog-section, .policy-shell, .policy-body h2 { scroll-margin-top: 170px; }
}

@media (max-width: 620px) {
  .site-header .nav-wrap { gap: 0 12px; }
  .site-header .logo-img { width: 125px; height: 52px; }
  .landing-page .site-header .logo-img { width: min(190px, 42vw); height: 64px; }
  .site-header .nav-wrap .btn { padding: 12px; font-size: 13px; min-height: 44px; white-space: nowrap; }
  .site-header .desktop-nav { gap: 0 22px; }
  .site-header .desktop-nav a { font-size: 13px; }
  .landing-page section[id], .catalog-section, .policy-shell, .policy-body h2 { scroll-margin-top: 145px; }
  .guide-grid { gap: 20px; }
  .guide-grid .guide-card-label { padding: 20px; font-size: 18px; }
  .guide-photo { margin-bottom: 28px; }
  .guide-photo img { border-radius: 12px; }
  .marketplace-page .category-hero { padding: 28px 0; }
  .category-hero .needs-heading { margin-bottom: 22px; }
  .category-hero .needs-heading > span { display: block; margin-top: 12px; }
}

@media print {
  .site-header { display: none; }
  .guide-photo { max-width: 500px; }
}
