#tie-wrapper .mag-center-homepage .mag-box-title h3 {
    color: #ffffff !important;
}

.movie-ratings-widget {
        float: left;
        margin-left:    30px
}

.movie-ratings-fhrating-label {
        font-weight: bold;
        font-size: 11px;
        padding-top: 5px;
}
.movie-ratings-widget-label {
        font-weight: bold;
        font-size: 13px;
}

a.movie-ratings-rating{
        color: #FFF;
}
a.movie-ratings-rating:hover, a.movie-ratings-rating:focus{
        color: #FFF;
}
.movie-ratings-box {
        background-image: url('images/blood-icon.png');
        background-size: 135px 48px;
        background-repeat: no-repeat;
        float: left;
        width: 135px;
        height: 50px;
        text-align: center;
        vertical-align: middle;
        font-size: 15px;
        font-weight: bold;
        color: #FFF;
        font-family: tahoma;
        padding-right: 0px;
        margin-right: 10px;
}

/* --- Modern Sidebar Movie Meta Widget Styling --- */
.fh-sidebar-meta-card {
    background: transparent;
    color: #e2e8f0;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.fh-sidebar-meta-summary {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f1f5f9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.fh-sidebar-meta-summary .meta-summary-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fh-sidebar-meta-summary .meta-summary-item i {
    color: #e50914; /* Red accent */
    font-size: 0.95rem;
}

/* --- Bloc de notation intégré --- */
.fh-ratings-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.fh-stars {
    display: flex;
    gap: 2px;
    line-height: 1;
}

.fh-star {
    font-size: 1.4rem;
    line-height: 1;
}

