.elementor-57817 .elementor-element.elementor-element-5e0a8c36{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-57817 .elementor-element.elementor-element-d515ab5{width:var( --container-widget-width, 1050px );max-width:1050px;--container-widget-width:1050px;--container-widget-flex-grow:0;}.elementor-57817 .elementor-element.elementor-element-d515ab5 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 50px 0px;}.elementor-57817 .elementor-element.elementor-element-d515ab5.elementor-element{--align-self:center;}/* Start custom CSS for html, class: .elementor-element-d515ab5 *//* Neighborhood Disclaimer Styles */
.neighborhood-disclaimer {
    margin-top: 0px;
    padding-top: 5px;
    border-top: 1px solid #d9d9d9;
}

.neighborhood-disclaimer h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-top: 25px;
}

.neighborhood-disclaimer p {
    font-size: 13px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 14px;
}

.neighborhood-disclaimer p:last-child {
    margin-bottom: 0;
}/* End custom CSS */
/* Start custom CSS *//* --- SURGICAL FIX: Breadcrumb Spacing & Mobile --- */
.cliff-breadcrumb {
  margin-bottom: 40px !important; /* Forces 40px gap above the main title */
  font-size: 14px;
  white-space: nowrap; /* Keeps breadcrumbs on one line for mobile */
  overflow-x: auto;    /* Allows swiping on mobile instead of wrapping */
  display: block;
  -webkit-overflow-scrolling: touch;
}

/* --- 1. Global Layout & Hero --- */
.cliff-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.cliff-main-content {
  padding-top: 14px;
  padding-bottom: 70px;
}

.cliff-hero {
  background: #f3f3f3;
  padding: 80px 20px 70px;
  text-align: center;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  margin-bottom: 0px; /* FIXED: Adds space between Hero and Map Title */
}


.cliff-hero .subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
}

/* --- 2. Map Section Fixes --- */
.cliff-map-section {
  padding: 20px 0;
  text-align: center;
}

