/**
 * Quarterly Market Report Styles
 * Professional, data-driven design for market analysis content
 * Brand Colors: #1b2642 (Navy Blue), #4A90E2 (Blue Accent), #7E8492 (Gray), #0056A5 (Dark Blue Accent)
 */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

/* Hide scroll-up bar and banners on this page, but keep the main header */
.page-template-quarterly-market-report .check-eligibility-bar,
.page-template-quarterly-market-report .eligibility-bar,
.page-template-quarterly-market-report #eligibility-banner,
.page-template-quarterly-market-report #scroll-up-bar {
    display: none !important;
}

/* Make header navy blue on this page */
.page-template-quarterly-market-report .header-main {
    background: #1b2642 !important;
}

.page-template-quarterly-market-report .header-main *,
.page-template-quarterly-market-report .header-main a,
.page-template-quarterly-market-report .header-main a:hover,
.page-template-quarterly-market-report .header-main a:visited,
.page-template-quarterly-market-report .header-main button,
.page-template-quarterly-market-report .header-main .menu-item a,
.page-template-quarterly-market-report .header-main .menu-item a:hover {
    color: white !important;
    background: transparent !important;
}

.page-template-quarterly-market-report #header {
    background: #1b2642 !important;
}

.page-template-quarterly-market-report .header-mains {
    background: #1b2642 !important;
}

.market-report-wrapper {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: #1b2642;
    line-height: 1.6;
    background: #F6F6F6;
    overflow-x: hidden; /* Prevent full-page overflow from wide content (YouTube, etc.) */
}

.market-report-wrapper * {
    box-sizing: border-box;
}

/* ========================================
   HERO SECTION
   ======================================== */

.market-report-hero {
    background: #1b2642;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.market-report-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.report-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.report-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: white !important;
}

.report-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin: 0 0 30px 0;
    opacity: 0.95;
}

.report-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.download-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #1b2642;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

.download-pdf-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.download-pdf-btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   LAYOUT CONTAINER
   ======================================== */

.report-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 40px 20px;
}

/* ========================================
   TABLE OF CONTENTS
   ======================================== */

.report-toc {
    position: relative;
}

.toc-sticky {
    position: sticky;
    top: 20px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.toc-sticky h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #1b2642;
    border-bottom: 2px solid #e8eef5;
    padding-bottom: 12px;
}

.toc-sticky nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-link {
    display: block;
    padding: 10px 12px;
    color: #5a6c7d;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.toc-link:hover {
    background: #f0f4f8;
    color: #1b2642;
    transform: translateX(4px);
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.report-content {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.report-section {
    margin-bottom: 80px;
}

.report-section:last-child {
    margin-bottom: 0;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1b2642;
}

.section-number {
    font-size: 32px;
    font-weight: 700;
    color: #1b2642;
    line-height: 1;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #1b2642;
}

.section-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 30px;
}

.subsection {
    margin: 40px 0;
}

.subsection h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 20px 0;
}

.subsection h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin: 30px 0 15px 0;
}

.subsection h5 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 20px 0 10px 0;
}

.subsection p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 15px;
}

/* ========================================
   EXECUTIVE SUMMARY STYLES
   ======================================== */

.executive-intro {
    background: #f7fafc;
    border-left: 4px solid #1b2642;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 400;
}

.key-takeaways {
    margin: 40px 0;
}

.key-takeaways h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2d3748;
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.takeaway-card {
    background: #1b2642;
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(27, 38, 66, 0.3);
}

.takeaway-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.takeaway-icon svg,
.callout-icon svg,
.property-icon svg,
.trend-icon svg,
.watch-icon svg,
.method-icon svg,
.case-study-avatar svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

.value-card h4 svg {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 8px;
}