.fh-star-full  { color: #f5a623; text-shadow: 0 0 6px rgba(245, 166, 35, 0.6); }
.fh-star-half  { color: #f5a623; opacity: 0.65; }
.fh-star-empty { color: rgba(255, 255, 255, 0.2); }
.fh-star-hover { color: #ffc85e; text-shadow: 0 0 10px rgba(255, 200, 94, 0.8); }

.fh-stars-interactive {
    cursor: pointer;
}

.fh-stars-interactive .fh-star {
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

/* Tooltip "Votez !" au survol des étoiles interactives */
.fh-stars-interactive {
    position: relative;
}

.fh-stars-interactive::before {
    content: '✦ Votez !';
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(20, 20, 20, 0.88);
    color: #ffc85e;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 200, 94, 0.3);
}

.fh-stars-interactive::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 5px solid transparent;
    border-top-color: rgba(20, 20, 20, 0.88);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fh-stars-interactive:hover::before,
.fh-stars-interactive:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fh-ratings-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fh-ratings-score {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
}

.fh-ratings-max {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
}

.fh-ratings-count {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.fh-ratings-no-vote {
    font-size: 0.78rem;
    color: #64748b;
    font-style: italic;
}

/* Widget vote natif : on cache les images GIF, garde le mécanisme JS */
.fh-ratings-vote {
    margin-top: 6px;
    width: 100%;
}

.fh-ratings-vote .post-ratings img.post-ratings-image {
    display: none !important;  /* Cache les étoiles GIF moches */
}

.fh-ratings-vote .post-ratings {
    font-size: 0.75rem;
    color: #64748b;
}

/* --- Ratings dans le header du film / série / saison --- */
.fh-header-redac-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.35);
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.fh-header-redac-rating .fh-redac-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f1f5f9;
}

.fh-header-redac-rating .fh-redac-stars {
    color: #ffb400;
    font-size: 1.2rem;
    letter-spacing: 3px;
    line-height: 1;
}

.fh-header-redac-rating .fh-redac-score {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    background: #e50914;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.fh-header-ratings {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.fh-header-ratings .fh-stars {
    display: flex;
    gap: 4px;
}

.fh-header-ratings .fh-star {
    font-size: 1.35rem;
    line-height: 1;
    color: #ffb400;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
}

.fh-header-ratings .fh-star:hover,
.fh-header-ratings .fh-star.fh-star-hover {
    transform: scale(1.25);
    color: #ffd54f;
}

.fh-header-ratings .fh-star.fh-star-empty {
    color: rgba(255, 255, 255, 0.25);
}

.fh-header-score {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.fh-header-score-max {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.fh-header-votes {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 10px;
}

.fh-header-no-vote {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Cache entièrement le widget vote natif dans le header (on affiche déjà notre propre score) */
.fh-header-vote-widget {
    display: none !important;
}

.fh-sidebar-meta-genres {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fh-sidebar-meta-genres i {
    color: #e50914;
}

.fh-sidebar-meta-genres a {
    color: #ff333f;
    font-weight: 500;
    transition: color 0.2s ease;
}

.fh-sidebar-meta-genres a:hover {
    color: #ffffff;
    text-decoration: none;
}

.fh-sidebar-meta-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.fh-sidebar-meta-list li.fh-sidebar-meta-row {
    display: block !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    line-height: 1.4 !important;
}

.fh-sidebar-meta-list li.fh-sidebar-meta-row:last-child {
    border-bottom: none !important;
}

.fh-sidebar-meta-list li.fh-sidebar-meta-row span.fh-sidebar-meta-label {
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin-bottom: 6px !important;
}

.fh-sidebar-meta-list li.fh-sidebar-meta-row span.fh-sidebar-meta-label i {
    color: #e50914 !important;
    width: 14px !important;
    text-align: center !important;
    margin-right: 6px !important;
    display: inline-block !important;
}

.fh-sidebar-meta-list li.fh-sidebar-meta-row span.fh-sidebar-meta-value {
    display: block !important;
    font-size: 0.9rem !important;
    color: #f8fafc !important;
    line-height: 1.4 !important;
}

.fh-sidebar-meta-list li.fh-sidebar-meta-row span.fh-sidebar-meta-value a {
    color: #ff333f !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.fh-sidebar-meta-list li.fh-sidebar-meta-row span.fh-sidebar-meta-value a:hover {
    color: #ffffff !important;
}

.fh-more-actors-btn {
    display: inline-block !important;
    color: var(--fh-red) !important;
    background: rgba(192, 57, 43, 0.1) !important;
    padding: 0 8px !important;
    border-radius: 4px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    margin-left: 4px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(192, 57, 43, 0.25) !important;
}

.fh-more-actors-btn:hover {
    color: #ffffff !important;
    background: var(--fh-red) !important;
    border-color: var(--fh-red) !important;
    box-shadow: 0 0 8px var(--fh-red-glow) !important;
    transform: scale(1.05) !important;
}

.fh-cast-separator {
    color: #64748b !important;
}

/* Synopsis / Overview */
.fh-sidebar-overview {
    background: rgba(0, 0, 0, 0.25);
    border-left: 3px solid #e50914;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 15px;
}

.fh-sidebar-overview h3 {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #f1f5f9 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    border: none !important;
}

.fh-sidebar-overview p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0 !important;
}

/* --- Responsive Video Wrapper for Trailer --- */
.fh-sidebar-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    background: #000;
}

.fh-sidebar-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* --- Gallery & Rating Widget Style Improvements --- */
.widget_fhi {
    border-radius: 10px;
    overflow: hidden;
}

/* Specific red background for movie and series metadata widgets */
div[id^="fhi_moviemeta-"],
div[id^="fhi_seriesmeta-"] {
    background: #4d0000 !important;
}

/* Ratings widget design touch */
.movie-ratings {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.movie-ratings-box {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.movie-ratings-widget {
    margin-left: 0 !important;
    flex-grow: 1;
}

.movie-ratings-widget-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
}

.post-ratings img {
    width: 18px;
    height: 18px;
    margin-right: 2px;
    transition: transform 0.2s ease;
}

.post-ratings img:hover {
    transform: scale(1.2);
}

/* Gallery - Grille custom */
#fhi_widget_picture .fhi-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

#fhi_widget_picture .fhi-gallery-grid a {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
}

#fhi_widget_picture .fhi-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

#fhi_widget_picture .fhi-gallery-grid a:hover img {
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

#fhi_widget_picture .gallery-caption {
    display: none !important;
}


/* ============================================================
   SYSTÈME DE TITRES — Films Horreur
   ============================================================ */

/* --- Variables couleurs horror --- */
:root {
    --fh-red:        #c0392b;
    --fh-red-dark:   #8b0000;
    --fh-red-glow:   rgba(192, 57, 43, 0.35);
    --fh-text-main:  #1a1a1a;
    --fh-text-light: #555;
}

/* ---- H1 page titre (archives, catégories, dossiers) ---- */
h1.page-title {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--fh-text-main);
    padding-bottom: 12px;
    margin-bottom: 28px;
}

h1.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--fh-red) 0%, var(--fh-red-dark) 60%, transparent 100%);
    border-radius: 2px;
    transform-origin: left;
    animation: fh-title-line-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fh-title-line-in {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

/* ---- H2 titre d'article (liste d'archive) ---- */
h2.post-title a,
h2.entry-title a {
    position: relative;
    display: inline;
    background-image: linear-gradient(var(--fh-red), var(--fh-red));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.25s ease;
    padding-bottom: 2px;
}

h2.post-title a:hover,
h2.entry-title a:hover {
    background-size: 100% 2px;
    color: var(--fh-red) !important;
}

/* ---- Box titre homepage (Documentaires, Critiques…) ---- */
.mag-box-title.the-global-title,
.mag-box-title.the-global-title h3 {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
}

.mag-box-title.the-global-title h3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--fh-text-main) !important;
    padding: 0 0 8px 14px !important;
}

