/* I-PAY public news page */

body.news-page {
  background: #f1f1ee;
  color: var(--v2-text-dark);
}

.news-section-heading span {
  color: var(--v2-primary);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.news-feed {
  background: #f1f1ee;
  padding: 140px 0 100px;
}

.news-feed > .container {
  max-width: 1020px;
}

.news-section-heading {
  margin-bottom: 34px;
}

.news-section-heading h2 {
  color: var(--v2-text-dark);
  font-size: 34px;
  font-weight: 700;
  margin: 0;
}

.news-article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 42px rgba(50, 53, 58, 0.08);
  margin-bottom: 42px;
  overflow: hidden;
}

.news-article-header {
  background: #efe6e8;
  border-bottom: 1px solid rgba(206, 96, 92, 0.12);
  padding: 46px 54px 42px;
}

.news-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 20px;
}

.news-category {
  background: var(--v2-primary-gradient);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 7px 13px;
  text-transform: uppercase;
}

.news-date {
  color: rgba(50, 53, 58, 0.72);
  font-size: 14px;
}

.news-date i {
  color: var(--v2-primary);
  margin-right: 6px;
}

.news-article-header h2 {
  color: var(--v2-text-dark);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 0 0 20px;
}

.news-summary {
  color: rgba(50, 53, 58, 0.82);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  max-width: 840px;
}

.news-article-body {
  padding: 48px 54px 54px;
}

.news-article-body > h3 {
  color: var(--v2-text-dark);
  font-size: 25px;
  font-weight: 700;
  margin: 44px 0 15px;
}

.news-article-body > h3:first-child {
  margin-top: 0;
}

.news-article-body > p {
  color: rgba(50, 53, 58, 0.88);
  font-size: 16px;
  line-height: 1.78;
  margin: 0 0 20px;
}

.news-callout {
  background: #edf0f3;
  border-left: 4px solid var(--v2-primary);
  border-radius: 0 10px 10px 0;
  margin: 0 0 34px;
  padding: 24px 26px;
}

.news-callout h3 {
  color: var(--v2-text-dark);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.news-callout h3 i {
  color: var(--v2-primary);
  margin-right: 10px;
}

.news-callout p {
  color: rgba(50, 53, 58, 0.82);
  line-height: 1.65;
  margin: 0;
}

.client-notice {
  align-items: flex-start;
  background: linear-gradient(135deg, #32353a 0%, #454950 100%);
  border-radius: 12px;
  color: #fff;
  display: flex;
  gap: 22px;
  margin: 30px 0 34px;
  padding: 30px;
}

.client-notice-icon {
  align-items: center;
  background: var(--v2-primary-gradient);
  border-radius: 10px;
  display: flex;
  flex: 0 0 54px;
  font-size: 24px;
  height: 54px;
  justify-content: center;
}

.client-notice-label {
  color: #e9a5a2;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.client-notice h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.client-notice p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.68;
  margin: 0 0 12px;
}

.client-notice-link {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  margin-top: 5px;
  text-decoration: none;
}

.client-notice-link:hover,
.client-notice-link:focus {
  color: #e9a5a2;
}

.news-list {
  list-style: none;
  margin: 4px 0 28px;
  padding: 0;
}

.news-list li {
  color: rgba(50, 53, 58, 0.88);
  line-height: 1.68;
  margin-bottom: 13px;
  padding-left: 28px;
  position: relative;
}

.news-list li::before {
  color: var(--v2-primary);
  content: "\f26a";
  font-family: "bootstrap-icons";
  left: 0;
  position: absolute;
  top: 1px;
}

.news-list strong {
  color: var(--v2-text-dark);
}

.news-table-wrap {
  border: 1px solid #e5e5e0;
  border-radius: 10px;
  margin: 22px 0 30px;
  overflow: hidden;
}

.news-table {
  margin: 0;
  min-width: 650px;
}

.news-table thead th {
  background: #d6d9e0;
  border-bottom: 0;
  color: var(--v2-text-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 15px 18px;
  text-transform: uppercase;
}

.news-table tbody th,
.news-table tbody td {
  border-color: #ecece8;
  color: rgba(50, 53, 58, 0.88);
  padding: 15px 18px;
  vertical-align: middle;
}

.news-table tbody th {
  color: var(--v2-text-dark);
  font-weight: 600;
}

.news-sources {
  border-top: 1px solid #e5e5e0;
  margin-top: 48px;
  padding-top: 28px;
}

.news-sources h3 {
  color: var(--v2-text-dark);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.news-sources ul {
  margin: 0;
  padding-left: 20px;
}

.news-sources li {
  margin-bottom: 8px;
}

.news-sources a {
  color: var(--v2-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.news-sources a:hover,
.news-sources a:focus {
  color: var(--v2-text-dark);
}

.news-disclaimer {
  color: rgba(50, 53, 58, 0.62) !important;
  font-size: 13px !important;
  font-style: italic;
  margin: 28px 0 0 !important;
}

.news-empty {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  text-align: center;
}

.news-page .header-mobile-menu .dropdown-item.active {
  background: var(--v2-primary-gradient);
  color: #fff;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .news-page #header .header-nav-link,
  .news-page #header .header-nav-btn {
    margin-left: 6px;
    padding: 9px 12px !important;
  }
}

@media (max-width: 767px) {
  .news-feed {
    padding: 110px 0 72px;
  }

  .news-section-heading h2 {
    font-size: 29px;
  }

  .news-article-header,
  .news-article-body {
    padding-left: 24px;
    padding-right: 24px;
  }

  .news-article-header {
    padding-bottom: 32px;
    padding-top: 34px;
  }

  .news-article-body {
    padding-bottom: 38px;
    padding-top: 36px;
  }

  .news-article-body > h3 {
    font-size: 22px;
    margin-top: 36px;
  }

  .client-notice {
    display: block;
    padding: 24px;
  }

  .client-notice-icon {
    margin-bottom: 18px;
  }
}
