/* Modern Research Article Styles */
:root {
    /* Modern Color Palette */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #4b5563;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --text: #1f2937;
    --text-light: #4b5563;
    --text-lighter: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --highlight: rgba(37, 99, 235, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 65ch;
    --header-height: 4rem;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary: #9ca3af;
    --accent: #60a5fa;
    --accent-hover: #3b82f6;
    --text: #f3f4f6;
    --text-light: #d1d5db;
    --text-lighter: #9ca3af;
    --border: #374151;
    --bg: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #1a1f2e;
    --highlight: rgba(59, 130, 246, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Base Styles */
.report-page {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.05rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    color: var(--text);
    letter-spacing: -0.01em;
}

h1 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 1em;
    margin-bottom: 1em;
    color: var(--text);
}

h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid var(--border);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 2.5em;
    height: 2px;
    background: var(--accent);
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--text);
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
    color: var(--text);
    opacity: 0.95;
}

p {
    margin-top: 0.7em;
    margin-bottom: 0.7em;
    line-height: 1.65;
    max-width: var(--max-width);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent);
}

/* Main Content Layout */
.report-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.report-main {
    max-width: 65ch;
    margin: 0 auto;
    width: 100%;
}

/* Sidebar */
.report-sidebar {
    order: -1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget h3 i {
    color: var(--accent);
}

/* Table of Contents */
.toc {
    position: relative;
}

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

.toc li {
    margin: 0.5rem 0;
    padding: 0;
    position: relative;
    padding-left: 1.25rem;
}

.toc a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    position: relative;
    line-height: 1.4;
}

.toc a:hover,
.toc a:focus {
    color: var(--accent);
    background: var(--highlight);
    transform: translateX(4px);
}

.toc a.active {
    color: var(--accent);
    font-weight: 600;
    background: var(--highlight);
    border-left: 3px solid var(--accent);
    padding-left: 0.75rem;
}

/* Author Info */
.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--text);
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.author-bio {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-icon:hover {
    background: var(--highlight);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (min-width: 1024px) {
    .report-sidebar {
        order: 1;
        position: sticky;
        top: 2rem;
        align-self: flex-start;
    }
    
    .report-content {
        grid-template-columns: 1fr 300px;
    }
    
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .btn {
        flex: 1 0 auto;
    }
}

/* Article Header */
.report-header {
    padding: 1.5rem 0;
    margin: 0 0 1.5rem;
    position: relative;
    text-align: left;
}

.report-header h1 {
    font-size: 1.75rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.report-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
    font-weight: 400;
}

.report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0 0 0;
}

.report-tags .tag {
    background: var(--bg-secondary);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.report-actions .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.social-share {
    display: flex;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.social-share .btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-share .btn-icon:hover {
    background: var(--bg-tertiary);
    color: var(--text);
}

@media (min-width: 768px) {
    .report-header h1 {
        font-size: 2rem;
    }
    
    .report-subtitle {
        font-size: 1.15rem;
    }
}

.report-rating {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.report-rating::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
}

.report-rating.buy {
    background-color: var(--success);
}

.report-rating.hold {
    background-color: var(--warning);
    color: var(--text);
}

.report-rating.sell {
    background-color: var(--danger);
}

.report-price {
    margin-left: auto;
    font-size: 1.2rem;
    font-weight: 700;
}

.price-change {
    margin-left: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-change.positive {
    color: #2ecc71;
}

.price-change.negative {
    color: #e74c3c;
}

.report-header h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    font-weight: 800;
    color: white;
    max-width: 42rem;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.report-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 0 2rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .report-header h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .report-subtitle {
        font-size: 1.375rem;
    }
}

.report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 1.5rem;
    justify-content: center;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-light);
    padding: 0.2rem 0.7rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
    line-height: 1.4;
}

/* Article Content */
.report-section {
    margin-bottom: 1.2rem;
    scroll-margin-top: 1.2rem;
}

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

.report-section h2 {
    color: var(--text);
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.4em;
    line-height: 1.2;
    scroll-margin-top: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.report-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 2.5em;
    height: 2px;
    background: var(--accent);
}

.report-section h3 {
    color: var(--text);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.25;
    position: relative;
    padding-left: 0;
    border-left: none;
}

.report-section h4 {
    color: var(--text);
    margin-top: 1.3em;
    margin-bottom: 0.5em;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.95;
}

.report-section p {
    margin-bottom: 0.7em;
    line-height: 1.65;
    color: var(--text);
    font-size: 1rem;
}

/* Lists */
.report-section ul,
.report-section ol {
    margin: 0.7em 0;
    padding-left: 1.2em;
    line-height: 1.65;
}

.report-section li {
    margin-bottom: 0.3em;
    position: relative;
    padding-left: 1em;
}

.report-section ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--accent);
}

/* Blockquotes */
.report-section blockquote {
    margin: 0.7em 0;
    padding: 0.8em 1em;
    border-left: 3px solid var(--accent);
    background-color: var(--highlight);
    border-radius: 0 var(--radius) var(--radius) 0;
    position: relative;
    font-style: italic;
    font-size: 0.98em;
}

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

/* Code blocks */
.report-section pre {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 0.8em 1em;
    overflow-x: auto;
    margin: 0.7em 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.93em;
    line-height: 1.5;
    border: 1px solid var(--border);
}

.report-section code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.93em;
    background-color: var(--bg-secondary);
    padding: 0.15em 0.3em;
    border-radius: 2px;
    border: 1px solid var(--border);
}

