.articles-hero {
    background:  url('../FE-IMAGES/articles-main.png') no-repeat center;
    background-size: cover;
    height: 40vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-bottom: 50px;
  }
  
  .hero-content {
    width: 100%;
    margin: 0 auto;
  }
  
  .hero-text h1 {
    margin-top: 10vh;
    color: white;
    font-size: 160%;
    text-align: start;
    text-shadow: 0 0 10px black;
  }
  
  .hero-text p {
    color: white;
    font-size: 1.1rem;
    text-align: start;
    margin-bottom: 0;
    padding-top: 5%;
  }
  
  .articles-container {
    margin: 0 auto 50px;
    padding: 0 20px;
  }

  .articles-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .news-article {
      display: flex;
      gap: 30px;
      padding: 20px;
      border-radius: 8px;
      transition: all 0.3s ease;
      background-color: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .news-article:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0, 143, 143, 0.2);
  }

  .article-image {
      flex: 0 0 300px;
      height: 200px;
      border-radius: 6px;
      overflow: hidden;
  }

  .article-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
  }

  .error-message, .no-articles {
    text-align: center;
    padding: 40px;
    color: #d32f2f;
    font-size: 1.1rem;
  }

  .error-message button {
    background-color: #1a3e72;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 4px;
    cursor: pointer;
  }

  .debug-info {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    z-index: 1000;
  }

  .news-article:hover .article-image img {
      transform: scale(1.05);
  }

  .article-content {
      flex: 1;
      display: flex;
      flex-direction: column;
  }

  .article-category {
      display: inline-block;
      font-size: 0.9rem;
      text-transform: uppercase;
      color: #1a3e72;
      font-weight: bold;
      margin-bottom: 8px;
      letter-spacing: 0.5px;
  }

  .article-title {
      font-size: 1.5rem;
      color: #091D34;
      margin: 0 0 12px 0;
      line-height: 1.4;
      font-family: 'Archivo Narrow', sans-serif;
  }

  .article-summary {
      color: #333;
      line-height: 1.6;
      margin: 12px 0 15px;
      font-size: 1.05rem;
      flex-grow: 1;
  }

  .article-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 15px;
  }

  .article-meta {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 0.9rem;
      color: #555;
  }

  .read-more {
      background-color: rgb(0, 143, 143);
      color: white;
      border: none;
      padding: 10px 20px;
      cursor: pointer;
      font-family: 'Archivo Narrow', sans-serif;
      font-size: 0.9rem;
      transition: all 0.3s;
      border-radius: 4px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
  }

  .read-more i{
    margin-left: 5px;
  }

  .read-more:hover {
      background-color: #1a3e72;
  }


  .error-message button {
    background-color: #1a3e72;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 4px;
    cursor: pointer;
  }

    @media (max-width: 768px) {
      .articles-hero {
        min-height: 250px;
        padding: 40px 5%;
      }

      .hero-text p {
        font-size: 1.2rem;
      }

      .article-meta{
        flex-direction: column;
        gap: 0;
      }


      .read-more{
        display: flex;
        flex-direction: column;
        padding: 10px 10px;
        margin: 5px;
      }
      
      .news-article {
          flex-direction: column;
      }

      .article-image {
          flex: 0 0 200px;
          width: 100%;
      }

      .modal-content {
        margin: 20px;
        padding: 25px;
      }
    }

