/**
 * News & Updates + homepage announcement banner.
 * Loaded directly by app/news.php (not part of the webpack build).
 */

/* ==========================================================================
   Announcement banner
   ========================================================================== */
.announcement-banner {
  background-color: #0b5e4d;
  color: #fff;
  font-family: 'Lato', sans-serif;
}

.announcement-banner[hidden] {
  display: none !important;
}

.announcement-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.announcement-banner-message {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.4;
  text-align: center;
}

.announcement-banner-link {
  display: inline-block;
  margin-left: 0.8rem;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

.announcement-banner-link:hover,
.announcement-banner-link:focus {
  color: #f8f3e7;
}

.announcement-banner-close {
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.announcement-banner-close:hover,
.announcement-banner-close:focus {
  background-color: rgba(255, 255, 255, 0.15);
}

.announcement-banner-close:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .announcement-banner-inner {
    justify-content: space-between;
  }

  .announcement-banner-message {
    text-align: left;
    font-size: 1.5rem;
  }

  .announcement-banner-link {
    display: block;
    margin-left: 0;
    margin-top: 0.4rem;
  }
}

/* ==========================================================================
   News & Updates archive
   ========================================================================== */
.news-archive .news-archive-header .lead {
  color: #707070;
}

.news-archive .news-item + .news-item {
  border-top: 1px solid #d9d9d9;
}

.news-archive .news-item .entry-title {
  margin-top: 0;
}

.news-archive .news-item .entry-title a {
  color: #7d7345;
  text-decoration: none;
}

.news-archive .news-item .entry-title a:hover,
.news-archive .news-item .entry-title a:focus {
  text-decoration: underline;
}

.news-item-date {
  color: #707070;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-archive .entry-summary p {
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   Single update
   ========================================================================== */
.single-news .entry-content table {
  width: 100%;
  margin: 2.4rem 0;
  border-collapse: collapse;
}

.single-news .entry-content th,
.single-news .entry-content td {
  padding: 1.2rem 1.6rem;
  border: 1px solid #d9d9d9;
  text-align: center;
  vertical-align: middle;
}

.single-news .entry-content thead th {
  background-color: #0b5e4d;
  color: #fff;
}

.single-news .entry-content tbody tr:nth-child(even) {
  background-color: #f8f3e7;
}

.single-news .entry-content .table-responsive {
  margin: 2.4rem 0;
}

.single-news .entry-content .table-responsive table {
  margin: 0;
}

.single-news .entry-content .news-disclaimer {
  color: #707070;
  font-size: 1.4rem;
  font-style: italic;
}

.single-news .entry-content .news-signature {
  margin-top: 3.2rem;
}

.single-news .entry-content .news-compliance {
  margin-top: 4rem;
  padding-top: 1.6rem;
  border-top: 1px solid #d9d9d9;
  color: #707070;
  font-size: 1.4rem;
}

.news-archive .news-item .read-more a {
  font-size: 1.6rem;
}

.single-news article > footer a {
  font-size: 1.6rem;
}
