
.column-section {
    padding: 1rem;
    border-radius: var(--radius);
    height: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s ease;
}

.column-section > h4,
.custom-section-card > h4,
.filter-blocks label {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    font-weight: 600;
}

.filter-blocks label {
    margin-bottom: 0.25rem;
}

.column-section h3 {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

/* Surfaces "verre" historiques → désormais opaques et sobres.
   On garde les noms de classe pour ne pas toucher les templates. */
.glass {
    background: var(--surface-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
}

div.glass-light:not(.card-member) {
    padding: 15px 10px;
}

.glass-light {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.glass-light-sidemenu {
    background: var(--gold-soft);
    border-radius: var(--radius);
    position: relative;
}

.glass:hover,
.glass-light:hover {
    background: var(--surface-2-hov);
}

.glass--soft {
    background: var(--surface-1);
}

.main-details {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--surface-2);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.header-details {
    background-color: var(--surface-3);
    border-bottom: 1px solid var(--border);
    margin: 0;
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
    padding: 5px 10px;
}

.custom-section-card {
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin: 15px auto;
}

.align-section-card-height .custom-section-card {
    height: 100%;
}

.custom-section-card.list:first-child {
    margin: 15px auto 0 auto;
}

.custom-section-card.list:not(:first-child) {
    margin: 0 auto;
}

.custom-section-card.list:last-child {
    margin-bottom: 15px;
}

.custom-section-card .details-item {
    margin-top: 5px;
    padding-bottom: 5px;
}

.custom-section-card .details-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.custom-section-card .csc-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.custom-section-card .csc-legend {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.8rem;
}

.custom-card {
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

/* Ligne de liste entièrement cliquable (dashboard, listes simples). */
.row-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
}

.row-link:hover {
    color: var(--text);
    text-decoration: none;
}

.row-link .row-link-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.row-link .row-link-title {
    font-weight: 600;
    color: var(--text);
}

.row-link:hover .row-link-title {
    color: var(--gold-strong);
}

.row-link .row-link-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.row-link .row-link-go {
    flex: 0 0 auto;
    display: inline-flex;
    color: var(--text-faint);
    transition: color 0.15s ease;
}

.row-link:hover .row-link-go {
    color: var(--gold-strong);
}

.status-draft {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--warning);
    background: rgba(224, 171, 51, 0.14);
    padding: 0.05rem 0.45rem;
    border-radius: 6px;
    margin-left: 0.4rem;
}

/* Petit sur-titre doré en capitales (au-dessus d'un h1 de page). */
.eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin: 0.5rem 0 0.15rem;
}

.classic-content .eyebrow + h1 {
    margin-top: 0.15rem;
}

/* Titre de page (sous l'eyebrow) — sobre, façon wizard. */
.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.1rem 0 1.4rem;
}

/* Note explicative discrète (bord doré), pour préciser un usage / une règle. */
.legend {
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: var(--surface-1);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legend strong {
    color: var(--text);
}

.filter-blocks {
    padding: 10px;
    margin: 10px 0 15px 0;
    color: var(--text);
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.image-logo {
    display: block;
    position: absolute;
    top: -75px;
    overflow: hidden;
    left: 35px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.image-logo img {
    width: 200px;
    height: auto;
}

.avatar {
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    width: 100px;
}

.avatar img {
    width: 100px;
    height: auto;
}

/* Modales : voir assets/styles/modal.css (langage premium partagé). */
.modal { color: var(--text); }

.approval-success {
    color: var(--success);
}

.refusal-not-provided {
    color: var(--text-muted);
}

.warning-not-filled {
    color: var(--warning);
}

.text-muted {
    color: var(--text-muted) !important;
}

.event-description {
    max-height: 4em;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    position: relative;
}

.event-description::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    transition: opacity 0.2s ease;
}

.event-description.expanded {
    max-height: 100vh;
}

.event-description.expanded::after {
    display: none;
}
