/* ============================================
   REPORTS PAGE
   ============================================ */

/* Hero Section - KEEP DARK */
.reports-hero {
    position: relative;
    padding: 7rem 0 4.0rem;
    background: var(--color-bg-dark);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.reports-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.reports-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(237, 27, 47, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(237, 27, 47, 0.04) 0%, transparent 50%);
}

.reports-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

.reports-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.reports-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
}

.reports-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.reports-hero-breadcrumb a:hover {
    color: var(--color-accent);
}

.reports-hero-breadcrumb svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.25);
}

.reports-hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.reports-hero-title {
    font-family: var(--font-family-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.reports-hero-title-accent {
    color: var(--color-accent);
}

.reports-hero-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 0 0 2rem;
}

.reports-hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.reports-hero-stat {
    display: flex;
    flex-direction: column;
}

.reports-hero-stat-value {
    font-family: var(--font-family-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.reports-hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.125rem;
}

.reports-hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FEATURED REPORTS - LIGHT THEME
   ============================================ */

.reports-featured {
    padding: 3rem 0;
    background: #f8f9fb;
    border-top: 1px solid #e2e5eb;
}

.reports-featured-header {
    margin-bottom: 2rem;
}

.reports-featured-line {
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin-bottom: 1rem;
}

.reports-featured-header h2 {
    font-family: var(--font-family-heading);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #1a1f2e;
    margin: 0;
}

.reports-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.report-featured-card {
    background: #ffffff;
    border: 1px solid #e2e5eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.report-featured-card:hover {
    border-color: rgba(237, 27, 47, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.report-featured-image {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eef0f4;
}

.report-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.report-featured-card:hover .report-featured-image img {
    transform: scale(1.04);
}

.report-featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f1f5 0%, #e2e5eb 100%);
}

.report-featured-placeholder svg {
    width: 48px;
    height: 48px;
    color: #b8c0cc;
}

.report-featured-info {
    padding: 1.25rem 1.5rem;
}

.report-featured-title {
    display: block;
    font-family: var(--font-family-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #1a1f2e;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.report-featured-title:hover {
    color: var(--color-accent);
}

.report-featured-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(237, 27, 47, 0.25);
    border-radius: 6px;
    transition: background 0.3s, border-color 0.3s;
}

.report-featured-download svg {
    width: 16px;
    height: 16px;
}

.report-featured-download:hover {
    background: rgba(237, 27, 47, 0.08);
    border-color: var(--color-accent);
}

/* ============================================
   REPORTS GRID - LIGHT THEME
   ============================================ */

.reports-grid-section {
    padding: 3rem 0 4rem;
    background: #ffffff;
}

.reports-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e5eb;
}

.reports-section-header h2 {
    font-family: var(--font-family-heading);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 800;
    color: #1a1f2e;
    margin: 0;
}

.reports-section-header p {
    font-size: 0.875rem;
    color: #8a94a6;
    margin: 0;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Report Card - LIGHT THEME */
.report-card {
    background: #ffffff;
    border: 1px solid #e2e5eb;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(12px);
    animation: reportReveal 0.5s ease forwards;
}

.report-card:hover {
    border-color: rgba(237, 27, 47, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

@keyframes reportReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.report-card-image {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eef0f4;
}

.report-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.report-card:hover .report-card-image img {
    transform: scale(1.04);
}

.report-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f1f5 0%, #e2e5eb 100%);
}

.report-card-placeholder svg {
    width: 40px;
    height: 40px;
    color: #b8c0cc;
}

.report-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--color-accent);
    border-radius: 4px;
}

.report-card-body {
    padding: 1rem 1.25rem 1.25rem;
}

.report-card-title {
    display: block;
    font-family: var(--font-family-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a1f2e;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 0.375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.report-card-title:hover {
    color: var(--color-accent);
}

.report-card-date {
    font-size: 0.75rem;
    color: #8a94a6;
    display: block;
    margin-bottom: 0.75rem;
}

.report-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.report-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap 0.3s;
}

.report-card-link svg {
    width: 14px;
    height: 14px;
}

.report-card-link:hover {
    gap: 0.625rem;
}

.report-card-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #5a6478;
    background: #f4f5f7;
    border: 1px solid #e2e5eb;
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.report-card-download svg {
    width: 16px;
    height: 16px;
}

.report-card-download:hover {
    color: var(--color-accent);
    background: rgba(237, 27, 47, 0.08);
    border-color: rgba(237, 27, 47, 0.3);
}

/* ============================================
   PAGINATION - LIGHT THEME
   ============================================ */

.reports-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.reports-pagination .pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5a6478;
    background: #f4f5f7;
    border: 1px solid #e2e5eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.reports-pagination .pagination-btn:hover {
    color: #1a1f2e;
    background: #eef0f4;
    border-color: #d0d5dd;
}

.reports-pagination .pagination-btn svg {
    width: 16px;
    height: 16px;
}

.reports-pagination .pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.reports-pagination .pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #5a6478;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.reports-pagination .pagination-page:hover {
    color: #1a1f2e;
    background: #f4f5f7;
}

.reports-pagination .pagination-page.active {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 700;
}

.reports-pagination .pagination-dots {
    color: #b8c0cc;
    font-size: 0.875rem;
    padding: 0 0.25rem;
}

/* ============================================
   REPORT DETAIL PAGE - LIGHT THEME
   ============================================ */

.report-detail-hero {
    position: relative;
    padding: 7rem 0 3.0rem;
    background: #f8f9fb;
}

.report-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #5a6478;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.report-detail-back svg {
    width: 18px;
    height: 18px;
}

