/**
 * Branded Residences API - WordPress Plugin Styles
 * Version: 3.1.0
 * Inherits your theme's existing typography, colors, and spacing
 * Compatible with most WordPress themes including Elementor
 * 
 * NOTE: All styles are scoped to .br-* classes to avoid conflicts with theme CSS
 */

/* Base reset for plugin elements - ensures consistent behavior across themes */
.br-brands-directory,
.br-brand-detail,
.br-market-selector-page,
.br-news-feed,
.br-insights-dashboard {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

.br-brands-directory *,
.br-brand-detail *,
.br-market-selector-page *,
.br-news-feed *,
.br-insights-dashboard * {
    box-sizing: border-box;
}

/* News Feed - Uses theme defaults */
.br-news-feed {
    display: grid;
    gap: 1.5em;
}

.br-article {
    background: inherit;
    border: 1px solid currentColor;
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.br-article:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.br-article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.br-article-content {
    padding: 1.25em;
}

.br-article-title {
    font-size: 1.25em;
    font-weight: 600;
    margin: 0 0 0.5em 0;
    line-height: 1.3;
}

.br-article-title a {
    color: inherit;
    text-decoration: none;
}

.br-article-title a:hover {
    text-decoration: underline;
}

.br-article-summary {
    opacity: 0.8;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 0 1em 0;
}

.br-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    align-items: center;
    margin-bottom: 0.75em;
}

.br-brand-tag {
    background: currentColor;
    color: inherit;
    background-color: rgba(0, 0, 0, 0.08);
    padding: 0.25em 0.75em;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-sentiment {
    padding: 0.25em 0.75em;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 500;
}

.br-sentiment-positive {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.br-sentiment-neutral {
    background: rgba(107, 114, 128, 0.15);
    color: #4b5563;
}

.br-sentiment-analytical {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.br-date {
    opacity: 0.6;
    font-size: 0.85em;
}

/* Exclusive/Featured Article Styles - Branded Living Content */
.br-article-exclusive {
    position: relative;
    border: 2px solid #c9a962;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
}

.br-article-featured {
    border-left: 4px solid #c9a962;
}

.br-exclusive-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #c9a962 0%, #a08040 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(201, 169, 98, 0.3);
    z-index: 10;
}

.br-exclusive-badge svg {
    width: 12px;
    height: 12px;
}

/* Dark mode support for exclusive badge */
.dark .br-article-exclusive,
[data-theme="dark"] .br-article-exclusive {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
}

.dark .br-exclusive-badge,
[data-theme="dark"] .br-exclusive-badge {
    background: linear-gradient(135deg, #d4af37 0%, #b8942e 100%);
}

.br-key-insight {
    background: rgba(0, 0, 0, 0.03);
    border-left: 3px solid currentColor;
    border-left-color: rgba(0, 0, 0, 0.2);
    padding: 0.75em 1em;
    margin: 0;
    font-size: 0.9em;
    font-style: italic;
}

/* Sales Status Badge */
.br-sales-status {
    padding: 0.25em 0.75em;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 500;
    background: rgba(201, 169, 98, 0.15);
    color: #b8860b;
    text-transform: capitalize;
}

/* Article Details - v3 extraction fields */
.br-article-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    padding: 0.75em;
    margin: 0.75em 0;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
}

.br-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    font-size: 0.85em;
    color: inherit;
    opacity: 0.85;
}

.br-detail-item strong {
    font-weight: 500;
    opacity: 0.7;
}

.br-detail-price {
    color: #059669;
}

.br-detail-size {
    color: #6366f1;
}

.br-detail-height {
    color: #8b5cf6;
}

.br-detail-architect,
.br-detail-designer {
    color: #0891b2;
}

/* Dark mode support for article details */
.dark .br-article-details,
[data-theme="dark"] .br-article-details {
    background: rgba(255, 255, 255, 0.05);
}

.dark .br-sales-status,
[data-theme="dark"] .br-sales-status {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

/* Brands Grid - Inherits theme styling */
.br-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5em;
}

.br-brand-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 1.5em;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.br-brand-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.br-brand-clickable:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

.br-brand-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.br-brand-link:hover {
    text-decoration: none;
}

.br-brand-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1em;
}

.br-brand-name {
    font-size: 1.15em;
    font-weight: 600;
    margin: 0 0 0.5em 0;
}

.br-brand-description {
    opacity: 0.75;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0 0 1em 0;
}

.br-brand-meta {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

.br-positioning,
.br-project-count {
    font-size: 0.85em;
    opacity: 0.7;
}

.br-positioning {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25em 0.75em;
    border-radius: 3px;
    text-transform: capitalize;
}

/* Brand Performance - Theme-native */
.br-brand-performance {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 1.5em;
}

.br-performance-header {
    text-align: center;
    margin-bottom: 1.5em;
}

.br-performance-header h2 {
    font-size: 1.75em;
    margin: 0 0 0.5em 0;
}

.br-performance-header p {
    opacity: 0.75;
    max-width: 600px;
    margin: 0 auto;
}

.br-performance-stats,
.br-market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1em;
    margin-bottom: 1.5em;
}

.br-stat {
    background: rgba(0, 0, 0, 0.03);
    padding: 1.25em;
    border-radius: 4px;
    text-align: center;
}

.br-stat-value {
    display: block;
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
}

.br-stat-label {
    display: block;
    margin-top: 0.5em;
    font-size: 0.8em;
    opacity: 0.65;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-sentiment-breakdown h3,
.br-recent-news h3,
.br-top-brands h3,
.br-market-news h3 {
    font-size: 1.1em;
    margin: 1.5em 0 0.75em 0;
    padding-bottom: 0.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.br-sentiment-bars {
    display: flex;
    gap: 0.75em;
    flex-wrap: wrap;
}

.br-sentiment-bar {
    background: rgba(0, 0, 0, 0.03);
    padding: 0.5em 1em;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.br-sentiment-label {
    font-weight: 500;
}

.br-sentiment-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.2em 0.5em;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 600;
}

.br-recent-news ul,
.br-top-brands ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-recent-news li,
.br-top-brands li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.br-recent-news li:last-child,
.br-top-brands li:last-child {
    border-bottom: none;
}

.br-recent-news a {
    color: inherit;
    text-decoration: none;
    flex: 1;
}

.br-recent-news a:hover {
    text-decoration: underline;
}

.br-recent-news time {
    opacity: 0.5;
    font-size: 0.85em;
    margin-left: 1em;
    white-space: nowrap;
}

/* Market Brief - Inherits theme */
.br-market-brief {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 1.5em;
}

.br-market-header {
    text-align: center;
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.br-market-header h2 {
    font-size: 1.75em;
    margin: 0 0 0.5em 0;
}

.br-market-summary {
    opacity: 0.8;
    font-size: 1.05em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.br-mention-count {
    font-weight: 600;
    font-size: 0.9em;
    opacity: 0.7;
}

.br-news-item {
    padding: 0.6em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.br-news-item:last-child {
    border-bottom: none;
}

.br-news-item a {
    color: inherit;
    text-decoration: none;
}

.br-news-item a:hover {
    text-decoration: underline;
}

/* Error and Empty States */
.br-error {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 1em 1.25em;
    border-radius: 4px;
    border-left: 3px solid #dc2626;
}

.br-empty {
    background: rgba(0, 0, 0, 0.03);
    padding: 2em;
    border-radius: 4px;
    text-align: center;
    font-style: italic;
    opacity: 0.7;
}

/* Brand Detail Page */
.br-brand-detail {
    max-width: 800px;
}

.br-brand-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.br-brand-detail-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

.br-brand-detail-info h1 {
    font-size: 2em;
    margin: 0 0 0.25em 0;
}

.br-brand-detail-description {
    font-size: 1.1em;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 1.5em;
}

.br-brand-markets {
    margin-bottom: 1.5em;
}

.br-brand-markets h3,
.br-brand-news h3,
.br-brand-stats-header {
    font-size: 1.1em;
    margin: 0 0 0.75em 0;
}

.br-brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.br-brand-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1em;
    margin-bottom: 1.5em;
}

.br-brand-news {
    margin-top: 1.5em;
}

.br-active-brands {
    margin: 1.5em 0;
}

.br-active-brands h3 {
    font-size: 1.1em;
    margin: 0 0 0.75em 0;
}

/* ============================================
   ENHANCED AI MATCH HERO SECTION
   Premium, luxurious CTA design
   ============================================ */

.br-ai-match {
    background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 100%);
    border: 1px solid rgba(139, 115, 85, 0.12);
    border-radius: 24px;
    padding: 4em 3em 4.5em;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 3em auto;
    box-sizing: border-box;
    box-shadow: 0 4px 24px rgba(139, 115, 85, 0.08);
}

.br-ai-match-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    background: linear-gradient(135deg, #8B7355 0%, #a08060 100%);
    color: #fff;
    padding: 0.65em 1.5em;
    border-radius: 30px;
    font-size: 0.75em;
    font-weight: 600;
    margin-bottom: 2.5em;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(139, 115, 85, 0.3);
}

.br-ai-match-badge svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

.br-ai-match-title {
    font-size: 2.25em;
    font-weight: 300;
    margin: 0 0 0.75em 0;
    color: #333;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.br-ai-match-description {
    font-size: 1.1em;
    line-height: 1.75;
    color: #555;
    margin: 0 auto 2.5em auto;
    max-width: 600px;
}

.br-ai-match-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 3em auto;
    text-align: left;
    display: inline-block;
    max-width: 500px;
}

.br-ai-match-features li {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding: 0.75em 0;
    font-size: 1em;
    color: #444;
}

.br-ai-match-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    width: 20px;
    height: 20px;
    stroke: #8B7355;
    stroke-width: 2.5;
}

.br-ai-match-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75em;
    background: linear-gradient(135deg, #8B7355 0%, #7a6449 100%);
    color: #fff;
    padding: 1.1em 3em;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.3);
}

.br-ai-match-button:hover {
    background: linear-gradient(135deg, #7a6449 0%, #6a5640 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(139, 115, 85, 0.4);
}

.br-ai-match-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.br-ai-match-button:hover svg {
    transform: translateX(3px);
}

/* ============================================
   INSIGHTS DASHBOARD - Stat Ribbon & Cards
   ============================================ */

/* Stat Ribbon - Horizontal stats bar */
.br-stat-ribbon {
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
    padding: 2em;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.08) 0%, rgba(139, 115, 85, 0.02) 100%);
    border-radius: 12px;
    margin-bottom: 2em;
}

.br-stat-item {
    text-align: center;
    min-width: 100px;
}

.br-stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #8B7355;
    line-height: 1;
}

.br-stat-ribbon .br-stat-label {
    display: block;
    margin-top: 0.5em;
    font-size: 0.85em;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Insights Dashboard */
.br-insights-dashboard {
    margin: 2em 0;
}

/* Insights Grid */
.br-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
}

/* Insight Cards */
.br-insight-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1.5em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.br-insight-card.br-insight-brands {
    border-top: 3px solid #3b82f6;
}

.br-insight-card.br-insight-developers {
    border-top: 3px solid #10b981;
}

.br-insight-card.br-insight-sentiment {
    border-top: 3px solid #8b5cf6;
}

.br-insight-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 1em 0;
    color: inherit;
}

.br-insight-title svg {
    opacity: 0.7;
}

/* Insight List Rows */
.br-insight-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-insight-row {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.br-insight-row:last-child {
    border-bottom: none;
}

.br-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: 600;
    flex-shrink: 0;
}

.br-name {
    flex: 1;
    font-weight: 500;
}

.br-count {
    font-weight: 600;
    opacity: 0.7;
    font-size: 0.9em;
}

/* Sentiment Bars (in insight cards) */
.br-sentiment-row {
    display: flex;
    align-items: center;
    gap: 0.75em;
    margin-bottom: 0.75em;
}

.br-sentiment-row:last-child {
    margin-bottom: 0;
}

