/* ========== Post Hero Section ========== */
.post-hero {
  background: linear-gradient(to right, #003366cc, #005fa3cc);
  color: #fff;
  text-align: center;
  padding: 80px 20px 60px;
  margin-top: 2rem;
}
.post-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.post-hero p {
  font-size: 1.125rem;
}

/* ========== Post Content ========== */
.post-content {
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #333;
}
.post-content h2 {
  font-size: 1.8rem;
  color: #004a8f;
  text-align: left;
  font-weight: 600;
  margin-bottom: 2rem;
}
.post-content h3 {
  color: #222;
  margin: 1.5rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}
.post-content h4 {
  color: #222;
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}
.post-content p {
  margin-bottom: 1rem;
  text-align: left;
  font-size: 1rem;
}

/* ========== Notification Overview ========== */
.notification-overview {
  display: flex;
  gap: 20px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.notification-overview ul {
  list-style: none;
  padding: 40px 10px;
  margin: 0;
  flex: 1 1 350px;
}
.notification-overview li {
  margin-bottom: 16px;
  font-size: 1.125rem;
  line-height: 2.5;
}
.notification-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-right: 3rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  flex-shrink: 0;
}

/* ========== Table ========== */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 30px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.post-content th,
.post-content td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: center;
}
.post-content thead {
  background-color: #e6f2ff;
  color: #003366;
  font-weight: 600;
}
.post-content tbody tr:hover {
  background-color: #f9f9f9;
}
.post-content td:last-child {
  font-weight: bold;
}

/* ========== FAQ Section ========== */
.faq-block {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}
.faq-block h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #003366;
}
.faq-block .faq-item {
  margin-bottom: 24px;
  padding: 20px;
  background-color: #f9fbff;
  border-left: 4px solid #007acc;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.faq-block .faq-item:hover {
  background-color: #f0f7ff;
}
.faq-block .faq-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #002b5c;
}
.faq-block .faq-item p {
  margin: 0;
  color: #333;
  line-height: 1.6;
  text-align: left;
}

/* ========== CTA Section ========== */
.cta-section {
  background: #f5faff;
  text-align: center;
  padding: 40px 20px 0px;
}
.cta-section h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 16px;
  color: #003366;
}
.cta-section p {
  font-size: 1rem;
  text-align: center;
  color: #555;
  margin-bottom: 20px;
}
.cta-section a {
  background: #007acc;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}
.cta-section a:hover {
  background: #005fa3;
}

/* ========== Salary Structure Table ========== */
.table-container-Structure {
  overflow-x: auto;
}
.table-container-Structure table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.table-container-Structure td,
.table-container-Structure th {
  padding: 8px;
  text-align: center;
  border: 0.5pt solid #000;
  font-family: Arial, sans-serif;
}
.table-container-Structure .header {
  background-color: #00B0F0;
  color: #212529;
  font-weight: bold;
  font-size: 14pt;
}
.Salary-Structure {
  background-color: #C6E0B4;
  font-weight: bold;
  font-size: 14pt;
}
.gross-salary {
  background-color: #FFF2CC;
  color: #212529;
  font-size: 14pt;
}
.statutory-contributions {
  background-color: #FCE4D6;
  color: #212529;
  font-size: 14pt;
}
.statutory-deduction {
  background-color: #E2EFDA;
  color: #212529;
  font-size: 14pt;
}
.table-container-Structure td:last-child {
  font-weight: normal;
}
.table-container-Structure tr.header td:last-child {
  font-weight: bold;
}

/* ========== Source label + link styling ========== */
.source-line {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: #FC6A6B; /* Source text color */
  display: inline-flex; /* inline flex ensures alignment */
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.source-line .source-label {
  font-size: 1.5rem;
  color: #FC6A6B;
}
.source-line a,
a.source-link {
  color: #005fa3;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
.source-line a:hover,
a.source-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  color: #003e6b;
}
.source-line a:focus,
a.source-link:focus {
  outline: 3px solid rgba(0, 95, 163, 0.15);
  outline-offset: 3px;
  border-radius: 4px;
}
.source-line a:visited,
a.source-link:visited {
  color: #003f67;
}

.post-content ul {
  padding-left: 1.2rem;
}


.circle-bullets {
  list-style: none;        /* Remove default browser bullets */
  padding-left: 0;
  margin: 1rem 0;
}

.circle-bullets li {
  position: relative;
  padding-left: 22px;      /* Space for custom bullet */
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;             /* Text color */
}

.circle-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;               /* Align vertically */
  width: 8px;
  height: 8px;
  background-color: #005fa3;  /* DCPS brand blue */
  border-radius: 50%;      /* Makes it a circle */
}



/* ========== Responsive Design ========== */
@media screen and (max-width: 600px) {
  table {
    font-size: 12px;
  }
  td, th {
    padding: 4px;
  }
}
@media (max-width: 768px) {
  .post-hero h1 {
    font-size: 1.6rem;
  }
  .cta-section h2 {
    font-size: 1.4rem;
  }
  .notification-overview {
    flex-direction: column;
  }
  .notification-image {
    max-width: 100%;
  }
  .post-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .faq-block h2 {
    font-size: 1.25rem;
  }
  .faq-block .faq-item {
    padding: 16px;
  }
  .faq-block .faq-item strong {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .source-line {
    font-size: 0.9rem;
    gap: 0.4rem;
  }
}
