/* Wiregrass Home plugin — rental homes, gallery, video, forms, Gravity Forms styling, widget extras. */

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #222; transform: translateY(-2px); }
.btn-line { border: 1px solid rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn-line:hover { background: var(--white); color: var(--black); }
.light .btn-line, .section:not(.dark) .btn-line { border-color: var(--black); color: var(--black); }

/* Spacing options */
.wh-pad-no-top { padding-top: 0 !important; }
.wh-pad-tight { padding-top: clamp(44px, 5vw, 64px) !important; padding-bottom: clamp(44px, 5vw, 64px) !important; }

/* Rich text inside widgets */
.wh-rich > * + * { margin-top: 1em; }
.wh-rich p { margin: 0 0 1em; }
.wh-rich p:last-child { margin-bottom: 0; }
.wh-rich a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.wh-before { margin-bottom: 26px; }
.wh-after { margin-top: 22px; }
.wh-stack { max-width: 920px; }
.sec-intro { margin-top: 24px; max-width: 760px; }
.sec-intro p { margin: 0 0 .8em; }
.page-hero .intro.big-first > p:first-child { font-family: var(--head); font-weight: 300; font-size: 21px; color: var(--white); line-height: 1.5; }
@media (max-width: 559px) { .page-hero .intro.big-first > p:first-child { font-size: 18px; } }
.info-split .kicker { font-family: var(--head); font-size: clamp(30px, 3vw, 40px); font-weight: 300; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; margin: 26px 0 34px; }
.info-split .kicker strong { font-weight: 700; color: var(--black); }
.dark .info-split .kicker, .dark .info-split .kicker strong { color: var(--white); }
.wh-after, .wh-rich { color: inherit; }
.dark .wh-rich, .black .wh-rich { color: rgba(255, 255, 255, .86); }

/* Lists inside cards and steps look like the red-dash lists */
.detail .wh-rich ul, .step-row .wh-rich ul, .step-row ul, .cond .wh-rich ul, .option .wh-rich ul, .opt .wh-rich ul, .panel .wh-rich ul, .compare .wh-rich ul {
  list-style: none; margin: 6px 0 22px; padding: 0; border-top: 1px solid #c4c4cc; display: grid; column-gap: 28px;
}
@media (min-width: 720px) { .detail .wh-rich ul, .step-row ul { grid-template-columns: 1fr 1fr; } }
.detail .wh-rich li, .step-row li, .cond .wh-rich li, .option .wh-rich li, .opt .wh-rich li, .panel .wh-rich li, .compare .wh-rich li {
  display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid #d6d6db; font-family: var(--head); font-weight: 300; font-size: 15px; color: var(--ink); line-height: 1.5;
}
.detail .wh-rich li::before, .step-row li::before, .cond .wh-rich li::before, .option .wh-rich li::before, .opt .wh-rich li::before, .panel .wh-rich li::before, .compare .wh-rich li::before {
  content: ""; width: 20px; height: 2px; background: var(--red); flex-shrink: 0;
}
.black .wh-rich ul, .dark .step-row ul { border-top-color: #333; }
.black .wh-rich li, .dark .step-row li { color: var(--white); border-bottom-color: #262626; }
.step .wh-rich p, .step p { font-size: 15px; line-height: 1.65; margin: 0; color: rgba(255, 255, 255, .8); }
.compare .btn-row, .duo .btn-row { margin-top: 26px; }
.compare .wh-after { margin: 26px 0 0; }
.compare > div > .dash-list { margin-top: 6px; }
.wd-text .more { margin-top: 18px; }
.cond .legal, .option .legal { display: block; font-size: 13.5px; line-height: 1.6; color: var(--text); border-left: 2px solid var(--red); padding-left: 14px; margin: 0 0 24px; }
.guide .wh-rich { font-size: 14.5px; }
.option .wh-rich:empty { display: none; }
.articles a { transition: color .25s; }
.articles a:hover { color: var(--red); }
.articles .article > span:last-child svg { width: 18px; height: 18px; color: var(--red); }

/* Empty state: no homes available */
.wh-empty { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; background: var(--black); color: var(--white); padding: clamp(32px, 5vw, 58px); position: relative; overflow: hidden; }
.wh-empty::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 36, 47, .35), transparent 70%); pointer-events: none; }
.wh-empty .bell { width: 64px; height: 64px; border: 1px solid #333; display: grid; place-items: center; color: var(--red); }
.wh-empty .bell svg { width: 28px; height: 28px; animation: ring 3.2s ease-in-out infinite; transform-origin: 50% 10%; }
.wh-empty .title { color: var(--white); margin-bottom: 22px; }
.wh-empty p { color: rgba(255, 255, 255, .86); max-width: 680px; }
.wh-empty .btn-row { margin-top: 28px; }
@media (max-width: 640px) { .wh-empty { grid-template-columns: 1fr; } }
.wh-editor-hint { margin: 14px 0 0; padding: 10px 14px; background: #fff7d6; border-left: 3px solid #e0b100; font-size: 13px; color: #5c4a00; }

/* Listing cards from the database */
.listing .listing-img { position: relative; display: block; }
.listing .listing-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.listing .addr a { color: inherit; }
.listing .addr a:hover { color: var(--red); }
.listing .specs b { font-weight: 600; margin-right: 2px; }
.listing.is-leased .listing-img img { filter: grayscale(.85); }
.wh-badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: var(--red); color: var(--white); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.wh-badge.off { background: var(--black); }

/* Status label */
.wh-status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
.wh-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--white); animation: pulse 1.8s infinite; }
.wh-status.off { background: transparent; border: 1px solid rgba(255, 255, 255, .5); }
.wh-status.off::before { background: #888; animation: none; }
.prop-card .wh-status.off { border-color: #c9c9cf; color: var(--ink); }

/* Rental home page */
.prop-hero .container { padding-bottom: 72px; }
.prop-facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 10px 0 34px; border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); max-width: 860px; }
.prop-facts > div { padding: 18px 28px 18px 0; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, .18); }
.prop-facts > div:last-child { border-right: 0; margin-right: 0; }
.prop-facts .v { display: block; font-family: var(--head); font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; color: var(--white); line-height: 1.1; }
.prop-facts .l { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
@media (max-width: 559px) { .prop-facts > div { padding-right: 16px; margin-right: 16px; } }
.prop-grid { display: grid; gap: 40px; }
@media (min-width: 1020px) { .prop-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; } } @media (min-width: 1020px) and (min-height: 780px) { .prop-side { position: sticky; top: 110px; } .admin-bar .prop-side { top: 142px; } }
.prop-block { margin-top: 56px; }
.prop-block:first-child { margin-top: 0; }
.prop-block .eyebrow { margin-bottom: 22px; }
.prop-block .lead-p { margin-bottom: 20px; }
.prop-block .entry { max-width: none; }
.prop-card { background: var(--black); color: var(--white); padding: 34px 32px; position: relative; overflow: hidden; }
.prop-card .price { color: var(--white); font-size: 36px; }
.prop-card .price small { color: rgba(255, 255, 255, .7); }
.prop-card .addr { color: rgba(255, 255, 255, .86); margin: 6px 0 22px; font-size: 15px; }
.prop-card .wh-status { margin-bottom: 20px; }
.prop-card .wh-status.off { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.prop-dl { display: grid; grid-template-columns: auto 1fr; margin: 0 0 26px; border-top: 1px solid #2a2a2a; }
.prop-dl dt, .prop-dl dd { margin: 0; padding: 11px 0; border-bottom: 1px solid #2a2a2a; font-size: 14.5px; }
.prop-dl dt { color: rgba(255, 255, 255, .65); padding-right: 18px; }
.prop-dl dd { color: var(--white); font-weight: 500; text-align: right; }
.prop-card .btn { width: 100%; }
.prop-note { margin: 16px 0 18px !important; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .65); }
.prop-card .more { color: var(--white); border-color: var(--red); width: 100%; }

/* Gallery */
.wh-gallery { position: relative; display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; }
.wh-gallery .g-item { position: relative; display: block; overflow: hidden; background: #ddd; }
.wh-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wh-gallery .g-item:hover img { transform: scale(1.05); }
.wh-gallery .g-main { grid-column: span 4; grid-row: span 3; }
.wh-gallery .g-hidden { display: none; }
.wh-gallery .g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: var(--white); font-family: var(--head); font-size: 28px; font-weight: 300; }
.wh-gallery .g-all { position: absolute; right: 16px; top: 16px; display: inline-flex; gap: 8px; min-height: 40px; padding: 0 16px; font-size: 11.5px; }
.wh-gallery .g-all svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .wh-gallery { grid-auto-rows: 80px; } .wh-gallery .g-main { grid-row: span 3; } }

.wh-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.wh-lightbox.open { display: flex; }
.wh-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wh-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.wh-lightbox figcaption { color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .1em; }
.wh-lightbox button { position: absolute; border: 0; background: transparent; color: var(--white); font-size: 44px; line-height: 1; width: 56px; height: 56px; cursor: pointer; }
.wh-lightbox button:hover { color: var(--red); }
.wh-lightbox .lb-close { top: 14px; right: 14px; font-size: 40px; }
.wh-lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.wh-lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .wh-lightbox { padding: 60px 10px; } .wh-lightbox .lb-prev, .wh-lightbox .lb-next { top: auto; bottom: 10px; transform: none; } }

