.badge-container {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: var(--white);
    max-width: 50%;
}

.badge-icon {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-right: 4px;
}

.badge-icon-transcript {
    background-color: #F6A623;
}

.badge-icon-thematic {
    background-color: var(--real-black);
}

.badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.badge-text {
    background-color: var(--light-orange);
    padding: 1px 5px;
    border-radius: 10px;
    margin-left: 4px;
}

.badge-text-thematic {
    background-color: #8739c9;
    padding: 1px 5px;
    border-radius: 10px;
    margin-left: 4px;
}

.badge-text-sow {
    background-color: var(--border-cyan);
    padding: 1px 5px;
    border-radius: 10px;
    margin-left: 4px;
}

.content-news-box {
    width: 90%; /* Adjust width as needed */
    background-color: grey; /* Grey background */
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2); /* Box shadow */
    padding: 20px;
    position: relative;
    margin: -50px auto 0 auto; /* Adjust positioning */
}


#transcript-container {
    padding: 20px;
}


.paragraphs {
    background-color: transparent; /* Just for text */
}

.highlight-box-news {
    text-align: left; /* Align all text to the left */
}

.highlight-box-news ul {
    padding-left: 20px; /* Indent the bullet points */
}

.highlight-box-news li {
    list-style-position: inside; /* Make sure the bullets are inside the div */
}

@media (min-width: 900px) {
    .content-container {
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
    }

    .highlight-box-news {
        background-color: var(--break-white); /* Highlights section */
        padding: 10px;
        margin-bottom: 20px; /* Adds space between text and box */
        border-radius: 10px; /* Soft corners like in your image */
        box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3); /* Subtle shadow */
    }
}

@media (max-width: 900px) {
    .content-container {
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
    }
}


@media (max-width: 600px) {
    .content-container {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

}


.back-link {
    text-decoration: none; /* Supprime le soulignement */
    font-size: 16px; /* Taille de la police */
    font-weight: bold; /* Texte en gras */
    display: inline-flex; /* Utilisation de flexbox pour aligner la flèche et le texte */
    align-items: center; /* Centrer verticalement le texte et la flèche */
}

.card-stock-fx {
    height: 50%;
    border-radius: 3vw;
    margin-bottom: 1px;
    cursor: pointer;
}

.rounded-circle-watchlist {
    background-color: black;
    height: 25px;
    width: 25px;
}

.button-back:hover {
    color: var(--border-cyan);
}

.mid-image,
.right-image,
.left-image {
  max-width: 80%;     /* taille mini */
  width: 80%;         /* largeur relative mais limitée */
  height: auto;       /* ratio conservé */
  margin-bottom: 40px;
  object-fit: contain; /* évite déformation si image bizarre */
}

/* Positionnement desktop */
.mid-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.right-image {
  float: right;
  margin-left: 15px;
  margin-bottom: 15px;
  margin-top: 0;
  max-width: 60%;
  width: 50%;
}

.left-image {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
  margin-top: 0;
  max-width: 60%;
  width: 50%;
}

/* Clear floats */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive : sur petits écrans toutes centrées et max 80% */
@media (max-width: 768px) {
  .mid-image,
  .right-image,
  .left-image {
    float: none !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 80% !important;
    max-width: 300px !important;
    min-width: 150px !important;
  }
}


.hero-image {
    width: 60%;
    height: auto;
    margin: 20px 0;
    display: block; /* Ensures proper alignment */
    margin-left: auto;
    margin-right: auto;
}

.middle-image {
    width: 50%;
    height: auto;
    margin: 20px 0 20px 20px;
    display: inline-block;
    float: right;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .middle-image {
        width: 100%; /* Full width on smaller screens */
        float: none; /* Removes float to prevent layout issues */
        display: block; /* Centers the image */
        margin: 20px auto; /* Centers with margin */
    }
}