/* =========================
   GLOBAL
========================= */

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f6f8;
    margin: 0;
    padding: 0;
}

.area-main {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

h1.first-letter {
    font-size: 32px;
    margin-bottom: 5px;
}

h2.txt-medium-gray {
    color: #777;
    font-weight: normal;
    margin-bottom: 25px;
}

/* =========================
   TRI SELECT
========================= */

fieldset.titleBackGrey {
    background: #efefef;
    padding: 10px;
    border-radius: 6px;
    text-align: right;
    margin-bottom: 25px;
}

fieldset label {
    margin-right: 10px;
    font-weight: bold;
}

select {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
}

/* =========================
   GRID RESULTATS
========================= */

.searchResult {
    display: flex;
    gap: 20px;
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.searchResult:hover {
    transform: translateY(-3px);
}

/* Image */
.tile_thumbnail img {
    display: block;
    width: 312px;
    height: 250px;
    object-fit: cover;
}

/* Contenu */
.tile_content {
    padding: 15px;
    flex: 1;
}

.tile_title {
    margin: 0 0 10px 0;
}

.tile_title a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.tile_title a:hover {
    color: #0077cc;
}

.tile_content div {
    margin-bottom: 8px;
    color: #555;
}

.tile_content span {
    color: #888;
    font-size: 14px;
}

/* =========================
   HALL OF FAME
========================= */

.hof-container {
    display: flex;
    align-items: center;
    gap: 25px;
    background: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.hof-img img {
    width: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.hof-text h2 a {
    text-decoration: none;
    color: #222;
}

.hof-date {
    color: #777;
    font-size: 14px;
}

.caption span {
    display: block;
    font-size: 14px;
    color: #555;
}

/* =========================
   PAGINATION
========================= */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.pagination li {
    display: inline-block;
}

.pagination a {
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #0077cc;
    color: white;
    border-color: #0077cc;
}

.pagination strong {
    padding: 8px 12px;
    background: #0077cc;
    color: white;
    border-radius: 6px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .searchResult {
        flex-direction: column;
    }

    .tile_thumbnail img {
        width: 100%;
        height: auto;
    }

    .hof-container {
        flex-direction: column;
        text-align: center;
    }

}


.inline-datas {
    display: flex;
    gap: 15px;
    padding: 0;
    margin-top: 10px;
    list-style: none;
}

.inline-datas li {
    text-align: center;
}

.inline-datas a {
    text-decoration: none;
    color: #444;
    font-size: 12px;
}

.inline-datas img {
    display: block;
    margin: auto;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.inline-datas img:hover {
    transform: scale(1.1);
}

.icon-label {
    margin-top: 5px;
    font-size: 11px;
    font-weight: bold;
}

.video-icon {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-size:40px;
    color:white;
    pointer-events:none;
}
.tile_thumbnail {
    position:relative;
}

.active-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* chaque icône + texte */
.filter-item {
    display: flex;
    flex-direction: column;   /* 🔥 met le texte dessous */
    align-items: center;      /* 🔥 centre horizontalement */
    text-decoration: none;
    color: #444;
    font-size: 11px;
    width: 60px;              /* 🔥 largeur fixe */
}

/* image */
.filter-item img {
    width: 50px;              /* 🔥 plus petit */
    height: 50px;
    object-fit: contain;
    margin-bottom: 4px;
}

/* texte */
.filter-label {
    text-align: center;
    line-height: 1.2;
}

.video-badge {
    position:absolute;
    top:5px;
    left:5px;
    background:red;
    color:white;
    font-size:10px;
    padding:2px 5px;
}
.tile_thumbnail {
    position:relative;
}

.persons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.person-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 60px;
}

.person-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.person-item span {
    font-size: 11px;
    text-align: center;
}

.year-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}



.year-item:hover .year-icon {
    background: #ddd;
    transform: scale(1.05);
}

.year-slider-container {
    margin: 15px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 10px;
}


.slider-wrapper {
    position: relative;
}

.slider-wrapper input[type=range] {
    width: 100%;
    margin: 5px 0;
}
.year-icons {
    display: flex;
    gap: 10px;
}

.year-item {
    cursor: pointer;
    text-align: center;
    width: 70px;
}

.year-icon {
    width: 60px;
    height: 60px;
    background: #eee;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
    font-size: 14px;
}

.icon-label {
    margin-top: 5px;
    font-size: 11px;
    font-weight: bold;
}

/* PANEL */
.year-slider-panel {
    margin-top: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 10px;
}

.hidden {
    display: none;
}

.year-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.year-actions {
    text-align: right;
    margin-top: 8px;
}
