/* News listing & article pages */

.news-rich-text p {
  margin: 0 0 1.25rem;
}

.news-card {
  color: inherit;
  text-decoration: none;
  display: block;
}

.news-card:hover .title h3 {
  text-decoration: none;
}

.news-card--hidden {
  display: none !important;
}

.news-card-grid .news-hero-card {
  min-height: 100%;
}

.news-article-sidebar .news-jump-link--active {
  color: oklch(0.4867 0.1803 336.11);
  font-weight: 500;
}

.news-search input[type="search"] {
  outline: none;
}

.news-search input[type="search"]:focus-visible {
  border-color: oklch(0.4867 0.1803 336.11);
}

.news-newsletter-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.news-newsletter-form input {
  width: 100%;
  border: 1px solid oklch(0.85 0 0);
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

.cms-category-intro-section__header {
  margin-inline: auto;
  max-width: min(978px, 100%);
}

.cms-category-intro-section__header.max-w-3xl {
  max-width: min(978px, 100%);
}

.cms-category-intro-section__intro > * + * {
  margin-top: 1rem;
}

.cms-news-list-section {
  padding-bottom: 3rem;
}

.news-card__placeholder {
  background: linear-gradient(
    135deg,
    oklch(0.94 0.02 262.41) 0%,
    oklch(0.9 0.04 336.11) 100%
  );
}

.cms-news-article-title {
  margin: 0;
}

.cms-news-article-header__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: min(978px, 100%);
  margin-inline: auto;
}

.cms-events-cpd-article-header__content {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

.cms-events-cpd-register__button {
  text-decoration: none;
}

.cms-events-cpd-register__button:hover {
  text-decoration: none;
}

.cms-video-article-header__content,
.cms-video-article-body__inner {
  max-width: 56rem;
  margin-inline: auto;
}

.cms-video-player-wrap {
  max-width: 56rem;
  margin-inline: auto;
}

.cms-video-player {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: #000;
}

.video-card__placeholder {
  background: linear-gradient(
    135deg,
    oklch(0.94 0.02 262.41) 0%,
    oklch(0.9 0.04 336.11) 100%
  );
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.5rem;
  height: 3.5rem;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.92);
}

.video-card__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-top: 0.65rem solid transparent;
  border-bottom: 0.65rem solid transparent;
  border-left: 1rem solid oklch(0.4867 0.1803 336.11);
}

.cms-open-course-replay {
  margin-top: 4rem;
}

.cms-video-hub-block__header {
  gap: 1rem;
}

.cms-video-hub-block__footer {
  width: 100%;
}

.cms-video-hub-block__more {
  text-decoration: none;
}

.cms-video-hub-block__more:hover {
  text-decoration: none;
}

.cms-special-video-hub-section__html-top > * + *,
.cms-special-video-hub-section__html-bottom > * + * {
  margin-top: 1rem;
}

.cms-news-article-header__meta {
  font-size: 1rem;
}

.cms-news-article-header__title-wrap h1 {
  max-width: none;
}

.cms-news-article-header__summary {
  max-width: 42rem;
  margin: 0;
}

.cms-news-article-body__inner {
  max-width: min(978px, 100%);
  margin-inline: auto;
}

.cms-news-article-body__content {
  font-size: var(--ipa-body-text-size, 1.125rem);
  line-height: var(--ipa-body-text-line-height, 1.75);
}

.cms-news-article-body__content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.cms-news-article-body__content p:last-child {
  margin-bottom: 0;
}

.cms-topics-article-list-section {
  padding-top: 0;
}

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

.cms-pagination__item {
  display: inline-flex;
}

.cms-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border: 2px solid oklch(0.6258 0.2041 256.27);
  border-radius: 9999px;
  color: oklch(0.6258 0.2041 256.27);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cms-pagination__item--active .cms-pagination__link,
.cms-pagination__link:hover {
  background-color: oklch(0.6258 0.2041 256.27);
  color: #fff;
}

.cms-pagination__item--disabled .cms-pagination__link,
.cms-pagination__item--ellipsis .cms-pagination__link {
  border-color: oklch(0.85 0 0);
  color: oklch(0.65 0 0);
  cursor: default;
  background: transparent;
}

body.cms-member-spotlight-article-page .cms-news-article-body__content table,
body.cms-member-spotlight-article-page .cms-news-article-body__content table td,
body.cms-member-spotlight-article-page .cms-news-article-body__content table th {
  border: 0;
}

.cms-events-cpd-listing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .cms-events-cpd-listing__layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.cms-events-cpd-filter__heading {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: oklch(0.3152 0.1176 262.41);
}

.cms-events-cpd-filter__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cms-events-cpd-filter__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: oklch(0.464 0 0);
}

.cms-events-cpd-filter__input {
  width: 100%;
  border: 1px solid oklch(0.85 0 0);
  border-radius: 9999px;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  color: oklch(0.3152 0.1176 262.41);
  background: #fff;
}

.cms-events-cpd-filter__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cms-events-cpd-filter__submit,
.cms-events-cpd-filter__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 9999px;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.cms-events-cpd-filter__submit {
  border: 0;
  background: oklch(0.3152 0.1176 262.41);
  color: #fff;
  cursor: pointer;
}

.cms-events-cpd-filter__clear {
  border: 2px solid oklch(0.3152 0.1176 262.41);
  color: oklch(0.3152 0.1176 262.41);
  background: #fff;
}

.cms-events-cpd-results__empty {
  margin: 0;
  color: oklch(0.464 0 0);
  font-size: 1.125rem;
}

.cms-events-cpd-result {
  padding: 1.5rem 0;
  border-bottom: 1px solid oklch(0.9 0 0);
}

.cms-events-cpd-result:first-child {
  padding-top: 0;
}

.cms-events-cpd-result__meta {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: oklch(0.55 0 0);
}

.cms-events-cpd-result__title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 500;
}

.cms-events-cpd-result__title a {
  color: oklch(0.3152 0.1176 262.41);
}

.cms-events-cpd-result__title a:hover {
  color: oklch(0.4867 0.1803 336.11);
}

.cms-events-cpd-listing--titles-only .cms-events-cpd-result:first-child {
  padding-top: 0;
}