.br-sentiment-bar-container {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.br-sentiment-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.br-sentiment-bar-fill.br-sentiment-positive {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.br-sentiment-bar-fill.br-sentiment-neutral {
    background: linear-gradient(135deg, #8B7355 0%, #a08060 100%);
}

.br-sentiment-bar-fill.br-sentiment-analytical {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.br-sentiment-percent {
    font-size: 0.85em;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

/* Top Brands/Developers Lists (standalone shortcodes) */
.br-top-brands-list,
.br-top-developers-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-top-brand-item,
.br-top-developer-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.75em 1em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    transition: background 0.2s ease;
}

.br-top-brand-item:hover,
.br-top-developer-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.br-top-brand-item .br-rank,
.br-top-developer-item .br-rank {
    width: 28px;
    height: 28px;
    background: #8B7355;
    color: #fff;
    font-weight: 600;
}

.br-top-brand-item .br-brand-name,
.br-top-developer-item .br-developer-name {
    flex: 1;
    font-weight: 500;
}

.br-top-brand-item a.br-brand-name {
    color: inherit;
    text-decoration: none;
}

.br-top-brand-item a.br-brand-name:hover {
    text-decoration: underline;
}

/* Sentiment Chart (standalone shortcode) */
.br-sentiment-chart {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.br-sentiment-chart .br-sentiment-row {
    display: flex;
    align-items: center;
    gap: 1em;
    margin: 0;
}

.br-sentiment-info {
    display: flex;
    align-items: center;
    gap: 0.5em;
    min-width: 100px;
}

.br-sentiment-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.br-sentiment-dot.br-sentiment-positive {
    background: #10b981;
}

.br-sentiment-dot.br-sentiment-neutral {
    background: #8B7355;
}

.br-sentiment-dot.br-sentiment-analytical {
    background: #8b5cf6;
}

.br-sentiment-bar-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1em;
}

.br-sentiment-bar-bg {
    flex: 1;
    height: 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    overflow: hidden;
}

.br-sentiment-bar-bg .br-sentiment-bar-fill {
    height: 100%;
}

.br-sentiment-value {
    min-width: 80px;
    font-size: 0.9em;
    font-weight: 500;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .br-market-stats,
    .br-performance-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .br-brands-grid {
        grid-template-columns: 1fr;
    }
    
    .br-recent-news li,
    .br-top-brands li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25em;
    }
    
    .br-recent-news time {
        margin-left: 0;
    }
    
    .br-brand-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .br-brand-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .br-ai-match {
        padding: 2.5em 1.5em 3em;
        margin: 2em auto;
        border-radius: 20px;
    }
    
    .br-ai-match-badge {
        font-size: 0.7em;
        padding: 0.6em 1.25em;
    }
    
    .br-ai-match-title {
        font-size: 1.6em;
    }
    
    .br-ai-match-description {
        font-size: 1em;
    }
    
    .br-ai-match-features {
        margin-bottom: 2.5em;
    }
    
    .br-ai-match-features li {
        font-size: 0.95em;
        gap: 0.75em;
    }
    
    .br-ai-match-button {
        font-size: 0.9em;
        padding: 1em 2.25em;
    }
    
    /* News feed mobile */
    .br-news-filtered {
        padding: 1.5em 1em 3em;
    }
    
    .br-news-header h1 {
        font-size: 1.6em;
    }
    
    /* Insights Dashboard Mobile */
    .br-stat-ribbon {
        gap: 1.5em;
        padding: 1.5em;
    }
    
    .br-stat-number {
        font-size: 2em;
    }
    
    .br-insights-grid {
        grid-template-columns: 1fr;
    }
    
    .br-sentiment-info {
        min-width: 80px;
    }
    
    .br-sentiment-value {
        min-width: 60px;
        font-size: 0.8em;
    }
}

/* ============================================
   ENHANCED NEWS FEED - Premium Styling
   ============================================ */

.br-news-filtered {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2em 1.5em 4em;
}

.br-news-header {
    text-align: center;
    margin-bottom: 2.5em;
    padding: 2em 0;
}

.br-news-header h1 {
    font-size: 2.25em;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 0.5em 0;
    color: #333;
}

.br-news-subtitle {
    color: #8B7355;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.br-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25em;
    align-items: flex-end;
    padding: 1.75em 2em;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    margin-bottom: 2em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.br-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    min-width: 180px;
    flex: 1;
}

.br-filter-group label {
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8B7355;
}

.br-filter-select {
    padding: 0.75em 1.25em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #faf8f5;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.br-filter-select:hover {
    border-color: rgba(139, 115, 85, 0.4);
    background: #fff;
}

.br-filter-select:focus {
    outline: none;
    border-color: #8B7355;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
    background: #fff;
}

.br-filter-reset {
    padding: 0.75em 1.5em;
    background: transparent;
    border: 1px solid rgba(139, 115, 85, 0.25);
    border-radius: 10px;
    font-size: 0.85em;
    font-weight: 500;
    color: #8B7355;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-filter-reset:hover {
    background: rgba(139, 115, 85, 0.08);
    border-color: #8B7355;
}

.br-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
    padding: 0 0.5em;
}

.br-results-count {
    font-size: 0.9em;
    font-weight: 500;
    color: #666;
}

.br-loading {
    color: #8B7355;
    font-weight: 500;
    font-size: 0.9em;
}

/* News Grid for filtered results */
.br-news-grid {
    display: grid;
    gap: 1.75em;
    transition: opacity 0.2s ease;
}

.br-article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.br-article-card:hover {
    border-color: rgba(139, 115, 85, 0.2);
    box-shadow: 0 12px 32px rgba(139, 115, 85, 0.1);
    transform: translateY(-4px);
}

.br-article-card .br-article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.br-article-body {
    padding: 1.5em 1.75em 1.75em;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.br-article-card .br-article-title {
    font-size: 1.1em;
    font-weight: 500;
    margin: 0 0 0.75em 0;
    line-height: 1.4;
    color: #333;
}

.br-article-card .br-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.br-article-card .br-article-title a:hover {
    color: #8B7355;
}

.br-article-card .br-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6em;
    margin-bottom: 0.75em;
}

.br-article-card .br-brand-tag {
    background: rgba(139, 115, 85, 0.1);
    color: #8B7355;
    padding: 0.35em 0.9em;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-article-card .br-sentiment {
    padding: 0.35em 0.9em;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 500;
}

.br-article-card .br-date {
    font-size: 0.8em;
    color: #888;
    margin-left: auto;
}

.br-article-card .br-article-summary {
    font-size: 0.9em;
    line-height: 1.6;
    color: #555;
    margin: 0 0 1em 0;
    flex: 1;
}

.br-article-card .br-key-insight {
    background: rgba(139, 115, 85, 0.05);
    border-left: 3px solid #8B7355;
    padding: 0.9em 1.1em;
    margin: 0;
    font-size: 0.85em;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.br-article-card .br-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    margin-top: 1em;
    color: #8B7355;
    font-size: 0.85em;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.br-article-card .br-read-more:hover {
    gap: 0.6em;
}

/* Responsive filter bar */
@media (max-width: 768px) {
    .br-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .br-filter-group {
        min-width: 100%;
    }
    
    .br-filter-reset {
        margin-top: 0.5em;
    }
    
    .br-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .br-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .br-news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dark mode support - inherits from theme */
@media (prefers-color-scheme: dark) {
    .br-insight-card {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .br-stat-ribbon {
        background: linear-gradient(135deg, rgba(139, 115, 85, 0.12) 0%, rgba(139, 115, 85, 0.04) 100%);
    }
    
    .br-top-brand-item,
    .br-top-developer-item {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .br-top-brand-item:hover,
    .br-top-developer-item:hover {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .br-sentiment-chart {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .br-sentiment-bar-container,
    .br-sentiment-bar-bg {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .br-rank {
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Filter bar dark mode */
    .br-filter-bar {
        background: linear-gradient(135deg, rgba(139, 115, 85, 0.15) 0%, rgba(139, 115, 85, 0.05) 100%);
    }
    
    .br-filter-select {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: inherit;
    }
    
    .br-filter-reset {
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .br-filter-reset:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .br-article-card {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* =====================================================
   ENHANCED BRAND DIRECTORY STYLES
   Premium, elegant card layout
   ===================================================== */

.br-brands-directory {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2em 1.5em 4em;
}

.br-brands-header {
    margin-bottom: 3em;
    text-align: center;
    padding: 2em 0;
}

.br-brands-header h1 {
    font-size: 2.25em;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 0.5em 0;
    color: #333;
}

.br-brands-count {
    color: #8B7355;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.br-brands-grid {
    display: grid;
    gap: 1.75em;
}

.br-brands-grid.br-columns-2 {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}

.br-brands-grid.br-columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.br-brands-grid.br-columns-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.br-brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 2em 1.75em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.br-brand-card:hover {
    border-color: rgba(139, 115, 85, 0.3);
    box-shadow: 0 12px 32px rgba(139, 115, 85, 0.12);
    transform: translateY(-4px);
}

.br-brand-card.br-brand-trending {
    border-color: rgba(139, 115, 85, 0.25);
    background: linear-gradient(180deg, rgba(139, 115, 85, 0.03) 0%, transparent 60%);
}

.br-brand-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.br-activity-badge {
    position: absolute;
    top: 1.25em;
    right: 1.25em;
    padding: 0.35em 0.9em;
    border-radius: 20px;
    font-size: 0.65em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.br-badge-trending {
    background: linear-gradient(135deg, #8B7355 0%, #a08060 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.3);
}

.br-badge-active {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.br-brand-card-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25em;
    min-height: 70px;
    align-items: center;
}

.br-brand-logo {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
}

.br-brand-logo-placeholder {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B7355 0%, #a08060 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 1px;
}

.br-brand-logo-placeholder.br-logo-large {
    width: 100px;
    height: 100px;
    font-size: 2em;
}

.br-brand-name {
    font-size: 1.15em;
    font-weight: 500;
    margin: 0 0 0.75em 0;
    text-align: center;
    letter-spacing: 0.02em;
    color: #333;
}

.br-brand-description {
    flex: 1;
    font-size: 0.875em;
    opacity: 0.65;
    line-height: 1.6;
    margin: 0 0 1.25em 0;
    text-align: center;
    color: #555;
}

.br-brand-stats-row {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-bottom: 1.25em;
    padding-top: 1.25em;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.br-brand-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.br-stat-number {
    font-size: 1.5em;
    font-weight: 300;
    color: #8B7355;
    line-height: 1;
}

.br-brand-stat .br-stat-label {
    font-size: 0.65em;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-top: 0.25em;
}

.br-brand-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6em;
    margin-top: auto;
}

.br-positioning {
    padding: 0.4em 1em;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-positioning-ultra-luxury {
    background: linear-gradient(135deg, #8B7355 0%, #a08060 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(139, 115, 85, 0.25);
}

.br-positioning-luxury {
    background: rgba(139, 115, 85, 0.1);
    color: #8B7355;
    border: 1px solid rgba(139, 115, 85, 0.2);
}

.br-positioning-premium {
    background: rgba(107, 114, 128, 0.08);
    color: #4b5563;
    border: 1px solid rgba(107, 114, 128, 0.15);
}

.br-brand-type {
    padding: 0.4em 1em;
    border-radius: 20px;
    font-size: 0.7em;
    background: rgba(0, 0, 0, 0.04);
    color: #666;
    text-transform: capitalize;
}

.br-flagship-preview {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.8em;
    opacity: 0.55;
    text-align: center;
    font-style: italic;
}

.br-flagship-label {
    font-weight: 500;
    font-style: normal;
}

/* =====================================================
   ENHANCED BRAND DETAIL PAGE STYLES
   Premium, centered, luxurious layout
   ===================================================== */

.br-brand-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 2em 1.5em 4em;
    text-align: center;
}

/* Breadcrumb navigation */
.br-breadcrumb {
    margin-bottom: 3em;
    font-size: 0.85em;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.br-breadcrumb a {
    color: #8B7355;
    text-decoration: none;
    font-weight: 500;
}

.br-breadcrumb a:hover {
    text-decoration: underline;
}

.br-breadcrumb .br-separator {
    margin: 0 0.75em;
    opacity: 0.3;
}

.br-breadcrumb .br-current {
    opacity: 0.6;
}

/* Empty state */
.br-brand-empty {
    text-align: center;
    padding: 4em 2em;
    background: rgba(139, 115, 85, 0.03);
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.br-brand-empty p {
    margin-bottom: 1.5em;
    opacity: 0.7;
}

/* Header - Hero section */
.br-brand-detail-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    margin-bottom: 3em;
    padding: 3em 2em;
    background: linear-gradient(180deg, rgba(139, 115, 85, 0.04) 0%, transparent 100%);
    border-radius: 16px;
    border-bottom: none;
}

.br-brand-detail-logo-wrap {
    flex-shrink: 0;
}

.br-brand-detail-logo {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
}

.br-logo-large {
    width: 100px;
    height: 100px;
    font-size: 2.5em;
    background: linear-gradient(135deg, #8B7355 0%, #a08670 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.br-brand-detail-info {
    text-align: center;
}

.br-brand-detail-info h1 {
    margin: 0 0 0.75em 0;
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.br-brand-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75em;
    margin-bottom: 1em;
}

.br-brand-type-badge {
    padding: 0.4em 1em;
    border-radius: 20px;
    font-size: 0.75em;
    background: rgba(139, 115, 85, 0.1);
    color: #8B7355;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-parent-company {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.5;
    font-style: italic;
}

/* Content sections */
.br-brand-section {
    margin-bottom: 3em;
    text-align: left;
    padding: 0 1em;
}

.br-brand-section h2 {
    font-size: 0.85em;
    font-weight: 600;
    margin: 0 0 1.25em 0;
    color: #8B7355;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.br-brand-detail-description {
    font-size: 1.1em;
    line-height: 1.8;
    margin: 0;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    color: #444;
}

/* Philosophy quote - elegant blockquote */
.br-philosophy {
    padding: 2em 0;
}

.br-philosophy-quote {
    margin: 0;
    padding: 2em 2.5em;
    background: transparent;
    border: none;
    border-left: none;
    font-style: italic;
    font-size: 1.3em;
    line-height: 1.7;
    text-align: center;
    color: #5a5a5a;
    position: relative;
}

.br-philosophy-quote::before {
    content: '"';
    font-size: 4em;
    color: #8B7355;
    opacity: 0.3;
    position: absolute;
    top: -0.2em;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
}

/* Stats grid - centered cards */
.br-brand-stats-grid {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-bottom: 3em;
    flex-wrap: wrap;
}

.br-stat-card {
    background: #fff;
    border: 1px solid rgba(139, 115, 85, 0.12);
    border-radius: 12px;
    padding: 1.75em 2em;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.br-stat-card.br-stat-highlight {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.06) 0%, rgba(139, 115, 85, 0.02) 100%);
    border-color: rgba(139, 115, 85, 0.3);
}

.br-stat-card .br-stat-value {
    display: block;
    font-size: 2.5em;
    font-weight: 300;
    color: #8B7355;
    line-height: 1;
}

.br-stat-card .br-stat-label {
    display: block;
    font-size: 0.7em;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5em;
}

/* Tags and pills - centered */
.br-amenity-grid,
.br-market-tags,
.br-demographics-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75em;
}

.br-amenity-tag {
    padding: 0.6em 1.25em;
    background: rgba(139, 115, 85, 0.06);
    border: 1px solid rgba(139, 115, 85, 0.12);
    border-radius: 25px;
    font-size: 0.85em;
    color: #5a5a5a;
}

.br-market-tag {
    padding: 0.6em 1.25em;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 25px;
    font-size: 0.85em;
    color: #5a5a5a;
}

.br-demographic-tag {
    padding: 0.6em 1.25em;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 25px;
    font-size: 0.85em;
    color: #3b82f6;
}

/* Sentiment visualization - centered */
.br-sentiment-section {
    margin-bottom: 3em;
}

.br-sentiment-section .br-sentiment-visual {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1em;
}

.br-sentiment-item {
    display: flex;
    align-items: center;
    gap: 1.25em;
}

.br-sentiment-bar-container {
    flex: 1;
    height: 10px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    overflow: hidden;
}

.br-sentiment-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s ease;
}

.br-sentiment-bar-fill.br-sentiment-positive {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.br-sentiment-bar-fill.br-sentiment-neutral {
    background: linear-gradient(90deg, #8B7355 0%, #a08060 100%);
}

.br-sentiment-bar-fill.br-sentiment-analytical {
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
}

.br-sentiment-info {
    display: flex;
    gap: 0.5em;
    min-width: 110px;
    font-size: 0.85em;
    justify-content: flex-end;
}

.br-sentiment-percent {
    font-weight: 600;
    color: #333;
}

.br-sentiment-label {
    opacity: 0.6;
}

/* News grid - elegant cards */
.br-news-section {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.br-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25em;
    text-align: left;
}

.br-news-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.br-news-card:hover {
    border-color: rgba(139, 115, 85, 0.3);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.08);
    transform: translateY(-2px);
}

.br-news-card a {
    display: block;
    padding: 1.5em;
    color: inherit;
    text-decoration: none;
}

.br-news-card h4 {
    margin: 0 0 1em 0;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
}

.br-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    align-items: center;
}

.br-news-date {
    font-size: 0.8em;
    opacity: 0.5;
}

.br-news-sentiment {
    font-size: 0.7em;
    padding: 0.3em 0.75em;
    border-radius: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.br-news-sentiment.br-sentiment-positive {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.br-news-sentiment.br-sentiment-neutral {
    background: rgba(139, 115, 85, 0.1);
    color: #8B7355;
}

.br-news-sentiment.br-sentiment-analytical {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

/* CTA section */
.br-brand-cta {
    margin-top: 3em;
    padding: 2.5em;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.04) 0%, rgba(139, 115, 85, 0.01) 100%);
    border-radius: 16px;
    text-align: center;
}

.br-brand-cta p {
    margin: 0 0 1.25em 0;
    opacity: 0.7;
    font-size: 0.95em;
}

.br-button {
    display: inline-block;
    padding: 0.9em 2.25em;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.9em;
    letter-spacing: 0.3px;
}

.br-button-primary {
    background: linear-gradient(135deg, #8B7355 0%, #7a6549 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.25);
}

.br-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 115, 85, 0.35);
}

/* =====================================================
   MARKET SELECTOR PAGE STYLES
   ===================================================== */

.br-market-selector-page {
    max-width: 1100px;
    margin: 0 auto;
}

.br-market-selector-header {
    text-align: center;
    margin-bottom: 2em;
}

.br-market-selector-header h1 {
    margin: 0 0 0.25em 0;
}

.br-subtitle {
    margin: 0;
    opacity: 0.6;
    font-size: 1.1em;
}

.br-market-dropdown-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-bottom: 2em;
    padding: 1.5em;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.08) 0%, rgba(139, 115, 85, 0.02) 100%);
    border-radius: 8px;
}

.br-market-dropdown-wrap label {
    font-weight: 500;
}

.br-market-select {
    padding: 0.75em 2em 0.75em 1em;
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-radius: 4px;
    background: #fff;
    font-size: 1em;
    cursor: pointer;
    min-width: 200px;
}

.br-market-select:focus {
    outline: none;
    border-color: #8B7355;
}

.br-market-report {
    background: #fff;
    border: 1px solid rgba(139, 115, 85, 0.15);
    border-radius: 12px;
    padding: 2em;
}

.br-market-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.br-market-report-header h2 {
    margin: 0;
    font-size: 1.75em;
}

.br-market-sentiment {
    padding: 0.5em 1em;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.br-market-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1em;
    margin-bottom: 2em;
}

.br-market-section {
    margin-bottom: 2em;
}

.br-market-section h3 {
    font-size: 1.1em;
    margin: 0 0 1em 0;
    color: #8B7355;
}

.br-market-two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-bottom: 2em;
}

.br-developer-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-developer-item {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.75em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
}

.br-developer-item .br-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B7355;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75em;
    font-weight: 600;
}

.br-developer-name {
    flex: 1;
    font-weight: 500;
}

.br-developer-item .br-mention-count {
    font-size: 0.85em;
    opacity: 0.6;
}

.br-brand-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.br-brand-pill {
    padding: 0.5em 1em;
    border-radius: 20px;
    font-size: 0.85em;
    background: rgba(139, 115, 85, 0.1);
}

.br-brand-pill.br-positioning-ultra-luxury {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.2) 0%, rgba(139, 115, 85, 0.1) 100%);
    font-weight: 500;
}

.br-no-data {
    text-align: center;
    padding: 2em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.br-no-data a {
    color: #8B7355;
}

/* ============================================
   PHASE 2: TREND ANALYTICS COMPONENTS
   ============================================ */

/* Trending Topics */
.br-trending-topics {
    background: inherit;
}

.br-trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
    padding-bottom: 0.75em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.br-trending-period {
    font-weight: 600;
    color: #8B7355;
}

.br-trending-count {
    font-size: 0.9em;
    opacity: 0.7;
}

.br-trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1em;
}

.br-trending-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75em;
    padding: 1em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid #8B7355;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.br-trending-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.br-trending-card.br-sentiment-positive {
    border-left-color: #10b981;
}

.br-trending-card.br-sentiment-neutral {
    border-left-color: #6b7280;
}

.br-trending-card.br-sentiment-analytical {
    border-left-color: #3b82f6;
}

.br-trending-rank {
    font-size: 0.85em;
    font-weight: 700;
    color: #8B7355;
    min-width: 28px;
}

.br-trending-content {
    flex: 1;
}

.br-trending-topic {
    margin: 0 0 0.5em 0;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.3;
}

.br-trending-stats {
    display: flex;
    gap: 0.75em;
    flex-wrap: wrap;
}

.br-mention-badge,
.br-momentum-badge {
    font-size: 0.8em;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    background: rgba(139, 115, 85, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
}

.br-momentum-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.br-momentum-badge svg {
    fill: currentColor;
}

/* Brand Momentum */
.br-brand-momentum {
    background: inherit;
}

.br-momentum-summary {
    display: flex;
    gap: 1em;
    margin-bottom: 1.5em;
}

.br-momentum-stat {
    flex: 1;
    text-align: center;
    padding: 1em;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
}

.br-momentum-stat.br-rising {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.br-momentum-stat.br-stable {
    background: rgba(107, 114, 128, 0.08);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.br-momentum-stat.br-falling {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.br-momentum-stat .br-stat-value {
    display: block;
    font-size: 1.75em;
    font-weight: 700;
    line-height: 1.2;
}

.br-momentum-stat.br-rising .br-stat-value {
    color: #10b981;
}

.br-momentum-stat.br-stable .br-stat-value {
    color: #6b7280;
}

.br-momentum-stat.br-falling .br-stat-value {
    color: #ef4444;
}

.br-momentum-stat .br-stat-label {
    font-size: 0.85em;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-momentum-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-momentum-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.75em 1em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    transition: background 0.2s ease;
}

.br-momentum-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.br-momentum-item.br-trend-rising {
    border-left: 3px solid #10b981;
}

.br-momentum-item.br-trend-stable {
    border-left: 3px solid #6b7280;
}

.br-momentum-item.br-trend-falling {
    border-left: 3px solid #ef4444;
}

.br-momentum-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B7355;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75em;
    font-weight: 600;
}

.br-momentum-brand {
    flex: 1;
    min-width: 0;
}

.br-momentum-brand .br-brand-name {
    display: block;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.br-momentum-brand .br-brand-activity {
    display: block;
    font-size: 0.8em;
    opacity: 0.6;
}

.br-momentum-metrics {
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.br-mentions-7d,
.br-mentions-30d {
    font-size: 0.85em;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
}

.br-mentions-7d {
    font-weight: 600;
}

.br-trend-indicator {
    font-size: 1.2em;
    width: 24px;
    text-align: center;
}

.br-trend-rising .br-trend-indicator {
    color: #10b981;
}

.br-trend-stable .br-trend-indicator {
    color: #6b7280;
}

.br-trend-falling .br-trend-indicator {
    color: #ef4444;
}

/* Market Signals */
.br-market-signals {
    background: inherit;
}

.br-signals-intensity {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin-bottom: 1.5em;
}

.br-intensity-card {
    text-align: center;
    padding: 1.25em;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
}

.br-intensity-card.br-development {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.br-intensity-card.br-commercial {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.br-intensity-card.br-research {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.1) 0%, rgba(139, 115, 85, 0.05) 100%);
    border: 1px solid rgba(139, 115, 85, 0.2);
}

.br-intensity-icon {
    display: block;
    font-size: 1.5em;
    margin-bottom: 0.25em;
}

.br-intensity-value {
    display: block;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.2;
}

.br-intensity-card.br-development .br-intensity-value {
    color: #3b82f6;
}

.br-intensity-card.br-commercial .br-intensity-value {
    color: #10b981;
}

.br-intensity-card.br-research .br-intensity-value {
    color: #8B7355;
}

.br-intensity-label {
    font-size: 0.85em;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
}

.br-signals-section {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 1.25em;
}

.br-signals-section h4 {
    margin: 0 0 1em 0;
    font-size: 1em;
    font-weight: 600;
    color: #8B7355;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5em;
}

.br-signal-items {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-signal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 0;
}

.br-signal-label {
    font-size: 0.9em;
}

.br-signal-value {
    font-weight: 600;
    background: rgba(139, 115, 85, 0.1);
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-size: 0.9em;
}

.br-hot-markets {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-hot-market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
}

.br-market-name {
    font-weight: 500;
}

.br-market-activity {
    font-size: 0.85em;
    opacity: 0.7;
}

/* ===========================================================================
   PHASE 3: ENHANCED MARKET PAGES COMPONENTS
   =========================================================================== */

/* Markets Overview */
.br-markets-overview {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 1.5em;
}

.br-markets-header {
    display: flex;
    gap: 2em;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.br-markets-stat {
    display: flex;
    flex-direction: column;
}

.br-markets-stat .br-stat-value {
    font-size: 2em;
    font-weight: 700;
    color: #8B7355;
    line-height: 1;
}

.br-markets-stat .br-stat-label {
    font-size: 0.85em;
    opacity: 0.7;
    margin-top: 0.25em;
}

.br-markets-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    margin-bottom: 1.5em;
}

.br-region-badge {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.5em 1em;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 20px;
    font-size: 0.9em;
}

.br-region-name {
    font-weight: 500;
}

.br-region-count {
    background: #8B7355;
    color: #fff;
    padding: 0.15em 0.5em;
    border-radius: 10px;
    font-size: 0.85em;
    font-weight: 600;
}

.br-markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1em;
}

.br-market-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.25em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid transparent;
}

.br-market-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.br-market-card.br-intensity-very_high {
    border-left-color: #059669;
}

.br-market-card.br-intensity-high {
    border-left-color: #10b981;
}

.br-market-card.br-intensity-medium {
    border-left-color: #8B7355;
}

.br-market-card.br-intensity-low {
    border-left-color: #d1d5db;
}

.br-market-card .br-market-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
    padding-bottom: 0;
    border-bottom: none;
}

.br-market-location {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
}

.br-market-region {
    font-size: 0.85em;
    opacity: 0.6;
}

.br-market-stats {
    display: flex;
    gap: 1.5em;
    margin-bottom: 1em;
}

.br-market-card .br-market-activity,
.br-market-articles {
    display: flex;
    flex-direction: column;
}

.br-activity-score,
.br-articles-count {
    font-size: 1.5em;
    font-weight: 700;
    color: #8B7355;
    line-height: 1;
}

.br-activity-label,
.br-articles-label {
    font-size: 0.75em;
    opacity: 0.6;
    text-transform: uppercase;
    margin-top: 0.25em;
}

.br-market-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.br-brand-tag {
    background: rgba(139, 115, 85, 0.1);
    padding: 0.25em 0.75em;
    border-radius: 12px;
    font-size: 0.8em;
}

/* Developers Ranking */
.br-developers-ranking {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 1.5em;
}

.br-developers-header {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.br-header-stat {
    font-size: 1.1em;
    font-weight: 600;
    color: #8B7355;
}

.br-developers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.br-developer-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
}

.br-developer-item.br-intensity-high {
    border-left-color: #059669;
}

.br-developer-item.br-intensity-medium {
    border-left-color: #8B7355;
}

.br-developer-item.br-intensity-low {
    border-left-color: #d1d5db;
}

.br-developer-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B7355, #a08060);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9em;
}

.br-developer-info {
    flex: 1;
}

.br-developer-name {
    font-weight: 600;
    display: block;
}

.br-developer-meta {
    display: flex;
    gap: 1em;
    font-size: 0.85em;
    opacity: 0.6;
    margin-top: 0.25em;
}

.br-developer-activity {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1em;
}

.br-activity-count {
    font-size: 1.25em;
    font-weight: 700;
    color: #8B7355;
    line-height: 1;
}

.br-developer-sentiment {
    padding: 0.25em 0.75em;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.br-developer-sentiment.br-sentiment-positive {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.br-developer-sentiment.br-sentiment-neutral {
    background: rgba(139, 115, 85, 0.1);
    color: #8B7355;
}

.br-developer-sentiment.br-sentiment-analytical {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}

/* Market Analytics */
.br-market-analytics {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.br-market-hero {
    background: linear-gradient(135deg, #8B7355, #6b5a45);
    color: #fff;
    padding: 2em;
    text-align: center;
}

.br-market-title {
    margin: 0;
    font-size: 2em;
    font-weight: 700;
}

.br-market-region-tag {
    display: inline-block;
    margin-top: 0.5em;
    padding: 0.25em 1em;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9em;
}

.br-analytics-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 1px;
}

.br-summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5em;
    background: #fff;
    text-align: center;
}

.br-summary-value {
    font-size: 1.75em;
    font-weight: 700;
    color: #8B7355;
    line-height: 1;
}

.br-summary-label {
    font-size: 0.85em;
    opacity: 0.6;
    margin-top: 0.5em;
}

.br-summary-card.br-activity-very-active {
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.1), #fff);
}

.br-summary-card.br-activity-very-active .br-summary-value {
    color: #059669;
}

.br-summary-card.br-activity-active {
    background: linear-gradient(to bottom, rgba(139, 115, 85, 0.1), #fff);
}

.br-analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(0, 0, 0, 0.05);
    padding: 1.5em;
    gap: 1.5em;
    background: rgba(0, 0, 0, 0.02);
}

.br-analytics-section {
    background: #fff;
    padding: 1.25em;
    border-radius: 8px;
}

.br-analytics-section h4 {
    margin: 0 0 1em 0;
    font-size: 1em;
    font-weight: 600;
    color: #8B7355;
}

.br-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.br-metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.br-metric-label {
    opacity: 0.7;
}

.br-metric-value {
    font-weight: 600;
    color: #8B7355;
}

.br-announcement-types {
    margin-top: 1em;
}

.br-announcement-types h5 {
    font-size: 0.9em;
    font-weight: 600;
    margin: 0 0 0.5em 0;
    opacity: 0.8;
}

.br-announcement-type {
    display: flex;
    justify-content: space-between;
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.br-announcement-type:last-child {
    border-bottom: none;
}

.br-pricing-range {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.25em;
    font-weight: 600;
    justify-content: center;
    padding: 1em 0;
}

.br-price-min,
.br-price-max {
    color: #8B7355;
}

.br-price-separator {
    opacity: 0.5;
    font-weight: normal;
}

.br-price-disclaimer {
    display: block;
    text-align: center;
    font-size: 0.8em;
    opacity: 0.6;
}

.br-developer-section,
.br-brand-section,
.br-news-section {
    grid-column: 1 / -1;
    margin-top: 0.5em;
}

.br-developer-list,
.br-brand-presence-list,
.br-recent-news-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-developer-row {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.75em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
}

.br-developer-row .br-developer-name {
    flex: 1;
    font-weight: 500;
}

.br-developer-mentions {
    font-size: 0.9em;
    color: #8B7355;
    font-weight: 600;
}

.br-developer-types {
    font-size: 0.8em;
    opacity: 0.6;
}

.br-brand-presence-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.75em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    border-left: 3px solid transparent;
}

.br-brand-presence-item.br-intensity-high {
    border-left-color: #059669;
}

.br-brand-presence-item.br-intensity-medium {
    border-left-color: #8B7355;
}

.br-brand-presence-item.br-intensity-low {
    border-left-color: #d1d5db;
}

.br-brand-presence-item .br-brand-name {
    flex: 1;
    font-weight: 500;
}

.br-brand-mentions {
    font-weight: 600;
    color: #8B7355;
}

.br-brand-sentiment {
    padding: 0.2em 0.6em;
    border-radius: 10px;
    font-size: 0.8em;
}

.br-news-item {
    padding: 0.75em;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
}

.br-news-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25em;
}

.br-news-item a:hover {
    color: #8B7355;
}

.br-news-meta {
    display: flex;
    gap: 1em;
    font-size: 0.85em;
    opacity: 0.6;
}

.br-no-data {
    text-align: center;
    padding: 2em;
    opacity: 0.6;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .br-brand-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .br-brand-badges {
        justify-content: center;
    }
    
    .br-market-report-header {
        flex-direction: column;
        gap: 1em;
        text-align: center;
    }
    
    .br-market-dropdown-wrap {
        flex-direction: column;
    }
    
    .br-market-select {
        width: 100%;
    }
    
    /* Trend analytics responsive */
    .br-momentum-summary {
        flex-direction: column;
    }
    
    .br-signals-intensity {
        grid-template-columns: 1fr;
    }
    
    .br-momentum-metrics {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25em;
    }
    
    /* Phase 3 responsive */
    .br-markets-header {
        flex-direction: column;
        gap: 1em;
    }
    
    .br-markets-grid {
        grid-template-columns: 1fr;
    }
    
    .br-analytics-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .br-analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .br-developer-item {
        flex-wrap: wrap;
    }
    
    .br-developer-info {
        flex-basis: 100%;
        order: 1;
    }
    
    .br-developer-rank {
        order: 0;
    }
}

/* ============ PHASE 4: GOOGLE TRENDS STYLES ============ */
/* Elementor-compatible with high specificity */

.br-google-trends,
.elementor-widget-shortcode .br-google-trends,
.elementor-shortcode .br-google-trends {
    padding: 1.5em !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-family: inherit;
    box-sizing: border-box;
}

.br-google-trends .br-trends-header,
.elementor-widget-shortcode .br-trends-header {
    margin-bottom: 1.5em !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5em !important;
}

.br-google-trends .br-trends-title,
.elementor-widget-shortcode .br-trends-title,
.br-trends-title {
    font-size: 1.25em !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit;
}

.br-google-trends .br-trends-subtitle,
.br-trends-subtitle {
    font-size: 0.9em !important;
    opacity: 0.7;
    display: block;
    width: 100%;
    margin-top: 0.25em;
}

.br-google-trends .br-trends-geo,
.br-trends-geo {
    font-size: 0.85em !important;
    padding: 0.25em 0.75em !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    display: inline-block;
}

/* Trends Summary Grid - High Specificity for Elementor */
.br-google-trends .br-trends-summary-grid,
.elementor-widget-shortcode .br-trends-summary-grid,
.br-trends-summary-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1em !important;
    margin-bottom: 1.5em !important;
}

.br-google-trends .br-trends-stat,
.elementor-widget-shortcode .br-trends-stat,
.br-trends-stat {
    text-align: center !important;
    padding: 1em !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border-radius: 6px !important;
    box-sizing: border-box;
}

.br-google-trends .br-trends-stat .br-stat-value,
.br-trends-stat .br-stat-value {
    display: block !important;
    font-size: 1.75em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.br-google-trends .br-trends-stat .br-stat-label,
.br-trends-stat .br-stat-label {
    display: block !important;
    font-size: 0.8em !important;
    opacity: 0.7;
    margin-top: 0.25em !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Trend Direction Indicators */
.br-trend-rising {
    border-left: 3px solid #10b981;
}

.br-trend-rising .br-stat-value {
    color: #10b981;
}

.br-trend-declining {
    border-left: 3px solid #ef4444;
}

.br-trend-declining .br-stat-value {
    color: #ef4444;
}

.br-trend-stable {
    border-left: 3px solid #6b7280;
}

/* Chart Container */
.br-trends-chart-container {
    margin: 1.5em 0;
}

.br-trends-chart {
    display: flex;
    align-items: flex-end;
    height: 150px;
    gap: 2px;
    padding: 0.5em 0;
}

.br-chart-bar {
    flex: 1;
    min-width: 4px;
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    border-radius: 2px 2px 0 0;
    transition: opacity 0.2s ease;
    cursor: help;
}

.br-chart-bar:hover {
    opacity: 0.8;
}

.br-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75em;
    opacity: 0.6;
    margin-top: 0.5em;
}

/* Related Topics/Queries Grid */
.br-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
}

.br-related-section h4 {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 1em 0;
    padding-bottom: 0.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.br-related-subsection {
    margin-bottom: 1.25em;
}

.br-related-subsection h5 {
    font-size: 0.85em;
    font-weight: 500;
    opacity: 0.7;
    margin: 0 0 0.5em 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.br-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.br-related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.br-related-item:last-child {
    border-bottom: none;
}

.br-related-item.br-rising {
    color: #10b981;
}

.br-topic-title,
.br-query-text {
    flex: 1;
    font-size: 0.95em;
}

.br-topic-value,
.br-query-value {
    font-size: 0.85em;
    font-weight: 600;
    padding: 0.15em 0.5em;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-left: 0.5em;
}

/* Market Comparison Bars - Elementor Compatible */
.br-google-trends .br-market-comparison,
.elementor-widget-shortcode .br-market-comparison,
.br-market-comparison {
    margin: 1.5em 0 !important;
}

.br-google-trends .br-market-comparison h4,
.br-market-comparison h4 {
    font-size: 1em !important;
    font-weight: 600 !important;
    margin: 0 0 1em 0 !important;
}

.br-google-trends .br-market-bars,
.br-market-bars {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75em !important;
}

.br-google-trends .br-market-bar-row,
.br-market-bar-row {
    display: flex !important;
    align-items: center !important;
    gap: 1em !important;
}

.br-google-trends .br-market-bar-row .br-market-name,
.br-market-bar-row .br-market-name {
    min-width: 100px !important;
    font-size: 0.9em !important;
    font-weight: 500 !important;
}

.br-google-trends .br-market-bar-container,
.br-market-bar-container {
    flex: 1 !important;
    height: 24px !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.br-google-trends .br-market-bar,
.br-market-bar {
    height: 100% !important;
    background: linear-gradient(to right, #3b82f6, #60a5fa) !important;
    border-radius: 4px !important;
    transition: width 0.3s ease;
}

.br-market-bar.br-trend-rising {
    background: linear-gradient(to right, #10b981, #34d399);
}

.br-market-bar.br-trend-declining {
    background: linear-gradient(to right, #ef4444, #f87171);
}

.br-market-bar-row .br-market-value {
    min-width: 40px;
    text-align: right;
    font-size: 0.9em;
    font-weight: 600;
}

/* Luxury Markets Grid - Elementor Compatible */
.br-google-trends .br-luxury-grid,
.elementor-widget-shortcode .br-luxury-grid,
.br-luxury-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5em !important;
}

.br-google-trends .br-luxury-section h4,
.br-luxury-section h4 {
    font-size: 1em !important;
    font-weight: 600 !important;
    margin: 0 0 1em 0 !important;
    padding-bottom: 0.5em !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.br-google-trends .br-keyword-list,
.br-keyword-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5em !important;
}

.br-google-trends .br-keyword-item,
.br-keyword-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75em !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border-radius: 6px !important;
}

.br-keyword-text {
    font-size: 0.95em;
    flex: 1;
}

.br-keyword-stats {
    display: flex;
    align-items: center;
    gap: 0.75em;
}

.br-keyword-interest {
    font-weight: 600;
    font-size: 0.9em;
}

.br-keyword-trend {
    font-size: 0.8em;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
}

.br-keyword-trend.br-trend-rising {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.br-keyword-trend.br-trend-declining {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.br-hotmarkets-list {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.br-hotmarket-item {
    display: flex;
    align-items: center;
    gap: 0.75em;
}

.br-hotmarket-item .br-market-name {
    min-width: 80px;
    font-size: 0.9em;
}

.br-hotmarket-item .br-market-bar-container {
    flex: 1;
    height: 20px;
}

.br-hotmarket-item .br-market-interest {
    min-width: 35px;
    text-align: right;
    font-weight: 600;
    font-size: 0.85em;
}

/* Trends Meta */
.br-trends-meta {
    margin-top: 1.5em;
    padding-top: 1em;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    opacity: 0.6;
}

.br-trends-description {
    font-style: italic;
}

/* Simulated Data Indicator */
.br-simulated-data {
    position: relative;
}

.br-simulated-data::before {
    content: "Sample Data";
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    font-size: 0.65em;
    padding: 0.25em 0.5em;
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    border-radius: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark .br-simulated-data::before,
[data-theme="dark"] .br-simulated-data::before {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

/* Dark Mode Support */
.dark .br-google-trends,
[data-theme="dark"] .br-google-trends {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: #1a1a1a !important;
}

.dark .br-trends-geo,
[data-theme="dark"] .br-trends-geo {
    background: rgba(255, 255, 255, 0.1);
}

.dark .br-trends-stat,
[data-theme="dark"] .br-trends-stat {
    background: rgba(255, 255, 255, 0.05);
}

.dark .br-market-bar-container,
[data-theme="dark"] .br-market-bar-container {
    background: rgba(255, 255, 255, 0.1);
}

.dark .br-keyword-item,
[data-theme="dark"] .br-keyword-item {
    background: rgba(255, 255, 255, 0.05);
}

.dark .br-related-item,
[data-theme="dark"] .br-related-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .br-topic-value,
.dark .br-query-value,
.dark .br-keyword-trend,
[data-theme="dark"] .br-topic-value,
[data-theme="dark"] .br-query-value,
[data-theme="dark"] .br-keyword-trend {
    background: rgba(255, 255, 255, 0.1);
}

/* Google Trends Responsive */
@media (max-width: 768px) {
    .br-trends-header {
        flex-direction: column;
        text-align: center;
    }
    
    .br-trends-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .br-related-grid,
    .br-luxury-grid {
        grid-template-columns: 1fr;
    }
    
    .br-market-bar-row {
        flex-wrap: wrap;
    }
    
    .br-market-bar-row .br-market-name {
        min-width: 100%;
        margin-bottom: 0.25em;
    }
    
    .br-trends-meta {
        flex-direction: column;
        gap: 0.5em;
        text-align: center;
    }
}

/* ==========================================================================
   Phase 5: Market Page - Server-Side Rendered for SEO
   Styled to match brandedliving.co visual identity (clean white, black text)
   ========================================================================== */

.br-market-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
    font-family: inherit;
    color: #1a1a1a;
    line-height: 1.7;
}

/* Hero Section */
.br-market-hero {
    background: #ffffff;
    padding: 3em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 2em;
    margin-left: -2em;
    margin-right: -2em;
    padding-left: 2em;
    padding-right: 2em;
}

.br-market-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.br-market-updated {
    display: inline-block;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 1em;
    padding: 0.5em 1em;
    background: #f5f5f5;
    border-radius: 4px;
}

.br-market-title {
    font-size: 3em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.25em 0;
    line-height: 1.1;
    font-family: Georgia, 'Times New Roman', serif;
}

.br-market-tagline {
    font-size: 1.5em;
    color: #555;
    font-weight: 300;
    margin: 0 0 1.5em 0;
    font-style: italic;
}

.br-market-overview {
    font-size: 1.125em;
    color: #444;
    line-height: 1.8;
    margin: 0;
}

/* Stats Grid */
.br-market-stats {
    background: #f9f9f9;
    padding: 2em 0;
    margin-bottom: 3em;
}

.br-market-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1em;
}

@media (max-width: 992px) {
    .br-market-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .br-market-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.br-market-stats .br-stat-card {
    background: #ffffff;
    padding: 1.5em 1em;
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.br-market-stats .br-stat-value {
    display: block;
    font-size: 1.75em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25em;
}

.br-market-stats .br-stat-label {
    display: block;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
}

/* Section Titles */
.br-market-section {
    margin-bottom: 3em;
}

.br-section-title {
    font-size: 1.75em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1.5em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #1a1a1a;
    font-family: Georgia, 'Times New Roman', serif;
}

/* Drivers Grid */
.br-drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
}

.br-driver-card {
    background: #fff;
    padding: 1.5em;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

.br-driver-card h3 {
    font-size: 1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5em 0;
}

.br-driver-card p {
    font-size: 0.9em;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Neighborhoods */
.br-neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
}

.br-neighborhood-card {
    background: #fff;
    padding: 1.5em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.br-neighborhood-card h3 {
    font-size: 1.25em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5em 0;
}

.br-neighborhood-signature {
    font-size: 0.95em;
    color: #555;
    font-style: italic;
    margin: 0 0 1em 0;
}

.br-neighborhood-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 1em;
}

.br-price-range {
    background: #1a1a1a;
    color: #fff;
    padding: 0.25em 0.75em;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: 500;
}

.br-demographic {
    background: #f0f0f0;
    color: #555;
    padding: 0.25em 0.75em;
    border-radius: 3px;
    font-size: 0.8em;
}

.br-key-projects {
    font-size: 0.85em;
    color: #666;
    line-height: 1.6;
}

.br-key-projects strong {
    color: #444;
}

/* Brand Leaders */
.br-brand-leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
}

.br-brand-leader-card {
    background: #fff;
    padding: 1.5em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.br-brand-leader-card h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
    padding-bottom: 0.75em;
    border-bottom: 1px solid #eee;
}

.br-brand-leader-card .br-brand-stats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-brand-leader-card .br-brand-stats li {
    padding: 0.5em 0;
    font-size: 0.9em;
    color: #444;
    border-bottom: 1px dotted #eee;
}

.br-brand-leader-card .br-brand-stats li:last-child {
    border-bottom: none;
}

.br-brand-leader-card .br-brand-stats strong {
    color: #1a1a1a;
}

/* Rising Contenders */
.br-contenders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
}

.br-contender-card {
    background: #f9f9f9;
    padding: 1.25em;
    border-radius: 4px;
}

.br-contender-card h4 {
    font-size: 1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5em 0;
}

.br-contender-card p {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

/* Investment Analysis */
.br-investment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    margin-bottom: 2em;
}

@media (max-width: 768px) {
    .br-investment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.br-investment-card {
    background: #fff;
    padding: 1.5em;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.br-investment-card.br-highlight {
    background: #1a1a1a;
    color: #fff;
}

.br-invest-value {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 0.25em;
}

.br-investment-card.br-highlight .br-invest-value {
    color: #fff;
}

.br-invest-label {
    display: block;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.br-invest-note {
    display: block;
    font-size: 0.75em;
    margin-top: 0.5em;
    opacity: 0.6;
}

.br-tax-section {
    background: #f9f9f9;
    padding: 1.5em;
    border-radius: 4px;
}

.br-tax-section h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
}

.br-tax-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75em;
}

.br-tax-list li {
    font-size: 0.9em;
    color: #444;
    padding-left: 1.5em;
    position: relative;
}

.br-tax-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

/* Pipeline */
.br-pipeline-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
}

@media (max-width: 768px) {
    .br-pipeline-columns {
        grid-template-columns: 1fr;
    }
}

.br-pipeline-col h3 {
    font-size: 1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #ddd;
}

.br-pipeline-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-pipeline-col li {
    padding: 0.75em 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9em;
}

.br-pipeline-col li:last-child {
    border-bottom: none;
}

.br-project-price {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 0.15em 0.5em;
    border-radius: 3px;
    font-size: 0.85em;
    margin-left: 0.5em;
}

.br-project-desc {
    display: block;
    color: #777;
    font-size: 0.9em;
    margin-top: 0.25em;
}

/* Demographics */
.br-demographics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
}

@media (max-width: 768px) {
    .br-demographics-grid {
        grid-template-columns: 1fr;
    }
}

.br-demo-col h3 {
    font-size: 1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
}

.br-demo-bar {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 0.75em;
}

.br-demo-label {
    flex: 0 0 120px;
    font-size: 0.85em;
    color: #555;
}

.br-progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.br-progress-fill {
    height: 100%;
    background: #1a1a1a;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.br-demo-pct {
    flex: 0 0 40px;
    font-size: 0.85em;
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
}

/* Amenities */
.br-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
}

@media (max-width: 768px) {
    .br-amenities-grid {
        grid-template-columns: 1fr;
    }
}

.br-amenity-col h3 {
    font-size: 1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
}

.br-amenity-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-amenity-col li {
    padding: 0.5em 0;
    font-size: 0.9em;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.br-amenity-col.br-differentiating li {
    padding-left: 1.25em;
    position: relative;
}

.br-amenity-col.br-differentiating li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #d4a574;
}

/* Challenges */
.br-challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}

@media (max-width: 768px) {
    .br-challenges-grid {
        grid-template-columns: 1fr;
    }
}

.br-challenge-card {
    background: #fff8f5;
    padding: 1.5em;
    border-radius: 4px;
    border-left: 3px solid #dc7856;
}

.br-challenge-card h3 {
    font-size: 1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
}

.br-challenge-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-challenge-card li {
    padding: 0.5em 0;
    font-size: 0.85em;
    color: #555;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Outlook */
.br-outlook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}

@media (max-width: 768px) {
    .br-outlook-grid {
        grid-template-columns: 1fr;
    }
}

.br-outlook-col {
    background: #f0fdf4;
    padding: 1.5em;
    border-radius: 4px;
}

.br-outlook-col.br-risks {
    background: #fef2f2;
}

.br-outlook-col h3 {
    font-size: 1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
}

.br-outlook-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-outlook-col li {
    padding: 0.5em 0;
    font-size: 0.85em;
    color: #444;
    padding-left: 1.25em;
    position: relative;
}

.br-outlook-col li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #16a34a;
}

.br-outlook-col.br-risks li::before {
    content: "⚠";
    color: #dc2626;
}

/* Related News */
.br-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}

@media (max-width: 768px) {
    .br-news-grid {
        grid-template-columns: 1fr;
    }
}

.br-news-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.br-news-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.br-news-content {
    padding: 1.25em;
}

.br-news-card h3 {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 0.75em 0;
    line-height: 1.4;
}

.br-news-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.br-news-card h3 a:hover {
    text-decoration: underline;
}

.br-news-card p {
    font-size: 0.85em;
    color: #666;
    margin: 0 0 0.75em 0;
    line-height: 1.6;
}

.br-news-card time {
    font-size: 0.75em;
    color: #999;
}

/* CTAs */
.br-market-ctas {
    background: #1a1a1a;
    padding: 3em 2em;
    margin: 3em -2em;
    border-radius: 0;
}

.br-market-ctas .br-section-title {
    color: #fff;
    border-bottom-color: #444;
    text-align: center;
}

.br-ctas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}

.br-ctas-grid.br-ctas-two-col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .br-ctas-grid {
        grid-template-columns: 1fr;
    }
}

.br-cta-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2em;
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.br-cta-card h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75em 0;
}

.br-cta-card p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.5em 0;
    line-height: 1.6;
}

.br-cta-button {
    display: inline-block;
    background: #fff;
    color: #1a1a1a;
    padding: 0.75em 1.5em;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.br-cta-button:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    text-decoration: none;
}

/* Related Markets */
.br-related-markets {
    border-top: 1px solid #eee;
    padding-top: 2em;
}

.br-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}

@media (max-width: 768px) {
    .br-related-grid {
        grid-template-columns: 1fr;
    }
}

.br-related-card {
    background: #f9f9f9;
    padding: 1.5em;
    border-radius: 4px;
    text-align: center;
}

.br-related-card h3 {
    font-size: 1.25em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5em 0;
}

.br-related-card p {
    font-size: 0.9em;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Error state */
.br-market-page-error {
    background: #fef2f2;
    padding: 2em;
    border-radius: 4px;
    text-align: center;
    color: #dc2626;
}

/* Dark mode support */
.dark .br-market-page,
[data-theme="dark"] .br-market-page {
    color: #e5e5e5;
}

.dark .br-market-hero,
[data-theme="dark"] .br-market-hero {
    background: #1a1a1a;
    border-color: #333;
}

.dark .br-market-title,
.dark .br-section-title,
[data-theme="dark"] .br-market-title,
[data-theme="dark"] .br-section-title {
    color: #fff;
}

.dark .br-market-stats,
[data-theme="dark"] .br-market-stats {
    background: #111;
}

.dark .br-market-stats .br-stat-card,
.dark .br-driver-card,
.dark .br-neighborhood-card,
.dark .br-brand-leader-card,
.dark .br-investment-card,
.dark .br-news-card,
[data-theme="dark"] .br-market-stats .br-stat-card,
[data-theme="dark"] .br-driver-card,
[data-theme="dark"] .br-neighborhood-card,
[data-theme="dark"] .br-brand-leader-card,
[data-theme="dark"] .br-investment-card,
[data-theme="dark"] .br-news-card {
    background: #222;
    border-color: #333;
}

.dark .br-contender-card,
.dark .br-tax-section,
.dark .br-related-card,
[data-theme="dark"] .br-contender-card,
[data-theme="dark"] .br-tax-section,
[data-theme="dark"] .br-related-card {
    background: #222;
}

.dark .br-investment-card.br-highlight,
[data-theme="dark"] .br-investment-card.br-highlight {
    background: #333;
}

.dark .br-progress-bar,
[data-theme="dark"] .br-progress-bar {
    background: #333;
}

.dark .br-progress-fill,
[data-theme="dark"] .br-progress-fill {
    background: #fff;
}

.dark .br-market-ctas,
[data-theme="dark"] .br-market-ctas {
    background: #111;
}

/* Market Page Enhanced Mobile Responsiveness */
@media (max-width: 576px) {
    .br-market-hero {
        padding: 2em 0;
    }
    
    .br-market-title {
        font-size: 2em;
    }
    
    .br-market-tagline {
        font-size: 1.25em;
    }
    
    .br-market-overview {
        font-size: 1em;
    }
    
    .br-section-title {
        font-size: 1.35em;
    }
    
    .br-drivers-grid,
    .br-neighborhoods-grid,
    .br-brand-leaders-grid,
    .br-contenders-grid {
        grid-template-columns: 1fr;
    }
    
    .br-investment-grid {
        grid-template-columns: 1fr;
    }
    
    .br-challenges-grid,
    .br-outlook-grid,
    .br-ctas-grid,
    .br-related-grid {
        grid-template-columns: 1fr;
    }
    
    .br-market-ctas {
        padding: 2em 1.5em;
    }
    
    .br-demo-bar {
        flex-wrap: wrap;
    }
    
    .br-demo-label {
        flex: 0 0 100%;
        margin-bottom: 0.25em;
    }
    
    .br-amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .br-tax-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MARKET CARDS - Clickable Market Navigation
   ============================================ */

/* Related Markets Card Links */
.br-related-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.br-related-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.br-related-card-link:hover h3 {
    color: #b8860b;
}

.br-card-arrow {
    display: block;
    margin-top: 1em;
    font-size: 1.25em;
    color: #b8860b;
    transition: transform 0.2s ease;
}

.br-related-card-link:hover .br-card-arrow {
    transform: translateX(4px);
}

/* Market Cards Grid (for Market Intelligence page) */
.br-market-cards-container {
    max-width: 1200px;
    margin: 2em auto;
    padding: 0 1em;
}

.br-market-cards-title {
    text-align: center;
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1.5em;
    color: inherit;
}

.br-market-cards-grid {
    display: grid;
    gap: 1.5em;
}

.br-market-cards-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.br-market-cards-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.br-market-cards-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.br-market-card-item {
    display: block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.75em;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.br-market-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b8860b, #d4a84b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.br-market-card-item:hover::before {
    transform: scaleX(1);
}

.br-market-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #b8860b;
}

.br-market-card-content {
    position: relative;
    z-index: 1;
}

.br-market-card-name {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 0.5em 0;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.br-market-card-item:hover .br-market-card-name {
    color: #b8860b;
}

.br-market-card-tagline {
    font-size: 0.95em;
    color: #666;
    margin: 0 0 1.25em 0;
    line-height: 1.5;
}

.br-market-card-stats {
    display: flex;
    gap: 1.5em;
    padding-top: 1em;
    border-top: 1px solid #eee;
    margin-bottom: 1em;
}

.br-market-card-stat {
    text-align: center;
    flex: 1;
}

.br-market-card-stat .br-stat-value {
    display: block;
    font-size: 1.35em;
    font-weight: 700;
    color: #b8860b;
}

.br-market-card-stat .br-stat-label {
    display: block;
    font-size: 0.75em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25em;
}

.br-market-card-arrow {
    display: block;
    font-size: 0.9em;
    color: #b8860b;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.br-market-card-item:hover .br-market-card-arrow {
    transform: translateX(6px);
}

/* Dark mode for Market Cards */
.dark .br-market-card-item,
[data-theme="dark"] .br-market-card-item {
    background: #1a1a1a;
    border-color: #333;
}

.dark .br-market-card-name,
[data-theme="dark"] .br-market-card-name {
    color: #fff;
}

.dark .br-market-card-tagline,
[data-theme="dark"] .br-market-card-tagline {
    color: #999;
}

.dark .br-market-card-stats,
[data-theme="dark"] .br-market-card-stats {
    border-top-color: #333;
}

/* Market Cards Responsive */
@media (max-width: 992px) {
    .br-market-cards-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .br-market-cards-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .br-market-cards-cols-2,
    .br-market-cards-cols-3,
    .br-market-cards-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .br-market-cards-title {
        font-size: 1.5em;
    }
    
    .br-market-card-item {
        padding: 1.25em;
    }
    
    .br-market-card-stats {
        gap: 0.75em;
    }
}

/* ============================================
   PILLAR PAGE - Complete Guide Styling
   ============================================ */

.br-pillar-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
    color: #1a1a1a;
    font-family: inherit;
    line-height: 1.7;
}

.br-pillar-page * {
    box-sizing: border-box;
}

/* Hero */
.br-pillar-hero {
    text-align: center;
    padding: 4em 0 3em;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 3em;
}

.br-pillar-updated {
    font-size: 0.8em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5em;
    font-weight: 500;
}

.br-pillar-title {
    font-size: 2.75em;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.75em 0;
    color: #1a1a1a;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.br-pillar-subtitle {
    font-size: 1.35em;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Table of Contents */
.br-toc {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2em 2.5em;
    margin-bottom: 4em;
    max-width: 700px;
}

.br-toc-title {
    font-size: 1.15em;
    font-weight: 600;
    margin: 0 0 1.25em 0;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.br-toc-list {
    margin: 0;
    padding-left: 1.5em;
    columns: 2;
    column-gap: 2em;
}

.br-toc-list li {
    margin-bottom: 0.75em;
    break-inside: avoid;
}

.br-toc-list a {
    color: #b8860b;
    text-decoration: none;
    font-weight: 500;
}

.br-toc-list a:hover {
    text-decoration: underline;
}

/* Sections */
.br-pillar-section {
    margin-bottom: 4em;
    padding-top: 2em;
}

.br-pillar-section .br-section-title {
    font-size: 1.85em;
    font-weight: 700;
    margin: 0 0 1.25em 0;
    color: #1a1a1a;
    border-bottom: 2px solid #b8860b;
    padding-bottom: 0.75em;
}

.br-pillar-content {
    font-size: 1.05em;
}

.br-pillar-content p {
    margin-bottom: 1.5em;
    color: #333;
}

.br-pillar-content h3 {
    font-size: 1.35em;
    font-weight: 600;
    margin: 2.5em 0 1.25em 0;
    color: #1a1a1a;
}

.br-lead {
    font-size: 1.2em;
    color: #333;
    line-height: 1.8;
}

.br-subsection-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 2.5em 0 1.25em 0;
    color: #1a1a1a;
}

/* Value Grid */
.br-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.br-value-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.75em;
}

.br-value-card h4 {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 0.75em 0;
    color: #b8860b;
}

.br-value-card p {
    font-size: 0.95em;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Comparison Table */
.br-comparison-table-wrapper {
    overflow-x: auto;
    margin: 2em 0;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.br-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.br-comparison-table th,
.br-comparison-table td {
    padding: 1em 1.25em;
    text-align: left;
    border: 1px solid #e5e5e5;
}

.br-comparison-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-comparison-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.br-comparison-table td {
    color: #333;
}

/* Timeline */
.br-timeline {
    position: relative;
    margin: 2.5em 0;
    padding-left: 2.5em;
    border-left: 3px solid #b8860b;
}

.br-timeline-item {
    position: relative;
    margin-bottom: 2em;
    padding-left: 1.25em;
}

.br-timeline-item::before {
    content: '';
    position: absolute;
    left: -2.65em;
    top: 0.35em;
    width: 14px;
    height: 14px;
    background: #b8860b;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #b8860b;
}

.br-timeline-year {
    display: block;
    font-weight: 700;
    color: #b8860b;
    font-size: 1.1em;
    margin-bottom: 0.25em;
}

.br-timeline-event {
    color: #555;
    font-size: 1em;
}

/* Highlight Stat */
.br-highlight-stat {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #fff;
    padding: 3em 2em;
    border-radius: 12px;
    text-align: center;
    margin: 3em 0;
}

.br-stat-number {
    display: block;
    font-size: 4em;
    font-weight: 700;
    color: #d4a84b;
    line-height: 1;
    margin-bottom: 0.25em;
}

.br-stat-text {
    font-size: 1.15em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Brands Showcase */
.br-brands-showcase {
    display: grid;
    gap: 1.5em;
    margin: 2em 0;
}

.br-brand-profile {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #b8860b;
    padding: 1.75em 2em;
    border-radius: 0 8px 8px 0;
}

.br-brand-profile h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 0.75em 0;
    color: #1a1a1a;
}

.br-brand-desc {
    font-size: 1em;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* Investment Highlights */
.br-investment-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.br-invest-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2em 1.5em;
    text-align: center;
}

.br-invest-card h4 {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 0 0 0.75em 0;
}

.br-invest-stat {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #b8860b;
    margin-bottom: 0.25em;
    line-height: 1;
}

.br-invest-card p {
    font-size: 0.9em;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Steps Grid */
.br-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin: 2em 0;
}

.br-step-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2em 1.75em 1.75em;
    position: relative;
}

.br-step-number {
    position: absolute;
    top: -1em;
    left: 1.5em;
    width: 2.5em;
    height: 2.5em;
    background: #b8860b;
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.br-step-card h4 {
    margin: 0.75em 0 1em 0;
    font-size: 1.2em;
    color: #1a1a1a;
}

.br-step-card ul {
    margin: 0;
    padding-left: 1.25em;
    font-size: 0.95em;
}

.br-step-card li {
    margin-bottom: 0.6em;
    color: #555;
    line-height: 1.5;
}

/* Developer Benefits */
.br-dev-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.br-dev-benefit {
    background: #fafafa;
    padding: 1.75em;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e5e5e5;
}

.br-dev-benefit h4 {
    font-size: 1.05em;
    color: #1a1a1a;
    margin: 0 0 0.75em 0;
}

.br-dev-benefit p {
    font-size: 1.1em;
    color: #b8860b;
    margin: 0;
    font-weight: 700;
}

.br-structure-list {
    list-style: none;
    padding: 0;
    margin: 1.5em 0;
}

.br-structure-list li {
    padding: 1em 1.25em;
    background: #fff;
    border: 1px solid #e5e5e5;
    margin-bottom: 0.75em;
    border-radius: 6px;
    font-size: 1em;
    color: #333;
}

/* Emerging Markets */
.br-emerging-markets {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin: 1.5em 0;
}

.br-emerging-tag {
    background: #f5f5f5;
    padding: 0.6em 1.25em;
    border-radius: 25px;
    font-size: 0.95em;
    color: #555;
    font-weight: 500;
    border: 1px solid #e5e5e5;
}

/* Trends Grid */
.br-trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.br-trend-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2em;
}

.br-trend-card h4 {
    font-size: 1.2em;
    color: #b8860b;
    margin: 0 0 1em 0;
}

.br-trend-card p {
    font-size: 0.95em;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* FAQ */
.br-faq-list {
    margin: 2em 0;
}

.br-faq-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 1.75em 0;
}

.br-faq-item:first-child {
    padding-top: 0;
}

.br-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.br-faq-item h3 {
    font-size: 1.15em;
    color: #1a1a1a;
    margin: 0 0 1em 0;
    font-weight: 600;
}

.br-faq-item p {
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* Pillar CTAs */
.br-pillar-ctas {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #fff;
    padding: 4em 3em;
    border-radius: 12px;
    margin: 4em 0;
}

.br-pillar-ctas .br-section-title {
    color: #fff;
    border-bottom-color: #d4a84b;
    text-align: center;
}

.br-ctas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.br-cta-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2em;
    text-align: center;
}

.br-cta-card h3 {
    color: #d4a84b;
    font-size: 1.2em;
    margin: 0 0 1em 0;
}

.br-cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
    margin: 0 0 1.5em 0;
    line-height: 1.6;
}

.br-cta-button {
    display: inline-block;
    background: #b8860b;
    color: #fff;
    padding: 0.75em 1.75em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: background 0.2s ease;
}

.br-cta-button:hover {
    background: #d4a84b;
    color: #fff;
}

/* Footer */
.br-pillar-footer {
    border-top: 1px solid #e5e5e5;
    padding-top: 2.5em;
    margin-top: 4em;
    font-size: 0.95em;
    color: #666;
    line-height: 1.7;
}

.br-disclaimer {
    font-size: 0.85em;
    color: #888;
    font-style: italic;
    margin-top: 1em;
}

/* Community Mini Cards (SEO Pillar Pages) */
.br-community-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.br-community-mini-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.br-community-card-link:hover .br-community-mini-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.br-community-mini-image {
    height: 180px;
    overflow: hidden;
}

.br-community-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.br-community-card-link:hover .br-community-mini-image img {
    transform: scale(1.03);
}

.br-community-mini-content {
    padding: 1.25em;
}

.br-community-mini-content h4 {
    font-size: 1.05em;
    font-weight: 600;
    margin: 0 0 0.35em 0;
    color: #1a1a1a;
    line-height: 1.3;
}

.br-community-mini-location {
    font-size: 0.85em;
    color: #888;
    margin: 0 0 0.5em 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-community-mini-price {
    font-size: 0.95em;
    color: #b8860b;
    font-weight: 600;
    margin: 0;
}

.br-communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

/* BL Pro CTA Section */
.br-pro-cta {
    background: linear-gradient(135deg, #f8f6f3 0%, #f0ece6 50%, #f8f6f3 100%);
    border: 1px solid #e0d8cc;
    border-radius: 12px;
    padding: 3em 2.5em;
    margin: 3.5em 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.br-pro-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b8860b 0%, #d4a84b 50%, #b8860b 100%);
}

.br-pro-cta-label {
    display: inline-block;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b8860b;
    font-weight: 600;
    margin-bottom: 1em;
    padding: 0.4em 1.2em;
    border: 1px solid #d4c5a0;
    border-radius: 20px;
    background: #fff;
}

.br-pro-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6em;
    color: #1a1a1a;
    margin: 0 0 0.6em 0;
    line-height: 1.3;
}

.br-pro-cta p {
    font-size: 1.05em;
    color: #555;
    max-width: 600px;
    margin: 0 auto 1.5em;
    line-height: 1.6;
}

.br-pro-cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em 2em;
    margin: 0 auto 2em;
    max-width: 700px;
}

.br-pro-cta-feature {
    font-size: 0.9em;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.br-pro-cta-feature::before {
    content: '\2713';
    color: #b8860b;
    font-weight: 700;
    font-size: 1.1em;
}

.br-pro-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
    padding: 0.9em 2.5em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    border: none;
}

.br-pro-cta-btn:hover {
    background: linear-gradient(135deg, #333, #444);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.br-pro-cta-note {
    font-size: 0.8em;
    color: #999;
    margin-top: 1em;
}

/* Pillar Hero Accent Bar */
.br-pillar-hero::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #b8860b;
    margin: 2em auto 0;
}

/* Dark mode for new components */
.dark .br-community-mini-card,
[data-theme="dark"] .br-community-mini-card {
    background: #222;
    border-color: #333;
}

.dark .br-community-mini-content h4,
[data-theme="dark"] .br-community-mini-content h4 {
    color: #e5e5e5;
}

.dark .br-pro-cta,
[data-theme="dark"] .br-pro-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #222 50%, #1a1a1a 100%);
    border-color: #333;
}

.dark .br-pro-cta h3,
[data-theme="dark"] .br-pro-cta h3 {
    color: #e5e5e5;
}

.dark .br-pro-cta p,
[data-theme="dark"] .br-pro-cta p {
    color: #aaa;
}

.dark .br-pro-cta-feature,
[data-theme="dark"] .br-pro-cta-feature {
    color: #bbb;
}

.dark .br-pro-cta-label,
[data-theme="dark"] .br-pro-cta-label {
    background: #2a2a2a;
    border-color: #444;
}

/* Pillar Page Dark Mode */
.dark .br-pillar-page,
[data-theme="dark"] .br-pillar-page {
    color: #e5e5e5;
}

.dark .br-pillar-title,
[data-theme="dark"] .br-pillar-title {
    color: #fff;
}

.dark .br-toc,
[data-theme="dark"] .br-toc {
    background: #1a1a1a;
    border-color: #333;
}

.dark .br-value-card,
.dark .br-brand-profile,
.dark .br-invest-card,
.dark .br-step-card,
.dark .br-trend-card,
[data-theme="dark"] .br-value-card,
[data-theme="dark"] .br-brand-profile,
[data-theme="dark"] .br-invest-card,
[data-theme="dark"] .br-step-card,
[data-theme="dark"] .br-trend-card {
    background: #222;
    border-color: #333;
}

.dark .br-comparison-table th,
[data-theme="dark"] .br-comparison-table th {
    background: #333;
    color: #fff;
}

.dark .br-comparison-table td,
[data-theme="dark"] .br-comparison-table td {
    border-color: #333;
}

.dark .br-dev-benefit,
.dark .br-emerging-tag,
[data-theme="dark"] .br-dev-benefit,
[data-theme="dark"] .br-emerging-tag {
    background: #333;
    color: #ccc;
}

.dark .br-faq-item,
[data-theme="dark"] .br-faq-item {
    border-color: #333;
}

.dark .br-pillar-footer,
[data-theme="dark"] .br-pillar-footer {
    border-color: #333;
}

/* Pillar Page Responsive */
@media (max-width: 768px) {
    .br-pillar-page {
        padding: 0 1.25em;
    }
    
    .br-pillar-hero {
        padding: 2.5em 0 2em;
    }
    
    .br-pillar-title {
        font-size: 1.85em;
    }
    
    .br-pillar-subtitle {
        font-size: 1.1em;
    }
    
    .br-toc {
        padding: 1.5em;
    }
    
    .br-toc-list {
        columns: 1;
    }
    
    .br-pillar-section {
        margin-bottom: 3em;
    }
    
    .br-pillar-section .br-section-title {
        font-size: 1.4em;
    }
    
    .br-subsection-title {
        font-size: 1.2em;
    }
    
    .br-value-grid,
    .br-investment-highlights,
    .br-dev-benefits,
    .br-steps-grid,
    .br-trends-grid,
    .br-ctas-grid {
        grid-template-columns: 1fr;
    }
    
    .br-highlight-stat {
        padding: 2em 1.5em;
    }
    
    .br-stat-number {
        font-size: 3em;
    }
    
    .br-pillar-ctas {
        padding: 2.5em 1.5em;
        margin: 3em 0;
    }
    
    .br-cta-card {
        padding: 1.5em;
    }
    
    .br-communities-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .br-pro-cta {
        padding: 2em 1.5em;
        margin: 2.5em 0;
    }
    
    .br-pro-cta h3 {
        font-size: 1.3em;
    }
    
    .br-pro-cta-features {
        gap: 0.75em 1.5em;
    }
    
    .br-comparison-table-wrapper {
        margin: 1.5em -1.25em;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .br-pillar-footer {
        margin-top: 3em;
    }
}

/* ============================================
   MONTHLY MARKET REPORT STYLES
   Phase 8: AI-Generated Intelligence Reports
   ============================================ */

.br-monthly-report {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    font-family: inherit;
}

.br-report-header {
    text-align: center;
    padding: 3em 2em;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.br-report-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c9a962 0%, #b8860b 100%);
    color: #fff;
    padding: 0.5em 1.5em;
    border-radius: 30px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5em;
}

.br-report-title {
    color: #fff;
    font-size: 2.25em;
    font-weight: 300;
    margin: 0 0 0.5em 0;
    letter-spacing: 0.02em;
}

.br-report-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin: 0;
}

.br-report-section {
    background: #fff;
    padding: 2em;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.br-report-section:first-of-type {
    border-top: none;
}

.br-report-section h2 {
    font-size: 1.35em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #c9a962;
    display: inline-block;
}

.br-executive-summary p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.br-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-highlights-list li {
    position: relative;
    padding: 0.75em 0 0.75em 2em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1em;
    line-height: 1.6;
    color: #333;
}

.br-highlights-list li:last-child {
    border-bottom: none;
}

.br-highlights-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1em;
    width: 8px;
    height: 8px;
    background: #c9a962;
    border-radius: 50%;
}

.br-report-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: #fff;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.br-report-card {
    padding: 2em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.br-report-card:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.br-report-card h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1em 0;
}

.br-performance-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-performance-item {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.6em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.br-performance-item:last-child {
    border-bottom: none;
}

.br-item-name {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.br-item-count {
    font-size: 0.85em;
    color: #666;
}

.br-sentiment-tag {
    padding: 0.25em 0.6em;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
}

.br-sentiment-tag.br-sentiment-positive {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.br-sentiment-tag.br-sentiment-neutral {
    background: rgba(107, 114, 128, 0.15);
    color: #4b5563;
}

.br-sentiment-tag.br-sentiment-analytical {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.br-analysis-text {
    margin: 1em 0 0;
    font-size: 0.9em;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.br-sentiment-section {
    background: #faf9f7;
}

.br-sentiment-section .br-sentiment-bars {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.br-sentiment-bar-row {
    display: flex;
    align-items: center;
    gap: 1em;
}

.br-sentiment-bar-row .br-sentiment-label {
    min-width: 80px;
    font-weight: 500;
    font-size: 0.9em;
    color: #333;
}

.br-sentiment-bar-track {
    flex: 1;
    height: 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    overflow: hidden;
}

.br-sentiment-bar-row .br-sentiment-value {
    min-width: 45px;
    text-align: right;
    font-weight: 600;
    font-size: 0.9em;
    color: #333;
}

.br-sentiment-summary {
    margin: 1.5em 0 0;
    font-size: 0.95em;
    line-height: 1.7;
    color: #555;
}

.br-announcements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-announcements-list li {
    position: relative;
    padding: 0.75em 0 0.75em 1.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95em;
    line-height: 1.6;
    color: #333;
}

.br-announcements-list li:last-child {
    border-bottom: none;
}

.br-announcements-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #c9a962;
    font-weight: bold;
}

.br-outlook {
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.08) 0%, rgba(201, 169, 98, 0.02) 100%);
    border-left: 3px solid #c9a962;
}

.br-outlook p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333;
}

.br-report-footer {
    background: #f5f5f5;
    padding: 1.5em 2em;
    text-align: center;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: none;
}

.br-report-footer p {
    margin: 0;
    font-size: 0.85em;
    color: #666;
}

.br-report-footer strong {
    color: #c9a962;
}

/* Monthly Report Responsive */
@media (max-width: 768px) {
    .br-report-header {
        padding: 2em 1.5em;
    }
    
    .br-report-title {
        font-size: 1.6em;
    }
    
    .br-report-section {
        padding: 1.5em;
    }
    
    .br-report-grid {
        grid-template-columns: 1fr;
    }
    
    .br-report-card:first-child {
        border-right: none;
    }
    
    .br-sentiment-bar-row {
        flex-wrap: wrap;
    }
    
    .br-sentiment-bar-row .br-sentiment-label {
        min-width: 100%;
        margin-bottom: 0.25em;
    }
}

/* Dark mode support for Monthly Report */
.dark .br-monthly-report,
[data-theme="dark"] .br-monthly-report {
    background: #1a1a1a;
}

.dark .br-report-section,
[data-theme="dark"] .br-report-section {
    background: #222;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .br-report-section h2,
[data-theme="dark"] .br-report-section h2 {
    color: #f5f5f5;
}

.dark .br-report-grid,
[data-theme="dark"] .br-report-grid {
    background: #222;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .br-report-card,
[data-theme="dark"] .br-report-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .br-report-card:first-child,
[data-theme="dark"] .br-report-card:first-child {
    border-right-color: rgba(255, 255, 255, 0.1);
}

.dark .br-report-card h3,
[data-theme="dark"] .br-report-card h3 {
    color: #f5f5f5;
}

.dark .br-item-name,
.dark .br-highlights-list li,
.dark .br-announcements-list li,
.dark .br-executive-summary p,
.dark .br-outlook p,
[data-theme="dark"] .br-item-name,
[data-theme="dark"] .br-highlights-list li,
[data-theme="dark"] .br-announcements-list li,
[data-theme="dark"] .br-executive-summary p,
[data-theme="dark"] .br-outlook p {
    color: #e5e5e5;
}

.dark .br-item-count,
.dark .br-analysis-text,
.dark .br-sentiment-summary,
[data-theme="dark"] .br-item-count,
[data-theme="dark"] .br-analysis-text,
[data-theme="dark"] .br-sentiment-summary {
    color: #aaa;
}

.dark .br-sentiment-section,
[data-theme="dark"] .br-sentiment-section {
    background: #1a1a1a;
}

.dark .br-sentiment-bar-row .br-sentiment-label,
.dark .br-sentiment-bar-row .br-sentiment-value,
[data-theme="dark"] .br-sentiment-bar-row .br-sentiment-label,
[data-theme="dark"] .br-sentiment-bar-row .br-sentiment-value {
    color: #e5e5e5;
}

.dark .br-report-footer,
[data-theme="dark"] .br-report-footer {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .br-report-footer p,
[data-theme="dark"] .br-report-footer p {
    color: #aaa;
}

/* ==========================================================================
   Global Component Spacing Improvements
   Better margins and padding for all Branded Residences components
   ========================================================================== */

/* Stat Ribbon - improved spacing */
.br-stat-ribbon {
    margin-bottom: 3em;
    padding: 2.5em 3em;
    border-radius: 16px;
}

/* Insights Dashboard - better section margins */
.br-insights-dashboard {
    margin: 3em 0;
}

.br-insights-grid {
    gap: 2em;
}

.br-insight-card {
    padding: 2em;
    border-radius: 12px;
}

/* Google Trends sections - improved spacing */
.br-trends-container {
    margin: 3em 0;
    padding: 2em;
    border-radius: 12px;
}

.br-interest-chart,
.br-related-section {
    margin-bottom: 2.5em;
}

/* Markets Overview - better section margins */
.br-markets-overview {
    margin: 3em 0;
}

.br-markets-grid {
    gap: 2em;
}

.br-market-card {
    padding: 2em;
    border-radius: 12px;
}

/* News Feed - improved spacing */
.br-news-feed {
    margin: 3em 0;
}

.br-news-filtered {
    margin: 2em 0;
}

.br-article {
    border-radius: 12px;
}

.br-article-content {
    padding: 1.75em;
}

/* AI Match CTA - more breathing room */
.br-ai-match {
    margin: 4em auto;
    padding: 4.5em 4em 5em;
}

/* Brand Performance - improved spacing */
.br-brand-performance {
    padding: 2em;
    border-radius: 12px;
    margin: 2em 0;
}

/* Market Brief - improved spacing */
.br-market-brief {
    padding: 2em;
    border-radius: 12px;
    margin: 2em 0;
}

/* Brands Grid - improved spacing */
.br-brands-grid {
    gap: 2em;
    margin: 2em 0;
}

.br-brand-card {
    padding: 2em;
    border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .br-stat-ribbon {
        padding: 2em;
    }
    
    .br-ai-match {
        padding: 3em 2em 3.5em;
        margin: 3em auto;
    }
    
    .br-insight-card,
    .br-market-card,
    .br-brand-card {
        padding: 1.75em;
    }
}

@media (max-width: 768px) {
    .br-stat-ribbon {
        padding: 1.5em;
        border-radius: 12px;
    }
    
    .br-insight-card,
    .br-market-card,
    .br-brand-card {
        padding: 1.5em;
        border-radius: 10px;
    }
    
    .br-ai-match {
        padding: 2.5em 1.5em 3em;
        margin: 2em auto;
        border-radius: 16px;
    }
    
    .br-article-content {
        padding: 1.5em;
    }
    
    .br-brand-performance,
    .br-market-brief {
        padding: 1.5em;
    }
    
    .br-insights-dashboard,
    .br-markets-overview,
    .br-news-feed {
        margin: 2em 0;
    }
}

/* ============================================
   BRANDED LIVING PRO LANDING PAGE
   Full-page membership landing experience
   ============================================ */

.br-pro-landing {
    font-family: inherit;
    color: inherit;
    line-height: 1.6;
}

/* Hero Section */
.br-pro-hero {
    text-align: center;
    padding: 5em 2em 4em;
    background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 100%);
    border-bottom: 1px solid rgba(139, 115, 85, 0.1);
}

.br-pro-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.br-pro-headline {
    font-size: 2.75em;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 0.75em 0;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.br-pro-subheadline {
    font-size: 1.15em;
    line-height: 1.7;
    color: #555;
    margin: 0 0 2em 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.br-pro-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B7355 0%, #7a6449 100%);
    color: #fff;
    padding: 1em 2.5em;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.25);
}

.br-pro-cta-button:hover {
    background: linear-gradient(135deg, #7a6449 0%, #6a5640 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(139, 115, 85, 0.35);
}

.br-pro-access-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 1.5em;
    font-size: 0.85em;
    color: #777;
}

.br-pro-access-note svg {
    opacity: 0.6;
}

/* Section Headers */
.br-pro-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3em;
}

.br-pro-section-header h2 {
    font-size: 2em;
    font-weight: 400;
    margin: 0 0 0.5em 0;
    color: #1a1a1a;
}

.br-pro-section-header p {
    font-size: 1.05em;
    color: #666;
    margin: 0;
}

/* Benefits Section */
.br-pro-benefits {
    padding: 5em 2em;
    background: #fff;
}

.br-pro-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    max-width: 1000px;
    margin: 0 auto;
}

.br-pro-benefit-card {
    background: #faf9f7;
    border: 1px solid rgba(139, 115, 85, 0.1);
    border-radius: 12px;
    padding: 2em;
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.br-pro-benefit-card:hover {
    box-shadow: 0 8px 32px rgba(139, 115, 85, 0.12);
    transform: translateY(-3px);
}

.br-pro-benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.1) 0%, rgba(139, 115, 85, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25em;
}

.br-pro-benefit-icon svg {
    stroke: #8B7355;
}

.br-pro-benefit-card h3 {
    font-size: 1.15em;
    font-weight: 600;
    margin: 0 0 0.75em 0;
    color: #1a1a1a;
}

.br-pro-benefit-card p {
    font-size: 0.95em;
    color: #666;
    margin: 0;
    line-height: 1.65;
}

/* Process Section */
.br-pro-process {
    padding: 5em 2em;
    background: linear-gradient(180deg, #f5f4f2 0%, #faf9f7 100%);
}

.br-pro-steps {
    display: flex;
    justify-content: center;
    gap: 3em;
    max-width: 1000px;
    margin: 0 auto;
}

.br-pro-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.br-pro-step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #8B7355 0%, #7a6449 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 auto 1.25em;
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.25);
}

.br-pro-step h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 0.5em 0;
    color: #1a1a1a;
}

.br-pro-step p {
    font-size: 0.9em;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Form Section */
.br-pro-form-section {
    padding: 5em 2em;
    background: #fff;
}

.br-pro-application-form {
    max-width: 600px;
    margin: 0 auto;
}

.br-pro-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25em;
}

.br-pro-form-group {
    margin-bottom: 1.25em;
}

.br-pro-form-group label {
    display: block;
    font-size: 0.9em;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5em;
}

.br-required-mark {
    color: #c9a962;
}

.br-optional-text {
    font-weight: 400;
    color: #888;
    font-size: 0.9em;
}

.br-pro-form-group input,
.br-pro-form-group select,
.br-pro-form-group textarea {
    width: 100%;
    padding: 0.875em 1em;
    font-size: 1em;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: #faf9f7;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.br-pro-form-group input:focus,
.br-pro-form-group select:focus,
.br-pro-form-group textarea:focus {
    outline: none;
    border-color: #8B7355;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.br-pro-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.br-pro-form-submit {
    text-align: center;
    margin-top: 2em;
}

.br-pro-submit-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B7355 0%, #7a6449 100%);
    color: #fff;
    padding: 1em 3em;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.25);
}

.br-pro-submit-button:hover {
    background: linear-gradient(135deg, #7a6449 0%, #6a5640 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(139, 115, 85, 0.35);
}

.br-pro-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.br-pro-form-disclaimer {
    font-size: 0.8em;
    color: #888;
    margin-top: 1.25em;
}

.br-pro-form-disclaimer a {
    color: #8B7355;
    text-decoration: underline;
}

.br-pro-form-success {
    text-align: center;
    padding: 3em 2em;
}

.br-pro-form-success svg {
    stroke: #10b981;
    margin-bottom: 1em;
}

.br-pro-form-success h3 {
    font-size: 1.5em;
    font-weight: 500;
    margin: 0 0 0.75em 0;
    color: #1a1a1a;
}

.br-pro-form-success p {
    color: #666;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.br-pro-faq {
    padding: 5em 2em;
    background: #faf9f7;
}

.br-pro-faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.br-pro-faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 1.5em 2em;
    margin-bottom: 1em;
}

.br-pro-faq-item:last-child {
    margin-bottom: 0;
}

.br-pro-faq-item h3 {
    font-size: 1.05em;
    font-weight: 600;
    margin: 0 0 0.5em 0;
    color: #1a1a1a;
}

.br-pro-faq-item p {
    font-size: 0.95em;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Footer CTA */
.br-pro-footer-cta {
    text-align: center;
    padding: 5em 2em;
    background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
    border-top: 1px solid rgba(139, 115, 85, 0.08);
}

.br-pro-footer-cta h2 {
    font-size: 1.75em;
    font-weight: 400;
    margin: 0 0 0.5em 0;
    color: #1a1a1a;
}

.br-pro-footer-cta p {
    font-size: 1em;
    color: #666;
    margin: 0 0 1.75em 0;
}

.br-pro-secondary-button {
    display: inline-block;
    background: transparent;
    color: #8B7355;
    padding: 0.875em 2em;
    border: 2px solid #8B7355;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.br-pro-secondary-button:hover {
    background: #8B7355;
    color: #fff;
    text-decoration: none;
}

/* Responsive - Branded Living Pro */
@media (max-width: 768px) {
    .br-pro-hero {
        padding: 3em 1.5em;
    }
    
    .br-pro-headline {
        font-size: 2em;
    }
    
    .br-pro-subheadline {
        font-size: 1em;
    }
    
    .br-pro-benefits,
    .br-pro-process,
    .br-pro-form-section,
    .br-pro-faq,
    .br-pro-footer-cta {
        padding: 3em 1.5em;
    }
    
    .br-pro-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25em;
    }
    
    .br-pro-benefit-card {
        padding: 1.5em;
    }
    
    .br-pro-steps {
        flex-direction: column;
        gap: 2em;
        align-items: center;
    }
    
    .br-pro-step {
        max-width: 100%;
    }
    
    .br-pro-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .br-pro-section-header h2 {
        font-size: 1.5em;
    }
    
    .br-pro-faq-item {
        padding: 1.25em 1.5em;
    }
}

/* Dark mode support */
.dark .br-pro-hero,
[data-theme="dark"] .br-pro-hero {
    background: linear-gradient(180deg, #1a1917 0%, #1f1e1c 100%);
    border-color: rgba(201, 169, 98, 0.15);
}

.dark .br-pro-headline,
[data-theme="dark"] .br-pro-headline,
.dark .br-pro-section-header h2,
[data-theme="dark"] .br-pro-section-header h2,
.dark .br-pro-benefit-card h3,
[data-theme="dark"] .br-pro-benefit-card h3,
.dark .br-pro-step h3,
[data-theme="dark"] .br-pro-step h3,
.dark .br-pro-faq-item h3,
[data-theme="dark"] .br-pro-faq-item h3,
.dark .br-pro-footer-cta h2,
[data-theme="dark"] .br-pro-footer-cta h2,
.dark .br-pro-form-success h3,
[data-theme="dark"] .br-pro-form-success h3 {
    color: #f5f4f2;
}

.dark .br-pro-subheadline,
[data-theme="dark"] .br-pro-subheadline,
.dark .br-pro-section-header p,
[data-theme="dark"] .br-pro-section-header p,
.dark .br-pro-benefit-card p,
[data-theme="dark"] .br-pro-benefit-card p,
.dark .br-pro-step p,
[data-theme="dark"] .br-pro-step p,
.dark .br-pro-faq-item p,
[data-theme="dark"] .br-pro-faq-item p,
.dark .br-pro-footer-cta p,
[data-theme="dark"] .br-pro-footer-cta p,
.dark .br-pro-form-success p,
[data-theme="dark"] .br-pro-form-success p {
    color: #a8a5a0;
}

.dark .br-pro-benefits,
[data-theme="dark"] .br-pro-benefits,
.dark .br-pro-form-section,
[data-theme="dark"] .br-pro-form-section {
    background: #141312;
}

.dark .br-pro-process,
[data-theme="dark"] .br-pro-process,
.dark .br-pro-faq,
[data-theme="dark"] .br-pro-faq {
    background: linear-gradient(180deg, #1a1917 0%, #1f1e1c 100%);
}

.dark .br-pro-benefit-card,
[data-theme="dark"] .br-pro-benefit-card {
    background: #1f1e1c;
    border-color: rgba(201, 169, 98, 0.12);
}

.dark .br-pro-faq-item,
[data-theme="dark"] .br-pro-faq-item {
    background: #1f1e1c;
    border-color: rgba(255, 255, 255, 0.06);
}

.dark .br-pro-form-group input,
.dark .br-pro-form-group select,
.dark .br-pro-form-group textarea,
[data-theme="dark"] .br-pro-form-group input,
[data-theme="dark"] .br-pro-form-group select,
[data-theme="dark"] .br-pro-form-group textarea {
    background: #1f1e1c;
    border-color: rgba(255, 255, 255, 0.12);
    color: #f5f4f2;
}

.dark .br-pro-form-group label,
[data-theme="dark"] .br-pro-form-group label {
    color: #d0cec9;
}

.dark .br-pro-footer-cta,
[data-theme="dark"] .br-pro-footer-cta {
    background: linear-gradient(180deg, #141312 0%, #1a1917 100%);
    border-color: rgba(201, 169, 98, 0.1);
}

.dark .br-pro-cta-button,
.dark .br-pro-submit-button,
[data-theme="dark"] .br-pro-cta-button,
[data-theme="dark"] .br-pro-submit-button {
    background: linear-gradient(135deg, #c9a962 0%, #b8942e 100%);
}

.dark .br-pro-cta-button:hover,
.dark .br-pro-submit-button:hover,
[data-theme="dark"] .br-pro-cta-button:hover,
[data-theme="dark"] .br-pro-submit-button:hover {
    background: linear-gradient(135deg, #d4b56d 0%, #c9a338 100%);
}

.dark .br-pro-secondary-button,
[data-theme="dark"] .br-pro-secondary-button {
    color: #c9a962;
    border-color: #c9a962;
}

.dark .br-pro-secondary-button:hover,
[data-theme="dark"] .br-pro-secondary-button:hover {
    background: #c9a962;
    color: #141312;
}

/* ===========================================================================
   LIVE MARKET INTELLIGENCE SECTION
   =========================================================================== */

.br-live-intelligence {
    background: #ffffff;
    border-radius: 0;
    padding: 3em 0;
    margin: 3em 0;
    border-top: 1px solid rgba(139, 115, 85, 0.12);
    border-bottom: 1px solid rgba(139, 115, 85, 0.12);
}

.br-live-header {
    text-align: center;
    margin-bottom: 2em;
}

.br-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    padding: 0.4em 1em;
    border-radius: 50px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1em;
}

.br-live-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: br-pulse 2s infinite;
}

@keyframes br-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.br-live-subtitle {
    font-size: 1em;
    color: #666;
    margin: 0.5em 0 0 0;
}

.br-live-updated {
    font-size: 0.85em;
    color: #999;
    margin: 0.5em 0 0 0;
}

/* Live Stats Row */
.br-live-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5em;
    margin-bottom: 2.5em;
    padding: 1.5em 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(139, 115, 85, 0.08);
}

.br-live-stat {
    text-align: center;
    padding: 1em 0.5em;
}

.br-live-stat-value {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    color: #8B7355;
    line-height: 1.1;
    margin-bottom: 0.2em;
}

.br-live-stat-label {
    display: block;
    font-size: 0.8em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.br-sentiment-positive { color: #2e7d32; }
.br-sentiment-neutral { color: #666; }
.br-sentiment-negative { color: #c62828; }
.br-sentiment-analytical { color: #1565c0; }

/* Live Columns */
.br-live-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    margin-bottom: 2em;
}

.br-live-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 1em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #c9a962;
}

/* Brand Activity */
.br-live-brand-list {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.br-live-brand-item {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.75em 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(139, 115, 85, 0.08);
}

.br-live-brand-name {
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
}

.br-live-brand-mentions {
    font-size: 0.85em;
    color: #666;
}

.br-live-sentiment {
    font-size: 0.7em;
    padding: 0.25em 0.6em;
    border-radius: 12px;
    text-transform: capitalize;
}

.br-live-sentiment.positive { background: rgba(76, 175, 80, 0.1); color: #2e7d32; }
.br-live-sentiment.neutral { background: rgba(158, 158, 158, 0.1); color: #616161; }
.br-live-sentiment.negative { background: rgba(244, 67, 54, 0.1); color: #c62828; }
.br-live-sentiment.analytical { background: rgba(33, 150, 243, 0.1); color: #1565c0; }

/* Developer Rankings */
.br-live-dev-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.br-live-dev-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.75em 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(139, 115, 85, 0.08);
}

.br-live-dev-rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9a962 0%, #8B7355 100%);
    color: white;
    border-radius: 50%;
    font-size: 0.85em;
    font-weight: 700;
}

.br-live-dev-name {
    flex: 1;
    font-weight: 500;
    color: #1a1a1a;
}

.br-live-dev-count {
    background: rgba(139, 115, 85, 0.1);
    padding: 0.25em 0.75em;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    color: #8B7355;
}

/* Recent News */
.br-live-news {
    margin-bottom: 1.5em;
}

.br-live-news h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 1em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #c9a962;
}

.br-live-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}

.br-live-news-item {
    display: flex;
    gap: 1em;
    padding: 0.75em 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(139, 115, 85, 0.08);
}

.br-live-news-date {
    font-size: 0.85em;
    color: #8B7355;
    font-weight: 600;
    white-space: nowrap;
    min-width: 45px;
}

.br-live-news-content h4 {
    font-size: 0.95em;
    font-weight: 500;
    margin: 0 0 0.25em 0;
    line-height: 1.4;
}

.br-live-news-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.br-live-news-content h4 a:hover {
    color: #8B7355;
}

.br-live-news-brand {
    font-size: 0.75em;
    color: #8B7355;
    background: rgba(139, 115, 85, 0.08);
    padding: 0.2em 0.5em;
    border-radius: 4px;
}

/* Powered By Footer */
.br-live-powered {
    text-align: center;
    padding-top: 1.5em;
    border-top: 1px solid rgba(139, 115, 85, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.br-live-powered span {
    font-size: 0.75em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.br-live-powered a {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: 'Playfair Display', serif;
    font-size: 1em;
    color: #c9a962;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.br-live-powered a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .br-live-intelligence {
        padding: 1.5em;
        margin: 1.5em 0;
    }
    
    .br-live-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
        padding: 1em;
    }
    
    .br-live-stat-value {
        font-size: 1.6em;
    }
    
    .br-live-columns {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    
    .br-live-news-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode */
.dark .br-live-intelligence,
[data-theme="dark"] .br-live-intelligence {
    background: linear-gradient(180deg, #1a1917 0%, #141312 100%);
    border-color: rgba(201, 169, 98, 0.15);
}

.dark .br-live-badge,
[data-theme="dark"] .br-live-badge {
    background: rgba(76, 175, 80, 0.15);
}

.dark .br-live-subtitle,
[data-theme="dark"] .br-live-subtitle {
    color: #a0a0a0;
}

.dark .br-live-stats,
.dark .br-live-brand-item,
.dark .br-live-dev-item,
.dark .br-live-news-item,
[data-theme="dark"] .br-live-stats,
[data-theme="dark"] .br-live-brand-item,
[data-theme="dark"] .br-live-dev-item,
[data-theme="dark"] .br-live-news-item {
    background: #1f1e1c;
}

.dark .br-live-col h3,
.dark .br-live-news h3,
.dark .br-live-brand-name,
.dark .br-live-dev-name,
.dark .br-live-news-content h4 a,
[data-theme="dark"] .br-live-col h3,
[data-theme="dark"] .br-live-news h3,
[data-theme="dark"] .br-live-brand-name,
[data-theme="dark"] .br-live-dev-name,
[data-theme="dark"] .br-live-news-content h4 a {
    color: #f5f4f2;
}

.dark .br-live-news-content h4 a:hover,
[data-theme="dark"] .br-live-news-content h4 a:hover {
    color: #c9a962;
}

/* Logo Image Styles */
.br-live-logo,
.br-live-powered img,
.br-live-powered a img {
    height: 24px !important;
    width: auto !important;
    max-width: 180px !important;
    margin-right: 0.25em;
}

/* Monthly Report Footer */
.br-mr-footer {
    background: #1a1a1a;
    padding: 3em 2em;
    text-align: center;
    margin-top: 3em;
}

.br-mr-powered {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1em;
}

.br-mr-footer-logo {
    display: inline-block;
    margin-bottom: 1em;
}

.br-mr-logo-img,
.br-mr-footer img,
.br-mr-footer a img,
.br-mr-footer-logo img {
    height: 40px !important;
    width: auto !important;
    max-width: 280px !important;
}

.br-mr-footer p {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===========================================================================
   MARKET COMMUNITIES SECTION
   =========================================================================== */

.br-communities-section {
    margin-top: 2em;
}

.br-communities-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 1em;
    color: #1a1a1a;
}

.br-market-communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5em;
    margin-bottom: 1.5em;
}

.br-market-community-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.br-market-community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.br-market-community-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.br-community-status-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(26, 26, 26, 0.85);
    color: #fff;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 4px;
}

.br-market-community-info {
    padding: 1.25em;
}

.br-market-community-info h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    font-weight: 500;
    margin: 0 0 0.25em 0;
    color: #1a1a1a;
}

.br-market-community-info .br-community-brand {
    font-size: 0.85em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.br-communities-cta {
    text-align: center;
    margin: 0;
    padding-top: 0.5em;
}

.br-communities-cta a {
    font-size: 0.95em;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: color 0.2s, border-color 0.2s;
}

.br-communities-cta a:hover {
    color: #b5a17c;
    border-color: #b5a17c;
}

/* Dark mode */
.dark .br-communities-section h4,
[data-theme="dark"] .br-communities-section h4 {
    color: #f5f4f2;
}

.dark .br-market-community-card,
[data-theme="dark"] .br-market-community-card {
    background: #1f1e1c;
}

.dark .br-market-community-info h5,
[data-theme="dark"] .br-market-community-info h5 {
    color: #f5f4f2;
}

.dark .br-communities-cta a,
[data-theme="dark"] .br-communities-cta a {
    color: #f5f4f2;
    border-color: #f5f4f2;
}

/* ============================================================
   BR BRAND HUB  [br_brand_hub]
   ============================================================ */

.br-brand-hub {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Hero */
.br-brand-hub__hero {
    text-align: center;
    padding: 72px 24px 56px;
    border-bottom: 1px solid #e5e2dd;
    margin-bottom: 64px;
}
.br-brand-hub__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b5a17c;
    margin: 0 0 16px;
}
.br-brand-hub__h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 20px;
    line-height: 1.15;
}
.br-brand-hub__tagline {
    font-size: 18px;
    color: #555;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-style: italic;
}
.br-brand-hub__stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 40px;
    border: 1px solid #e5e2dd;
    border-radius: 8px;
    overflow: hidden;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.br-brand-hub__stat {
    flex: 1 1 160px;
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid #e5e2dd;
}
.br-brand-hub__stat:last-child { border-right: none; }
.br-brand-hub__stat-value {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.br-brand-hub__stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
}

/* Sections */
.br-brand-hub__section {
    margin-bottom: 72px;
}
.br-brand-hub__section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.br-brand-hub__section-sub {
    font-size: 15px;
    color: #666;
    margin: 0 0 32px;
}

/* Brand story */
.br-brand-hub__prose {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 780px;
    margin-bottom: 32px;
}
.br-brand-hub__prose p { margin: 0 0 20px; }
.br-brand-hub__amenity-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
    margin: 0 0 12px;
}
.br-brand-hub__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.br-brand-hub__tag {
    padding: 6px 14px;
    background: #f5f4f0;
    border: 1px solid #e5e2dd;
    border-radius: 20px;
    font-size: 13px;
    color: #444;
}

/* Community cards grid */
.br-brand-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.br-brand-hub__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e2dd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.br-brand-hub__card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}
.br-brand-hub__card-img-wrap {
    height: 200px;
    background: #f0ede8;
    overflow: hidden;
}
.br-brand-hub__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.br-brand-hub__card-img-placeholder {
    background: linear-gradient(135deg, #e8e4de 0%, #d8d2c8 100%);
}
.br-brand-hub__card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.br-brand-hub__card-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b5a17c;
}
.br-brand-hub__card-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}
.br-brand-hub__card-loc {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.br-brand-hub__card-tag {
    font-size: 13px;
    color: #444;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}
.br-brand-hub__card-price {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    margin-top: auto;
    padding-top: 8px;
}

.br-brand-hub__cta-row {
    text-align: center;
    margin-top: 8px;
}

/* WordPress posts — latest coverage */
.br-brand-hub__posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.br-brand-hub__post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e2dd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.br-brand-hub__post-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}
.br-brand-hub__post-img-wrap {
    height: 180px;
    background: #f0ede8;
    overflow: hidden;
}
.br-brand-hub__post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.br-brand-hub__post-img-placeholder {
    background: linear-gradient(135deg, #e8e4de 0%, #d8d2c8 100%);
}
.br-brand-hub__post-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.br-brand-hub__post-date {
    font-size: 11px;
    color: #999;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.br-brand-hub__post-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.35;
}
.br-brand-hub__post-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}
.br-brand-hub__post-read {
    font-size: 13px;
    font-weight: 600;
    color: #b5a17c;
    margin-top: auto;
}

/* Markets */
.br-brand-hub__market-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.br-brand-hub__market-chip {
    padding: 8px 18px;
    background: #f5f4f0;
    border: 1px solid #e5e2dd;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s;
}
a.br-brand-hub__market-chip:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
.br-brand-hub__market-chip--plain {
    cursor: default;
    color: #555;
}

/* FAQ */
.br-brand-hub__faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e2dd;
    border-radius: 8px;
    overflow: hidden;
    max-width: 860px;
}
.br-brand-hub__faq-item {
    padding: 28px 32px;
    border-bottom: 1px solid #e5e2dd;
}
.br-brand-hub__faq-item:last-child { border-bottom: none; }
.br-brand-hub__faq-q {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 10px;
}
.br-brand-hub__faq-a {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

/* Pro CTA */
.br-brand-hub__pro-cta {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 60px 48px;
    text-align: center;
    color: #fff;
}
.br-brand-hub__pro-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b5a17c;
    margin: 0 0 16px;
}
.br-brand-hub__pro-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 16px;
}
.br-brand-hub__pro-desc {
    font-size: 16px;
    color: #bbb;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.br-brand-hub__pro-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .br-brand-hub { padding: 0 16px 60px; }
    .br-brand-hub__hero { padding: 48px 16px 40px; }
    .br-brand-hub__stat { padding: 18px 12px; }
    .br-brand-hub__stat-value { font-size: 22px; }
    .br-brand-hub__grid,
    .br-brand-hub__posts { grid-template-columns: 1fr; }
    .br-brand-hub__pro-cta { padding: 40px 24px; }
    .br-brand-hub__faq-item { padding: 20px 20px; }
}

/* ── Brand Hub Hero Visual Mosaic ── */
.br-brand-hub__mosaic {
    display: grid;
    gap: 8px;
    margin: 0 0 64px;
    border-radius: 10px;
    overflow: hidden;
    height: 320px;
}
.br-brand-hub__mosaic--1 {
    grid-template-columns: 1fr;
}
.br-brand-hub__mosaic--2 {
    grid-template-columns: 1fr 1fr;
}
.br-brand-hub__mosaic--3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.br-brand-hub__mosaic--3 .br-brand-hub__mosaic-img-wrap:first-child {
    grid-row: 1 / 3;
}
.br-brand-hub__mosaic-img-wrap {
    overflow: hidden;
    background: #e8e4de;
}
.br-brand-hub__mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.br-brand-hub__mosaic-img-wrap:hover .br-brand-hub__mosaic-img {
    transform: scale(1.03);
}
@media (max-width: 600px) {
    .br-brand-hub__mosaic {
        height: 220px;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    .br-brand-hub__mosaic--3 .br-brand-hub__mosaic-img-wrap:first-child {
        grid-row: auto;
    }
    .br-brand-hub__mosaic-img-wrap:not(:first-child) {
        display: none;
    }
}

/* ── Brand Hub Hero — Two-Column Split Layout ── */
.br-brand-hub__hero--split {
    display: flex;
    align-items: center;
    gap: 56px;
    text-align: left;
    padding: 64px 0 64px;
    border-bottom: 1px solid #e5e2dd;
    margin-bottom: 64px;
}
.br-brand-hub__hero-content {
    flex: 1;
    min-width: 0;
}
.br-brand-hub__hero--split .br-brand-hub__tagline {
    margin-left: 0;
    margin-right: 0;
}
.br-brand-hub__hero--split .br-brand-hub__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 36px;
    margin-top: 32px;
    border: none;
    border-radius: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
}
.br-brand-hub__hero--split .br-brand-hub__stat {
    flex: 0 0 auto;
    border-right: none;
    padding: 0;
    text-align: left;
}
.br-brand-hub__hero--split .br-brand-hub__stat-value {
    font-size: 22px;
}
.br-brand-hub__hero-img-panel {
    flex: 0 0 420px;
    height: 460px;
    border-radius: 10px;
    overflow: hidden;
    background: #e8e4de;
}
.br-brand-hub__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 900px) {
    .br-brand-hub__hero--split {
        flex-direction: column-reverse;
        gap: 32px;
        text-align: center;
        padding: 40px 0 40px;
    }
    .br-brand-hub__hero--split .br-brand-hub__stats {
        justify-content: center;
    }
    .br-brand-hub__hero--split .br-brand-hub__stat {
        text-align: center;
    }
    .br-brand-hub__hero-img-panel {
        flex: none;
        width: 100%;
        height: 260px;
        border-radius: 8px;
    }
}

/* ── Brand Hub Cinematic Image Banner (replaces split hero) ── */
.br-brand-hub__banner {
    width: 100%;
    height: 420px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 64px;
    background: #e8e4de;
}
.br-brand-hub__banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}
@media (max-width: 768px) {
    .br-brand-hub__banner {
        height: 240px;
        border-radius: 6px;
        margin-bottom: 48px;
    }
}

/* Reset split hero styles (no longer used) */
.br-brand-hub__hero--split,
.br-brand-hub__hero-content,
.br-brand-hub__hero-img-panel,
.br-brand-hub__hero-img { all: unset; }

/* ── For Sale Page — Browse by Brand section ── */
.br-for-sale-brands {
    background: #f5f4f0;
    padding: 64px 40px;
    text-align: center;
}
.br-for-sale-brands-inner {
    max-width: 900px;
    margin: 0 auto;
}
.br-for-sale-brands-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.br-for-sale-brands-sub {
    font-size: 15px;
    color: #666;
    margin: 0 0 36px;
}
.br-for-sale-brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.br-for-sale-brand-chip {
    display: inline-block;
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #e5e2dd;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.br-for-sale-brand-chip:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
@media (max-width: 768px) {
    .br-for-sale-brands { padding: 48px 20px; }
}

/* ── Market Deep-Dive — Linked brand tags/pills ── */
a.br-brand-tag--linked,
a.br-brand-pill--linked {
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
a.br-brand-tag--linked {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f4f0;
    border: 1px solid #e5e2dd;
    border-radius: 20px;
    font-size: 13px;
    color: #1a1a1a;
}
a.br-brand-tag--linked:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
a.br-brand-pill--linked:hover {
    opacity: 0.8;
    text-decoration: underline;
}
