/* text */
html {
  scroll-behavior: smooth;
}

#page:where(.mm-slideout) {
  z-index: auto;
}

main {
  min-height: calc(100vh - 443px);
}

.heading-primary {
  font-family: "Playfair Display 700";
  font-size: 4.8rem;
  line-height: 6.4rem;
  letter-spacing: 4px;
  margin-bottom: 1.6rem;
}

.sub-heading-primary {
  font-size: 4.2rem;
  line-height: 5.6rem;
}

.sub-primary {
  font-size: 4.2rem;
  line-height: 5.6rem;
}

.hero-text {
  font-size: 1.8rem;
  line-height: 2.2rem;
}

.num-text {
  font-family: sans-serif !important;
}

.mont-500 {
  font-family: "Montserrat 500" !important;
}

.mont-600 {
  font-family: "Montserrat 600" !important;
}

.noto-400 {
  font-family: "NotoSansThai" !important;
}

.noto-700 {
  font-family: "NotoSansThai 700" !important;
}

.golf-course-secondary-heading {
  font-family: "Playfair Display 900";
  font-size: 3.2rem;
  line-height: 4.3rem;
  letter-spacing: 4.86598px;
  margin-bottom: 4.136rem;

  position: relative;
}

.golf-course-secondary-heading::after {
  content: "";
  position: absolute;
  bottom: -21.46px;
  left: 0;
  width: 341.84px;
  height: 2.43px;
  background: rgba(90, 131, 184, 0.3);
}

.golf-course-text {
  font-family: "NotoSansThai", "Montserrat";
  font-size: 1.6rem;
  line-height: 2.4rem;
  margin-bottom: 19.46px;
}

/* button */

.btn {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-book {
  font-family: "NotoSansThai 500";
  font-size: 1.4rem;
  color: #fff;
  width: 14.5rem;
  height: 4rem;
  background-color: var(--color-blue-btn);
  border-radius: 32px;
  line-height: 2.4rem;
  border: 0;
}

.btn-book-2 {
  font-family: "NotoSansThai 600";
  color: #fff;
  font-size: 1.6rem;
  background-color: var(--color-blue-btn);
  border: 0;
  border-radius: 32px;
  line-height: 2.4rem;
  width: 16.8rem;
  height: 5.6rem;
}

.btn-book-3 {
  font-family: "NotoSansThai 600";
  font-size: 16px;
  line-height: 24px;
  width: 25.5rem;
  height: 5.2rem;
  background: var(--color-blue-btn);
  border-radius: 32px;
  color: #fff;
  border: 0;
}

.btn-book:hover,
.btn-book-2:hover,
.btn-book-3:hover {
  background-color: var(--color-blue-hover-btn);
}

.btn-rule {
  padding: 6px 20px;
  border: 1px solid #205dac;
  border-radius: 6px;
  font-family: "Poppins 500";
  font-size: 14px;
  line-height: 24px;
  color: #205dac;
  background-color: #fff;
  margin-right: 16px;
  display: inline-block;
}

.btn-book-mobile {
  font-family: "NotoSansThai 600";
  font-size: 14px;
  color: #fff;
  width: 231px;
  height: 40px;
  background-color: var(--color-blue-btn);
  border-radius: 32px;
  line-height: 21px;
  border: 0;
  margin: 51.5px auto 0;
}

.line-clamp-3 {
  display: -webkit-box;
  /* display: block;
  height: 72px; */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  /* white-space: nowrap; */
  text-overflow: ellipsis;
}

.fc .fc-popover {
  z-index: 1020;
}

@media (max-width: 1119.98px) {
}

@media (max-width: 767.98px) {
  .heading-primary {
    font-size: 32px;
    line-height: 43px;
    margin-bottom: 8px;
  }

  .sub-heading-primary {
    font-size: 24px;
    line-height: 35px;
  }

  .hero-text {
    font-size: 14px;
    line-height: 17px;
  }

  .sub-thai {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 575.98px) {
  .line-clamp-3 {
    display: block;
    height: 63px;
    /* overflow: hidden; */
  }

  .golf-course-secondary-heading {
    font-size: 24px;
    line-height: 32px;
  }

  .golf-course-text {
    font-size: 14px;
    line-height: 21px;
  }

  .golf-course-secondary-heading::after {
    width: 327px;
  }

  .btn-book-3 {
    width: 150px;
    height: 40px;
  }
}

.modal-golf-course .modal-content {
  background-color: transparent;
  border: none;
}

.btn-close-modal {
  display: flex;
  justify-content: end;
  margin-bottom: -20px;
}

.modal-golf-course h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

.btn-close-modal .btn-close {
  box-sizing: border-box;
  filter: invert(100%) sepia(15%) saturate(7495%) hue-rotate(262deg) brightness(120%)
    contrast(115%);
  opacity: 1;
  background-size: 2rem;
  height: 2rem;
  width: 2rem;
  cursor: pointer;
}

.fancybox__caption {
  font-size: 20px;
}

.calendar-box .fc .fc-toolbar-chunk:first-child .fc-button-group {
  gap: 3px;
}

#calendar button.fc-prev-button,
#calendar button.fc-next-button {
  width: 3.6rem;
}

#calendar button.fc-today-button {
  margin-left: 5px;
}

#calendar .fc-daygrid-day-events {
  cursor: pointer;
}

.calendar-modal {
  font-family: "Montserrat", "NotoSansThai", sans-serif;
}

.calendar-modal img {
  max-width: 100%;
}

.calendar-modal .modal-content {
  padding: 0 10px;
  border-radius: 10px;
}

.calendar-modal .modal-title {
  font-size: 28px;
}

.calendar-modal .modal-body {
  min-height: 340px;
}

.calendar-modal .modal-body h4 {
  font-size: 15px;
  margin-bottom: 20px;
}

.calendar-modal .modal-body .text {
  font-size: 15px;
  margin-bottom: 20px;
}

@media (max-width: 450px) {
  .calendar-modal .modal-title {
    font-size: 24px;
  }
}
