/**
 * Broker Detail Page Styles
 * 经纪商详情页排版样式（从 style.css 提取）
 *
 * 已注册：functions.php → dzypjy_enqueue_scripts()
 */

/* ========================================
   BROKER DETAIL PAGE STYLES
   ======================================== */

/* Breadcrumb Navigation - Improved Visibility */
.broker-detail-page nav[aria-label="Breadcrumb"] {
    color: #64748b;
}

.broker-detail-page nav[aria-label="Breadcrumb"] a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.broker-detail-page nav[aria-label="Breadcrumb"] a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.broker-detail-page nav[aria-label="Breadcrumb"] li[aria-hidden="true"] {
    color: #94a3b8;
}

.broker-detail-page nav[aria-label="Breadcrumb"] li[aria-current="page"] {
    color: #1e293b;
    font-weight: 600;
}

/* Visit Official Site Button - Improved Visibility */
.broker-detail-page .bg-primary {
    background: #2563eb !important;
}

.broker-detail-page .bg-primary:hover {
    background: #1d4ed8 !important;
}

/* Tab Navigation - Improved Visibility */
.broker-detail-page .tab-trigger {
    color: #475569;
    font-weight: 500;
}

.broker-detail-page .tab-trigger.active {
    color: #2563eb;
    border-color: #2563eb;
}

.broker-detail-page .tab-trigger:hover:not(.active) {
    color: #1e293b;
    background: #f1f5f9;
}

/* Tab Content Headers */
.broker-detail-page h2,
.broker-detail-page h3 {
    color: #1e293b;
}

.broker-detail-page .text-muted-foreground {
    color: #64748b !important;
}

/* Breadcrumb - Hide meta tags */
.broker-detail-page nav[aria-label="Breadcrumb"] meta {
    display: none !important;
}

.broker-detail-page nav[aria-label="Breadcrumb"] li.hidden {
    display: none !important;
}

.broker-detail-page nav[aria-label="Breadcrumb"] ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Quick stat tiles — equal height, aligned labels */
.broker-detail-page .broker-stat-grid {
    align-items: stretch;
}

.broker-detail-page .broker-stat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 4.25rem;
}

/* Tailwind Typography–style blocks (class "prose" used in template but not from @tailwindcss/typography) */
.broker-detail-page .prose {
    max-width: none;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #64748b;
}

.broker-detail-page .prose p {
    margin-top: 0.65em;
    margin-bottom: 0.65em;
}

.broker-detail-page .prose p:first-child {
    margin-top: 0;
}

.broker-detail-page .prose p:last-child {
    margin-bottom: 0;
}

.broker-detail-page .prose ul,
.broker-detail-page .prose ol {
    margin: 0.65em 0;
    padding-left: 1.35rem;
}

.broker-detail-page .prose ul {
    list-style-type: disc;
}

.broker-detail-page .prose ol {
    list-style-type: decimal;
}

.broker-detail-page .prose li {
    margin: 0.35em 0;
    padding-left: 0.2em;
}

.broker-detail-page .prose li > p {
    margin: 0.25em 0;
}

.broker-detail-page .prose h2,
.broker-detail-page .prose h3,
.broker-detail-page .prose h4 {
    margin-top: 1.15em;
    margin-bottom: 0.45em;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.35;
}

.broker-detail-page .prose h2:first-child,
.broker-detail-page .prose h3:first-child {
    margin-top: 0;
}

.broker-detail-page .prose a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.broker-detail-page .prose a:hover {
    color: #1d4ed8;
}

.broker-detail-page .broker-content-block + .broker-content-block {
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}
