/* ============================================================
   LOCATION PAGE STICKY SIDEBAR FIXES
   Moved from inline styles in location.php for clean SEO
   ============================================================ */

/* H1 / H2 — city hub editorial scale */
.location-page .location-h1 {
    margin: 0 0 8px;
    max-width: 920px;
    font-size: clamp(28px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--hub-navy, #0a1a32);
}

.location-page h1,
.advantage-page h1 {
    font-weight: 700 !important;
}

/* Location intro section */
.location-page .location-h2 {
    margin: 0 0 10px;
    max-width: 820px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #4a5364;
}

.location-h2 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 10px;
}

.location-intro {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.55;
    color: #374151;
    padding-left: 12px;
    border-left: 2px solid rgba(184, 149, 108, 0.35);
    margin-top: 0;
    margin-bottom: 8px;
}

.location-trust {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.location-intro--minimal {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.location-page #listing-description > h2,
.location-page .location-seo-content > h2 {
    margin: 0 0 12px;
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--hub-navy, #0a1a32);
}

.location-page .location-read-more-toggle {
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 6px;
}

.listing-count-meta {
    font-size: 14px;
    color: #000000;
    margin: 8px 0 18px;
    font-weight: 700;
}

/* City → Advantage auto-link block */
.city-advantage-links {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    margin: 16px 0 20px 0;
    padding: 0;
}

.city-advantage-links a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.city-advantage-links a:hover {
    color: #0077ed;
    text-decoration: underline;
}

/* Featured section styling */
.featured-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-top: 32px;
}

.featured-section-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    max-width: 680px;
    margin-bottom: 16px;
}

/* Sorting wrapper - enhanced visibility */
.sorting-wrapper {
    margin-top: 0;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.sort-label {
    font-weight: 700;
    color: #1f2d3d;
    margin-right: 12px;
    font-size: 14px;
}

.sort-dropdown {
    font-weight: 600;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sort-dropdown:hover {
    border-color: #9ca3af;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sort-dropdown:focus {
    outline: none;
    border-color: #1f2d3d;
    box-shadow: 0 0 0 3px rgba(31, 45, 61, 0.1);
}

/* ============================================================
   FEATURED PROPERTIES SECTION
   ============================================================ */

/* Featured properties section wrapper */
.featured-properties {
    margin-bottom: 48px;
    padding-bottom: 24px;
}

.featured-title {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

/* Featured list card spacing - same for all listings (override akkus.css) */
.location-page .featured-list .listing-card,
.location-page .featured-list li.listing-card,
.location-page .property-list--standard .listing-card,
.location-page .property-list--standard li.listing-card,
.location-page .property-list.property-list--standard .listing-card,
.location-page .property-list.property-list--standard li.listing-card,
.advantage-page .featured-list .listing-card,
.advantage-page .featured-list li.listing-card,
.advantage-page .property-list--standard .listing-card,
.advantage-page .property-list--standard li.listing-card,
.advantage-page .property-list.property-list--standard .listing-card,
.advantage-page .property-list.property-list--standard li.listing-card {
    margin-bottom: 24px !important;
}

/* Page 2+ context block (pagination pages) */
.page-context--pagination {
    margin: 12px 0 24px;
    color: #555;
}

.page-context-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.page-context-sub {
    font-size: 13px;
    margin: 4px 0 0;
    opacity: 0.75;
}

/* ============================================================
   LISTING SECTION TITLE
   ============================================================ */

/* Strong visual anchor for main listings section */
.listing-section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #1f2d3d;
    margin-top: 56px;
    margin-bottom: 28px;
    padding-top: 28px;
    border-top: 2px solid #e5e7eb;
    position: relative;
}

/* Subtle accent line (premium, not noisy) */
.listing-section-title::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, #1f2d3d, transparent);
}

.listing-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    margin-top: 4px;
}

/* Align search bar (sidebar) top with first property listing item */
@media (min-width: 992px) {
    /* Override akkus.css .main padding-top for location pages AND advantage pages */
    .location-page .main,
    .advantage-page .main {
        padding-top: 25px !important;  /* More spacing between menu and title */
    }
    
    /* Override ALL akkus.css conflicting rules (lines 1110-1126) */
    /* Make sidebar sticky - moves with scroll until page end */
    /* Align search bar with top of listing cards (title + sorting + first card) */
    .location-page .sidebar.right-sidebar,
    .location-page .right-sidebar,
    .advantage-page .sidebar.right-sidebar,
    .advantage-page .right-sidebar {
        position: sticky !important;
        top: 67px !important;
        margin-top: 0 !important;  /* Aligned with listing cards - no offset */
        padding-top: 0 !important;
        align-self: flex-start !important;
        z-index: 100 !important;
    }
    
    /* Ensure search form has no extra margin */
    .location-page .sidebar.right-sidebar form#rfn,
    .advantage-page .sidebar.right-sidebar form#rfn {
        margin-top: 0 !important;
        margin-bottom: 24px !important;
    }
    
    /* Make sure the row container allows sticky positioning */
    .location-page .container .row,
    .advantage-page .container .row {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }
    
    /* Ensure parent containers don't break sticky */
    .location-page .main,
    .location-page #content,
    .location-page .content.full,
    .location-page .container,
    .advantage-page .main,
    .advantage-page #content,
    .advantage-page .content.full,
    .advantage-page .container {
        overflow: visible !important;
        height: auto !important;
    }
    
    /* Ensure col-md-9 doesn't break sticky */
    .location-page .col-md-9,
    .advantage-page .col-md-9 {
        overflow: visible !important;
    }
    
    /* Remove float to allow sticky positioning */
    .location-page .sidebar.right-sidebar,
    .location-page .right-sidebar,
    .advantage-page .sidebar.right-sidebar,
    .advantage-page .right-sidebar {
        float: none !important;
        clear: none !important;
    }
    
    /* Ensure col-md-3 wrapper allows sticky */
    .location-page .col-md-3,
    .advantage-page .col-md-3 {
        overflow: visible !important;
    }
}
/* Mobile refinement for listing section title */
@media (max-width: 767px) {
    .listing-section-title {
        font-size: 20px;
        margin-top: 40px;
        margin-bottom: 20px;
        padding-top: 20px;
    }
}

/* ============================================================
   CITY HUB LUXURY TRUST + CONVERSION SYSTEM
   Visual hierarchy only — scoped to .location-page
   ============================================================ */

