/* Woodgate additions on top of the shared Smartland property design system (theme.css). */

/* ---------- Hero photo slideshow (stands in for the video hero) ---------- */
.wg-hero-slides { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.wg-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04); }
.wg-hero-slide.is-active { opacity: 1; animation: wgKen 9s ease-out forwards; }
@keyframes wgKen { from { transform: scale(1.04); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .wg-hero-slide.is-active { animation: none; } }

/* ---------- Smartland Alerts plugin banner, restyled like the design-system alert ---------- */
#smartland-alert-container .alert-banner { background: var(--accent) !important; color: #fff !important; padding: .55rem 2.5rem .55rem 1rem !important; text-align: center; font-size: .85rem; position: relative; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
#smartland-alert-container .container { max-width: 1200px; margin: 0 auto; padding: 0; }
#smartland-alert-container .alert-text, #smartland-alert-container .alert-text * { color: #fff !important; font-family: var(--font-sans); font-size: .85rem; line-height: 1.5; }
#smartland-alert-container a { text-decoration: underline; margin-left: .25rem; }

/* ---------- Gravity Forms in design-system cards ---------- */
.wg-theme .gform_wrapper { margin: 0 !important; }
.wg-theme .gform_wrapper .gform_heading, .wg-theme .gform_wrapper .gform_required_legend { display: none; }
.wg-theme .gform_wrapper .gform_fields { display: grid; grid-template-columns: 1fr; gap: .8rem !important; }
.wg-theme .gform_wrapper .gfield { margin: 0 !important; padding: 0 !important; }
.wg-theme .gform_wrapper .gfield_label, .wg-theme .gform_wrapper legend.gfield_label { font-size: .8rem !important; font-weight: 600 !important; color: var(--fg); margin-bottom: .3rem !important; font-family: var(--font-sans); }
.wg-theme .gform_wrapper .gfield_required { color: var(--brand-pink) !important; }
.wg-theme .gform_wrapper input[type=text], .wg-theme .gform_wrapper input[type=email], .wg-theme .gform_wrapper input[type=tel], .wg-theme .gform_wrapper input[type=number], .wg-theme .gform_wrapper input[type=date], .wg-theme .gform_wrapper select, .wg-theme .gform_wrapper textarea {
	width: 100% !important; padding: .72rem 1rem !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; font-size: .9rem !important; font-family: var(--font-sans) !important; color: var(--fg) !important; background: #fff !important; box-shadow: none !important; min-height: 44px; line-height: 1.3 !important; }
.wg-theme .gform_wrapper textarea { min-height: 120px; }
.wg-theme .gform_wrapper input:focus, .wg-theme .gform_wrapper select:focus, .wg-theme .gform_wrapper textarea:focus { border-color: var(--brand-pink) !important; outline: none !important; }
.wg-theme .gform_wrapper .ginput_complex { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.wg-theme .gform_wrapper .ginput_complex label { font-size: .72rem; color: var(--fg-muted); }
.wg-theme .gform_wrapper .gform_footer, .wg-theme .gform_wrapper .gform_page_footer { margin: 1rem 0 0 !important; padding: 0 !important; }
.wg-theme .gform_wrapper .gform_button, .wg-theme .gform_wrapper input[type=submit], .wg-theme .gform_wrapper button[type=submit] {
	width: 100%; background: var(--brand-pink) !important; color: #fff !important; border: 0 !important; border-radius: var(--radius-md) !important; padding: .9rem 1.5rem !important; font-family: var(--font-sans) !important; font-weight: 600 !important; font-size: .95rem !important; cursor: pointer; transition: background .15s; }
.wg-theme .gform_wrapper .gform_button:hover, .wg-theme .gform_wrapper input[type=submit]:hover { background: var(--brand-pink-dark) !important; }
.wg-theme .gform_wrapper .gfield_description, .wg-theme .gform_wrapper .validation_message { font-size: .78rem; }
.wg-theme .gform_wrapper .gform_validation_errors { border-radius: var(--radius-sm); }
.wg-theme .gform_confirmation_message { padding: 1rem; border-radius: var(--radius-md); background: rgba(16,185,129,.1); color: #065f46; font-weight: 600; }
.wg-theme .gform_wrapper .ginput_container_radio .gchoice, .wg-theme .gform_wrapper .ginput_container_checkbox .gchoice { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1rem; }
.wg-theme .gform_wrapper .gfield--type-captcha, .wg-theme .gform_wrapper .ginput_recaptcha { margin-top: .25rem; }
@media (min-width: 640px) {
	.bwt-tour-card .gform_wrapper .gform_fields, .bwt-contact-form-card .gform_wrapper .gform_fields { grid-template-columns: 1fr 1fr; }
	.bwt-tour-card .gform_wrapper .gfield--width-full, .bwt-contact-form-card .gform_wrapper .gfield--width-full,
	.bwt-tour-card .gform_wrapper .gfield--type-textarea, .bwt-contact-form-card .gform_wrapper .gfield--type-textarea,
	.bwt-tour-card .gform_wrapper .gfield--type-captcha, .bwt-contact-form-card .gform_wrapper .gfield--type-captcha,
	.bwt-tour-card .gform_wrapper .gfield--type-name, .bwt-contact-form-card .gform_wrapper .gfield--type-name,
	.bwt-tour-card .gform_wrapper .gfield--type-radio, .bwt-tour-card .gform_wrapper .gfield--type-html { grid-column: 1 / -1; }
	.bwt-tour-card .gform_wrapper .gform_button { width: auto; }
}
/* Dark hero form card */
.bwt-form-card--dark .gform_wrapper .gfield_label, .bwt-form-card--dark .gform_wrapper .ginput_complex label, .bwt-form-card--dark .gform_wrapper .gfield_description { color: rgba(255,255,255,.85) !important; }
.bwt-form-card--dark .gform_wrapper input[type=text], .bwt-form-card--dark .gform_wrapper input[type=email], .bwt-form-card--dark .gform_wrapper input[type=tel], .bwt-form-card--dark .gform_wrapper textarea, .bwt-form-card--dark .gform_wrapper select {
	background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.22) !important; color: #fff !important; }
.bwt-form-card--dark .gform_wrapper input::placeholder, .bwt-form-card--dark .gform_wrapper textarea::placeholder { color: rgba(255,255,255,.5) !important; }
.bwt-form-card--dark .wg-noscript, .bwt-form-card--dark .slwg-contactline, .bwt-form-card--dark .slwg-contactline a { color: rgba(255,255,255,.85); }
.slwg-contactline { font-size: .8rem; color: var(--fg-muted); margin: .75rem 0 0; line-height: 1.5; }
.slwg-contactline a { color: var(--brand-pink); }
.wg-noscript { font-size: .85rem; }

/* ---------- Small additions ---------- */
.wg-special-note { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--radius-md); background: rgba(235,20,110,.06); border: 1px solid rgba(235,20,110,.2); font-size: .92rem; }
.wg-floor-price { display: block; font-family: var(--font-sans); font-size: .9rem; font-weight: 600; color: var(--brand-pink); margin-top: .2rem; }
.wg-review-src { font-weight: 400; color: var(--fg-muted); font-size: .8rem; }
.bwt-reviews .bwt-lead a { color: var(--brand-pink); text-decoration: underline; }
.wg-drawer-phone { margin-top: 1rem; }
.wg-drawer-phone a { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; color: var(--brand-navy); }
.wg-grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important; }
.wg-fees .bwt-kitchen-specs__list li { align-items: flex-start; }
.wg-footer-hours { color: rgba(255,255,255,.7); font-size: .88rem; }
.wg-nbhd-note { margin-top: 1rem; color: var(--fg-muted); font-size: .9rem; }
.wg-distances .bwt-avail-now__table td:first-child { font-weight: 600; }
.wg-event-noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; background: var(--bg-muted); color: var(--brand-pink); }
.wg-past { color: var(--brand-pink); font-weight: 600; font-size: .85rem; }
.wg-tour-where { margin-top: 1rem; }
.wg-tour-where .bwt-btn { margin-top: .75rem; }
.bwt-360__preview { display: block; }
.bwt-360__preview img { width: 100%; height: 100%; object-fit: cover; }
.neighborhood-page__category-item.is-active { border-color: var(--brand-pink); color: var(--brand-pink); }

/* Existing nearby-places map (Update Google Nearby Records) inside the design-system map panel */
.wg-nearby-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.wg-nearby-map .map-container { position: relative; }
.wg-nearby-map .placeDiv { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: .75rem 1rem; max-width: 300px; font-family: var(--font-sans); }
.wg-nearby-map .placecard__container { display: flex; gap: .75rem; align-items: flex-start; }
.wg-nearby-map .placecard__business-name { font-weight: 700; margin: 0; font-size: .95rem; color: var(--fg); }
.wg-nearby-map .placecard__info { margin: .15rem 0 .35rem; font-size: .82rem; color: var(--fg-muted); }
.wg-nearby-map .placecard__view-large, .wg-nearby-map .placecard__direction-link { font-size: .8rem; color: var(--brand-pink); font-weight: 600; }
.wg-nearby-map #map { min-height: 520px; }

/* Legacy page content rendered inside .bwt-prose (privacy, terms, thank you) */
.bwt-prose .elementor-section .elementor-container { max-width: 100%; }
.bwt-prose img { height: auto; }

/* ---------- Fluent Forms in design-system cards (same look as the other Smartland sites) ---------- */
.wg-form .fluentform { margin: 0; font-family: var(--font-sans); }
.wg-form .fluentform .ff-el-group { margin-bottom: .8rem; }
.wg-form .fluentform .ff-el-input--label { margin-bottom: .3rem; }
.wg-form .fluentform .ff-el-input--label label { font-size: .8rem; font-weight: 600; color: var(--fg); letter-spacing: .01em; }
.wg-form .fluentform .ff-el-is-required.asterisk-right label:after, .wg-form .fluentform .ff-el-is-required .ff-asterisk { color: var(--brand-pink); }
.wg-form .fluentform .ff-el-form-control { width: 100%; padding: .72rem 1rem; min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; font-family: inherit; color: var(--fg); background: #fff; box-shadow: none; line-height: 1.3; transition: border-color .15s; }
.wg-form .fluentform textarea.ff-el-form-control { min-height: 120px; }
.wg-form .fluentform .ff-el-form-control:focus { border-color: var(--brand-pink); outline: none; box-shadow: none; }
.wg-form .fluentform select.ff-el-form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c6873' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.5rem; }
.wg-form .fluentform .ff-t-container { gap: .6rem; }
.wg-form .fluentform .ff-t-cell { padding: 0 !important; }
.wg-form .fluentform .ff_submit_btn_wrapper { margin: 1rem 0 0; }
.wg-form .fluentform .ff-btn-submit, .wg-form .fluentform button.ff-btn.ff-btn-submit.ff_btn_style { width: 100%; background: var(--brand-pink) !important; color: #fff !important; border: 0; border-radius: var(--radius-md); padding: .9rem 1.5rem; font-family: var(--font-sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em; cursor: pointer; transition: background .15s; box-shadow: none; }
.wg-form .fluentform .ff-btn-submit:hover { background: var(--brand-pink-dark) !important; opacity: 1; }
.wg-form .fluentform .text-danger, .wg-form .fluentform .error { font-size: .78rem; color: #c0392b; margin-top: .25rem; }
.wg-form .ff-message-success { padding: 1rem; border-radius: var(--radius-md); background: rgba(16,185,129,.1); color: #065f46; font-weight: 600; border: 0; box-shadow: none; }
.wg-form .ff-errors-in-stack { font-size: .85rem; }
.wg-form .ff-el-recaptcha, .wg-form .ff-el-hcaptcha, .wg-form .ff-el-turnstile { margin-top: .25rem; }
.wg-form .slwg-contactline { margin-top: .75rem; }
/* Dark hero card */
.bwt-form-card--dark .wg-form .fluentform .ff-el-input--label label { color: rgba(255,255,255,.85); }
.bwt-form-card--dark .wg-form .fluentform .ff-el-form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.bwt-form-card--dark .wg-form .fluentform .ff-el-form-control::placeholder { color: rgba(255,255,255,.5); }
.bwt-form-card--dark .wg-form .fluentform .ff-el-form-control:focus { border-color: rgba(255,255,255,.6); }
.bwt-form-card--dark .wg-form .slwg-contactline, .bwt-form-card--dark .wg-form .slwg-contactline a, .bwt-form-card--dark .wg-form .wg-noscript { color: rgba(255,255,255,.85); }
/* Two-column layout on the tour and contact cards (first/last name, email/phone, dates) */
@media (min-width: 640px) {
	.bwt-tour-card .wg-form .frm-fluent-form fieldset, .bwt-contact-form-card .wg-form .frm-fluent-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
	.bwt-tour-card .wg-form .frm-fluent-form fieldset > *, .bwt-contact-form-card .wg-form .frm-fluent-form fieldset > * { grid-column: 1 / -1; }
	.bwt-tour-card .wg-form .frm-fluent-form fieldset > .ff-el-group:has(input[type=email]), .bwt-tour-card .wg-form .frm-fluent-form fieldset > .ff-el-group:has(input[type=tel]),
	.bwt-tour-card .wg-form .frm-fluent-form fieldset > .ff-el-group:has([name^=move_in]), .bwt-tour-card .wg-form .frm-fluent-form fieldset > .ff-el-group:has([name^=appointment_date]),
	.bwt-tour-card .wg-form .frm-fluent-form fieldset > .ff-el-group:has([name^=first_name]), .bwt-tour-card .wg-form .frm-fluent-form fieldset > .ff-el-group:has([name^=last_name]),
	.bwt-contact-form-card .wg-form .frm-fluent-form fieldset > .ff-el-group:has(input[type=email]), .bwt-contact-form-card .wg-form .frm-fluent-form fieldset > .ff-el-group:has([name^=your_name]) { grid-column: auto; }
	.bwt-tour-card .wg-form .fluentform .ff-btn-submit { width: auto; padding: .85rem 2rem; }
}
