/* House For Sale Titusville | Rewritten stylesheet
   Uses existing class names and IDs from the supplied homepage PHP.
   No HTML or PHP class names need to change. */

:root {
  --primary: #37ca37;
  --secondary: #188bf6;
  --white: #efefef;
  --black: #000;
  --transparent: transparent;
  --overlay: rgba(0,0,0,.5);
  --color-m3hubn7z: #a8e7c8;
  --color-lkbhik22: #1e90ff;
  --color-m1tdsdiu: #fff;
  --color-m1tdv4ke: #f0f8ff;
  --color-lkbjs320: #f2f1f1;
  --text-color: #17242b;
  --link-color: #188bf6;
  --headlinefont: Arial, Helvetica, sans-serif;
  --contentfont: Arial, Helvetica, sans-serif;
  --poppins: Arial, Helvetica, sans-serif;
  --playfair-display: Georgia, "Times New Roman", serif;
  --roboto: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text-color); font: 16px/1.65 var(--contentfont); }
img { max-width: 100%; height: auto; }
a { color: var(--link-color); }
button, input, textarea { font: inherit; }
h1, h2, h3, h4, h5 { line-height: 1.22; margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--playfair-display); }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
p { margin: 0 0 18px; }
:focus-visible { outline: 3px solid #1464aa; outline-offset: 3px; }

/* Native WHR structure. Preserve all existing component classes. */
.whr-page { width: 100%; overflow-x: clip; }
.whr-section { width: 100%; padding: 56px 0; border: 0; }
.whr-section > .inner,
.whr-section-inner { width: min(100% - 40px, 1170px); max-width: 1170px; margin-inline: auto; }
.whr-row { width: 100%; margin: 0 0 32px; padding: 0; border: 0; }
.whr-row:last-child { margin-bottom: 0; }
.whr-row > .inner, .whr-row-inner { display: flex; align-items: flex-start; gap: 30px; width: 100%; }
.whr-column { flex: 1 1 0; width: 0; min-width: 0; border: 0; }
.whr-column > .inner, .whr-column-inner { width: 100%; min-width: 0; border: 0; }
.whr-component, .whr-component-inner, .whr-content, .text-output { max-width: 100%; border: 0; }
.whr-component { margin-bottom: 20px; }
.whr-component:last-child { margin-bottom: 0; }
.whr-content p:last-child { margin-bottom: 0; }
.whr-heading, .whr-subheading { margin-bottom: 20px; }
.whr-heading h1, .whr-heading h2, .whr-subheading h3 { margin: 0; }
.whr-body { margin-bottom: 22px; }
.whr-body p { overflow-wrap: anywhere; }
.whr-image img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Buttons, including every original button-XXXX class in the PHP. */
.whr-button-wrap { margin: 0 0 10px; }
.whr-button {
  display: inline-flex; justify-content: center; align-items: center;
  max-width: 100%; min-height: 44px; padding: 12px 24px;
  background: var(--color-lkbhik22); color: #fff;
  border: 0; border-radius: 6px; font: 700 16px/1.3 var(--headlinefont);
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.whr-button:hover { background: #126db9; color: #fff; }

/* Homepage header: left slot remains available for logo; CTA is on right. */
#section-FxOfyox-Q2, .section-FxOfyox-Q2 {
  background: var(--color-m3hubn7z); padding: 18px 0;
}
#row-WvCNWvyokb, .row-WvCNWvyokb { margin: 0; width: 100%; }
#row-WvCNWvyokb > .inner, #row-WvCNWvyokb > .whr-row-inner {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 20px;
}
#col-UGvhK4tHGg, .col-UGvhK4tHGg { flex: 1 1 auto; width: auto; min-width: 0; }
#col-wKK-3qSk1f, .col-wKK-3qSk1f { flex: 0 0 auto; width: auto; margin-left: auto; }
#col-UGvhK4tHGg > .inner, #col-wKK-3qSk1f > .inner,
.col-UGvhK4tHGg .inner, .col-wKK-3qSk1f .inner { width: 100%; }
#col-wKK-3qSk1f > .inner { display: flex; justify-content: flex-end; align-items: center; }
#button-iLXTcgC2sN, .button-iLXTcgC2sN { margin: 0; text-align: right; }
#button-iLXTcgC2sN .whr-button { white-space: nowrap; }
#nav-menu-zD7MKXpl-I, .nav-menu-zD7MKXpl-I, .cnav-menu-zD7MKXpl-I {
  min-width: 0; border: 0; background: transparent;
}
#nav-menu-zD7MKXpl-I .branding img { display: block; max-width: 100%; max-height: 100px; width: auto; height: auto; }
#nav-menu-zD7MKXpl-I .nav-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
#nav-menu-zD7MKXpl-I .nav-menu-item a { color: #153b2e; text-decoration: none; }
#nav-menu-zD7MKXpl-I .nav-menu-item a:hover { text-decoration: underline; }

