/*
Theme Name: QT Property Listings
Theme URI: https://www.youtube.com/@ParamFreelance
Author: Quick Tips
Author URI: https://www.youtube.com/@ParamFreelance
Description: Professional property listing WordPress theme with custom post types, AJAX search, Gutenberg-ready pages, WordPress Customizer, mortgage calculator, agent contact, demo content installer with 12 properties, and a built-in blog. Built by Quick Tips.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qt-property
Tags: real-estate, property-listing, custom-post-type, full-width-template, gutenberg
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; color: #1c1917; background: #fafaf9; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, button, textarea { font-family: inherit; }
button { cursor: pointer; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --primary:      #1c1917;
  --accent:       #c8953a;
  --accent-dark:  #a07830;
  --accent-light: #fef9ee;
  --white:        #ffffff;
  --light:        #fafaf9;
  --light-2:      #f5f5f4;
  --border:       #e7e5e4;
  --text:         #1c1917;
  --text-muted:   #78716c;
  --text-light:   #a8a29e;
  --sale-bg:      #dcfce7;
  --sale-text:    #166534;
  --rent-bg:      #dbeafe;
  --rent-text:    #1e40af;
  --featured-bg:  #fef3c7;
  --featured-text:#92400e;
  --sold-bg:      #fee2e2;
  --sold-text:    #991b1b;
  --radius:       8px;
  --radius-lg:    14px;
  --radius-xl:    20px;
  --shadow:       0 1px 3px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.09);
  --shadow-lg:    0 12px 36px rgba(0,0,0,.12);
  --transition:   0.2s ease;
}

/* =============================================
   LAYOUT
   ============================================= */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 72px 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-dark  { background: var(--primary); }
.section-head  { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--text); line-height: 1.2; }
.section-title span { color: var(--accent); }
.see-all-link  { font-size: 14px; color: var(--accent); font-weight: 600; white-space: nowrap; border-bottom: 1.5px solid transparent; transition: border-color var(--transition); padding-bottom: 1px; flex-shrink: 0; }
.see-all-link:hover { border-color: var(--accent); }

