/* =====================================================================
   VICTORIABC – RENT HOME LISTING (ONLY THIS PAGE)
   Cinematic dark hero + floating white form card
   ===================================================================== */

/* ---------- Global shell ---------- */

:root {
  --vic-bg: #020617;
  --vic-surface: #020617;
  --vic-surface-soft: #0b1120;
  --vic-border: #1f2937;
  --vic-accent: #dbae77;
  --vic-accent-soft: #fce0ae;
  --vic-text: #f9fafb;
  --vic-text-muted: #9ca3af;
}

body.site.blank.template27 {
  background: radial-gradient(circle at top, #02061b 0, #020617 40%, #02010a 100%);
  color: var(--vic-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.site.blank.template27 .md-header.layout3 .header-bg,
body.site.blank.template27 .md-footer.layout6 {
  background: #050608;
}

/* =====================================================================
   HERO
   ===================================================================== */

body.site.blank.template27 .md-banner.layout4.mg-bg {
  padding: 110px 0 180px;
  background: radial-gradient(circle at top, #02061b 0, #020617 45%, #020617 100%) !important;
  color: var(--vic-text);
}

/* wider hero container */
body.site.blank.template27 .md-banner.layout4 .banner-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* hero title wrapper */
body.site.blank.template27 .md-banner.layout4 .site-title.left {
  margin: 0 0 18px;
  text-align: left;
  position: relative;
  z-index: 5;
}

/* main heading */
body.site.blank.template27 .md-banner.layout4 .site-title.left h2 {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #f9fafb;
  text-shadow: 0 4px 18px rgba(15, 23, 42, 0.7);
  position: relative;
  display: inline-block;
}

/* underline accent */
body.site.blank.template27 .md-banner.layout4 .site-title.left h2::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -12px;
  width: 180px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vic-accent-soft), var(--vic-accent));
  box-shadow: 0 0 20px rgba(219, 174, 119, 0.8);
}

/* span inside heading */
body.site.blank.template27 .md-banner.layout4 .site-title.left span {
  font-size: 1em !important;
}

/* hero card: image + copy */
body.site.blank.template27 .md-banner.layout4 .banner-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #111827 0, #020617 55%, #020617 100%);
  box-shadow:
    0 40px 110px rgba(15, 23, 42, 0.92),
    0 0 0 1px rgba(30, 64, 175, 0.5);
}

/* left: hero image wrapper – override template cut */
body.site.blank.template27 .md-banner.layout4 .banner-content .image-wrap {
  width: 100% !important;
  aspect-ratio: auto !important;
  clip-path: none !important;
  overflow: hidden;
  position: relative;
}

/* banner inside wrapper */
body.site.blank.template27 .md-banner.layout4 .image-wrap .banner.single {
  min-height: 430px;
  border-radius: 0;
}

/* keep image centered and strong */
body.site.blank.template27 .md-banner.layout4 .image-wrap .single-picture {
  filter: saturate(1.08) contrast(1.05);
  background-size: cover !important;
  background-position: center center !important;
}

/* gradient overlay on image */
body.site.blank.template27 .md-banner.layout4 .image-wrap .banner-mask {
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.95) 0%,
    rgba(2, 6, 23, 0.75) 24%,
    rgba(2, 6, 23, 0.15) 70%,
    rgba(2, 6, 23, 0.4) 100%
  ) !important;
}

/* highlight layer */
body.site.blank.template27 .md-banner.layout4 .image-wrap .banner.single::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    radial-gradient(circle at bottom right, rgba(219, 174, 119, 0.45), transparent 60%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* right: glass information block */
body.site.blank.template27 .md-banner.layout4 .text-wrap {
  position: relative;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px 24px 26px;
  max-width: none !important;
  width: 100%;
}

/* inner glass card */
body.site.blank.template27 .md-banner.layout4 .text-wrap .site-p {
  position: relative;
  width: 100%;
  padding: 26px 24px 24px;
  border-radius: 24px;
  background: rgba(12, 16, 32, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(30, 64, 175, 0.75);
  overflow: hidden;
}

@supports (backdrop-filter: blur(18px)) {
  body.site.blank.template27 .md-banner.layout4 .text-wrap .site-p {
    backdrop-filter: blur(18px);
    background: linear-gradient(
      135deg,
      rgba(12, 20, 38, 0.96),
      rgba(6, 8, 20, 0.98)
    );
  }
}

/* top accent pill */
body.site.blank.template27 .md-banner.layout4 .text-wrap .site-p::before {
  content: "LOCAL RENTAL HUB · VICTORIA BC";
  position: absolute;
  top: 14px;
  left: 18px;
  padding: 3px 12px 4px;
  border-radius: 999px;
  background: rgba(219, 174, 119, 0.12);
  border: 1px solid rgba(219, 174, 119, 0.95);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fef3c7;
}

/* big quote mark */
body.site.blank.template27 .md-banner.layout4 .text-wrap .site-p::after {
  content: "“";
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 170px;
  line-height: 1;
  color: rgba(31, 41, 55, 0.88);
  right: -6px;
  bottom: -80px;
  pointer-events: none;
}

/* text typography */
body.site.blank.template27 .md-banner.layout4 .text-wrap .site-p p {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(249, 250, 251, 0.9);
}

body.site.blank.template27 .md-banner.layout4 .text-wrap .site-p p span {
  font-size: 1em !important;
}

/* first line emphasis */
body.site.blank.template27 .md-banner.layout4 .text-wrap .site-p p:first-child span {
  display: block;
  font-size: 17px !important;
  font-weight: 600;
  color: #fef9c3;
}

/* last line CTA style */
body.site.blank.template27 .md-banner.layout4 .text-wrap .site-p p:last-child span {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #facc6b;
}

/* =====================================================================
   FORM CARD – wide floating panel
   ===================================================================== */

body.site.blank.template27 .md-list-your-home.standard {
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 100px,
    #f3f4f6 100px,
    #f3f4f6 100%
  );
}

body.site.blank.template27 .md-list-your-home.standard .mg-container {
  max-width: 1240px;
  margin: -90px auto 90px;
  background: #ffffff;
  border-radius: 26px;
  padding: 30px 28px 36px;
  position: relative;
  z-index: 10;
  box-shadow:
    0 32px 90px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(209, 213, 219, 0.9);
}

/* glowing top line */
body.site.blank.template27 .md-list-your-home.standard .mg-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vic-accent-soft), var(--vic-accent));
}