.mag-box-title.the-global-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 8px;
    width: 4px;
    background: var(--fh-red);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--fh-red-glow);
}

.mag-box-title.the-global-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--fh-red) 0%, rgba(192,57,43,0.15) 60%, transparent 100%);
}

/* ---- Widget sidebar titre ---- */
.widget-title.the-global-title .the-subtitle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--fh-text-main) !important;
    padding: 5px 12px 5px 10px !important;
    border-left: 3px solid var(--fh-red) !important;
    border-bottom: 1px solid rgba(192, 57, 43, 0.2) !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Supprime le border-bottom: 3px solid du thème Jannah sur les titres de widgets */
.widget-title,
.widget-title.the-global-title,
.the-global-title .widget-title,
.container-wrapper .widget-title {
    border-bottom: none !important;
}

/* ============================================================
   INDEX DES FILMS - GRILLE MODERN & ALPHABET NAV
   ============================================================ */

/* Navigation alphabétique */
.fh-alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 20px 0 35px 0;
    padding: 12px;
    background: #0f172a !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}

.fh-alphabet-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fh-alphabet-nav a:hover {
    color: #ffffff !important;
    background: rgba(192, 57, 43, 0.2);
    border-color: var(--fh-red);
    box-shadow: 0 0 8px var(--fh-red-glow);
    transform: translateY(-2px);
}

.fh-alphabet-nav a.active {
    color: #ffffff !important;
    background: var(--fh-red) !important;
    border-color: var(--fh-red) !important;
    box-shadow: 0 0 10px rgba(192, 57, 43, 0.5);
}

/* Grille de films */
.fh-movie-grid-container {
    margin: 20px 0;
}

.fh-movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

@media (min-width: 768px) {
    .fh-movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 20px;
    }
}

/* Carte de film */
.fh-movie-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 2 / 3;
}

.fh-movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3), 0 0 12px var(--fh-red-glow);
}

.fh-movie-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.fh-movie-card-poster-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.fh-movie-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fh-movie-card:hover .fh-movie-poster-img {
    transform: scale(1.08);
}

/* Fallback de couverture */
.fh-no-poster-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fh-no-poster-fallback span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Overlay moderne sur hover */
.fh-movie-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.fh-movie-card:hover .fh-movie-card-overlay {
    opacity: 1;
}