/* Tables */
.report-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.7em 0;
    font-size: 0.96em;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    overflow: hidden;
}

.report-section th,
.report-section td {
    padding: 0.45rem 0.7rem;
    text-align: left;
    border: 1px solid var(--border);
}

.report-section th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text);
}

.report-section tbody tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* Images */
.report-section img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 0.7em 0;
    display: block;
    box-shadow: var(--shadow);
}

.report-section figure {
    margin: 1em 0;
    text-align: center;
}

.report-section figcaption {
    margin-top: 0.5em;
    font-size: 0.88em;
    color: var(--text-light);
    font-style: italic;
}

/* Key Metrics */
.key-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.metric {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.metric-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.metric-change {
    font-size: 0.9rem;
    font-weight: 600;
}

.metric-change.positive {
    color: var(--success);
}

.metric-change.negative {
    color: var(--danger);
}

/* Financial Tables */
.financial-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.financial-table th,
.financial-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.financial-table th {
    background-color: var(--bg-secondary);
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.financial-table tbody tr:last-child td {
    border-bottom: none;
}

.financial-table tbody tr:hover {
    background-color: var(--bg-secondary);
}

.positive {
    color: var(--success);
    font-weight: 600;
}

.negative {
    color: var(--danger);
    font-weight: 600;
}

/* Charts */
.chart-container {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.chart-placeholder {
    color: var(--text-light);
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: var(--accent);
    opacity: 0.7;
}

/* Valuation Table */
.valuation-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.valuation-table th,
.valuation-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.valuation-table th {
    background-color: var(--bg-secondary);
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.valuation-table tbody tr:last-child td {
    border-bottom: none;
}

.valuation-table tbody tr:hover {
    background-color: var(--bg-secondary);
}

.valuation-table .total {
    font-weight: 700;
    background-color: rgba(52, 152, 219, 0.1);
}

.valuation-table .total.final {
    background-color: rgba(52, 152, 219, 0.2);
    font-size: 1.1rem;
}

/* Risks */
.risks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.risk-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.risk-card.high {
    border-left-color: var(--danger);
}

.risk-card.medium {
    border-left-color: var(--warning);
}

.risk-card.low {
    border-left-color: var(--success);
}

.risk-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.risk-level {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.risk-card.high .risk-level {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.risk-card.medium .risk-level {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--warning);
}

.risk-card.low .risk-level {
    background-color: rgba(39, 174, 96, 0.2);
    color: var(--success);
}

.risk-probability {
    color: var(--text-light);
    font-size: 0.8rem;
}

.risk-card h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.risk-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Recommendation */
.recommendation {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 30px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.recommendation h2 {
    color: var(--text);
    margin-top: 0;
    margin-bottom: 20px;
}

.recommendation-card {
    background-color: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.recommendation-card.buy {
    border-top: 4px solid var(--success);
}

.recommendation-card.hold {
    border-top: 4px solid var(--warning);
}

.recommendation-card.sell {
    border-top: 4px solid var(--danger);
}

.recommendation-header {
    padding: 20px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.recommendation-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.rating {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.recommendation-card.buy .rating {
    color: var(--success);
}

.recommendation-card.hold .rating {
    color: var(--warning);
}

.recommendation-card.sell .rating {
    color: var(--danger);
}

.price-target {
    font-size: 1.5rem;
    font-weight: 700;
}

.upside {
    background-color: rgba(39, 174, 96, 0.2);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.recommendation-card.sell .upside {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.recommendation-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.9rem;
}

.recommendation-body {
    padding: 25px;
}

.recommendation-body p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.recommendation-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.recommendation-body li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Sidebar */
.report-sidebar {
    position: sticky;
    top: 20px;
}

.analyst-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.analyst-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.analyst-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--accent);
}

.analyst-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analyst-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.analyst-title {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.analyst-contacts {
    display: flex;
    gap: 10px;
}

.analyst-contacts a {
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.analyst-contacts a:hover {
    color: var(--accent);
}

.analyst-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Related Reports */
.related-reports {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.related-reports h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.related-report {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

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

.related-report h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.related-report a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.related-report a:hover {
    color: var(--accent);
}

.related-report p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Download Card */
.download-card {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.download-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.download-card p {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Subscribe Card */
.subscribe-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.subscribe-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text);
}

.subscribe-card p {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.subscribe-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    margin-bottom: 15px;
    background-color: var(--bg);
    color: var(--text);
    transition: var(--transition);
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #2c3e50;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .report-layout {
        grid-template-columns: 1fr;
    }
    
    .report-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .report-header {
        padding: 40px 0 35px;
        margin-bottom: 30px;
    }
    
    .report-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .report-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .report-meta {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .report-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .report-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .social-share {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
    
    .report-section {
        padding: 20px;
    }
    
    .key-metrics {
        grid-template-columns: 1fr 1fr;
    }
    
    .financial-table,
    .valuation-table {
        font-size: 0.85rem;
    }
    
    .risks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .report-title {
        font-size: 1.8rem;
    }
    
    .report-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .report-price {
        margin-left: 0;
    }
    
    .key-metrics {
        grid-template-columns: 1fr;
    }
    
    .financial-table,
    .valuation-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .analyst-header {
        flex-direction: column;
        text-align: center;
    }
    
    .analyst-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .analyst-contacts {
        justify-content: center;
    }
}
