/* ========================================
   Subpage Styles
   ======================================== */

/* Subpage Hero Section */
.subpage-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.subpage-hero .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 51, 102, 0.4), rgba(0, 51, 102, 0.45));
}

.subpage-hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.subpage-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.subpage-hero h2 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.5px;
}

/* Page Content Section */
.page-content {
    padding: 4rem 0;
}

/*.page-content .container {
    max-width: 900px;
}*/

/* ========================================
   Tablet Styles (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .subpage-hero h1 {
        font-size: 3.5rem;
    }

    .subpage-hero h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Desktop Styles (1024px and above)
   ======================================== */
@media (min-width: 1024px) {
    .subpage-hero {
        height: 45vh;
        min-height: 400px;
    }

    .subpage-hero h1 {
        font-size: 4rem;
    }

    .subpage-hero h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Mobile Styles (up to 767px)
   ======================================== */
@media (max-width: 767px) {
    .subpage-hero {
        height: 40vh;
        min-height: 300px;
    }

    .subpage-hero h1 {
        font-size: 2.25rem;
    }

    .subpage-hero h2 {
        font-size: 1rem;
    }

    .page-content {
        padding: 2.5rem 0;
    }
}


/* ========================================
   Accessibility Page Styles
   ======================================== */

/* Section wrapper (inherits your global .section spacing) */
.accessibility-page .page-content {
    background-color: var(--white);
}

/* Content container */
.accessibility-content {
    max-width: 800px;
}

/* Headings */
.accessibility-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--navy-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Paragraphs */
.accessibility-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.accessibility-content p:last-child {
    margin-bottom: 0;
}

/* Lists */
.accessibility-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.accessibility-content li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    padding-bottom: 5px;
}

/* Links (this is the key styling you wanted) */
.accessibility-content a {
    color: var(--navy-blue);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    transition: all 0.2s ease-in-out;
}

.accessibility-content a:hover {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}

/* ========================================
   Tablet Styles (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .accessibility-content h2 {
        font-size: 1.75rem;
    }

    .accessibility-content p,
    .accessibility-content li {
        font-size: 1.05rem;
    }
}

/* ========================================
   Desktop Styles (1024px and above)
   ======================================== */
@media (min-width: 1024px) {
    .accessibility-content h2 {
        font-size: 2rem;
    }

    .accessibility-content p,
    .accessibility-content li {
        font-size: 1.1rem;
    }
}

/* ========================================
   Mobile Styles (up to 767px)
   ======================================== */
@media (max-width: 767px) {
    .accessibility-content h2 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }

    .accessibility-content p,
    .accessibility-content li {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .accessibility-content ul {
        padding-left: 1rem;
    }
}

/*SUBSCRIBE PAGE STYLES*/

.newsletter-embed {
  padding: 2rem 1rem;
}

.newsletter-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.newsletter-box {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem;
  background: var(--light-blue);
  border: 1px solid var(--gray-300);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.newsletter-box h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy-blue);
}

.newsletter-form {
  margin: 0;
}

.newsletter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.newsletter-field {
  display: flex;
  flex-direction: column;
}

.newsletter-field label {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
}

.newsletter-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 0.65rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.newsletter-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
}

.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-blue);
  background: var(--gold);
  border: none;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.15);
}

.newsletter-form button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(253, 183, 20, 0.25);
}

@media (min-width: 1024px) {
    .newsletter-form{
        align-items: flex-end;
    }
}

@media (max-width: 1099px) {
    .newsletter-box h1{
        text-align: center;
    }
}

@media (max-width: 640px) {
  .newsletter-box {
    padding: 1.5rem;
  }

  .newsletter-fields {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }
}