.fh-movie-card-info {
    width: 100%;
    transform: translateY(10px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fh-movie-card:hover .fh-movie-card-info {
    transform: translateY(0);
}

/* Badges */
.fh-card-meta-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.fh-card-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.fh-card-year {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.15);
}

.fh-card-rating {
    color: #ffffff;
    background: var(--fh-red);
    box-shadow: 0 0 5px rgba(192, 57, 43, 0.4);
}

.fh-card-rating i {
    font-size: 0.6rem;
    margin-right: 2px;
}

/* Titre */
.fh-card-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Aucun film trouvé */
.fh-no-movies-found {
    text-align: center;
    padding: 40px 20px;
    background: rgba(17, 24, 39, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 600;
}

.fh-no-movies-found i {
    color: var(--fh-red);
    margin-right: 6px;
}

/* Bouton Retour */
.fh-index-back-link {
    margin: 10px 0 25px 0;
}

.fh-btn-back {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 18px !important;
    background: rgba(17, 24, 39, 0.8) !important;
    color: #f1f5f9 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fh-btn-back i {
    color: var(--fh-red) !important;
    transition: transform 0.2s ease !important;
}

.fh-btn-back:hover {
    background: var(--fh-red) !important;
    color: #ffffff !important;
    border-color: var(--fh-red) !important;
    box-shadow: 0 0 12px var(--fh-red-glow) !important;
    transform: translateY(-2px) !important;
}

.fh-btn-back:hover i {
    color: #ffffff !important;
    transform: translateX(-4px) !important;
}

/* Titre de section dans les index */
.fh-index-section-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 30px 0 20px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid var(--fh-red) !important;
    display: inline-block !important;
}

/* Liste des acteurs */
.fh-actors-list-container {
    margin: 20px 0;
}

.fh-actors-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.fh-actor-item-wrap {
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
}

.fh-actor-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fh-actor-item:hover {
    background: rgba(192, 57, 43, 0.15) !important;
    border-color: var(--fh-red) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 8px var(--fh-red-glow) !important;
    transform: translateY(-2px) !important;
}

.fh-actor-name {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    transition: color 0.2s ease !important;
}

.fh-actor-item:hover .fh-actor-name {
    color: #ffffff !important;
}

.fh-actor-count {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.fh-actor-item:hover .fh-actor-count {
    color: #ffffff !important;
    background: var(--fh-red) !important;
    border-color: var(--fh-red) !important;
}

/* ============================================================
   INDEX DES GENRES - GRILLE DES CARTES DE GENRES
   ============================================================ */

.fh-genres-list-container {
    margin: 20px 0;
}

.fh-genres-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.fh-genre-item-wrap {
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
}

.fh-genre-item {
    display: block !important;
    padding: 24px 16px !important;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fh-genre-item:hover {
    border-color: var(--fh-red) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 12px var(--fh-red-glow) !important;
    transform: translateY(-4px) !important;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.15) 0%, #0f172a 100%) !important;
}

.fh-genre-item-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
}

.fh-genre-name {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.fh-genre-count {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
}

.fh-genre-item:hover .fh-genre-count {
    background: var(--fh-red) !important;
    border-color: var(--fh-red) !important;
    color: #ffffff !important;
    box-shadow: 0 0 6px rgba(192, 57, 43, 0.5) !important;
}

/* Masque le titre de page H1 par défaut doublonné sur les pages d'index */
.page-id-47276 .entry-header, /* Page Index des films */
.page-id-30644 .entry-header, /* Page Acteurs */
.page-id-30643 .entry-header, /* Page Genres */
.page-id-30642 .entry-header  /* Page Réalisateurs */
{
    display: none !important;
}

/* ============================================================
   FIL D'ARIANE (BREADCRUMB) JANNAH STYLE
   ============================================================ */

#breadcrumb {
    padding: 10px 16px !important;
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    margin-bottom: 25px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    width: 100% !important;
    clear: both !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px !important;
    box-sizing: border-box !important;
}

#breadcrumb a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

#breadcrumb a:hover {
    color: var(--fh-red) !important;
    text-shadow: 0 0 4px var(--fh-red-glow) !important;
}

#breadcrumb .tie-icon-home {
    color: var(--fh-red) !important;
    margin-right: 4px !important;
    font-size: 0.9rem !important;
    text-shadow: 0 0 4px var(--fh-red-glow) !important;
}

#breadcrumb .delimiter {
    font-size: 0 !important;
    margin: 0 10px !important;
    font-style: normal !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

#breadcrumb .delimiter::before {
    content: "\f106" !important;
    font-family: "tiefonticon" !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    color: var(--fh-red) !important;
    text-shadow: 0 0 4px var(--fh-red-glow) !important;
    display: inline-block !important;
    vertical-align: middle !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#breadcrumb .current {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* ============================================================
   FRISE CHRONOLOGIQUE (TIMELINE) ACTEURS & REALISATEURS
   ============================================================ */

.fh-timeline-container {
    position: relative;
    margin: 40px 0;
    padding: 10px 0;
}

/* Segment de ligne géré par chaque élément de la timeline */
.fh-timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 80px;
}

.fh-timeline-item::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 32px;
    bottom: -35px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    transition: all 0.3s ease;
}

/* On ne trace pas de ligne après le tout dernier élément */
.fh-timeline-item:last-child::before {
    display: none;
}

/* Badge de l'année */
.fh-timeline-badge-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 65px;
    height: 32px;
    background: #0f172a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fh-timeline-badge-year span {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Cartes de films regroupées par année */