.report-detail-back:hover {
    color: var(--color-accent);
}

.report-detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.report-detail-cover {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e5eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.report-detail-cover img {
    width: 100%;
    display: block;
}

.report-detail-info h1 {
    font-family: var(--font-family-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #1a1f2e;
    line-height: 1.25;
    margin: 0 0 1.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.report-detail-date {
    font-size: 0.875rem;
    color: #8a94a6;
    margin-bottom: 1.5rem;
}

.report-detail-pdfs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.report-detail-pdf-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(237, 27, 47, 0.04);
    border: 1px solid rgba(237, 27, 47, 0.12);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
}

.report-detail-pdf-link:hover {
    background: rgba(237, 27, 47, 0.08);
    border-color: rgba(237, 27, 47, 0.25);
}

.report-detail-pdf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    border-radius: 8px;
    flex-shrink: 0;
}

.report-detail-pdf-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.report-detail-pdf-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.report-detail-pdf-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1f2e;
    overflow-wrap: break-word;
    word-break: break-word;
}

.report-detail-pdf-size {
    font-size: 0.75rem;
    color: #8a94a6;
    margin-top: 0.125rem;
}

.report-detail-pdf-download {
    color: var(--color-accent);
    flex-shrink: 0;
}

.report-detail-pdf-download svg {
    width: 20px;
    height: 20px;
}

/* Detail Content - LIGHT THEME */
.report-detail-content {
    padding: 2rem 0 4rem;
    background: #ffffff;
}

.report-detail-body {
    max-width: 800px;
    margin: 0 auto;
}

.report-detail-body p {
    font-size: 1.0625rem;
    color: #5a6478;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.report-detail-body h3 {
    font-family: var(--font-family-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1f2e;
    margin: 2rem 0 1rem;
}

/* Related Reports - LIGHT THEME */
.report-related {
    padding: 3rem 0 4rem;
    background: #f8f9fb;
    border-top: 1px solid #e2e5eb;
}

.report-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.report-related-header h2 {
    font-family: var(--font-family-heading);
    font-size: 1.375rem;
    font-weight: 800;
    color: #1a1f2e;
    margin: 0;
}

.report-related-header a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.report-related-header a svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .reports-featured-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .reports-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .report-detail-layout {
        grid-template-columns: 260px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .reports-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .report-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .report-detail-cover {
        max-width: 280px;
    }

    .reports-pagination .pagination-btn span {
        display: none;
    }

    .reports-pagination .pagination-btn {
        padding: 0.625rem;
    }
}

@media (max-width: 480px) {
    .reports-hero {
        padding: var(--header-height) 0 3.0rem;
        min-height: auto;
    }

    .reports-featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reports-grid {
        grid-template-columns: 1fr 1fr;
    }

    .report-card-body {
        padding: 0.75rem 1rem 1rem;
    }

    .report-card-title {
        font-size: 0.8125rem;
    }

    .report-detail-cover {
        max-width: 220px;
    }
}

@media (max-width: 360px) {
    .reports-featured-grid {
        grid-template-columns: 1fr;
    }

    .reports-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .report-card-title {
        font-size: 0.75rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .report-card {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .report-card,
    .report-card-image img,
    .report-featured-image img {
        transition: none;
    }

    .report-card:hover,
    .report-card:hover .report-card-image img {
        transform: none;
    }
}
