:root {
  --normal-container-max-width: 1200px;
  --container-width: min(100%, var(--container-width-base));
  --container-width-base: calc(87.5vw - var(--frame-size, 0px) * 2);
  --transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

*,
::after,
::before {
  box-sizing: border-box;
}

.course-detail,
.course-home,
.course-calendar {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  .book-btn,
  a,
  li {
    font-family: var(--casa-font-family, --wp--preset--font-family--system-sans-serif);
  }
}

h1 {
  font-size: clamp-calc(28px, 40px);
}

h2 {
  font-size: clamp-calc(24px, 32px);
}

h3 {
  color: #444142;
  font-weight: 500;
  line-height: 1.2em;
  margin-top: 0.8rem;
  margin-bottom: 1rem;
  font-size: clamp-calc(18px, 28px);
}

.book-btn {
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 0.25rem;
  color: white;
  height: max-content;
  background-color: #008b86;
  transition: all 0.2s ease-in-out;
  min-width: 130px;
  font-family: var(--casa-font-family, --wp--preset--font-family--system-sans-serif);

  &:hover {
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
  }

  &:disabled {
    background-color: gray !important;
    cursor: not-allowed;
  }

  &.disabled {
    background-color: gray;
    cursor: not-allowed;
    touch-action: none;
    pointer-events: none;
  }
}

.casa__no-results {
  margin-top: clamp-calc(30px, 50px);
}

.f-row__100 {
  flex-basis: 100% !important;
}

.ml-auto {
  margin-left: auto;
}

.mb_10 {
  margin-top: 10px;
}

.casa__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.text-center {
  text-align: center;
}

/* WordPress Core
-------------------------------------------------------------- */
.casa__hero-desc,
.casa-desc,
.casa__single-course-desc {
  .alignnone {
    margin: 5px 20px 20px 0;
  }

  .aligncenter,
  div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
  }

  .alignright {
    float: right;
    margin: 5px 0 20px 20px;
  }

  .alignleft {
    float: left;
    margin: 5px 20px 20px 0;
  }

  a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
  }

  a img.alignnone {
    margin: 5px 20px 20px 0;
  }

  a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
  }

  a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
  }

  .wp-caption.alignnone {
    margin: 5px 20px 20px 0;
  }

  .wp-caption.alignleft {
    margin: 5px 20px 20px 0;
  }

  .wp-caption.alignright {
    margin: 5px 0 20px 20px;
  }

  .wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
  }

  .wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
  }
}

.checkbox-lg[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15em;
}

.alert-message {
  .alert {
    padding: 0.45rem 1rem;
  }
}
