/**
 * 行业研报专用样式
 */

.reports-header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.header-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.08) 0%, transparent 70%);
    z-index: 0;
}

.report-card {
    transition: var(--transition-base);
    position: relative;
    margin-bottom: 20px;
}

.report-card-inner {
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--glass-bg);
    position: relative;
    cursor: pointer;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.report-card:hover .report-card-inner {
    transform: translateY(-10px);
    border-color: var(--primary-color) !important;
}

.report-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.report-card:hover img {
    transform: scale(1.1);
}

.report-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(var(--primary-color-rgb), 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
}

.report-title {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 2.8em; /* 固定高度以对齐 */
}

.reports-carousel-wrapper { 
    overflow: hidden; 
    padding: 10px 0;
    margin: 0 -10px; /* 补偿卡片阴影 */
}

.reports-carousel-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    padding: 10px; /* 补偿阴影 */
}

/* 全屏预览模态框样式 */
.report-viewer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    flex-direction: column;
}

.report-viewer-header {
    padding: 1.25rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.report-viewer-content {
    flex: 1;
    width: 100%;
    height: calc(100% - 60px);
}

.report-viewer-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-viewer {
    cursor: pointer;
    font-size: 24px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.close-viewer:hover {
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .report-card { flex: 0 0 calc((100% - (4 * 20px)) / 5); }
}

@media (max-width: 992px) {
    .report-card { flex: 0 0 calc((100% - (3 * 20px)) / 4); }
}

@media (max-width: 768px) {
    .report-card { flex: 0 0 calc((100% - (2 * 20px)) / 3); }
}

@media (max-width: 576px) {
    .report-card { flex: 0 0 calc((100% - (1 * 20px)) / 2); }
}
