.acp-section {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    border-left: 4px solid #333;
    padding-left: 20px;
    align-items: flex-start;
}
.acp-answer {
    flex: 0 0 25%;
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 4px;
}
.acp-answer strong {
    display: block;
    font-size: 0.8em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 5px;
}
.acp-marker {
    background-color: #1d4ed8;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none;
    margin-right: 4px;
}
.acp-body { flex: 1; }
@media (max-width: 768px) {
    .acp-section { flex-direction: column; }
    .acp-answer { flex-basis: auto; margin-bottom: 12px; }
}
/* ==========================================================
   ERIC STRATE HOMEPAGE — WACP 3.0
   LEFT CITATION RAIL
   ========================================================== */


/* ----------------------------------------------------------
   MASTER CONTAINER
   ---------------------------------------------------------- */

.es-home-wacp {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}


/* ----------------------------------------------------------
   STANDARD WACP ROW
   Left citation rail + right content
   ---------------------------------------------------------- */

.es-wacp-row,
.es-standard-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  column-gap: 46px;
  align-items: start;

  padding: 54px 0;

  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.es-wacp-row:first-child {
  border-top: 0;
}


/* ----------------------------------------------------------
   HERO
   Citation + copy + portrait
   ---------------------------------------------------------- */

.es-wacp-hero {
  grid-template-columns: 250px minmax(0, 1fr) 270px;
  column-gap: 46px;
  padding-top: 34px;
  padding-bottom: 64px;
}


/* ----------------------------------------------------------
   CITATION RAIL
   ---------------------------------------------------------- */

.es-answer-rail {
  width: 100%;
}

.es-answer-card {
  width: 100%;
  box-sizing: border-box;

  padding: 17px 18px;

  background: #f6f8fb;
  border: 1px solid #d9dfe7;
  border-radius: 10px;
}

.es-answer-label {
  display: block;
  margin-bottom: 8px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;

  letter-spacing: 0.04em;
  text-transform: uppercase;

  color: #566273;
}


/* ----------------------------------------------------------
   REMOVE DEFAULT DETAILS STYLING
   ---------------------------------------------------------- */

.es-home-wacp details.wacp-citation {
  position: relative;

  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.es-home-wacp .wacp-citation > summary {
  display: inline-flex;
  align-items: center;

  width: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none;
  cursor: pointer;
}

.es-home-wacp .wacp-citation > summary::-webkit-details-marker {
  display: none;
}

.es-home-wacp .wacp-citation > summary::marker {
  content: "";
}


/* ----------------------------------------------------------
   BLUE [a#] CITATION BADGE
   Matches dealership-page visual treatment
   ---------------------------------------------------------- */

.es-home-wacp .wacp-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  padding: 3px 6px !important;

  border: 0 !important;
  border-radius: 3px;

  background: #1f63ad;
  color: #ffffff !important;

  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.15;

  text-decoration: none !important;
  white-space: nowrap;
}


/* ----------------------------------------------------------
   ANSWER POPOVER
   ---------------------------------------------------------- */

.es-home-wacp .wacp-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;

  z-index: 9999;

  width: 420px;
  max-width: calc(100vw - 40px);

  box-sizing: border-box;
  padding: 18px;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.07);
}

.es-home-wacp .wacp-popover-label {
  margin-bottom: 9px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.es-home-wacp .wacp-popover p {
  margin: 0 0 12px;

  font-size: 15px !important;
  line-height: 1.55 !important;
}

.es-home-wacp .wacp-answer-link {
  font-size: 13px;
  font-weight: 600;
}


/* ----------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------- */

.es-home-wacp .es-wacp-content h1 {
  margin: 0 0 28px !important;

  font-size: 30px !important;
  line-height: 1.10 !important;
  letter-spacing: -0.02em;
}

.es-home-wacp .es-wacp-content h2 {
  margin: 0 0 22px !important;

  font-size: 26px !important;
  line-height: 1.18 !important;
  letter-spacing: -0.015em;
}

.es-home-wacp .es-wacp-content h3 {
  margin: 35px 0 10px !important;

  font-size: 22px !important;
  line-height: 1.3 !important;
}

.es-home-wacp .es-wacp-content p {
  margin: 0 0 22px;

  font-size: 17px;
  line-height: 1.72;
}

.es-home-wacp .es-wacp-content p:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   PORTRAIT
   ---------------------------------------------------------- */

.es-portrait {
  text-align: center;
}

.es-portrait img {
  display: block;

  width: 100%;
  max-width: 270px;
  height: auto;

  margin: 0 auto;

  border: 0;
  border-radius: 0;
}

.es-profile-link {
  margin: 14px 0 0 !important;

  font-size: 14px !important;
  text-align: center;
}

.es-profile-link a {
  font-weight: 600;
}


/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */

.es-cta {
  padding: 34px 38px;

  background: #f6f8fb;
  border-left: 4px solid #1f63ad;
  border-radius: 0 8px 8px 0;
}

.es-cta h2 {
  margin-top: 0 !important;
}


/* ----------------------------------------------------------
   DISCLOSURE
   ---------------------------------------------------------- */

.es-disclosure {
  padding-top: 4px;
}

.es-disclosure h2 {
  margin: 0 0 12px;

  font-size: 21px;
  line-height: 1.3;
}

.es-disclosure p {
  margin: 0;

  font-size: 14px;
  line-height: 1.65;
}


/* ----------------------------------------------------------
   CODE
   ---------------------------------------------------------- */

.es-home-wacp code {
  padding: 2px 5px;
  border-radius: 4px;

  font-size: 0.92em;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1050px) {

  .es-wacp-row,
  .es-standard-row {
    grid-template-columns: 210px minmax(0, 1fr);
    column-gap: 32px;
  }

  .es-wacp-hero {
    grid-template-columns: 210px minmax(0, 1fr) 220px;
    column-gap: 30px;
  }

  .es-home-wacp .es-wacp-content h1 {
    font-size: 40px !important;
  }

  .es-portrait img {
    max-width: 220px;
  }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

  .es-wacp-row,
  .es-standard-row,
  .es-wacp-hero {
    display: grid;
    grid-template-columns: 1fr;

    row-gap: 24px;

    padding: 38px 0;
  }

  .es-answer-rail {
    max-width: 100%;
  }

  .es-answer-card {
    padding: 14px 16px;
  }

  .es-home-wacp .es-wacp-content h1 {
    font-size: 34px !important;
    line-height: 1.12 !important;
  }

  .es-home-wacp .es-wacp-content h2 {
    font-size: 28px !important;
  }

  .es-home-wacp .es-wacp-content h3 {
    font-size: 21px !important;
  }

  .es-home-wacp .es-wacp-content p {
    font-size: 16px;
    line-height: 1.7;
  }

  .es-portrait {
    margin-top: 10px;
  }

  .es-portrait img {
    max-width: 260px;
  }

  .es-cta {
    padding: 26px 24px;
  }

  .es-standard-spacer {
    display: none;
  }

  /* Mobile WACP citation popover */
.es-home-wacp .wacp-popover {
  position: absolute;

  top: calc(100% + 10px);
  left: 0;
  right: auto;

  width: min(420px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);

  z-index: 99999;
}
}

/* WACP citation marker hardening — keep [a#] intact on mobile. */
summary.wacp-marker,
summary.contact-marker,
[data-wacp="answer"] > details > summary {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  width: max-content;
}
