.dashboard-editorial {
    width: 100%;
    margin-bottom: 2rem;
}

.dashboard-editorial-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.dashboard-editorial__main {
    flex: 1 1 58%;
    min-width: 0;
}

.dashboard-editorial__archive {
    flex: 0 1 42%;
    max-width: 26rem;
    min-width: 0;
}

.dashboard-editorial__card {
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--lpf-surface, #fff);
    border: 1px solid var(--lpf-border, #e2e8f0);
}

.dashboard-editorial__card > .dashboard-editorial__eyebrow {
    margin-bottom: 0.65rem;
}

.dashboard-editorial__header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.dashboard-editorial__avatar-btn {
    flex: 0 0 auto;
    border-radius: 9999px;
}

.dashboard-editorial__avatar {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid rgba(148, 163, 184, 0.35);
}

.dashboard-editorial__meta {
    min-width: 0;
}

.dashboard-editorial__eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.72;
}

.dashboard-editorial__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.25;
}

.dashboard-editorial__byline {
    margin: 0.35rem 0 0;
    font-size: 0.86rem;
    opacity: 0.78;
}

.dashboard-editorial__content > :first-child {
    margin-top: 0;
}

.dashboard-editorial__content > :last-child {
    margin-bottom: 0;
}

.dashboard-editorial__content p,
.dashboard-editorial__content ul,
.dashboard-editorial__content ol {
    margin-bottom: 0.6rem;
}

.dashboard-editorial-archive__heading {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0 0 0.65rem;
    opacity: 0.75;
    text-transform: uppercase;
}

.dashboard-editorial-archive__list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    max-height: 28rem;
    overflow-y: auto;
    padding: 0;
}

.dashboard-editorial-archive__item {
    align-items: stretch;
    background: transparent;
    border: 1px solid var(--lpf-border, rgba(148, 163, 184, 0.28));
    border-radius: 0.75rem;
    color: inherit;
    cursor: pointer;
    display: block;
    font: inherit;
    padding: 0.55rem 0.65rem;
    text-align: left;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    width: 100%;
}

.dashboard-editorial-archive__item:hover,
.dashboard-editorial-archive__item:focus-visible {
    background: var(--lpf-surface-raised, rgba(148, 163, 184, 0.12));
    border-color: var(--lpf-border, rgba(148, 163, 184, 0.45));
    outline: none;
}

.dashboard-editorial-archive__preview {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    min-width: 0;
}

.dashboard-editorial-archive__avatar {
    border-radius: 9999px;
    flex: 0 0 auto;
    height: 40px;
    object-fit: cover;
    width: 40px;
}

.dashboard-editorial-archive__avatar--placeholder {
    align-items: center;
    background: var(--lpf-surface-raised, rgba(148, 163, 184, 0.2));
    border: 1px solid var(--lpf-border, rgba(148, 163, 184, 0.35));
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 600;
    justify-content: center;
}

.dashboard-editorial-archive__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.dashboard-editorial-archive__title {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-editorial-archive__date {
    display: block;
    font-size: 0.78rem;
    opacity: 0.72;
}

.dashboard-editorial__accordion {
    border: 0;
    margin: 0;
    padding: 0;
}

.dashboard-editorial__summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--lpf-border, rgba(148, 163, 184, 0.28));
    border-radius: 0.85rem;
    background: var(--lpf-surface, #fff);
    color: inherit;
}

.dashboard-editorial__summary::-webkit-details-marker {
    display: none;
}

.dashboard-editorial__summary-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.dashboard-editorial__summary-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    opacity: 0.72;
    text-transform: uppercase;
}

.dashboard-editorial__summary-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.dashboard-editorial__summary-chevron {
    flex: 0 0 auto;
    font-size: 1.1rem;
    opacity: 0.65;
    transition: transform 0.2s ease;
}

.dashboard-editorial__accordion[open] .dashboard-editorial__summary-chevron {
    transform: rotate(180deg);
}

.dashboard-editorial__accordion-panel {
    padding-top: 0.15rem;
}

.dashboard-editorial__eyebrow--in-card {
    display: none;
}

@media (min-width: 768px) {
    .dashboard-editorial__accordion--desktop .dashboard-editorial__summary {
        display: none;
    }

    .dashboard-editorial__accordion--desktop .dashboard-editorial__accordion-panel {
        padding-top: 0;
    }

    .dashboard-editorial__eyebrow--in-card {
        display: block;
    }
}

@media (max-width: 900px) {
    .dashboard-editorial-row {
        flex-direction: column;
    }

    .dashboard-editorial__main,
    .dashboard-editorial__archive {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
    }

    .dashboard-editorial-archive__list {
        max-height: 14rem;
    }
}

@media (max-width: 720px) {
    .dashboard-editorial__header {
        align-items: flex-start;
    }

    .dashboard-editorial__avatar-btn .dashboard-editorial__avatar,
    .dashboard-editorial__avatar-btn img {
        width: 48px;
        height: 48px;
    }
}
