/*
 Theme Name:     Divi Child
 Theme URI:      https://intranet.laloupioteduweb.fr/wp-themes
 Description:    Divi Child Theme
 Author:         Antoine MOSQUERA
 Author URI:     https://laloupioteduweb.fr
 Template:       Divi
 Version:        1.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
	padding-top: 15px;
}

.post-template-default.single.et_right_sidebar #main-content .container:before {
	display: none;
}

.lldw-bad-icon {
  color: attr(data-color);
}

.paywall-teaser {
    position: relative;
    max-height: 10em;
    overflow: hidden;
    line-height: 1.6;
    font-size: 1.05em;
	margin-bottom: 50px;
}

.paywall-teaser-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4em;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}


/* metas */
.lldw-bad-metas {
  display: flex;
  gap: 8px; /* espace entre les tags */
  flex-wrap: wrap; /* pour mobile si nécessaire */
}

.lldw-bad-meta {
  display: flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px !important;
  font-weight: 500;
  color: #333; /* couleur du texte */
  background-color: #f0f0f0; /* couleur de fond par défaut */
}

.lldw-bad-meta_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.lldw-bad-meta_icon i {
  font-size: 12px;
}


/* Texte centré verticalement */
.lldw-bad-meta_labels {
  display: flex;
  align-items: center;
}

.lldw-bad-meta_label + .lldw-bad-meta_label {
  margin-left:5px;
}


