/**
 * Single listing detail — all categories, mobile + desktop.
 */

body.lc-desk-listing {
  background: #f3f8f8 !important;
}

body.lc-desk-listing .ssba,
body.lc-desk-listing .ssba-wrap,
body.lc-desk-listing .wpseo-location,
body.lc-desk-listing .post-navigation,
body.lc-desk-listing .nav-links,
body.lc-desk-listing .comments-area,
body.lc-desk-listing .sharedaddy {
  display: none !important;
}

@media (max-width: 768px) {
  body.lc-desk-listing .site-header,
  body.lc-desk-listing .site-footer,
  body.lc-desk-listing .lc-desktop-footer-note {
    display: none !important;
  }

  body.lc-desk-listing .site-content,
  body.lc-desk-listing .content-area,
  body.lc-desk-listing .site-main {
    background: #f3f8f8 !important;
    padding: 12px 0 130px !important;
  }

  body.lc-desk-listing .site-content .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }
}

@media (min-width: 769px) {
  body.lc-desk-listing,
  body.lc-desk-listing .site-container {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  body.lc-desk-listing .site-content .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px 28px 48px !important;
    box-sizing: border-box !important;
  }
}

.lc-lv {
  font-family: Poppins, "Open Sans", system-ui, sans-serif;
  color: #0a4852;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.lc-lv__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0a4650;
  text-decoration: none;
}

@media (min-width: 769px) {
  .lc-lv__back {
    display: none;
  }
}

.lc-lv__hero {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px -6px rgba(10, 70, 80, 0.12);
}

.lc-lv__gallery,
.lc-lv__stage {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.lc-lv__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f2f2;
  overflow: hidden;
}

.lc-lv__main-img,
.lc-lv__stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(70vh, 640px);
  object-fit: contain;
}

.lc-lv__stage--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #4a6b70;
  font-size: 14px;
}

.lc-lv__stage--empty img {
  width: 40%;
  height: auto;
  opacity: 0.7;
}

.lc-lv__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  overflow-x: auto;
}

.lc-lv__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #e8f2f2;
  cursor: pointer;
}

.lc-lv__thumb.is-active {
  border-color: #137578;
}

.lc-lv__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-lv__head {
  margin: 16px 0 8px;
}

.lc-lv__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.lc-lv__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8f2f2;
  color: #0a4650;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.lc-lv__chip--accent {
  background: #137578;
  color: #fff;
}

.lc-lv__chip--ok {
  background: #d6eaea;
  color: #0a444e;
}

.lc-lv__title {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.25;
  font-weight: 800;
  color: #0a4650;
  letter-spacing: -0.02em;
}

.lc-lv__meta {
  margin: 0;
  font-size: 13px;
  color: #4a6b70;
}

.lc-lv__h2 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a6b70;
}

.lc-lv__split {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.lc-lv__body,
.lc-lv__aside {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 900px) {
  .lc-lv__split {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 22px;
  }

  .lc-lv__aside {
    position: sticky;
    top: calc(var(--lc-desk-topbar, 72px) + 16px);
  }
}

.lc-lv__facts,
.lc-lv__about,
.lc-lv__details,
.lc-lv__card,
.lc-lv__related {
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 18px;
  box-shadow: 0 2px 12px -6px rgba(10, 70, 80, 0.1);
  margin-bottom: 14px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.lc-lv__body .lc-lv__facts:last-child,
.lc-lv__body .lc-lv__about:last-child,
.lc-lv__body .lc-lv__details:last-child {
  margin-bottom: 0;
}

.lc-lv__fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 480px) {
  .lc-lv__fact-grid {
    grid-template-columns: 1fr;
  }
}

.lc-lv__fact {
  margin: 0;
  padding: 12px 12px 11px;
  border-radius: 12px;
  background: #f3f8f8;
  border: 1px solid #d6eaea;
}

.lc-lv__fact--price {
  background: #e8f2f2;
  border-color: #a8c8ca;
}

.lc-lv__fact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4a6b70;
  margin-bottom: 4px;
}

.lc-lv__fact-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0a4650;
  line-height: 1.35;
}

.lc-lv__prose {
  font-size: 15px;
  line-height: 1.6;
  color: #1a3a5c;
  min-width: 0;
  overflow-wrap: anywhere;
}

