/* Container */
.rpl-single {
  max-width: 1200px;
  margin: 24px auto 64px;
  padding: 0 16px;
}

.rpl-single__header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rpl-single__header-right .rpl-chip {
  background-color: #fff;
  color: #000;
  box-shadow: 0px 4px 15px 0px #0000001a;
  padding: 12px 16px;
}

.rpl-single__notice .rpl-btn {
  margin-top: 12px;
}

.rpl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0b7285;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 0;
}
.rpl-btn:hover {
  filter: brightness(1.05);
}
.rpl-btn[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}
.rpl-btn--ghost {
  background: transparent;
  color: #0b7285;
  border: 1px solid #cfe6ea;
}
.rpl-btn--soft {
  background: #e7f6f8;
  color: #0b7285;
}

.rpl-badge {
  margin-left: 10px;
  padding: 4px;
  border-radius: 2px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  background: #00b1a8;
  color: #fff;
}

/* Header */
.rpl-single__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.rpl-single__title {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.3;
  margin-top: 50px;
}
.rpl-single__subtitle {
  color: #70808f;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero gallery */
.rpl-hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
/* Single image: full width */
.rpl-hero__grid--single {
  grid-template-columns: 1fr;
}
.rpl-hero__main,
.rpl-hero__side a,
.rpl-hero__side .rpl-ph {
  /* border-radius: 12px; */
  overflow: hidden;
}
.rpl-hero__main img,
.rpl-hero__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rpl-hero__main {
  position: relative;
  aspect-ratio: 16/9.3;
  background: #f1f4f7;
}
.rpl-hero__side {
  display: grid;
  gap: 12px;
}
.rpl-hero__side a,
.rpl-hero__side .rpl-ph {
  aspect-ratio: 16/9;
  background: #f1f4f7;
}
.rpl-hero__count {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(17, 24, 39, 0.8);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rpl-hero__count-icon {
  font-size: 14px;
}
.rpl-ph {
  background: #eef2f6;
}
.rpl-ph--sm {
  background: #eef2f6;
}

/* Layout: main + aside */
.rpl-mainlayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 1024px) {
  .rpl-mainlayout {
    grid-template-columns: 1fr;
  }
  .rpl-aside {
    order: 2;
  }
}

/* Section heading (dot + title) */
.rpl-h2 {
  margin: 24px 0 14px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a5b65;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rpl-h2 > span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0b7285;
  display: inline-block;
}
.rpl-section--nohead .rpl-h2 {
  display: none;
}

/* Summary tiles */
.rpl-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.rpl-summary__grid--cols-1 {
  grid-template-columns: 1fr;
}
.rpl-summary__grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.rpl-summary__grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 720px) {
  .rpl-summary__grid {
    grid-template-columns: 1fr;
  }
}
.rpl-summary__item {
  background: #f3f3f3;
  border-radius: 4px;
  padding: 16px;
}
.rpl-summary__label {
  color: #6c7a86;
  font-size: 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rpl-summary__value {
  font-weight: 700;
}

/* Gallery modal (grid + masonry) */
.rpl-gallery {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.rpl-gallery:not([hidden]) {
  display: flex;
}
.rpl-gallery__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.rpl-gallery__panel {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: none;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.rpl-gallery.is-open .rpl-gallery__backdrop {
  opacity: 1;
}
.rpl-gallery.is-open .rpl-gallery__panel {
  transform: translateY(0);
  opacity: 1;
}
.rpl-gallery.is-closing .rpl-gallery__backdrop {
  opacity: 0;
}
.rpl-gallery.is-closing .rpl-gallery__panel {
  transform: translateY(40px);
  opacity: 0;
}
.rpl-gallery__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.rpl-gallery__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #4a5b65;
}
.rpl-gallery__close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}
.rpl-gallery__grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  grid-auto-flow: row;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  box-sizing: border-box;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.rpl-gallery__item {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
  break-inside: avoid;
  cursor: pointer;
}
.rpl-gallery__item img {
  width: 100%;
  display: block;
  border-radius: 4px;
}
@media (max-width: 1024px) {
  .rpl-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .rpl-gallery {
    padding: 0;
  }
  .rpl-gallery__panel {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .rpl-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Gallery slider modal */
.rpl-gallery-slider {
  position: fixed;
  inset: 0;
  z-index: 99995;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.rpl-gallery-slider:not([hidden]) {
  display: flex;
}
.rpl-gallery-slider__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.rpl-gallery-slider__panel {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.rpl-gallery-slider.is-open .rpl-gallery-slider__backdrop {
  opacity: 1;
}
.rpl-gallery-slider.is-open .rpl-gallery-slider__panel {
  transform: translateY(0);
  opacity: 1;
}
.rpl-gallery-slider.is-closing .rpl-gallery-slider__backdrop {
  opacity: 0;
}
.rpl-gallery-slider.is-closing .rpl-gallery-slider__panel {
  transform: translateY(40px);
  opacity: 0;
}
.rpl-gallery-slider__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px 8px;
  flex: 1 1 auto;
}
.rpl-gallery-slider__frame {
  width: 80%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rpl-gallery-slider__img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}
.rpl-gallery-slider__nav {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 36px;
  line-height: 1;
  width: 48px;
  height: 48px;
  cursor: pointer;
}
.rpl-gallery-slider__counter {
  text-align: center;
  padding: 8px 0 16px;
  font-size: 12px;
  color: #4a5b65;
}
@media (max-width: 767px) {
  .rpl-gallery-slider__frame {
    width: 100%;
    max-width: none;
  }
  .rpl-gallery-slider__stage {
    padding: 0 0 8px;
    position: relative;
  }
  .rpl-gallery-slider__nav {
    width: 36px;
    height: 36px;
    font-size: 28px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .rpl-gallery-slider__prev { left: 8px; }
  .rpl-gallery-slider__next { right: 8px; }
  .rpl-gallery-slider__img {
    max-height: 60vh;
  }
}

/* Features list */
.rpl-features {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #edf2f6;
  border-radius: 10px;
}
.rpl-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #edf2f6;
}
.rpl-features li:first-child {
  border-top: 0;
}
.rpl-i--check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e7f6f8;
  position: relative;
}
.rpl-i--check:after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 4px;
  border: 2px solid #0b7285;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  top: 5px;
  left: 4px;
}

/* Rich text */
.rpl-richtext p {
  margin: 0 0 12px;
  color: #1f2937;
}
.rpl-muted {
  color: #83909a;
}

/* Table (Unit) */
.rpl-table {
  width: 100%;
  border: 1px solid #dfe8ee;
  border-radius: 4px;
  overflow: hidden;
}
.rpl-thead,
.rpl-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}
.rpl-thead {
  background: #00b1a8;
  color: #fff;
  font-weight: 700;
}
.rpl-thead > div {
  padding: 12px 14px;
}
.rpl-row > div {
  padding: 12px 14px;
  border-top: 1px solid #eef3f7;
}

/* Google Maps iframe */
.rpl-map-embed {
  width: 100%;
  border: 1px solid #e6edf2;
  border-radius: 4px;
  overflow: hidden;
  height: 350px;
  margin-top: 30px;
}
.rpl-map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Agents card */
.rpl-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.rpl-card--agents {
  padding: 0;
}
.rpl-card__hd {
  font-weight: 700;
  margin-bottom: 10px;
  background-color: #004053;
  padding: 20px;
  color: #fff;
}
.rpl-agentlist {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 10px;
}
.rpl-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rpl-agent__avatar {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef3f7;
  flex: 0 0 auto;
}
.rpl-agent__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rpl-avatarph {
  display: block;
  width: 100%;
  height: 100%;
  background: #dde8ee;
}
.rpl-agent__name {
  font-weight: 700;
}
.rpl-agent__role {
  color: #8795a1;
  font-size: 12px;
}
.rpl-agent__cta {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.rpl-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 4px;
  background: #004053;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.rpl-chip[aria-disabled='true'] {
  opacity: 0.6;
  pointer-events: none;
}

/* Address fallback */
.rpl-address-card {
  margin-top: 6px;
  padding: 10px 12px;
  background: #f6fafb;
  border: 1px solid #e3eef1;
  border-radius: 10px;
}

.rpl-enquiry-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 9997;
}
/* Modal container */
.rpl-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.rpl-modal[hidden] {
  display: none !important;
}
.rpl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.rpl-modal__dialog {
  position: relative;
  margin: 48px auto;
  max-width: 720px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 24px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.rpl-modal__close {
  /* position: absolute; */
  top: 14px;
  right: 14px;
  font-size: 30px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
  background-color: white;
  color: #000;
}

.rpl-modal__close:hover,
.rpl-modal__close:focus {
  background-color: white;
  color: #000;
}

/* Enquiry blocks */
.rpl-enq__title {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 36px 16px 0;
}
.rpl-enq__badge {
  display: inline-block;
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #23b899;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.rpl-enq__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.rpl-enq__group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.rpl-enq__group input,
.rpl-enq__group textarea,
.rpl-enq__group select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 12px;
  font-size: 16px;
}
.rpl-enq__phone {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}
.rpl-enq__actions {
  margin-top: 8px;
}
.rpl-enq__feedback {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

/* lock scroll saat modal terbuka */
body.rpl-modal-open {
  overflow: hidden;
}

/* loading state */
.rpl-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.rpl-modal__heading {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rpl-modal__heading h5 {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: #2c2c2c;
  margin: 0;
}

.rpl-single__description,
.rpl-single__unit,
.rpl-single__location {
  padding: 30px 0;
}

/* HEADING */

.rpl-heading {
  width: fit-content;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.rpl-heading::before {
  content: '';
  width: 4px;
  height: 4px;
  background-color: #00b0ad;
}

.rpl-heading h3 {
  margin-left: 10px;
  font-size: 12px;
  line-height: 15px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
}
