/* Fixes for the archived static site — not part of the original Drupal theme.
   Loaded last so these rules win over the crawled theme CSS. */

/* The front-page "Recent Articles and Datasets" Views table renders its links
   white (the theme assumed a dark table background that no longer applies).
   The same applies to links inside the front-page composite (e.g. "Learn more",
   "Get started"). Restore the site's normal link colour so they are readable. */
.view-recent-content-block table a,
.view-recent-content-block table th a,
.composite a {
  color: #0075a4 !important;
}

/* Library list: sort controls, group headings and publication meta. */
.pub-sort { margin: 0.5em 0; }
.pub-sort a { margin: 0 0.15em; }
#publist { list-style: none; padding: 0; }
#publist .pub-group { margin: 1em 0 0.3em; border-bottom: 1px solid #ccc; }
#publist .pub-group strong { color: #0075a4; font-size: 1.1em; }
#publist li { margin: 0 0 0.5em; }

/* Align the header search icon (submit button) with the search field. */
#search-theme-form .form-text,
#search-theme-form .form-submit { vertical-align: middle; }
#search-theme-form .form-submit { margin-left: 5px; }

/* Preserve cell padding (and thin gridlines) that came from the obsolete
   cellpadding/border attributes on migrated content tables. cellspacing had
   no effect because the theme sets table { border-collapse: collapse }. */
.atlas-table td,
.atlas-table th { padding: 1px; }
.atlas-table-bordered td,
.atlas-table-bordered th { border: 1px solid; }

/* Front-page "no longer active" notice: subtle, non-alarming highlight. */
.archived-notice {
  background: #eef4f7;
  border-left: 4px solid #0075a4;
  padding: 0.6em 0.9em;
  margin: 0.5em 0;
}