.location-page {
    --hub-navy: #0a1a32;
    --hub-navy-mid: #132743;
    --hub-gold: #b8956c;
    --hub-gold-soft: #d4b896;
    --hub-ivory: #faf8f5;
    --hub-cream: #f3efe9;
    --hub-white: #ffffff;
    --hub-whatsapp: #20b964;
    --hub-whatsapp-hover: #1aa559;
    --hub-shadow-soft: 0 16px 44px rgba(10, 26, 50, 0.07);
    --hub-shadow-lift: 0 24px 60px rgba(10, 26, 50, 0.12);
    --hub-shadow-card: 0 8px 24px rgba(10, 26, 50, 0.06);
    --hub-radius-lg: 18px;
    --hub-radius-md: 14px;
    --hub-space-xs: 8px;
    --hub-space-sm: 12px;
    --hub-space-md: 18px;
    --hub-space-lg: 24px;
    --hub-page-max: 1240px;
    --hub-widget-radius: 16px;
    --hub-filter-radius: 14px;
    --hub-radius-card: 16px;
    --hub-btn-radius: 11px;
    --hub-border: rgba(184, 149, 108, 0.22);
    --hub-border-light: rgba(184, 149, 108, 0.16);
    --hub-border-subtle: rgba(12, 31, 58, 0.12);
    --hub-shadow-hover: 0 12px 28px rgba(12, 31, 58, 0.09);
    --hub-gap-sm: 8px;
    --hub-gap-md: 14px;
    --hub-gap-lg: 20px;
    --type-body: 17px;
    --type-label: 13px;
    --type-meta: 15px;
    --type-title: clamp(18px, 1.35vw, 22px);
    --type-section: clamp(28px, 2.4vw, 30px);
    --type-card: 22px;
    --type-faq-q: 20px;
    --hub-eyebrow-size: 10px;
    --hub-eyebrow-spacing: 0.12em;
    --hub-chip-label-size: 11px;
    --hub-chip-value-size: clamp(22px, 2vw, 26px);
    --hub-chip-desc-size: 14px;
}

/* --- Unified micro-label system --- */
.location-page .hub-chapter__eyebrow,
.location-page .aio-summary__eyebrow,
.location-page .sidebar-filters-separator__label,
.location-page .sidebar.right-sidebar .sidebar-filter-heading {
    font-size: var(--hub-eyebrow-size);
    font-weight: 800;
    letter-spacing: var(--hub-eyebrow-spacing);
    text-transform: uppercase;
}

.location-page .location-fact-matrix__chip-label {
    font-size: var(--hub-chip-label-size);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hub-gold);
}

/* --- Reusable trust badges --- */
.location-page .hub-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--hub-navy-mid);
    background: var(--hub-ivory);
    border: 1px solid rgba(184, 149, 108, 0.28);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.location-page .hub-trust-badge--gold {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hub-navy);
    background: linear-gradient(180deg, #fffdf9 0%, var(--hub-cream) 100%);
    border: 1px solid rgba(184, 149, 108, 0.45);
    border-radius: 999px;
}

.location-page .hub-trust-badge__mark {
    color: var(--hub-gold);
    font-weight: 800;
}

.location-page .hub-trust-badge--inline {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.location-page .hub-pill-chip {
    display: inline-block;
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hub-navy-mid);
    background: var(--hub-white);
    border: 1px solid rgba(184, 149, 108, 0.32);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.location-page .hub-pill-chip--muted {
    color: #5c6678;
    background: var(--hub-ivory);
    border-color: rgba(10, 26, 50, 0.1);
}

/* --- Chapter eyebrows + system --- */
.location-page .hub-chapter__eyebrow {
    margin: 0 0 6px;
    color: var(--hub-gold);
}

.location-page .hub-chapter {
    position: relative;
    isolation: isolate;
}

.location-page .hub-chapter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin-left: -50vw;
    z-index: -1;
    pointer-events: none;
}

.location-page .hub-chapter::after {
    content: "";
    display: block;
    position: absolute;
    left: var(--hub-space-md);
    right: var(--hub-space-md);
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 149, 108, 0.35) 20%, rgba(184, 149, 108, 0.35) 80%, transparent);
    pointer-events: none;
}

.location-page .hub-chapter--lead::after,
.location-page .hub-chapter--faq::after {
    display: none;
}

.location-page .hub-chapter--facts::after,
.location-page .hub-chapter--aio::after,
.location-page .hub-chapter--decision::after {
    display: none;
}

.location-page .hub-chapter + .hub-chapter {
    margin-top: 8px;
}

/* --- Market Snapshot chips — secondary support block --- */
.location-page .location-fact-matrix {
    margin: 4px 0 0;
    padding: 6px 10px 8px;
    border: 1px solid rgba(184, 149, 108, 0.1);
    border-radius: var(--hub-radius-md);
    background: rgba(250, 248, 245, 0.5);
    box-shadow: none;
}

.location-page .hub-chapter--facts::before {
    background: transparent;
}

.location-page .hub-chapter--facts .hub-chapter__eyebrow {
    margin: 0 0 2px;
    font-size: 10px;
}

.location-page .location-fact-matrix__title {
    margin: 0 0 5px;
    padding-bottom: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hub-navy-mid);
    border-bottom: 0;
    opacity: 0.7;
}

.location-page .location-fact-matrix__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    align-items: stretch;
}

.location-page .location-fact-matrix__chip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 0;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid var(--hub-border-light);
    border-radius: 10px;
    background: var(--hub-white);
    box-shadow: none;
}

.location-page .location-fact-matrix__chip-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 4px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.location-page .location-fact-matrix__chip-icon {
    display: none;
}

.location-page .location-fact-matrix__chip-label {
    color: var(--hub-gold);
}

.location-page .location-fact-matrix__chip-value {
    display: block;
    margin: 0 0 2px;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--hub-navy);
}

.location-page .location-fact-matrix__chip--access .location-fact-matrix__chip-value {
    font-size: clamp(20px, 1.75vw, 24px);
}

.location-page .location-fact-matrix__chip-desc {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    color: #5c6678;
}

/* --- Executive Summary grid — premium horizontal strip --- */
.location-page .aio-summary {
    margin: 0 0 6px;
    padding: 8px 12px 8px;
    border: 1px solid rgba(184, 149, 108, 0.32);
    border-radius: var(--hub-radius-lg);
    background: linear-gradient(180deg, var(--hub-white) 0%, var(--hub-ivory) 100%);
    box-shadow: var(--hub-shadow-lift);
}

