/* Stable-RC edition refinements loaded after Theme and content-system.css. */

/* The institutional architecture on the edition home now has three distinct
 * second-level roles: academic partnership, executive governance and scientific
 * governance. Keep them visually equal rather than leaving the third item on a
 * half-width second row. */
.rsf-institution-secondary-governance {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.rsf-institution-secondary-governance > .rsf-institution-role {
    min-width: 0;
}

/* Remove any residual generic card treatment inherited from Leconfe/older
 * Theme releases on the Platform-owned public surfaces. */
.rsf-programme-page,
.rsf-people-page,
.rsf-activity-page,
.rsf-person-page,
.rsf-committee-page {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Key Dates should read as an editorial sequence, not an administrative data
 * table. The content itself remains editable in Leconfe; these rules strengthen
 * its vertical rhythm without depending on exact milestone copy. */
.rsf-editorial-page-key-dates .rsf-editorial-body > * + * {
    margin-top: 1.35rem;
}

.rsf-editorial-page-key-dates .rsf-editorial-body table,
.rsf-editorial-page-key-dates .rsf-editorial-body .rsf-editorial-table {
    width: 100%;
    border-collapse: collapse;
}

.rsf-editorial-page-key-dates .rsf-editorial-body table tr,
.rsf-editorial-page-key-dates .rsf-editorial-body .rsf-editorial-table > * {
    border-top: 1px solid var(--rsf-border, #D7D4CC);
}

.rsf-editorial-page-key-dates .rsf-editorial-body table td,
.rsf-editorial-page-key-dates .rsf-editorial-body table th {
    padding-block: 1.35rem;
    vertical-align: top;
}

@media (max-width: 980px) {
    .rsf-institution-secondary-governance {
        grid-template-columns: 1fr !important;
    }
}
