/* News Page Header Styling - Uses standard jcc-section layout */
.view-news .view-header .entry-content {
  margin-bottom: 2rem;
}

/* Main heading with decorative line */
.view-news .view-header .jcc-section-heading__title {
  margin-bottom: 2rem;
}

/* Subsection spacing */
.view-news .view-header .entry-content section {
  margin-bottom: 2.5rem;
}

.view-news .view-header .entry-content section:last-child {
  margin-bottom: 0;
}

/* Subsection headings */
.view-news .view-header .entry-content h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1b1b1b;
  font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
}

/* Recent news list styling */
.view-news .view-header .the_posts {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.view-news .view-header .the_posts li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dfe1e2;
}

.view-news .view-header .the_posts li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.view-news .view-header .the_posts a {
  color: #005ea2;
  text-decoration: none;
  line-height: 1.6;
}

.view-news .view-header .the_posts a:hover {
  text-decoration: underline;
}

.view-news .view-header .the_posts time {
  font-weight: 600;
  color: #565c65;
}

/* Horizontal rule separator */
.view-news .view-header hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 2px solid #dfe1e2;
}

/* Address block styling */
.view-news .view-header address {
  font-style: normal;
  margin: 1rem 0;
}

.view-news .view-header address p {
  margin: 0;
  line-height: 1.8;
}

/* Button styling */
.view-news .view-header .wp-block-buttons {
  margin-top: 1.5rem;
}

.view-news .view-header .wp-block-button__link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #005ea2;
  color: white;
  text-decoration: none;
  border-radius: 0.25rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.view-news .view-header .wp-block-button__link:hover {
  background-color: #1a4480;
  color: white;
  text-decoration: none;
}

