/*
Theme Name: MINDCLAVE Real Estate
Theme URI: https://mindclave.org/
Author: MINDCLAVE.ORG
Author URI: https://mindclave.org/
Description: Premium, responsive WordPress real-estate marketplace theme designed for Elementor and a companion property-management plugin.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mindclave-real-estate
License: GPL-2.0-or-later
*/

:root {
  --mc-navy:#07152d;
  --mc-blue:#2563eb;
  --mc-indigo:#4f46e5;
  --mc-gold:#d6ad55;
  --mc-text:#172033;
  --mc-muted:#667085;
  --mc-bg:#f6f8fc;
  --mc-white:#fff;
  --mc-border:#e6eaf0;
  --mc-radius:18px;
  --mc-shadow:0 14px 40px rgba(7,21,45,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--mc-bg);color:var(--mc-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:var(--mc-blue);text-decoration:none}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.container{width:min(1180px,92%);margin-inline:auto}
.mc-section{padding:76px 0}
.mc-section--tight{padding:44px 0}
.mc-eyebrow{display:inline-block;color:var(--mc-indigo);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;margin-bottom:10px}
.mc-title{font-size:clamp(2rem,4vw,3.2rem);line-height:1.12;margin:0 0 16px;color:var(--mc-navy)}
.mc-subtitle{color:var(--mc-muted);max-width:720px}
.mc-grid{display:grid;gap:24px}
.mc-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.mc-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.mc-card{background:#fff;border:1px solid var(--mc-border);border-radius:var(--mc-radius);box-shadow:var(--mc-shadow)}
.mc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:13px 19px;font-weight:800;cursor:pointer;transition:.2s ease}
.mc-btn:hover{transform:translateY(-1px)}
.mc-btn--primary{background:linear-gradient(135deg,var(--mc-blue),var(--mc-indigo));color:#fff}
.mc-btn--light{background:#fff;color:var(--mc-navy);border:1px solid var(--mc-border)}
.mc-btn--gold{background:linear-gradient(135deg,#d6ad55,#f0d18a);color:#1b2330}
.mc-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--mc-border)}
.mc-nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mc-brand{font-size:1.35rem;font-weight:900;color:var(--mc-navy);letter-spacing:-.02em}
.mc-brand span{color:var(--mc-blue)}
.mc-menu{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}
.mc-menu a{color:#344054;font-weight:700}
.mc-menu a:hover{color:var(--mc-blue)}
.mc-menu-toggle{display:none;border:0;background:none;font-size:1.5rem}
.mc-hero{position:relative;overflow:hidden;padding:110px 0 90px;background:
linear-gradient(115deg,rgba(7,21,45,.95),rgba(37,99,235,.72)),
url('assets/images/hero-property.svg') center/cover no-repeat;color:#fff}
.mc-hero h1{font-size:clamp(2.6rem,6vw,5rem);line-height:1.02;max-width:780px;margin:0 0 20px}
.mc-hero p{font-size:1.12rem;max-width:700px;color:rgba(255,255,255,.84)}
.mc-search{margin-top:32px;background:#fff;border-radius:20px;padding:12px;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.mc-search__grid{display:grid;grid-template-columns:1.1fr 1fr .8fr .8fr auto;gap:10px}
.mc-field{min-width:0}
.mc-field label{display:block;font-size:.72rem;font-weight:800;color:#667085;margin:0 0 4px 6px}
.mc-field input,.mc-field select{width:100%;border:1px solid var(--mc-border);border-radius:11px;padding:12px 10px;background:#fff;color:var(--mc-text);outline:none}
.mc-stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.mc-stat{padding:22px;background:#fff;border:1px solid var(--mc-border);border-radius:16px}
.mc-stat strong{display:block;font-size:1.8rem;color:var(--mc-navy)}
.mc-property{overflow:hidden}
.mc-property__image{aspect-ratio:16/10;background:#e9eef7;overflow:hidden}
.mc-property__image img{width:100%;height:100%;object-fit:cover;transition:.35s}
.mc-property:hover .mc-property__image img{transform:scale(1.035)}
.mc-property__body{padding:20px}
.mc-property__price{font-size:1.2rem;font-weight:900;color:var(--mc-navy)}
.mc-property__meta{display:flex;flex-wrap:wrap;gap:12px;color:var(--mc-muted);font-size:.9rem;margin-top:8px}
.mc-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef4ff;color:#2454c4;font-size:.75rem;font-weight:800}
.mc-cta{padding:48px;border-radius:26px;background:linear-gradient(135deg,var(--mc-navy),#183f83);color:#fff}
.mc-cta h2{margin:0 0 10px;font-size:clamp(1.8rem,4vw,2.7rem)}
.mc-footer{background:#07152d;color:#b9c3d4;padding:58px 0 24px}
.mc-footer a{color:#dce5f5}
.mc-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px}
.mc-footer h3{color:#fff;margin-top:0}
.mc-footer__bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:38px;padding-top:18px;font-size:.9rem;display:flex;justify-content:space-between;gap:20px}
.mc-content{padding:48px 0}
.mc-content h1,.mc-content h2,.mc-content h3{color:var(--mc-navy)}
.mc-dashboard{min-height:calc(100vh - 74px);padding:35px 0}
.mc-dashboard__grid{display:grid;grid-template-columns:240px 1fr;gap:24px}
.mc-sidebar{padding:18px;position:sticky;top:94px;height:max-content}
.mc-sidebar a{display:block;padding:11px 12px;border-radius:10px;color:#475467;font-weight:700}
.mc-sidebar a:hover,.mc-sidebar a.is-active{background:#eef4ff;color:var(--mc-blue)}
.mc-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.mc-kpi{padding:20px}
.mc-kpi small{color:var(--mc-muted);font-weight:700}
.mc-kpi strong{display:block;font-size:1.8rem;color:var(--mc-navy)}
.mc-notice{padding:14px 16px;border-radius:12px;background:#fff7e1;border:1px solid #f1d99b;color:#5d4817}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
@media(max-width:900px){
  .mc-menu-toggle{display:block}
  .mc-menu{display:none;position:absolute;left:4%;right:4%;top:68px;background:#fff;padding:18px;border:1px solid var(--mc-border);border-radius:14px;box-shadow:var(--mc-shadow);flex-direction:column;align-items:flex-start}
  .mc-menu.is-open{display:flex}
  .mc-search__grid{grid-template-columns:1fr 1fr}
  .mc-grid--3,.mc-grid--4{grid-template-columns:1fr 1fr}
  .mc-footer__grid{grid-template-columns:1fr 1fr}
  .mc-dashboard__grid{grid-template-columns:1fr}
  .mc-sidebar{position:static}
  .mc-kpis{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .mc-section{padding:54px 0}
  .mc-hero{padding:82px 0 62px}
  .mc-search__grid,.mc-stat-row,.mc-grid--3,.mc-grid--4,.mc-kpis,.mc-footer__grid{grid-template-columns:1fr}
  .mc-cta{padding:30px}
  .mc-footer__bottom{flex-direction:column}
}
.mc-btn--small{padding:9px 14px;border-radius:10px;font-size:.9rem}.mc-header-actions{display:flex;gap:8px;align-items:center}.mc-eyebrow--gold{color:#f0d18a}.mc-property{position:relative}.mc-property__image{position:relative;display:block}.mc-property__status{position:absolute;left:14px;bottom:14px;padding:6px 10px;border-radius:999px;background:rgba(7,21,45,.88);color:#fff;font-size:.72rem;font-weight:800}.mc-property__location{margin:10px 0 0;color:var(--mc-muted);font-size:.9rem}.mc-empty{padding:28px}.mc-archive-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.mc-filterbar{display:grid;grid-template-columns:1.5fr 1fr 1fr .8fr .8fr auto auto;gap:10px;background:#fff;border:1px solid var(--mc-border);padding:14px;border-radius:16px;margin-bottom:28px}.mc-filterbar input,.mc-filterbar select{min-width:0;border:1px solid var(--mc-border);border-radius:10px;padding:11px;background:#fff}.mc-pagination{margin-top:34px}.mc-pagination ul{display:flex;justify-content:center;gap:8px;list-style:none;padding:0}.mc-pagination a,.mc-pagination span{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--mc-border);border-radius:10px;background:#fff}.mc-pagination .current{background:var(--mc-blue);color:#fff;border-color:var(--mc-blue)}.mc-single-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.mc-single-price{font-size:1.8rem;font-weight:900;color:var(--mc-navy);white-space:nowrap}.mc-location{color:var(--mc-muted)}.mc-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.mc-gallery,.mc-content-card,.mc-agent-card{overflow:hidden}.mc-gallery img{display:block;width:100%;max-height:620px;object-fit:cover}.mc-content-card{padding:28px;margin-top:24px}.mc-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 28px}.mc-detail-grid div{padding:16px;background:#f7f9fc;border-radius:12px}.mc-detail-grid small,.mc-detail-grid strong{display:block}.mc-detail-grid small{color:var(--mc-muted);font-weight:700}.mc-detail-grid strong{margin-top:3px}.mc-prose{color:#344054}.mc-agent-card{padding:24px;position:sticky;top:100px}.mc-btn--full{width:100%;margin-top:10px}.mc-user{display:flex;align-items:center;gap:12px;padding:10px 8px 18px}.mc-user small{display:block;color:var(--mc-muted)}.mc-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--mc-blue),var(--mc-indigo));color:#fff;font-weight:900}.mc-dashboard-welcome{padding:28px;margin-top:22px}.mc-dashboard-welcome h2{margin-top:0;color:var(--mc-navy)}
@media(max-width:1000px){.mc-filterbar{grid-template-columns:1fr 1fr 1fr}.mc-single-layout{grid-template-columns:1fr}.mc-agent-card{position:static}.mc-single-head{align-items:start;flex-direction:column}.mc-single-price{font-size:1.5rem}.mc-detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.mc-header-actions .mc-hide-mobile{display:none}.mc-filterbar{grid-template-columns:1fr}.mc-nav{gap:10px}.mc-primary-nav{order:3;flex:1 1 100%}.mc-header .mc-nav{flex-wrap:wrap}.mc-detail-grid{grid-template-columns:1fr}.mc-archive-head{display:block}}

/* v1.2 page components */
.mc-page{padding:70px 0 90px}.mc-page-hero{padding:42px 0 36px;max-width:820px}.mc-page-hero h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.08;color:var(--mc-navy);margin:0 0 14px}.mc-page-hero p{font-size:1.08rem;color:var(--mc-muted);max-width:720px}.mc-page-grid,.mc-contact-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px}.mc-info-card{padding:28px;height:max-content}.mc-info-card h3{margin-top:0;color:var(--mc-navy)}.mc-check-list{padding:0;margin:18px 0 0;list-style:none}.mc-check-list li{padding:11px 0;border-bottom:1px solid var(--mc-border);font-weight:700}.mc-check-list li:before{content:'✓';margin-right:10px;color:var(--mc-blue);font-weight:900}.mc-contact-form{display:grid;gap:16px}.mc-contact-form label{display:grid;gap:7px;font-weight:800;color:#344054}.mc-contact-form input,.mc-contact-form textarea{width:100%;border:1px solid var(--mc-border);border-radius:11px;padding:12px;background:#fff;color:var(--mc-text);outline:none}.mc-contact-form input:focus,.mc-contact-form textarea:focus{border-color:var(--mc-blue);box-shadow:0 0 0 3px rgba(37,99,235,.1)}.mc-form-note{font-size:.84rem;color:var(--mc-muted);margin:0}.mc-agent-placeholder{padding:30px}.mc-agent-placeholder h3{color:var(--mc-navy)}.mc-avatar--large{width:64px;height:64px;font-size:1.3rem}.mc-content-card h2,.mc-content-card h3{color:var(--mc-navy)}
@media(max-width:800px){.mc-page-grid,.mc-contact-grid{grid-template-columns:1fr}.mc-page{padding:48px 0 64px}}


/* v1.3 property gallery, map and related listings */
.mc-gallery__main{background:#eef2f7;aspect-ratio:16/9;overflow:hidden}.mc-gallery__main img{display:block;width:100%;height:100%;object-fit:cover}.mc-gallery__thumbs{display:flex;gap:10px;padding:12px;overflow-x:auto;border-top:1px solid var(--mc-border)}.mc-gallery__thumb{flex:0 0 86px;width:86px;height:64px;padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#eef2f7;cursor:pointer}.mc-gallery__thumb:hover,.mc-gallery__thumb:focus{border-color:var(--mc-blue)}.mc-gallery__thumb img{width:100%;height:100%;object-fit:cover}.mc-map-card{padding:28px;margin-top:24px}.mc-map-placeholder{min-height:180px;border-radius:14px;background:linear-gradient(135deg,#edf3fb,#f9fbff);border:1px dashed #b8c5d9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;color:var(--mc-navy)}.mc-map-placeholder span{display:block;color:var(--mc-muted);margin-top:7px;font-size:.9rem}.mc-related{padding-top:54px}.mc-related-head h2{margin:0;color:var(--mc-navy);font-size:2rem}.mc-login-note{color:var(--mc-muted)}
body.login{background:var(--mc-bg)}body.login #login{width:min(420px,92%);padding-top:7vh}body.login h1 a{background-image:none!important;width:auto;height:auto;text-indent:0;color:var(--mc-navy);font-size:1.7rem;font-weight:900}body.login form{border:1px solid var(--mc-border);border-radius:16px;box-shadow:var(--mc-shadow)}body.login .button-primary{background:linear-gradient(135deg,var(--mc-blue),var(--mc-indigo));border-color:var(--mc-blue);text-shadow:none}
@media(max-width:700px){.mc-gallery__thumb{flex-basis:72px;width:72px;height:54px}}

.mc-auth-wrap{max-width:620px;margin:0 auto}.mc-auth-card{padding:30px}.mc-auth-card form{display:grid;gap:14px}.mc-auth-card label{font-weight:800}.mc-auth-card input[type=text],.mc-auth-card input[type=password]{width:100%;padding:12px;border:1px solid var(--mc-border);border-radius:10px}.mc-auth-card .login-submit input{width:100%;padding:12px;border-radius:10px;border:0;background:linear-gradient(135deg,var(--mc-blue),var(--mc-indigo));color:#fff;font-weight:800;cursor:pointer}.mc-auth-card .login-remember{font-weight:600;color:var(--mc-muted)}

/* v1.4 marketplace-ready frontend polish */
.mc-property__actions{position:absolute;top:14px;right:14px;z-index:2;display:flex;gap:7px}
.mc-fav-btn{width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 5px 18px rgba(7,21,45,.14);cursor:pointer;font-size:1.1rem;color:#667085}
.mc-fav-btn.is-saved{color:#d12b55}
.mc-fav-btn:hover{transform:scale(1.05)}
.mc-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px}
.mc-sort{border:1px solid var(--mc-border);border-radius:10px;padding:10px;background:#fff}
.mc-agent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.mc-agent-card-public{padding:26px;text-align:center}
.mc-agent-card-public .mc-avatar{margin:0 auto 12px}
.mc-agent-card-public h3{margin:0;color:var(--mc-navy)}
.mc-agent-card-public p{color:var(--mc-muted)}
.mc-dashboard-nav-title{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--mc-muted);font-weight:900;margin:18px 12px 8px}
.mc-sidebar .mc-btn{width:100%;margin-top:10px}
.mc-dashboard-panel{padding:24px}
.mc-table-wrap{overflow:auto}
.mc-table{width:100%;border-collapse:collapse}
.mc-table th,.mc-table td{padding:14px;text-align:left;border-bottom:1px solid var(--mc-border);white-space:nowrap}
.mc-table th{font-size:.78rem;text-transform:uppercase;color:var(--mc-muted)}
.mc-gallery-lightbox{position:fixed;inset:0;background:rgba(2,9,22,.94);z-index:1000;display:none;align-items:center;justify-content:center;padding:30px}
.mc-gallery-lightbox.is-open{display:flex}
.mc-gallery-lightbox img{max-width:94vw;max-height:88vh;object-fit:contain}
.mc-lightbox-close{position:absolute;top:18px;right:22px;background:#fff;border:0;border-radius:50%;width:44px;height:44px;font-size:1.5rem;cursor:pointer}
.mc-lightbox-prev,.mc-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.9);width:44px;height:44px;border-radius:50%;cursor:pointer;font-size:1.3rem}
.mc-lightbox-prev{left:18px}.mc-lightbox-next{right:18px}
.mc-breadcrumbs{font-size:.85rem;color:var(--mc-muted);margin-bottom:18px}.mc-breadcrumbs a{font-weight:700}
@media(max-width:900px){.mc-agent-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.mc-agent-grid{grid-template-columns:1fr}.mc-results-toolbar{align-items:flex-start;flex-direction:column}}

/* v1.5.0 frontend polish */
.mc-site-footer__nav ul{display:flex;flex-wrap:wrap;gap:12px;list-style:none;margin:0;padding:0}.mc-site-footer__nav a{color:inherit;text-decoration:none}.mc-agent-profile{max-width:900px;margin:0 auto}.mc-agent-profile__top{display:flex;gap:24px;align-items:center}.mc-agent-profile__avatar{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;background:var(--mc-primary,#111);color:#fff;font-size:42px;font-weight:800;overflow:hidden}.mc-agent-profile__avatar img{width:100%;height:100%;object-fit:cover}.mc-agent-profile__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.mc-empty-state{text-align:center;padding:56px 24px}.mc-empty-state .mc-btn{margin-top:12px}.mc-search-empty{max-width:720px;margin:40px auto}.mc-404{max-width:760px;margin:60px auto;text-align:center}.mc-404__code{font-size:clamp(72px,15vw,160px);line-height:.9;font-weight:900;margin:0}.mc-dashboard-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.mc-dashboard-link{padding:20px;text-decoration:none}.mc-dashboard-link strong{display:block;margin-bottom:6px}@media(max-width:700px){.mc-agent-profile__top{align-items:flex-start;flex-direction:column}.mc-dashboard-links{grid-template-columns:1fr}}


/* v1.6.0 final theme polish */
:focus-visible{outline:3px solid color-mix(in srgb,var(--mc-blue) 72%,white);outline-offset:3px}
.mc-skip-link{position:fixed;left:12px;top:12px;z-index:2000;transform:translateY(-160%);background:var(--mc-navy);color:#fff;padding:10px 14px;border-radius:10px;font-weight:800}.mc-skip-link:focus{transform:none}
.mc-nav .custom-logo{max-height:52px;width:auto}.mc-brand:has(.custom-logo){display:flex;align-items:center}
.mc-header.is-scrolled{box-shadow:0 8px 30px rgba(7,21,45,.08)}
.mc-mobile-overlay{display:none}
.mc-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.mc-property__body h2,.mc-property__body h3{margin:8px 0 0;line-height:1.25}.mc-property__body h2 a,.mc-property__body h3 a{color:var(--mc-navy)}
.mc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mc-form-grid .mc-field--full{grid-column:1/-1}
.mc-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.mc-alert{padding:14px 16px;border-radius:12px;margin:0 0 18px;border:1px solid var(--mc-border);background:#fff}.mc-alert--success{border-color:#b7e0c2;background:#f2fbf4}.mc-alert--error{border-color:#f0b9b9;background:#fff5f5}
.mc-footer__grid a:hover{text-decoration:underline}
@media(max-width:700px){.mc-form-grid{grid-template-columns:1fr}.mc-form-grid .mc-field--full{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mc-btn,.mc-property__image img{transition:none!important}.mc-property:hover .mc-property__image img{transform:none}}
