/* ===========================================
   AAutomotives Article Style Pro
   Version: 4.0.0
   Site: https://aautomotives.com/
   Scoped to .aauto-blog-wrap only
   Does NOT affect any other page or post
=========================================== */

/* ── BASE WRAPPER ── */
.aauto-blog-wrap {
  margin: 0 auto;
  padding: 0 16px;
  line-height: 1.75;
  color: #1e1e1e;
  box-sizing: border-box;
}

.aauto-blog-wrap *,
.aauto-blog-wrap *::before,
.aauto-blog-wrap *::after {
  box-sizing: border-box;
}

/* ── TYPOGRAPHY ── */
.aauto-blog-wrap p  { margin: 0 0 1.2em; }

.aauto-blog-wrap h2 {
  font-size: 1.55em;
  font-weight: 700;
  margin: 2em 0 0.6em;
  color: #111;
  line-height: 1.3;
}

.aauto-blog-wrap h3 {
  font-size: 1.2em;
  font-weight: 700;
  margin: 1.6em 0 0.5em;
  color: #1a1a1a;
  line-height: 1.35;
}

.aauto-blog-wrap ul,
.aauto-blog-wrap ol {
  margin: 0 0 1.2em 0;
  padding-left: 1.5em;
}

.aauto-blog-wrap li   { margin-bottom: 0.5em; }
.aauto-blog-wrap strong { font-weight: 700; color: #111; }

.aauto-blog-wrap a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.aauto-blog-wrap a:hover { opacity: .8; }

.aauto-blog-wrap section { margin-bottom: 0.4em; }


/* ================================================
   EXISTING BOXES
================================================ */

/* ── Quick Answer Box ── */
.aauto-quick-answer {
  background: #eef5ff;
  border-left: 5px solid #0057b8;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 0 0 1.8em;
}
.aauto-qa-label {
  font-weight: 700;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.aauto-quick-answer p { margin: 0; }

/* ── Tip Box ── */
.aauto-tip-box {
  background: #f0fdf4;
  border-left: 5px solid #22a84a;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 1.6em 0;
}
.aauto-tip-label {
  display: block;
  font-weight: 700;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.aauto-tip-box p { margin: 0; }

/* ── Note Box ── */
.aauto-note-box {
  background: #fffbea;
  border-left: 5px solid #e0a000;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 1.6em 0;
}
.aauto-note-label {
  display: block;
  font-weight: 700;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.aauto-note-box p { margin: 0; }

/* ── Warning Box ── */
.aauto-warning-box {
  background: #fff4f4;
  border-left: 5px solid #d63030;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 1.6em 0;
}
.aauto-warn-label {
  display: block;
  font-weight: 700;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.aauto-warning-box p { margin: 0; }

/* ── Takeaway Box ── */
.aauto-takeaway-box {
  background: #f4f0ff;
  border-left: 5px solid #6a3fd4;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 2em 0 1.6em;
}
.aauto-takeaway-label {
  display: block;
  font-weight: 700;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.aauto-takeaway-box p { margin: 0; }


/* ================================================
   NEW COMPONENTS v4.0.0
================================================ */

/* ── Stat / Number Strip ── */
.aauto-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.6em 0;
}
.aauto-stat-item {
  flex: 1;
  min-width: 130px;
  background: #f7f9fc;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  padding: 16px 14px;
  text-align: center;
}
.aauto-stat-number {
  font-size: 1.9em;
  font-weight: 800;
  color: #0057b8;
  line-height: 1.1;
  display: block;
}
.aauto-stat-desc {
  font-size: 0.8em;
  color: #555;
  margin-top: 4px;
  display: block;
}

/* ── Pro Tips List ── */
.aauto-pro-tips {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}
.aauto-pro-tips-title {
  font-weight: 700;
  font-size: 0.95em;
  color: #166534;
  margin-bottom: 12px;
  display: block;
}
.aauto-pro-tips ul {
  margin: 0;
  padding-left: 1.4em;
}
.aauto-pro-tips li {
  margin-bottom: 8px;
  font-size: 0.95em;
  color: #1e1e1e;
}

/* ── Comparison Box (Yes vs No / Good vs Bad) ── */
.aauto-compare {
  display: flex;
  gap: 14px;
  margin: 1.6em 0;
  flex-wrap: wrap;
}
.aauto-compare-col {
  flex: 1;
  min-width: 200px;
  border-radius: 8px;
  padding: 16px 18px;
}
.aauto-compare-col.good {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.aauto-compare-col.bad {
  background: #fff4f4;
  border: 1px solid #fecaca;
}
.aauto-compare-title {
  font-weight: 700;
  font-size: 0.88em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}
.aauto-compare-col.good .aauto-compare-title { color: #166534; }
.aauto-compare-col.bad  .aauto-compare-title { color: #991b1b; }
.aauto-compare-col ul {
  margin: 0;
  padding-left: 1.2em;
}
.aauto-compare-col li {
  font-size: 0.92em;
  margin-bottom: 6px;
  color: #1e1e1e;
}

/* ── Checklist ── */
.aauto-checklist {
  background: #f8f9fc;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 1.6em 0;
}
.aauto-checklist-title {
  font-weight: 700;
  font-size: 0.95em;
  color: #111;
  margin-bottom: 12px;
  display: block;
}
.aauto-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aauto-checklist li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.95em;
  border-bottom: 1px solid #eee;
  color: #1e1e1e;
  margin: 0;
}
.aauto-checklist li:last-child { border-bottom: none; }
.aauto-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: #22a84a;
  font-weight: 700;
  font-size: 1em;
}

/* ── Step-by-Step ── */
.aauto-steps {
  margin: 1.6em 0;
  counter-reset: aauto-step;
}
.aauto-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.aauto-step:last-child { border-bottom: none; }
.aauto-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #0057b8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.aauto-step-body { flex: 1; }
.aauto-step-body strong {
  font-size: 1em;
  color: #111;
  display: block;
  margin-bottom: 4px;
}
.aauto-step-body p {
  font-size: 0.95em;
  color: #444;
  margin: 0;
}

/* ── Did You Know Box ── */
.aauto-did-you-know {
  background: #fffbea;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 1.6em 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.aauto-dyk-icon {
  font-size: 1.6em;
  flex-shrink: 0;
  line-height: 1;
}
.aauto-dyk-body { flex: 1; }
.aauto-dyk-label {
  font-weight: 700;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #92400e;
  display: block;
  margin-bottom: 6px;
}
.aauto-dyk-body p { margin: 0; font-size: 0.95em; color: #1e1e1e; }

/* ── Cost Estimate Box ── */
.aauto-cost-box {
  background: #f7f9fc;
  border: 1px solid #dde3ec;
  border-left: 5px solid #0057b8;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 1.6em 0;
}
.aauto-cost-label {
  font-weight: 700;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #0057b8;
  display: block;
  margin-bottom: 10px;
}
.aauto-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #e8ecf2;
  font-size: 0.93em;
}
.aauto-cost-row:last-child { border-bottom: none; }
.aauto-cost-row span:last-child { font-weight: 700; color: #111; }

/* ── FAQ Section ── */
.aauto-faq { margin: 1.6em 0; }
.aauto-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.aauto-faq-q {
  background: #f7f9fc;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.97em;
  color: #111;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.aauto-faq-q::after {
  content: '+';
  font-size: 1.3em;
  color: #0057b8;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .25s;
}
.aauto-faq-item.open .aauto-faq-q::after {
  transform: rotate(45deg);
}
.aauto-faq-a {
  display: none;
  padding: 14px 18px;
  font-size: 0.95em;
  color: #333;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.aauto-faq-a p { margin: 0; }
.aauto-faq-item.open .aauto-faq-a { display: block; }

/* ── Tools / Materials Needed ── */
.aauto-tools-box {
  background: #f7f9fc;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 1.6em 0;
}
.aauto-tools-title {
  font-weight: 700;
  font-size: 0.95em;
  color: #111;
  margin-bottom: 12px;
  display: block;
}
.aauto-tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.aauto-tool-tag {
  background: #fff;
  border: 1px solid #c7d2e0;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.85em;
  color: #2a2a2a;
  white-space: nowrap;
}

/* ── Highlight / Key Point Box ── */
.aauto-highlight {
  background: linear-gradient(135deg, #eef5ff 0%, #f4f0ff 100%);
  border: 1px solid #c7d8f5;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 1.6em 0;
  text-align: center;
}
.aauto-highlight-text {
  font-size: 1.15em;
  font-weight: 700;
  color: #0057b8;
  line-height: 1.4;
  display: block;
}
.aauto-highlight-sub {
  font-size: 0.85em;
  color: #555;
  margin-top: 6px;
  display: block;
}

/* ── Mechanic Alert ── */
.aauto-mechanic-box {
  background: #fff4f4;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 1.6em 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.aauto-mechanic-icon { font-size: 1.8em; flex-shrink: 0; line-height: 1; }
.aauto-mechanic-body { flex: 1; }
.aauto-mechanic-label {
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #991b1b;
  display: block;
  margin-bottom: 6px;
}
.aauto-mechanic-body p { margin: 0; font-size: 0.95em; color: #1e1e1e; }

/* ── Summary / Recap Box ── */
.aauto-summary-box {
  background: #f4f0ff;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}
.aauto-summary-label {
  font-weight: 700;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #5230b0;
  display: block;
  margin-bottom: 10px;
}
.aauto-summary-box ul {
  margin: 0;
  padding-left: 1.3em;
}
.aauto-summary-box li {
  font-size: 0.95em;
  margin-bottom: 6px;
  color: #1e1e1e;
}

/* ── Dos and Don'ts ── */
.aauto-dos-donts {
  display: flex;
  gap: 14px;
  margin: 1.6em 0;
  flex-wrap: wrap;
}
.aauto-dos, .aauto-donts {
  flex: 1;
  min-width: 200px;
  border-radius: 8px;
  padding: 16px 18px;
}
.aauto-dos {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.aauto-donts {
  background: #fff4f4;
  border: 1px solid #fecaca;
}
.aauto-dos-title, .aauto-donts-title {
  font-weight: 700;
  font-size: 0.88em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}
.aauto-dos-title   { color: #166534; }
.aauto-donts-title { color: #991b1b; }
.aauto-dos ul, .aauto-donts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aauto-dos li, .aauto-donts li {
  padding: 5px 0 5px 22px;
  position: relative;
  font-size: 0.92em;
  color: #1e1e1e;
  margin: 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.aauto-dos li:last-child,
.aauto-donts li:last-child { border-bottom: none; }
.aauto-dos li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22a84a;
  font-weight: 700;
}
.aauto-donts li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #d63030;
  font-weight: 700;
}

/* ── Image Placeholder ── */
.aauto-img-placeholder {
  background: #f0f4f8;
  border: 2px dashed #c7d2e0;
  border-radius: 8px;
  padding: 28px 20px;
  margin: 1.6em 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.88em;
}
.aauto-img-placeholder span {
  display: block;
  font-size: 1.8em;
  margin-bottom: 6px;
}


/* ================================================
   TABLES
================================================ */
.aauto-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.4em 0 1.8em;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
}
.aauto-blog-wrap table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.93em;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
}
.aauto-blog-wrap thead { color: #fff; }
.aauto-blog-wrap th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}
.aauto-blog-wrap td {
  padding: 11px 14px;
  border-top: 1px solid #e4e9f0;
  vertical-align: top;
  color: #2a2a2a;
}
.aauto-blog-wrap tbody tr:nth-child(even) td { background: #f7f9fc; }
.aauto-blog-wrap tbody tr:hover td { background: #eef5ff; }


/* ================================================
   MOBILE
================================================ */
@media (max-width: 600px) {
  .aauto-blog-wrap      { padding: 0 12px; }
  .aauto-blog-wrap h2   { font-size: 1.3em; }
  .aauto-blog-wrap h3   { font-size: 1.1em; }

  .aauto-quick-answer,
  .aauto-tip-box,
  .aauto-note-box,
  .aauto-warning-box,
  .aauto-takeaway-box,
  .aauto-pro-tips,
  .aauto-checklist,
  .aauto-tools-box,
  .aauto-cost-box,
  .aauto-summary-box    { padding: 14px 15px; }

  .aauto-compare,
  .aauto-dos-donts      { flex-direction: column; }

  .aauto-stat-strip     { gap: 8px; }
  .aauto-stat-item      { min-width: 100px; }
  .aauto-stat-number    { font-size: 1.5em; }

  .aauto-did-you-know,
  .aauto-mechanic-box   { flex-direction: column; gap: 8px; }

  .aauto-highlight-text { font-size: 1em; }
}
