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

/* Section Wrapper */
.financial-statements {
  padding: 0.5rem;
  font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.filter-container label {
  font-weight: bold;
}

.filter-container select {
  font-size: 1rem;
}

.year-group {
  margin-bottom: 3rem;
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  width: 100%;
}

.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 288px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Remove margin from the last card to prevent extra spacing */
.card:last-child {
  margin-right: 0;
}

.card.hidden {
  display: none !important;
}

.hidden {
  display: none;
}

/* Mobile: Stack vertically */
@media (max-width: 600px) {
  .cards-row {
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1rem;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .card-header {
    flex-direction: row;
    align-items: center;
  }

  .card-header .badge {
    order: 0;
    margin-bottom: 0;
  }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

/* Tablet & smaller: stack badge above heading */
@media (max-width: 991px) and (min-width: 601px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-header .badge {
    order: -1; /* moves badge above the heading */
    margin-bottom: 0.25rem;
  }
}

.badge {
  padding: 0.25em 0.6em;
  font-size: 0.75rem;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: bold;
}

.badge.annual {
  background-color: #003366;
  color: #fff;
}

.badge.quarterly {
  background-color: #2a577f;
  color: #fff;
}

.period {
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  color: #333;
}

.btn {
  display: inline-block;
  margin-top: auto;
  text-decoration: none;
  color: #005a9e;
  font-weight: bold;
  margin-bottom: 0.3rem;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.btn:hover {
  color: #003366;
  text-decoration: underline;
}

.btn-secondary {
  color: #444;
  font-size: 0.9rem;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.btn-secondary:hover {
  color: #000;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1230px) {
  .news-container {
    padding: 33px 20px 33px;
    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;
  }
}