/* Keep IMPORTANT! red and centered (base) */
.announcement-title {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 12px;
  /* color set again below with higher specificity */
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f9;
  color: #333;
}

header {
  background: #8B022E;
  color: white;
  padding: 1em;
  text-align: center;
}

/* Headings */
header h1 { color: #fff; }

/* Headings elsewhere */
h2, h3 {
  color: #8B022E;
  font-weight: bold;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.title { color: #fff; }

nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover { text-decoration: underline; }

main {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

section { margin-bottom: 2em; }

footer {
  text-align: center;
  background: #ddd;
  padding: 1em;
}

/* Table Styling */
.table {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  border-collapse: collapse;
  font-size: 1.1rem;
  text-align: center;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.table th, .table td {
  border: 2px solid #333;
  padding: 14px 18px;
}
.table th {
  background-color: #004080;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}
.table tr:nth-child(even) { background-color: #f2f6ff; }
.table tr:hover { background-color: #e0ebff; }
/* Make the first column (Date) wider */
.table td:first-child, .table th:first-child {
  width: 120px;
  text-align: center;
}

/* FAQ Section */
.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #8B022E;
  margin-bottom: 30px;
}
/* Grid layout: 2 columns */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
/* FAQ Cards (base) */
.faq-card {
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.faq-card h3 {
  margin-top: 0;
  color: #8B022E;
  font-size: 1.3rem;
}
.faq-card p {
  margin: 10px 0 0;
  line-height: 1.5;
}

/* --- OVERRIDES: Announcement bubble (place LAST) --- */
.faq-card.announcement {
  background-color: #e6f0ff;      /* light blue */
  border-color: #004080;          /* dark blue border */
  color: #003060;                 /* default text color inside */
}
.faq-card.announcement .announcement-title {
  color: red;                     /* keep IMPORTANT! red */
}