.cliff-map-section h2 {
  font-size: 1.8rem !important; /* FIXED: Reduced from default huge size */
  margin-bottom: 24px;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.cliff-map-embed {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* --- 3. Content Columns & Typography --- */
.cliff-content-column { flex: 2; min-width: 300px; }
.cliff-sidebar { flex: 1; min-width: 280px; }

.cliff-content-column h2 { font-size: 2rem; margin: 0 0 18px; color: #1a1a1a; }
.cliff-content-column h3 { font-size: 1.35rem; margin: 34px 0 12px; color: #1a1a1a; }
.cliff-content-column p { line-height: 1.8; color: #444; margin-bottom: 18px; }

.cliff-content-column a {
  color: #0b6cff;
  text-decoration: none;
  border-bottom: 2px solid rgba(11,108,255,0.2);
  transition: all 0.2s ease;
}

/* --- 4. Mandarin Relocation Box (Responsive) --- */
/* --- SURGICAL FIX: Team Photo Alignment --- */
.niche-box {
  display: flex;
  align-items: center; /* Aligns Matt & Ying vertically with the text */
  gap: 30px;
  background: #fdfdfd;
  padding: 35px;
  border: 1px solid #eee;
  border-left: 5px solid #000;
  margin: 40px 0;
}

.niche-image-wrapper { 
  flex: 0 0 180px; /* Increased from 130px */
  text-align: center; 
}
.niche-image-wrapper img { 
  width: 180px; /* Increased from 150px */
  border-radius: 5px; 
  margin-bottom: 8px; 
}
.y-title { font-size: 13px; line-height: 1.3; color: #333; }

.niche-content { flex: 1; }
.niche-content h4 { margin-top: 0 !important; font-size: 1.25rem; color: #000; }

.niche-btn {
  display: inline-block;
  background: #000;
  color: #fff !important;
  padding: 14px 25px;
  text-decoration: none !important;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
  margin-top: 15px;
  transition: 0.3s;
}





/* Container for Symmetry */
.niche-btn-container {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Base Button Style */
.niche-btn-container .niche-btn {
  flex: 1; /* Makes both exactly the same width */
  padding: 14px 0;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid #000; /* Required for the white button */
  margin-top: 0 !important;
}

/* Button 1: White Background, Black Text (Hover to Black) */
.btn-white {
  background: #fff !important;
  color: #000 !important;
}
.btn-white:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Button 2: Black Background, White Text (Hover to White) */
.btn-black {
  background: #000 !important;
  color: #fff !important;
}
.btn-black:hover {
  background: #fff !important;
  color: #000 !important;
}

/* Mobile: Stack them but keep them full width */
@media (max-width: 480px) {
  .niche-btn-container {
    flex-direction: column;
  }
}







/* --- 5. TownRatings Sidebar --- */
.cliff-sidebar .sidebar-box {
    padding: 25px;
    background: #222222 !important;
    border-radius: 4px;
    position: sticky;
    top: 125px;
}

.town-ratings-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    color: white !important; 
    opacity: 0.8;
    margin-bottom: 2px;
    display: block;
}

.report-card-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 900;
    font-size: 16px !important; 
    text-transform: uppercase !important;
    white-space: nowrap; 
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

.report-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #444;
}

.report-card-row strong {
    font-size: 13px;
    font-weight: 600;
    text-transform: normal;
    color: #ffffff !important;
}

.report-card-row span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #FFFF8F !important;
}

.cliff-btn-black {
    text-align: center;
    display: block;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 16px;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none !important;
    margin-top: 20px;
}

/* --- 6. Footnote & Superscript --- */
.sidebar-footnote {
    margin-top: 15px;
    font-size: 10px;
    line-height: 1.5;
    color: #FFF !important;
    border-top: 1px solid #444;
    padding-top: 10px;
}

/* Sidebar Footnote Link Styling */
.sidebar-footnote a {
    color: #FFFF8F !important; /* Electric Yellow to match ratings */
    text-decoration: underline !important;
    font-weight: 700;
    cursor: pointer;
}

.sidebar-footnote a:hover {
    color: #ffffff !important;
    opacity: 1;
}

.town-ratings-label sup { font-size: 8px; top: -0.5em; margin-left: 2px; }

/* --- 7. Mobile Responsiveness --- */
@media (max-width: 768px) {
    .cliff-container { flex-direction: column; }
    .cliff-hero h1 { font-size: 2.1rem; }
    .cliff-map-section h2 { font-size: 1.5rem !important; }

    .niche-box { flex-direction: column; align-items: center; text-align: center; }
    .niche-image-wrapper { flex: 0 0 auto; margin-bottom: 15px; }
    .niche-btn { display: block; width: 100%; }

    .report-card-title { white-space: normal; font-size: 18px !important; }
    .cliff-sidebar .sidebar-box { position: static; }
}













/* --- 8. Cliff Estates Market Snapshot --- */
.market-snapshot {
  background: #ffffff;
  border: none;
  padding: 0rem;
  border-radius: 4px;
  width: 100%;
  margin: 30px 0 24px;
}

.snapshot-title {
  font-size: 1.1rem;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.75rem;
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.85rem;
  font-weight: 700;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.metric-item {
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.metric-value {
  display: block;
  font-size: 1.8rem;
  color: #222;
  font-weight: 400;
  line-height: 1.2;
}

.value-subtext {
  display: block;
  font-size: 0.75rem;
  color: #767676;
  margin-top: 4px;
}

.metric-range {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: #555;
  background: #f9f9f9;
  padding: 6px 8px;
  border-radius: 2px;
}

.snapshot-footer {
    margin-top: 1.25rem;
    font-size: 0.72rem;
    color: #595959; /* Ended with a semicolon */
    line-height: 1.6; /* Added line-height back */
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.snapshot-footer strong {
  color: #333;
}

/* Mobile */
@media (max-width: 768px) {
  .market-snapshot {
    padding: 1.5rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .metric-value {
    font-size: 1.6rem;
  }

  .snapshot-title {
    font-size: 1rem;
    letter-spacing: 1.5px;
  }
}





/* 1. Prevent the map from capturing the scroll wheel by default */
.cliff-map-embed iframe {
    pointer-events: none;
}

/* 2. Re-enable interaction only when the user clicks the map */
.cliff-map-embed.clicked iframe {
    pointer-events: auto;
}















/* --- SURGICAL FIX: Fluid Header size --- */
.section-header {
  font-size: clamp(1.7rem, 4vw, 1.75rem) !important; /* Scales for all screens */
  margin: 45px 0 20px;
  color: #1a1a1a;
  font-weight: 700;
}

/* FAQ Accordion Styling */
.cliff-faq-accordion {
  margin-bottom: 50px;
  border-top: 1px solid #eee;
}

.cliff-faq-accordion details {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  background: #fff;
}

.cliff-faq-accordion summary {
  display: flex; 
  align-items: flex-start;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
  padding-left: 35px;
}

/* --- BULLETPROOF FAQ SYMBOLS (No more numbers) --- */
.cliff-faq-accordion summary::before {
  content: ""; 
  position: absolute;
  left: 10px;
  top: 12px;
  width: 12px;
  height: 2px;
  background-color: #888; /* The horizontal line */
}

.cliff-faq-accordion summary::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 7px;
  width: 2px;
  height: 12px;
  background-color: #888; /* The vertical line */
  transition: transform 0.3s ease;
}

/* When open, hide the vertical line to leave just a minus sign */
.cliff-faq-accordion details[open] summary::after {
  transform: scaleY(0);
}

/* H3 Question Styling */
.faq-question {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  color: #1a1a1a;
  line-height: 1.4;
  text-align: left;
}

.faq-content {
  padding: 20px 0 10px 35px;
  line-height: 1.8;
  color: #444;
}

.map-footnote {
  font-size: 12px;
  color: #888;
  margin: 10px 0 30px;
}

.cliff-faq-accordion summary::-webkit-details-marker {
  display: none;
}

/* Map Interaction Fix */
.cliff-map-embed iframe {
    pointer-events: none;
}
.cliff-map-embed.clicked iframe {
    pointer-events: auto;
}/* End custom CSS */