/* ==========================================================================
   News article design (Nov 2026): /can-you-replace-just-one-winter-tire-in-edmonton/ and every post
   with `layout: guide` (src/components/GuideArticle.astro, body converted by src/lib/article.ts).
   Everything is scoped to .nbt-wta so the header, footer and other pages are untouched.
   Site type and colours: Anton display headings (home hero), Montserrat text (kit),
   Oswald buttons (kit), Roboto Mono labels (home eyebrow); orange #FF7900, hover #FF9E22.
   Breakpoints follow the Elementor kit: 1024px (tablet) and 767px (phone).
   The kit styles headings, links and paragraphs site-wide, so type rules start with
   ".elementor-kit-6 .nbt-wta" to win over it.
   ========================================================================== */
.nbt-wta {
  --o: #FF7900; --o-hover: #FF9E22; --ink: #171819; --hero: #131415; --paper: #F9F8F5; --stone: #ECEAE5;
  background: var(--paper); color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif; font-size: 17px; line-height: 1.65;
  overflow-x: clip;
}
html:has(.nbt-wta) { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html:has(.nbt-wta) { scroll-behavior: auto; } }
.nbt-wta *, .nbt-wta *::before, .nbt-wta *::after { box-sizing: border-box; }
/* Same side margins as the header: 30px each side up to 1240px, 20px on phones. */
.nbt-wta .nbt-wta__wrap { width: min(1240px, 100% - 60px); margin-inline: auto; }

