/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 26 2026 | 04:04:59 */
/* AI Tyres Ltd - blog post components
   Load once site-wide. Every rule is scoped to .ait-post so nothing leaks
   into the theme. Change the brand values in the first block if needed. */

.ait-post {
  --ait-ink: #14161a;
  --ait-asphalt: #2a2e35;
  --ait-line: #d9dce1;
  --ait-paper: #f4f5f7;
  --ait-red: #e11d2f;
  --ait-red-dark: #b3121f;
  --ait-amber: #f2a900;
  --ait-wa: #1f8f4e;
  --ait-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --ait-radius: 6px;
  color: var(--ait-ink);
  line-height: 1.65;
  font-size: 1.0625rem;
}
.ait-post *, .ait-post *::before, .ait-post *::after { box-sizing: border-box; }
.ait-post p { margin: 0 0 1.1em; }
.ait-post img { max-width: 100%; height: auto; display: block; }
.ait-post a { color: var(--ait-red-dark); text-underline-offset: 3px; }
.ait-post a:hover { color: var(--ait-red); }
.ait-post a:focus-visible,
.ait-post summary:focus-visible { outline: 3px solid var(--ait-amber); outline-offset: 2px; }

/* Byline */
.ait-post .ait-byline {
  font-family: var(--ait-mono);
  font-size: .78rem;
  letter-spacing: .02em;
  color: #5b616b;
  border-bottom: 1px solid var(--ait-line);
  padding-bottom: .75rem;
  margin-bottom: 1.5rem;
}

/* Short answer - the tread-edged box */
.ait-post .ait-answer {
  position: relative;
  background: var(--ait-paper);
  border-radius: var(--ait-radius);
  padding: 1.25rem 1.4rem 1.25rem 2.4rem;
  margin: 0 0 1.75rem;
  overflow: hidden;
}
.ait-post .ait-answer::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background:
    repeating-linear-gradient(135deg, var(--ait-ink) 0 6px, transparent 6px 12px) left top / 7px 100% no-repeat,
    repeating-linear-gradient(45deg, var(--ait-ink) 0 6px, transparent 6px 12px) right top / 7px 100% no-repeat;
}
.ait-post .ait-answer__label {
  display: block;
  font-family: var(--ait-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ait-red-dark);
  margin-bottom: .35rem;
}
.ait-post .ait-answer p { margin: 0; font-size: 1.12rem; line-height: 1.55; font-weight: 500; }

/* Contents */
.ait-post .ait-toc {
  border: 1px solid var(--ait-line);
  border-radius: var(--ait-radius);
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
}
.ait-post .ait-toc__title {
  font-family: var(--ait-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 .5rem;
  color: #5b616b;
}
.ait-post .ait-toc ul { list-style: none; margin: 0; padding: 0; }
.ait-post .ait-toc li { margin: .3rem 0; padding-left: 1rem; position: relative; }
.ait-post .ait-toc li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 2px; background: var(--ait-red); }
.ait-post .ait-toc a { color: var(--ait-ink); text-decoration: none; }
.ait-post .ait-toc a:hover { color: var(--ait-red-dark); text-decoration: underline; }

/* Headings */
.ait-post h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.2;
  margin: 2.5rem 0 .9rem;
  scroll-margin-top: 100px;
}
.ait-post h2 + p { margin-top: 0; }

/* Key points */
.ait-post .ait-keypoints {
  background: var(--ait-ink);
  color: #fff;
  border-radius: var(--ait-radius);
  padding: 1.25rem 1.4rem;
  margin: 0 0 2rem;
}
.ait-post .ait-keypoints__title {
  font-family: var(--ait-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #ff8a95;
  margin: 0 0 .6rem;
}
.ait-post .ait-keypoints ul { margin: 0; padding: 0; list-style: none; }
.ait-post .ait-keypoints li { padding: .4rem 0 .4rem 1.6rem; position: relative; border-top: 1px solid rgba(255,255,255,.12); }
.ait-post .ait-keypoints li:first-child { border-top: 0; }
.ait-post .ait-keypoints li::before {
  content: "";
  position: absolute; left: 0; top: .95rem;
  width: 10px; height: 10px;
  border: 2px solid var(--ait-red);
  border-radius: 50%;
}

/* Plain lists */
.ait-post .ait-list { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.ait-post .ait-list li { margin: .35rem 0; }

/* Steps - genuine sequences only */
.ait-post .ait-steps { list-style: none; counter-reset: ait-step; margin: 0 0 1.75rem; padding: 0; }
.ait-post .ait-steps li {
  counter-increment: ait-step;
  position: relative;
  padding: .85rem 0 .85rem 3.4rem;
  border-bottom: 1px solid var(--ait-line);
}
.ait-post .ait-steps li:last-child { border-bottom: 0; }
.ait-post .ait-steps li::before {
  content: counter(ait-step, decimal-leading-zero);
  position: absolute; left: 0; top: .8rem;
  font-family: var(--ait-mono);
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  background: var(--ait-red);
  border-radius: 4px;
  padding: .2rem .45rem;
  line-height: 1.3;
}

/* Tables */
.ait-post .ait-table { overflow-x: auto; margin: 0 0 1.75rem; border: 1px solid var(--ait-line); border-radius: var(--ait-radius); }
.ait-post .ait-table table { width: 100%; border-collapse: collapse; min-width: 480px; margin: 0; font-size: .96rem; }
.ait-post .ait-table th {
  background: var(--ait-asphalt);
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: .7rem .9rem;
  border: 0;
}
.ait-post .ait-table td { padding: .65rem .9rem; border: 0; border-top: 1px solid var(--ait-line); vertical-align: top; }
.ait-post .ait-table tbody tr:nth-child(even) td { background: var(--ait-paper); }
.ait-post .ait-table td:first-child { font-family: var(--ait-mono); font-size: .9rem; font-weight: 600; }

/* Callout - thin hazard stripe */
.ait-post .ait-callout {
  position: relative;
  background: #fff8e6;
  border-radius: var(--ait-radius);
  padding: 1.35rem 1.25rem 1rem;
  margin: 0 0 1.75rem;
  overflow: hidden;
}
.ait-post .ait-callout::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--ait-amber) 0 10px, var(--ait-ink) 10px 20px);
}
.ait-post .ait-callout p { margin: 0; }

