.ric-news-article,
.ric-news-index,
.ric-news-latest {
  --bs-link-color: #7f1f29;
  --bs-link-color-rgb: 127, 31, 41;
  --bs-link-hover-color: #5e1f29;
  --bs-link-hover-color-rgb: 94, 31, 41;
}

:is(.ric-news-article, .ric-news-index, .ric-news-latest) a:not(.btn) {
  color: #7f1f29;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

:is(.ric-news-article, .ric-news-index, .ric-news-latest) a:not(.btn):is(:hover, :focus-visible) {
  color: #5e1f29;
}

:is(.ric-news-article, .ric-news-index, .ric-news-latest) .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #7f1f29;
  --bs-btn-border-color: #7f1f29;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5e1f29;
  --bs-btn-hover-border-color: #5e1f29;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #2b1c24;
  --bs-btn-active-border-color: #2b1c24;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #7f1f29;
  --bs-btn-disabled-border-color: #7f1f29;
  --bs-btn-focus-shadow-rgb: 127, 31, 41;
}

:is(.ric-news-article, .ric-news-index, .ric-news-latest) .btn-outline-primary {
  --bs-btn-color: #7f1f29;
  --bs-btn-border-color: #7f1f29;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #7f1f29;
  --bs-btn-hover-border-color: #7f1f29;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5e1f29;
  --bs-btn-active-border-color: #5e1f29;
  --bs-btn-disabled-color: #7f1f29;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #7f1f29;
  --bs-btn-focus-shadow-rgb: 127, 31, 41;
}

.ric-news-latest,
.ric-news-index {
  background: #f7f4ef;
  padding: 4.5rem 0;
}

.ric-news-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ric-news-kicker {
  color: #7f1f29;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.ric-news-card {
  background: #fff;
  border: 1px solid #e9e1d9;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ric-news-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #24171a;
}

.ric-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ric-news-duration {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
  padding: .25rem .6rem;
  background: #211a1de6;
  border-radius: 2rem;
  color: #fff;
  font-size: .75rem;
}

.ric-news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ric-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-size: .75rem;
  color: #766b6d;
  margin-bottom: .85rem;
}

.ric-news-meta > span {
  color: #7f1f29;
  font-weight: 700;
}

.ric-news-card h3 {
  font-size: 1.2rem;
  line-height: 1.45;
  margin-bottom: .75rem;
}

.ric-news-card h3 a {
  display: block;
  color: #2d2024;
  text-decoration: none;
}

.ric-news-card h3 a:hover,
.ric-news-read:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.ric-news-card-body > p {
  color: #6e6266;
  line-height: 1.7;
  font-size: .9rem;
}

.ric-news-read {
  color: #7f1f29;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: auto;
  padding-top: .5rem;
  text-decoration: none;
}

.ric-news-card-body > .ric-news-event-date {
  font-size: .75rem;
  color: #766b6d;
}

.ric-news-hero,
.ric-news-article-header {
  padding: 10rem 0 3rem;
  background: #f7f4ef;
  border-bottom: 1px solid #e9e1d9;
}

.ric-news-hero h1,
.ric-news-article-header h1 {
  max-width: 960px;
  color: #5e1f29;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  margin-bottom: 1.5rem;
}

.ric-news-hero .lead,
.ric-news-article-header .lead {
  max-width: 820px;
  color: #6e6266;
  line-height: 1.7;
}

.ric-news-technical {
  color: #7f1f29;
  font-size: .9rem;
}

.ric-news-article {
  background: #fff;
}

.ric-news-article-content {
  max-width: 1100px;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.ric-news-player {
  margin: 0 0 3rem;
}

.ric-news-player video,
.ric-news-player img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #21171a;
  border-radius: 1rem;
}

.ric-news-player img {
  height: auto;
}

.ric-news-player figcaption {
  color: #766b6d;
  font-size: .8rem;
  padding-top: .7rem;
}

.ric-news-article-intro {
  font-size: 1.2rem;
  color: #3f3035;
  line-height: 1.85;
}

.ric-news-story-section {
  margin-top: 2rem;
}

.ric-news-story-section h2 {
  font-size: 1.4rem;
  color: #5e1f29;
}

.ric-news-story-section p {
  color: #6e6266;
  line-height: 1.85;
}

.ric-news-editorial .ric-news-article-intro {
  max-width: 72ch;
  margin: .5rem auto 3.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid #7f1f29;
  color: #5e1f29;
  text-wrap: pretty;
}

.ric-news-story-section-illustrated {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding: 3rem 0;
  border-top: 1px solid #e9e1d9;
}

.ric-news-story-section-illustrated:nth-of-type(even) {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
}

.ric-news-story-section-illustrated:nth-of-type(even) .ric-news-illustration {
  order: 2;
}

.ric-news-illustration {
  margin: 0;
}

.ric-news-illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1120 / 747;
  border: 1px solid #e9e1d9;
  border-radius: 1rem;
  background: #f7f4ef;
}

.ric-news-story-copy {
  min-width: 0;
}

.ric-news-story-section-illustrated h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  line-height: 1.3;
  text-wrap: balance;
}

.ric-news-story-section-illustrated p {
  margin: 0;
  color: #51454a;
  line-height: 1.8;
  text-wrap: pretty;
}

.ric-news-editorial-aside {
  margin-top: 1.5rem;
}

.ric-news-editorial-aside .ric-news-aside {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.ric-news-editorial-aside .ric-news-aside > p {
  grid-column: 1 / -1;
  margin: 0 !important;
}

.ric-news-editorial-aside .ric-news-aside .btn {
  margin: 0 !important;
  font-weight: 600;
}

.ric-news-aside {
  background: #f7f4ef;
  border-left: 3px solid #7f1f29;
  padding: 1.5rem;
  border-radius: 0 .75rem .75rem 0;
}

.ric-news-article-footer {
  border-top: 1px solid #e9e1d9;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.ric-module-pending {
  min-height: 190px;
  background: #f2ece6;
  color: #7f1f29;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.ric-module-pending > i {
  font-size: 2.5rem;
}

.ric-module-pending-hero {
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
}

.ric-access-note {
  display: flex;
  gap: 1.25rem;
  background: #fff;
  border-left: 3px solid #7f1f29;
  padding: 1.75rem;
}

.ric-access-note > i {
  font-size: 2rem;
  color: #7f1f29;
}

body:has(.ric-news-player video) .whatsapp-container,
body:has(.ric-news-player video) #ai-chatbot-widget {
  display: none;
}

body:has(.ric-news-article) .whatsapp-container,
body:has(.ric-news-article) #ai-chatbot-widget {
  display: none;
}

.ric-news-card a:focus-visible,
.ric-news-article a:focus-visible {
  outline: 3px solid #7f1f29;
  outline-offset: 4px;
}

@media (max-width: 767.98px) {
  .ric-news-article-content > .row {
    --bs-gutter-x: 1.5rem;
  }

  .ric-news-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .ric-news-latest,
  .ric-news-index {
    padding: 3rem 0;
  }

  .ric-news-hero,
  .ric-news-article-header {
    padding-top: 8rem;
  }

  .ric-news-article-content {
    padding-top: 1.5rem;
  }

  .ric-news-player {
    margin-bottom: 2rem;
  }

  .ric-news-editorial .ric-news-article-intro {
    margin-bottom: 2rem;
    padding-left: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .ric-news-story-section-illustrated,
  .ric-news-story-section-illustrated:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .ric-news-story-section-illustrated:nth-of-type(even) .ric-news-illustration {
    order: initial;
  }

  .ric-news-editorial-aside .ric-news-aside {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem;
  }
}
