/* Styles pour le plugin LAFSC - Présentation du Jury */
.lafsc-jury-tabs-container {
    max-width: 1200px;
    margin: 30px auto;
    font-family: 'Montserrat', sans-serif;
    color: #ede2d3;
}

/* Conteneur et Bouton Déroulant */
.lafsc-dropdown-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto 30px auto;
    z-index: 50;
}

.lafsc-dropdown-trigger {
    width: 100%;
    background: #14110e;
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 12px 20px;
    color: #ede2d3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    gap: 10px;
    text-align: left;
}

.lafsc-dropdown-trigger:hover {
    background: #1c1815;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
    border-color: #f1cf88;
}

.lafsc-dropdown-current {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f0cb77;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lafsc-dropdown-arrow {
    color: #d4af37;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.lafsc-dropdown-wrapper.open .lafsc-dropdown-arrow {
    transform: rotate(180deg);
}

/* Liste des choix déroulante */
.lafsc-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #14110e;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
    padding: 6px 0;
    display: none;
    flex-direction: column;
    max-height: 320px;
    overflow-y: auto;
}

.lafsc-dropdown-wrapper.open .lafsc-dropdown-menu {
    display: flex;
}

.lafsc-dropdown-item {
    background: transparent;
    border: none;
    color: #cfbeab;
    padding: 12px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.lafsc-dropdown-item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #f7ede0;
    border-left-color: #d4af37;
    padding-left: 22px;
}

.lafsc-dropdown-item.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, transparent 100%);
    color: #f0cb77;
    font-weight: 700;
    border-left-color: #f0cb77;
}

/* Le Cadre Affiche */
.lafsc-poster-frame {
    position: relative;
    background: radial-gradient(circle at 75% 25%, #2a221b 0%, #15110d 60%, #0c0907 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 100px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    padding: 35px 40px;
    margin: 0 auto;
}

/* Filigrane SVG */
.lafsc-watermark-mask {
    position: absolute;
    top: -20px;
    left: -40px;
    width: 480px;
    height: 480px;
    opacity: 0.045;
    pointer-events: none;
    z-index: 1;
}

.lafsc-watermark-mask svg {
    width: 100%;
    height: 100%;
}

/* Header Top */
.lafsc-top-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.lafsc-edition-tag {
    font-size: 12px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #bfa98b;
    font-weight: 600;
}

.lafsc-dates-block {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.lafsc-days {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    color: #f0cb77;
    text-shadow: 0 2px 10px rgba(240, 203, 119, 0.25);
}

.lafsc-month {
    font-size: 12px;
    letter-spacing: 5px;
    color: #dfcdb8;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

/* Grille principale */
.lafsc-main-stage {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
}

.lafsc-layout-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 14px;
    min-height: 460px;
}

.lafsc-subgrid-jurys {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 14px;
}

/* Cartes Jurés */
.lafsc-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #1c1815;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.lafsc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.7);
    border-color: rgba(212, 175, 55, 0.6);
}

.lafsc-card-img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
    object-fit: cover !important;
    object-position: center top !important;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.92) contrast(1.05);
}

.lafsc-card:hover .lafsc-card-img {
    transform: scale(1.05);
    filter: brightness(0.65) contrast(1.1);
}

/* Masque Overlay au survol */
.lafsc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 8, 7, 0.95) 0%, rgba(10, 8, 7, 0.6) 50%, rgba(10, 8, 7, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 15px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lafsc-card:hover .lafsc-card-overlay {
    opacity: 1;
    visibility: visible;
}

.lafsc-badge-role {
    display: inline-block;
    padding: 3px 8px;
    background: #d4af37;
    color: #0d0b09;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 8px;
}

.lafsc-member-name {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
    color: #fff9f0;
    margin-bottom: 4px;
    text-transform: uppercase;
    line-height: 1.2;
}

.lafsc-card-president .lafsc-member-name {
    font-size: 22px;
}

.lafsc-member-subrole {
    font-size: 11px;
    color: #c9b398;
    margin-bottom: 14px;
    font-weight: 400;
}

.lafsc-btn-open-bio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #d4af37;
    color: #f7ede0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lafsc-btn-open-bio:hover {
    background: #d4af37;
    color: #0b0908;
    transform: scale(1.05);
}

.lafsc-plus-icon {
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
}

/* Footer Typo */
.lafsc-bottom-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 15px;
}

.lafsc-huge-word {
    font-family: 'Cinzel', serif;
    font-size: clamp(48px, 9vw, 95px);
    font-weight: 900;
    letter-spacing: 5px;
    line-height: 0.85;
    background: linear-gradient(180deg, #f3cf82 0%, #aa772d 65%, #5d3f10 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: -5px;
}

.lafsc-category-meta {
    text-align: right;
}

.lafsc-meta-title {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d1b899;
    font-weight: 600;
    margin-bottom: 2px;
}

.lafsc-meta-year {
    font-family: 'Cinzel', serif;
    font-size: clamp(34px, 6vw, 62px);
    font-weight: 900;
    color: #f0cb77;
    line-height: 0.9;
}

/* POP-UP MODAL */
.lafsc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lafsc-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lafsc-modal-box {
    position: relative;
    background: #14110e;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 14px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.15);
    padding: 35px 30px;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lafsc-modal-overlay.active .lafsc-modal-box {
    transform: scale(1);
}

.lafsc-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #bfa98b;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.lafsc-modal-close:hover {
    color: #f0cb77;
    transform: scale(1.15) rotate(90deg);
}

.lafsc-modal-inner {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.lafsc-modal-thumb-wrap {
    flex-shrink: 0;
    width: 150px;
    text-align: center;
}

.lafsc-modal-thumb-wrap img {
    width: 150px;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d4af37;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.lafsc-modal-tag {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 8px;
    background: #2b2219;
    border: 1px solid #7d5722;
    color: #f0cb77;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
}

.lafsc-modal-details {
    flex: 1;
}

.lafsc-modal-details h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: #f7ede0;
    margin: 0 0 6px 0;
}

.lafsc-modal-role {
    font-size: 13px;
    font-weight: 600;
    color: #d4af37;
    margin: 0 0 15px 0;
}

.lafsc-modal-separator {
    height: 1px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.5), transparent);
    margin-bottom: 15px;
}

.lafsc-modal-bio {
    font-size: 13.5px;
    line-height: 1.65;
    color: #cfbeab;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 8px;
}

.lafsc-modal-bio::-webkit-scrollbar {
    width: 5px;
}
.lafsc-modal-bio::-webkit-scrollbar-thumb {
    background: #7d5722;
    border-radius: 4px;
}

/* Responsiveness */
@media (max-width: 860px) {
    .lafsc-layout-grid {
        grid-template-columns: 1fr;
    }
    .lafsc-card-president {
        min-height: 320px;
    }
    .lafsc-card-member {
        min-height: 200px;
    }
    .lafsc-modal-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .lafsc-modal-separator {
        background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
    }
}
