/* PRESS RELEASES - DEFAULT */
:root {
  --primary-color: #3498db;
  --primary-color-2: #2d5d9f;
  --secondary-color: #2980b9;
  --text-color: #000;
  --background-color: #fff;
  --card-background: #f9f9f9;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  box-sizing: border-box;
}

/* Top Section - Recent Releases */
.recent-releases {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.press-card {
  width: calc(33.33% - 1.5rem); /* For 3 cards per row */
  background-color: var(--card-background);
  background: linear-gradient(to right, #f0f4ff, #e2f0ff);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
}

.press-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(to right, #f0f4ff, #d7e9fc);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.press-card .news-headline {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: white;
  text-decoration: none;
}

.press-card .date {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-decoration: none;
}

.press-card .excerpt {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #777;
  text-decoration: none;
}

.news-headline {
  display: inline-block;
  background: linear-gradient(45deg, #2d5d9f, #0d1a2f); /* Slate to Navy */
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.press-card:hover .news-headline {
  background: linear-gradient(45deg, #3c82c5, #0d1a2f); /* Sky to Navy */
  color: #ffcc00;
}

/* Bottom Section - Older Releases */
.older-releases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.release-item {
  width: 100%; /* For 1 item per row set to 100% or For 2 items per row set to calc(50% - 0.75rem) */
  background-color: var(--card-background);
  background: linear-gradient(to right, #f0f4ff, #e2f0ff);
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start; /* aligns top edges */
  text-align: left;
  justify-content: space-between;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.release-item:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, #f0f4ff, #d7e9fc);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.release-item .date {
  font-size: 0.8rem;
  text-wrap: nowrap;
  color: var(--secondary-color);
  min-width: 133px;
}

.release-item a {
  flex-shrink: 0;
}

.older-news-headline {
  font-size: 1rem;
  text-wrap: wrap;
  text-decoration: none;
  font-weight: bold;
  color: var(--primary-color);
  flex: 1;
  text-align: left;
}

.release-item .older-news-headline {
  text-align: left;
}

.release-item:hover .older-news-headline {
  color: var(--primary-color-2);
}

/* Responsive Design */
@media (max-width: 1230px) {
  .news-container {
    padding: 1rem 0.5rem 2rem;
    margin: 0 auto 40px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .recent-releases {
    flex-direction: column;
  }
  .press-card {
    width: 100%;
  }
  .release-item {
    width: 100%;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .release-item {
    flex-direction: column;
    gap: 0.25rem;
  }
}
