/*-- -------------------------- -->
<---       Book Consultation    -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #book-consultation-6042 {
    padding: var(--sectionPadding);
    background-color: #344d3f;
  }
  #book-consultation-6042 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2.5rem, 6vw, 4rem);
  }
  #book-consultation-6042 .cs-content {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  /* Accent line + eyebrow use the light peach so they read against the
     dark green background -- terracotta (used on the white sections)
     doesn't have enough contrast here. */
  #book-consultation-6042 .cs-topper {
    margin: 0 0 1rem;
    padding-top: 1rem;
    color: var(--secondary);
    position: relative;
  }
  #book-consultation-6042 .cs-topper:before {
    content: "";
    width: 3rem;
    height: 2px;
    background-color: var(--secondary);
    position: absolute;
    left: 0;
    top: 0;
  }
  #book-consultation-6042 .cs-title {
    font-weight: 400;
    margin: 0 0 1.25rem;
    color: #fff;
  }
  #book-consultation-6042 .cs-title span {
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 0 0.2rem;
    white-space: nowrap;
  }
  #book-consultation-6042 .cs-title span:before {
    content: "";
    position: absolute;
    left: -0.4rem;
    right: -0.2rem;
    bottom: -0.05rem;
    height: 25%;
    background: var(--secondary);
    opacity: 0.85;
    z-index: -2;
    border-radius: 4px 8px 4px 12px;
    clip-path: ellipse(60% 100% at 50% 0%);
    transform: rotate(-1deg);
  }
  #book-consultation-6042 .cs-title span:after {
    content: "";
    position: absolute;
    left: -0.1rem;
    right: -0.5rem;
    bottom: 0.05rem;
    height: 38%;
    background: var(--secondary);
    opacity: 0.5;
    z-index: -1;
    border-radius: 6px 12px 4px 8px;
    clip-path: ellipse(55% 100% at 48% 0%);
    transform: rotate(0.5deg);
  }
  #book-consultation-6042 .cs-text {
    max-width: 32rem;
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.85);
  }
  #book-consultation-6042 .cs-contact-list {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  #book-consultation-6042 .cs-contact-item {
    font-size: 1rem;
    line-height: 1.3em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
  }
  #book-consultation-6042 .cs-contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
    color: var(--secondary);
  }

  /* The calendar card itself -- white, flush corners (no rounding
     anywhere on this site), sits as a self-contained widget */
  #book-consultation-6042 .cs-calendar-card {
    width: 100%;
    max-width: 26rem;
    padding: 1.75rem;
    background-color: #fff;
    box-sizing: border-box;
  }
  #book-consultation-6042 .cs-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
  }
  #book-consultation-6042 .cs-cal-month {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #223a4d;
  }
  #book-consultation-6042 .cs-cal-nav {
    width: 2rem;
    height: 2rem;
    padding: 0;
    background-color: transparent;
    border: 1px solid rgba(104, 115, 107, 0.3);
    color: #223a4d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, border-color 0.3s;
  }
  #book-consultation-6042 .cs-cal-nav:hover {
    background-color: var(--secondaryLight);
    border-color: var(--secondaryDark);
  }
  #book-consultation-6042 .cs-cal-nav svg {
    width: 1rem;
    height: 1rem;
  }
  #book-consultation-6042 .cs-calendar-weekdays {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.5rem;
  }
  #book-consultation-6042 .cs-calendar-weekdays span {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    color: rgba(34, 58, 77, 0.5);
  }
  #book-consultation-6042 .cs-calendar-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 1.5rem;
  }
  #book-consultation-6042 .cs-cal-day {
    aspect-ratio: 1;
    font-size: 0.875rem;
    font-weight: 600;
    color: #223a4d;
    background-color: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  }
  #book-consultation-6042 .cs-cal-day:disabled {
    color: rgba(34, 58, 77, 0.25);
    cursor: not-allowed;
  }
  #book-consultation-6042 .cs-cal-day.cs-empty {
    visibility: hidden;
    cursor: default;
  }
  #book-consultation-6042 .cs-cal-day:not(:disabled):not(.cs-active):hover {
    border-color: var(--secondaryDark);
  }
  #book-consultation-6042 .cs-cal-day.cs-today {
    border-color: rgba(104, 115, 107, 0.4);
  }
  #book-consultation-6042 .cs-cal-day.cs-active {
    background-color: var(--secondaryDark);
    color: #fff;
  }
  #book-consultation-6042 .cs-time-slots {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  #book-consultation-6042 .cs-time-slots-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(34, 58, 77, 0.6);
    margin-bottom: 0.75rem;
    display: block;
  }
  #book-consultation-6042 .cs-time-slot-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  #book-consultation-6042 .cs-time-slot {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.25rem;
    background-color: #fff;
    color: #223a4d;
    border: 1px solid rgba(104, 115, 107, 0.3);
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  }
  #book-consultation-6042 .cs-time-slot:hover {
    border-color: var(--secondaryDark);
  }
  #book-consultation-6042 .cs-time-slot.cs-active {
    background-color: var(--secondaryDark);
    border-color: var(--secondaryDark);
    color: #fff;
  }
  #book-consultation-6042 .cs-calendar-submit {
    width: 100%;
  }
}

/* Tablet - 768px: content and calendar side by side */
@media only screen and (min-width: 48rem) {
  #book-consultation-6042 .cs-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }
  #book-consultation-6042 .cs-content {
    width: auto;
    flex: 1;
    max-width: 30rem;
  }
  /* Wider than the shared 43.75rem cs-title cap so "Let's find a time
     that works for you" breaks onto 2 lines instead of 3 at this
     column's narrower width */
  #book-consultation-6042 .cs-title {
    max-width: 22ch;
  }
  #book-consultation-6042 .cs-calendar-card {
    flex: none;
  }
}