/* =============================================
   BUTTONS
   ============================================= */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { opacity: .88; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* =============================================
   NAVBAR
   ============================================= */
#site-header { background: var(--primary); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.site-logo { color: var(--white); font-size: 18px; font-weight: 800; letter-spacing: -0.3px; flex-shrink: 0; line-height: 1.2; }
.site-logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a { color: rgba(255,255,255,.75); font-size: 13px; font-weight: 500; padding: 6px 11px; border-radius: var(--radius); transition: all var(--transition); white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.current { color: var(--white); background: rgba(255,255,255,.1); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* =============================================
   HERO
   ============================================= */
.hero-section { background: linear-gradient(135deg, #1c1917 0%, #292524 50%, #1c1917 100%); padding: 80px 0 68px; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(200,149,58,.12) 0%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; text-align: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(200,149,58,.15); color: var(--accent); border: 1px solid rgba(200,149,58,.35); padding: 6px 18px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 22px; }
.hero-title { color: var(--white); font-size: 52px; font-weight: 900; line-height: 1.12; margin-bottom: 16px; }
.hero-title span { color: var(--accent); }
.hero-subtitle { color: rgba(255,255,255,.6); font-size: 17px; margin-bottom: 44px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat { color: rgba(255,255,255,.65); font-size: 13px; text-align: center; }
.hero-stat strong { color: var(--white); font-size: 22px; font-weight: 900; display: block; margin-bottom: 2px; }

/* SEARCH BOX */
.search-box { background: var(--white); border-radius: var(--radius-xl); padding: 28px; max-width: 920px; margin: 0 auto; box-shadow: 0 24px 64px rgba(0,0,0,.28); }
.search-tabs { display: flex; gap: 4px; margin-bottom: 22px; border-bottom: 1.5px solid var(--border); padding-bottom: 18px; }
.search-tab { padding: 8px 20px; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; border: 1.5px solid transparent; color: var(--text-muted); transition: all var(--transition); background: none; }
.search-tab.active, .search-tab:hover { background: var(--primary); color: var(--white); }
.search-fields { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.field-group label { display: block; font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.field-group select, .field-group input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); background: var(--white); appearance: none; -webkit-appearance: none; transition: border-color var(--transition); }
.field-group select:focus, .field-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,149,58,.12); }

/* =============================================
   PROPERTY TYPES GRID
   ============================================= */
.types-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.type-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px 10px; text-align: center; text-decoration: none; display: block; transition: all var(--transition); }
.type-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.type-emoji { font-size: 28px; margin-bottom: 8px; display: block; }
.type-name { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.3; }
.type-card:hover .type-name { color: var(--accent); }
.type-count { font-size: 10px; color: var(--text-light); margin-top: 3px; }

/* =============================================
   FILTER BAR
   ============================================= */
.filter-bar { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 14px 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.filter-chip { padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1.5px solid var(--border); background: var(--white); color: var(--text-muted); cursor: pointer; transition: all var(--transition); }
.filter-chip:hover, .filter-chip.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.filter-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sort-select { font-size: 13px; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 6px 12px; color: var(--text); background: var(--white); }

/* =============================================
   PROPERTY CARDS
   ============================================= */
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); position: relative; }
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.prop-card-img { position: relative; height: 220px; overflow: hidden; background: var(--light-2); }
.prop-card-img a { display: block; height: 100%; }
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prop-card:hover .prop-card-img img { transform: scale(1.06); }
.prop-badge { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; z-index: 2; }
.badge-sale     { background: var(--sale-bg);     color: var(--sale-text); }
.badge-rent     { background: var(--rent-bg);     color: var(--rent-text); }
.badge-featured { background: var(--featured-bg); color: var(--featured-text); }
.badge-sold     { background: var(--sold-bg);     color: var(--sold-text); }
.badge-rented   { background: var(--sold-bg);     color: var(--sold-text); }
.prop-save { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); font-size: 15px; color: var(--text-light); cursor: pointer; transition: all var(--transition); z-index: 2; }
.prop-save:hover, .prop-save.active { color: #ef4444; border-color: #ef4444; }
.prop-card-body { padding: 18px; }
.prop-price { font-size: 22px; font-weight: 900; color: var(--accent); margin-bottom: 2px; line-height: 1; }
.prop-price small { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.prop-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop-title a { color: inherit; }
.prop-title a:hover { color: var(--accent); }
.prop-location { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 4px; }
.prop-specs { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 12px; flex-wrap: wrap; }
.prop-spec { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); }
.prop-spec-icon { font-size: 13px; }
.prop-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prop-agent { display: flex; align-items: center; gap: 7px; }
.prop-agent-av { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prop-agent-name { font-size: 12px; font-weight: 600; color: var(--text); }
.view-prop-btn { background: var(--accent); color: var(--white); padding: 7px 14px; border-radius: var(--radius); font-size: 12px; font-weight: 700; text-decoration: none; transition: all var(--transition); white-space: nowrap; }
.view-prop-btn:hover { background: var(--accent-dark); }

/* =============================================
   STATS BANNER
   ============================================= */
.stats-section { background: var(--primary); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item strong { font-size: 42px; font-weight: 900; color: var(--accent); display: block; line-height: 1; margin-bottom: 6px; }
.stat-item span { font-size: 14px; color: rgba(255,255,255,.65); }
.stat-item p { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* =============================================
   LOCATIONS GRID
   ============================================= */
.locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.location-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px 18px; text-decoration: none; display: block; transition: all var(--transition); }
.location-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.location-icon { font-size: 28px; margin-bottom: 10px; }
.location-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.location-card:hover .location-name { color: var(--accent); }
.location-count { font-size: 12px; color: var(--text-muted); }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; transition: all var(--transition); }
.why-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.why-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--accent-light); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.why-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.why-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition); }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.service-icon { font-size: 32px; margin-bottom: 14px; }
.service-title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.service-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.testi-stars { color: #f59e0b; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--white); font-size: 16px; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testi-role { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section { background: var(--primary); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-text h2 { color: var(--white); font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,.6); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.btn-cta-primary { background: var(--accent); color: var(--white); padding: 14px 30px; border-radius: var(--radius); font-size: 15px; font-weight: 700; text-decoration: none; transition: all var(--transition); display: inline-block; }
.btn-cta-primary:hover { background: var(--accent-dark); }
.btn-cta-outline { background: transparent; color: var(--white); padding: 14px 30px; border-radius: var(--radius); font-size: 15px; font-weight: 700; border: 1.5px solid rgba(255,255,255,.4); text-decoration: none; transition: all var(--transition); display: inline-block; }
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: var(--primary); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { color: var(--white); font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-logo span { color: var(--accent); }
.footer-desc { color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.footer-contact-item a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 8px; margin-top: 18px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,.6); transition: all var(--transition); text-decoration: none; }
.social-btn:hover { background: var(--accent); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 12px; font-weight: 800; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .8px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.5); font-size: 13px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: rgba(255,255,255,.4); font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.4); font-size: 12px; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-bar { background: var(--light-2); padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-light); }

