.ova-service-toggle {
  /* --st-row-bg: #f9f8fc; */
  --st-index-color: var(--heading, #333045);
  /* Header + body: col1 row # (10%) | col2 empty (35%) | col3 title / copy (55%) */
  --st-col-index: 5fr;
  --st-col-media: 40fr;
  --st-col-title: 55fr;
  --st-heading-gap: clamp(16px, 4vw, 40px);
}

.ova-service-toggle .item {
  padding: 28px 0;
  border-bottom: 1px solid #d9d9d9;
  cursor: pointer;
  background-color: var(--st-row-bg);
}

.ova-service-toggle .item:hover .toggle .title {
  transition: color 0.3s ease;
  color: var(--primary);
}

.ova-service-toggle .item .toggle {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  column-gap: 0;
  row-gap: 15px;
}

@media (max-width: 1024px) {
  .ova-service-toggle .item .toggle {
    flex-direction: column;
    align-items: flex-start;
  }
  .ova-service-toggle .item .toggle .heading-wrap {
    grid-template-columns: 1fr;
  }
}

/* Header: [ index 10% ] [ empty 35% ] [ title 55% ] — same grid as .service-content */
.ova-service-toggle .item .toggle .heading-wrap {
  display: grid;
  grid-template-columns: var(--st-col-index) var(--st-col-media) var(--st-col-title);
  gap: var(--st-heading-gap);
  width: 100%;
  align-items: start;
}

.ova-service-toggle .item .toggle .heading-wrap .accordion-index {
  font-weight: 700;
  font-size: 31px;
  color: #170939;
  min-width: 0;
  line-height: 1.2;
}

/* Middle track: reserved empty ~35% (image shows only in .service-content col 2) */
.ova-service-toggle .item .toggle .heading-wrap .accordion-media-col {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
  min-height: 1px;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ova-service-toggle .item .toggle .heading-wrap .title {
  min-width: 0;
  transition: color 0.3s ease;
  margin: 0;
  line-height: 1.35;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--heading, #333045);
}

/*
 * Original header layout + plus/minus icon styles (restore when uncommenting
 * the info-wrap / toggle-icon block in service-toggle.php).
 *
.ova-service-toggle .item .toggle .heading-wrap,
.ova-service-toggle .item .toggle .info-wrap {
  display: flex;
  align-items: center;
  column-gap: 35px;
}
.ova-service-toggle .item .toggle .heading-wrap {
  width: 43%;
}
@media (max-width: 1024px) {
  .ova-service-toggle .item .toggle .heading-wrap {
    width: 100%;
  }
}
.ova-service-toggle .item .toggle .info-wrap {
  justify-content: space-between;
  width: 57%;
}
@media (max-width: 1024px) {
  .ova-service-toggle .item .toggle .info-wrap {
    width: 100%;
  }
}
.ova-service-toggle .item .toggle .description {
  margin: 0;
}
.ova-service-toggle .item .toggle .toggle-icon.active i {
  color: var(--primary);
}
.ova-service-toggle .item .toggle .toggle-icon i {
  font-size: 24px;
  color: var(--heading);
}
@media (max-width: 1024px) {
  .ova-service-toggle .item .toggle .toggle-icon i {
    font-size: 20px;
  }
}
*/

/* Optional: hide plus/minus while keeping HTML in PHP commented out
.ova-service-toggle .item .toggle .toggle-icon {
  display: none !important;
}
*/

.ova-service-toggle .item .service-content {
  transition: margin 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
  margin: 0;
  display: grid;
  grid-template-columns: var(--st-col-index) var(--st-col-media) var(--st-col-title);
  gap: var(--st-heading-gap);
  align-items: start;
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .ova-service-toggle .item .service-content {
    grid-template-columns: 1fr;
  }
}

.ova-service-toggle .item .service-content.active {
  margin: 24px 0 0 0;
  height: auto;
  visibility: visible;
  opacity: 1;
  overflow: visible;
}

.ova-service-toggle .item .service-content.active .content {
  opacity: 1;
}

.ova-service-toggle .item .service-content.active .content p {
  margin: 0 0 1em 0;
}

.ova-service-toggle .item .service-content.active .content p:last-child {
  margin-bottom: 0;
}

/* Col1 empty (same width as header index) · Col2 image · Col3 text (under header title) */
.ova-service-toggle .item .service-content .service-content-col--empty {
  grid-column: 1;
  min-width: 0;
  min-height: 0;
}

@media (max-width: 1024px) {
  .ova-service-toggle .item .service-content .service-content-col--empty {
    display: none;
  }
}

.ova-service-toggle .item .service-content .service-content-media {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}

.ova-service-toggle .item .service-content .service-content-media--empty {
  min-height: 0;
  pointer-events: none;
}

.ova-service-toggle .item .service-content .service-content-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin: 0;
}

@media (max-width: 1024px) {
  .ova-service-toggle .item .service-content .service-content-media,
  .ova-service-toggle .item .service-content .service-content-media--empty {
    grid-column: 1;
  }
}

.ova-service-toggle .item .service-content .content {
  grid-column: 3;
  min-width: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

@media (max-width: 1024px) {
  .ova-service-toggle .item .service-content .content {
    grid-column: 1;
    width: 100%;
  }
}

.ova-service-toggle .item .service-content .content .service-toggle-desc {
  margin: 0 0 16px 0;
  color: var(--text, #6c6a72);
  font-size: 16px;
  line-height: 1.6;
}

.ova-service-toggle .item .service-content .content .service-toggle-desc p:last-child {
  margin-bottom: 0;
}

.ova-service-toggle .item .service-content .content .service-toggle-body {
  margin: 0;
}
