:root {
  --red: #ff0000;
  --red-dark: #b20000;
  --ink: #111111;
  --muted: #6f6f6f;
  --line: #dedede;
  --soft: #f2f2f2;
  --paper: #ffffff;
  --container: 1180px;
  --reading: 790px;
  color-scheme: light;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Verdana, BlinkMacSystemFont, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .65em;
  font-family: Roboto, "Arial Black", "Segoe UI", sans-serif;
  line-height: 1.12;
  letter-spacing: -.025em;
}
p { margin: 0 0 1.25em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  background: #fff;
  border: 2px solid var(--red);
  padding: 10px 16px;
  font-weight: 700;
}
.skip-link:focus { transform: none; }
.site-container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  min-height: 72px;
  border-bottom: 1px solid #e9e9e9;
  background: #fff;
}
.header-inner {
  width: min(var(--container), calc(100% - 40px));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { flex: 0 0 112px; align-self: stretch; display: grid; place-items: center; overflow: hidden; }
.brand img { width: 112px; height: 58px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 27px; margin-left: 4px; }
.desktop-nav a {
  padding: 27px 0 25px;
  border-bottom: 3px solid transparent;
  color: #111;
  font-family: Roboto, "Arial Black", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--red); border-color: var(--red); }
.search-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  color: var(--red);
  font: 700 25px/1 Arial, sans-serif;
}
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 24px; height: 2px; background: #111; }
.mobile-menu nav {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  display: grid;
  background: #fff;
  border-block: 1px solid var(--line);
  box-shadow: 0 12px 20px rgb(0 0 0 / 8%);
}
.mobile-menu nav a { padding: 13px 20px; border-bottom: 1px solid #eee; font: 800 12px/1.2 Roboto, sans-serif; text-transform: uppercase; }

/* Homepage */
.home-hero { position: relative; min-height: 505px; overflow: hidden; background: #111; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(100%); }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 25%, rgb(0 0 0 / 18%) 52%, rgb(0 0 0 / 78%) 100%); }
.hero-overlay { position: relative; z-index: 1; width: min(var(--container), calc(100% - 40px)); min-height: 505px; margin-inline: auto; display: grid; align-items: center; grid-template-columns: 1.2fr .8fr; }
.hero-copy { grid-column: 2; max-width: 510px; color: #fff; }
.hero-copy h1 { margin-bottom: 20px; font-size: clamp(30px, 3vw, 44px); font-weight: 800; text-transform: uppercase; }
.hero-copy p { max-width: 490px; margin-bottom: 22px; font-size: 14px; line-height: 1.75; }
.hero-copy h2 { margin: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.home-sections { padding-block: 30px 70px; }
.home-category { padding: 12px 0 22px; }
.section-heading { display: grid; grid-template-columns: 1fr 355px; align-items: center; gap: 28px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 900; text-transform: uppercase; }
.section-heading > a {
  display: block;
  padding: 16px 24px;
  background: var(--red-dark);
  color: #fff;
  font: 800 11px/1 Roboto, sans-serif;
  text-align: center;
  text-transform: uppercase;
  transition: background-color .15s ease;
}
.section-heading > a:hover { background: #850000; color: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.guide-card { min-width: 0; }
.card-image { display: block; aspect-ratio: 1.5 / 1; overflow: hidden; background: #ececec; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.guide-card:hover .card-image img { transform: scale(1.025); filter: saturate(1.05); }
.card-image-placeholder { background: linear-gradient(135deg, #ededed, #fafafa); }
.card-body { padding-top: 11px; }
.card-category { margin-bottom: 5px; color: var(--red); font: 800 10px/1.2 Roboto, sans-serif; text-transform: uppercase; }
.guide-card h3 { margin: 0 0 10px; font-size: 14px; font-weight: 900; line-height: 1.18; text-transform: uppercase; }
.guide-card h3 a:hover { color: var(--red); }
.guide-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }

/* Shared inner pages */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 35px; color: #8a8a8a; font-size: 11px; }
.breadcrumbs a { color: #666; }
.breadcrumbs a:hover { color: var(--red); }
.article-main { padding-bottom: 70px; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--reading)) minmax(250px, 1fr); gap: 62px; align-items: start; }
.article-page { min-width: 0; }
.article-header { margin-bottom: 25px; }
.eyebrow { margin-bottom: 12px; color: var(--red); font: 800 11px/1.2 Roboto, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.article-header h1 { max-width: 930px; margin-bottom: 16px; font-size: clamp(35px, 4.6vw, 58px); font-weight: 900; line-height: .98; text-transform: uppercase; }
.byline { color: #777; font-size: 11px; }
.byline a { color: #111; font-weight: 700; }
.featured-image { margin: 0 0 34px; }
.featured-image img { width: 100%; max-height: 580px; object-fit: cover; }

.article-content, .page-content { color: #232323; font-size: 15px; line-height: 1.78; }
.article-content > :first-child { margin-top: 0; }
.article-content h2, .page-content h2 { margin: 2em 0 .75em; font-size: clamp(27px, 3.1vw, 36px); font-weight: 800; text-transform: uppercase; scroll-margin-top: 30px; }
.article-content h3, .page-content h3 { margin: 1.8em 0 .7em; font-size: clamp(22px, 2.5vw, 28px); font-weight: 800; text-transform: uppercase; scroll-margin-top: 30px; }
.article-content h4, .page-content h4 { margin: 1.6em 0 .6em; font-size: 20px; font-weight: 800; text-transform: uppercase; }
.article-content p, .page-content p { margin-bottom: 1.35em; }
.article-content a, .page-content a { color: var(--red-dark); font-weight: 700; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .13em; }
.article-content a:hover, .page-content a:hover { color: var(--red); }
.article-content ul, .article-content ol, .page-content ul, .page-content ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.article-content li, .page-content li { margin-bottom: .45em; }
.article-content figure, .page-content figure { margin: 28px 0; }
.article-content figure img, .page-content figure img { width: 100%; }
.article-content figcaption { margin-top: 8px; color: #777; font-size: 11px; text-align: center; }
.article-content blockquote, .page-content blockquote { margin: 30px 0; padding: 18px 24px; border-left: 5px solid var(--red); background: #f7f7f7; font-size: 17px; }
.article-content hr { margin: 38px 0; border: 0; border-top: 1px solid var(--line); }
.article-content table, .page-content table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.article-content th, .article-content td, .page-content th, .page-content td { padding: 12px 14px; border: 1px solid #d8d8d8; text-align: left; vertical-align: top; }
.article-content th, .page-content th { background: #181818; color: #fff; font-family: Roboto, sans-serif; font-weight: 800; }
.article-content tr:nth-child(even) td { background: #f7f7f7; }
.wp-block-table { overflow-x: auto; }
.wp-block-rank-math-toc-block { margin: 30px 0; padding: 20px 24px; border: 1px solid #ddd; border-top: 5px solid var(--red); background: #fafafa; }
.wp-block-rank-math-toc-block h2 { margin-top: 0; font-size: 22px; }
.wp-block-rank-math-toc-block a { color: #222; font-weight: 500; text-decoration: none; }
.wp-block-rank-math-toc-block a:hover { color: var(--red); }
.rank-math-question { margin-top: 26px; font-family: Roboto, sans-serif; font-size: 18px; font-weight: 800; }
.rank-math-answer { margin-top: 8px; }
.wp-block-columns { display: flex; gap: 24px; align-items: stretch; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.wp-block-button a, .wp-block-button__link { display: inline-block; padding: 13px 22px; background: var(--red); color: #fff !important; font: 800 12px/1.2 Roboto, sans-serif; text-decoration: none !important; text-transform: uppercase; }
.article-content iframe { width: 100%; min-height: 430px; border: 0; }

.article-sidebar { position: sticky; top: 20px; }
.article-sidebar > h2 { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 4px solid #111; font-size: 18px; font-weight: 900; text-transform: uppercase; }
.sidebar-card { margin-bottom: 28px; }
.sidebar-card img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.sidebar-card h3 { margin: 9px 0 12px; font-size: 13px; font-weight: 900; line-height: 1.25; text-transform: uppercase; }
.sidebar-action { display: block; padding: 10px 12px; background: var(--red); color: #fff; font: 800 10px/1 Roboto, sans-serif; text-align: center; text-transform: uppercase; }
.sidebar-action:hover { background: var(--red-dark); color: #fff; }
.related-section { margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-section .section-heading { grid-template-columns: 1fr; }
.related-section .section-heading h2 { font-size: 28px; }

/* Listings and informational pages */
.listing-main, .standard-main, .search-main { min-height: 60vh; padding-bottom: 75px; }
.listing-header { max-width: 820px; margin-bottom: 34px; }
.listing-header h1, .standard-page > header h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 900; text-transform: uppercase; }
.listing-header p { color: #666; font-size: 15px; }
.listing-intro { max-width: 820px; margin-bottom: 35px; }
.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-card { border: 1px solid #e1e1e1; background: #fff; box-shadow: 0 5px 16px rgb(0 0 0 / 6%); }
.catalog-card .card-image { aspect-ratio: 1 / 1; margin: 16px; }
.catalog-card .card-image img { object-fit: contain; }
.catalog-card .card-body { padding: 0 16px 16px; }
.catalog-card h3 { min-height: 3.55em; font-size: 15px; text-transform: none; }
.card-rating { color: #f1a600; letter-spacing: 1px; }
.card-price { margin-top: 8px; font-size: 16px; font-weight: 800; }
.offer-button { display: block; margin-top: 14px; padding: 11px; background: var(--red); color: #fff; font: 800 11px/1 Roboto, sans-serif; text-align: center; text-transform: uppercase; }
.offer-button:hover { background: var(--red-dark); color: #fff; }
.standard-page { max-width: 850px; }
.standard-page > header { margin-bottom: 32px; }

/* Search and 404 */
.search-form { max-width: 800px; margin: 34px 0 22px; }
.search-form label { display: block; margin-bottom: 7px; font-family: Roboto, sans-serif; font-weight: 800; text-transform: uppercase; }
.search-form > div { display: grid; grid-template-columns: 1fr auto; }
.search-form input { min-width: 0; height: 52px; padding: 0 16px; border: 2px solid #111; border-right: 0; border-radius: 0; font-size: 16px; }
.search-form button { padding: 0 30px; border: 0; background: var(--red); color: #fff; font: 800 12px/1 Roboto, sans-serif; text-transform: uppercase; cursor: pointer; }
.search-form button:hover { background: var(--red-dark); }
.search-status { color: #666; }
.search-results { max-width: 850px; }
.search-results article { padding: 24px 0; border-top: 1px solid var(--line); }
.search-results article > div { color: var(--red); font: 800 10px/1 Roboto, sans-serif; text-transform: uppercase; }
.search-results h2 { margin: 7px 0 9px; font-size: 23px; }
.search-results p { color: #666; }
.not-found { min-height: 65vh; padding-block: 90px; text-align: center; }
.error-code { margin: 0; color: var(--red); font: 900 clamp(80px, 15vw, 180px)/.8 Roboto, sans-serif; }
.not-found h1 { margin-top: 20px; font-size: 42px; text-transform: uppercase; }
.not-found-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.not-found-actions a { padding: 14px 20px; background: var(--red); color: #fff; font-weight: 800; text-transform: uppercase; }

/* Footer */
.site-footer { border-top: 1px solid #d8d8d8; background: var(--soft); }
.footer-inner { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; padding: 40px 0 24px; text-align: center; }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo img { width: 210px; height: 140px; object-fit: contain; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-nav a { color: #666; font-size: 10px; }
.footer-nav a:hover { color: var(--red); }
.social-links { display: flex; justify-content: center; gap: 15px; margin: 18px 0; }
.social-links a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--red); font: 800 12px/1 Roboto, sans-serif; }
.footer-rule { height: 1px; margin: 0 auto 18px; background: #d8d8d8; }
.footer-inner > p { margin: 0; color: #666; font-size: 10px; }
.footer-inner > p a { color: var(--red-dark); font-weight: 700; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 10px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 38px; }
}

@media (max-width: 860px) {
  .desktop-nav, .search-link { display: none; }
  .mobile-menu { display: block; }
  .guide-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 35px; border-top: 1px solid var(--line); }
  .article-sidebar > h2 { grid-column: 1 / -1; }
  .section-heading { grid-template-columns: 1fr 270px; }
}

@media (max-width: 620px) {
  body { font-size: 13px; }
  .site-container, .header-inner, .hero-overlay, .footer-inner { width: min(100% - 28px, var(--container)); }
  .site-header, .header-inner { min-height: 62px; }
  .brand { flex-basis: 94px; }
  .brand img { width: 94px; height: 52px; }
  .mobile-menu nav { top: 62px; }
  .home-hero { min-height: 455px; }
  .home-hero > img { position: relative; height: 235px; object-position: 36% center; }
  .home-hero::after { display: none; }
  .hero-overlay { min-height: 220px; display: block; }
  .hero-copy { padding: 24px 0 28px; }
  .hero-copy h1 { margin-bottom: 13px; font-size: 25px; }
  .hero-copy p { margin-bottom: 15px; font-size: 12px; line-height: 1.65; }
  .hero-copy h2 { font-size: 18px; }
  .home-sections { width: 100%; padding: 18px 14px 50px; }
  .home-category { padding-top: 10px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > a { width: 100%; }
  .guide-grid, .catalog-grid { grid-template-columns: 1fr; gap: 32px; }
  .guide-card h3 { font-size: 14px; }
  .guide-card p { font-size: 12px; -webkit-line-clamp: 5; }
  .breadcrumbs { margin: 18px 0 27px; }
  .article-header h1 { font-size: 38px; }
  .article-content, .page-content { font-size: 14px; line-height: 1.72; }
  .article-content h2, .page-content h2 { font-size: 27px; }
  .article-content h3, .page-content h3 { font-size: 22px; }
  .article-content table, .page-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .wp-block-columns { display: block; }
  .article-content iframe { min-height: 240px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .listing-header h1, .standard-page > header h1 { font-size: 42px; }
  .catalog-card .card-image { aspect-ratio: 4 / 3; }
  .not-found-actions { flex-direction: column; }
  .footer-nav { gap: 10px 15px; }
}

@media print {
  .site-header, .site-footer, .article-sidebar, .related-section, .breadcrumbs { display: none !important; }
  .site-container { width: 100%; }
  .article-layout { display: block; }
  .article-content a { color: #000; }
}