.location-page .hub-chapter--aio::before {
    background: transparent;
}

.location-page .aio-summary__header {
    margin: 0 0 6px;
}

.location-page .aio-summary__eyebrow {
    display: block;
    margin: 0 0 2px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--hub-gold);
}

.location-page .aio-summary__title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--hub-navy);
    opacity: 1;
}

.location-page .aio-summary__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0;
    border: 1px solid rgba(184, 149, 108, 0.22);
    border-radius: var(--hub-radius-md);
    background: var(--hub-white);
    overflow: hidden;
}

.location-page .aio-summary__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 10px 9px;
    border-right: 1px solid rgba(184, 149, 108, 0.14);
}

.location-page .aio-summary__item:last-child {
    border-right: 0;
}

.location-page .aio-summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 1px 0 0;
    border-radius: 50%;
    background: var(--hub-navy);
    color: var(--hub-gold-soft);
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(10, 26, 50, 0.1);
}

.location-page .aio-summary__line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
}

.location-page .aio-summary__item strong {
    display: block;
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hub-navy);
    line-height: 1.2;
    white-space: normal;
}

.location-page .aio-summary__item p {
    display: block;
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: #5c6678;
}

.location-page .aio-summary__item p::before {
    content: none;
}

/* --- Decision layer — compact buyer-fit strip --- */
.location-page .decision-layer {
    margin: 4px 0 0;
    padding: 6px 12px 8px;
    border: 1px solid rgba(184, 149, 108, 0.14);
    border-radius: var(--hub-radius-md);
    background: rgba(250, 248, 245, 0.5);
    box-shadow: none;
    font-size: 15px;
}

.location-page .hub-chapter--decision::before {
    background: transparent;
}

.location-page .decision-layer__header {
    margin: 0 0 6px;
}

.location-page .decision-layer__heading {
    margin: 0;
    padding: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--hub-navy);
    border-bottom: 0;
}

.location-page .decision-layer__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.location-page .decision-layer__card {
    height: auto;
    min-height: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--hub-white);
    border: 1px solid var(--hub-border-light);
    font-size: 15px;
}

.location-page .decision-layer__card--choose {
    border-left: 3px solid var(--hub-gold);
}

.location-page .decision-layer__card--elsewhere {
    border-left: 3px solid var(--hub-navy-mid);
}

.location-page .decision-layer__card-head {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 3px;
}

.location-page .decision-layer__card-icon {
    display: none !important;
}

.location-page .decision-layer__card--choose .decision-layer__card-head h4::after {
    content: " \2713";
    color: var(--hub-gold);
    font-weight: 800;
}

.location-page .decision-layer__card h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--hub-navy);
    line-height: 1.25;
}

.location-page .decision-layer__chips {
    display: block;
    margin: 0;
    padding: 0 0 0 16px;
    list-style: disc;
}

.location-page .decision-layer__chips li {
    margin: 0 0 2px;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: #374151;
}

.location-page .decision-layer__chips li:last-child {
    margin-bottom: 0;
}

.location-page .decision-layer__chips li::before {
    content: none;
    display: none;
}

.location-page .decision-layer__card--choose .decision-layer__chips li::marker {
    color: var(--hub-gold);
}

.location-page .decision-layer__card--elsewhere .decision-layer__chips li::marker {
    color: #8a94a6;
}

/* --- Lead capture chapter --- */
.location-page .city-hub-lead-capture {
    clear: both !important;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    margin: 28px 0 0 !important;
    padding: 22px 24px;
    border-radius: var(--hub-radius-lg);
    background: var(--hub-navy);
    border: 1px solid rgba(184, 149, 108, 0.4);
    box-shadow: var(--hub-shadow-lift);
}

.location-page article.col-md-9 > .col-md-12.text-center {
    clear: both !important;
    float: none !important;
    width: 100% !important;
    margin-bottom: 12px;
}

.location-page article.col-md-9 > .col-md-12.text-center:has(ul.pagination) {
    padding-bottom: 28px !important;
}

.location-page .hub-chapter--lead::before {
    display: none;
}

.location-page .city-hub-lead-capture__heading {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hub-white) !important;
}

.location-page .city-hub-lead-capture__text,
html.location-page article .city-hub-lead-capture p.city-hub-lead-capture__text {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92) !important;
    max-width: 640px;
}

.location-page .city-hub-lead-capture__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-page .city-hub-lead-capture__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.location-page .city-hub-lead-capture__btn--whatsapp {
    background: var(--hub-whatsapp);
    color: var(--hub-white);
    box-shadow: 0 8px 22px rgba(32, 185, 100, 0.28);
}

.location-page .city-hub-lead-capture__btn--whatsapp:hover {
    background: var(--hub-whatsapp-hover);
    color: var(--hub-white);
    transform: translateY(-1px);
}

.location-page .city-hub-lead-capture__btn--contact {
    background: transparent;
    color: var(--hub-white);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 0 0 1px rgba(184, 149, 108, 0.25);
}

.location-page .city-hub-lead-capture__btn--contact:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--hub-white);
    border-color: var(--hub-gold-soft);
}

/* --- Founder authority card --- */
.location-page .sidebar.right-sidebar .expert-authority-card {
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(184, 149, 108, 0.42);
    border-radius: var(--hub-widget-radius);
    background: var(--hub-white);
    box-shadow: var(--hub-shadow-lift);
}

.location-page .sidebar.right-sidebar .expert-authority-card::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--hub-gold) 0%, var(--hub-gold-soft) 50%, var(--hub-gold) 100%);
}

.location-page .expert-authority-card__portrait {
    position: relative;
    order: 1;
    flex: 0 0 auto;
    margin: 0;
    background: var(--hub-navy);
}

.location-page .expert-authority-card__portrait img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    aspect-ratio: 4 / 4.8;
    object-fit: cover;
    object-position: center 12%;
}

.location-page .expert-authority-card__body {
    display: block;
    order: 2;
    flex: 0 0 auto;
    padding: 20px 20px 18px;
}

.location-page .expert-authority-card__authority {
    margin: 0 0 14px;
    padding-bottom: 0;
    border-bottom: 0;
}

.location-page .expert-authority-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    border-top: 0;
}