.lc-lv__prose p {
  margin: 0 0 0.85em;
}

.lc-lv__prose p:last-child {
  margin-bottom: 0;
}

.lc-lv__video,
.lc-lv__prose .lc-lv__video,
.lc-lv__prose .wp-video {
  margin: 0 0 1em;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1a1c;
}

.lc-lv__player,
.lc-lv__prose video,
.lc-lv__prose iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.lc-lv__dl {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.lc-lv__dl-row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e8f2f2;
  align-items: start;
}

.lc-lv__dl-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lc-lv__dl dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #4a6b70;
  min-width: 0;
  overflow-wrap: anywhere;
}

.lc-lv__dl dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0a4650;
  min-width: 0;
  text-align: end;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 480px) {
  .lc-lv__facts,
  .lc-lv__about,
  .lc-lv__details,
  .lc-lv__card,
  .lc-lv__related {
    padding: 16px 18px 18px;
  }
}

.lc-lv__poster-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lc-lv__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.lc-lv__poster-name {
  font-weight: 700;
  color: #0a4650;
}

.lc-lv__poster-date {
  font-size: 12px;
  color: #4a6b70;
}

.lc-lv__contact-actions,
.lc-lv__share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lc-lv__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.lc-lv__btn--call {
  gap: 8px;
  background: #0a4650 !important;
  color: #fff !important;
}

.lc-lv__call-ico,
.lc-lv__btn--call .lc-lv__call-ico,
.lc-lv__btn--call svg,
.lc-lv__btn--call svg path {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: block;
  fill: #fff !important;
  color: #fff !important;
}

body.single-hp_listing .lc-lv a.lc-lv__btn--call,
body.lc-desk-listing .lc-lv a.lc-lv__btn--call,
body.single-hp_listing .lc-lv a.lc-lv__btn--call:hover,
body.lc-desk-listing .lc-lv a.lc-lv__btn--call:hover,
body.single-hp_listing .lc-lv a.lc-lv__btn--call:visited,
body.lc-desk-listing .lc-lv a.lc-lv__btn--call:visited {
  background: #0a4650 !important;
  color: #fff !important;
}

.lc-lv__btn--wa {
  gap: 8px;
  background: #25d366 !important;
  color: #fff !important;
}

.lc-lv__wa-ico,
.lc-lv__btn--wa .lc-lv__wa-ico,
.lc-lv__btn--wa svg,
.lc-lv__btn--wa svg path {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: block;
  fill: #fff !important;
  color: #fff !important;
}

body.single-hp_listing .lc-lv a.lc-lv__btn--wa,
body.lc-desk-listing .lc-lv a.lc-lv__btn--wa,
body.single-hp_listing .lc-lv a.lc-lv__btn--wa:hover,
body.lc-desk-listing .lc-lv a.lc-lv__btn--wa:hover,
body.single-hp_listing .lc-lv a.lc-lv__btn--wa:visited,
body.lc-desk-listing .lc-lv a.lc-lv__btn--wa:visited {
  background: #25d366 !important;
  color: #fff !important;
}

@media (min-width: 769px) {
  /* Home chrome hides wa.me links; keep listing Contact / Share WhatsApp visible. */
  body.lc-desk-listing .lc-lv a[href*="wa.me"],
  body.lc-desk-listing .lc-lv a[href*="whatsapp"],
  body.lc-desk-listing .lc-lv .lc-lv__btn--wa {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    background: #25d366 !important;
  }
}

.lc-lv__btn--ghost {
  background: #fff;
  color: #0a4650;
  border: 1px solid #a8c8ca;
}

.lc-lv__copy-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 12px;
  color: #137578;
}

.lc-lv__related {
  margin-top: 4px;
}

.lc-lv__related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

@media (min-width: 700px) {
  .lc-lv__related-list {
    grid-template-columns: 1fr 1fr;
  }
}

.lc-lv__related-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: #f3f8f8;
  text-decoration: none;
  color: inherit;
}

.lc-lv__related-thumb {
  width: 72px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #d6eaea;
}

.lc-lv__related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-lv__related-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #137578;
  margin-bottom: 2px;
}

.lc-lv__related-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0a4650;
  line-height: 1.3;
}

body.lc-desk-listing.lc-lv-has-cta .site-content {
  padding-bottom: 160px !important;
}
