/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/



/* Fond global */
body {
    background-color: #E8E8E8;
    color: #1A1A1A;
    font-family: 'Exo 2', sans-serif;
}

/* Liens */
a {
    color: #4A4A4A;
    text-decoration: none;
}
a:hover, a:focus {
    color: #363636;
    text-decoration: underline;
}

/* Boutons */
.btn {
    background-color: #4A4A4A;
    color: #fff;
    border: 0px;
    border-radius: 0; /* carré */
    box-shadow: none; /* pas d’ombre */
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:hover,
.btn:focus {
    background-color: #363636;
    border:0px;
    color: #fff;
}

/* Gros bouton écouter le direct */
.live-btn button {
    background-color: #4A4A4A;
    color: #fff;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 0;
    border: 0px;
    box-shadow: none;
}
.live-btn button:hover {
    background-color: #363636;
}

/*.volume-control{
    display: none !important;
}

/* image clicable */
.play-cover {
    width: 100%;
    padding-top: 100%; /* carré */
    background: #e0e0e0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem; /* taille du play */
    color: #ffffffcc; /* blanc semi-transparent */
    pointer-events: none; /* pour que le clic aille au div parent */
}

/* Bouton Direct dans le header */
.live-btn .player-source button {
    transition: all 0.3s ease;
}

.live-btn .player-source button.active {
    background-color: #4A4A4A;
    color: white;
    border:0px;
}

/* Indicateur de source */
.source-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #4A4A4A;
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    display: none;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.btn-le-direct {
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    white-space: nowrap;
}

.container-header-menu{
    padding-right: 0 ;
}

.form-control{ 
    border-radius: 0;
}

.site-main{
    margin-left: 33px;
    margin-right: 38px;
}

@media (max-width: 995px) {
    .site-main{
        margin-left: 0px;
        margin-right: 0px;
    }
    .live-btn button {
        font-size: 1.2rem;
        padding: 0.5rem 0.9rem;
    }
}

@media (max-width: 767.98px) {

    .site-logo {
        max-width: 40% !important;
    }

    .btn-le-direct {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .menu-toggle .btn {
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 320px) {
    .live-btn button {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
    }
}