#gallery {
  position: relative;
  overflow: hidden;
  background-color: var(--accent-white);
  z-index: 1;
}

#gallery::before {
  content: '';
  display: block;
  background: var(--secondary-green-bg);
width: 100%;
	height: 100%;
  position: absolute;
  top: 80px;
  left: 0px;
  z-index: -1;
}

#gallery::after {
	content: '';
	display: block;
	background: var(--accent-white);
	position: absolute;
	width: 20%;
	aspect-ratio: 156 / 290;
	top: 80px;
	right: 0px;
	clip-path: polygon(0 0, 100% 0, 100% 100%);
	z-index: -1;
}

#section-news {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: start;
    flex-direction: row;
    gap: 6rem;
    margin-top: 0;
    margin-bottom: 6rem;
}

.news-card {
    flex: 0 1 calc(33.333% - 4rem);
    display: flex;
    flex-direction: column;
    min-width: 250px;
    gap: 1rem;
}

.news-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    object-fit: contain;
}

.news-image img {
	width: 100%;
}

/* Responsive Breakpoints */
@media screen and (max-width: 1024px) {
  .news-card {
    flex: 0 1 calc(50% - 2rem);
  }
}
@media screen and (max-width: 768px) {
    #section-news {
    	gap: 4rem;
    }
}
@media screen and (max-width: 640px) {
  .news-card {
    flex: 0 1 100%;
    gap: 0.75rem;
  }
}