.location-page .expert-authority-card__badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 12px;
}

.location-page .expert-authority-card__proof {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4a5364;
}

.location-page .expert-authority-card__name {
    margin: 0 0 6px;
    font-size: clamp(1.45rem, 2.6vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
    color: var(--hub-navy);
}

.location-page .expert-authority-card__role {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hub-navy-mid);
}

.location-page .expert-authority-card__badges .hub-trust-badge {
    width: 100%;
    justify-content: flex-start;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.location-page .expert-authority-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.location-page .expert-authority-card__btn--whatsapp {
    background: var(--hub-whatsapp);
    color: var(--hub-white);
    box-shadow: 0 8px 20px rgba(32, 185, 100, 0.28);
}

.location-page .expert-authority-card__btn--whatsapp:hover {
    background: var(--hub-whatsapp-hover);
    color: var(--hub-white);
    transform: translateY(-1px);
}

.location-page .expert-authority-card__btn--contact {
    background: var(--hub-navy);
    color: var(--hub-white);
    border: 1px solid rgba(184, 149, 108, 0.45);
    box-shadow: 0 6px 16px rgba(10, 26, 50, 0.16);
}

.location-page .expert-authority-card__btn--contact:hover {
    background: var(--hub-navy-mid);
    color: var(--hub-white);
    border-color: var(--hub-gold);
}

/* Sidebar separation: founder card vs filters */
.location-page .sidebar-filters-separator {
    margin: 22px 0 8px;
}

.location-page .sidebar-filters-separator__line {
    display: none;
}

.location-page .sidebar-filters-separator__label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a8b0bc;
}

.location-page .sidebar-filters-separator + .sidebar-filter-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Sidebar filters — secondary utility */
.location-page .sidebar.right-sidebar .sidebar-filter-heading {
    margin: 0 0 10px;
    padding-top: 0;
    color: #a8b0bc;
    border-top: 0;
}

.location-page .sidebar.right-sidebar .sidebar-filter-heading .fa {
    color: var(--hub-gold);
    margin-right: 5px;
    opacity: 0.7;
}

/* Sidebar filters — utility tools below founder */
.location-page .sidebar.right-sidebar {
    display: flex;
    flex-direction: column;
}

.location-page .sidebar.right-sidebar #srctp,
.location-page .sidebar.right-sidebar #topi,
.location-page .sidebar.right-sidebar #price_bl,
.location-page .sidebar.right-sidebar #location_bl {
    border: 1px solid rgba(184, 149, 108, 0.42);
    border-radius: var(--hub-widget-radius);
    background: var(--hub-white);
    box-shadow: var(--hub-shadow-card);
    margin: 0 0 var(--hub-gap-md);
    overflow: hidden;
}

.location-page .sidebar.right-sidebar #srctp strong,
.location-page .sidebar.right-sidebar #topi strong,
.location-page .sidebar.right-sidebar #price_bl strong,
.location-page .sidebar.right-sidebar #location_bl strong {
    display: block !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--hub-gold) !important;
    background: linear-gradient(180deg, #fffdf9 0%, var(--hub-cream) 100%) !important;
    border-bottom: 1px solid rgba(184, 149, 108, 0.16) !important;
}

.location-page .sidebar.right-sidebar #srctp a,
.location-page .sidebar.right-sidebar #topi a,
.location-page .sidebar.right-sidebar #price_bl a,
.location-page .sidebar.right-sidebar #location_bl a {
    display: block !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    min-height: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: var(--hub-navy-mid) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(184, 149, 108, 0.1) !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.location-page .sidebar.right-sidebar #srctp a em,
.location-page .sidebar.right-sidebar #topi a em,
.location-page .sidebar.right-sidebar #price_bl a em,
.location-page .sidebar.right-sidebar #location_bl a em {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #8a94a6 !important;
}

.location-page .sidebar.right-sidebar #srctp a:last-child,
.location-page .sidebar.right-sidebar #topi a:last-child,
.location-page .sidebar.right-sidebar #price_bl a:last-child,
.location-page .sidebar.right-sidebar #location_bl a:last-child {
    border-bottom: 0;
}

.location-page .sidebar.right-sidebar #srctp a:hover,
.location-page .sidebar.right-sidebar #topi a:hover,
.location-page .sidebar.right-sidebar #price_bl a:hover,
.location-page .sidebar.right-sidebar #location_bl a:hover,
.location-page .sidebar.right-sidebar #srctp a.acrnt,
.location-page .sidebar.right-sidebar #topi a.acrnt,
.location-page .sidebar.right-sidebar #price_bl a.acrnt,
.location-page .sidebar.right-sidebar #location_bl a.acrnt {
    background: var(--hub-ivory);
    color: var(--hub-navy);
}

.location-page .sidebar.right-sidebar #srctp a i.fa,
.location-page .sidebar.right-sidebar #price_bl a i.fa,
.location-page .sidebar.right-sidebar #location_bl a i.fa {
    color: var(--hub-gold);
    margin-right: 6px;
    opacity: 0.85;
}

.location-page .sidebar.right-sidebar form#rfn {
    border: 1px solid rgba(184, 149, 108, 0.42) !important;
    border-radius: var(--hub-widget-radius) !important;
    background: var(--hub-white) !important;
    box-shadow: var(--hub-shadow-card) !important;
    padding: 0 !important;
    margin: 0 0 var(--hub-gap-md) !important;
    opacity: 1;
    overflow: hidden;
    display: flex !important;
    align-items: stretch !important;
}

.location-page .sidebar.right-sidebar form#rfn input[type="text"] {
    flex: 1 1 auto;
    width: 100% !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--hub-navy-mid) !important;
    background: transparent !important;
}

.location-page .sidebar.right-sidebar form#rfn input[type="submit"] {
    flex: 0 0 auto;
    border: 0 !important;
    border-left: 1px solid rgba(184, 149, 108, 0.16) !important;
    margin: 0 !important;
    padding: 0 16px !important;
    min-width: 48px;
    background: linear-gradient(180deg, #fffdf9 0%, var(--hub-cream) 100%) !important;
    color: var(--hub-navy) !important;
}

