/* ================================
   Contact Page Specific Overrides
================================ */

/* Keep backgrounds full width, but constrain content to 60% */
.blue-section,
.content-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Create inner containers for the actual content */
.blue-section > *,
.content-section > * {
  max-width: 60%;
  width: 100%;
}

/* Exception for direct text nodes - wrap them properly */
.blue-section h1,
.blue-section h2,
.blue-section h3,
.blue-section h4,
.blue-section p,
.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4,
.content-section p {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Style unordered lists in content-section (white background) */
.content-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem auto;
  color: #102864;
  max-width: 60%;
  text-align: left;
}

.content-section ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #102864;
}

/* Custom bullet points for content-section */
.content-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #102864;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Style unordered lists in blue-section */
.blue-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem auto;
  color: #EFF1F2;
  max-width: 60%;
  text-align: left;
}

.blue-section ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #EFF1F2;
}

/* Custom bullet points for blue-section */
.blue-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #EFF1F2;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Style for nested lists in content-section */
.content-section ul ul {
  margin: 0.5rem 0 0.5rem 1rem;
  max-width: 100%;
}

.content-section ul ul li::before {
  content: "•";
  font-size: 1rem;
  color: #102864;
}

/* Style for nested lists in blue-section */
.blue-section ul ul {
  margin: 0.5rem 0 0.5rem 1rem;
  max-width: 100%;
}

.blue-section ul ul li::before {
  content: "•";
  font-size: 1rem;
  color: #EFF1F2;
}

/* Ordered lists styling for content-section */
.content-section ol {
  padding-left: 1.5rem;
  margin: 1.5rem auto;
  color: #102864;
  max-width: 60%;
  text-align: left;
}

.content-section ol li {
  padding: 0.5rem 0;
  padding-left: 0.5rem;
  color: #102864;
}

/* Ordered lists styling for blue-section */
.blue-section ol {
  padding-left: 1.5rem;
  margin: 1.5rem auto;
  color: #EFF1F2;
  max-width: 60%;
  text-align: left;
}

.blue-section ol li {
  padding: 0.5rem 0;
  padding-left: 0.5rem;
  color: #EFF1F2;
}

/* Style links in lists for content-section */
.content-section ul li a,
.content-section ol li a {
  color: #102864;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.content-section ul li a:hover,
.content-section ol li a:hover {
  color: #7A715A;
  text-decoration: underline;
}

/* Style links in lists for blue-section */
.blue-section ul li a,
.blue-section ol li a {
  color: #EFF1F2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blue-section ul li a:hover,
.blue-section ol li a:hover {
  color: #7A715A;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .blue-section > *,
  .content-section > *,
  .blue-section h1,
  .blue-section h2,
  .blue-section h3,
  .blue-section h4,
  .blue-section p,
  .content-section h1,
  .content-section h2,
  .content-section h3,
  .content-section h4,
  .content-section p,
  .blue-section ul,
  .blue-section ol,
  .content-section ul,
  .content-section ol {
    max-width: 70%;
  }
}

@media (max-width: 768px) {
  .blue-section > *,
  .content-section > *,
  .blue-section h1,
  .blue-section h2,
  .blue-section h3,
  .blue-section h4,
  .blue-section p,
  .content-section h1,
  .content-section h2,
  .content-section h3,
  .content-section h4,
  .content-section p,
  .blue-section ul,
  .blue-section ol,
  .content-section ul,
  .content-section ol {
    max-width: 85%;
  }
}

@media (max-width: 480px) {
  .blue-section > *,
  .content-section > *,
  .blue-section h1,
  .blue-section h2,
  .blue-section h3,
  .blue-section h4,
  .blue-section p,
  .content-section h1,
  .content-section h2,
  .content-section h3,
  .content-section h4,
  .content-section p,
  .blue-section ul,
  .blue-section ol,
  .content-section ul,
  .content-section ol {
    max-width: 95%;
  }
}