/* Dashboard Section */
.dashboard-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-subtle);
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: "Source Sans 3", sans-serif;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Chart Cards */
.chart-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: 2rem;
    height: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .chart-card {
        padding: 1rem;
    }
}

@media (max-width: 420px) {
    .chart-card {
        padding: 0.75rem;
    }
}

/* Chart Card Header - See enhanced version below with share button support */

.chart-container {
    position: relative;
    height: 400px;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

#topic-timeline-chart {
    height: 460px;
}

@media (max-width: 768px) {
    .chart-container {
        height: 300px;
    }

    #topic-timeline-chart {
        height: 400px;
    }

    #publishing-rhythm-chart {
        height: 340px;
    }
}

@media (max-width: 600px) {
    .chart-container {
        height: 270px;
    }

    #topic-timeline-chart {
        height: 380px;
    }

    #publishing-rhythm-chart {
        height: 330px;
    }
}

@media (max-width: 420px) {
    #topic-timeline-chart {
        height: 340px;
    }

    #publishing-rhythm-chart {
        height: 290px;
    }
}

.chart-narrative {
    padding: 1rem;
    background-color: var(--tagtaly-paper);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.narrative-text {
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    white-space: normal;
    word-wrap: break-word;
}

.narrative-text strong {
    font-weight: 600;
    color: var(--bs-primary);
}
