/* Torque Report — site stylesheet
   Drupal-flavored automotive magazine. Red/charcoal, condensed display type. */

:root {
  --tr-red: #c8102e;
  --tr-red-dark: #9c0b23;
  --tr-charcoal: #1c1d21;
  --tr-charcoal-soft: #2a2b30;
  --tr-ink: #202124;
  --tr-paper: #f6f5f2;
  --tr-paper-dim: #ececea;
  --tr-line: #dcdad5;
  --tr-muted: #6b6d72;
  --tr-focus: #ffb703;
  --tr-max: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--tr-paper);
  color: var(--tr-ink);
  font-family: "Public Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4,
.tr-masthead__title,
.tr-eyebrow,
.tr-nav a,
.tr-btn,
.tr-ticker {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

a { color: var(--tr-red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.tr-wrap {
  max-width: var(--tr-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top utility bar ---------- */
.tr-topbar {
  background: var(--tr-charcoal);
  color: #b7b8bc;
  font-size: 12.5px;
}
.tr-topbar .tr-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.tr-topbar a { color: #e7e7e9; }
.tr-ticker { letter-spacing: 0.04em; font-size: 11.5px; color: #8d8f94; }

/* ---------- Masthead ---------- */
.tr-masthead {
  background: var(--tr-charcoal);
  border-bottom: 5px solid var(--tr-red);
}
.tr-masthead .tr-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.tr-masthead__title {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
}
.tr-masthead__title a { color: #fff; }
.tr-masthead__title span { color: var(--tr-red); }
.tr-masthead__tag {
  color: #9a9ba0;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Public Sans", sans-serif;
  margin: 2px 0 0;
}

.tr-nav {
  background: var(--tr-charcoal-soft);
  border-bottom: 1px solid #3a3b40;
}
.tr-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.tr-nav a {
  display: block;
  padding: 11px 16px;
  color: #d9dadd;
  font-size: 13.5px;
  font-weight: 600;
}
.tr-nav a:hover { background: var(--tr-red); color: #fff; text-decoration: none; }
.tr-nav li.is-active a { color: var(--tr-red); }

/* ---------- Ad containers ---------- */
.ad-container {
  background: #eceae5;
  border: 1px dashed #c6c3bc;
  color: #8c8a84;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Oswald", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-container::before { content: "Advertisement"; }
.ad-leaderboard { max-width: var(--tr-max); margin: 14px auto; height: 90px; }
.ad-incontent { height: 250px; margin: 28px 0; }
.ad-sidebar { height: 600px; margin-bottom: 24px; }

/* ---------- Breadcrumbs ---------- */
.tr-breadcrumbs {
  font-size: 12.5px;
  color: var(--tr-muted);
  margin: 16px 0 6px;
}
.tr-breadcrumbs a { color: var(--tr-muted); }
.tr-breadcrumbs .sep { margin: 0 6px; color: #b9b7b1; }

/* ---------- Layout ---------- */
.tr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  padding: 10px 0 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .tr-layout { grid-template-columns: 1fr; }
}

/* ---------- Article ---------- */
.node--type-article { min-width: 0; }

.tr-eyebrow {
  color: var(--tr-red);
  font-size: 12.5px;
  font-weight: 700;
  margin: 0 0 6px;
}

.node__title,
h1.node__title {
  font-size: 38px;
  line-height: 1.12;
  margin: 0 0 10px;
  color: var(--tr-charcoal);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.tr-dek {
  font-size: 19px;
  color: #45474c;
  font-family: "Public Sans", sans-serif;
  margin: 0 0 16px;
  line-height: 1.5;
}

.tr-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--tr-muted);
  border-top: 1px solid var(--tr-line);
  border-bottom: 1px solid var(--tr-line);
  padding: 10px 0;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tr-byline strong { color: var(--tr-ink); }
.tr-byline .tr-rating-chip {
  margin-left: auto;
  background: var(--tr-charcoal);
  color: #fff;
  font-family: "Oswald", sans-serif;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12.5px;
}

.tr-figure { margin: 0 0 22px; }
.tr-figure img { width: 100%; height: auto; border-radius: 2px; }
.tr-figure figcaption {
  font-size: 12.5px;
  color: var(--tr-muted);
  padding: 7px 2px 0;
}

.field--name-body { font-size: 17.5px; color: #2b2c30; }
.field--name-body h2 {
  font-size: 23px;
  color: var(--tr-charcoal);
  border-left: 5px solid var(--tr-red);
  padding-left: 12px;
  margin: 34px 0 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
.field--name-body p { margin: 0 0 16px; }
.field--name-body ul,
.field--name-body ol { margin: 0 0 18px; padding-left: 22px; }
.field--name-body li { margin-bottom: 7px; }
.field--name-body figure.tr-inline-figure { margin: 24px 0; }

/* Pull quote */
blockquote.tr-pullquote {
  font-family: "Oswald", sans-serif;
  font-size: 25px;
  line-height: 1.3;
  color: var(--tr-charcoal);
  border-top: 3px solid var(--tr-red);
  border-bottom: 3px solid var(--tr-red);
  padding: 18px 4px;
  margin: 30px 0;
  text-transform: none;
  letter-spacing: 0;
  font-style: normal;
}
blockquote.tr-pullquote cite {
  display: block;
  font-family: "Public Sans", sans-serif;
  font-size: 13px;
  color: var(--tr-muted);
  margin-top: 8px;
  font-style: normal;
}

/* Key specs box */
.tr-keyspecs {
  background: var(--tr-charcoal);
  color: #e8e8ea;
  border-radius: 3px;
  padding: 18px 20px;
  margin: 10px 0 26px;
}
.tr-keyspecs h3 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 10px;
  border-bottom: 2px solid var(--tr-red);
  padding-bottom: 8px;
}
.tr-keyspecs dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 0;
  font-family: "Public Sans", sans-serif;
}
.tr-keyspecs dt { color: #9a9ba0; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; }
.tr-keyspecs dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
@media (max-width: 560px) {
  .tr-keyspecs dl { grid-template-columns: 1fr; }
}

/* Spec table */
.spec-table-wrap { overflow-x: auto; margin: 10px 0 26px; }
table.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}
table.spec-table caption {
  text-align: left;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  color: var(--tr-muted);
  padding-bottom: 8px;
}
table.spec-table th,
table.spec-table td {
  border: 1px solid var(--tr-line);
  padding: 10px 12px;
  text-align: left;
}
table.spec-table thead th {
  background: var(--tr-red);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.03em;
}
table.spec-table tbody tr:nth-child(even) { background: #f7f6f3; }
table.spec-table tbody th { background: #efeeea; }

/* Pros / cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 10px 0 26px;
}
.pros-cons .pros,
.pros-cons .cons {
  border-radius: 3px;
  padding: 14px 16px 16px;
}
.pros-cons .pros { background: #ecf5ec; border: 1px solid #c9e2c9; }
.pros-cons .cons { background: #faeceb; border: 1px solid #ecc9c6; }
.pros-cons h4 {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
}
.pros-cons .pros h4 { color: #276b27; }
.pros-cons .cons h4 { color: var(--tr-red-dark); }
.pros-cons ul { margin: 0; padding-left: 18px; font-size: 15px; }
@media (max-width: 560px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* CTA box used inside posts with buying intent */
.tr-cta {
  background: var(--tr-paper-dim);
  border: 1px solid var(--tr-line);
  border-left: 5px solid var(--tr-red);
  padding: 16px 18px;
  margin: 10px 0 26px;
  border-radius: 2px;
}
.tr-cta p { margin: 0 0 10px; }
.tr-cta p:last-child { margin-bottom: 0; }
.tr-btn {
  display: inline-block;
  background: var(--tr-red);
  color: #fff !important;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none !important;
}
.tr-btn:hover { background: var(--tr-red-dark); }

/* Tags / meta footer on articles */
.tr-tags { margin: 10px 0 30px; font-size: 13px; }
.tr-tags a {
  display: inline-block;
  background: var(--tr-paper-dim);
  color: var(--tr-charcoal);
  padding: 4px 10px;
  border-radius: 12px;
  margin: 0 6px 6px 0;
  font-family: "Oswald", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

/* Related posts */
.tr-related {
  border-top: 3px solid var(--tr-charcoal);
  padding-top: 18px;
  margin-top: 10px;
}
.tr-related h2 {
  font-size: 16px;
  margin: 0 0 14px;
}
.tr-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) {
  .tr-related__grid { grid-template-columns: 1fr; }
}
.tr-related__item a { color: var(--tr-charcoal); }
.tr-related__item img { border-radius: 2px; margin-bottom: 8px; aspect-ratio: 16/9; object-fit: cover; }
.tr-related__item h3 {
  font-size: 15px;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}
.tr-related__item .tr-kicker {
  color: var(--tr-red);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ---------- Sidebar ---------- */
.layout-sidebar { min-width: 0; }
.tr-widget {
  background: #fff;
  border: 1px solid var(--tr-line);
  border-radius: 3px;
  padding: 18px;
  margin-bottom: 24px;
}
.tr-widget h3 {
  font-size: 14px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tr-red);
}
.tr-newsletter p { font-size: 13.5px; color: var(--tr-muted); margin: 0 0 12px; }
.tr-newsletter form { display: flex; flex-direction: column; gap: 8px; }
.tr-newsletter input[type="email"] {
  padding: 9px 10px;
  border: 1px solid #c9c7c1;
  border-radius: 2px;
  font-size: 14px;
  font-family: inherit;
}
.tr-newsletter button {
  background: var(--tr-charcoal);
  color: #fff;
  border: 0;
  padding: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-radius: 2px;
  cursor: pointer;
}
.tr-newsletter button:hover { background: var(--tr-red); }
.tr-newsletter .tr-fine { font-size: 11px; color: #9a9893; margin: 8px 0 0; }

.tr-latest { list-style: none; margin: 0; padding: 0; }
.tr-latest li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tr-line);
}
.tr-latest li:last-child { border-bottom: 0; padding-bottom: 0; }
.tr-latest img { width: 72px; height: 54px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.tr-latest a { color: var(--tr-charcoal); font-size: 13.5px; line-height: 1.3; }

/* ---------- Home page ---------- */
.tr-hero {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  margin: 18px 0 30px;
  background: var(--tr-charcoal);
}
.tr-hero img { width: 100%; height: 420px; object-fit: cover; opacity: 0.78; }
.tr-hero__text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 30px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.88) 85%);
  color: #fff;
}
.tr-hero__kicker { color: var(--tr-red); font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.tr-hero__text h2 { font-size: 30px; margin: 0 0 8px; text-transform: none; letter-spacing: 0; max-width: 700px; }
.tr-hero__text a { color: #fff; }
.tr-hero__text p { margin: 0; color: #d6d6d8; max-width: 640px; font-size: 15px; }

.tr-section-title {
  font-size: 17px;
  border-bottom: 3px solid var(--tr-charcoal);
  padding-bottom: 8px;
  margin: 8px 0 18px;
}

.tr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
@media (max-width: 760px) {
  .tr-grid { grid-template-columns: 1fr; }
}
.tr-card { background: #fff; border: 1px solid var(--tr-line); border-radius: 3px; overflow: hidden; }
.tr-card img { aspect-ratio: 16/9; object-fit: cover; }
.tr-card__body { padding: 14px 16px 18px; }
.tr-card .tr-kicker { color: var(--tr-red); font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.tr-card h3 { font-size: 19px; margin: 0 0 8px; text-transform: none; letter-spacing: 0; line-height: 1.3; }
.tr-card h3 a { color: var(--tr-charcoal); }
.tr-card p.tr-excerpt { font-size: 14.5px; color: #4b4c50; margin: 0 0 10px; }
.tr-card .tr-meta { font-size: 12px; color: var(--tr-muted); }

/* ---------- About page ---------- */
.tr-about .field--name-body { font-size: 17px; }
.tr-masthead-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.tr-masthead-block div { background: #fff; border: 1px solid var(--tr-line); padding: 14px 16px; border-radius: 3px; }
.tr-masthead-block h4 { margin: 0 0 4px; font-size: 14px; text-transform: none; letter-spacing: 0; }
.tr-masthead-block p { margin: 0; font-size: 13px; color: var(--tr-muted); }

/* ---------- Footer ---------- */
.tr-footer {
  background: var(--tr-charcoal);
  color: #aaacb0;
  margin-top: 30px;
}
.tr-footer .tr-wrap { padding: 36px 20px 30px; }
.tr-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 760px) {
  .tr-footer__grid { grid-template-columns: 1fr 1fr; }
}
.tr-footer h3 { color: #fff; font-size: 13px; margin: 0 0 10px; }
.tr-footer p { font-size: 13px; line-height: 1.6; color: #93959a; max-width: 320px; }
.tr-footer ul { list-style: none; margin: 0; padding: 0; }
.tr-footer li { margin-bottom: 7px; font-size: 13px; }
.tr-footer a { color: #c7c8cb; }
.tr-footer__bottom {
  border-top: 1px solid #3a3b40;
  padding-top: 16px;
  font-size: 12px;
  color: #74767b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Pubber: a filled ad container drops its placeholder styling */
.pb-filled{background:none !important;border:0 !important;min-height:0 !important;height:auto !important}
.pb-filled::before,.pb-filled::after{content:none !important;display:none !important}