.fh-timeline-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* La carte individuelle */
.fh-timeline-card {
    background: linear-gradient(135deg, var(--fh-red-dark) 0%, #2d0000 100%) !important;
    border: 1px solid var(--fh-red-dark) !important;
    border-radius: 8px !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-width: 550px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.fh-timeline-card-link {
    display: flex !important;
    align-items: center;
    text-decoration: none !important;
}

.fh-timeline-poster-wrap {
    width: 60px;
    height: 90px;
    flex-shrink: 0;
    background: #1e293b;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.fh-timeline-poster-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.fh-timeline-no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: #1e293b;
    color: #475569;
    font-size: 0.6rem;
    text-align: center;
    font-weight: 700;
}

.fh-timeline-details {
    padding: 12px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.fh-timeline-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    transition: color 0.3s ease;
}

.fh-timeline-rating {
    font-size: 0.8rem;
    color: #f59e0b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================================
   HOVER EFFECTS (TIMELINE GLOW)
   ============================================================ */

.fh-timeline-item:hover::before {
    background: var(--fh-red);
    box-shadow: 0 0 6px rgba(192, 57, 43, 0.4);
}

.fh-timeline-item:hover .fh-timeline-badge-year {
    border-color: var(--fh-red);
    background: var(--fh-red);
    box-shadow: 0 0 10px rgba(192, 57, 43, 0.6);
}

.fh-timeline-item:hover .fh-timeline-badge-year span {
    color: #ffffff;
}

.fh-timeline-card:hover {
    border-color: var(--fh-red) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 8px rgba(192, 57, 43, 0.3) !important;
    transform: translateY(-2px);
}

.fh-timeline-card:hover .fh-timeline-poster-img {
    transform: scale(1.06) !important;
}

.fh-timeline-card:hover .fh-timeline-title {
    color: var(--fh-red) !important;
}

/* Adaptabilité mobile */
@media (max-width: 480px) {
    .fh-timeline-item {
        padding-left: 72px;
    }
    .fh-timeline-item::before {
        left: 26px;
    }
    .fh-timeline-badge-year {
        width: 55px;
        height: 28px;
    }
    .fh-timeline-badge-year span {
        font-size: 0.75rem;
    }
    .fh-timeline-card {
        max-width: 100%;
    }
}

/* ============================================================
   SELECTEUR DE VUE (TIMELINE / GRID SWITCHER)
   ============================================================ */

.fh-view-switcher {
    display: flex;
    gap: 10px;
    margin: 15px 0 25px 0;
    align-items: center;
    justify-content: flex-start;
}

.fh-switch-btn {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
}

.fh-switch-btn i {
    font-size: 0.9rem !important;
    transition: color 0.25s ease !important;
}

.fh-switch-btn:hover,
.fh-switch-btn.active {
    background: var(--fh-red) !important;
    border-color: var(--fh-red) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.4) !important;
}

.fh-switch-btn:hover i,
.fh-switch-btn.active i {
    color: #ffffff !important;
}

.fh-view-wrapper {
    position: relative;
    width: 100%;
}

/* --- Custom Critique Series Sidebar Widgets Dark Theme --- */
#fh-critique-series-sidebar .widget,
#fh-critique-series-sidebar .container-wrapper.widget {
    background: #111111 !important;
    border: 1px solid #222222 !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
    border-radius: 4px !important;
}

/* Season grid widget hover effect */
.fh-widget-season-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Note de la Rédaction en en-tête */
.fh-header-redac-rating {
    margin-bottom: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #e50914 !important; /* Beau rouge qui tache */
    display: flex;
    align-items: center;
    gap: 6px;
}

.fh-header-redac-rating .fh-redac-stars {
    color: #e50914 !important;
    font-size: 1.75rem;
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(229, 9, 20, 0.4);
    animation: fh-neon-flicker 5s infinite alternate;
}

.fh-header-redac-rating .fh-redac-score {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.8;
    color: #cccccc !important;
}

/* Animation Néon Horror */
@keyframes fh-neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 4px rgba(229, 9, 20, 0.6),
            0 0 10px rgba(229, 9, 20, 0.6),
            0 0 20px rgba(229, 9, 20, 0.4);
        opacity: 1;
    }
    20%, 24%, 55% {
        text-shadow: none;
        opacity: 0.7;
    }
}





