/* container 1110px */
/* section-golf-ruld */

.section-rule {
  padding: 9.6rem 0;
}

.rule-image-box {
  padding-right: 1.5rem;
}

.rule-image {
  height: 100%;
  width: 100%;
  border-radius: 0.8rem;
}

.rule-text-box {
  padding-left: 2.5rem;
  padding-top: 1.226rem;
}

.re-mgb {
  margin-bottom: 3.443rem;
}

.re-mgb:after {
  bottom: -1.843rem;
}

.c-text {
  font-family: "NotoSansThai 500", "Montserrat 500";
}

.c-text-bold {
  font-family: "Montserrat 700";
  display: inline-block;
  width: 4.5rem;
}

.yards-box {
  margin: 4rem 0 4rem 12.5px;
  display: flex;
  text-align: center;
}

.total-yards {
  padding-right: 36.5px;
  border-right: 1px solid rgba(141, 159, 194, 0.6);
}

.total-pars {
  padding-left: 47px;
}

.num-yards {
  font-family: "Montserrat 700";
  font-size: 24px;
  line-height: 29px;
  color: #252a30;
  margin-bottom: 8px;
}

.text-yards {
  font-family: "Montserrat 600";
  font-size: 14px;
  line-height: 17px;
  color: #8d9fc2;
  text-transform: uppercase;
}

/* //////////////// */
/* section-field */

.section-field {
  padding: 5.8rem 0 8.5rem;
}

.field-text {
  font-family: "Montserrat 600";
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
  color: #205dac;
}

.field-secondary-heading {
  font-family: "NotoSansThai 700";
  font-size: 3.6rem;
  line-height: 5.4rem;
  margin: 1.2rem 0 3.6rem;
}

.tab-field {
  justify-content: space-between;
}

.btn-tab-field {
  font-family: "Montserrat 500";
  font-size: 18px;
  color: #888796;
  background-color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #888796;
  transition: all 0.4s;
  margin-bottom: 2px;
}

.nav-link:focus {
  color: #888796;
}

.btn-tab-field:hover,
.btn-tab-field.active {
  color: #fff;
  background: #205dac;
  border-color: #205dac;
}

.nav {
  overflow-x: scroll;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* swiper-couse-gallery */

.swiper-course-1 {
  margin: 5.9rem 0 3.8rem;
  max-width: 64.1rem;
  max-height: 36.1rem;
  border-radius: 8px;
  flex-grow: 1;
}

.swiper-course-1 .swiper-course-img {
  width: 100%;
  height: 100%;
  border-radius: 1.6rem;
  object-fit: cover;
}

.swiper-course-1 .swiper-slide-active {
  position: relative;
  cursor: pointer;
  height: auto;
}

.swiper-course-1 .swiper-slide-active::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));
  opacity: 0;
  border-radius: 1.6rem;
}

.swiper-course-1 .swiper-slide-active::after {
  z-index: 100;
  position: absolute;
  content: "Hole " attr(hole) "";
  font-family: "Poppins 700";
  font-size: 2.4rem;
  color: #fff;
  top: 3.2rem;
  left: 3.2rem;
  opacity: 0;
}

.swiper-course-1 .swiper-slide-active:hover::after,
.swiper-course-1 .swiper-slide-active:hover::before {
  opacity: 1;
  transition: all 0.4s;
}

.swiper-course-2 .gal-text {
  margin-bottom: 2.5rem;
  font-family: "Montserrat 700";
  font-size: 2.4rem;
  line-height: 2.9rem;
}

.swiper-course-2 .swiper-course-gal {
  width: 10rem;
  height: 10rem;
  border-radius: 0.8rem;
  object-fit: cover;
}

.swiper-course-2 .swiper-slide {
  width: 10rem !important;
}

.swiper-course-1 .swiper-course-img,
.swiper-course-2 .swiper-course-gal {
  cursor: pointer;
}

.swiper-course-2 .swiper-slide {
  opacity: 0.75;
}

.swiper-course-2 .swiper-slide-thumb-active {
  opacity: 1;
}

.hole-box {
  max-width: 35rem;
  margin-left: auto;
  padding-top: 5.9rem;
}

.btn-hole {
  border: 1px solid #000000;
  border-radius: 8px;
  height: 5.2rem;
  width: 100%;
  font-family: "Montserrat 500";
  font-size: 1.8rem;
  background-color: #fff;
  color: #112d4e;
  cursor: default;
}

.par-hcp-box {
  height: 14rem;
  background: #0e1e34;
  margin: 3.2rem 0 4.3rem;
  display: flex;
  align-items: center;
}

.par-box {
  height: 7rem;
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.par-box:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.par-num {
  font-size: 3.2rem;
}

.par-text {
  margin-top: auto;
  text-transform: uppercase;
  font-size: 2rem;
}

.btn-yards {
  border: 0;
  height: 5.2rem;
  width: 100%;
  border-radius: 8px;
  color: #fff;
  font-family: "Montserrat 500";
  font-size: 1.8rem;
  line-height: 3.2rem;
  cursor: default;
}

.btn-yards:not(:last-child) {
  margin-bottom: 1.8rem;
}

.blue {
  background: #112d4e;
}

.white {
  color: #112d4e;
  background: #efefef;
}

.yellow {
  background: #d9bc28;
}

.red {
  background: #ff0000;
}

.course .btn-member {
  width: 160px;
  height: 52px;
}

.gallery-popup-img {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

.swiper-course-2 {
  margin-left: 0;
}

.tab-content iframe {
  width: 100%;
}
