/* Scoped styles keep the existing search, manual, and editorial layouts intact. */
.recommended-main { padding-bottom: 12px; }
.recommendation-intro { max-width: 800px; padding: 12px 0 22px; }
.recommendation-eyebrow { margin: 0 0 14px; color: #174b9f; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.recommendation-intro h1 { margin: 0 0 18px; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.15; letter-spacing: -.025em; }
.recommendation-intro-copy { max-width: 65ch; margin: 0 0 24px; color: #465363; font-size: 18px; line-height: 1.7; }
.affiliate-disclosure { padding: 18px 22px; border: 1px solid #d7e3f5; border-left: 4px solid #1f5fcc; border-radius: 10px; background: #eaf1fc; color: #344d70; font-size: 15px; line-height: 1.6; }
.affiliate-disclosure p { margin: 0; }
.affiliate-disclosure p + p { margin-top: 6px; }
.recommendation-link-note { margin: 12px 0 0; color: #596575; font-size: 13px; }
.recommendation-section { margin: 24px 0 40px; }
.recommendation-section .section-heading h2 { margin: 0 0 8px; font-size: 25px; }
.recommendation-section .section-heading p { margin: 0 0 20px; color: #596575; line-height: 1.6; }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.recommendation-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e1e5ea; border-radius: 14px; background: white; box-shadow: 0 4px 16px rgba(29, 39, 52, .04); }
.recommendation-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 180px; flex-shrink: 0; background: linear-gradient(145deg, #eaf1fc, #f7faff); color: #174b9f; border-bottom: 1px solid #edf0f3; }
.recommendation-visual img { width: 100%; height: 180px; object-fit: contain; }
.recommendation-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.recommendation-category { color: #174b9f; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.recommendation-body h3 { margin: 12px 0 0; font-size: 21px; line-height: 1.35; overflow-wrap: anywhere; }
.recommendation-body p { margin: 14px 0 24px; color: #465363; font-size: 15px; line-height: 1.7; }
.recommendation-link { flex: none; gap: 12px; min-height: 44px; margin-top: auto; }
.recommendation-link:focus-visible { outline: 3px solid #174b9f; outline-offset: 4px; }
.recommendation-header .primary-nav a[aria-current="page"] { background: #eaf1fc; color: #174b9f; }
.recommendation-skip { position: absolute; top: 8px; left: 16px; z-index: 10; transform: translateY(-150%); padding: 12px 16px; border-radius: 8px; background: #1f5fcc; color: white; }
.recommendation-skip:focus { transform: translateY(0); outline: 3px solid #174b9f; outline-offset: 3px; }
@media (max-width: 900px) {
  .recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .recommendation-grid { grid-template-columns: minmax(0, 1fr); }
  .recommendation-body { padding: 22px; }
  .recommendation-link { width: 100%; }
  .recommendation-intro-copy { font-size: 16px; }
}