/* =============================================
   ARCHIVE / LISTINGS PAGE
   ============================================= */
.archive-header { background: linear-gradient(135deg, #1c1917 0%, #292524 100%); padding: 44px 0; }
.archive-header h1 { color: var(--white); font-size: 32px; font-weight: 900; margin-bottom: 6px; }
.archive-header p { color: rgba(255,255,255,.6); font-size: 15px; }
.archive-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; padding: 40px 0 80px; align-items: start; }
.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.sidebar-card h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--text); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.sidebar-card select, .sidebar-card input[type=number], .sidebar-card input[type=text], .sidebar-card input[type=search] { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; color: var(--text); background: var(--white); transition: border-color var(--transition); }
.sidebar-card select:focus, .sidebar-card input:focus { outline: none; border-color: var(--accent); }
.sidebar-card label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; cursor: pointer; line-height: 1.4; }
.sidebar-card input[type=checkbox], .sidebar-card input[type=radio] { accent-color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sidebar-apply { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 11px; border-radius: var(--radius); font-size: 14px; font-weight: 700; cursor: pointer; transition: all var(--transition); }
.sidebar-apply:hover { background: var(--accent-dark); }
.sidebar-reset { width: 100%; background: var(--light-2); color: var(--text-muted); border: 1.5px solid var(--border); padding: 9px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 8px; transition: all var(--transition); }
.sidebar-reset:hover { border-color: var(--accent); color: var(--accent); }
.archive-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.results-count { font-size: 14px; color: var(--text-muted); }
.results-count strong { color: var(--text); font-weight: 700; }
.view-toggle { display: flex; gap: 4px; }
.vtoggle { width: 34px; height: 34px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; color: var(--text-muted); transition: all var(--transition); }
.vtoggle.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* =============================================
   SINGLE PROPERTY
   ============================================= */
.single-prop { padding: 40px 0 80px; }
.single-prop-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.prop-gallery-main { position: relative; border-radius: var(--radius-xl); overflow: hidden; height: 460px; }
.prop-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.prop-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.prop-gallery-thumbs img { border-radius: var(--radius); height: 74px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: .75; transition: all var(--transition); }
.prop-gallery-thumbs img.active, .prop-gallery-thumbs img:hover { border-color: var(--accent); opacity: 1; }
.prop-info-box { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 28px; margin-top: 24px; }
.prop-big-title { font-size: 26px; font-weight: 900; color: var(--text); margin-bottom: 6px; line-height: 1.2; }
.prop-big-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.prop-big-meta span { display: flex; align-items: center; gap: 4px; }
.prop-big-price { font-size: 32px; font-weight: 900; color: var(--accent); }
.prop-big-price-label { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-left: 6px; }
.prop-key-specs { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px 0; border-top: 1.5px solid var(--border); margin-top: 16px; }
.prop-key-spec { text-align: center; }
.prop-key-spec strong { font-size: 22px; font-weight: 900; color: var(--text); display: block; }
.prop-key-spec span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* Tabs */
.prop-tabs-nav { display: flex; border-bottom: 2px solid var(--border); margin: 28px 0 24px; flex-wrap: wrap; gap: 0; }
.prop-tab-btn { padding: 10px 18px; font-size: 13px; font-weight: 600; color: var(--text-muted); border: none; background: none; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.prop-tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.prop-tab-panel { display: none; }
.prop-tab-panel.active { display: block; }

/* Overview table */
.overview-table { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.ov-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.ov-row:nth-child(odd) { background: var(--light); }
.ov-row:last-child, .overview-table .ov-row:nth-last-child(2) { border-bottom: none; }
.ov-key { color: var(--text-muted); font-weight: 500; }
.ov-val { font-weight: 700; color: var(--text); text-align: right; }

/* Features */
.feature-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.feature-cat-btn { padding: 6px 15px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1.5px solid var(--border); background: var(--white); color: var(--text-muted); cursor: pointer; transition: all var(--transition); }
.feature-cat-btn.active, .feature-cat-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); padding: 8px 12px; background: var(--light); border-radius: var(--radius); }
.feature-item::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* Mortgage Calculator */
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.calc-field label { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.calc-field input, .calc-field select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; }
.calc-btn { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 12px; border-radius: var(--radius); font-size: 14px; font-weight: 700; cursor: pointer; transition: all var(--transition); }
.calc-btn:hover { background: var(--accent-dark); }
.calc-result { background: var(--accent-light); border-radius: var(--radius-lg); padding: 20px; text-align: center; margin-top: 16px; border: 1.5px solid rgba(200,149,58,.2); }
.calc-result .monthly { font-size: 36px; font-weight: 900; color: var(--accent); display: block; margin-bottom: 4px; }
.calc-result .monthly-label { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.calc-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; text-align: center; }
.calc-breakdown-item strong { font-size: 15px; font-weight: 800; color: var(--text); display: block; }
.calc-breakdown-item span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }

