/*===============
  Section: Retreat  
  =============== */
.retreat {
  padding: 48px 16px;
  background: #f7f2e9;
  overflow-x: hidden;
}

.retreat .container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* top layout */
.retreat-top {
  position: relative;
  margin-bottom: 28px;
}

.retreat-top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
}

.retreat-title h2 {
  font-size: 32px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: -8px;
}

/* subtitle + tabs on same row */
.retreat-subrow {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.retreat-title .subtitle {
  font-size: 16px;
  color: #333;
}

/* tabs right */
.retreat-tabs {
  display: flex;
  gap: 24px;
  font-size: 16px;
  font-weight: 600;
  color: #999;
  position: relative;
  padding-bottom: 8px;
}

/* Vertical line retreat-tabs */
.retreat-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.04px;
  background: linear-gradient(
    to right,
    rgba(184, 155, 122, 0.95) 0px,
    rgba(184, 155, 122, 0.95) 50%,
    #cfc7bc 50%,
    #cfc7bc 100%
  );
}

.retreat-tabs.reverse::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.04px;
  background: linear-gradient(
    to left,
    rgba(184, 155, 122, 0.95) 0px,
    rgba(184, 155, 122, 0.95) 50%,
    #cfc7bc 50%,
    #cfc7bc 100%
  );
}

.retreat-tabs span {
  cursor: pointer;
  position: relative;
  padding-bottom: 8px;
  color: #b8aa98;
}

.retreat-tabs span.active {
  color: #8b6b4a;
}

/* images */
.retreat-images-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  margin-bottom: 44px;
}

.retreat-slider {
  overflow: hidden;
  position: relative;
}

.retreat-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollRetreat 40s linear infinite;
}

.retreat-track img {
  width: 453px;
  height: 266px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes scrollRetreat {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.retreat-slider::before,
.retreat-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 160px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* description */
.retreat-desc {
  text-align: center;
  max-width: 608px;
  margin: 0 auto;
  color: #333;
  line-height: 1.3;
  font-size: 14px;
}

.divider {
  margin-bottom: 16px;
  margin-top: 24px;
}

.divider img {
  width: 25px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =========================
   Section: About Retreat
========================= */
.about-retreat .container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
}

.about-retreat .container::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #cfc7bc;
}

.about-retreat .container::before {
  top: 0;
}

.about-retreat {
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
}

.about-retreat-desc {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 56px;
  font-size: 14px;
  line-height: 1.3;
  color: #333;
}

.about-retreat-divider {
  height: 1px;
  background: #cfc7bc;
  width: 100%;
  max-width: 960px;
  margin: 44px auto;
}

/* Target Block Layout */
.about-retreat-target {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  align-items: center;
}

.target-image {
  width: 100%;
}

.target-image img {
  width: 100%;
  height: 354px;
  display: block;
  object-fit: cover;
}

.target-right {
  padding-left: 70px;
  gap: 66px;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.about-retreat-target .target-right .vertical-block:nth-child(2) {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding-bottom: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #cfc7bc;
}

/* Vertical text */
.vertical-block {
  justify-content: center;
}

.vertical-text {
  font-size: 15px;
  line-height: 1.3;
  color: #222;
  text-align: left;
  letter-spacing: 1px;
}

.vertical-text.bold {
  font-weight: 700;
  font-size: 35px;
}

/* Right side */
.target-content {
  max-width: none;
  flex: 1;
}

.target-text {
  font-size: 14px;
  line-height: 1.3;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

.target-roles {
  display: flex;
  gap: 65px;
  margin-bottom: 12px;
  justify-content: center;
  flex-wrap: nowrap;
}

.role-box {
  display: flex;
  align-items: left;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #8b6b4a;
  text-align: left;
  line-height: 1.4;
  flex-shrink: 0;
}

.role-icon {
  width: 29px;
  height: 29px;
  margin: 0 0 10px;
  object-fit: contain;
  display: block;
}

.target-note {
  font-size: 14px;
  color: #666;
  text-align: left;
}

/* ============ */
/* Responsive = */
/* ============ */
/* Desktop large: 1200px+ */
@media (min-width: 1200px) {
}

/* Tablet + small desktop: 768px - 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
 .retreat-title h2 {
    font-size: 26px;
    margin-bottom: 0px;
  }

  .retreat-title .subtitle {
    font-size: 13px;
  }

  .retreat-subrow {
    flex-wrap: wrap;
    gap: 24px;
  }

  .retreat-tabs {
    width: 100%;
    display: flex;
    gap: 0;
    font-size: 13px;
    padding-bottom: 0px;
  }

  .retreat-tabs span {
    width: 50%;
    text-align: center;
  }

  .retreat-track {
    display: flex;
    gap: 13px;
    width: max-content;
    animation: scrollRetreat 30s linear infinite;
  }

  .retreat-track img {
    width: 274px;
    height: 161px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .retreat-desc {
    font-size: 13px;
  }

  .section-title {
    font-size: 13px;
  }

  .about-retreat-desc {
    font-size: 13px;
  }

  .about-retreat-target {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 453px;
    margin: 0 auto;
  }

  .target-image img {
    aspect-ratio: 566 / 442;
    height: auto;
  }

  .target-right {
    padding-left: 0;
    gap: 48px;
    flex-direction: column;
    align-items: center;
  }

  .vertical-block {
    justify-content: center;
  }

  .vertical-text {
    font-size: 15px;
  }

  .vertical-text.bold {
    font-size: 32px;
  }

  .target-content {
    text-align: center;
  }

  .target-text,
  .target-note {
    text-align: left;
    font-size: 13px;
    letter-spacing: 2px;
  }

  .target-roles {
    justify-content: center;
    gap: 87px;
    flex-wrap: nowrap;
  }
}

/* Mobile: 1px - 767px */
@media (max-width: 767px) {
  .retreat {
    padding: 48px 8px;
  }

  .retreat-title h2 {
    font-size: 19px;
    margin-bottom: 0px;
  }

  .retreat-title .subtitle {
    font-size: 11px;
  }

  .retreat-subrow {
    flex-wrap: wrap;
    gap: 24px;
  }

  .retreat-tabs {
    width: 100%;
    display: flex;
    gap: 0;
    font-size: 13px;
    padding-bottom: 0px;
  }

  .retreat-tabs span {
    width: 50%;
    text-align: center;
  }

  .retreat-desc {
    font-size: 11px;
  }

  .retreat-images-wrap {
    margin-bottom: 0px;
  }

  .retreat-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: scrollRetreat 30s linear infinite;
  }

  .retreat-track img {
    width: 274px;
    height: 161px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .about-retreat-desc {
    padding-left: 32px;
    padding-right: 32px;
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 11px;
  }

  .about-retreat-desc {
    font-size: 11px;
  }

  .about-retreat-target {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 274px;
    margin: 0 auto;
    padding: 0px 8px;
  }

  .target-image img {
    aspect-ratio: 343 / 268;
    height: auto;
  }

  .target-right {
    padding-left: 0;
    gap: 48px;
    flex-direction: column;
    align-items: center;
  }

  .vertical-block {
    justify-content: center;
  }

  .vertical-text {
    font-size: 11px;
  }

  .vertical-text.bold {
    font-size: 20px;
  }

  .target-content {
    text-align: center;
  }

  .target-text,
  .target-note {
    text-align: left;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .target-text {
    letter-spacing: 3px;
  }

  .role-box {
    display: flex;
    flex-direction: column;
  }

  .role-icon {
    margin: 0;
  }

  .target-roles {
    justify-content: center;
    gap: 45px;
    flex-wrap: nowrap;
  }
}