{% scope_css %}
.toggles__entry {
  border: 2px;
  border-radius: 10px; 
  padding: 20px;
  margin-bottom: 10px; 
  border-color: #fff
}

.toggles__header {
  font: "degular-display";
  display: flex;
  font-weight: 500;
  font-size: clamp(60px, 4vw, 95px); 
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  line-height: inherit;
  letter-spacing: inherit;
}

/* Force 95px on "Desktop" */
@media (min-width: 1460px) {
  .toggles__header {
    font-size: 95px !important;
  }
}
.toggles__header span {
  margin-bottom: 0;
}

.toggles__description {
  height: 0;
  transition: height .4s ease-out;
  overflow: hidden;
}


.toggles__inner {
  padding-bottom: 0px;
  
}

/* Target all immediate children of the inner wrapper that are NOT the new toggles__row */
.toggles__inner > *:not(.toggles__row) {
    padding-right: 80px; /* Adjust this value as needed */
}

/* Specific targeting for the HubSpot rich text wrapper classes */
.toggles__inner .hs-richtext,
.toggles__inner p {
    padding-right: 80px; /* Ensures all paragraph elements get the padding */


}
.toggles__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 32px;

  /* Smooth, natural rotation */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggles__icon:before,
.toggles__icon:after {
  content: '';
  display: block;
  position: absolute;
  background-color: currentColor;
  border-radius: 2px;
}

/* Horizontal bar */
.toggles__icon:before {
  width: 100%;
  height: 3px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Vertical bar */
.toggles__icon:after {
  width: 3px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Rotate icon when active */
.toggles__entry--active .toggles__icon {
  transform: rotate(90deg);
}

.toggles__entry--active .toggles__icon:before {
  opacity: 0;
}

.toggles-color-light .toggles__entry {
  border: 2px solid rgba(255,255,255,0.9);
}
.toggles-color-light * {
  color: #fff
}
.toggles-color-light .toggles__icon:after,
.toggles-color-light .toggles__icon:before {
  background-color: #fff;
}
/* Container for the new layout row */
.toggles__row {
  display: flex;
  justify-content: space-between;
  gap: 0px; /* Space between columns */
  margin-top: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap; /* Allows columns to stack on mobile */
}


.toggles__column {
  /* Default mobile behavior: stack vertically (100% width) */
  flex-basis: 100%; 
  width: 100%;
}

.toggles__richtext-wrapper > * {
    margin-bottom: 15px; /* This is the vertical space you need */
    padding-right: 25px;
}

/* Removes the bottom margin from the very last element in the wrapper (the second rich text field) */
.toggles__richtext-wrapper > *:last-child {
    margin-bottom: 0;
}
/* Change the wrapper in Column 1 to use Flexbox */
.toggles__richtext-wrapper {
  display: flex;
  width: 100%;
}


/* Desktop Styles (70/30 split) */
@media (min-width: 768px) {
  .toggles__column--70 {
    flex-basis: 70%;
    width: 70%;
  }

  .toggles__column--30 {
    flex-basis: 30%;
    width: 30%;
    align-self: flex-end;
    text-align: right;
    
  }
}
/* Basic styling for your new button link container */
.toggles__button-link {
    display: inline-block;
    padding: 0px 10px;
    background-color: transparent; 
    border: 1px solid #fff; /* White border */
    color: white; /* White text color */
    text-decoration: none; 
    text-align: center;
    border-radius: 4px; 
    cursor: pointer;
    
    /* Optional: Adds a smooth transition effect when hovering */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Styling the paragraph tag inside the button link */
.toggles__button-link p {
    font-size: 16px !important; 
    margin: 0; 
    padding: 0;
    color: inherit; /* Ensures the paragraph text remains white initially */
}

/* >>> New Hover Styling <<< */
.toggles__button-link:hover {
    background-color: #fff;   /* Changes background to white on hover */
    color: black;             /* Changes text color to black on hover */
    /* Note: The border color remains white, as we don't change the border property here */
}

/* Ensure the paragraph inside also inherits the black color on hover */
.toggles__button-link:hover p {
    color: inherit; 
}
/* Default icon color (non-light mode) */
.toggles__icon:before,
.toggles__icon:after {
  background-color: currentColor;
}
.toggles__description {
  will-change: height;
}
.toggles__icon {
  pointer-events: none;
}
.toggles__icon:before,
.toggles__icon:after {
  background-color: currentColor;
}


