/* AboutDealership Widget — structured about page */
/* Mobile-first. Breakpoints: 769px (tablet), 1025px (desktop) */

/* ── Containment — prevent blowout under allowFullWidth ── */
.ad-vision,
.ad-values,
.ad-highlight {
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}

/* ── Vision Hero ── */
.ad-vision {
  background: linear-gradient(160deg, #eff6ff 0%, #eef2ff 100%);
  padding: 48px 16px;
}

.ad-vision-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ad-vision-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ad-vision-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #101828;
  letter-spacing: 0.02em;
  margin: 0;
}

.ad-vision-body {
  font-size: 18px;
  line-height: 1.6;
  color: #364153;
  margin: 0;
  max-width: 520px;
}

.ad-vision-img-wrap {
  display: flex;
  justify-content: center;
}

.ad-vision-img {
  width: 100%;
  max-width: 448px;
  border-radius: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

/* ── Quote ── */
.ad-quote {
  padding: 48px 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.ad-quote-block {
  margin: 0;
  padding: 0;
  border: none;
  text-align: center;
}

.ad-quote-text {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
  color: #101828;
  margin: 0 0 8px;
}

.ad-quote-attr {
  font-size: 18px;
  font-weight: 700;
  color: #101828;
  margin: 0;
}

/* ── Values Section ── */
.ad-values {
  padding: 48px 16px;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ad-values-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ad-values-heading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #101828;
  letter-spacing: 0.01em;
  margin: 0;
}

.ad-values-accent {
  width: 96px;
  height: 4px;
  background: var(--accent, #155dfc);
  border-radius: 2px;
}

/* ── Cards Grid ── */
.ad-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ad-card {
  background: #fff;
  border: 2px solid #f3f4f6;
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ad-card-icon {
  font-size: 48px;
  line-height: 1;
}

.ad-card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #101828;
  margin: 0;
}

.ad-card-text {
  font-size: 16px;
  line-height: 1.625;
  color: #4a5565;
  margin: 0;
}

/* ── Highlight Banner ── */
.ad-highlight {
  padding: 0 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.ad-highlight-inner {
  background: linear-gradient(to right, #155dfc, #4f39f6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ad-highlight-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.ad-highlight-text {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  opacity: 0.9;
  margin: 0;
  max-width: 768px;
}

/* ── Quote CTA (image + interview link) ── */
.ad-quote-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* ── Quote Image (thumbnail → lightbox) ── */
.ad-quote-img {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  cursor: zoom-in;
}

/* ── Interview Link ── */
.ad-quote-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent, #155dfc);
  text-decoration: none;
  transition: opacity 0.2s;
}

.ad-quote-link:hover {
  opacity: 0.75;
}

/* ── Highlight Banner — Alt Color (For Our Customers) ── */
.ad-highlight--alt {
  margin-top: 16px;
}

.ad-highlight--alt .ad-highlight-inner {
  background: linear-gradient(to right, #0f172a, #1e293b);
}

.ad-highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ad-highlight-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  opacity: 0.9;
  padding-left: 20px;
  position: relative;
}

.ad-highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.7;
}

/* ── Lightbox ── */
.ad-quote-img {
  cursor: zoom-in;
}

.ad-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.ad-lightbox--open {
  display: flex;
}

.ad-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

/* ── Tablet (769px+) ── */
@media (min-width: 769px) {
  .ad-vision {
    padding: 64px 32px;
  }

  .ad-vision-inner {
    flex-direction: row;
    align-items: center;
  }

  .ad-vision-text {
    flex: 1;
    gap: 24px;
  }

  .ad-vision-heading {
    font-size: 40px;
  }

  .ad-vision-img-wrap {
    flex: 1;
    justify-content: center;
  }

  .ad-values {
    padding: 64px 32px;
    gap: 64px;
  }

  .ad-values-heading {
    font-size: 32px;
  }

  .ad-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .ad-highlight {
    padding: 0 32px;
  }

  .ad-highlight-inner {
    padding: 49px;
  }

  .ad-highlight-heading {
    font-size: 30px;
  }

  .ad-highlight-text {
    font-size: 18px;
    line-height: 1.55;
  }

  .ad-quote-cta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .ad-highlight-list li {
    font-size: 18px;
  }
}

/* ── Desktop (1025px+) ── */
@media (min-width: 1025px) {
  .ad-vision {
    padding: 80px 32px;
  }

  .ad-vision-heading {
    font-size: 48px;
  }

  .ad-vision-body {
    font-size: 20px;
  }

  .ad-values-heading {
    font-size: 36px;
  }
}
