.sample-report-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(205, 51, 66, 0.28), transparent 36%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.12), transparent 24%),
        linear-gradient(135deg, #111827 0%, #1f2937 48%, #5b1320 100%);
}

.sample-report-hero::before {
    content: "";
    position: absolute;
    inset: auto -120px -140px auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(12px);
}

.sample-report-hero .container {
    position: relative;
    z-index: 1;
}

.sample-report-hero .section-title,
.sample-report-hero .section-subtitle {
    color: #ffffff;
}

.sample-report-hero .section-subtitle {
    max-width: 860px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-actions .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.74);
}

.hero-actions .btn-outline:hover {
    background: #ffffff;
    color: var(--text-dark);
}

.quick-facts {
    margin-top: -42px;
    position: relative;
    z-index: 5;
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.quick-fact-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(205, 51, 66, 0.08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.quick-fact-card h3 {
    font-size: 1.02rem;
    margin-bottom: 10px;
}

.quick-fact-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.97rem;
}

.overview-section {
    padding-top: 96px;
}

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 28px;
    align-items: start;
}

.overview-panel,
.preview-panel,
.toc-caption {
    background: #ffffff;
    border-radius: 24px;
    padding: 34px;
    border: 1px solid rgba(229, 229, 229, 0.92);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07);
}

.overview-panel h2,
.preview-panel h3,
.toc-caption h3 {
    margin-bottom: 16px;
}

.overview-panel p,
.preview-panel p,
.toc-caption p {
    color: var(--text-gray);
    line-height: 1.85;
}

.overview-points {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.overview-points li {
    position: relative;
    padding-left: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

.overview-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-red);
}

.preview-image {
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(205, 51, 66, 0.1);
    background: #f3f4f6;
}

.preview-image img {
    width: 100%;
    display: block;
}

.preview-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.toc-section {
    background: var(--bg-light);
}

.toc-layout {
    display: grid;
    gap: 24px;
}

.report-accordion-list {
    display: grid;
    gap: 18px;
}

.report-accordion-item {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(229, 229, 229, 0.95);
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.05);
    overflow: hidden;
}

.report-accordion-item summary {
    list-style: none;
}

.report-accordion-item summary::-webkit-details-marker {
    display: none;
}

.report-accordion-button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 28px 32px;
    cursor: pointer;
}

.report-heading {
    display: flex;
    align-items: center;
    min-height: 54px;
    min-width: 0;
}

.report-order {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(205, 51, 66, 0.1);
    color: var(--primary-red);
    font-size: 0.96rem;
    font-weight: 800;
    flex-shrink: 0;
}

.report-heading strong {
    display: block;
    font-size: 1.14rem;
    margin: 0;
    line-height: 1.45;
    word-break: keep-all;
}

.report-heading p {
    color: var(--text-gray);
    line-height: 1.8;
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.report-meta span,
.report-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(205, 51, 66, 0.08);
    color: var(--primary-red);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.report-caret {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 1.4rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.report-accordion-item[open] .report-caret {
    transform: rotate(180deg);
    background: var(--primary-red);
    color: #ffffff;
}

.report-panel {
    padding: 0 32px 32px;
    border-top: 1px solid rgba(229, 229, 229, 0.95);
}

.report-panel-top {
    display: none;
}

.report-panel-copy p {
    color: var(--text-gray);
    line-height: 1.82;
}

.report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.report-actions {
    display: none;
}

.report-viewer {
    display: none;
}

.report-mobile-viewer {
    display: grid;
    gap: 14px;
    padding-top: 24px;
}

.report-mobile-page-frame {
    display: block;
}

.report-mobile-page {
    width: 100%;
    display: block;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.report-frame {
    width: 100%;
    height: 900px;
    display: block;
    border: 0;
    background: #ffffff;
}

.report-frame.is-loading {
    min-height: 320px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(243, 244, 246, 0.96), rgba(255, 255, 255, 0.92));
}

.report-fallback {
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #111827;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.93rem;
    line-height: 1.75;
}

.report-fallback a {
    color: #ffffff;
    text-decoration: underline;
}

.sample-report-cta {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(91, 19, 32, 0.94)), url('/assets/images/Main-Background4.jpg') center/cover;
}

.sample-report-cta .section-title,
.sample-report-cta .section-subtitle {
    color: #ffffff;
}

.sample-report-cta .section-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.sample-report-cta .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.75);
}

.sample-report-cta .btn-outline:hover {
    background: #ffffff;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .quick-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .report-panel,
    .report-accordion-button {
        padding-left: 24px;
        padding-right: 24px;
    }

    .report-accordion-button {
        grid-template-columns: 48px minmax(0, 1fr) 40px;
        gap: 14px;
        align-items: center;
    }

    .report-order {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .report-caret {
        width: 40px;
        height: 40px;
    }

    .report-heading {
        min-height: 48px;
    }

    .report-heading strong {
        font-size: 1rem;
    }

    .hero-actions,
    .preview-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .preview-actions .btn {
        justify-content: center;
    }
}