/* Map */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); }
.map-embed iframe { width: 100%; height: 300px; display: block; border: none; }
.prop-address-box { background: var(--light); border-radius: var(--radius-lg); padding: 16px; margin-top: 14px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* Virtual Tour */
.virtual-tour-embed { border-radius: var(--radius-lg); overflow: hidden; background: var(--light-2); }
.virtual-tour-embed iframe { width: 100%; height: 360px; display: block; border: none; }

/* Contact sidebar */
.prop-contact-box { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 26px; position: sticky; top: 88px; }
.prop-contact-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.agent-card { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--light); border-radius: var(--radius-lg); margin-bottom: 18px; border: 1.5px solid var(--border); }
.agent-av { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 900; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.agent-av img { width: 100%; height: 100%; object-fit: cover; }
.agent-name { font-weight: 800; font-size: 15px; color: var(--text); }
.agent-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--sale-text); background: var(--sale-bg); padding: 2px 8px; border-radius: 10px; font-weight: 600; margin-top: 3px; }
.agent-phone { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.agent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.btn-call { background: var(--light-2); color: var(--text); padding: 10px; border-radius: var(--radius); text-align: center; font-size: 13px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 5px; transition: all var(--transition); }
.btn-call:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { background: #25d366; color: var(--white); padding: 10px; border-radius: var(--radius); text-align: center; font-size: 13px; font-weight: 700; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 5px; transition: all var(--transition); }
.btn-wa:hover { background: #128c7e; }
.enquiry-form input, .enquiry-form textarea, .enquiry-form select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; margin-bottom: 10px; transition: border-color var(--transition); font-family: inherit; }
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--accent); }
.enquiry-form textarea { height: 90px; resize: vertical; }
.btn-enquiry { width: 100%; background: var(--accent); color: var(--white); padding: 13px; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer; transition: all var(--transition); }
.btn-enquiry:hover { background: var(--accent-dark); }
.enquiry-success, .enquiry-error { display: none; padding: 12px; border-radius: var(--radius); font-size: 13px; font-weight: 600; margin-top: 10px; text-align: center; }
.enquiry-success { background: var(--sale-bg); color: var(--sale-text); }
.enquiry-error { background: var(--sold-bg); color: var(--sold-text); }

/* Related Properties */
.related-props { padding: 48px 0 0; border-top: 2px solid var(--border); margin-top: 40px; }
.props-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =============================================
   GUTENBERG PAGE LAYOUT
   ============================================= */
