@font-face {
  font-family: 'BrownBold'; /* Nom de la police */
  src: url('Brown-Bold.woff2') format('woff2'); /* Chemin vers le fichier .woff2 */
}

@font-face {
  font-family: 'BrownRegular'; /* Nom de la police */
  src: url('Brown-Regular.woff2') format('woff2'); /* Chemin vers le fichier .woff2 */
}

body{
  font-family: 'BrownRegular' !important;
  padding-top: 10px; /* Ajuster selon la hauteur du header-top */
}

.css_title_mini_top{
  font-size: 17px;
  font-weight: 700;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0px;
}

.date_mini {
  color: #8d8c8c;
  font-size: 12px;
  font-weight: 400;
}


/* HEADER TOP */
.header-top {
    /*display: flex;
    justify-content: space-between;
    align-items: center;*/
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1050;
}

.logo img {
    width: 140px;
}

.article-preview {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-preview img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.article-preview h6 {
    margin: 0;
    font-size: 14px;
}

.social-icons a {
    margin: 0 8px;
    color: black;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}

/* MENU NAVBAR */
.navbar {
    background: white;
    transition: all 0.3s ease-in-out;
    padding: 10px 20px;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bottom_menu{
      border-bottom: solid 3px #f8ea1b;
    padding-left: 0px;
    padding-right: 0px;
}

.navbar-nav {
    display: flex;
    gap: 20px;
}

.navbar .nav-link {
      transition: 0.3s;
      color: #757575;
      font-size: 13px;
      font-weight: 700;
}

.navbar.scrolled .nav-link {
    color: white;
}

.navbar .nav-link:hover {
    color: #007bff;
}

.title_web {
  color: #757575;
  font-size: 25px;
  font-weight: 400;
  font-style: italic;
}

.ligne{
      width: 100%;
    height: 2px;
    background: #158f38;
}

.article {
    position: relative;
    overflow: hidden;
}

.article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.article:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    transition: background 0.3s ease-in-out;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.73) 100%);
    background-blend-mode: normal;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgb(30 54 100) !important;
}

.article:hover .overlay {
     background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.73) 100%); /* Assombrit au hover */
}

.date_block {
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  font-style: italic;
}

.loremipsumres {
    color: #424242;
    font-family: 'BrownRegular';
    font-size: 14px;
    font-weight: 400;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgb(30 54 100) !important;
}

.lePrsidentres {
    font-family: 'BrownBold';
    font-size: 18px;
    font-weight: 800;
    color: #000000;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category {
  position: absolute;
    top: 10px;
    left: 10px;
    background: #1e3664;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 2;
    font-size: 12px;
    font-weight: 500;
}

.input_news{
      margin-bottom: 8px;
    background: #11254b;
    border-radius: 0px;
    border-color: #11254b;
}

.june82019 {
  color: #cecece;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
}


.thetop8pro {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
        margin-bottom: 1px;
}


.btn_news{
      width: 100%;
    background: #b5a900;
    border-radius: 0px;
    border-color: #b5a900;
}

.title_block_article{
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Container principal */
.custom-carousel-container {
  margin: 0 auto;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
}

.campaign-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.campaign-card-img-wrapper {
    position: relative;
}

.campaign-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700 !important;
    text-align: left;
    line-height: 1.42em;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.storyTime {
  color: #158f38;
  font-size: 33px;
  font-weight: 700;
}

.br_stori {
  background: rgba(27,172,69,0.07);
  background-blend-mode: normal;
}


.campaign-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 60px;
    z-index: 2;
    width: 60px !important;
}

.campaign-card-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 15%, rgba(17, 39, 21, 1) 94%);
    z-index: 1;
}

.campaign-date {
    color: #ffffff !important;
    text-align: left;
    font-size: 11px;
    font-weight: 400;
}

.campaign-card-body {
    position: relative;
    padding: 1rem;
    background: rgba(17, 39, 21, 1) 94%;
}

.campaign-card-img {
    width: 100%;
    /* height: 300px; */
    object-fit: cover;
}

/* Style pour chaque item du carousel */
.custom-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fbfbfb;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 6px;
}

.custom-item:hover {
  transform: scale(0.91);
  box-shadow: -1px 2px 20px rgba(0, 0, 0, 0.2);
} 

/* Section des mÃŠdias (image et icÃ´ne de lecture) */
.custom-carousel-media {
position: relative;
overflow: hidden;
}

.custom-carousel-image {
width: 100%;
object-fit: cover;
transition: transform 0.3s ease-in-out;
}

.custom-carousel-card:hover .custom-carousel-image {
transform: scale(1.1);
}

/* IcÃ´ne de lecture dynamique */
.custom-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 30px;
  transition: background-color 0.3s ease;
  z-index: 2;
  width: 70px;
  height: 70px;
  padding-left: 25px;
}

.custom-play-icon:hover {
background-color: rgba(0, 0, 0, 0.7);
}

/* Informations sous la vidÃŠo */
.custom-carousel-info {
padding: 15px;
text-align: left;
}

.custom-carousel-title {
  color: #202020;
  margin-bottom: 10px;
  font-family: 'BrownBold';
  font-size: 18px;
  font-weight: 700;
  line-height: 135%;
  text-decoration: none;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-carousel-date {
font-size: 14px;
color: #777;
}

/* Personnalisation de la navigation dans le carousel */
.owl-nav {
display: none;
}

/* Pour la responsive design */
@media (max-width: 768px) {
.custom-item {
  margin-bottom: 20px;
}

.custom-carousel-image {
  height: 220px;
}
}
 
@media (max-width: 480px) {
.custom-carousel-image {
  height: 200px;
}

.custom-carousel-title {
  font-size: 16px;
}

.custom-carousel-date {
  font-size: 12px;
}
}

.campaign-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700 !important;
    text-align: left;
    line-height: 1.42em;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}