- /*
 Theme Name:   WPResidence Child Theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WPResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      5.4.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* I'm Interested CTA Button */
.mena-interested-btn {
    background-color: #27ae60 !important;
    color: #fff !important;
    font-weight: 700 !important;
    cursor: pointer;
    padding: 10px 22px !important;
    border-radius: 5px !important;
    font-size: 15px !important;
    border: none !important;
}
.mena-interested-btn:hover {
    background-color: #219a52 !important;
}

/* Zoho Form Popup Modal */
.mena-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mena-modal-content {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 25px;
}
.mena-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}
.mena-modal-close:hover {
    color: #e74c3c;
}
.mena-modal-title {
    margin: 0 0 15px 0;
    font-size: 20px;
}

/* Add Listing Form - Input Text Contrast Fix */
#front_submit_form input[type="text"],
#front_submit_form input[type="number"],
#front_submit_form textarea,
#front_submit_form select,
#front_submit_form .form-control {
    background-color: #fff !important;
    color: #222 !important;
    opacity: 1 !important;
}

#front_submit_form input::placeholder,
#front_submit_form textarea::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

/* Fix button alignment — push prop_social to the right */
.wpresidence_property_page_title_area .prop_social {
    margin-left: auto !important;
}



/* =========================================================================
 * Mena Realty — Phase 2 FARE/privacy styles.
 *
 * APPEND the contents of this file to the live child-theme style.css (do NOT
 * replace style.css — it carries the theme header and existing customizations).
 * Kept as a separate partial here so deploying this repo can never clobber the
 * live stylesheet. See INTEGRATION_MANIFEST.md.
 *
 * No inline colors anywhere — all color comes from the --mena-blue variable.
 * Brand-blue is a PLACEHOLDER; the final palette is delivered in Phase 4.
 * ========================================================================= */

:root {
	/* Placeholder brand blue — final palette comes in Phase 4. */
	--mena-blue: #0349A6;
}

/* Task 5 — FARE disclosure block ----------------------------------------- */
.mena-fare-disclosure {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	border: 1px solid var(--mena-blue);
	border-radius: 6px;
}

.mena-fare-header {
	color: var(--mena-blue);
	font-size: 1.15em;
	margin: 0 0 0.5em;
}

.mena-fare-statement {
	font-weight: 600;
	margin: 0 0 1em;
}

.mena-fare-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1em;
}

.mena-fare-table th,
.mena-fare-table td {
	text-align: left;
	padding: 0.4em 0.5em;
	border-bottom: 1px solid rgba(3, 73, 166, 0.15);
}

.mena-fare-table td {
	text-align: right;
	white-space: nowrap;
}

.mena-fare-total-row th,
.mena-fare-total-row td {
	font-weight: 700;
	font-size: 1.05em;
	border-top: 2px solid var(--mena-blue);
	border-bottom: none;
	color: var(--mena-blue);
}

.mena-fare-footnote {
	font-size: 0.85em;
	margin: 0;
}

/* Task 6 — per-card "No Tenant Broker Fee" badge ------------------------- */
.mena-no-fee-badge {
	display: inline-block;
	margin: 0.25em 0;
	padding: 0.15em 0.6em;
	font-size: 0.75em;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
	background: var(--mena-blue);
	border-radius: 3px;
}

/* Task 7 — sitewide footer compliance line ------------------------------ */
.mena-fare-footer-line {
	font-size: 12px;
	line-height: 1.5;
	color: var(--mena-blue);
	padding: 0.75em 1em;
	text-align: center;
}

/* 358 E 184th St (property 26455): photo is only 608px wide - show at native size instead of stretching to 1170px. Remove when a higher-resolution photo is uploaded. */
.postid-26455 #property_slider_carousel .item{background:#f2f2f2;text-align:center}
.postid-26455 #property_slider_carousel .item img{width:auto!important;max-width:100%;max-height:620px;margin:0 auto;display:block;object-fit:contain}
.postid-26455 #property_slider_carousel .owl-stage-outer{height:auto!important}
