/* Audiences View Styles - Tema Living/Brands */
/* El offset del sidebar lo aplica #app-container. */
.audiences-container,
.audience-detail-container {
    min-height: calc(100vh - 48px);
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-left: 0;
    background: var(--living-bg-deep, var(--bg-primary));
    padding-top: calc(48px + 2rem);
}

/* En móvil, el sidebar se oculta y el contenido ocupa todo el ancho */
@media (max-width: 768px) {
    .audiences-container,
    .audience-detail-container {
        margin-left: 0;
        padding: 1rem;
        padding-top: calc(48px + 1rem);
    }
}

.audiences-header,
.audience-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.audiences-title,
.audience-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.audiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.audience-detail-content {
    display: grid;
    gap: 2rem;
}

.audience-section {
    background: var(--living-bg-card, rgba(21, 23, 28, 0.6));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-divider);
}

.audience-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.audience-section p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .audiences-container,
    .audience-detail-container {
        padding: 1rem;
    }
}
