/* CarFocus.net — WPVibe V2.1 QA Closeout — 10.05.2026
 * Native-first News Magazine X refinement.
 * Selected theme remains the visual + mechanical baseline.
 * Car and Driver supplies the dominant external editorial influence.
 */

/* Accessibility baseline: editorial links remain visibly identifiable without relying on color alone. */
.single .newsx-post-content a,
.page .newsx-page-content a,
.newsx-grid-excerpt a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.newsx-site-header a:focus-visible,
.newsx-site-footer a:focus-visible,
.newsx-grid-title a:focus-visible,
.newsx-grid-read-more-link:focus-visible,
.newsx-mobile-menu-toggle:focus-visible,
.newsx-header-search > .newsx-search-icon:focus-visible,
.carfocus-recovery-search button:focus-visible,
.carfocus-recovery-search input:focus-visible,
.single .newsx-post-content a:focus-visible,
.page .newsx-page-content a:focus-visible {
  outline: 3px solid #111111;
  outline-offset: 3px;
}

:root {
  --cf-red: #d71920;
  --cf-black: #111111;
  --cf-charcoal: #242424;
  --cf-gray: #6b6b6b;
  --cf-line: #e5e5e5;
  --cf-soft: #f5f5f5;
  --cf-white: #ffffff;
}

body {
  background: var(--cf-white);
  color: var(--cf-black);
}

/* Header — preserve News Magazine X structure, sharpen the automotive masthead. */
.newsx-site-header .newsx-top-section-wrap {
  background: var(--cf-black);
  color: var(--cf-white);
  border: 0;
}

.newsx-site-header .newsx-top-section-wrap a,
.newsx-site-header .newsx-top-section-wrap p {
  color: var(--cf-white);
}