/* Lists within sections */
.view-news .view-header .entry-content ul:not(.the_posts) {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.view-news .view-header .entry-content ul:not(.the_posts) li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.view-news .view-header .entry-content ul:not(.the_posts) li:last-child {
  margin-bottom: 0;
}

/* Paragraph spacing */
.view-news .view-header .entry-content p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.view-news .view-header .entry-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
/* News Page Header Alignment Fix */

/* Ensure view-header has no extra padding/margin */
.view-news .view-header {
  margin: 0;
  padding: 0;
}

/* Ensure header jcc-section aligns with content jcc-section */
.view-news .view-header .jcc-section {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

/* Remove any extra padding from usa-prose wrapper */
.view-news .view-header .usa-prose {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

/* Ensure H2 title stays within container */
.view-news .view-header .jcc-section-heading__title {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

/* Fix H2 title flex layout to stay in bounds */
@media all and (min-width:64em) {
  .view-news .view-header .jcc-section-heading__title--full,
  .view-news .view-header .jcc-section-heading__title--partial {
    width: 100%;
    padding-right: 0 !important;
    margin-left: 0 !important;
  }
}

   News Articles Section - Two Column Layout
   WCAG 2.1 AA Compliant
   Matches site-wide page layout width
   ======================================== */

/* Main news section container - matches other pages */
.view-news .jcc-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Two-column layout wrapper */
.view-news .view-content-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Left column - filters (fixed width) */
.view-news .view-filters {
  flex: 0 0 300px;
}

/* Right column - content and pager (flexible) */
.view-news .view-content-area {
  flex: 1;
  min-width: 0;
}

/* Filter sidebar styling */
.view-news .views-exposed-form {
  background-color: #f0f0f0;
  padding: 1.5rem;
  border-radius: 0.25rem;
  position: sticky;
  top: 1rem;
}

.view-news .views-exposed-form .form-item {
  margin-bottom: 1.25rem;
}

.view-news .views-exposed-form .form-item:last-child {
  margin-bottom: 0;
}

/* Form labels - WCAG requires visible labels */
.view-news .views-exposed-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1b1b1b;
}

/* Form inputs with proper accessibility */
.view-news .views-exposed-form input[type="text"],
.view-news .views-exposed-form input[type="search"],
.view-news .views-exposed-form input[type="date"],
.view-news .views-exposed-form select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #565c65;
  border-radius: 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1b1b1b;
  background-color: white;
}

/* Focus states - WCAG 2.1 requires visible focus indicator */
.view-news .views-exposed-form input[type="text"]:focus,
.view-news .views-exposed-form input[type="search"]:focus,
.view-news .views-exposed-form input[type="date"]:focus,
.view-news .views-exposed-form select:focus {
  outline: 2px solid #005ea2;
  outline-offset: 2px;
  border-color: #005ea2;
}

/* Form actions */
.view-news .views-exposed-form .form-actions {
  margin-top: 1.5rem;
}

/* Form buttons - accessible styling */
.view-news .views-exposed-form input[type="submit"],
.view-news .views-exposed-form button {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background-color: #005ea2;
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.view-news .views-exposed-form input[type="submit"]:last-child,
.view-news .views-exposed-form button:last-child {
  margin-bottom: 0;
}

.view-news .views-exposed-form input[type="submit"]:hover,
.view-news .views-exposed-form button:hover {
  background-color: #1a4480;
}

/* Focus state for buttons */
.view-news .views-exposed-form input[type="submit"]:focus,
.view-news .views-exposed-form button:focus {
  outline: 2px solid #005ea2;
  outline-offset: 2px;
}

/* Reset button */
.view-news .views-exposed-form input[type="submit"][value="Reset"] {
  background-color: transparent;
  color: #005ea2;
  border: 2px solid #005ea2;
}

.view-news .views-exposed-form input[type="submit"][value="Reset"]:hover {
  background-color: #f0f0f0;
  color: #1a4480;
  border-color: #1a4480;
}

/* News articles content area */
.view-news .view-content {
  margin: 0;
}

/* Individual news items */
.view-news .views-row {
  padding: 2rem 0;
  border-bottom: 1px solid #dfe1e2;
}

.view-news .views-row:first-child {
  padding-top: 0;
}

.view-news .views-row:last-child {
  border-bottom: none;
}

/* News article titles (H3) */
.view-news .views-field-title h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
}

/* Article links - WCAG 2.1 requires 4.5:1 contrast and underline */
.view-news .views-field-title a {
  color: #005ea2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.view-news .views-field-title a:hover {
  color: #1a4480;
  text-decoration-thickness: 2px;
}

/* Focus state for article links */
.view-news .views-field-title a:focus {
  outline: 2px solid #005ea2;
  outline-offset: 2px;
  background-color: #fff2c4;
}

/* Visited links - different color for user orientation */
.view-news .views-field-title a:visited {
  color: #54278f;
}

/* News date */
.view-news .views-field-created,
.view-news .news-date {
  display: block;
  margin: 0;
  font-size: 0.95rem;
  color: #565c65;
  font-weight: 600;
}

/* Empty results message */
.view-news .view-empty {
  padding: 3rem 2rem;
  text-align: center;
  font-size: 1.125rem;
  color: #565c65;
  background-color: #f0f0f0;
  border-radius: 0.25rem;
}

/* Pagination - WCAG 2.1 compliant */
.view-news .pager {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #dfe1e2;
}

.view-news .pager__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.view-news .pager__item {
  margin: 0;
}

/* Pager links - accessible button-like appearance */
.view-news .pager__item a {
  display: inline-block;
  min-width: 2.75rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  color: #005ea2;
  background-color: white;
  border: 2px solid #005ea2;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
}

.view-news .pager__item a:hover {
  background-color: #005ea2;
  color: white;
}

/* Focus state for pager links */
.view-news .pager__item a:focus {
  outline: 2px solid #005ea2;
  outline-offset: 2px;
  background-color: #fff2c4;
}

/* Current page indicator */
.view-news .pager__item.is-active {
  display: inline-block;
  min-width: 2.75rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  background-color: #005ea2;
  color: white;
  border: 2px solid #005ea2;
  border-radius: 0.25rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 64em) {
  .view-news .view-content-wrapper {
    flex-direction: column;
  }
  
  .view-news .view-filters {
    flex: 1 1 auto;
    width: 100%;
  }
  
  .view-news .views-exposed-form {
    position: static;
  }
  
  .view-news .jcc-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .view-news .views-row {
    padding: 1.5rem 0;
  }
  
  .view-news .views-field-title h3 {
    font-size: 1.375rem;
  }
  
  .view-news .views-exposed-form .form-actions {
    display: flex;
    gap: 0.5rem;
  }
  
  .view-news .views-exposed-form input[type="submit"],
  .view-news .views-exposed-form button {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 40em) {
  .view-news .jcc-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .view-news .views-exposed-form {
    padding: 1rem;
  }
  
  .view-news .views-row {
    padding: 1.25rem 0;
  }
  
  .view-news .views-field-title h3 {
    font-size: 1.25rem;
  }
  
  .view-news .views-exposed-form .form-actions {
    flex-direction: column;
  }
  
  .view-news .views-exposed-form input[type="submit"],
  .view-news .views-exposed-form button {
    width: 100%;
  }
  
  .view-news .pager__items {
    gap: 0.375rem;
  }
  
  .view-news .pager__item a,
  .view-news .pager__item.is-active {
    min-width: 2.5rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.95rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .view-news .views-field-title a {
    text-decoration-thickness: 2px;
  }
  
  .view-news .pager__item a,
  .view-news .pager__item.is-active {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .view-news * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Cache bust: 1769448199 */
/* Cache bust: 1769448228 */



/* Horizontal rule separator after hero */
.news-page-separator {
  border: 0;
  border-top: 1px solid #dfe1e2;
  margin: 2rem auto;
  max-width: 1200px;
}

/* News Page Hero Background */
.view-news .jcc-hero,
.view-id-news .jcc-hero {
  background-color: #f3f3f3 !important;
}

/* News filter description text - fix contrast */
#edit-search--description,
#edit-date-wrapper--description {
  color: #000000;
}
