/* Buying-journey additions: use-case pages, product breadcrumbs and summaries,
   article product links. Every selector is scoped to classes added by
   use_case_pages.py or seo_journeys.py so existing pages are unaffected. */

/* Use-case landing pages (loaded with seo-pages.css) */
.use-case-hero .hero-copy { max-width: 760px; }
.use-case-hero h1 { max-width: 860px; }
.use-case-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.use-case-facts { margin: 0 0 18px; padding-left: 18px; color: #5f6877; font-size: 15px; line-height: 1.55; }
.use-case-facts li + li { margin-top: 4px; }
.use-case-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: auto 0 16px; }
.use-case-price strong { color: #111827; font-size: 26px; line-height: 1.1; }
.use-case-price small { color: #5f6877; font-weight: 700; }
.use-case-price del { color: #5f6877; font-size: 15px; }
.use-case-price .stock { flex-basis: 100%; }
.use-case-cta { align-self: flex-start; }
.use-case-guide { max-width: 860px; }
.use-case-guide h3 { margin: 30px 0 8px; font-size: 20px; line-height: 1.3; }
.use-case-guide p, .use-case-guide li { color: #3f4856; font-size: 17px; }
.use-case-guide ul { padding-left: 20px; }
.use-case-directory a strong { font-size: 16px; }

/* Product pages: visible breadcrumb, plain-language summary and journey links */
.seo-breadcrumbs { margin: 0 0 10px; font-size: 13px; line-height: 1.4; color: #5f6877; }
.seo-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.seo-breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.seo-breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #9aa3af; }
.seo-breadcrumbs a { color: #1d5fd1; text-decoration: none; }
.seo-breadcrumbs a:hover { text-decoration: underline; }
.seo-breadcrumbs [aria-current="page"] { color: #374151; }
.seo-product-summary { margin: 10px 0 14px; color: #374151; font-size: 15px; line-height: 1.6; }
.seo-product-summary a { color: #1d5fd1; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Collection page: shop by use */
.seo-use-cases .region-directory__grid a strong { font-size: 16px; }

/* Articles: contextual link and compact product card */
.article-journey-link a { font-weight: 650; }
.seo-shop-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; margin: 28px 0; padding: 18px; border: 1px solid #dfe4ea; border-radius: 16px; background: #f8fafc; }
.seo-shop-card img { width: 132px; height: 99px; object-fit: contain; border-radius: 10px; background: #fff; }
.seo-shop-card__eyebrow { margin: 0 0 4px; color: #0f66d6; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.seo-shop-card p { margin: 0 0 10px; color: #4b5563; font-size: 15px; line-height: 1.5; }
.seo-shop-card p.seo-shop-card__name { margin-bottom: 6px; font-size: 18px; font-weight: 750; line-height: 1.3; }
.seo-shop-card__name a { color: #111827; text-decoration: none; }
.seo-shop-card__name a:hover { text-decoration: underline; }
.seo-shop-card__price { font-weight: 800; color: #111827; }
.seo-shop-card__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.seo-shop-card__actions a { font-weight: 700; color: #0f66d6; }
@media (max-width: 560px) {
  .seo-shop-card { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; }
  .seo-shop-card img { width: 88px; height: 66px; }
}

/* Phase 2: review summary on product pages, prices and ratings on /projectors/, home links, direct answers */
.seo-intent { border-top: 1px solid #e5e7eb; background: #fff; padding: 56px 16px; }
.seo-intent__inner { max-width: 1100px; margin: 0 auto; }
.seo-intent h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800; color: #111827; }
.seo-intent h3 { margin: 24px 0 10px; font-size: 19px; font-weight: 750; color: #111827; }
.seo-intent p, .seo-intent li { color: #374151; font-size: 16px; line-height: 1.6; }
.seo-intent a { color: #1d5fd1; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.seo-intent__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; }
.seo-intent__grid ul { margin: 0; padding-left: 20px; }
.seo-intent__faq details { border-bottom: 1px solid #e5e7eb; padding: 14px 0; }
.seo-intent__faq summary { cursor: pointer; font-weight: 700; color: #111827; }
.seo-intent__faq p { margin: 10px 0 0; }
.seo-price-table td, .seo-price-table th { vertical-align: top; }
.seo-ratings__list { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.8; }
.seo-home-links { padding: 56px 16px; background: #f8fafc; border-top: 1px solid #e5e7eb; }
.seo-home-links__inner { max-width: 1240px; margin: 0 auto; }
.seo-home-links h2 { margin: 0 0 20px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800; color: #111827; }
.seo-home-links__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.seo-home-links__grid a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid #dfe4ea; border-radius: 14px; background: #fff; color: #111827; text-decoration: none; }
.seo-home-links__grid a:hover { border-color: #0f66d6; }
.seo-home-links__grid strong { font-size: 16px; color: #0d1859; }
.seo-home-links__grid span { font-size: 14px; color: #5f6877; line-height: 1.5; }
@media (max-width: 720px) { .seo-intent__grid { grid-template-columns: 1fr; } }

/* Phase 3: price and budget tables become stacked cards on phones (no sideways scrolling) */
.seo-price-table__button { display: inline-block; padding: 8px 14px; border-radius: 10px; background: #0f66d6; color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 480px) {
  .seo-prices .comparison-wrap, [data-seo-price-tiers-table] { overflow: visible; }
  .seo-price-table, [data-seo-price-tiers-table] table { display: block; width: 100% !important; min-width: 0 !important; border: 0; }
  .seo-price-table thead, [data-seo-price-tiers-table] thead { display: none; }
  .seo-price-table tbody, .seo-price-table tr, .seo-price-table th, .seo-price-table td,
  [data-seo-price-tiers-table] tbody, [data-seo-price-tiers-table] tr, [data-seo-price-tiers-table] th, [data-seo-price-tiers-table] td,
  [data-seo-price-tiers-table] caption { display: block; width: auto; min-width: 0; text-align: left; white-space: normal; }
  .seo-price-table tr, [data-seo-price-tiers-table] tr { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #dfe4ea; border-radius: 14px; background: #fff; }
  .seo-price-table th, .seo-price-table td, [data-seo-price-tiers-table] th, [data-seo-price-tiers-table] td { padding: 4px 0; border: 0; }
  .seo-price-table th, [data-seo-price-tiers-table] th { font-size: 17px; font-weight: 800; }
  .seo-price-table td[data-label]::before, [data-seo-price-tiers-table] td[data-label]::before { content: attr(data-label); display: block; color: #5f6877; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
  .seo-price-table__action { padding-top: 8px !important; }
}

/* Small phones: breadcrumbs stay on one line; the current page is truncated, earlier crumbs never shrink. */
@media (max-width: 480px) {
  .seo-breadcrumbs ol, html body nav.breadcrumbs { display: flex; flex-wrap: nowrap !important; white-space: nowrap; overflow: hidden; }
  .seo-breadcrumbs li, html body nav.breadcrumbs > * { flex: 0 0 auto; }
  .seo-breadcrumbs li[aria-current="page"], html body nav.breadcrumbs > [aria-current="page"] {
    display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .seo-breadcrumbs, html body nav.breadcrumbs { font-size: max(12px, 0.8125rem); }
}
@media (max-width: 480px) {
  /* The shared comparison-table rules are more specific; keep the stacked cards compact and inside the screen. */
  .seo-prices table.seo-price-table th, .seo-prices table.seo-price-table td,
  [data-seo-price-tiers-table] table th, [data-seo-price-tiers-table] table td {
    padding: 4px 0 !important; width: auto !important; max-width: 100%; box-sizing: border-box; position: static !important;
  }
  .seo-prices table.seo-price-table td.seo-price-table__action { padding-top: 10px !important; }
  .seo-prices table.seo-price-table tr, [data-seo-price-tiers-table] table tr { box-sizing: border-box; max-width: 100%; }
}