.newsx-site-header .news-ticker-heading {
  background: var(--cf-red);
  color: var(--cf-white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.newsx-site-header .newsx-middle-section-wrap {
  background: var(--cf-white);
  border-bottom: 1px solid var(--cf-line);
}

.newsx-site-title-tagline .site-title a {
  color: var(--cf-black);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .95;
  text-transform: uppercase;
}

.newsx-header-menu-primary-wrapper .newsx-desktop-menu > li > a {
  color: var(--cf-black);
  font-weight: 850;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.newsx-header-menu-primary-wrapper .newsx-desktop-menu > li > a:hover,
.newsx-header-menu-primary-wrapper .newsx-desktop-menu > li.current-menu-item > a,
.newsx-header-menu-primary-wrapper .newsx-desktop-menu > li.current-menu-ancestor > a {
  color: var(--cf-red);
}

.newsx-header-menu-primary-wrapper .sub-menu {
  border-top: 3px solid var(--cf-red);
}

.newsx-header-search .search-field {
  background: var(--cf-white);
  color: var(--cf-black);
  border: 1px solid var(--cf-line);
}

.newsx-mobile-menu-toggle,
.newsx-header-search > .newsx-search-icon {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

.newsx-header-search > .newsx-search-icon {
  padding: 0;
  border: 0;
  background: transparent;
}

/* Section rhythm — premium editorial, still unmistakably News Magazine X. */
.home .newsx-row {
  padding-top: 30px;
}

.home .newsx-widget-title-wrap {
  margin-bottom: 18px;
  padding-bottom: 9px;
  border-bottom: 4px solid var(--cf-black);
}

.home .newsx-widget-title {
  margin: 0;
  color: var(--cf-black);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.home .newsx-grid-view-all a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cf-gray);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.newsx-grid-categories .post-categories a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  background: var(--cf-red);
  color: var(--cf-white) !important;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

/* Premium homepage hierarchy: keep taxonomy context without stacking badge clutter. */
.home .newsx-grid-categories .post-categories li:not(:first-child) {
  display: none;
}

.home .newsx-magazine-layout-1-4 > .newsx-grid-item:first-child .newsx-grid-title h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
}

.home .newsx-magazine-layout-1-4 > .newsx-grid-item:first-child .newsx-grid-excerpt {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.5;
}

.newsx-grid-title h2,
.newsx-grid-title h3,
.newsx-grid-title h4,
.newsx-grid-title h5,
.newsx-grid-title h6 {
  letter-spacing: -.025em;
  line-height: 1.08;
}

.newsx-grid-title a:hover,
.newsx-grid-title a:focus {
  color: var(--cf-red);
}

.newsx-grid-excerpt,
.newsx-grid-post-meta {
  color: var(--cf-gray);
}

/* Over-media cards need explicit high-contrast text; the light-surface gray above must not bleed onto image overlays. */
.newsx-grid-over-media .newsx-grid-excerpt,
.newsx-grid-over-media .newsx-grid-post-meta,
.newsx-grid-over-media .newsx-grid-post-meta * {
  color: #ffffff;
}

/* Raise light-surface metadata contrast above the theme's pale default gray. */
.newsx-grid-below-media .newsx-grid-date-time,
.newsx-grid-below-media .newsx-grid-author a,
.newsx-archive-page-wrap .newsx-grid-post-meta,
.newsx-blog-page-wrap .newsx-grid-post-meta,
.newsx-breadcrumbs,
.newsx-breadcrumbs a {
  color: #595959;
}

.newsx-grid-read-more-link {
  color: var(--cf-black);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--cf-red);
}

/* Native sidebar research entry — functional influence without replacing theme layout. */
.carfocus-native-research {
  margin-top: 18px;
  padding: 22px;
  background: var(--cf-black);
  color: var(--cf-white);
  border-top: 5px solid var(--cf-red);
}

.carfocus-native-research .carfocus-kicker {
  margin: 0 0 8px;
  color: #ff6b70;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.carfocus-native-research h2 {
  margin: 0 0 12px;
  color: var(--cf-white);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.carfocus-native-research a {
  display: block;
  padding: 10px 0;
  color: var(--cf-white);
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid #343434;
}

.carfocus-native-research a:hover,
.carfocus-native-research a:focus {
  color: #ff777b;
}

/* Footer — native four-column News Magazine X region. */
.newsx-site-footer .newsx-middle-section-wrap {
  background: var(--cf-black);
  color: #d4d4d4;
  border-top: 4px solid var(--cf-red);
}

.newsx-site-footer .newsx-middle-section-wrap a {
  color: #f3f3f3;
}

.newsx-site-footer .newsx-middle-section-wrap a:hover,
.newsx-site-footer .newsx-middle-section-wrap a:focus {
  color: #ffffff;
}

.carfocus-footer-brand strong,
.carfocus-footer-links strong,
.carfocus-footer-standards strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.carfocus-footer-brand strong {
  font-size: 22px;
  letter-spacing: -.03em;
}

.carfocus-footer-brand p,
.carfocus-footer-standards p {
  margin: 0;
  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.6;
}

.carfocus-footer-links a,
.carfocus-footer-brand a,
.carfocus-footer-standards a {
  display: block;
  padding: 6px 0;
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 700;
}

.carfocus-footer-brand p + a,
.carfocus-footer-standards p + a {
  margin-top: 10px;
}

.newsx-site-footer .newsx-bottom-section-wrap {
  background: #0b0b0b;
  color: #bdbdbd;
  border: 0;
}

.newsx-site-footer .newsx-copyright {
  padding: 20px 0;
  font-size: 12px;
}

#newsx-back-to-top {
  appearance: none;
  -webkit-appearance: none;
  background: var(--cf-red);
  color: var(--cf-white);
  border: 0;
  cursor: pointer;
}

#newsx-back-to-top:focus-visible {
  outline: 3px solid var(--cf-white);
  outline-offset: 2px;
}



/* Archive, search and article polish — refine native templates without replacing them. */
.newsx-archive-page-header {
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 4px solid var(--cf-black);
}

.newsx-archive-page-header h1 {
  color: var(--cf-black);
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.single .newsx-single-post-header {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.single .newsx-single-post-header h1 {
  color: var(--cf-black);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .98;
}

.single .newsx-post-content,
.page .newsx-default-page-wrap .newsx-post-content {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #222222;
  font-size: 18px;
  line-height: 1.72;
}

.page .newsx-default-page-wrap .newsx-page-title {
  max-width: 820px;
  margin: 0 auto 24px;
  color: var(--cf-black);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1;
}

.page .newsx-default-page-wrap .newsx-post-content h2 {
  margin-top: 1.65em;
  color: var(--cf-black);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.single .newsx-post-content h2 {
  margin-top: 1.65em;
  color: var(--cf-black);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.single .newsx-post-content h3 {
  margin-top: 1.45em;
  color: var(--cf-black);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1.12;
}

.single .newsx-post-content table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.single .newsx-post-content th {
  background: var(--cf-black);
  color: var(--cf-white);
  text-align: left;
}

.single .newsx-post-content th,
.single .newsx-post-content td {
  padding: 12px 14px;
  border: 1px solid var(--cf-line);
}

.carfocus-recovery {
  max-width: 820px;
  margin: 54px auto;
  padding: clamp(28px, 5vw, 52px);
  background: var(--cf-soft);
  border-top: 6px solid var(--cf-red);
}

.carfocus-recovery .carfocus-kicker {
  margin: 0 0 8px;
  color: var(--cf-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.carfocus-recovery h1,
.carfocus-recovery h2 {
  margin: 0 0 12px;
  color: var(--cf-black);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.carfocus-recovery .search-form {
  margin: 22px 0;
}

.carfocus-recovery .search-field {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  background: var(--cf-white);
  border: 1px solid #cfcfcf;
}

.carfocus-recovery-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 22px 0 14px;
}

.carfocus-recovery-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  background: var(--cf-white);
  color: var(--cf-black);
  border: 1px solid #cfcfcf;
}

.carfocus-recovery-search button {
  min-height: 46px;
  padding: 0 18px;
  background: var(--cf-black);
  color: var(--cf-white);
  border: 1px solid var(--cf-black);
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.carfocus-recovery-search button:hover,
.carfocus-recovery-search button:focus-visible {
  background: var(--cf-red);
  border-color: var(--cf-red);
}

.carfocus-recovery-home {
  display: inline-block;
  color: var(--cf-black);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--cf-red);
}

/* Archive/latest-story cards: consistent editorial rhythm and cleaner taxonomy presentation. */
.newsx-archive-page-wrap .newsx-grid-categories .post-categories li:not(:first-child),
.newsx-blog-page-wrap .newsx-grid-categories .post-categories li:not(:first-child) {
  display: none;
}

.newsx-archive-page-wrap .newsx-grid-image img,
.newsx-blog-page-wrap .newsx-grid-image img,
.home .newsx-grid-layout .newsx-grid-image img,
.home .newsx-list-layout .newsx-grid-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.newsx-archive-page-wrap .newsx-grid-title h3,
.newsx-blog-page-wrap .newsx-grid-title h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 850;
  line-height: 1.08;
}

.carfocus-recovery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.carfocus-recovery-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  background: var(--cf-white);
  color: var(--cf-black);
  border: 1px solid #cfcfcf;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.carfocus-recovery-links a:hover,
.carfocus-recovery-links a:focus-visible {
  color: var(--cf-red);
  border-color: var(--cf-red);
}

/* Tablet guardrail: switch to the native mobile-navigation mechanic before the seven-item desktop nav can crowd the masthead. */
@media (max-width: 960px) {
  .newsx-site-header .newsx-middle-section-wrap .newsx-builder-grid-row {
    min-height: 60px !important;
  }

  .newsx-site-header .newsx-site-title-tagline .site-description {
    display: none;
  }

  .newsx-site-header .newsx-site-title-tagline .site-title a {
    font-size: 30px;
  }

  .newsx-header-menu-primary-wrapper .newsx-desktop-menu-container {
    display: none;
  }

  .newsx-header-menu-primary-wrapper .newsx-mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .newsx-header-menu-primary-wrapper .newsx-mobile-menu-container {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }
}

/* Mobile contract: one compact masthead row, compact hamburger, search below when opened. */
@media (max-width: 768px) {
  .newsx-site-header .newsx-top-section-wrap {
    display: none;
  }

  .newsx-site-header .newsx-middle-section-wrap .newsx-builder-grid-row {
    min-height: 56px !important;
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
  }

  .newsx-site-header .newsx-middle-section-wrap .newsx-grid-column-left {
    flex: 1 1 auto;
    min-width: 0;
  }

  .newsx-site-header .newsx-middle-section-wrap .newsx-grid-column-center,
  .newsx-site-header .newsx-middle-section-wrap .newsx-grid-column-right {
    flex: 0 0 auto;
  }

  .newsx-site-title-tagline .site-description {
    display: none;
  }

  .newsx-site-title-tagline .site-title a {
    display: block;
    max-width: 56vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 22px;
  }

  .newsx-header-menu-primary-wrapper .newsx-mobile-menu-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cf-line);
    background: var(--cf-white);
    color: var(--cf-black);
  }

  .newsx-header-menu-primary-wrapper .newsx-mobile-menu-toggle > span:last-child {
    display: none;
  }

  .newsx-header-menu-primary-wrapper .newsx-mobile-menu-container {
    position: fixed;
    top: 56px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: var(--cf-white);
    color: var(--cf-black);
    border: 1px solid var(--cf-line);
    box-shadow: 0 18px 45px rgba(0,0,0,.16);
    z-index: 1003;
  }

  .newsx-header-menu-primary-wrapper .newsx-mobile-menu a {
    color: var(--cf-black) !important;
    padding: 14px 16px;
  }

  .newsx-site-header .newsx-middle-section-wrap .newsx-builder-grid-row {
    position: relative;
  }

  .newsx-site-header .newsx-header-search {
    position: static;
  }

  .newsx-header-search > .newsx-search-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .newsx-header-search .search-form {
    position: absolute;
    z-index: 1004;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: none;
    padding: 10px 14px;
    background: var(--cf-white);
    border-top: 1px solid var(--cf-line);
    border-bottom: 1px solid var(--cf-line);
    transform: none;
  }

  .newsx-header-search .newsx-ajax-search-results {
    top: calc(100% + 62px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
  }

  .newsx-header-search .search-field {
    width: 100%;
    min-height: 44px;
  }

  .newsx-mobile-menu .menu-item > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .carfocus-native-research a,
  .carfocus-footer-links a,
  .carfocus-footer-brand a,
  .carfocus-footer-standards a,
  .carfocus-recovery-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .home .newsx-row {
    padding-top: 18px;
  }

  .home .newsx-magazine-layout-1-4 > .newsx-grid-item:first-child .newsx-grid-title h2 {
    font-size: clamp(30px, 9.5vw, 44px);
  }
}

/* Mobile accessibility follow-through: keep primary interactive targets at or above the 48px Lighthouse target. */
@media (max-width: 768px) {
  .newsx-header-menu-primary-wrapper .newsx-mobile-menu-toggle,
  .newsx-header-search > .newsx-search-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .newsx-mobile-menu .menu-item > a,
  .carfocus-native-research a,
  .carfocus-footer-links a,
  .carfocus-footer-brand a,
  .carfocus-footer-standards a,
  .carfocus-recovery-links a,
  .home .newsx-grid-view-all a,
  .newsx-grid-categories .post-categories a {
    min-height: 48px;
  }

  .newsx-grid-categories .post-categories a {
    padding: 8px 10px;
  }

  /* Lighthouse follow-through: repeated editorial/card links need enough vertical separation on touch screens. */
  .newsx-grid-title a,
  .newsx-grid-author a,
  .newsx-grid-read-more-link,
  .newsx-featured-posts .newsx-post-meta a,
  .newsx-news-ticker-title {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
  }

  .newsx-grid-post-meta {
    row-gap: 8px;
  }

  .newsx-featured-posts .newsx-post {
    padding-block: 6px;
  }
}

/* Contrast closeout: replace the theme's pale metadata/placeholder defaults on light surfaces. */
.newsx-grid-date-time,
.newsx-grid-author a,
.newsx-grid-author a:hover,
.newsx-post-meta-inner,
.newsx-post-meta-inner a,
.newsx-related-posts .post-date,
.comment-meta,
.comment-meta a,
.comment-respond .logged-in-as,
.comment-respond .comment-notes,
.comment-form .comment-form-cookies-consent label,
.newsx-archive-page-header .sub-categories span,
.newsx-ajax-search-results .search-results-content span,
.sharing-header {
  color: #595959;
}

.sharing-header svg,
.newsx-post-meta-inner svg {
  fill: #595959;
}

.search-field::placeholder,
.newsx-newsletter-form input::placeholder,
.wp-block-search__input::placeholder {
  color: #626262;
  opacity: 1;
}

.newsx-site-footer .newsx-post-meta {
  color: #bdbdbd;
}

.newsx-site-footer .search-field::placeholder,
.newsx-site-footer .newsx-newsletter-form input::placeholder,
.newsx-site-footer .wp-block-search__input::placeholder {
  color: #bdbdbd;
  opacity: 1;
}

/* Article media and decision-table polish for Car Focus research posts. */
.single .wp-block-image {
  margin: 30px 0 34px;
}

.single .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.single .wp-block-image figcaption {
  margin-top: 8px;
  color: #595959;
  font-size: 12px;
  line-height: 1.45;
}

.single .newsx-post-content table {
  width: 100%;
  margin: 26px 0 32px;
  border-collapse: collapse;
  font-size: 14px;
}

.single .newsx-post-content th,
.single .newsx-post-content td {
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  text-align: left;
  vertical-align: top;
}

.single .newsx-post-content th {
  background: var(--cf-black);
  color: var(--cf-white);
  font-weight: 850;
}

.single .newsx-post-content tbody tr:nth-child(even) td {
  background: #f7f7f7;
}

@media (max-width: 640px) {
  .single .newsx-post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Car Focus brand identity — competitor-informed, original wordmark + compact mobile lockup. */
.newsx-site-title-tagline .site-title {
  margin: 0;
}

.newsx-site-title-tagline .site-title a {
  display: block;
  line-height: 0;
}

.newsx-site-title-tagline .carfocus-header-logo {
  display: block;
  width: clamp(220px, 18vw, 270px);
  height: auto;
}

.newsx-site-title-tagline .site-description {
  margin-top: 2px;
  color: #4f4f4f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.newsx-site-identity {
  min-width: 230px;
}

@media (max-width: 1024px) {
  .newsx-site-title-tagline .carfocus-header-logo {
    width: 220px;
  }

  .newsx-site-title-tagline .site-description {
    font-size: 9px;
    letter-spacing: .02em;
  }
}

@media (max-width: 640px) {
  .newsx-site-identity {
    min-width: 0;
  }

  .newsx-site-title-tagline .carfocus-header-logo {
    width: 184px;
    max-width: 62vw;
  }

  .newsx-site-title-tagline .site-description {
    max-width: 205px;
    font-size: 8px;
    letter-spacing: .015em;
  }
}

/* Research launcher — full-width decision hub between editorial feed sections. */
.carfocus-research-launcher {
  margin-top: 34px;
  padding: 42px 0 46px;
  background: var(--cf-soft);
  border-top: 1px solid var(--cf-line);
  border-bottom: 1px solid var(--cf-line);
}

.carfocus-research-launcher-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.carfocus-research-launcher .carfocus-kicker {
  margin: 0 0 8px;
  color: var(--cf-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.carfocus-research-launcher h2 {
  margin: 0 0 10px;
  color: var(--cf-black);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1;
}

.carfocus-research-launcher-head > p:last-child {
  margin: 0;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.55;
}

.carfocus-research-launcher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.carfocus-research-launcher-grid a {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: var(--cf-white);
  color: var(--cf-black);
  border: 1px solid #d9d9d9;
  border-top: 4px solid var(--cf-black);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.carfocus-research-launcher-grid a:hover,
.carfocus-research-launcher-grid a:focus-visible {
  border-top-color: var(--cf-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.carfocus-research-launcher-grid a:focus-visible {
  outline: 3px solid var(--cf-black);
  outline-offset: 3px;
}

.carfocus-research-launcher-grid span {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.carfocus-research-launcher-grid small {
  color: #555555;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .carfocus-research-launcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .carfocus-research-launcher {
    margin-top: 24px;
    padding: 30px 0 34px;
  }

  .carfocus-research-launcher h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .carfocus-research-launcher-grid {
    grid-template-columns: 1fr;
  }

  .carfocus-research-launcher-grid a {
    min-height: 112px;
  }
}

/* V2 accessibility hardening: preserve compact editorial styling while meeting
   Lighthouse target spacing for small metadata/category controls. */
.newsx-grid-categories a,
.newsx-grid-author a,
.newsx-grid-read-more-link,
.newsx-grid-view-all a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.newsx-grid-categories a {
  padding-top: 10px;
  padding-bottom: 10px;
}

.newsx-grid-author a,
.newsx-grid-read-more-link,
.newsx-grid-view-all a {
  padding-top: 8px;
  padding-bottom: 8px;
}