/* Corrections d'affichage – brettevillelorgueilleuse.fr (site statique) */

/* médias fluides dans les contenus repris de l'ancien thème */
.entry img, .entry iframe, .entry embed, .entry object, .entry video { max-width: 100%; }
.entry img { height: auto; }
.entry iframe { border: 0; }
.entry table { width: 100%; max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.entry td, .entry th { vertical-align: top; }
.entry pre, .entry code { white-space: pre-wrap; word-wrap: break-word; }
.entry { word-wrap: break-word; overflow-wrap: break-word; }
.entry .alignleft { float: left; margin: 4px 20px 12px 0; }
.entry .alignright { float: right; margin: 4px 0 12px 20px; }
.entry .aligncenter { display: block; margin: 12px auto; }
.entry [style*="width"] { max-width: 100%; }
.page-title h1 { font-size: 18px; font-weight: 600; line-height: 1.4em; color: #666; text-transform: none; }
.page-title h2 a { color: inherit; }

/* cartes */
.bl-map { width: 100%; height: 300px; border: 0; display: block; }
.tribe-events-venue-map { float: none; width: 100%; margin: 15px 0 0; padding: 0; background: none; border: 0; }

/* agenda */
.bl-event-title { font-size: 28px; line-height: 1.3em; margin-bottom: 14px; color: #037510; }
.bl-back { margin-top: 24px; font-weight: 600; }
.bl-year { margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 2px solid #82b965; font-size: 22px; }
.entry ul.bl-events { list-style: none; margin: 0 0 20px; padding: 0; }
.entry ul.bl-events li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #eee; list-style: none; }
.bl-events .bl-date { flex: 0 0 150px; color: #777; font-size: 14px; }
.bl-events a { flex: 1 1 220px; font-weight: 600; }
.bl-events .bl-cat { font-size: 12px; text-transform: uppercase; color: #999; }
.bl-filter { margin: 10px 0 0; }
.bl-filter a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border: 1px solid #ddd; border-radius: 3px; font-size: 13px; }
.bl-filter a:hover { background: #82b965; border-color: #82b965; color: #fff; }
#tribe-events-content .tribe-events-event-meta { margin-top: 20px; }
#tribe-events-content dl { margin: 0; }
#tribe-events-content dd { margin: 0 0 10px; }
.single-tribe_events .tribe-events-event-image { margin-bottom: 20px; text-align: left; }
.single-tribe_events .tribe-events-schedule { margin: 0 0 16px; }
.single-tribe_events .tribe-events-schedule h2, .single-tribe_events .tribe-events-schedule h3 { font-size: 18px; margin: 0; }

/* colonne latérale */
.bl-latest li { padding: 8px 0; border-bottom: 1px solid #e4e4e4; line-height: 1.4em; }
.bl-latest li span { display: block; font-size: 12px; color: #999; }
.sidebar .tribe-list-widget { list-style: none; margin: 0; padding: 0; }
.sidebar .tribe-list-widget li { padding: 8px 0; border-bottom: 1px solid #e4e4e4; margin: 0; }
.sidebar .tribe-event-title { font-size: 14px; font-weight: 600; margin: 0; }
.sidebar .tribe-event-duration { font-size: 12px; color: #999; }
.sidebar .tribe-events-widget-link { margin-top: 10px; }
.widget_text .textwidget img { vertical-align: middle; }

/* listes d'articles */
.post-thumbnail img { display: block; width: 100%; height: auto; }
.bl-pagecount { clear: both; text-align: center; font-size: 13px; color: #999; padding-top: 10px; }
.pagination ul { list-style: none; }
.pagination .prev { float: left; }
.pagination .next { float: right; }
.post-tags a { margin-right: 4px; }

/* galeries photos */
.ngg-galleryoverview { overflow: hidden; margin: 10px 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.ngg-gallery-thumbnail-box { float: none; margin: 0; }
.ngg-gallery-thumbnail { margin: 0; text-align: center; }
.ngg-gallery-thumbnail img { display: block; width: 150px; height: 110px; object-fit: cover; border: 1px solid #ddd; padding: 3px; background: #fff; }
.ngg-gallery-thumbnail img:hover { border-color: #82b965; }
.ngg-clear { clear: both; }

/* pied de page */
#footer-widgets .widget { overflow: hidden; }

@media only screen and (max-width: 719px) {
  .entry .alignleft, .entry .alignright { float: none; display: block; margin: 10px auto; }
  .bl-events .bl-date { flex-basis: 100%; }
  .bl-event-title { font-size: 22px; }
  .ngg-gallery-thumbnail img { width: 130px; height: 96px; }
}

.bl-quick { display: inline-block; margin: 6px 6px 6px 0; padding: 6px 10px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-size: 13px; }
.bl-event-year { font-size: 14px; color: #777; margin: 4px 0 0; }