/* Video */
.wh-video { position: relative; aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; cursor: pointer; overflow: hidden; }
.wh-video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); transition: opacity .3s; }
.wh-video:hover::before { opacity: .7; }
.wh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wh-video.is-loaded { cursor: default; }
.wh-video.is-loaded::before { display: none; }
.wh-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; border: 0; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 0 0 0 0 rgba(229, 36, 47, .5); animation: pulse 2.2s infinite; }
.wh-play svg { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }
.wh-video:hover .wh-play { transform: translate(-50%, -50%) scale(1.08); }

/* Built-in forms */
.wh-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.wh-form-err { margin: 0 0 20px; padding: 14px 18px; background: #fdecec; border-left: 3px solid var(--red); color: #7a1218; font-size: 14.5px; }
.form.sent .form-ok span { color: var(--white); }
.form.on-dark { background: #0a0a0a; border-color: #262626; }
.form.on-dark legend, .form.on-dark label { color: var(--white); }
.form.on-dark input, .form.on-dark select, .form.on-dark textarea { background: #141414; border-color: #333; color: var(--white); }
.form.on-dark input:focus, .form.on-dark select:focus, .form.on-dark textarea:focus { background: #1b1b1b; border-color: var(--red); }
.form.on-dark .submit-row p, .form.on-dark .file { color: rgba(255, 255, 255, .75); }
.form.on-dark .file { background: #141414; border-color: #3a3a3a; }

/* Gravity Forms in the Wiregrass style */
.wh-gf { --gf-color-primary: #e5242f; --gf-color-primary-rgb: 229, 36, 47; --gf-color-primary-darker: #c41b25; --gf-color-in-ctrl-primary: #e5242f;
  --gf-ctrl-border-color: #cfcfd5; --gf-ctrl-bg-color: #f4f4f4; --gf-ctrl-radius: 0; --gf-radius: 0; --gf-ctrl-btn-radius: 0; --gf-font-family-base: var(--body);
  --gf-ctrl-label-color-primary: #12121c; --gf-ctrl-label-font-weight-primary: 500; --gf-ctrl-label-font-size-primary: 13.5px; --gf-ctrl-font-size: 15px; --gf-ctrl-size-md: 50px; --gf-ctrl-outline-color-focus: #e5242f; }
.wh-gf .gform_wrapper, .wh-gf .gform_wrapper.gravity-theme { margin: 0; font-family: var(--body); }
.wh-gf .gform_title { font-family: var(--head); font-weight: 500; font-size: 20px; color: var(--ink); }
.wh-gf .gfield_label, .wh-gf .gform-field-label, .wh-gf legend.gfield_label { font-family: var(--body) !important; font-size: 13.5px !important; font-weight: 500 !important; color: var(--ink) !important; margin-bottom: 7px !important; }
.wh-gf .gfield_required { color: var(--red) !important; }
.wh-gf .gfield_required .gfield_required_text, .wh-gf .gfield_required_text { font-size: 11px; font-style: normal; font-weight: 400; }
.wh-gf input[type=text], .wh-gf input[type=email], .wh-gf input[type=tel], .wh-gf input[type=number], .wh-gf input[type=url], .wh-gf input[type=date], .wh-gf input[type=password], .wh-gf select, .wh-gf textarea {
  width: 100% !important; padding: 14px 16px !important; border: 1px solid #cfcfd5 !important; border-radius: 0 !important; background: #f4f4f4 !important;
  font: inherit !important; font-size: 15px !important; font-weight: 400 !important; color: var(--ink) !important; box-shadow: none !important; min-height: 50px; transition: border-color .25s, background .25s;
}
.wh-gf textarea { min-height: 130px; }
.wh-gf input:focus, .wh-gf select:focus, .wh-gf textarea:focus { outline: none !important; border-color: var(--red) !important; background: var(--white) !important; }
.wh-gf select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e5242f' stroke-width='1.6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; padding-right: 40px !important; }
.wh-gf .gfield_description, .wh-gf .gform_fileupload_rules, .wh-gf .ginput_complex label, .wh-gf .gform-field-label--type-sub { font-size: 12.5px !important; color: var(--text) !important; }
.wh-gf .gsection { border-bottom: 1px solid #dcdce0 !important; padding: 0 0 10px !important; margin-top: 18px; }
.wh-gf .gsection_title { font-family: var(--head) !important; font-size: 19px !important; font-weight: 500 !important; color: var(--ink) !important; }
.wh-gf .gfield_checkbox label, .wh-gf .gfield_radio label { font-weight: 400 !important; }
.wh-gf input[type=checkbox], .wh-gf input[type=radio] { accent-color: var(--red); }
.wh-gf .gform_drop_area { border: 1px dashed #b9b9c1 !important; background: #f4f4f4 !important; border-radius: 0 !important; }
.wh-gf .gform_footer, .wh-gf .gform_page_footer { padding-top: 10px !important; margin-top: 10px !important; }
.wh-gf .gform_button, .wh-gf .gform_next_button, .wh-gf .gform_previous_button, .wh-gf input[type=submit], .wh-gf button[type=submit], .wh-gf .gform_footer .button {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 47px !important; padding: 0 38px !important; border: 0 !important; border-radius: 0 !important;
  background: var(--red) !important; color: var(--white) !important; font-family: var(--body) !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: .07em !important;
  text-transform: uppercase !important; cursor: pointer; box-shadow: none !important; transition: background .25s, transform .25s;
}
.wh-gf .gform_button:hover, .wh-gf input[type=submit]:hover, .wh-gf button[type=submit]:hover { background: var(--red-dark) !important; transform: translateY(-2px); }
.wh-gf .gform_previous_button { background: var(--black) !important; }
.wh-gf .gform_validation_errors, .wh-gf .validation_error { border: 0 !important; border-left: 3px solid var(--red) !important; border-radius: 0 !important; background: #fdecec !important; box-shadow: none !important; }
.wh-gf .gform_validation_errors h2, .wh-gf .gform_submission_error { color: #7a1218 !important; font-size: 14.5px !important; font-family: var(--body) !important; }
.wh-gf .gfield_error input, .wh-gf .gfield_error select, .wh-gf .gfield_error textarea { border-color: var(--red) !important; }
.wh-gf .validation_message, .wh-gf .gfield_validation_message { background: none !important; border: 0 !important; padding: 6px 0 0 !important; color: var(--red) !important; font-size: 13px !important; }
.wh-gf .gform_confirmation_message { display: flex; gap: 14px; padding: 22px 24px; background: var(--black); color: var(--white); font-size: 15.5px; line-height: 1.6; }
.wh-gf .gf_progressbar_wrapper .gf_progressbar_percentage { background: var(--red) !important; border-radius: 0 !important; }
.wh-gf .gf_progressbar { border-radius: 0 !important; background: #e7e7ea !important; }
.wh-gf.on-dark { background: #0a0a0a; border-color: #262626; }
.wh-gf.on-dark .gfield_label, .wh-gf.on-dark .gform-field-label, .wh-gf.on-dark .gsection_title, .wh-gf.on-dark legend { color: var(--white) !important; }
.wh-gf.on-dark input[type=text], .wh-gf.on-dark input[type=email], .wh-gf.on-dark input[type=tel], .wh-gf.on-dark select, .wh-gf.on-dark textarea { background-color: #141414 !important; border-color: #333 !important; color: var(--white) !important; }
.wh-gf.on-dark .gfield_description, .wh-gf.on-dark .ginput_complex label { color: rgba(255, 255, 255, .7) !important; }

/* Empty slot that keeps the notification card on the right */
.wh-slot { display: none; }
@media (min-width: 1060px) {
  .wh-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px; text-align: center; border: 1px dashed #cfcfd5; background: repeating-linear-gradient(135deg, #f7f7f8 0 14px, #f1f1f3 14px 28px); color: #9a9aa3; }
  .wh-slot svg { width: 46px; height: 46px; stroke-width: 1.4; color: #c4c4cc; }
  .wh-slot span { font-family: var(--head); font-weight: 300; font-size: 16px; max-width: 220px; line-height: 1.5; }
}

/* Theme styles win over Elementor Kit link/button rules (any Kit) */
body a.btn.btn-red, body a.btn.btn-red:hover, body a.btn.btn-dark, body a.btn.btn-dark:hover, body button.btn.btn-red { color: #fff; }
body a.btn.btn-white { color: #000; }
body a.btn.btn-white:hover { color: #fff; }
body .dark a.btn.btn-line, body .hero a.btn.btn-line { color: #fff; }
body .header .nav a { color: var(--ink); }
body .drawer nav a, body .drawer .logo, body .footer a, body .strip a, body .market, body .dark .duo a, body .notify, body .prop-card .more { color: #fff; }
body .footer ul a { color: inherit; }
body .footer .flogo span { color: var(--red); }
body .header .logo { color: var(--ink); }
body .listing .addr a, body .topics a, body .chip-c, body .mlink, body .guide, body .duo > a:not(.black), body .articles a { color: var(--ink); }
body .dark .articles a, body .duo > a.black { color: #fff; }
body a.more, body .link-arrow { color: var(--red); }
body .crumbs a { color: inherit; }
body .to-top, body .burger, body .wh-play, body .wh-lightbox button { padding: 0; min-height: 0; letter-spacing: normal; text-transform: none; box-shadow: none; }
body .burger { background: transparent; color: var(--ink); border: 1px solid var(--line); }
body .drawer .burger { color: #fff; border-color: #333; }
body .to-top { background: var(--red); color: #fff; border: 0; }

/* Native Elementor buttons follow the design */
.elementor-button { border-radius: 0; font-family: var(--body); font-weight: 600; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; background-color: var(--red); color: #fff; padding: 16px 38px; transition: background .25s, transform .25s; }
.elementor-button:hover { background-color: var(--red-dark); color: #fff; transform: translateY(-2px); }

/* Column breathing room for title-left / content-right sections */
@media (min-width: 980px) {
  .split { column-gap: 64px; }
  .info-split > div:first-child .wh-rich, .info-split > div:first-child .kicker { max-width: 460px; }
}
body .faq summary { padding: 19px 16px; }
@media (max-width: 559px) { body .faq summary { padding: 16px 4px; } }

/* Spotlight overflow guard */
.spot { overflow: hidden; }

/* Admin bar preview label */
#wpadminbar .wh-preview-node > .ab-item { background: #e5242f !important; color: #fff !important; }
