/**
 * EV page — red / black split panel.
 * v1.0.1
 */

/* Neutralise WPBakery wrappers so the split goes edge-to-edge */
.l-section.ae-ev-split-row,
.ae-ev-split-row > .l-section-h,
.ae-ev-split-row .g-cols,
.ae-ev-split-row .vc_column_container,
.ae-ev-split-row .vc_column-inner,
.ae-ev-split-row .wpb_wrapper,
.ae-ev-split-row .wpb_text_column,
.ae-ev-split-row .wpb_text_column > .wpb_wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.ae-ev-split-row > .l-section-h {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.ae-ev-split {
  --ae-ev-red: #cc2229;
  --ae-ev-black: #161616;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0;
}

.ae-ev-split__col {
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.35rem, 3.5vw, 3rem);
  color: #fff;
}

.ae-ev-split__col--red {
  background: var(--ae-ev-red);
}

.ae-ev-split__col--black {
  background: var(--ae-ev-black);
}

.ae-ev-split__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ae-ev-split__title {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.ae-ev-split__lede {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.55;
}

.ae-ev-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ae-ev-split__item {
  margin: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.ae-ev-split__item summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  list-style: none;
  padding: 0.8rem 0.95rem;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #fff;
}

.ae-ev-split__item summary::-webkit-details-marker {
  display: none;
}

.ae-ev-split__item summary::before {
  content: "";
  flex: 0 0 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.9;
  transition: transform 0.18s ease;
}

.ae-ev-split__item[open] summary::before {
  transform: rotate(90deg);
}

.ae-ev-split__item p {
  margin: 0;
  padding: 0 0.95rem 0.9rem 2.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ae-ev-split__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ae-ev-split__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.45;
}

.ae-ev-split__points li::before {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4em;
  background: var(--ae-ev-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 900px) {
  .ae-ev-split {
    grid-template-columns: 1fr;
  }
}
