/* ==========================================================
   Elite Tire Center - SEO additions
   Uses the existing site theme only:
   colors  #262626 (dark), #ff2a00 (red), #d22300 (hover), #fcfcfc / #fff (text), #d7d9e0 (sub text), #3f464d (lines)
   fonts   Oswald (headings), Roboto (body)
   Load this file LAST in <head> so it wins over page styles.
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root {
  --seo-red: #ff2a00;
  --seo-red-hover: #d22300;
  --seo-dark: #262626;
  --seo-text: #fcfcfc;
  --seo-sub: #d7d9e0;
  --seo-line: #3f464d;
}

/* In-text links added for internal linking (site default is invisible links) */
a.seo-link {
  color: var(--seo-red);
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
a.seo-link:hover { color: var(--seo-red-hover); }

/* Keep footer business hours in consistent day and time columns. */
.hour-text {
  width: fit-content;
  max-width: 100%;
  margin: 30px auto 0;
}

.hour-text p {
  display: grid;
  grid-template-columns: 120px max-content;
  column-gap: 12px;
  width: max-content;
  max-width: 100%;
  margin: 8px 0 !important;
}

.hour-text p span {
  white-space: nowrap;
}

/* Footer phone number is now a tap-to-call link */
.address1 a { color: inherit; text-decoration: none; }
.address1 a:hover { color: var(--seo-red); }

/* Banner H1s retyped in normal case keep the original all-caps look */
.oilchange_content h1,
.lift_kits_content h1,
.finance_content h1,
.review_content h1 { text-transform: uppercase; }

/* Center legacy banner headings and let longer titles wrap at every width. */
.abouttitle_content h1,
.auto_repairs_content h1,
.finance_content h1,
.lift_kits_content h1,
.oilchange_content h1,
.review_content h1,
.special_content h1,
.speciality_content h1,
.tire_services_content h1,
.wheels_content h1 {
  left: 0;
  right: 0;
  width: calc(100% - 40px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(28px, 4vw, 55px);
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}

.sr-hero h1,
.st-hero h1 {
  text-align: center;
  text-wrap: balance;
}

.br-hero h1 {
  text-align: left;
}

.wa-hero h1 {
  text-align: left;
  text-wrap: balance;
}

/* 8.1 Answer sentence under the banner H1 */
.seo-answer-wrap { background: var(--seo-dark); padding: 32px 0 6px; }
.seo-answer {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: var(--seo-text);
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

/* 8.2 FAQ section */
.seo-faq { background: var(--seo-dark); padding: 70px 0; }
.seo-faq .container { max-width: 820px; }
.seo-faq-title {
  color: var(--seo-red);
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.seo-faq-item { border-bottom: 1px solid var(--seo-line); padding: 20px 0; }
.seo-faq-item h3 {
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 8px;
}
.seo-faq-item p {
  color: var(--seo-sub);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

/* Extra text sections (leveling kits, tire replacement) */
.seo-section { background: var(--seo-dark); padding: 60px 0 20px; }
.seo-section .container { max-width: 900px; }
.seo-section-title {
  color: var(--seo-red);
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.seo-section p {
  color: var(--seo-text);
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  text-align: center;
  margin: 0 0 14px;
}

/* "Near you" strip (same look as the existing service-area strip) */
.seo-near { background: var(--seo-dark); padding: 40px 0; text-align: center; }
.seo-near .container { max-width: 900px; }
.seo-near-title {
  color: var(--seo-red);
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.seo-near p {
  color: var(--seo-sub);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

/* Phones (about 375 px) */
@media (max-width: 575px) {
  .seo-answer { font-size: 16px; }
  .seo-faq { padding: 50px 0; }
  .seo-faq-title { font-size: 28px; }
  .seo-faq-item h3 { font-size: 18px; }
  .seo-section-title { font-size: 26px; }
  .seo-near-title { font-size: 22px; }
}
