/* ---------------- Base Page Layout ---------------- */
body.page-layout {
  font-family: Arial, sans-serif;
  background-color: rgb(57, 64, 132);
  color: rgb(255, 255, 255);
  line-height: 1.6;
  margin: 0;
}

/* ---------------- Section Titles ---------------- */
.section,
.section-title,
h4 {
  color: rgb(57, 64, 132) !important;
  margin-bottom: 10px;
  font-weight: bold;
}

.section2 {
  color: rgb(255, 255, 255);
}

/* ---------------- Paragraphs & Text ---------------- */
p,
.text {
  margin-bottom: 1rem;
  color: rgb(57, 64, 132) !important;
  font-size: 1rem;
}

/* Secondary text links */
.text-light {
  text-decoration: none;
}

.text-light:hover {
  color: rgb(57, 64, 132) !important;
  text-decoration: underline;
}

/* ---------------- Containers ---------------- */
.main_container,
.container {
  background-color: rgb(165, 170, 181);
  color: rgb(57, 64, 132);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-decoration: none;
}

/* ---------------- Links ---------------- */
a {
  color: rgb(57, 64, 132) !important;
  text-decoration: none;
}

a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* Button-style links (Back to Top, etc.) */
.btn-link {
  color: rgb(57, 64, 132) !important;
  text-decoration: none !important;
  font-weight: bold;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 1rem;
}

.btn-link:hover {
  color: rgb(255, 255, 255) !important;
  text-decoration: underline !important;
}

/* ---------------- Lists ---------------- */
ol {
  padding-left: 1.2rem;
}

ol li {
  margin-bottom: 1.5rem;
}

/* ---------------- Footer ---------------- */
#footer .container {
  max-width: 100%;
  padding: 0 20px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  p,
  .text {
    font-size: 0.95rem;
  }

  .main_container,
  .container {
    padding: 15px; /* less padding on tablets */
  }

  ol li {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  p,
  .text {
    font-size: 0.9rem;
  }

  .main_container,
  .container {
    padding: 12px; /* tighter padding for small phones */
  }

  ol li {
    margin-bottom: 0.75rem;
  }
}
