/* ──────────────────────────────────────────────────────
   TIFFANY SELLS SWFL — Main Stylesheet v3
   Brand: Navy #0a1628 · Gold #c9a96e · Off-White #f7f4ef
────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.ts-body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1a1a1a;
    background: #fff;
    overflow-x: hidden;
}
body.ts-body a { text-decoration: none; color: inherit; }

/* Specificity fix — override body.ts-body a (0,2,1) on themed elements */
body.ts-body .ts-topbar-link           { color: rgba(255,255,255,0.5); }
body.ts-body .ts-topbar-link:hover     { color: #c9a96e; }
body.ts-body .ts-footer-col a          { color: rgba(255,255,255,0.45); }
body.ts-body .ts-footer-col a:hover    { color: rgba(255,255,255,0.9); }
body.ts-body .ts-footer-show-all       { color: #c9a96e !important; }
body.ts-body .ts-footer-show-all:hover { color: #d9bc82 !important; }
body.ts-body .ts-footer-contact        { color: rgba(255,255,255,0.45); }
body.ts-body .ts-footer-contact:hover  { color: rgba(255,255,255,0.85); }
body.ts-body .ts-footer-legal a        { color: rgba(255,255,255,0.2); }
body.ts-body .ts-footer-legal a:hover  { color: rgba(255,255,255,0.5); }
body.ts-body .ts-footer-social a       { color: rgba(255,255,255,0.25); }
body.ts-body .ts-footer-social a:hover { color: rgba(255,255,255,0.7); }
body.ts-body .ts-profile-contact-item  { color: #555; }
body.ts-body .ts-dropdown-item         { color: #333; }
body.ts-body .ts-dropdown-item:hover   { color: #0a1628; }
body.ts-body .ts-area-links a          { color: rgba(255,255,255,0.7); }
body.ts-body .ts-area-links a:hover    { color: #fff; }
body.ts-body .ts-nav-valuation         { color: #0a1628; }
body.ts-body .ts-nav-login             { color: #0a1628; }
body.ts-body .ts-story-title           { color: #0a1628; }
body.ts-body .ts-story-title:hover     { color: #c9a96e; }
body.ts-body .ts-dev-link              { color: #c9a96e; }
body.ts-body .ts-link-btn              { color: #c9a96e; }
body.ts-body .ts-link-btn:hover        { color: #d9bc82; }
body.ts-body .ts-btn-outline-light     { color: #fff; }
body.ts-body .ts-btn-outline-light:hover { color: #fff; }
body.ts-body .ts-btn-gold              { color: #0a1628; }
body.ts-body .ts-btn-primary           { color: #0a1628; }
body.ts-body .ts-btn-primary:hover     { color: #0a1628; }
body.ts-body img { max-width: 100%; height: auto; display: block; }
body.ts-body button { cursor: pointer; font-family: inherit; }

/* Kadence header/footer suppression */
.site-header, .site-footer, #masthead, #colophon,
.kadence-top-header-wrap { display: none !important; }

/* ────────────────────────────────────────────────────
   UTILITIES
──────────────────────────────────────────────────── */
.ts-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.ts-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: #c9a96e; margin-bottom: 10px;
}
.ts-eyebrow-light { color: rgba(201,169,110,0.8); }
.ts-section-header { text-align: center; margin-bottom: 48px; }
.ts-section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
    letter-spacing: -0.025em; line-height: 1.15; color: #fff;
}
.ts-section-title.ts-dark { color: #0a1628; }
.ts-section-title.ts-white { color: #fff; }
.ts-section-subtitle { font-size: 1rem; color: rgba(255,255,255,0.6); margin-top: 12px; }

/* Buttons */
.ts-btn-primary {
    display: inline-block; background: #c9a96e; color: #0a1628;
    padding: 14px 32px; border-radius: 6px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
}
.ts-btn-primary:hover { background: #d9bc82; transform: translateY(-2px); }

.ts-btn-ghost {
    display: inline-block; background: transparent; color: #0a1628;
    padding: 14px 32px; border-radius: 6px; border: 2px solid #0a1628;
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}
.ts-btn-ghost:hover { background: #0a1628; color: #fff; }

.ts-btn-outline-light {
    display: inline-block; background: transparent; color: #fff;
    padding: 14px 36px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.4);
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s;
}
.ts-btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

.ts-btn-gold {
    display: inline-block; background: #c9a96e; color: #0a1628;
    padding: 16px 40px; border-radius: 6px;
    font-size: 14px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
    transition: background 0.2s; white-space: nowrap;
}
.ts-btn-gold:hover { background: #d9bc82; }

.ts-link-btn {
    display: inline-block; color: #c9a96e;
    font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    border-bottom: 1px solid currentColor; padding-bottom: 2px;
    transition: color 0.2s;
}
.ts-link-btn:hover { color: #d9bc82; }

/* ────────────────────────────────────────────────────
   TOP BAR
──────────────────────────────────────────────────── */
.ts-topbar {
    background: #0a1628;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: fixed; top: 0; left: 0; right: 0; z-index: 300;
}
.ts-topbar-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
    height: 36px;
}
.ts-topbar-tag {
    font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.ts-topbar-right { display: flex; align-items: center; gap: 20px; }
.ts-topbar-link {
    display: flex; align-items: center; gap: 5px;
    font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.ts-topbar-link:hover { color: #c9a96e; }

/* ────────────────────────────────────────────────────
   NAVIGATION
──────────────────────────────────────────────────── */
.ts-nav {
    position: fixed; top: 36px; left: 0; right: 0; z-index: 200;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, top 0.3s;
}
.ts-nav.ts-nav-scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.09); }
.ts-nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 24px;
}

/* Logo */
.ts-nav-logo { display: flex; flex-direction: column; flex-shrink: 0; }
/* ── Nav logo image ───────────────────────────────────────────────────────── */
.ts-nav-logo-img {
    height: 44px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

.ts-logo-name { font-size: 16px; font-weight: 800; color: #0a1628; letter-spacing: -0.01em; line-height: 1; }
.ts-logo-tag { font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #c9a96e; margin-top: 2px; }

/* Menu items */
.ts-nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.ts-nav-item { position: relative; }
.ts-nav-link {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 12px; border-radius: 4px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
    color: #444; background: none; border: none;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.ts-nav-link:hover, .ts-dropdown-toggle:hover { color: #0a1628; background: #f5f5f5; }
.ts-dropdown-toggle svg { transition: transform 0.2s; }
.ts-has-dropdown.open .ts-dropdown-toggle svg { transform: rotate(180deg); }

/* Dropdown */
.ts-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 200px; background: #fff;
    border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
}
.ts-has-dropdown.open .ts-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.ts-dropdown-item {
    display: block; padding: 10px 14px; border-radius: 5px;
    font-size: 13px; font-weight: 500; color: #333;
    transition: background 0.15s, color 0.15s;
}
.ts-dropdown-item:hover { background: #f7f4ef; color: #0a1628; }

/* Nav actions */
.ts-nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ts-nav-valuation {
    padding: 9px 18px; border-radius: 5px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: #c9a96e; color: #0a1628;
    transition: background 0.2s;
    white-space: nowrap;
}
.ts-nav-valuation:hover { background: #d9bc82; }
.ts-nav-login {
    padding: 9px 18px; border-radius: 5px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: transparent; color: #0a1628; border: 1.5px solid #ddd;
    transition: border-color 0.2s, background 0.2s;
}
.ts-nav-login:hover { border-color: #0a1628; background: #f7f4ef; }

/* Mobile burger */
.ts-nav-mobile-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 8px; width: 36px;
}
.ts-nav-mobile-btn span {
    display: block; height: 2px; background: #0a1628; border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.ts-nav-mobile-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ts-nav-mobile-btn.open span:nth-child(2) { opacity: 0; }
.ts-nav-mobile-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.ts-mobile-menu {
    display: none; flex-direction: column;
    background: #fff; border-top: 1px solid #eee;
    padding: 8px 20px 20px;
}
.ts-mobile-menu.open { display: flex; }
.ts-mobile-menu a {
    padding: 13px 0; font-size: 15px; font-weight: 500; color: #222;
    border-bottom: 1px solid #f0f0f0;
}
.ts-mobile-menu a:last-child { border-bottom: none; }

/* Page offset for fixed topbar + nav */
body.ts-body { padding-top: 100px; }

/* ────────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────────── */
.ts-hero {
    position: relative; min-height: 90vh;
    display: flex; align-items: center;
    overflow: hidden; background: #0a1628;
}
.ts-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.ts-hero-agent-img {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 65%; object-fit: cover; object-position: center top;
    opacity: 0.72;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 22%, black 42%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 22%, black 42%);
}
.ts-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        108deg,
        #0a1628 28%,
        rgba(10,22,40,0.72) 46%,
        rgba(10,22,40,0.12) 100%
    );
}
.ts-hero-content {
    position: relative; z-index: 2;
    max-width: 640px; padding: 80px 40px 80px 80px;
}
.ts-hero-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: #c9a96e; margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
}
.ts-hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: #c9a96e; }
.ts-hero-h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
    color: #fff; margin-bottom: 32px;
}

/* Search box */
.ts-search-box {
    background: #fff; border-radius: 12px;
    padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 560px;
}
.ts-search-tabs { display: flex; gap: 4px; margin-bottom: 16px; }
.ts-tab {
    padding: 7px 18px; border-radius: 5px; border: none;
    font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
    background: transparent; color: #666;
    transition: background 0.2s, color 0.2s;
}
.ts-tab.active { background: #0a1628; color: #fff; }
.ts-tab:hover:not(.active) { background: #f0f0f0; }

.ts-search-input-wrap {
    display: flex; align-items: center;
    border: 1.5px solid #e0e0e0; border-radius: 7px;
    overflow: hidden; margin-bottom: 12px;
    transition: border-color 0.2s;
}
.ts-search-input-wrap:focus-within { border-color: #0a1628; }
.ts-search-icon { flex-shrink: 0; margin-left: 14px; color: #999; }
.ts-search-input {
    flex: 1; padding: 13px 14px; border: none; outline: none;
    font-size: 14px; color: #1a1a1a; font-family: inherit;
    background: transparent;
}
.ts-search-input::placeholder { color: #aaa; }
.ts-search-btn {
    background: #0a1628; color: #fff; border: none;
    padding: 13px 22px; font-size: 12px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    transition: background 0.2s; flex-shrink: 0;
}
.ts-search-btn:hover { background: #14294a; }

.ts-ai-search-btn {
    width: 100%; padding: 11px;
    background: #f7f4ef; border: 1.5px dashed #d9c99a;
    border-radius: 7px; color: #8a7043;
    font-size: 12px; font-weight: 600; font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    transition: background 0.2s, border-color 0.2s;
}
.ts-ai-search-btn:hover { background: #f0ebe0; border-color: #c9a96e; color: #0a1628; }
.ts-ai-search-btn svg { color: #c9a96e; }

/* ────────────────────────────────────────────────────
   SWFL AREAS
──────────────────────────────────────────────────── */
.ts-areas { background: #fff; padding: 90px 0; }
.ts-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ts-area-card {
    position: relative; border-radius: 12px; overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background-color: var(--area-color, #0a1628);
    background-size: cover; background-position: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.ts-area-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.18); }
.ts-area-card:hover .ts-area-bg { opacity: 0.55; }
.ts-area-bg {
    position: absolute; inset: 0;
    background: var(--area-color, #0a1628);
    opacity: 0.65;
    transition: opacity 0.3s;
}
.ts-area-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}
.ts-area-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px; z-index: 2;
}
.ts-area-name {
    font-size: 1.3rem; font-weight: 800; color: #fff;
    letter-spacing: -0.01em; margin-bottom: 10px;
}
.ts-area-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ts-area-links a {
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.12);
    padding: 5px 10px; border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s, color 0.2s;
}
.ts-area-links a:hover { background: rgba(255,255,255,0.25); color: #fff; }
.ts-areas-footer { text-align: center; margin-top: 36px; }

/* ────────────────────────────────────────────────────
   AGENT PROFILE
──────────────────────────────────────────────────── */
.ts-profile { background: #f7f4ef; padding: 100px 0; }
.ts-profile-inner {
    display: grid; grid-template-columns: 420px 1fr;
    gap: 80px; align-items: center;
}
.ts-profile-photo-wrap {
    position: relative;
}
.ts-profile-photo-wrap::before {
    content: '';
    position: absolute; bottom: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 3px solid #c9a96e; border-radius: 12px;
    z-index: 0;
}
.ts-profile-photo {
    position: relative; z-index: 1;
    width: 100%; height: 520px; object-fit: cover; object-position: top center;
    border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.ts-profile-bio .ts-section-title { margin-bottom: 8px; }
.ts-profile-title {
    font-size: 13px; color: #888; font-weight: 500;
    letter-spacing: 0.04em; margin-bottom: 24px;
}
.ts-profile-contacts {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-bottom: 28px;
}
.ts-profile-contact-item {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 600; color: #555;
    background: #fff; border: 1px solid #e8e8e8;
    padding: 8px 14px; border-radius: 6px;
    transition: border-color 0.2s, color 0.2s;
}
.ts-profile-contact-item:hover { border-color: #c9a96e; color: #0a1628; }
.ts-profile-contact-item svg { color: #c9a96e; flex-shrink: 0; }
.ts-profile-text { font-size: 0.95rem; color: #555; line-height: 1.8; margin-bottom: 16px; }
.ts-profile-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ────────────────────────────────────────────────────
   NEW DEVELOPMENTS
──────────────────────────────────────────────────── */
.ts-developments { background: #0a1628; padding: 100px 0; }
.ts-developments .ts-section-header { margin-bottom: 52px; }
.ts-dev-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ts-dev-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.ts-dev-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.07);
}
.ts-dev-img {
    height: 160px; overflow: hidden;
    background: linear-gradient(135deg, rgba(201,169,110,0.1) 0%, rgba(10,22,40,0.5) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.ts-dev-img img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    display: block; transition: transform 0.4s;
}
.ts-dev-card:hover .ts-dev-img img { transform: scale(1.05); }
.ts-dev-body { padding: 18px 20px 22px; }
.ts-dev-type {
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: #c9a96e; margin-bottom: 8px;
}
.ts-dev-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.35; }
.ts-dev-location {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 10px;
}
.ts-dev-price { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.ts-dev-link {
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: #c9a96e; display: inline-flex; align-items: center; gap: 4px;
    border-bottom: 1px solid transparent; padding-bottom: 1px;
    transition: border-color 0.2s;
}
.ts-dev-link:hover { border-color: #c9a96e; }
.ts-section-footer { text-align: center; margin-top: 48px; }

/* ────────────────────────────────────────────────────
   CLIENT REVIEWS
──────────────────────────────────────────────────── */
.ts-reviews { background: #f7f4ef; padding: 100px 0; }
.ts-reviews-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.ts-review-card {
    background: #fff; border-radius: 12px;
    padding: 32px; border: 1px solid #eee;
    transition: box-shadow 0.3s;
}
.ts-review-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.ts-stars { color: #c9a96e; font-size: 18px; letter-spacing: 3px; margin-bottom: 16px; }
.ts-review-quote {
    font-size: 15px; line-height: 1.75; color: #333;
    font-style: italic; margin-bottom: 20px;
}
.ts-reviewer { display: flex; flex-direction: column; gap: 2px; }
.ts-reviewer-name { font-size: 13px; font-weight: 700; color: #0a1628; }
.ts-reviewer-role { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: #999; text-transform: uppercase; }

/* ────────────────────────────────────────────────────
   HOME VALUATION CTA
──────────────────────────────────────────────────── */
.ts-valuation-cta { background: #0a1628; padding: 70px 0; }
.ts-valuation-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.ts-valuation-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800;
    color: #fff; letter-spacing: -0.02em; margin-bottom: 8px;
}
.ts-valuation-sub { font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 480px; }

/* ────────────────────────────────────────────────────
   STORIES / BLOG
──────────────────────────────────────────────────── */
.ts-stories { background: #fff; padding: 100px 0; }
.ts-stories-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 40px; text-align: left;
}
.ts-stories-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.ts-story-card { display: flex; flex-direction: column; }
.ts-story-img-wrap { display: block; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.ts-story-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.4s; }
.ts-story-card:hover .ts-story-img { transform: scale(1.03); }
.ts-story-img-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e8e4dc 0%, #d4cfc5 100%);
}
.ts-story-body { display: flex; flex-direction: column; gap: 8px; }
.ts-story-title {
    display: block; font-size: 1rem; font-weight: 700; color: #0a1628; line-height: 1.4;
    transition: color 0.2s;
}
.ts-story-title:hover { color: #c9a96e; }
.ts-story-excerpt { font-size: 13px; color: #666; line-height: 1.65; }
.ts-story-meta { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: #aaa; text-transform: uppercase; }

/* ────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────── */
.ts-footer { background: #060f1c; }
.ts-footer-top { padding: 70px 0 60px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ts-footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.ts-footer-col { display: flex; flex-direction: column; gap: 10px; }
.ts-footer-col a {
    font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5;
    transition: color 0.2s;
}
.ts-footer-col a:hover { color: rgba(255,255,255,0.9); }
.ts-footer-logo { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.01em; margin-bottom: 4px; }
.ts-footer-tagline { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #c9a96e; margin-bottom: 6px; }
.ts-footer-contact { font-size: 13px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.ts-footer-contact:hover { color: rgba(255,255,255,0.85); }
.ts-footer-broker { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.ts-footer-broker-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 3px; }
.ts-footer-broker-name { font-size: 12px; color: rgba(255,255,255,0.4); }
.ts-footer-heading {
    font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.25); margin-bottom: 4px;
}
.ts-footer-show-all { color: #c9a96e !important; font-size: 11px !important; font-weight: 700 !important; margin-top: 4px; }
.ts-footer-show-all:hover { color: #d9bc82 !important; }

.ts-footer-bottom { padding: 22px 0; }
.ts-footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
}
.ts-footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); }
.ts-footer-legal { display: flex; gap: 20px; }
.ts-footer-legal a { font-size: 11px; color: rgba(255,255,255,0.2); transition: color 0.2s; }
.ts-footer-legal a:hover { color: rgba(255,255,255,0.5); }
.ts-footer-social { display: flex; gap: 12px; }
.ts-footer-social a {
    color: rgba(255,255,255,0.25); transition: color 0.2s;
    display: flex; align-items: center;
}
.ts-footer-social a:hover { color: rgba(255,255,255,0.7); }

/* ────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ts-dev-grid { grid-template-columns: repeat(2, 1fr); }
    .ts-profile-inner { grid-template-columns: 360px 1fr; gap: 60px; }
}

@media (max-width: 900px) {
    .ts-topbar-left, .ts-topbar-tag { display: none; }
    .ts-topbar-right { justify-content: flex-end; width: 100%; gap: 14px; }
    .ts-nav-menu { display: none; }
    .ts-nav-mobile-btn { display: flex; }
    .ts-nav-actions .ts-nav-valuation, .ts-nav-actions .ts-nav-login { display: none; }
    .ts-areas-grid { grid-template-columns: repeat(2, 1fr); }
    .ts-reviews-grid { grid-template-columns: 1fr; }
    .ts-stories-grid { grid-template-columns: repeat(2, 1fr); }
    .ts-footer-grid { grid-template-columns: 1fr 1fr; }
    .ts-footer-about { grid-column: 1 / -1; }
    .ts-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .ts-valuation-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .ts-container { padding: 0 20px; }
    .ts-topbar-inner { padding: 0 20px; }
    .ts-nav-inner { padding: 0 20px; }
    .ts-hero-content { padding: 60px 20px; }
    .ts-hero-agent-img { width: 100%; }

    .ts-areas { padding: 60px 0; }
    .ts-areas-grid { grid-template-columns: 1fr; }
    .ts-profile { padding: 70px 0; }
    .ts-profile-inner { grid-template-columns: 1fr; gap: 40px; }
    .ts-profile-photo-wrap::before { display: none; }
    .ts-profile-photo { height: 360px; }
    .ts-dev-grid { grid-template-columns: 1fr; }
    .ts-developments { padding: 70px 0; }
    .ts-reviews { padding: 70px 0; }
    .ts-stories-grid { grid-template-columns: 1fr; }
    .ts-stories { padding: 70px 0; }
    .ts-stories-header { flex-direction: column; gap: 16px; }
    .ts-footer-grid { grid-template-columns: 1fr; }
    .ts-profile-contacts { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE SHARED STYLES
═══════════════════════════════════════════════════════════ */

.ts-inner-page { padding-top: 100px; }

/* Page Banner */
.ts-page-banner {
    padding: 64px 0 56px;
    text-align: center;
}
.ts-page-banner-navy { background: #0a1628; }
.ts-page-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin: 8px 0 12px;
    letter-spacing: -0.02em;
}
.ts-page-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Active nav link */
.ts-nav-active { color: #c9a96e !important; }
body.ts-body .ts-nav-active { color: #c9a96e !important; }

/* CTA Band */
.ts-cta-band {
    background: #0a1628;
    padding: 64px 0;
}
.ts-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.ts-cta-heading { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ts-cta-sub     { color: rgba(255,255,255,0.6); font-size: 1rem; }
.ts-cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════════════════════════ */

.ts-profile-page { padding: 72px 0 80px; }

.ts-profile-page-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: start;
}

/* Sidebar */
.ts-profile-sidebar { position: sticky; top: 120px; }

.ts-profile-photo-frame {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 12px 40px rgba(10,22,40,0.15);
}
.ts-profile-page-photo { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; object-position: center top; }

.ts-profile-sidebar-card {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 16px;
    padding: 28px;
}
.ts-profile-sidebar-name     { font-size: 1.3rem; font-weight: 700; color: #0a1628; margin-bottom: 4px; }
.ts-profile-sidebar-title    { font-size: 0.9rem; color: #c9a96e; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.ts-profile-sidebar-brokerage{ font-size: 0.9rem; color: #666; margin-bottom: 2px; }
.ts-profile-sidebar-license  { font-size: 0.8rem; color: #999; margin-bottom: 20px; }

.ts-profile-sidebar-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.ts-profile-contact-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px; border-radius: 10px;
    font-size: 0.875rem; font-weight: 600;
    text-decoration: none; transition: opacity 0.2s;
}
.ts-profile-contact-btn:hover { opacity: 0.85; text-decoration: none; }
.ts-profile-contact-btn.ts-btn-primary    { background: #0a1628; color: #fff !important; }
.ts-profile-contact-btn.ts-btn-outline    { background: transparent; border: 1.5px solid #0a1628; color: #0a1628 !important; }
.ts-profile-contact-btn.ts-btn-whatsapp  { background: #25D366; color: #fff !important; }
.ts-profile-contact-btn.ts-btn-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff !important; }

.ts-profile-creds { margin-top: 24px; border-top: 1px solid #eee; padding-top: 20px; }
.ts-profile-creds-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #999; margin-bottom: 10px; font-weight: 600; }
.ts-cred-badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    background: #f0ebe2; color: #0a1628; font-size: 0.8rem; font-weight: 600;
    margin: 3px 3px 0 0;
}

/* Stats */
.ts-profile-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #e8e4dc;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}
.ts-profile-stat {
    background: #fff;
    padding: 28px 20px;
    text-align: center;
}
.ts-stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a1628;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}
.ts-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    font-weight: 600;
}

/* Bio */
.ts-profile-bio-heading { font-size: 1.6rem; font-weight: 700; color: #0a1628; margin-bottom: 20px; }
.ts-profile-bio-text p { font-size: 1.05rem; line-height: 1.8; color: #445566; margin-bottom: 16px; }

/* Testimonials on profile */
.ts-testimonials-page { padding: 80px 0; }
.ts-dark-section { background: #0a1628; }
.ts-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.ts-testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 28px;
}
.ts-testimonial-stars { color: #c9a96e; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.ts-testimonial-text  { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.ts-testimonial-author { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.ts-testimonial-name  { display: block; font-weight: 700; color: #fff; font-size: 0.9rem; }
.ts-testimonial-meta  { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════ */

.ts-contact-page { padding: 72px 0 80px; }

.ts-contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
}

.ts-contact-form-heading { font-size: 1.5rem; font-weight: 700; color: #0a1628; margin-bottom: 28px; }

/* FluentForms overrides for contact page */
.ts-contact-form-wrap .ff-el-input--label label { font-weight: 600; color: #334; font-size: 0.9rem; }
.ts-contact-form-wrap .ff-el-form-control {
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.ts-contact-form-wrap .ff-el-form-control:focus { border-color: #c9a96e; outline: none; box-shadow: 0 0 0 3px rgba(201,169,110,0.15); }
.ts-contact-form-wrap .ff-btn-submit {
    background: #0a1628 !important;
    color: #fff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.ts-contact-form-wrap .ff-btn-submit:hover { background: #c9a96e !important; color: #0a1628 !important; }

/* Contact Sidebar */
.ts-contact-info-card {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: 120px;
}
.ts-contact-info-heading { font-size: 1.15rem; font-weight: 700; color: #0a1628; margin-bottom: 24px; }

.ts-contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0ebe2;
    text-decoration: none;
    transition: opacity 0.2s;
}
.ts-contact-info-row:last-of-type { border-bottom: none; }
.ts-contact-info-row:hover { opacity: 0.75; }

.ts-contact-info-icon {
    width: 40px; height: 40px;
    background: #f0ebe2;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #0a1628;
    flex-shrink: 0;
}
.ts-icon-whatsapp  { background: #e8f9ef; color: #25D366; }
.ts-icon-instagram { background: #fdf0f5; color: #dc2743; }

.ts-contact-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: #999; font-weight: 600; margin-bottom: 2px; }
.ts-contact-info-value { font-size: 0.95rem; font-weight: 600; color: #0a1628; }

.ts-contact-brokerage {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0ebe2;
}
.ts-contact-broker-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: #999; font-weight: 600; margin-bottom: 4px; }
.ts-contact-broker-name  { font-size: 1rem; font-weight: 700; color: #0a1628; margin-bottom: 2px; }
.ts-contact-broker-area  { font-size: 0.85rem; color: #666; }

.ts-contact-response-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 16px;
    background: #f7f4ef;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #556;
}
.ts-contact-response-note svg { color: #c9a96e; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   VALUATION PAGE
═══════════════════════════════════════════════════════════ */

.ts-valuation-banner {
    background: linear-gradient(135deg, #0a1628 0%, #1a3056 100%);
    padding: 72px 0 60px;
    text-align: center;
}

/* Why cards */
.ts-val-why { padding: 72px 0; background: #f7f4ef; }
.ts-val-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ts-val-why-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e8e4dc;
}
.ts-val-why-icon { font-size: 2.2rem; margin-bottom: 16px; }
.ts-val-why-card h3 { font-size: 1.05rem; font-weight: 700; color: #0a1628; margin-bottom: 10px; }
.ts-val-why-card p  { font-size: 0.9rem; color: #667; line-height: 1.6; }

/* Valuation form */
.ts-val-form-section { padding: 72px 0 80px; }
.ts-val-form-wrap {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 20px;
    padding: 48px;
}
.ts-val-form-header { text-align: center; margin-bottom: 40px; }
.ts-val-form-header h2 { font-size: 1.8rem; font-weight: 700; color: #0a1628; margin-bottom: 10px; }
.ts-val-form-header p  { color: #667; font-size: 1rem; }

/* Shared FluentForms overrides for valuation */
.ts-val-form-wrap .ff-el-input--label label { font-weight: 600; color: #334; font-size: 0.9rem; }
.ts-val-form-wrap .ff-el-form-control {
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.ts-val-form-wrap .ff-el-form-control:focus { border-color: #c9a96e; outline: none; box-shadow: 0 0 0 3px rgba(201,169,110,0.15); }
.ts-val-form-wrap .ff-btn-submit {
    background: #c9a96e !important;
    color: #0a1628 !important;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
    margin-top: 8px;
}
.ts-val-form-wrap .ff-btn-submit:hover { opacity: 0.88; }

/* What happens next */
.ts-val-next { padding: 72px 0 80px; background: #0a1628; }
.ts-val-next-heading { font-size: 1.8rem; font-weight: 700; color: #fff; text-align: center; margin-bottom: 48px; }
.ts-val-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.ts-val-step { text-align: center; }
.ts-val-step-num {
    width: 56px; height: 56px;
    background: #c9a96e;
    color: #0a1628;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.ts-val-step h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ts-val-step p  { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — INNER PAGES
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .ts-profile-page-grid { grid-template-columns: 1fr; }
    .ts-profile-sidebar   { position: static; }
    .ts-profile-page-photo { aspect-ratio: 4/3; }
    .ts-contact-grid      { grid-template-columns: 1fr; }
    .ts-val-why-grid      { grid-template-columns: repeat(2, 1fr); }
    .ts-val-steps         { grid-template-columns: 1fr; gap: 24px; }
    .ts-testimonials-grid { grid-template-columns: 1fr; }
    .ts-cta-inner         { flex-direction: column; text-align: center; }
    .ts-cta-actions       { justify-content: center; }
    .ts-profile-stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .ts-val-why-grid      { grid-template-columns: 1fr; }
    .ts-val-form-wrap     { padding: 28px 20px; }
    .ts-profile-stats-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ── Agent name font (applied via CSS variable from wp_head) ─────────────── */
.ts-logo-name,
.ts-hero-h1,
.ts-section-title,
.ts-profile-page-name {
    font-family: var(--agent-name-font, 'Playfair Display', Georgia, serif);
}

/* ── Language Switcher ───────────────────────────────────────────────────── */
.ts-topbar-left { display: flex; align-items: center; gap: 12px; }
.ts-topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }

.ts-lang-switcher { position: relative; }
.ts-lang-btn {
    display: flex; align-items: center; gap: 5px;
    background: none; border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.75); font-size: 11px; font-weight: 500;
    letter-spacing: 0.06em; padding: 3px 8px; border-radius: 3px;
    cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.ts-lang-btn:hover { border-color: rgba(201,169,110,0.5); color: #c9a96e; }
.ts-lang-current { font-size: 11px; font-weight: 600; }

.ts-lang-dropdown {
    position: absolute; top: calc(100% + 6px); left: 0;
    background: #0a1628; border: 1px solid rgba(201,169,110,0.25);
    border-radius: 4px; min-width: 140px; z-index: 200;
    opacity: 0; pointer-events: none; transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s;
}
.ts-lang-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.ts-lang-option {
    display: block; padding: 8px 14px; font-size: 13px;
    color: rgba(255,255,255,0.75); cursor: pointer;
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}
.ts-lang-option:hover, .ts-lang-option.active {
    color: #c9a96e; background: rgba(201,169,110,0.08);
}

/* ── Broker compliance footer strip ─────────────────────────────────────── */
.ts-footer-compliance {
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
}
.ts-footer-disclaimer {
    font-size: 11px; color: rgba(255,255,255,0.35);
    line-height: 1.6; max-width: 900px; margin: 0 auto; text-align: center;
}
.ts-footer-broker-addr {
    font-size: 12px; color: rgba(255,255,255,0.35); margin: 2px 0 0;
}

/* ── Mobile hero — show more of her, lighter overlay ────────────────────── */
@media (max-width: 720px) {
    .ts-hero-agent-img {
        width: 100%;
        opacity: 0.45 !important;
        object-position: top center !important;
    }
    .ts-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10,22,40,0.35) 0%,
            rgba(10,22,40,0.55) 55%,
            rgba(10,22,40,0.82) 100%
        ) !important;
    }
    /* Ensure hero is tall enough to see her body */
    .ts-hero { min-height: 85vh; }
    /* Push content to bottom so photo shows at top */
    .ts-hero-content {
        position: relative; z-index: 2;
        margin-top: auto;
        padding-bottom: 40px;
    }

    /* Language switcher hide text on very small screens */
    .ts-topbar-tag { display: none; }
    .ts-topbar-divider { display: none; }
}

@media (max-width: 480px) {
    .ts-lang-btn span.ts-topbar-tag { display: none; }
    /* Show only phone + email in topbar, hide social on tiny screens */
    .ts-topbar-right .ts-topbar-link:nth-child(n+3) { display: none; }
}

/* ── REALTOR® & EHO badges in footer ────────────────────────────────────── */
.ts-footer-badges {
    display: flex; align-items: flex-end; gap: 14px;
    margin-top: 16px; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.ts-footer-nar-img { width: 90px; height: auto; opacity: 0.85; }

.ts-footer-nar-badge {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; cursor: default;
}
.ts-nar-r {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    background: #fff; color: #0a1628;
    font-size: 28px; font-weight: 900; font-family: Georgia, serif;
    border: 3px solid rgba(255,255,255,0.7);
    line-height: 1;
}
.ts-nar-word {
    font-size: 8px; font-weight: 700; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.6); text-transform: uppercase;
}
.ts-nar-word sup { font-size: 6px; }

.ts-footer-eho-badge {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; cursor: default;
    color: rgba(255,255,255,0.5);
}
.ts-footer-eho-badge svg { opacity: 0.6; width: 52px; height: 58px; }
.ts-eho-label {
    font-size: 7px; text-align: center; line-height: 1.3;
    letter-spacing: 0.04em; color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}


/* ── Property Search page ────────────────────────────────────────────────── */
.ts-search-page { padding: 48px 0 80px; }
.ts-search-page-wrap { max-width: 1100px; }
.ts-search-page-wrap iframe,
.ts-search-page-wrap .IDX-main { width: 100% !important; }

/* ── Search filter bar ───────────────────────────────────────────────────── */
.ts-search-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e8e2d9;
    padding: 20px 0;
    position: sticky; top: 64px; z-index: 50;
    box-shadow: 0 2px 12px rgba(10,22,40,0.07);
}
.ts-filter-form { width: 100%; }
.ts-filter-row {
    display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
}
.ts-filter-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 110px; }
.ts-filter-field--wide { flex: 2; min-width: 200px; }
.ts-filter-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: #6b7280;
}
.ts-filter-input,
.ts-filter-select {
    height: 40px; padding: 0 12px;
    border: 1px solid #d1c9bc; border-radius: 4px;
    font-size: 13px; color: #0a1628; background: #faf9f7;
    width: 100%; appearance: none; -webkit-appearance: none;
    transition: border-color 0.2s;
}
.ts-filter-input:focus,
.ts-filter-select:focus {
    outline: none; border-color: #c9a96e; background: #fff;
}
.ts-filter-submit {
    height: 40px; padding: 0 24px;
    background: #0a1628; color: #fff;
    border: none; border-radius: 4px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
    cursor: pointer; transition: background 0.2s; white-space: nowrap;
    align-self: flex-end;
}
.ts-filter-submit:hover { background: #c9a96e; }

@media (max-width: 720px) {
    .ts-filter-row { gap: 8px; }
    .ts-filter-field, .ts-filter-field--wide { min-width: calc(50% - 4px); flex: none; width: calc(50% - 4px); }
    .ts-filter-submit { width: 100%; margin-top: 4px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   IDX SEARCH & LISTING STYLES  —  tiffany-kadence v2.0
   Append to assets/style.css on deploy
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Search filter bar ───────────────────────────────────────────────────── */
.ts-search-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e8e2d9;
    padding: 18px 0;
    box-shadow: 0 2px 12px rgba(10,22,40,0.07);
}
.ts-search-filter-bar--sticky {
    position: sticky; top: 64px; z-index: 50;
}
.ts-filter-form { width: 100%; }
.ts-filter-row {
    display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
}
.ts-filter-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 110px; }
.ts-filter-field--wide { flex: 2; min-width: 220px; }
.ts-filter-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.09em;
    text-transform: uppercase; color: #8b7d6b;
}
.ts-filter-input,
.ts-filter-select {
    height: 40px; padding: 0 12px;
    border: 1px solid #d1c9bc; border-radius: 4px;
    font-size: 13px; color: #0a1628; background: #faf9f7;
    width: 100%; appearance: none; -webkit-appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ts-filter-input:focus,
.ts-filter-select:focus {
    outline: none; border-color: #c9a96e;
    box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
    background: #fff;
}
.ts-filter-submit {
    height: 40px; padding: 0 28px;
    background: #0a1628; color: #fff;
    border: none; border-radius: 4px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
    cursor: pointer; transition: background 0.2s; white-space: nowrap;
    align-self: flex-end; flex-shrink: 0;
}
.ts-filter-submit:hover { background: #c9a96e; }

/* ── Results header ──────────────────────────────────────────────────────── */
.ts-search-page { padding: 36px 0 80px; }
.ts-results-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.ts-results-count {
    font-size: 14px; color: #6b5e4e;
}
.ts-results-count strong { color: #0a1628; }
.ts-sort-select { height: 34px; min-width: 180px; font-size: 12px; }

/* ── Listings grid ───────────────────────────────────────────────────────── */
.ts-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ── Listing card ────────────────────────────────────────────────────────── */
.ts-listing-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: 8px;
    border: 1px solid #e8e2d9;
    overflow: hidden; text-decoration: none; color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ts-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10,22,40,0.12);
}
.ts-listing-photo {
    position: relative; height: 200px;
    background: #e8e2d9 center/cover no-repeat;
}
.ts-listing-status {
    position: absolute; top: 12px; left: 12px;
    padding: 3px 10px; border-radius: 3px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ts-status-active  { background: #c9a96e; color: #0a1628; }
.ts-status-sold    { background: #0a1628; color: #fff; }
.ts-status-pending { background: #6b7280; color: #fff; }

.ts-listing-info { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ts-listing-price {
    font-size: 18px; font-weight: 700; color: #0a1628;
    font-family: 'Playfair Display', Georgia, serif;
}
.ts-listing-address { font-size: 13px; font-weight: 500; color: #0a1628; }
.ts-listing-city    { font-size: 12px; color: #8b7d6b; }
.ts-listing-meta {
    display: flex; gap: 8px; margin-top: 8px;
    font-size: 12px; color: #6b5e4e;
    padding-top: 10px; border-top: 1px solid #f0ece6;
}
.ts-meta-dot { color: #d1c9bc; }

/* ── Load more / pagination ──────────────────────────────────────────────── */
.ts-pagination { text-align: center; margin-top: 40px; }
.ts-pagination-btn {
    display: inline-block; padding: 12px 36px;
    background: transparent; border: 1px solid #c9a96e;
    color: #0a1628; border-radius: 4px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
    cursor: pointer; transition: background 0.2s, color 0.2s;
}
.ts-pagination-btn:hover { background: #c9a96e; }

/* ── Loading overlay ─────────────────────────────────────────────────────── */
.ts-loading-overlay {
    display: flex; align-items: center; justify-content: center;
    padding: 60px 0;
}
.ts-spinner {
    width: 36px; height: 36px;
    border: 3px solid #e8e2d9;
    border-top-color: #c9a96e;
    border-radius: 50%;
    animation: ts-spin 0.7s linear infinite;
}
@keyframes ts-spin { to { transform: rotate(360deg); } }

/* ── No results ──────────────────────────────────────────────────────────── */
.ts-no-results {
    grid-column: 1 / -1; text-align: center;
    padding: 80px 20px; color: #8b7d6b;
}
.ts-no-results svg { margin-bottom: 16px; opacity: 0.35; }
.ts-no-results p { font-size: 16px; margin-bottom: 20px; }
.ts-btn-outline {
    display: inline-block; padding: 10px 28px;
    border: 1px solid #c9a96e; border-radius: 4px;
    color: #0a1628; font-size: 13px; font-weight: 600;
    cursor: pointer; background: transparent;
    transition: background 0.2s;
}
.ts-btn-outline:hover { background: rgba(201,169,110,0.12); }

/* ════════════════════════════════════════════════════════════════════════════
   LISTING DETAIL PAGE
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Photo gallery ───────────────────────────────────────────────────────── */
.ts-listing-gallery {
    display: grid;
    grid-template-rows: auto auto;
    background: #0a1628;
}
.ts-gallery-hero {
    position: relative; height: 52vh; min-height: 360px;
    background: #111 center/cover no-repeat;
    cursor: pointer;
}
.ts-gallery-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.5) 100%);
    pointer-events: none;
}
.ts-gallery-status-badge {
    position: absolute; bottom: 20px; left: 20px;
    padding: 5px 14px; border-radius: 3px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ts-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 100px; gap: 2px; background: #0a1628;
}
.ts-gallery-thumb {
    background: #1a2a40 center/cover no-repeat;
    position: relative; cursor: pointer; transition: opacity 0.2s;
}
.ts-gallery-thumb:hover { opacity: 0.8; }
.ts-gallery-more {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10,22,40,0.6);
    color: #fff; font-size: 13px; font-weight: 600;
}

/* ── Detail layout ───────────────────────────────────────────────────────── */
.ts-listing-detail { padding: 48px 0 80px; }
.ts-listing-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

/* ── Listing header ──────────────────────────────────────────────────────── */
.ts-listing-header {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 24px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.ts-listing-detail-price {
    font-size: 32px; font-weight: 700; color: #0a1628;
    font-family: 'Playfair Display', Georgia, serif;
    margin: 0 0 4px;
}
.ts-listing-detail-address {
    font-size: 16px; font-weight: 500; color: #0a1628; margin: 0 0 2px;
}
.ts-listing-detail-city { font-size: 14px; color: #8b7d6b; margin: 0; }

/* ── Specs bar ───────────────────────────────────────────────────────────── */
.ts-listing-specs {
    display: flex; gap: 0; flex-wrap: wrap;
    border: 1px solid #e8e2d9; border-radius: 6px;
    overflow: hidden; margin-bottom: 36px;
}
.ts-spec {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 16px 24px; flex: 1;
    border-right: 1px solid #e8e2d9;
    min-width: 90px;
}
.ts-spec:last-child { border-right: none; }
.ts-spec-val { font-size: 20px; font-weight: 700; color: #0a1628; }
.ts-spec-lbl { font-size: 11px; color: #8b7d6b; text-transform: uppercase; letter-spacing: 0.07em; }

/* ── Section title ───────────────────────────────────────────────────────── */
.ts-listing-section-title {
    font-size: 18px; font-weight: 600; color: #0a1628;
    margin: 0 0 16px; padding-bottom: 10px;
    border-bottom: 2px solid #c9a96e;
    font-family: 'Playfair Display', Georgia, serif;
}

/* ── Description ─────────────────────────────────────────────────────────── */
.ts-listing-description { margin-bottom: 40px; }
.ts-listing-desc-text {
    font-size: 15px; line-height: 1.75; color: #3d3028;
    transition: max-height 0.3s;
}
.ts-desc-toggle {
    background: none; border: none; padding: 8px 0; margin-top: 4px;
    color: #c9a96e; font-size: 13px; font-weight: 600;
    cursor: pointer; letter-spacing: 0.04em;
}

/* ── Details table ───────────────────────────────────────────────────────── */
.ts-listing-details-table { margin-bottom: 40px; }
.ts-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 1px solid #e8e2d9; border-radius: 6px; overflow: hidden;
}
.ts-detail-row {
    display: contents;
}
.ts-detail-row dt,
.ts-detail-row dd {
    padding: 11px 16px; margin: 0;
    border-bottom: 1px solid #f0ece6;
    font-size: 13px;
}
.ts-detail-row dt { font-weight: 600; color: #6b5e4e; background: #faf9f7; }
.ts-detail-row dd { color: #0a1628; }
.ts-detail-row:last-child dt,
.ts-detail-row:last-child dd { border-bottom: none; }

/* ── Agent sidebar card ──────────────────────────────────────────────────── */
.ts-listing-sidebar { position: sticky; top: 120px; }
.ts-agent-contact-card {
    background: #0a1628; border-radius: 8px;
    padding: 28px 24px; display: flex; flex-direction: column;
    align-items: center; gap: 8px; text-align: center;
    margin-bottom: 16px;
}
.ts-agent-card-photo {
    width: 80px; height: 80px; border-radius: 50%;
    object-fit: cover; object-position: top;
    border: 3px solid #c9a96e; margin-bottom: 4px;
}
.ts-agent-card-name {
    font-size: 18px; font-weight: 700; color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    margin: 0;
}
.ts-agent-card-title { font-size: 11px; color: rgba(255,255,255,0.5); margin: 0; letter-spacing: 0.06em; }
.ts-agent-card-phone,
.ts-agent-card-email {
    font-size: 14px; color: rgba(255,255,255,0.75);
    text-decoration: none; transition: color 0.2s;
}
.ts-agent-card-phone:hover,
.ts-agent-card-email:hover { color: #c9a96e; }
.ts-agent-card-cta { width: 100%; text-align: center; margin-top: 4px; }
.ts-agent-card-disclaimer {
    font-size: 10px; color: rgba(255,255,255,0.3);
    line-height: 1.5; margin: 8px 0 0;
}
.ts-listing-sidebar-back a {
    font-size: 13px; color: #8b7d6b; text-decoration: none;
}
.ts-listing-sidebar-back a:hover { color: #c9a96e; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.ts-btn { display: inline-block; padding: 11px 22px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; text-align: center; transition: background 0.2s, color 0.2s; cursor: pointer; border: none; }
.ts-btn-gold { background: #c9a96e; color: #0a1628; }
.ts-btn-gold:hover { background: #b8945a; color: #0a1628; }
.ts-btn-outline-navy { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.ts-btn-outline-navy:hover { background: rgba(255,255,255,0.08); }

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.ts-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(5,10,20,0.96);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 12px;
}
.ts-lightbox-img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.ts-lightbox-close,
.ts-lightbox-prev,
.ts-lightbox-next {
    position: absolute; background: rgba(255,255,255,0.1);
    border: none; color: #fff; cursor: pointer;
    border-radius: 50%; transition: background 0.2s;
}
.ts-lightbox-close { top: 20px; right: 24px; width: 40px; height: 40px; font-size: 18px; }
.ts-lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 28px; }
.ts-lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 28px; }
.ts-lightbox-close:hover,
.ts-lightbox-prev:hover,
.ts-lightbox-next:hover { background: rgba(201,169,110,0.4); }
.ts-lightbox-counter { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .ts-listing-layout { grid-template-columns: 1fr; }
    .ts-listing-sidebar { position: static; }
    .ts-gallery-thumbs { height: 72px; }
}

@media (max-width: 720px) {
    .ts-filter-field, .ts-filter-field--wide { min-width: calc(50% - 5px); flex: none; width: calc(50% - 5px); }
    .ts-filter-submit { width: 100%; margin-top: 4px; }
    .ts-listings-grid { grid-template-columns: 1fr; }
    .ts-listing-header { flex-direction: column; }
    .ts-listing-specs { flex-wrap: wrap; }
    .ts-spec { min-width: 100px; }
    .ts-detail-grid { grid-template-columns: 1fr; }
    .ts-gallery-thumbs { display: none; }
    .ts-gallery-hero { height: 40vh; }
}

/* === IDX Broker Custom CSS === */
/* ============================================================
   IDX Broker Custom CSS — Tiffany Reyes | SWFL REALTOR®
   Palette: #0a1628 navy · #c9a96e gold · #faf9f7 bg · #e8e2d9 border
   ============================================================ */

/* ── CSS variables ──────────────────────────────────────── */
:root {
  --idx-stroke-gray: #fff;
  --idx-bg: #faf9f7;
  --idx-navy: #0a1628;
  --idx-gold: #c9a96e;
  --idx-border: #e8e2d9;
}

/* ── Global / Page shell ────────────────────────────────── */
body.IDX-page-listings,
body.idx-wrapper-template-default {
  background: #faf9f7 !important;
  color: #0a1628;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Results wrapper ────────────────────────────────────── */
.IDX-wrapper-standard .idx-results,
.idx-results {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ── Results header / total count ──────────────────────── */
.IDX-wrapper-standard .idx-results__header,
.idx-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0 16px;
  border-bottom: 1px solid #e8e2d9;
  margin-bottom: 24px;
}

.IDX-wrapper-standard .idx-results-total__heading,
.idx-results-total__heading {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0;
}

/* ── Top action bar ─────────────────────────────────────── */
.IDX-wrapper-standard .IDX-topAction,
.IDX-topAction {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

/* ── Buttons ────────────────────────────────────────────── */
.IDX-wrapper-standard .IDX-btn,
.IDX-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 9px 18px !important;
  border-radius: 6px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  border: 1.5px solid #e8e2d9 !important;
  background: #fff !important;
  color: #0a1628 !important;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
  line-height: 1;
}
.IDX-wrapper-standard .IDX-btn:hover,
.IDX-btn:hover {
  border-color: #c9a96e !important;
  background: #fff8ef !important;
  color: #0a1628 !important;
  text-decoration: none;
}
.IDX-wrapper-standard .IDX-btn--rounded,
.IDX-btn--rounded { border-radius: 50px !important; }

.IDX-wrapper-standard .IDX-btn-primary,
.IDX-btn-primary {
  background: #c9a96e !important;
  border-color: #c9a96e !important;
  color: #fff !important;
}
.IDX-wrapper-standard .IDX-btn-primary:hover,
.IDX-btn-primary:hover {
  background: #b8944f !important;
  border-color: #b8944f !important;
  color: #fff !important;
}
.IDX-wrapper-standard .IDX-newSearch .IDX-btn,
.IDX-wrapper-standard .IDX-modifySearch .IDX-btn,
.IDX-newSearch .IDX-btn,
.IDX-modifySearch .IDX-btn {
  background: #0a1628 !important;
  border-color: #0a1628 !important;
  color: #fff !important;
}

/* ── Listing grid ───────────────────────────────────────── */
.IDX-wrapper-standard .idx-results__listings,
.idx-results__listings {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 24px !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ── Listing card ───────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card {
  background: #fff !important;
  border: 1px solid #e8e2d9 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: box-shadow 0.22s, transform 0.22s !important;
  display: flex !important;
  flex-direction: column !important;
}
.IDX-wrapper-standard .idx-listing-card:hover {
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.13) !important;
  transform: translateY(-3px) !important;
}

/* ── Card image ─────────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__image {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4/3;
  overflow: hidden !important;
  background: #e8e2d9 !important;
}
.IDX-wrapper-standard .idx-listing-card__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s !important;
}
.IDX-wrapper-standard .idx-listing-card:hover .idx-listing-card__image img {
  transform: scale(1.04) !important;
}
.IDX-wrapper-standard .idx-listing-card__image-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(10,22,40,0.4) 0%, transparent 55%) !important;
  pointer-events: none !important;
}

/* ── Status badge ───────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__status {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background: #c9a96e !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  z-index: 2 !important;
}

/* ── Card content ───────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__content {
  padding: 16px 18px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  gap: 8px !important;
  background: #fff !important;
}

/* ── Price ──────────────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #0a1628 !important;
  line-height: 1.2 !important;
  background: none !important;
}

/* ── Address ────────────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__address {
  font-size: 0.875rem !important;
  color: #374151 !important;
  line-height: 1.4 !important;
}
.IDX-wrapper-standard .idx-listing-card__address--number,
.IDX-wrapper-standard .idx-listing-card__address--street-name {
  font-weight: 600 !important;
  color: #0a1628 !important;
}
.IDX-wrapper-standard .idx-listing-card__address--City,
.IDX-wrapper-standard .idx-listing-card__address--state-abrv,
.IDX-wrapper-standard .idx-listing-card__address--zip {
  color: #6b7280 !important;
  font-size: 0.82rem !important;
}

/* ── Details row ────────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__details {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  font-size: 0.82rem !important;
  color: #374151 !important;
  padding-top: 8px !important;
  border-top: 1px solid #f0ebe3 !important;
  margin-top: 4px !important;
}

/* ── Card actions ───────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__actions {
  display: flex !important;
  gap: 8px !important;
  padding: 10px 18px 14px !important;
  background: #faf9f7 !important;
  border-top: 1px solid #f0ebe3 !important;
}
.IDX-wrapper-standard .idx-listing-card__action {
  flex: 1 !important;
  text-align: center !important;
  padding: 8px !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border: 1.5px solid #e8e2d9 !important;
  color: #0a1628 !important;
  background: #fff !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: border-color 0.18s, background 0.18s !important;
}
.IDX-wrapper-standard .idx-listing-card__action:hover {
  border-color: #c9a96e !important;
  background: #fff8ef !important;
  text-decoration: none !important;
}

/* ── Card link ──────────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__link {
  color: inherit !important;
  text-decoration: none !important;
}

/* ── Courtesy / MLS ─────────────────────────────────────── */
.IDX-wrapper-standard .idx-listing-card__courtesy {
  font-size: 0.7rem !important;
  color: #9ca3af !important;
  margin-top: 4px !important;
  background: none !important;
}

/* ── Pagination ─────────────────────────────────────────── */
.IDX-wrapper-standard .idx-pagination a,
.IDX-wrapper-standard .idx-pagination span,
.idx-pagination a,
.idx-pagination span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 10px !important;
  border-radius: 6px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border: 1.5px solid #e8e2d9 !important;
  color: #0a1628 !important;
  text-decoration: none !important;
  background: #fff !important;
  transition: all 0.18s !important;
}
.IDX-wrapper-standard .idx-pagination a:hover,
.idx-pagination a:hover {
  border-color: #c9a96e !important;
  background: #fff8ef !important;
  color: #0a1628 !important;
}
.IDX-wrapper-standard .idx-pagination .IDX-active,
.idx-pagination .IDX-active {
  background: #0a1628 !important;
  border-color: #0a1628 !important;
  color: #fff !important;
}

/* ── Category tabs ──────────────────────────────────────── */
.IDX-wrapper-standard .idx-results__category,
.idx-results__category {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 16px !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: 1.5px solid #e8e2d9 !important;
  color: #6b7280 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.18s !important;
  background: #fff !important;
}
.IDX-wrapper-standard .idx-results__category--active,
.idx-results__category--active {
  border-color: #c9a96e !important;
  background: #c9a96e !important;
  color: #fff !important;
}

/* ── Save/heart button ──────────────────────────────────── */
.IDX-wrapper-standard .IDX-resultsSaveProperty,
.IDX-wrapper-standard .IDX-saveProperty,
.IDX-resultsSaveProperty,
.IDX-saveProperty {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #c9a96e !important;
}

/* ── Badge ──────────────────────────────────────────────── */
.IDX-wrapper-standard .IDX-badge,
.IDX-badge {
  display: inline-block !important;
  padding: 3px 9px !important;
  border-radius: 4px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}
.IDX-wrapper-standard .IDX-badge--success,
.IDX-badge--success {
  background: #d4edda !important;
  color: #155724 !important;
}
.IDX-wrapper-standard .IDX-reduced,
.IDX-reduced {
  background: #c9a96e !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 4px !important;
}

/* ── Forms ──────────────────────────────────────────────── */
.IDX-wrapper-standard .IDX-form-control,
.IDX-wrapper-standard .IDX-input,
.IDX-form-control,
.IDX-input {
  padding: 10px 14px !important;
  border: 1.5px solid #e8e2d9 !important;
  border-radius: 6px !important;
  background: #faf9f7 !important;
  color: #0a1628 !important;
  font-size: 0.875rem !important;
  transition: border-color 0.18s !important;
}
.IDX-wrapper-standard .IDX-form-control:focus,
.IDX-wrapper-standard .IDX-input:focus,
.IDX-form-control:focus,
.IDX-input:focus {
  border-color: #c9a96e !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15) !important;
}

/* ── Map ────────────────────────────────────────────────── */
.IDX-wrapper-standard .idx-map,
.idx-map {
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #e8e2d9 !important;
}

/* ── Alerts ─────────────────────────────────────────────── */
.IDX-wrapper-standard .IDX-alert-info,
.IDX-alert-info {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1e40af !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
}

/* ── Listing detail page ────────────────────────────────── */
.IDX-wrapper-standard .IDX-title--PL,
.IDX-title--PL {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #0a1628 !important;
  line-height: 1.2 !important;
}
.IDX-wrapper-standard .IDX-btn__PL,
.IDX-btn__PL {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  background: #0a1628 !important;
  border: 1.5px solid #0a1628 !important;
  color: #fff !important;
  transition: all 0.18s !important;
}
.IDX-wrapper-standard .IDX-btn__PL:hover,
.IDX-btn__PL:hover {
  background: #c9a96e !important;
  border-color: #c9a96e !important;
  color: #fff !important;
}
.IDX-wrapper-standard .IDX-btn__PL--inverse,
.IDX-btn__PL--inverse {
  background: #fff !important;
  border-color: #0a1628 !important;
  color: #0a1628 !important;
}

/* ── Misc ───────────────────────────────────────────────── */
.IDX-wrapper-standard .IDX-psudolink,
.IDX-psudolink {
  color: #c9a96e !important;
  cursor: pointer !important;
}
.IDX-wrapper-standard .IDX-formResponse,
.IDX-formResponse {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #166534 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .IDX-wrapper-standard .idx-results__listings,
  .idx-results__listings {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .IDX-wrapper-standard .idx-results__listings,
  .idx-results__listings {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Autocomplete dropdown (above input) ─────────────────────────────────── */
.ts-search-input-wrap { overflow: visible; }
.ts-search-btn { border-radius: 0 6px 6px 0; }
.ts-autocomplete {
    position: absolute;
    left: 0; right: 0;
    bottom: calc(100% + 6px);
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.13);
    z-index: 999;
    display: none;
    overflow: hidden;
}
.ts-autocomplete-item {
    padding: 11px 16px;
    font-size: 14px;
    color: #1a1a1a;
    cursor: pointer;
    border-bottom: 1px solid #f0ede8;
    transition: background 0.15s;
}
.ts-autocomplete-item:last-child { border-bottom: none; }
.ts-autocomplete-item:hover { background: #f7f4ef; color: #0a1628; }

/* ── SWFL Area Cards — scenic photo redesign ─────────────────────────────── */
.ts-areas-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ts-area-card {
    aspect-ratio: 3/4;
    background-color: #0a1628;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s;
}
.ts-area-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 60px rgba(0,0,0,0.25);
}
.ts-area-bg {
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.1) 100%);
    opacity: 1;
}
.ts-area-card:hover .ts-area-bg { opacity: 0.9; }
.ts-area-card::after { display: none; }
.ts-area-info { padding: 18px 16px 16px; }
.ts-area-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.ts-area-links a {
    font-size: 9px;
    padding: 4px 8px;
    background: rgba(201,169,110,0.18);
    border-color: rgba(201,169,110,0.4);
    color: #e8d5a8;
}
.ts-area-links a:hover {
    background: rgba(201,169,110,0.35);
    color: #fff;
    border-color: #c9a96e;
}
@media (max-width: 1100px) {
    .ts-areas-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .ts-areas-grid { grid-template-columns: repeat(2, 1fr); }
    .ts-area-card { aspect-ratio: 3/4; }
}
@media (max-width: 480px) {
    .ts-areas-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Mobile menu — group labels and sub-links */
.ts-mobile-group {
    display: block;
    padding: 10px 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c9a96e;
    border-bottom: 1px solid #f0f0f0;
    cursor: default;
}
.ts-mobile-sub {
    display: block;
    padding: 10px 0 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}
.ts-mobile-link {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
}