/* --- Unified hub listing cards --- */
.location-page .listing-card {
    display: flex;
    align-items: stretch;
    background: var(--hub-white) !important;
    border: 1px solid var(--hub-border-subtle) !important;
    border-radius: var(--hub-radius-card) !important;
    box-shadow: var(--hub-shadow-card) !important;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.location-page .listing-card:hover {
    border-color: rgba(184, 149, 108, 0.35) !important;
    box-shadow: var(--hub-shadow-hover) !important;
    transform: translateY(-2px);
}

.location-page .listing-image {
    flex-shrink: 0;
    overflow: hidden;
    background: var(--hub-navy);
}

.location-page .listing-image .image {
    transition: transform 0.35s ease;
}

.location-page .listing-card:hover .listing-image .image {
    transform: scale(1.02);
}

.location-page .listing-image .code-tag {
    background: rgba(10, 26, 50, 0.78);
    border: 1px solid rgba(184, 149, 108, 0.35);
    border-radius: 8px;
    font-size: var(--type-label);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.location-page .listing-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
}

.location-page .price-badge {
    background: var(--hub-navy) !important;
    border: 1px solid rgba(184, 149, 108, 0.35) !important;
    border-radius: 999px !important;
    font-size: var(--type-meta) !important;
    font-weight: 800 !important;
    padding: 6px 16px !important;
    margin-bottom: var(--hub-gap-md) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.location-page .listing-title {
    margin: 0 0 var(--hub-gap-sm) !important;
    width: 100%;
}

.location-page .listing-title a {
    font-size: var(--type-title) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: var(--hub-navy) !important;
    line-height: 1.3 !important;
}

.location-page .listing-title a:hover {
    color: var(--hub-navy-mid) !important;
}

.location-page .listing-location {
    margin: 0 0 var(--hub-gap-sm) !important;
    font-size: var(--type-meta) !important;
    color: #5c6678 !important;
}

.location-page .listing-location i {
    color: var(--hub-gold) !important;
}

.location-page .listing-summary {
    margin: 0 0 var(--hub-gap-md) !important;
    font-size: var(--type-meta) !important;
    line-height: 1.55 !important;
    color: #5c6678 !important;
}

.location-page .listing-meta {
    margin-top: auto !important;
    width: 100%;
    align-items: center !important;
    gap: var(--hub-gap-md) !important;
}

.location-page .listing-meta span {
    font-size: var(--type-meta) !important;
    color: #5c6678 !important;
}

/* Unified hub CTA buttons */
.location-page .btn-view,
.location-page .city-hub-lead-capture__btn,
.location-page .expert-authority-card__btn,
.location-page .location-faq-section__support-cta {
    border-radius: var(--hub-btn-radius);
    font-size: var(--type-label);
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.location-page .btn-view {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px;
    padding: 10px 18px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    background: var(--hub-navy) !important;
    color: var(--hub-white) !important;
    border: 1px solid rgba(184, 149, 108, 0.35) !important;
    box-shadow: 0 6px 16px rgba(10, 26, 50, 0.14) !important;
    text-decoration: none !important;
}

.location-page .btn-view:hover {
    background: var(--hub-navy-mid) !important;
    color: var(--hub-white) !important;
    border-color: var(--hub-gold-soft) !important;
    transform: translateY(-1px);
}

/* --- FAQ premium accordion (mockup-aligned, theme-safe) --- */
.location-page .location-faq-section {
    margin-top: 64px !important;
    margin-bottom: 56px !important;
    padding: 34px !important;
    background: #fff !important;
    border: 1px solid rgba(12, 31, 58, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 45px rgba(12, 31, 58, 0.08) !important;
}

.location-page .hub-chapter--faq::before {
    background: linear-gradient(180deg, rgba(247, 245, 242, 0.6) 0%, rgba(250, 248, 245, 0.3) 100%);
}

.location-page .location-faq-section__inner {
    margin: 0;
    padding: 0;
}

.location-page .location-faq-section__header {
    margin: 0 0 0;
    padding: 0;
    text-align: left;
}

.location-page .location-faq-section__eyebrow-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-page .location-faq-section__chapter-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #0a1a32;
    color: #d2aa6d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.location-page .location-faq-section__eyebrow {
    margin: 0;
    color: #b8956c;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.location-page .location-faq-section__title {
    margin: 16px 0 8px !important;
    padding: 0 !important;
    font-size: clamp(23px, 2.4vw, 29px) !important;
    line-height: 1.14 !important;
    font-weight: 900 !important;
    color: #0a1a32 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 0 !important;
}

.location-page .location-faq-section__subtitle {
    margin: 0 0 22px !important;
    padding: 0 !important;
    font-size: var(--type-body);
    line-height: 1.55;
    color: #4b5563 !important;
    font-weight: 400;
}

.location-page .location-faq-section__gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #b8956c, transparent);
    margin: 0 0 30px;
    position: relative;
}

.location-page .location-faq-section__accordion {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.location-page .location-faq-section details.location-faq-item,
.location-page article .location-faq-section details.location-faq-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid rgba(12, 31, 58, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 22px rgba(12, 31, 58, 0.06) !important;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.location-page .location-faq-section details.location-faq-item:hover {
    border-color: rgba(184, 149, 108, 0.45) !important;
    box-shadow: 0 12px 28px rgba(12, 31, 58, 0.09) !important;
    transform: translateY(-1px);
}

.location-page .location-faq-section details.location-faq-item[open] {
    border-color: rgba(184, 149, 108, 0.65) !important;
    box-shadow: 0 12px 30px rgba(12, 31, 58, 0.1) !important;
    transform: none;
}

.location-page .location-faq-section summary.location-faq-item__summary,
.location-page article .location-faq-section summary.location-faq-item__summary {
    min-height: 68px;
    padding: 14px 18px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 16px;
    cursor: pointer !important;
    list-style: none !important;
    background: #fff !important;
    border: 0 !important;
    font-weight: inherit;
    transition: background-color 0.2s ease;
}

.location-page .location-faq-section summary.location-faq-item__summary:hover {
    background: #faf8f5 !important;
}

.location-page .location-faq-section details.location-faq-item[open] summary.location-faq-item__summary {
    background: #faf8f5 !important;
    border-bottom: 1px solid rgba(184, 149, 108, 0.22) !important;
}

.location-page .location-faq-section summary.location-faq-item__summary::-webkit-details-marker {
    display: none !important;
}

.location-page .location-faq-section summary.location-faq-item__summary::marker {
    display: none !important;
    content: "";
}

.location-page .location-faq-item__left-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #0a1a32 !important;
    color: #fff !important;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
}

.location-page .location-faq-item__question {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    font-size: var(--type-faq-q) !important;
    line-height: 1.38 !important;
    font-weight: 800 !important;
    color: #0a1a32 !important;
    text-decoration: none !important;
}

.location-page .location-faq-item__toggle {
    width: 36px;
    height: 36px;
    border: 1px solid #0a1a32;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    background: #fff;
    display: inline-block !important;
}

.location-page .location-faq-item__toggle::before,
.location-page .location-faq-item__toggle::after {
    content: "";
    position: absolute;
    background: #0a1a32;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.location-page .location-faq-item__toggle::before {
    width: 16px;
    height: 2px;
}

.location-page .location-faq-item__toggle::after {
    width: 2px;
    height: 16px;
}

.location-page .location-faq-section details.location-faq-item[open] .location-faq-item__toggle::after {
    display: none;
}

.location-page .location-faq-item__answer {
    border-top: 1px solid rgba(184, 149, 108, 0.28);
    background: #faf8f5 !important;
    padding: 18px 22px 20px 76px;
    margin: 0 !important;
}

.location-page .location-faq-item__answer p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #374151 !important;
    font-weight: 400 !important;
}

.location-page .location-faq-section__support {
    margin-top: 26px;
    padding: 18px;
    border-radius: 16px;
    background: #f7f5f2;
    border: 1px solid rgba(184, 149, 108, 0.18);
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 16px;
    align-items: center;
}

.location-page .location-faq-section__support-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0a1a32;
    color: #d2aa6d;
    font-size: 26px;
    line-height: 1;
}

.location-page .location-faq-section__support-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location-page .location-faq-section__support-copy strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #0a1a32;
}