.takeaway-stat {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.takeaway-label {
    font-size: 14px;
    opacity: 0.95;
    display: block;
    margin-bottom: 10px;
}

.takeaway-change {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
}

.takeaway-change.positive {
    background: rgba(72, 187, 120, 0.3);
}

.takeaway-change.negative {
    background: rgba(245, 101, 101, 0.3);
}

.takeaway-change.neutral {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   CHARTS & DATA VISUALIZATIONS
   ======================================== */

.chart-container {
    margin: 40px 0;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.chart-container h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #2d3748;
    text-align: center;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    position: relative;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    margin-right: 15px;
    font-size: 12px;
    color: #718096;
}

.chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    height: 300px;
    gap: 4px;
}

.bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bar {
    width: 100%;
    background: #1b2642;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
    min-height: 5%;
}

.bar:hover {
    background: #0056A5;
    transform: translateY(-5px);
}

.bar.highlight {
    background: #4A90E2;
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #4a5568;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bar:hover::after {
    opacity: 1;
}

.bar-label {
    font-size: 10px;
    color: #718096;
    margin-top: 8px;
    white-space: nowrap;
    transform: rotate(-45deg);
    transform-origin: center;
}

.chart-note {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin-top: 15px;
    text-align: center;
}

/* Line Chart */
.line-chart {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.chart-svg {
    width: 100%;
    height: auto;
}

.chart-label {
    font-size: 12px;
    fill: #718096;
}

/* ========================================
   STAT HIGHLIGHTS & CALLOUTS
   ======================================== */

.stat-highlight-box {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.stat-label {
    font-size: 16px;
    color: #4a5568;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1b2642;
}

.stat-value.positive {
    color: #38a169;
}

.stat-value.negative {
    color: #e53e3e;
}

.appreciation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.region-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.region-card:hover {
    border-color: #1b2642;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.region-card h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #2d3748;
}

.region-stat {
    font-size: 36px;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 10px;
}

.region-card p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

.inflation-callout {
    display: flex;
    gap: 20px;
    background: #fff5f5;
    border: 2px solid #feb2b2;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.callout-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.callout-content h4 {
    margin: 0 0 10px 0;
    color: #c53030;
    font-size: 18px;
}

.callout-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   HECM PROGRAM STYLES
   ======================================== */

.hecm-stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 30px;
    background: #1b2642;
    border-radius: 12px;
    color: white;
}

.hecm-stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-description {
    display: block;
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 5px;
}

.stat-change {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

/* PLF Table */
.plf-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.plf-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.plf-table thead {
    background: #1b2642;
    color: white;
}

.plf-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.plf-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
}

.plf-table tbody tr:hover {
    background: #f7fafc;
}

.plf-table tbody tr.highlight-row {
    background: #fffaf0;
    font-weight: 600;
}

.table-note {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin-top: 10px;
}

/* Product Distribution */
.product-distribution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
    align-items: center;
}

.pie-chart-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.pie-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #3498db 0deg 245deg,
        #27ae60 245deg 313deg,
        #f39c12 313deg 345deg,
        #9b59b6 345deg 360deg
    );
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-label {
    font-size: 15px;
    color: #4a5568;
}

.distribution-insights h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #2d3748;
}

.distribution-insights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.distribution-insights li {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
}

.distribution-insights strong {
    color: #1b2642;
}

/* SRM Pricing Sidebar */
.srm-pricing-sidebar {
    background: #e3f2fd;
    color: #1b2642;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    border: 2px solid #4A90E2;
}

.sidebar-header h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #1b2642;
}

.srm-pricing-sidebar p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #1b2642;
}

.advantage-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.advantage-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #bbdefb;
}

.advantage-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #4A90E2;
}

.advantage-label {
    display: block;
    font-size: 13px;
    color: #1b2642;
}

/* ========================================
   PROPRIETARY/JUMBO STYLES
   ======================================== */

.jumbo-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.jumbo-stat-card {
    background: #1b2642;
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.jumbo-stat-card h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: white;
    opacity: 0.95;
}

