/* Single Report Page */

.single-report-page {
    --sr-green: #2d6a4f;
    --sr-teal: #167a8b;
    --sr-orange: #c24d2c;
    background-color: #f8f9fa;
    min-height: 60vh;
}

.single-report-breadcrumb .breadcrumb-item a {
    color: var(--sr-teal);
    text-decoration: none;
}

.single-report-article {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f2;
}

.single-report-type {
    display: inline-block;
    background: var(--sr-teal);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.single-report-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.single-report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef0f2;
}

.single-report-meta i {
    color: var(--sr-teal);
    margin-right: 0.35rem;
}

.single-report-summary {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.single-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.single-report-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.single-report-action-btn:hover {
    background: #f1f3f5;
    color: #2c3e50;
}

.single-report-action-btn--primary {
    background: var(--sr-green);
    color: #fff;
    border-color: var(--sr-green);
}

.single-report-action-btn--primary:hover {
    background: #40916c;
    color: #fff;
}

.single-report-share-dropdown {
    position: relative;
}

.single-report-share-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.35rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #eef0f2;
    min-width: 160px;
    z-index: 50;
    overflow: hidden;
}

.single-report-share-menu.is-open {
    display: block;
}

.single-report-share-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    color: #495057;
    text-decoration: none;
    font-size: 0.875rem;
}

.single-report-share-menu a:hover {
    background: #f8f9fa;
    color: var(--sr-teal);
}

/* PDF Viewer */
.single-report-pdf-viewer {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
    background: #f1f3f5;
}

.single-report-pdf-iframe {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border: none;
    display: block;
}

.single-report-no-pdf {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #868e96;
    margin-bottom: 1.5rem;
}

.single-report-no-pdf i {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
    color: #ced4da;
}

.single-report-description {
    font-size: 1rem;
    line-height: 1.75;
    color: #495057;
    margin-bottom: 1.5rem;
}

.single-report-description h2,
.single-report-description h3 {
    color: var(--sr-green);
    margin-top: 1.5rem;
}

.single-report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single-report-tag {
    padding: 0.25rem 0.65rem;
    background: #eef6f3;
    color: var(--sr-green);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Sidebar */
.single-report-sidebar {
    top: 80px;
}

.single-report-sidebar-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f2;
    margin-bottom: 1.5rem;
}

.single-report-sidebar-cover {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.single-report-sidebar-info {
    padding: 1rem 1.25rem;
}

.single-report-sidebar-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.875rem;
}

.single-report-sidebar-row .label {
    color: #868e96;
    font-weight: 600;
}

.single-report-sidebar-row .value {
    color: #2c3e50;
    font-weight: 700;
    text-align: end;
}

.single-report-sidebar-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    background: var(--sr-orange);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.single-report-sidebar-download:hover {
    background: #a83f24;
    color: #fff;
}

.single-report-related {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f2;
}

.single-report-related-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sr-green);
    margin-bottom: 1rem;
}

.single-report-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-report-related-list li {
    border-bottom: 1px solid #f1f3f5;
}

.single-report-related-list li:last-child {
    border-bottom: none;
}

.single-report-related-list a {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
}

.single-report-related-list .related-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
}

.single-report-related-list a:hover .related-title {
    color: var(--sr-teal);
}

.single-report-related-list .related-date {
    display: block;
    font-size: 0.75rem;
    color: #868e96;
    margin-top: 0.15rem;
}

@media print {
    .single-report-actions,
    .single-report-sidebar,
    .single-report-related-mobile,
    .single-report-breadcrumb,
    .sticky-navbar {
        display: none !important;
    }

    .single-report-pdf-iframe {
        height: 100vh;
    }
}

@media (max-width: 991px) {
    .single-report-article {
        padding: 1.25rem;
    }

    .single-report-pdf-iframe {
        min-height: 400px;
        height: 55vh;
    }
}
