.text-container img {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    margin-bottom: 20px;
}
.section-content-news h1, h2, h3, h4 {
    text-align: center;
    font-size: var(--font-size-l);
    margin: 10px 0;
    color: var(--purple-dark);
}



.section-content-news p {

    font-size: var(--font-size-s);
    margin: 10px 30px;
    color: var(--purple-dark);
    text-align: justify;
}

.section-content-news .article-content p::after {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0px 5px;
    background: rgba(255, 255, 255, 0.7);
}



.section-content-news {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
    max-width: 1300px;
    margin-top: 50px;
    padding: 40px 0;
}


.news-container-individual{
    width: 100%;
    height: auto;
    margin-bottom: 50px;
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-m);
    display: flex;
    flex-direction: column;
    padding: 35px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.text-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 20px;
    gap: 20px;
}

.find-more {
    display: inline-block;
    background: #300268;
    color: white;
    padding: 10px 18px;
    font-size: var(--font-size-m);
    border-radius: 20px;
    margin-bottom:20px;
    text-decoration: none;
    transition: 0.3s;
    visibility: visible; 

}

.find-more:hover {
    background: #5a0dbf;
}

.navigation-button-prev {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 200px;
    padding: 20px;
}

.navigation-button-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 200px;
    padding: 20px;
}

.navigation-button-prev img:hover, .navigation-button-next img:hover {
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.navigation-button-prev button {
    background: none;
    border: none;
    cursor: pointer;
}

.navigation-button-next button {
    background: none;
    border: none;
    cursor: pointer;
}

.navigation-button-prev img {
    height: 60px;
    width: auto;
    transition: 0.3s;
    border-radius: 50%;
}

.navigation-button-next img {
    height: 60px;
    width: auto;
    transition: 0.3s;
    border-radius: 50%;
}

.date-info {
    padding-top: 10px;
    font-style: italic;
    font-weight: bold;
    color: #888;
    font-size: var(--font-size-xs);
}



  

.target-group h2 {
    text-align: center;
    font-size: 2rem;
    color: #140c49;
    margin-bottom: 30px;
    font-weight: bold;
  }
  
  
.target-group p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
  }
  
  
.target-group ol {
    counter-reset: section;
    text-align: left;
    list-style: none;
    padding-left: 40px;
  }
  
.target-group ol > li {
    counter-increment: section;
    margin-bottom: 25px;
    font-weight: bold;
    color: #222;
  }
  
.target-group ol > li::before {
    content: counter(section) ". ";
    color: #140c49;
    font-weight: bold;
    margin-right: 8px;
  }
  

.target-group ul {
    list-style: none;
    margin-top: 10px;
    padding-left: 20px;
  }
  
.target-group ul > li {
    position: relative;
    padding-left: 20px;
    font-weight: normal;
    color: black;
    margin-bottom: 5px;
  }
  
.target-group ul > li::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    color: #140c49;
    font-weight: bold;
  }
  
  section {
    scroll-margin-top: 100px; /* cât de înalt e headerul tău */
}

  

@media screen and (max-width: 1150px) {
    .section-content-news {
        flex-direction: column;
        padding: 10px;
    }

    .text-container img {
        max-height: 200px;
    }
    
    .find-more {
        font-size: 12px;
    
    }
    .navigation-button-prev {
        max-width: 200px;
    }
    
    .navigation-button-next {
        max-width: 200px;
    }
    
    
    .navigation-button-prev img {
        height: 25px;
        width: auto;
        transition: 0.3s;
        border-radius: 50%;
    }
    
    .navigation-button-next img {
        height: 25px;
        width: auto;
        transition: 0.3s;
        border-radius: 50%;
    }

    .target-group {
        padding: 30px 10px;
      }
    
    .target-group h2 {
        font-size: 1.5rem;
      }
}