/*
Theme Name:     Waveme Child Theme
Description:    Make your modifications in this child theme.
Template:       waveme
Tags: 			custom-colors, editor-style, featured-images, translation-ready
*/

/* Arrière-plan pour les éléments vérifiés */
.verified {
    background-color: #00b3ff;
}

/* Justification du texte dans les paragraphes des articles */
article p {
    text-align: justify;
}

/* Affichage vidéo unique */
.video-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-embed {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.video-embed iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-item .video-embed {
    margin-bottom: 30px;
}

.entry-header, .entry-content {
    padding: 0;
}

.artist-avatar {
    margin-right: 15px;
    flex-shrink: 0;
}

.artist-avatar img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.title-and-artist {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.title-and-artist .entry-title {
    font-size: 1.2em;
    margin: 0 0 10px;
}

.title-and-artist .entry-title a {
    text-decoration: none;
    color: #333;
}

.title-and-artist .entry-title a:hover {
    color: #0073aa;
}

.title-and-artist .post-views {
    font-size: 0.9em;
    color: #777;
    margin-top: -3px;
}

.video-details {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-actions {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    margin-left: 0;
}

.social-share {
    display: flex;
    align-items: center;
    padding: 10px 15px 0 15px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    border-top: 0;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s ease;
    margin-top: -11px;
}

.social-share a {
    transition: color 0.3s ease;
}

.social-share a.facebook {
    color: #3b5998;
}

.social-share a.facebook:hover {
    color: #2d4373;
}

.social-share a.twitter {
    color: #1da1f2;
}

.social-share a.twitter:hover {
    color: #0d95e8;
}

.social-share a.linkedin {
    color: #0077b5;
}

.social-share a.linkedin:hover {
    color: #005983;
}

.social-share a.email {
    color: #333333;
}

.social-share a.email:hover {
    color: #000000;
}

.whatsapp {
    color: #25d366;
}

.social-share span {
    margin-right: 10px;
    font-weight: bold;
}

.share-button {
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.share-button:hover {
    background-color: #005f8a;
}

@media (max-width: 768px) {
    .video-details {
        align-items: auto;
    }
}

/* Regardez aussi */
.related-videos {
    margin-top: 20px;
    padding: 0 20px;
}

.related-videos .video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-videos .video-item {
    flex: 1 1 calc(25% - 20px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background: #fff;
    text-align: left;
}

.related-videos .video-item .entry-header,
.related-videos .video-item .entry-content {
    margin-bottom: 10px;
}

.related-videos .video-item .video-link {
    text-decoration: none;
    color: inherit;
}

.related-videos .video-item .video-link .title-and-artist {
    margin-top: 10px;
}

.related-videos .video-item .video-link .entry-title {
    font-size: 1.2em;
}

.related-videos .video-item .video-link .artist-name {
    font-size: 1em;
    color: #555;
}

@media (max-width: 1200px) {
    .related-videos .video-item {
        flex: 1 1 calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .related-videos .video-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .related-videos {
        padding: 0;
    }
    .related-videos .video-item {
        flex: 1 1 100%;
    }
}

/* Navigation de page */
.page-navigation {
    text-align: center;
}

.page-navigation a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #333;
    border-radius: 5px;
}

.page-navigation a:hover {
    background-color: #333;
    color: #fff;
}

/* Contrôle du lecteur vidéo */
.plyr-playlist 
.plyr:not(.plyr-fullscreen) .plyr__video-wrapper, 
.plyr-playlist:not(.plyr-theme-video) .plyr__ads {
  position: fixed;
  top: auto;
  bottom: calc(100% + 1rem);
  left: auto;
  right: 1rem;
  height: auto;
  width: calc(var(--plyr-aspect-ratio) * var(--plyr-mini-player-height));
  background-color: #000;
  box-shadow: 0 12px 16px 1px rgba(0,0,0,.15),0 4px 22px 3px rgba(0,0,0,.1),0 6px 7px -4px rgba(0,0,0,.3);
}

/* Modèle page full width */
.full-width-content .entry-content {
    margin-left: 40px;
    margin-right: 40px;
}


/* Texte des labels en blanc */
.wpcf7 form label {
  color: white;
}

/* Texte dans les champs (input, select, textarea) en gris */
.wpcf7 form input,
.wpcf7 form select,
.wpcf7 form textarea {
  color: #00455e;
}
