/* === Global Layout === */
.content-area {
    display: flex;
    flex-direction: column;
    padding: 20px;
}



/* === Taxonomy Header === */
.taxonomy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 8px;
}

.taxonomy-text {
    flex: 1;
    margin-right: 20px;
}

.taxonomy-title {
    font-size: 2rem;
    margin: 0;
    text-decoration: underline;
    text-decoration-color: #007bff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.taxonomy-description {
    font-size: 1rem;
}


/* Styles pour la section des actualités liées */
.related-news-section {
    margin-top: 40px;
    padding: 20px;
    border-radius: 8px;
}

.section-subtitle {
    /* font-size: 24px; */
    margin-bottom: 25px;
    /* text-align: center; */
}

.related-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.related-news-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.related-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.related-news-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-thumbnail {
    width: 100%;
    height: 180px; /* Hauteur fixe pour les miniatures */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre l'image pour couvrir l'espace */
}

.news-content {
    padding: 15px;
    flex-grow: 1; /* Permet au contenu de prendre l'espace disponible */
}

.news-content h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 8px;
}

.news-content p.news-date {
    font-size: 13px;
    color: #777;
}

.more-news-button-wrap {
    text-align: center;
    margin-top: 30px;
}



.artist-image {
    max-width: 150px;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.artist-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* === Artist / Taxonomy Articles === */
.artist-articles {
    font-size: 0.675rem; 
    margin-right: 200px;
    border-radius: 8px;
}

.artist-articles span {
    color: #007bff;
}

/* === Artist Container === */
.artist-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.artist-section {
    flex: 1;
    max-width: 70%;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
}

/* === Filters === */
.event-filters {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    font-size: 0.8em;
}

.event-filter-btn {
    cursor: pointer;
    padding: 2px 16px;
    background-color:  #007bff;
    border-radius: 4px;
    user-select: none;
    transition: background-color 0.3s ease;
}


.event-filter-btn.active {
    background-color: #1B9DF0;
    color: #fff;
}

/* === Details & Video === */
.artist-details {
    margin-top: 20px;
    background-color: black;

}

#filters-container {
    display: none; /* Hide by default */
    /* Add any transition for smooth reveal/hide if desired */
    transition: all 0.3s ease-in-out;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

/* Class to show the filters container */
#filters-container.show-filters {
    display: block; /* Or flex, depending on your layout within */
    opacity: 1;
    max-height: 500px; /* A value larger than the max height of your filters */
    overflow: visible;
}


.artist-details td, th  {
    border: none;

}

.artist-video {
    margin: 20px;
}



.event-item {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
}

.event-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.event-time {
    background-color: #007bff;
    text-align: center;
    padding: 10px;
    color: white;
}

.event-time h4 {
    margin: 0;
    font-size: 1.5rem;
}

.event-time p {
    margin: 0;
    font-size: 0.875rem;
}

.event-image {
    text-align: center;
    width: 100px;
}

.event-image img {
    max-width: 100%;
    height: auto;
}

.event-details {
    flex: 1;
    text-align: left;
    padding: 10px 15px;
    vertical-align: middle;
    background-color:black;
    border: none
}

.event-details h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.event-details h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #007bff;
}

.event-details p {
    margin: 0;
    font-size: 0.875rem;
}

.short-title {
    max-width: 30ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.event-button {
    width: 15px;
    background-color: #007bff;
}

.load-more-events, .button.view-more-news{
    width: 200px;
    margin: 20px auto 0;
    padding: 10px;
    background-color: #007bff;
    text-align: center;
    display: block;
    border: none;
    border-radius: 4px;
}



/* === Sidebar === */
aside.sidebar {
    flex: 1;
    max-width: 30%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* === video === */

.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}


/* === Responsive === */
@media (max-width: 768px) {
    .taxonomy-header {
        flex-direction: column;
        text-align: center;
    }

    .taxonomy-text {
        margin-right: 0;
        margin-bottom: 20px;
        order: 2;
    }

    .artist-image {
        order: 1;
    }

    .event-item {
        flex-direction: column;
    }

    .event-time {
        width: 80px;
        text-align: center;
    }

    .event-details h4 {
        font-size: 0.65rem;
    }

    .event-details h3 {
        font-size: 1rem;
    }

    .event-details p {
        font-size: 0.8rem;
    }

    .artist-section {
        max-width: 100%;
    }

    .artist-articles {
        margin: 20px;
    }

    .short-title {
        max-width: 15ch;
    }

    .event-button {
        justify-content: center;
    }

    aside.sidebar {
        display: none;
    }

    .event-filters {
        font-size: 0.6em;
    }
    
    .related-news-list {
        grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
    }

    .section-subtitle {
    font-size: 14px;
    text-align: center;
}
}