.location-page .location-faq-section__support-copy span {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: #4b5563;
}

.location-page .location-faq-section__support-cta,
.location-page article .location-faq-section a.location-faq-section__support-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px !important;
    border-radius: 10px;
    background: #0a1a32 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(10, 26, 50, 0.18);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.location-page .location-faq-section__support-cta:hover {
    background: #132743 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.location-page .location-faq-section__support-cta .fa {
    font-size: 18px;
}

@media (min-width: 992px) {
    .location-page .location-fact-matrix__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .location-page .hub-chapter--faq {
        padding: 0 !important;
    }

    .location-page .sidebar.right-sidebar .expert-authority-card {
        transform: translateY(-2px);
    }
}

@media (max-width: 991px) {
    .location-page .decision-layer__columns {
        grid-template-columns: 1fr;
    }

    .location-page .aio-summary__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .location-page .aio-summary__item:nth-child(2n) {
        border-right: 0;
    }

    .location-page .aio-summary__item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(184, 149, 108, 0.14);
    }

    .location-page .aio-summary__item strong {
        white-space: normal;
    }

    .location-page .sidebar.right-sidebar .expert-authority-card {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    .location-page .expert-authority-card__portrait img {
        min-height: 0;
        max-height: 200px;
        aspect-ratio: 16 / 11;
    }

    .location-page .expert-authority-card__proof {
        display: none;
    }

    .location-page .expert-authority-card__badges .hub-trust-badge:nth-child(n+3) {
        display: none;
    }

    .location-page .expert-authority-card__body {
        padding: 18px 16px 14px;
    }

    .location-page .expert-authority-card__actions {
        flex-direction: column;
        margin: 0 0 12px;
        padding: 0;
    }

    .location-page .expert-authority-card__btn {
        flex: 1;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 479px) {
    .location-page .aio-summary__grid {
        grid-template-columns: 1fr !important;
    }

    .location-page .aio-summary__item {
        border-right: 0;
        border-bottom: 1px solid rgba(184, 149, 108, 0.14);
    }

    .location-page .aio-summary__item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    .location-page .listing-card:hover {
        transform: none;
    }

    .location-page .listing-card:hover .listing-image .image {
        transform: none;
    }

    .location-page .btn-view {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-top: var(--hub-gap-sm);
    }

    .location-page .location-fact-matrix,
    .location-page .aio-summary,
    .location-page .decision-layer,
    .location-page .city-hub-lead-capture {
        padding-left: 14px;
        padding-right: 14px;
    }

    .location-page .location-fact-matrix {
        margin-top: 6px;
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .location-page .aio-summary {
        margin-top: 6px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .location-page .decision-layer {
        margin-top: 4px;
        padding: 6px 12px 8px;
    }

    .location-page .city-hub-lead-capture {
        margin-top: 24px;
        padding: 22px 16px;
    }

    .location-page .location-faq-section {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
        padding: 22px 16px !important;
        border-radius: 14px !important;
    }

    .location-page .location-faq-section__title {
        font-size: clamp(24px, 7vw, 32px) !important;
    }

    .location-page .location-faq-section__subtitle {
        font-size: 15px;
        margin-bottom: 20px !important;
    }

    .location-page .location-faq-section summary.location-faq-item__summary {
        grid-template-columns: 34px 1fr 34px !important;
        min-height: 60px;
        gap: 10px;
        padding: 12px !important;
    }

    .location-page .location-faq-item__left-icon,
    .location-page .location-faq-item__toggle {
        width: 32px;
        height: 32px;
    }

    .location-page .location-faq-item__left-icon {
        font-size: 16px;
    }

    .location-page .location-faq-item__question {
        font-size: 15px !important;
    }

    .location-page .location-faq-item__answer {
        padding: 14px 14px 16px 56px !important;
    }

    .location-page .location-faq-section__support {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }

    .location-page .location-faq-section__support-icon {
        margin: 0 auto;
    }

    .location-page .location-faq-section__support-cta {
        width: 100%;
        white-space: normal;
    }

    .location-page .sidebar-filters-separator {
        margin-top: 22px;
        margin-bottom: 12px;
    }

    .location-page .city-hub-lead-capture__actions {
        flex-direction: column;
    }

    .location-page .city-hub-lead-capture__btn {
        width: 100%;
    }

    .location-page .expert-authority-card__badges {
        grid-template-columns: 1fr 1fr;
    }

    .location-page .expert-authority-card__badges .hub-trust-badge:nth-child(n+3) {
        display: inline-flex;
    }

    .location-page .expert-authority-card__actions {
        flex-direction: column;
    }
}

/* ============================================================
   CITY HUB DESKTOP LAYOUT + UNIFIED LISTING/SIDEBAR SYSTEM
   Desktop only (992px+) — mobile unchanged
   ============================================================ */
@media (min-width: 992px) {
    html.location-page .body .main .container,
    html.location-page .body .container {
        max-width: var(--hub-page-max) !important;
        width: 100% !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    html.location-page .container .row > article.col-md-9 {
        flex: 0 0 73% !important;
        max-width: 73% !important;
        width: 73% !important;
    }

    html.location-page .container .row > aside.col-md-3 {
        flex: 0 0 27% !important;
        max-width: 27% !important;
        width: 27% !important;
    }

    html.location-page .location-h1 {
        font-size: clamp(30px, 2.5vw, 34px) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.03em;
        margin-bottom: 8px;
    }

    html.location-page h1 {
        font-size: clamp(30px, 2.5vw, 34px) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.03em;
        margin-bottom: 8px;
    }

    html.location-page .location-h2 {
        font-size: 17px;
        line-height: 1.4;
        margin: 0 0 10px;
        color: #4a5364;
    }

    html.location-page .location-intro {
        font-size: var(--type-body);
        line-height: 1.6;
        max-width: 920px;
        margin-bottom: 6px;
    }

    html.location-page .location-fact-matrix__title {
        font-size: 11px;
    }

    html.location-page .location-fact-matrix__chip-value {
        font-size: clamp(18px, 1.5vw, 22px);
    }

    html.location-page .location-fact-matrix__chip--access .location-fact-matrix__chip-value {
        font-size: clamp(20px, 1.75vw, 24px);
    }

    html.location-page .location-fact-matrix__chip-desc {
        font-size: 12px;
    }

    html.location-page .aio-summary {
        padding: 8px 12px 8px;
    }

    html.location-page .aio-summary__title {
        font-size: 13px;
    }

    html.location-page .aio-summary__item {
        min-height: 0;
        padding: 10px;
    }

    html.location-page .decision-layer__heading {
        font-size: 17px !important;
        margin-bottom: 0;
    }

    html.location-page .decision-layer {
        padding: 6px 12px 8px;
        font-size: 15px;
    }

    html.location-page .decision-layer__card {
        padding: 8px 10px;
        font-size: 15px;
    }

    html.location-page .decision-layer__columns {
        gap: 8px;
    }

    html.location-page .decision-layer__card h4 {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    html.location-page .decision-layer__chips li {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 2px !important;
    }

    html.location-page .location-fact-matrix__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    html.location-page .aio-summary__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    html.location-page .location-faq-section__subtitle {
        font-size: var(--type-body);
    }

    html.location-page .location-faq-item__answer p {
        font-size: var(--type-body) !important;
    }

    html.location-page article.col-md-9 > .col-md-12.text-center:has(ul.pagination) {
        padding-bottom: 32px !important;
        margin-bottom: 16px;
    }

    html.location-page .city-hub-lead-capture {
        padding: 24px 28px;
        margin-top: 32px !important;
    }

    html.location-page .sidebar.right-sidebar .expert-authority-card {
        margin-bottom: 0;
    }

    html.location-page .expert-authority-card__body {
        padding: 22px 22px 18px;
    }

    html.location-page .expert-authority-card__authority {
        margin-bottom: 14px;
    }

    html.location-page .expert-authority-card__actions {
        gap: 10px;
        margin: 0 0 14px;
        padding: 0;
    }

    html.location-page .expert-authority-card__badges {
        gap: 8px;
        margin-bottom: 12px;
    }

    html.location-page .expert-authority-card__proof {
        margin: 0;
    }

    html.location-page .expert-authority-card__portrait img {
        min-height: 248px;
        aspect-ratio: 4 / 4;
    }

    html.location-page .sidebar.right-sidebar .expert-authority-card {
        border-radius: var(--hub-widget-radius);
    }

    html.location-page .location-faq-section {
        margin-top: 44px !important;
        margin-bottom: 44px !important;
        padding: 36px 40px 32px !important;
    }

    html.location-page .location-faq-section__title {
        font-size: clamp(24px, 2.2vw, 29px) !important;
    }

    html.location-page .location-faq-item__question {
        font-size: 21px !important;
    }

    html.location-page .location-faq-section summary.location-faq-item__summary {
        min-height: 76px;
        padding: 16px 22px !important;
        grid-template-columns: 40px 1fr 40px;
        gap: 18px;
    }

    html.location-page .location-faq-section details.location-faq-item {
        border-radius: 18px !important;
    }

    html.location-page .location-faq-item__left-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    html.location-page .location-faq-item__toggle {
        width: 38px;
        height: 38px;
    }

    html.location-page .listing-section-title,
    html.location-page .featured-section-title {
        font-size: var(--type-section);
        margin-top: 40px;
        margin-bottom: 22px;
    }

    html.location-page .listing-card {
        display: flex !important;
        align-items: stretch !important;
        border-radius: var(--hub-radius-card) !important;
        border: 1px solid var(--hub-border-subtle) !important;
        box-shadow: var(--hub-shadow-card) !important;
        margin-bottom: var(--hub-gap-lg) !important;
        padding: 0 !important;
        overflow: hidden;
    }

    html.location-page .listing-card:hover {
        border-color: rgba(184, 149, 108, 0.35) !important;
        box-shadow: var(--hub-shadow-hover) !important;
        transform: translateY(-2px);
    }

    html.location-page .listing-image {
        width: 36% !important;
        min-height: unset !important;
        flex-shrink: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
    }

    html.location-page .listing-image .image {
        min-height: 240px !important;
        height: 100%;
    }

    html.location-page .listing-content {
        width: 64% !important;
        padding: var(--hub-space-lg) 28px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        min-width: 0;
    }

    html.location-page .listing-title a {
        font-size: var(--type-title) !important;
    }

    html.location-page .listing-meta {
        margin-top: auto !important;
        align-items: center !important;
        width: 100% !important;
    }

    html.location-page .btn-view {
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }

    html.location-page .sidebar.right-sidebar #srctp,
    html.location-page .sidebar.right-sidebar #topi,
    html.location-page .sidebar.right-sidebar #price_bl,
    html.location-page .sidebar.right-sidebar #location_bl {
        border-radius: var(--hub-filter-radius);
        margin-bottom: var(--hub-gap-md);
    }

    html.location-page .sidebar.right-sidebar form#rfn {
        border-radius: var(--hub-filter-radius) !important;
        padding: 0 !important;
        margin-bottom: var(--hub-gap-md) !important;
    }

    html.location-page .sidebar.right-sidebar .sidebar-filters-separator {
        margin-top: 22px;
        margin-bottom: 8px;
    }

    html.location-page .hub-chapter + .hub-chapter {
        margin-top: 8px;
    }
}

/* ============================================================
   CITY HUB VISUAL HIERARCHY (typography + order only)
   ============================================================ */

.location-page .location-fact-matrix__chip-value {
    font-weight: 900;
}

.location-page .decision-layer__heading {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.location-page .decision-layer__card h4 {
    font-size: 15px;
    font-weight: 700;
}

.location-page .decision-layer__chips li {
    font-size: 15px;
    line-height: 1.3;
}

.location-page .location-faq-section summary.location-faq-item__summary,
.location-page article .location-faq-section summary.location-faq-item__summary {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.location-page .location-faq-item__question {
    grid-column: 1;
    grid-row: 1;
}

.location-page .location-faq-item__toggle {
    grid-column: 2;
    grid-row: 1;
}

.location-page .location-faq-item__left-icon {
    grid-column: 3;
    grid-row: 1;
}

@media (min-width: 992px) {
    html.location-page .location-fact-matrix__chip-value {
        font-size: clamp(18px, 1.5vw, 22px);
        font-weight: 900;
    }

    html.location-page .location-fact-matrix__chip--access .location-fact-matrix__chip-value {
        font-size: clamp(20px, 1.75vw, 24px);
    }

    html.location-page .decision-layer__heading {
        font-size: 17px !important;
    }

    html.location-page .decision-layer__card h4 {
        font-size: 15px !important;
    }

    html.location-page .decision-layer__chips li {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 2px !important;
        color: #374151 !important;
    }

    html.location-page .sidebar.right-sidebar #srctp strong,
    html.location-page .sidebar.right-sidebar #topi strong,
    html.location-page .sidebar.right-sidebar #price_bl strong,
    html.location-page .sidebar.right-sidebar #location_bl strong,
    html.location-page #srctp strong,
    html.location-page #topi strong,
    html.location-page #price_bl strong,
    html.location-page #location_bl strong {
        padding: 8px 12px !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        letter-spacing: 0.12em !important;
        color: var(--hub-gold) !important;
        background: linear-gradient(180deg, #fffdf9 0%, var(--hub-cream) 100%) !important;
    }

    html.location-page .sidebar.right-sidebar #srctp a,
    html.location-page .sidebar.right-sidebar #topi a,
    html.location-page .sidebar.right-sidebar #price_bl a,
    html.location-page .sidebar.right-sidebar #location_bl a,
    html.location-page #srctp a,
    html.location-page #topi a,
    html.location-page #price_bl a,
    html.location-page #location_bl a {
        padding: 8px 12px !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        min-height: 0 !important;
    }

    html.location-page .sidebar.right-sidebar #price_bl a em,
    html.location-page .sidebar.right-sidebar #topi a em,
    html.location-page .sidebar.right-sidebar #srctp a em,
    html.location-page .sidebar.right-sidebar #location_bl a em,
    html.location-page #price_bl a em,
    html.location-page #topi a em {
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .location-page .location-faq-section summary.location-faq-item__summary {
        grid-template-columns: minmax(0, 1fr) auto auto !important;
    }
}

/* Sidebar filter luxury density — final override vs akkus.css */
html.location-page .sidebar.right-sidebar #srctp,
html.location-page .sidebar.right-sidebar #topi,
html.location-page .sidebar.right-sidebar #price_bl,
html.location-page .sidebar.right-sidebar #location_bl,
html.location-page #srctp,
html.location-page #topi,
html.location-page #price_bl,
html.location-page #location_bl {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 1px solid rgba(184, 149, 108, 0.42) !important;
    border-radius: var(--hub-widget-radius) !important;
    background: var(--hub-white) !important;
    box-shadow: var(--hub-shadow-card) !important;
    overflow: hidden !important;
}

html.location-page #topi strong {
    margin-bottom: 0 !important;
}

html.location-page #srctp a,
html.location-page #price_bl a,
html.location-page #location_bl a,
html.location-page #topi a {
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
    height: auto !important;
}

html.location-page #topi a {
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(184, 149, 108, 0.1) !important;
    text-align: left !important;
}