/* section titles */
body.site.blank.template27 .md-list-your-home.standard .configTitle {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
  margin: 18px 0 14px;
}

/* step labels */
body.site.blank.template27 .md-list-your-home.standard h3.configTitle:first-of-type::before,
body.site.blank.template27 .md-list-your-home.standard .configTitle:nth-of-type(2)::before {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
  display: block;
  margin-bottom: 2px;
}

body.site.blank.template27 .md-list-your-home.standard h3.configTitle:first-of-type::before {
  content: "STEP 1";
}

body.site.blank.template27 .md-list-your-home.standard .configTitle:nth-of-type(2)::before {
  content: "STEP 2";
}

/* field labels */
body.site.blank.template27 .md-list-your-home.standard .option-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #4b5563;
}

body.site.blank.template27 .md-list-your-home.standard .option-title .required {
  color: #dc2626;
}

/* tabs */
body.site.blank.template27 .md-list-your-home.standard .nav-bar {
  margin: 8px 0 22px;
  display: inline-flex;
  border-radius: 999px;
  padding: 3px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

body.site.blank.template27 .md-list-your-home.standard .nav-bar .nav-item {
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #6b7280;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.site.blank.template27 .md-list-your-home.standard .nav-bar .nav-item.active {
  background: linear-gradient(120deg, var(--vic-accent-soft), var(--vic-accent));
  color: #111827;
  box-shadow: 0 12px 30px rgba(148, 114, 70, 0.45);
}

/* =====================================================================
   FIELDS
   ===================================================================== */

body.site.blank.template27 .md-list-your-home.standard .input_container.standard,
body.site.blank.template27 .md-list-your-home.standard .textarea-input,
body.site.blank.template27 .md-list-your-home.standard .upload-img .container,
body.site.blank.template27 .md-list-your-home.standard .upload-vedio .input_container,
body.site.blank.template27 .md-list-your-home.standard .chime-datepicker .date-picker-input-wrapper {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

body.site.blank.template27 .md-list-your-home.standard .input_container.standard .input,
body.site.blank.template27 .md-list-your-home.standard .textarea-input .textarea,
body.site.blank.template27 .md-list-your-home.standard .chime-datepicker input[name="date"] {
  font-size: 14px;
  color: #111827;
}

/* focus glow */
body.site.blank.template27 .md-list-your-home.standard .input_container.standard.input-height:focus-within,
body.site.blank.template27 .md-list-your-home.standard .textarea-input:focus-within,
body.site.blank.template27 .md-list-your-home.standard .address .input_container.standard:focus-within,
body.site.blank.template27 .md-list-your-home.standard .chime-datepicker .date-picker-input-wrapper:focus-within,
body.site.blank.template27 .md-list-your-home.standard .im-select .input_container.standard.readonly:focus-within {
  border-color: var(--vic-accent);
  box-shadow:
    0 0 0 1px rgba(219, 174, 119, 0.9),
    0 0 0 6px rgba(219, 174, 119, 0.22);
  background: #ffffff;
}

/* select look */
body.site.blank.template27 .md-list-your-home.standard .im-select .input_container.standard.readonly {
  cursor: pointer;
}

/* dropdown container */
body.site.blank.template27 .md-list-your-home.standard .im-select-dropdown.standard {
  border-radius: 14px;
  border-color: #e5e7eb;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.35);
  z-index: 50;
  max-height: none;
  background: #ffffff;
}

/* dropdown body */
body.site.blank.template27 .md-list-your-home.standard .im-select-dropdown.standard .im-select-body {
  max-height: 320px;
  overflow-y: auto;
}

/* fix label clipping coming from main css */
body.site.blank.template27 .md-list-your-home.standard .im-select-option .item .label {
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: unset !important;
}

/* allow dropdowns to overflow card */
body.site.blank.template27 .md-list-your-home.standard,
body.site.blank.template27 .md-list-your-home.standard .mg-container {
  overflow: visible;
}

body.site.blank.template27 .md-list-your-home.standard .im-select-option .item {
  padding: 9px 12px;
  border-radius: 10px;
}

body.site.blank.template27 .md-list-your-home.standard .im-select-option .item:hover {
  background: #eef2ff;
}

body.site.blank.template27 .md-list-your-home.standard .im-select-option .item.selected {
  background: rgba(219, 174, 119, 0.18);
  color: #92400e;
}

/* suffix text */
body.site.blank.template27 .md-list-your-home.standard .inputAppend {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}

/* textarea */
body.site.blank.template27 .md-list-your-home.standard .textarea-input {
  padding: 10px 12px 8px;
}

body.site.blank.template27 .md-list-your-home.standard .textarea-input .textarea {
  min-height: 110px;
  resize: vertical;
}

body.site.blank.template27 .md-list-your-home.standard .textarea-input .number-area {
  font-size: 11px;
  color: #9ca3af;
}

/* image upload */
body.site.blank.template27 .md-list-your-home.standard .upload-img .container {
  padding: 10px 12px;
}

body.site.blank.template27 .md-list-your-home.standard .upload-img .upload {
  border-radius: 10px;
  border: 1px dashed rgba(107, 114, 128, 0.75);
  padding: 12px 14px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: #4b5563;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

body.site.blank.template27 .md-list-your-home.standard .upload-img .upload i {
  font-size: 20px;
}

/* video upload button */
body.site.blank.template27 .md-list-your-home.standard .upload-vedio .uploadBtn {
  border-radius: 999px;
  padding: 7px 16px;
  background: #111827;
  color: #f9fafb;
  border: 1px solid #111827;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* open house link */
body.site.blank.template27 .md-list-your-home.standard .open-house .addTime {
  margin-top: 8px;
  font-size: 13px;
  color: #2563eb;
  cursor: pointer;
}

/* error messages */
body.site.blank.template27 .md-list-your-home.standard .error-message,
body.site.blank.template27 .md-list-your-home.standard .msg {
  font-size: 12px;
  color: #b91c1c;
}

/* =====================================================================
   CTA BUTTON
   ===================================================================== */

body.site.blank.template27 .md-list-your-home.standard .submit-wrap {
  margin-top: 30px;
  text-align: right;
}

body.site.blank.template27 .md-list-your-home.standard .submit-wrap .submit {
  min-width: 210px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111827;
  background: linear-gradient(120deg, var(--vic-accent-soft), var(--vic-accent));
  box-shadow:
    0 18px 40px rgba(148, 114, 70, 0.7),
    0 0 0 1px rgba(148, 114, 70, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

body.site.blank.template27 .md-list-your-home.standard .submit-wrap .submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    0 20px 46px rgba(148, 114, 70, 0.9),
    0 0 0 1px rgba(148, 114, 70, 0.65);
}

body.site.blank.template27 .md-list-your-home.standard .submit-wrap .submit:active {
  transform: translateY(0);
  box-shadow:
    0 10px 26px rgba(148, 114, 70, 0.75),
    0 0 0 1px rgba(148, 114, 70, 0.75);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 959.98px) {
  body.site.blank.template27 .md-banner.layout4.mg-bg {
    padding: 90px 0 140px;
  }

  body.site.blank.template27 .md-banner.layout4 .site-title.left h2 {
    font-size: 30px;
  }

  body.site.blank.template27 .md-banner.layout4 .banner-content {
    grid-template-columns: minmax(0, 1fr);
  }

  body.site.blank.template27 .md-banner.layout4 .image-wrap .banner.single {
    min-height: 320px;
  }

  body.site.blank.template27 .md-banner.layout4 .text-wrap {
    padding: 22px;
  }

  body.site.blank.template27 .md-list-your-home.standard .mg-container {
    margin: -70px 16px 80px;
    padding: 24px 18px 30px;
    border-radius: 22px;
  }

  body.site.blank.template27 .md-list-your-home.standard .mg-container::before {
    left: 18px;
    right: 18px;
  }

  body.site.blank.template27 .md-list-your-home.standard .submit-wrap {
    text-align: center;
  }

  body.site.blank.template27 .md-list-your-home.standard .submit-wrap .submit {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  body.site.blank.template27 .md-banner.layout4 .site-title.left h2 {
    font-size: 26px;
  }

  body.site.blank.template27 .md-list-your-home.standard .nav-bar {
    width: 100%;
    justify-content: space-between;
  }

  body.site.blank.template27 .md-list-your-home.standard .nav-bar .nav-item {
    flex: 1 1 0;
    text-align: center;
    padding-inline: 10px;
  }
}