/* Type */
.elementor-kit-6 .nbt-wta h1, .elementor-kit-6 .nbt-wta h2, .elementor-kit-6 .nbt-wta h3 {
  font-family: "Anton", "Arial Narrow", Arial, sans-serif; font-weight: 400; color: inherit;
}
.elementor-kit-6 .nbt-wta h2 { font-size: clamp(31px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 15px; }
.elementor-kit-6 .nbt-wta h3 { font-size: 26px; line-height: 1.2; margin: 0 0 10px; }
.elementor-kit-6 .nbt-wta p { margin: 0 0 17px; font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
.elementor-kit-6 .nbt-wta a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.elementor-kit-6 .nbt-wta a:hover { color: var(--o); }
.nbt-wta a:focus-visible, .nbt-wta summary:focus-visible { outline: 3px solid #0789C6; outline-offset: 4px; }
.elementor-kit-6 .nbt-wta .nbt-wta__kicker, .elementor-kit-6 .nbt-wta .nbt-wta__by,
.nbt-wta figcaption, .elementor-kit-6 .nbt-wta .nbt-wta__railtitle {
  font-family: "Roboto Mono", "Courier New", monospace; font-weight: 700; font-size: 11px; line-height: 1.5;
  letter-spacing: .11em; text-transform: uppercase;
}

/* Buttons: brand orange with dark text, Oswald like the site's buttons */
.elementor-kit-6 .nbt-wta .nbt-wta__button {
  display: inline-flex; justify-content: center; align-items: center; max-width: 100%; min-height: 47px; padding: 10px 22px;
  background: var(--o); color: #141414; border-radius: 3px; text-decoration: none;
  font-family: "Oswald", sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .03em; line-height: 1.35; text-transform: uppercase;
}
.elementor-kit-6 .nbt-wta .nbt-wta__button:hover { background: var(--o-hover); color: #141414; }

/* Hero: dark panel, warehouse photo on the right fading into it */
.nbt-wta .nbt-wta__hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero); color: #fff; border-bottom: 5px solid var(--o); }
.nbt-wta .nbt-wta__hero > img {
  position: absolute; right: 0; top: 0; z-index: -2; width: 55%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 43%;
}
.nbt-wta .nbt-wta__hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--hero) 0%, var(--hero) 39%, rgba(19, 20, 21, .94) 46%, rgba(19, 20, 21, .08) 72%);
}
.nbt-wta .nbt-wta__intro { max-width: 65%; padding: 56px 0 46px; }
.elementor-kit-6 .nbt-wta .nbt-wta__kicker { color: #FF9236; margin: 0; }
.elementor-kit-6 .nbt-wta h1 {
  font-size: clamp(54px, 6.6vw, 100px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase;
  margin: 12px 0 18px; color: #fff;
}
.nbt-wta h1 span { display: block; }
.nbt-wta h1 em { font-style: normal; color: var(--o); }
.elementor-kit-6 .nbt-wta .nbt-wta__lede { max-width: 510px; margin: 0; color: #E0DFDD; }
.elementor-kit-6 .nbt-wta .nbt-wta__by { color: #BBB; margin: 22px 0 0; }

/* Article column + contents sidebar */
.nbt-wta .nbt-wta__layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(215px, 275px); gap: clamp(40px, 7vw, 108px);
  align-items: start; max-width: 1130px; padding: 50px 0 75px;
}
.nbt-wta .nbt-wta__article { min-width: 0; }
.nbt-wta .nbt-wta__article section { margin: 0 0 38px; }
.elementor-kit-6 .nbt-wta .nbt-wta__answer {
  font-size: clamp(20px, 2vw, 26px); line-height: 1.48; border-left: 4px solid var(--o); padding-left: 20px; margin-bottom: 34px;
}
.nbt-wta figure { margin: 20px 0; }
.nbt-wta figure img { display: block; width: 100%; height: auto; }
.nbt-wta figcaption { margin: 8px 0; color: #555; font-weight: 400; font-style: normal; font-size: 12px; letter-spacing: .025em; text-transform: none; }
.nbt-wta .nbt-wta__depth { display: grid; grid-template-columns: 155px 1fr; gap: 24px; align-items: center; padding: 20px; background: var(--stone); }
.nbt-wta .nbt-wta__depth img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.elementor-kit-6 .nbt-wta .nbt-wta__depth p { margin: 0; }
.nbt-wta .nbt-wta__check { padding-left: 22px; margin: 0 0 17px; }
.nbt-wta .nbt-wta__check li { margin: 7px 0; }
.nbt-wta .nbt-wta__links { border-top: 1px solid #BBB; padding-top: 22px; }
.nbt-wta .nbt-wta__links a { display: block; padding: 7px 0; }

.nbt-wta .nbt-wta__rail { position: sticky; top: 20px; border-top: 4px solid var(--ink); }
.elementor-kit-6 .nbt-wta .nbt-wta__railtitle { font-size: 13px; margin: 17px 0 8px; }
.elementor-kit-6 .nbt-wta .nbt-wta__rail > a { display: block; padding: 9px 0; border-bottom: 1px solid #CCC; font-size: 15px; text-decoration: none; }
.elementor-kit-6 .nbt-wta .nbt-wta__rail > a:hover { text-decoration: underline; }
.nbt-wta .nbt-wta__call { margin-top: 25px; padding: 23px; background: #191A1C; color: #fff; }
.elementor-kit-6 .nbt-wta .nbt-wta__call h3 { font-size: 30px; }
.elementor-kit-6 .nbt-wta .nbt-wta__call p { font-size: 15px; margin: 7px 0 17px; }
.nbt-wta .nbt-wta__mobileindex { display: none; }

/* Tablet: one column, contents become a collapsible list at the top of the article */
@media (max-width: 1024px) {
  .nbt-wta .nbt-wta__layout { display: block; max-width: 710px; padding-top: 28px; }
  .nbt-wta .nbt-wta__rail { display: none; }
  .nbt-wta .nbt-wta__mobileindex { display: block; margin: 0 0 24px; padding: 0 0 12px; border-bottom: 1px solid #BBB; }
  .nbt-wta .nbt-wta__mobileindex summary { cursor: pointer; font-weight: 700; }
  .elementor-kit-6 .nbt-wta .nbt-wta__mobileindex a { display: block; padding: 6px 0; }
  .elementor-kit-6 .nbt-wta h1 { font-size: clamp(52px, 8vw, 70px); }
}
/* Phone: photo behind the whole hero, darker overlay */
@media (max-width: 767px) {
  .nbt-wta .nbt-wta__wrap { width: calc(100% - 40px); }
  .nbt-wta .nbt-wta__hero > img { width: 100%; object-position: center 35%; }
  .nbt-wta .nbt-wta__hero::after { background: linear-gradient(90deg, rgba(12, 13, 14, .94), rgba(12, 13, 14, .70) 63%, rgba(12, 13, 14, .36)); }
  .nbt-wta .nbt-wta__intro { max-width: 100%; padding: 34px 0 28px; }
  .elementor-kit-6 .nbt-wta h1 { font-size: clamp(43px, 10.9vw, 65px); }
  .elementor-kit-6 .nbt-wta .nbt-wta__lede { font-size: 16px; }
  .elementor-kit-6 .nbt-wta .nbt-wta__by { font-size: 10px; }
  .nbt-wta .nbt-wta__depth { grid-template-columns: 86px 1fr; gap: 13px; padding: 14px; }
  .nbt-wta .nbt-wta__depth img { aspect-ratio: 2 / 3; }
  .elementor-kit-6 .nbt-wta .nbt-wta__depth p { font-size: 15px; }
  .nbt-wta .nbt-wta__layout { padding-bottom: 30px; }
}

/* ---------- Posts in the article design (layout: guide) ---------- */
/* Long titles step down in size so they wrap to about three lines like the original article. */
.elementor-kit-6 .nbt-wta h1.nbt-wta__h1--mid { font-size: clamp(46px, 5.2vw, 80px); }
.elementor-kit-6 .nbt-wta h1.nbt-wta__h1--long { font-size: clamp(38px, 4.1vw, 62px); line-height: 1.06; }
.nbt-wta .nbt-wta__hero--plain::after { background: var(--hero); }
.elementor-kit-6 .nbt-wta .nbt-wta__lede a { color: #fff; }
.nbt-wta--guide .nbt-wta__article h2 { margin-top: 44px; }
.nbt-wta--guide .nbt-wta__article > h2:first-child, .nbt-wta--guide .nbt-wta__mobileindex + h2 { margin-top: 0; }
.elementor-kit-6 .nbt-wta--guide .nbt-wta__article h3 { font-size: 24px; margin-top: 26px; }
.elementor-kit-6 .nbt-wta--guide .nbt-wta__article h4 { font: 700 18px/1.4 "Montserrat", sans-serif; margin: 22px 0 8px; color: inherit; }
.nbt-wta--guide .nbt-wta__article ul, .nbt-wta--guide .nbt-wta__article ol { padding-left: 22px; margin: 0 0 17px; }
.nbt-wta--guide .nbt-wta__article li { margin: 6px 0; }
.elementor-kit-6 .nbt-wta--guide .nbt-wta__article li p { margin: 0; }
.nbt-wta--guide .nbt-wta__article blockquote { margin: 20px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--o); }
/* Photos fill the article column (small originals are capped in the HTML so they don't blur). */
.nbt-wta--guide .nbt-wta__article figure { margin: 24px auto; text-align: center; }
.nbt-wta--guide .nbt-wta__article img { display: block; width: 100%; height: auto; margin-inline: auto; }
.nbt-wta--guide .nbt-wta__article p img { margin: 20px auto; }
/* Key takeaways: same orange rule as the original article's answer */
.nbt-wta .nbt-wta__takeaways { margin: 0 0 34px; padding: 18px 22px 6px; background: var(--stone); border-left: 4px solid var(--o); }
.elementor-kit-6 .nbt-wta .nbt-wta__boxlabel {
  margin: 0 0 6px; font-family: "Roboto Mono", "Courier New", monospace; font-weight: 700; font-size: 12px; letter-spacing: .11em; text-transform: uppercase;
}
.nbt-wta .nbt-wta__takeaways ul { padding-left: 20px; }
/* Tables scroll sideways on narrow screens */
.nbt-wta .nbt-wta__table { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.nbt-wta .nbt-wta__table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; background: #fff; }
.nbt-wta .nbt-wta__table th, .nbt-wta .nbt-wta__table td { padding: 10px 12px; border: 1px solid #D8D5CE; text-align: left; vertical-align: top; }
.nbt-wta .nbt-wta__table tr:first-child td, .nbt-wta .nbt-wta__table th { background: #191A1C; color: #fff; font-weight: 700; }
.nbt-wta .nbt-wta__video { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; }
.nbt-wta .nbt-wta__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* FAQs: tap a question to open its answer */
.nbt-wta .nbt-wta__faq { border-top: 1px solid #C9C5BC; margin: 0 0 17px; }
.nbt-wta .nbt-wta__faq-item { border-bottom: 1px solid #C9C5BC; }
.nbt-wta .nbt-wta__faq-item summary {
  position: relative; display: block; list-style: none; cursor: pointer; padding: 16px 40px 16px 0;
  font: 600 17px/1.45 "Montserrat", sans-serif;
}
.nbt-wta .nbt-wta__faq-item summary::-webkit-details-marker { display: none; }
.nbt-wta .nbt-wta__faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 28px/1 "Anton", sans-serif; color: var(--o);
}
.nbt-wta .nbt-wta__faq-item[open] summary::after { content: "–"; }
.nbt-wta .nbt-wta__faq-item summary:hover { color: var(--o); }
.nbt-wta .nbt-wta__faq-a { padding: 0 0 6px; }
/* Sidebar shop box: two buttons */
.nbt-wta .nbt-wta__call .nbt-wta__button + .nbt-wta__button { margin-top: 10px; }
.elementor-kit-6 .nbt-wta .nbt-wta__call .nbt-wta__button--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px var(--o); }
.elementor-kit-6 .nbt-wta .nbt-wta__call .nbt-wta__button--ghost:hover { background: var(--o); color: #141414; }
.nbt-wta--guide .nbt-wta__links { margin-top: 44px; }
.nbt-wta .nbt-wta__rail--notoc { border-top: 0; }
.nbt-wta .nbt-wta__rail--notoc .nbt-wta__call { margin-top: 0; }
@media (max-width: 767px) {
  .elementor-kit-6 .nbt-wta h1.nbt-wta__h1--mid { font-size: clamp(36px, 9.4vw, 54px); }
  .elementor-kit-6 .nbt-wta h1.nbt-wta__h1--long { font-size: clamp(31px, 7.8vw, 44px); }
  .elementor-kit-6 .nbt-wta--guide .nbt-wta__article h3 { font-size: 22px; }
}