html.location-page #topi a span {
    display: inline !important;
    font-size: 14px !important;
    margin: 0 !important;
    height: auto !important;
}

html.location-page #topi a em {
    float: right !important;
    display: inline !important;
    margin: 0 !important;
    font-size: 13px !important;
}

html.location-page #topi a:hover,
html.location-page #topi a.acrnt {
    background: var(--hub-ivory) !important;
    color: var(--hub-navy) !important;
    border-color: transparent !important;
}

html.location-page #srctp strong,
html.location-page #topi strong,
html.location-page #price_bl strong,
html.location-page #location_bl strong {
    padding: 8px 12px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--hub-gold) !important;
    background: linear-gradient(180deg, #fffdf9 0%, var(--hub-cream) 100%) !important;
    border-bottom: 1px solid rgba(184, 149, 108, 0.16) !important;
}

html.location-page #srctp a em,
html.location-page #price_bl a em,
html.location-page #location_bl a em,
html.location-page #topi a em {
    font-size: 12px !important;
}

/* Legacy duplicate advisor CTA — keep FAQ support CTA only */
html.location-page .location-cta-wrapper {
    display: none !important;
}

/* Decision layer readability — final override */
html.location-page article.col-md-9 .decision-layer {
    font-size: 15px !important;
}

html.location-page article.col-md-9 .decision-layer__heading {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--hub-navy) !important;
}

html.location-page article.col-md-9 .decision-layer__card h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--hub-navy) !important;
    text-transform: none !important;
}

html.location-page article.col-md-9 .decision-layer__chips li {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
    color: #374151 !important;
}

/* City hub: no navy lead-capture block or Tawk chat (WhatsApp widget remains) */
html.location-page .city-hub-lead-capture {
    display: none !important;
}

html.location-page #tawkchat-container,
html.location-page #tawkchat-minified-container,
html.location-page #tawkchat-minified-box,
html.location-page div[id*="tawk"],
html.location-page iframe[id*="tawk"],
html.location-page iframe[title*="chat" i][src*="tawk"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

