.acf-layout-do-and-dont {
  /* padding: 80px 0 50px 0; */
  background-color: var(--color-1);
  color: var(--color-7);
}

.acf-layout-do-and-dont .acf-layout-container .container {
  border-left: 1px solid #faf0dc40;
  border-right: 1px solid #faf0dc40;
  padding: 80px 0 50px 0;
}

.dot-container {
  padding: 42px 22px;
  gap: 33px;
}

.dot-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  background-color: var(--color-7);
}

.dd-container .heading {
  font-family: var(--font-clash-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

.do-heading {
  padding: 16px 0 !important;
  padding-left: 33px !important;
  border-top: 1px solid #faf0dc40;
  border-bottom: 1px solid #faf0dc40;
  background-color: var(--color-1);
  position: relative;
  z-index: 3;
}

.border-left-row {
  border-left: 1px solid #faf0dc40;
}

.do-and-dont-row-wrapper {
  border-bottom: 1px solid #faf0dc40;
}

.do-and-dont-row-wrapper:nth-child(odd) {
  border-bottom: none;
}

.dot-container {
    transition: color 0.3s ease;
}

.dot-container .dot-circle,
.dot-container .heading,
.dot-container .description {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.dot-container:hover .dot-circle {
    background-color: var(--item-hover-color);
}

.dot-container:hover .heading,
.dot-container:hover .description {
    color: var(--item-hover-color);
}
.dot-container .dot-circle {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.dot-container:hover .dot-circle {
    transform: scale(0.7);
    background-color: var(--item-hover-color);
}

/* Mobile specific styling */
@media (max-width: 767px) {
  .d-block.d-md-none .container.container-95 {
    position: relative;
    border-left: 1px solid #faf0dc40;
    border-right: 1px solid #faf0dc40;
    padding: 50px 0;
  }

  /* Vertical grid line at 40px offset on mobile */
  .d-block.d-md-none .container.container-95::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 1px;
    background-color: #faf0dc40;
    pointer-events: none;
    z-index: 1;
  }

  .do-and-dont-row-wrapper-mobile {
    border-bottom: 1px solid #faf0dc40;
  }

  .do-and-dont-row-wrapper-mobile:last-child {
    border-bottom: none;
  }

  .do-heading-mobile {
    padding: 8px 0 !important;
    padding-left: 40px !important;
    border-top: 1px solid #faf0dc40;
    border-bottom: 1px solid #faf0dc40;
    background-color: var(--color-1);
    position: relative;
    z-index: 3;
    font-family: var(--font-clash-display);
    font-weight: 400;
    font-size: 24px;
  }

  .dot-container-mobile {
    position: relative;
    padding: 30px 20px 30px 70px;
  }

  /* Center the solid circle on the vertical line */
  .dot-circle-mobile {
    position: absolute;
    left: 55px;
    transform: translateX(-50%);
    top: 18px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--color-7);
    z-index: 2;
  }

  .heading-mobile {
    font-family: var(--font-clash-display);
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .description-mobile {
    margin: 0;
    font-weight: 400;
  }
}