/* Image placeholders and figures */
.ait-post .ait-figure { margin: 0 0 2rem; }
.ait-post .ait-figure img { border-radius: var(--ait-radius); width: 100%; }
.ait-post .ait-ph {
  aspect-ratio: 3 / 2;
  width: 100%;
  border-radius: var(--ait-radius);
  border: 2px dashed #9aa1ab;
  background: repeating-linear-gradient(45deg, var(--ait-paper) 0 14px, #eceef1 14px 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  text-align: center;
  padding: 1rem;
  font-family: var(--ait-mono);
  font-size: .8rem;
  color: #4a505a;
}
.ait-post .ait-ph strong { font-size: .95rem; color: var(--ait-ink); }
.ait-post .ait-figure figcaption { font-size: .85rem; color: #5b616b; margin-top: .5rem; }

/* Local line */
.ait-post .ait-local {
  border-left: 4px solid var(--ait-red);
  padding: .2rem 0 .2rem 1rem;
  margin: 2rem 0;
  font-weight: 500;
}
.ait-post .ait-local p { margin: 0; }

/* CTA band */
.ait-post .ait-cta {
  background: var(--ait-ink);
  color: #fff;
  border-radius: var(--ait-radius);
  padding: 1.6rem 1.5rem;
  margin: 2rem 0 2.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 720px) { .ait-post .ait-cta { grid-template-columns: 1fr auto; } }
.ait-post .ait-cta__text { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.ait-post .ait-cta__sub { display: block; font-size: .95rem; font-weight: 400; color: #c4c9d0; margin-top: .3rem; }
.ait-post .ait-cta__buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.ait-post .ait-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.ait-post .ait-btn:hover { transform: translateY(-1px); }
.ait-post .ait-btn--call { background: var(--ait-red); color: #fff; }
.ait-post .ait-btn--call:hover { background: var(--ait-red-dark); color: #fff; }
.ait-post .ait-btn--wa { background: var(--ait-wa); color: #fff; }
.ait-post .ait-btn--wa:hover { background: #17733e; color: #fff; }

/* FAQ */
.ait-post .ait-faq { margin: 0 0 2rem; }
.ait-post .ait-faq details { border-bottom: 1px solid var(--ait-line); }
.ait-post .ait-faq details:first-of-type { border-top: 1px solid var(--ait-line); }
.ait-post .ait-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.2rem 1rem 0;
  font-weight: 600;
  position: relative;
}
.ait-post .ait-faq summary::-webkit-details-marker { display: none; }
.ait-post .ait-faq summary::after {
  content: "+";
  position: absolute; right: .3rem; top: .8rem;
  font-family: var(--ait-mono);
  font-size: 1.3rem;
  color: var(--ait-red);
}
.ait-post .ait-faq details[open] summary::after { content: "-"; }
.ait-post .ait-faq details p { margin: 0 0 1rem; }

/* Related links and sources */
.ait-post .ait-related {
  background: var(--ait-paper);
  border-radius: var(--ait-radius);
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.5rem;
}
.ait-post .ait-related h3,
.ait-post .ait-sources h3 {
  font-family: var(--ait-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 .6rem;
  color: #5b616b;
}
.ait-post .ait-related ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.ait-post .ait-related a { font-weight: 600; }
.ait-post .ait-sources { font-size: .88rem; color: #4a505a; margin: 0 0 1rem; }
.ait-post .ait-sources ul { margin: 0; padding-left: 1.1rem; }
.ait-post .ait-sources a { overflow-wrap: anywhere; }
.ait-post .ait-sources p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .ait-post .ait-btn { transition: none; }
  .ait-post .ait-btn:hover { transform: none; }
}