/* Hero */
#section-zTFUJf3cTA, .section-zTFUJf3cTA { padding: 64px 0; background: #f5fafc; }
#row-Fh_p1G0BKb, .row-Fh_p1G0BKb { width: 100%; max-width: 100%; margin: 0; }
#col-wKLJgdB8f3, .col-wKLJgdB8f3 { flex: 1 1 100%; width: 100%; }
#col-wKLJgdB8f3 > .inner, .col-wKLJgdB8f3 .inner {
  width: 100%; padding: clamp(22px, 4vw, 50px);
  background: #fff; border-radius: 12px;
}
#heading-V16d6igwkZ, .heading-V16d6igwkZ { margin-bottom: 24px; }
#heading-V16d6igwkZ h1 { font-size: clamp(2rem, 4vw, 3rem); color: #153b2e; }
#paragraph-N-DczSsgGa, .paragraph-N-DczSsgGa { max-width: 850px; margin-bottom: 24px; }
#paragraph-N-DczSsgGa p { font-size: 18px; line-height: 1.7; }

/* First property gallery and description */
#section-brYB0mjB0v, .section-brYB0mjB0v { background: #f7f7f7; }
#row-Sh-3UMZRuF, .row-Sh-3UMZRuF { align-items: center; }
#col-w2jQFSOKRv, #col-Gg8X0ghBmB { flex: 1 1 0; width: 0; }
#col-Gg8X0ghBmB > .inner { padding: 12px 0; }
#heading-i6nGLUrboB h2 { color: #183e49; }
#paragraph-8BrQcIknnJ p { line-height: 1.8; }

/* Additional property sections and rows */
#section-HrSInICYV1, .section-HrSInICYV1 { background: #fff; }
#row-nYVqPt1DeG, .row-nYVqPt1DeG { width: 100%; margin-bottom: 40px; }
#col-HY8ZVZKp8g, .col-HY8ZVZKp8g { flex: 1 1 100%; width: 100%; }
#col-HY8ZVZKp8g > .inner { padding: 26px; background: #f0f8ff; border-radius: 10px; }
#heading-B_vCvtt38J h2 { color: #173e4a; }
#row-j-ExvhUOp7, #row-WhCccftf1R, #row-RJazxxSiud, #row-PokKo68j_P {
  width: 100%; margin: 0 0 36px; padding: 26px;
  background: #f0f8ff; border-radius: 10px;
}
#row-j-ExvhUOp7 > .inner, #row-WhCccftf1R > .inner,
#row-RJazxxSiud > .inner, #row-PokKo68j_P > .inner { align-items: flex-start; }
#row-j-ExvhUOp7 .whr-column, #row-WhCccftf1R .whr-column,
#row-RJazxxSiud .whr-column, #row-PokKo68j_P .whr-column {
  flex: 1 1 0; width: 0;
}
#section-HrSInICYV1 .whr-subheading h3 { color: #183e49; }
#section-HrSInICYV1 .whr-image { margin-bottom: 20px; }

