/* Report-specific styles */

/* Report Header */
.report-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 2rem 0;
}

.report-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.report-breadcrumb a {
    color: #a2d2ff;
    text-decoration: none;
}

.report-breadcrumb a:hover {
    color: #fff;
}

.report-meta {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.report-icon {
    font-size: 4rem;
    color: #4A90E2;
    margin-top: 0.5rem;
}

.report-info {
    flex: 1;
}

.report-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.report-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.report-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.report-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.report-status.completed {
    background: #7ED321;
    color: #fff;
}

.report-date,
.report-type {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Report Content Layout */
.report-content {
    padding: 3rem 0;
    background: #f7fafd;
}

.report-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.report-body {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(30,40,80,0.04);
}

/* Report Sections */
.report-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.report-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.report-section h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-icon {
    font-size: 1.5rem;
    color: #4A90E2;
    width: 40px;
    text-align: center;
}

.report-section h3 {
    font-size: 1.4rem;
    color: #2c5282;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.report-section h4 {
    font-size: 1.2rem;
    color: #1a365d;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.report-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #444;
}

.report-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.report-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #444;
}

/* Summary Section */
.summary-section {
    background: linear-gradient(135deg, #e3eefe 0%, #f0f7ff 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: none;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(30,40,80,0.08);
}

.stat-box .stat-number {
    font-size: 2.2rem;
    color: #357ABD;
    font-weight: 700;
    display: block;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: #1a365d;
    margin-top: 0.5rem;
}

/* Definition Grid */
.definition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.definition-item {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #4A90E2;
}

.definition-icon {
    font-size: 1.5rem;
    color: #F5A623;
    margin-bottom: 0.5rem;
}

/* Overview Stats */
.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.overview-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
}

.overview-item i {
    font-size: 2rem;
    color: #4A90E2;
    margin-top: 0.2rem;
    min-width: 40px;
}

.overview-item h4 {
    font-size: 1.1rem;
    color: #1a365d;
    margin: 0 0 0.3rem 0;
}

.overview-item p {
    margin: 0 0 0.3rem 0;
    line-height: 1.5;
}

.overview-item small {
    color: #6b7280;
    font-style: italic;
}

/* Factors Grid */
.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.factor-item {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    transition: border-color 0.2s;
}

.factor-item:hover {
    border-color: #4A90E2;
}

.factor-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #4A90E2;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.factor-item h4 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Comparison Section */
.comparison-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    border: none;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.comparison-item {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(30,40,80,0.06);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-header i {
    font-size: 1.8rem;
}

.urban .comparison-header i {
    color: #357ABD;
}

.rural .comparison-header i {
    color: #7ED321;
}

.comparison-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.challenges,
.examples {
    margin-bottom: 1rem;
}

.challenges h4,
.examples h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Nutrition Issues */
.nutrition-issues {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.issue-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #4A90E2;
}

.cost-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.cost-item {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    min-width: 120px;
}

.cost-item.healthy {
    background: #fee2e2;
    border: 2px solid #f87171;
}

.cost-item.affordable {
    background: #dcfce7;
    border: 2px solid #4ade80;
}

.cost-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a365d;
}

.cost-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.cost-vs {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6b7280;
}

.dependency-stat {
    text-align: center;
    margin: 1rem 0;
}

.big-stat {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #357ABD;
    line-height: 1;
}

/* Health Section */
.health-section {
    background: linear-gradient(135deg, #fef7f0 0%, #fef3e7 100%);
    border-radius: 12px;
    padding: 2rem;
    border: none;
}

.health-impacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.impact-category {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(30,40,80,0.06);
}

.impact-category.children {
    border-left: 4px solid #F5A623;
}

/* Policy Section */
.policy-section {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 2rem;
    border: none;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.policy-column {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(30,40,80,0.06);
}

.policy-column.positive {
    border-left: 4px solid #7ED321;
}

.policy-column.gaps {
    border-left: 4px solid #F5A623;
}

.policy-column h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.policy-column.positive h4 i {
    color: #7ED321;
}

.policy-column.gaps h4 i {
    color: #F5A623;
}

/* Community Responses */
.community-responses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.response-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: border-color 0.2s;
}

.response-item:hover {
    border-color: #4A90E2;
}

.response-item i {
    font-size: 2rem;
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

.response-item h4 {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.response-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Recommendations */
.recommendations-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 12px;
    padding: 2rem;
    border: none;
}

.recommendations-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(30,40,80,0.06);
}

.rec-number {
    background: #7ED321;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rec-content h4 {
    margin: 0 0 0.5rem 0;
    color: #1a365d;
}

.rec-content p {
    margin: 0;
    line-height: 1.6;
}

/* Conclusion */
.conclusion-section {
    background: linear-gradient(135deg, #e3eefe 0%, #f0f7ff 100%);
    border-radius: 12px;
    padding: 2rem;
    border: none;
}

.conclusion-content {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

/* Sources */
.sources-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    border: none;
}

.sources-list ul {
    columns: 2;
    column-gap: 2rem;
    list-style-type: disc;
}

.sources-list li {
    break-inside: avoid;
    margin-bottom: 0.5rem;
    font-style: italic;
    color: #6b7280;
}

/* Sidebar */
.report-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(30,40,80,0.04);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.sidebar-nav a:hover {
    color: #4A90E2;
}

.related-study {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.related-study i {
    color: #4A90E2;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.related-study h4 {
    margin: 0 0 0.3rem 0;
    font-size: 0.9rem;
    color: #1a365d;
}

.related-study p {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.facebook { background: #1877f2; }
.share-btn.email { background: #6b7280; }

/* Responsive Design */
@media (max-width: 1200px) {
    .report-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .report-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .report-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .report-icon {
        font-size: 3rem;
        text-align: center;
    }
    
    .report-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .report-subtitle {
        text-align: center;
    }
    
    .report-details {
        justify-content: center;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .cost-comparison {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sources-list ul {
        columns: 1;
    }
    
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .factors-grid {
        grid-template-columns: 1fr;
    }
    
    .community-responses {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .report-body {
        padding: 1rem;
    }
    
    .report-sidebar {
        padding: 1rem;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .community-responses {
        grid-template-columns: 1fr;
    }
}