.heroSection {
  position: relative;
  height: 100dvh;
  overflow: hidden;

  figure {
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .heroContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-black);
    width: 90%;
    max-width: 800px;
    background-color: rgba(251, 251, 251, 0.85);
    padding: 2rem;
    border-radius: 8px;

    h1 {
      font-size: var(--font-h1);
      margin-bottom: 1rem;
      font-weight: 700;
    }

    p {
      font-size: var(--font-base);
      opacity: 0.9;
    }
  }
}

.newsSection {
  padding: 6rem 0;
  background-color: var(--color-white);

  .newsGrid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;

    @media (width >= 768px) {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
  }

  .newsCard {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;

    &:hover {
      transform: translateY(-4px);
    }

    figure {
      width: 100%;
      height: 200px;
      overflow: hidden;

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

      &:hover img {
        transform: scale(1.05);
      }
    }

    .newsContent {
      padding: 1.5rem;

      time {
        display: block;
        color: #666;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
      }

      h2 {
        font-size: var(--font-base);
        margin-bottom: 1rem;
        font-weight: 700;
        line-height: 1.4;
      }
    }
  }
}

.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;

  &.active {
    display: block;
  }

  .news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
  }

  .news-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 2rem;
    margin: 5vh auto;
    overflow-y: auto;
  }

  .news-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-black);
    transition: opacity 0.3s ease;

    &:hover {
      opacity: 0.7;
    }
  }

  .news-modal-body {
    time {
      display: block;
      color: #666;
      font-size: 0.875rem;
      margin-bottom: 1rem;
    }

    h2 {
      font-size: var(--font-h2);
      margin-bottom: 1.5rem;
      color: var(--color-primary);
    }

    h3 {
      font-size: 1.25rem;
      margin: 1.5rem 0 1rem;
      color: var(--color-black);
    }

    h4 {
      font-size: 1.1rem;
      margin: 1rem 0 0.5rem;
      color: var(--color-black);
    }

    p {
      margin-bottom: 1rem;
      line-height: 1.8;
      color: #666;
    }
  }
}