/* Galleries: match .whr-slider-* markup in supplied PHP, not old .carousel markup. */
.whr-slider { width: 100%; min-width: 0; margin-bottom: 22px; }
.whr-slider-stage { position: relative; width: 100%; overflow: hidden; border-radius: 10px; background: #e6edf0; }
.whr-slider-track { display: flex; width: 100%; transition: transform 300ms ease; }
.whr-slide { flex: 0 0 100%; width: 100%; margin: 0; }
.whr-slide img { display: block; width: 100%; height: clamp(230px, 32vw, 440px); object-fit: contain; }
.whr-slider-controls {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: space-between; pointer-events: none;
}
.whr-slider-controls button {
  pointer-events: auto; cursor: pointer; border: 0;
  color: #fff; background: rgba(16,39,50,.75);
  font-size: 28px; width: 42px; height: 48px;
}
.whr-slider-controls button:hover { background: rgba(16,39,50,.95); }

/* FAQ */
#section-QAQT1eJKIX, .section-QAQT1eJKIX { background: #f7f9fa; }
#row-JF8g4oJLev, .row-JF8g4oJLev { margin-bottom: 30px; }
#row-UDvrmllyvK, .row-UDvrmllyvK { align-items: flex-start; }
.whr-faq-list { width: 100%; }
.whr-faq-item { border: 0; border-bottom: 1px solid #d5dfe3; padding: 14px 0; }
.whr-faq-question { cursor: pointer; font: 700 18px/1.45 var(--contentfont); color: #183e49; margin: 0; }
.whr-faq-answer { display: none; padding-top: 12px; }
.whr-faq-item.active .whr-faq-answer { display: block; }
.whr-faq-answer p:last-child { margin-bottom: 0; }

/* Footer */
#section-i0tmdJpJCs, .section-i0tmdJpJCs { padding: 42px 0; background: #173b36; color: #fff; }
#section-i0tmdJpJCs a { color: #fff; }
#section-i0tmdJpJCs .whr-subheading h5 { color: #fff; }
#row-UwcMnS9iDC, .row-UwcMnS9iDC { align-items: center; }

/* Showing-request dialog: preserve existing behavior hooks. */
.whr-modal[hidden] { display: none !important; }
.whr-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; }
.whr-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.whr-modal-panel {
  position: relative; width: min(100%, 560px); max-height: 90vh; overflow-y: auto;
  padding: clamp(24px,5vw,42px); background: #fff; color: #182b32;
  border-radius: 14px; box-shadow: 0 16px 70px rgba(0,0,0,.3);
}
.whr-modal-panel h2 { margin: 0 32px 12px 0; font-size: clamp(25px,4vw,34px); }
.whr-modal-close { position: absolute; top: 12px; right: 16px; border: 0; background: transparent; color: #182b32; font-size: 32px; cursor: pointer; }
.whr-modal-email { display: inline-block; margin: 12px 0; padding: 13px 22px; background: #1464aa; color: #fff; border-radius: 6px; font-weight: 700; text-decoration: none; }
.whr-modal-email:hover { background: #0a467c; }
.whr-modal-note { overflow-wrap: anywhere; font-size: 14px; }
.whr-modal-open { overflow: hidden; }

@media (max-width: 767px) {
  .whr-section { padding: 36px 0; }
  .whr-section > .inner, .whr-section-inner { width: calc(100% - 28px); }
  .whr-row > .inner, .whr-row-inner { flex-direction: column; gap: 20px; }
  .whr-column, #col-w2jQFSOKRv, #col-Gg8X0ghBmB,
  #row-j-ExvhUOp7 .whr-column, #row-WhCccftf1R .whr-column,
  #row-RJazxxSiud .whr-column, #row-PokKo68j_P .whr-column {
    flex: 1 1 auto; width: 100%;
  }
  #row-WvCNWvyokb > .inner, #row-WvCNWvyokb > .whr-row-inner {
    flex-direction: row; flex-wrap: nowrap; gap: 10px;
  }
  #col-UGvhK4tHGg { flex: 1 1 auto; width: auto; }
  #col-wKK-3qSk1f { flex: 0 0 auto; width: auto; }
  #button-iLXTcgC2sN .whr-button { font-size: 13px; padding: 10px 12px; }
  #col-wKLJgdB8f3 > .inner { padding: 22px; }
  #row-j-ExvhUOp7, #row-WhCccftf1R, #row-RJazxxSiud, #row-PokKo68j_P { padding: 18px; }
  .whr-slide img { height: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .whr-slider-track, .whr-button { transition: none; }
}



.whr-faq-answer:not([hidden]) {
    display: block;
}