.content-hub,
.content-detail {
  width: 100%;
  overflow: hidden;
  background: #f7f9fc;
  color: #17233c;
}

.content-hub *,
.content-hub *::before,
.content-hub *::after,
.content-detail *,
.content-detail *::before,
.content-detail *::after {
  box-sizing: border-box;
}

.content-hub-hero {
  width: min(calc(100% - 4.8rem), 116rem);
  min-height: 40rem;
  margin: 2.4rem auto 0;
  position: relative;
  border-radius: 2rem;
  background: #e9eff5;
  overflow: hidden;
}

.content-hub-hero > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
}

.content-hub-hero__copy {
  width: min(55rem, 58%);
  margin-inline-end: auto;
  padding: 5.2rem 4.5rem;
  position: relative;
  z-index: 1;
}

html[dir='ltr'] .content-hub-hero__copy {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.content-hub-hero__copy > span,
.content-hub-browser > div > span,
.content-results__heading > div > span {
  display: inline-block;
  margin-bottom: 1rem;
  color: #c9223e;
  font-size: 1.5rem;
  font-weight: 800;
}

.content-hub-hero h1 {
  margin: 0;
  color: #17233c;
  font-size: clamp(3.1rem, 4vw, 4.8rem);
  font-weight: 900;
  line-height: 1.4;
}

.content-hub-hero p {
  margin: 1.5rem 0 0;
  color: #4e5b70;
  font-size: 1.65rem;
  line-height: 2;
}

.content-hub-hero__copy > a {
  display: inline-flex;
  min-height: 5rem;
  margin-top: 2.5rem;
  padding: 1rem 2.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #c9223e;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.content-hub-hero__copy > a:hover,
.content-hub-hero__copy > a:focus-visible {
  background: #172d50;
  color: #fff;
  text-decoration: none;
  transform: translateY(-.2rem);
}

.content-hub-browser {
  width: min(calc(100% - 4.8rem), 106rem);
  margin: 0 auto;
  padding: 6.5rem 0 3.5rem;
  text-align: center;
}

.content-hub-browser h2,
.content-results__heading h2 {
  margin: 0;
  color: #17233c;
  font-size: clamp(2.6rem, 3vw, 3.7rem);
  font-weight: 900;
  line-height: 1.5;
}

.content-hub-browser form {
  width: min(100%, 76rem);
  margin: 3rem auto 0;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(22rem, 1fr) auto auto;
  align-items: end;
  gap: 1.2rem;
  border: .1rem solid #dfe5ec;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(23, 35, 60, .07);
  text-align: start;
}

.content-hub-browser--news form {
  width: min(100%, 96rem);
  grid-template-columns: repeat(2, minmax(20rem, 1fr)) auto auto;
}

.content-hub-browser label {
  display: block;
  margin-bottom: .7rem;
  color: #35435b;
  font-size: 1.4rem;
  font-weight: 800;
}

.content-hub-browser select {
  width: 100%;
  min-height: 4.8rem;
  padding: .8rem 1.3rem;
  border: .1rem solid #cbd4df;
  border-radius: .9rem;
  background: #fff;
  color: #17233c;
  font-family: inherit;
  font-size: 1.5rem;
}

.content-hub-browser select:focus-visible {
  border-color: #c9223e;
  outline: .3rem solid rgba(201, 34, 62, .14);
}

.content-hub-browser button,
.content-hub-browser form > a {
  min-height: 4.8rem;
  padding: .9rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: .1rem solid #c9223e;
  border-radius: .9rem;
  font-family: inherit;
  font-size: 1.45rem;
  font-weight: 900;
  cursor: pointer;
}

.content-hub-browser button {
  background: #c9223e;
  color: #fff;
}

.content-hub-browser form > a {
  background: #fff;
  color: #b51f38;
  text-decoration: none;
}

.content-hub-browser button:hover,
.content-hub-browser button:focus-visible {
  border-color: #172d50;
  background: #172d50;
}

.content-results,
.content-related {
  width: min(calc(100% - 4.8rem), 116rem);
  margin: 0 auto;
  padding: 4rem 0 7rem;
}

.content-results__heading {
  margin-bottom: 2.8rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.content-results__heading > p {
  margin: 0 0 .8rem;
  color: #68758a;
  font-size: 1.5rem;
}

.content-results__heading > a {
  margin-bottom: .8rem;
  color: #b51f38;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

.content-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: .1rem solid #e0e6ed;
  border-radius: 1.6rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 .8rem 2.4rem rgba(23, 35, 60, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.content-card:hover {
  transform: translateY(-.4rem);
  box-shadow: 0 1.5rem 3.5rem rgba(23, 35, 60, .11);
}

.content-card__image {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: #edf1f5;
}

.content-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.content-card:hover .content-card__image img {
  transform: scale(1.035);
}

.content-card__body {
  min-height: 25rem;
  padding: 2rem;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.content-card__meta,
.content-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.4rem;
  color: #768196;
  font-size: 1.3rem;
}

.content-card__meta a,
.content-card__meta span:first-child {
  color: #b51f38;
  font-weight: 800;
  text-decoration: none;
}

.content-card h3 {
  margin: 1.4rem 0 1rem;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.65;
}

.content-card h3 a {
  color: #17233c;
  text-decoration: none;
}

.content-card h3 a:hover,
.content-card h3 a:focus-visible {
  color: #b51f38;
}

.content-card__body > p {
  margin: 0 0 1.8rem;
  display: -webkit-box;
  overflow: hidden;
  color: #5c687c;
  font-size: 1.48rem;
  line-height: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-card__footer {
  margin-top: auto;
}

.content-card__more {
  margin-top: auto;
  color: #b51f38;
  font-size: 1.45rem;
  font-weight: 900;
  text-decoration: none;
}

.content-card__footer .content-card__more {
  margin-top: 0;
}

.content-card__more::after {
  margin-inline-start: .6rem;
  content: '←';
}

html[dir='ltr'] .content-card__more::after {
  content: '→';
}

.content-pagination {
  margin-top: 4rem;
}

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

.content-pagination .page-link {
  min-width: 4.2rem;
  min-height: 4.2rem;
  padding: .7rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: .1rem solid #d8e0e9;
  border-radius: .8rem;
  background: #fff;
  color: #34425a;
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
}

.content-pagination .active .page-link,
.content-pagination .page-link:hover,
.content-pagination .page-link:focus-visible {
  border-color: #c9223e;
  background: #c9223e;
  color: #fff;
}

.content-pagination .disabled .page-link {
  opacity: .45;
  pointer-events: none;
}

.content-empty {
  padding: 5rem 2rem;
  border: .1rem dashed #cbd4df;
  border-radius: 1.6rem;
  background: #fff;
  text-align: center;
}

.content-empty h2 {
  margin: 0;
  color: #17233c;
  font-size: 2.5rem;
}

.content-empty p {
  margin: 1.2rem 0 2rem;
  color: #69768b;
  font-size: 1.5rem;
}

.content-empty a {
  color: #b51f38;
  font-size: 1.5rem;
  font-weight: 900;
}

.content-hub > .consultation-cta {
  margin-top: 0;
  margin-bottom: 7rem;
}

/* Detail pages */
.content-detail-hero {
  width: min(calc(100% - 4.8rem), 116rem);
  min-height: 52rem;
  margin: 2.4rem auto 0;
  position: relative;
  display: flex;
  align-items: end;
  border-radius: 2rem;
  background: #17233c;
  overflow: hidden;
}

.content-detail-hero > img,
.content-detail-hero__shade {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.content-detail-hero > img {
  display: block;
  object-fit: cover;
}

.content-detail-hero__shade {
  background: linear-gradient(0deg, rgba(10, 20, 38, .94) 0%, rgba(10, 20, 38, .42) 60%, rgba(10, 20, 38, .08) 100%);
}

.content-detail-hero__copy {
  width: min(100%, 94rem);
  padding: 5rem;
  position: relative;
  z-index: 1;
  color: #fff;
}

.content-detail-hero__copy > a {
  display: inline-flex;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  background: #c9223e;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}

.content-detail-hero h1 {
  margin: 1.4rem 0 1.8rem;
  color: #fff;
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 .2rem 1.5rem rgba(0, 0, 0, .25);
}

.content-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.2rem;
  color: #e7edf5;
  font-size: 1.45rem;
}

.content-detail-meta a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .4rem;
}

.content-detail-body {
  width: min(calc(100% - 4.8rem), 96rem);
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.content-detail-body > .content-byline,
.content-detail-body > .consultation-cta {
  width: 100%;
}

.content-detail-rich {
  margin: 3rem 0;
  padding: 4.5rem 5.5rem;
  border: .1rem solid #e0e6ed;
  border-radius: 1.6rem;
  background: #fff;
  color: #334158;
  font-size: 1.68rem;
  line-height: 2.15;
  box-shadow: 0 1rem 3rem rgba(23, 35, 60, .06);
}

.content-detail-rich > :first-child {
  margin-top: 0 !important;
}

.content-detail-rich > :last-child {
  margin-bottom: 0 !important;
}

.content-detail-rich h2,
.content-detail-rich h3,
.content-detail-rich h4 {
  margin: 3.2rem 0 1.3rem;
  color: #17233c;
  font-weight: 900;
  line-height: 1.65;
}

.content-detail-rich h2 { font-size: 2.8rem; }
.content-detail-rich h3 { font-size: 2.25rem; }
.content-detail-rich h4 { font-size: 1.9rem; }

.content-detail-rich p,
.content-detail-rich ul,
.content-detail-rich ol {
  margin: 0 0 1.7rem;
}

.content-detail-rich ul,
.content-detail-rich ol {
  padding-inline-start: 2.5rem;
}

.content-detail-rich a {
  color: #b51f38;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .3rem;
}

.content-detail-rich img,
.content-detail-rich video,
.content-detail-rich iframe {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 1.2rem;
}

.content-detail-rich iframe {
  width: 100%;
  min-height: 40rem;
}

.content-detail-rich table {
  width: 100% !important;
  margin: 2.5rem 0 !important;
  border-collapse: collapse;
  display: table !important;
}

.content-detail-rich th,
.content-detail-rich td {
  padding: 1.2rem;
  border: .1rem solid #d8e0e9;
  text-align: start;
}

.content-detail-rich th {
  background: #edf2f7;
  color: #17233c;
}

.content-related {
  padding-top: 5.5rem;
  border-top: .1rem solid #e1e7ee;
}

@media (max-width: 992px) {
  .content-hub-hero__copy {
    width: 64%;
    padding: 4rem 3rem;
  }

  .content-hub-browser--news form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-detail-hero {
    min-height: 46rem;
  }
}

@media (max-width: 700px) {
  .content-hub-hero,
  .content-results,
  .content-related,
  .content-detail-hero {
    width: calc(100% - 3.2rem);
  }

  .content-hub-hero {
    min-height: 52rem;
  }

  .content-hub-hero > img {
    opacity: .34;
    object-position: center;
  }

  .content-hub-hero__copy {
    width: 100%;
    padding: 4rem 2.4rem;
  }

  .content-hub-browser,
  .content-detail-body {
    width: calc(100% - 3.2rem);
  }

  .content-hub-browser {
    padding-top: 5rem;
  }

  .content-hub-browser form,
  .content-hub-browser--news form {
    grid-template-columns: 1fr;
    padding: 1.6rem;
  }

  .content-card-grid {
    grid-template-columns: 1fr;
  }

  .content-results__heading {
    align-items: start;
    flex-direction: column;
  }

  .content-results__heading > p,
  .content-results__heading > a {
    margin: 0;
  }

  .content-detail-hero {
    min-height: 43rem;
  }

  .content-detail-hero__copy {
    padding: 3rem 2.2rem;
  }

  .content-detail-hero h1 {
    font-size: 2.8rem;
  }

  .content-detail-body {
    padding-top: 2rem;
  }

  .content-detail-rich {
    padding: 2.5rem 2rem;
    font-size: 1.55rem;
    overflow-x: auto;
  }

  .content-detail-rich iframe {
    min-height: 24rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-card,
  .content-card__image img,
  .content-hub-hero__copy > a {
    transition: none;
  }
}