.jumbo-amount {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.jumbo-stat-card p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Regional Heatmap */
.regional-heatmap,
.geo-heatmap {
    margin: 30px 0;
}

.heatmap-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.state-item {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.state-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.state-name {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.state-percentage {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.heat-high {
    background: #e53e3e;
}

.heat-medium {
    background: #f6ad55;
}

.heat-low {
    background: #0056A5;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: #2d3748;
    color: white;
}

.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
}

.comparison-table .hecm-row {
    background: #e6fffa;
}

.comparison-table .proprietary-row {
    background: #fef5e7;
}

/* Property Types Grid */
.property-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.property-type-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.property-type-card:hover {
    border-color: #1e3c72;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.property-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.property-type-card h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #2d3748;
}

.property-type-card p {
    margin: 0;
    font-size: 14px;
    color: #718096;
}

/* ========================================
   BORROWER DEMOGRAPHICS STYLES
   ======================================== */

.demographics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.demo-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.demo-card:hover {
    border-color: #1b2642;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.demo-card h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #718096;
}

.demo-stat {
    font-size: 42px;
    font-weight: 700;
    color: #1b2642;
    margin-bottom: 10px;
}

.demo-trend {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    background: #e3f2fd;
    color: #4A90E2;
    margin-bottom: 12px;
}

.demo-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

/* Purpose Chart */
.purpose-chart {
    margin: 30px 0;
}

.purpose-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.purpose-item {
    width: 100%;
}

.purpose-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.purpose-label {
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
}

.purpose-percentage {
    font-size: 18px;
    font-weight: 700;
    color: #1b2642;
}

.purpose-bar {
    width: 100%;
    height: 40px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.purpose-fill {
    height: 100%;
    background: #1b2642;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: width 1s ease;
}

.insights-box {
    background: #f0f4f8;
    border-left: 4px solid #1b2642;
    padding: 20px 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.insights-box h5 {
    margin: 0 0 10px 0;
    color: #1b2642;
    font-size: 16px;
}

.insights-box p {
    margin: 0;
    line-height: 1.7;
}

/* Geographic Distribution */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.state-card {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.state-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.state-abbr {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.state-full {
    font-size: 13px;
    opacity: 0.95;
    margin-bottom: 10px;
    display: block;
}

.state-count {
    font-size: 18px;
    font-weight: 600;
}

.heat-very-high {
    background: #c53030;
}

.heatmap-note {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin-top: 15px;
}

/* Segmentation Grid */
.segmentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.segment-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.segment-card:hover {
    border-color: #1b2642;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.segment-card h5 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #1b2642;
}

.segment-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 6px;
}

.segment-stats span {
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

.segment-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
}

/* ========================================
   SENTIMENT ANALYSIS STYLES
   ======================================== */

.trends-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.trend-item {
    display: flex;
    gap: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.trend-item:hover {
    border-color: #1b2642;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trend-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.trend-content h5 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #2d3748;
}

.trend-content p {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #4a5568;
}

.trend-content strong {
    color: #4A90E2;
    font-weight: 700;
}

.trend-insight {
    display: block;
    font-size: 13px;
    color: #718096;
    font-style: italic;
}

/* Survey Results */
.survey-results {
    margin: 30px 0;
}

.survey-stat-row {
    margin-bottom: 30px;
}

.survey-question {
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 10px;
}

.survey-bar-container {
    display: flex;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.survey-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.survey-bar:hover {
    filter: brightness(1.1);
}

.survey-bar.agree {
    background: #4A90E2;
}

.survey-bar.neutral {
    background: #718096;
}

.survey-bar.disagree {
    background: #e53e3e;
}

.survey-insight-box {
    background: #fffaf0;
    border: 2px solid #f6ad55;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.survey-insight-box h5 {
    margin: 0 0 12px 0;
    color: #c05621;
    font-size: 18px;
}

.survey-insight-box p {
    margin: 0;
    line-height: 1.7;
}

/* Media Tone */
.media-tone-chart {
    margin: 30px 0;
}

.tone-breakdown {
    display: flex;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tone-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tone-segment:hover {
    filter: brightness(1.1);
}

.tone-segment.positive {
    background: #4A90E2;
}

.tone-segment.neutral {
    background: #718096;
}

.tone-segment.negative {
    background: #e53e3e;
}

.tone-label {
    font-size: 14px;
}

.tone-pct {
    font-size: 20px;
    font-weight: 700;
}

.tone-analysis {
    margin-top: 30px;
}

.tone-keywords {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tone-keywords h6 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #2d3748;
}

.keyword {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.keywords-positive .keyword {
    background: #c6f6d5;
    color: #22543d;
}

.keywords-negative .keyword {
    background: #fed7d7;
    color: #742a2a;
}

.media-conclusion {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
}

/* ========================================
   POLICY & REGULATORY STYLES
   ======================================== */

.policy-timeline {
    position: relative;
    padding-left: 40px;
    margin: 30px 0;
}

.policy-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1b2642;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e2e8f0;
}

.timeline-date {
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    margin-bottom: 8px;
}

.timeline-content {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}

.timeline-content h5 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #2d3748;
}

.timeline-content p {
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.impact-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.impact-badge.positive {
    background: #c6f6d5;
    color: #22543d;
}

.impact-badge.neutral {
    background: #e2e8f0;
    color: #2d3748;
}

.impact-badge.negative {
    background: #fed7d7;
    color: #742a2a;
}

/* Proposals Grid */
.proposals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.proposal-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.proposal-card:hover {
    border-color: #1b2642;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.proposal-header {
    margin-bottom: 15px;
}

.proposal-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.proposal-status.pending {
    background: #fef5e7;
    color: #c05621;
}

.proposal-status.proposed {
    background: #e6fffa;
    color: #2c7a7b;
}

.proposal-status.discussion {
    background: #e2e8f0;
    color: #2d3748;
}

.proposal-header h5 {
    margin: 0;
    font-size: 18px;
    color: #2d3748;
}

.proposal-card p {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.proposal-timeline {
    font-size: 13px;
    color: #718096;
    font-style: italic;
}

/* Conference Highlights */
.conference-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.highlight-item {
    background: #f7fafc;
    border-left: 4px solid #1b2642;
    padding: 25px;
    border-radius: 8px;
}

.highlight-item h5 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #1b2642;
}

.highlight-item p {
    margin: 0;
    line-height: 1.7;
}

/* Watch List */
.watch-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.watch-item {
    display: flex;
    gap: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.watch-item:hover {
    border-color: #1b2642;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.watch-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.watch-content h5 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #2d3748;
}

.watch-content p {
    margin: 0;
    line-height: 1.7;
}

/* ========================================
   MARKET FORECAST STYLES
   ======================================== */

.forecast-summary {
    margin: 40px 0;
}

.forecast-summary h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
}

.projection-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.projection-card {
    background: #1b2642;
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.projection-card h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: white;
    opacity: 0.95;
}

.projection-range {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.range-low,
.range-high,
.range-amount,
.range-pct {
    display: inline-block;
}

.range-separator {
    opacity: 0.6;
}

.projection-note {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

/* Rate Forecast Table */
.rate-forecast-table {
    overflow-x: auto;
    margin: 30px 0;
}

.rate-forecast-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rate-forecast-table thead {
    background: #2d3748;
    color: white;
}

.rate-forecast-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.rate-forecast-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
}

.rate-forecast-table .current-row {
    background: #fffaf0;
    font-weight: 600;
}

.forecast-note {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin-top: 15px;
}

/* Tailwinds Grid */
.tailwinds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tailwind-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.tailwind-card:hover {
    border-color: #4A90E2;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.15);
}

.tailwind-stat {
    font-size: 42px;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 15px;
}

.tailwind-card h5 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #2d3748;
}

.tailwind-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
}

/* Forecast Chart */
.forecast-chart-container {
    margin: 40px 0;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

.forecast-chart {
    max-width: 900px;
    margin: 0 auto;
}

.forecast-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 400px;
    gap: 20px;
}

.forecast-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forecast-bar {
    width: 100%;
    max-width: 100px;
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.5s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15px;
}

.forecast-bar.actual {
    background: #0056A5;
}

.forecast-bar.projected {
    background: #1b2642;
}

.forecast-bar:hover {
    filter: brightness(1.1);
    transform: translateY(-5px);
}

.forecast-value {
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.forecast-year {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-top: 12px;
}

.forecast-type {
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
}

.forecast-assumptions {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin-top: 25px;
    line-height: 1.7;
    text-align: center;
}

/* ========================================
   HUMAN STORIES / CASE STUDIES
   ======================================== */

.case-studies {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 30px 0;
}

.case-study {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-study:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #1b2642;
}

.case-study-header {
    background: #f7fafc;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.case-study-avatar {
    font-size: 56px;
    flex-shrink: 0;
}

.case-study-title h4 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #1b2642;
}

.case-meta {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

.case-study-content {
    padding: 30px;
}

.case-scenario,
.case-solution,
.case-results {
    margin-bottom: 30px;
}

.case-scenario h5,
.case-solution h5,
.case-results h5 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #2d3748;
    font-weight: 600;
}

.case-scenario p,
.case-solution p {
    margin: 0;
    line-height: 1.7;
    color: #4a5568;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.result-item {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.result-stat {
    font-size: 32px;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 8px;
}

.result-label {
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
}

.case-quote {
    background: #fffaf0;
    border-left: 4px solid #f6ad55;
    padding: 20px 25px;
    margin: 20px 0 0 0;
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    color: #2d3748;
}

.case-quote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 600;
    color: #c05621;
    font-size: 14px;
}

.stories-conclusion {
    background: #f0f4f8;
    border-left: 4px solid #1b2642;
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.stories-conclusion p {
    margin: 0;
    line-height: 1.8;
    font-size: 16px;
}

/* ========================================
   METHODOLOGY STYLES
   ======================================== */

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.method-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.method-card:hover {
    border-color: #1b2642;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.method-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.method-card h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #2d3748;
}

.method-card p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
}

.method-link {
    display: inline-block;
    color: #1b2642;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.method-link:hover {
    color: #0056A5;
    transform: translateX(3px);
}

.method-proprietary,
.method-note {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: #e6fffa;
    color: #2c7a7b;
}

.methodology-notes {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
}

.methodology-notes h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #2d3748;
}

.methodology-notes ul {
    margin: 0;
    padding-left: 25px;
}

.methodology-notes li {
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 10px;
}

.citation-box {
    background: #fffaf0;
    border: 2px solid #f6ad55;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.citation-box h5 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #c05621;
}

.citation-box p {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.7;
    color: #2d3748;
}

/* ========================================
   ABOUT SECTION STYLES
   ======================================== */

.about-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px;
}

.about-intro {
    margin-bottom: 40px;
}

.about-lead {
    font-size: 20px;
    line-height: 1.8;
    color: #2d3748;
    font-weight: 400;
}

.about-stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 40px;
    background: #1b2642;
    border-radius: 12px;
    color: white;
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.95;
}

.about-credentials {
    margin: 40px 0;
}

.about-credentials h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid #bbdefb;
    padding: 15px 20px;
    border-radius: 8px;
}

.badge-icon {
    font-size: 24px;
    color: #4A90E2;
    font-weight: 700;
}

.badge-text {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

.about-mission {
    margin: 40px 0;
}

.about-mission h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.about-mission p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.value-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #1b2642;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.value-card h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #2d3748;
}

.value-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
}

.about-cta {
    background: #1b2642;
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.about-cta h3 {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.about-cta > p {
    margin: 0 0 30px 0;
    font-size: 16px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #1b2642;
}

.btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cta-contact {
    margin-top: 20px;
}

.cta-contact p {
    margin: 8px 0;
    font-size: 14px;
}

.cta-contact a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.cta-contact a:hover {
    text-decoration: underline;
}

/* ========================================
   REPORT FOOTER
   ======================================== */

.report-footer {
    background: #2d3748;
    color: #a0aec0;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-disclaimer {
    margin-bottom: 30px;
}

.footer-disclaimer h4 {
    color: white;
    font-size: 18px;
    margin: 0 0 15px 0;
}

.footer-disclaimer p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.footer-meta {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4a5568;
}

.footer-meta p {
    margin: 8px 0;
    font-size: 13px;
}

.footer-meta a {
    color: #63b3ed;
    text-decoration: none;
}

.footer-meta a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .report-container {
        grid-template-columns: 1fr;
    }
    
    .report-toc {
        display: none;
    }
}

@media (max-width: 768px) {
    .report-title {
        font-size: 32px;
    }
    
    .report-subtitle {
        font-size: 16px;
    }
    
    .report-content {
        padding: 30px 20px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-number {
        font-size: 24px;
    }
    
    .takeaways-grid {
        grid-template-columns: 1fr;
    }
    
    .product-distribution {
        grid-template-columns: 1fr;
    }
    
    .tone-keywords {
        grid-template-columns: 1fr;
    }
    
    .case-study-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .market-report-hero {
        padding: 40px 15px;
    }
    
    .report-title {
        font-size: 24px;
    }
    
    .report-content {
        padding: 20px 15px;
    }
    
    .about-section {
        padding: 30px 20px;
    }
    
    .chart-bars {
        gap: 2px;
    }
    
    .bar-label {
        font-size: 8px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    /* Hide non-essential elements */
    .download-pdf-btn,
    .report-toc,
    .about-cta .cta-buttons,
    .market-report-hero::before {
        display: none !important;
    }
    
    /* Optimize hero for print */
    .market-report-hero {
        padding: 40px 20px;
        background: #1b2642 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    /* Layout adjustments */
    .report-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 20px;
    }
    
    .report-content {
        box-shadow: none;
        padding: 20px;
    }
    
    /* Page breaks */
    .report-section {
        page-break-inside: avoid;
        margin-bottom: 40px;
    }
    
    .section-header {
        page-break-after: avoid;
    }
    
    .subsection {
        page-break-inside: avoid;
    }
    
    /* Ensure colors print correctly */
    .takeaway-card,
    .hecm-stats-banner,
    .jumbo-stat-card,
    .projection-card,
    .about-stats-banner,
    .market-report-hero,
    .bar,
    .purpose-fill {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    /* Optimize charts for print */
    .bar-chart,
    .forecast-chart {
        page-break-inside: avoid;
    }
    
    /* Reduce excessive spacing */
    .chart-container {
        margin: 20px 0;
        padding: 15px;
    }
    
    /* Case studies */
    .case-study {
        page-break-inside: avoid;
        margin-bottom: 30px;
    }
    
    /* Tables */
    .plf-table,
    .comparison-table,
    .rate-forecast-table table {
        page-break-inside: avoid;
        font-size: 11px;
    }
    
    /* Footer */
    .report-footer {
        page-break-before: always;
    }
    
    /* Links */
    a {
        text-decoration: none;
        color: #1b2642;
    }
    
    a[href]::after {
        content: "";
    }
    
    /* Background colors for readability */
    .executive-intro,
    .insights-box,
    .highlight-item,
    .stories-conclusion {
        border: 1px solid #e2e8f0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