.page-gutenberg-content { width: 100%; overflow-x: hidden; }
.page-gutenberg-content .alignfull, .page-gutenberg-content .wp-block-cover.alignfull, .page-gutenberg-content .wp-block-group.alignfull, .page-gutenberg-content .wp-block-columns.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.page-gutenberg-content .alignwide, .page-gutenberg-content .wp-block-columns.alignwide, .page-gutenberg-content .wp-block-group.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.page-gutenberg-content .wp-block-cover { width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; padding: 64px 24px; }
.page-gutenberg-content .wp-block-cover__inner-container { max-width: 800px; margin: 0 auto; padding: 0; }
.page-gutenberg-content .wp-block-cover .wp-block-cover__inner-container > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.page-gutenberg-content .wp-block-columns:not(.alignfull):not(.alignwide) { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.page-gutenberg-content .wp-block-columns { gap: 24px; flex-wrap: nowrap; }
.page-gutenberg-content .wp-block-paragraph, .page-gutenberg-content .wp-block-heading, .page-gutenberg-content .wp-block-list, .page-gutenberg-content .wp-block-buttons, .page-gutenberg-content .wp-block-details, .page-gutenberg-content h1:not([class]), .page-gutenberg-content h2:not([class]), .page-gutenberg-content h3:not([class]), .page-gutenberg-content p:not([class]) { max-width: 860px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.page-gutenberg-content .wp-block-details { border: 1.5px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; background: #fff; max-width: 800px; padding: 0; }
.page-gutenberg-content .wp-block-details summary { padding: 16px 20px; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.page-gutenberg-content .wp-block-details summary::-webkit-details-marker { display: none; }
.page-gutenberg-content .wp-block-details summary::after { content: '+'; font-size: 22px; color: var(--accent); font-weight: 400; }
.page-gutenberg-content .wp-block-details[open] summary::after { content: '\2212'; }
.page-gutenberg-content .wp-block-details > p, .page-gutenberg-content .wp-block-details .wp-block-paragraph { padding: 0 20px 16px; font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; max-width: 100%; }
.page-gutenberg-content .wp-block-button__link { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: all var(--transition); }
.page-gutenberg-content .wp-block-separator { border: none; border-top: 2px solid var(--border); max-width: 1200px; margin: 40px auto; }
.page-gutenberg-content .wp-block-group[style*="background"] { padding-top: 64px; padding-bottom: 64px; }
.page-gutenberg-content .wp-block-heading { line-height: 1.3; }
@media (max-width: 768px) { .page-gutenberg-content .wp-block-columns { flex-wrap: wrap; } .page-gutenberg-content .wp-block-column { flex-basis: 100% !important; } }

/* =============================================
   PAGINATION
   ============================================= */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.page-num { width: 38px; height: 38px; border: 1.5px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; transition: all var(--transition); }
.page-num:hover, .page-num.current { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* =============================================
   SHORTCODES INFO PAGE (Admin)
   ============================================= */
.qtpl-shortcodes-page { max-width: 900px; }
.qtpl-sc-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: 14px; }
.qtpl-sc-table th { background: var(--primary); color: #fff; padding: 12px 16px; text-align: left; font-size: 13px; }
.qtpl-sc-table td { padding: 12px 16px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.qtpl-sc-table tr:nth-child(even) td { background: #fafaf9; }
.qtpl-sc-table code { background: #f1f5f9; color: #2563eb; padding: 2px 8px; border-radius: 4px; font-size: 13px; }

/* =============================================
   BLOG (same pattern as car theme)
   ============================================= */
.blog-hero { background: linear-gradient(135deg, #1c1917 0%, #292524 100%); padding: 60px 0 52px; text-align: center; }
.blog-hero-inner { max-width: 640px; margin: 0 auto; }
.blog-hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(200,149,58,.15); color: var(--accent); border: 1px solid rgba(200,149,58,.3); padding: 6px 16px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; }
.blog-hero-title { color: var(--white); font-size: 40px; font-weight: 900; line-height: 1.15; margin-bottom: 12px; }
.blog-hero-title span { color: var(--accent); }
.blog-hero-sub { color: rgba(255,255,255,.6); font-size: 16px; }
.blog-layout { display: grid; grid-template-columns: 1fr 310px; gap: 40px; padding: 52px 0 80px; align-items: start; }
.blog-main { min-width: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px; }
.blog-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.blog-card-img-wrap { display: block; height: 210px; overflow: hidden; background: var(--light-2); flex-shrink: 0; }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.05); }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-cat { background: var(--accent-light); color: var(--accent); font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.blog-date { font-size: 12px; color: var(--text-muted); }
.blog-card-title { font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.35; margin-bottom: 10px; }
.blog-card-title a { color: inherit; text-decoration: none; transition: color var(--transition); }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1.5px solid var(--border); margin-top: auto; }
.blog-author { display: flex; align-items: center; gap: 8px; }
.blog-author-av { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.blog-author span { font-size: 12px; font-weight: 600; color: var(--text); }
.blog-read-more { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap; }
.blog-read-more:hover { text-decoration: underline; }
.blog-empty { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.blog-empty-icon { font-size: 52px; margin-bottom: 16px; }
.blog-empty h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.blog-pagination { display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.blog-pagination .page-numbers { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; transition: all var(--transition); }
.blog-pagination .page-numbers.current, .blog-pagination .page-numbers:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.blog-pagination .page-numbers.dots { border: none; width: auto; }
.blog-pagination a.prev, .blog-pagination a.next { width: auto; padding: 0 14px; }
.blog-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.blog-widget { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.blog-widget-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--text); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.blog-search-form { display: flex; gap: 8px; }
.blog-search-form input { flex: 1; padding: 9px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; }
.blog-search-form input:focus { outline: none; border-color: var(--accent); }
.blog-search-form button { padding: 9px 14px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius); cursor: pointer; font-size: 15px; }
.blog-recent-list { display: flex; flex-direction: column; gap: 12px; }
.blog-recent-item { display: flex; gap: 12px; align-items: flex-start; }
.blog-recent-thumb { width: 60px; height: 60px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; display: block; }
.blog-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-recent-title { font-size: 13px; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.4; display: block; margin-bottom: 4px; transition: color var(--transition); }
.blog-recent-title:hover { color: var(--accent); }
.blog-recent-date { font-size: 11px; color: var(--text-muted); }
.blog-cat-list { display: flex; flex-direction: column; gap: 2px; }
.blog-cat-list li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: var(--radius); font-size: 13px; color: var(--text-muted); text-decoration: none; transition: all var(--transition); }
.blog-cat-list li a:hover { background: var(--light); color: var(--accent); }
.blog-cat-list li a span { background: var(--light-2); color: var(--text-muted); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.blog-widget-cta { background: linear-gradient(135deg, #1c1917 0%, #292524 100%); border: none; text-align: center; }
.blog-cta-icon { font-size: 38px; margin-bottom: 10px; }
.blog-widget-cta h4 { color: var(--white); font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.blog-widget-cta p { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.6; }
.blog-widget-cta .blog-widget-title { color: var(--white); border-bottom-color: rgba(255,255,255,.1); }
.post-hero { background: linear-gradient(135deg, #1c1917 0%, #292524 100%); padding: 52px 0 44px; }
.post-hero-inner { max-width: 760px; }
.post-category-badge { display: inline-flex; align-items: center; background: rgba(200,149,58,.18); color: var(--accent); border: 1px solid rgba(200,149,58,.3); padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; margin-bottom: 16px; }
.post-hero-title { color: var(--white); font-size: 36px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.post-hero-meta { display: flex; align-items: center; }
.post-author-wrap { display: flex; align-items: center; gap: 12px; }
.post-author-av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-author-name { font-size: 14px; font-weight: 700; color: var(--white); }
.post-author-date { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.post-featured-img { padding: 32px 0 0; }
.post-featured-img .container { max-width: 960px; }
.post-thumbnail { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.post-layout { display: grid; grid-template-columns: 1fr 290px; gap: 48px; padding: 48px 0 80px; align-items: start; }
.post-content-wrap { min-width: 0; }
.post-content { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 36px; }
.post-content h2 { font-size: 22px; font-weight: 900; color: var(--text); margin: 38px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.post-content h3 { font-size: 18px; font-weight: 800; color: var(--text); margin: 28px 0 10px; }
.post-content p { margin-bottom: 18px; color: var(--text-muted); }
.post-content ul, .post-content ol { margin: 0 0 18px 24px; color: var(--text-muted); }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; line-height: 1.7; }
.post-content strong { color: var(--text); font-weight: 700; }
.post-content blockquote { border-left: 4px solid var(--accent); background: var(--accent-light); margin: 26px 0; padding: 18px 22px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.post-content blockquote p { color: var(--text); font-style: italic; font-size: 16px; margin: 0; }
.post-content img { border-radius: var(--radius-lg); margin: 22px 0; width: 100%; }
.post-content a { color: var(--accent); text-decoration: underline; }
.post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 18px 0; border-top: 1.5px solid var(--border); margin-bottom: 28px; }
.post-tags-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.post-tag { background: var(--light-2); color: var(--text-muted); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; text-decoration: none; transition: all var(--transition); border: 1.5px solid var(--border); }
.post-tag:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.post-author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--light); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 28px; }
.post-author-box-av { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-author-box-name { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.post-author-box-bio { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav-link { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: all var(--transition); }
.post-nav-link:hover { border-color: var(--accent); background: var(--accent-light); }
.post-nav-next { text-align: right; }
.post-nav-dir { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; }
.post-nav-title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .types-grid { grid-template-columns: repeat(4, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .single-prop-grid { grid-template-columns: 1fr; }
  .prop-contact-box { position: static; }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .props-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .blog-layout, .post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .search-fields { grid-template-columns: 1fr; }
  .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--primary); padding: 16px; flex-direction: column; gap: 4px; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .props-grid, .props-grid-4 { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid, .testi-grid, .services-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-table { grid-template-columns: 1fr; }
  .agent-actions { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-author-box { flex-direction: column; }
  .prop-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .section-title { font-size: 24px; }
  .prop-tabs-nav { overflow-x: auto; }
}
