.cco-cards {
  position: relative;
  margin: 0 auto;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  --cco-per-view: 1;
  --cco-gap: 60px;
  --cco-dots-space: 33px;
}

.cco-cards--tile {
  --cco-gap: 28px;
}

.cco-cards__viewport {
  clip-path: inset(-60px);
}

.cco-cards--tile .cco-cards__viewport {
  clip-path: inset(-48px -28px);
}

.cco-cards__track {
  display: flex;
  gap: var(--cco-gap);
  transform: translateX(0);
  transition: transform 1s cubic-bezier(0.4, 0.02, 0.2, 1);
}

.cco-cards--tile .cco-cards__track {
  transition: transform 0.45s cubic-bezier(0.4, 0.02, 0.2, 1);
}

.cco-cards__slide {
  flex: 0 0
    calc(
      (100% - (var(--cco-per-view) - 1) * var(--cco-gap)) / var(--cco-per-view)
    );
  display: flex;
}

.cco-cards__slide > a {
  width: 100%;
}

.cco-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #ffffff;
  border: 1px solid #e8e4dc;
  border-radius: 24px;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  text-decoration: none;
  color: inherit;
}

.cco-card:hover {
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
}

.cco-cards__slide[aria-hidden="true"] .cco-card,
.cco-cards__slide.cco-cards__slide--clone .cco-card {
  box-shadow: none;
}

.cco-cards__slide[aria-hidden="true"] .cco-card:hover,
.cco-cards__slide.cco-cards__slide--clone .cco-card:hover {
  box-shadow: none;
  transform: none;
}

.cco-card__media {
  position: relative;
  min-height: 380px;
}

.cco-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cco-card__image--placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e2ddd6 0,
    #e2ddd6 12px,
    #ede9e1 12px,
    #ede9e1 24px
  );
}

.cco-card__flag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #c8960c;
  color: #ffffff;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cco-card__body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cco-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cco-card__date,
.cco-card__location,
.cco-card__sep {
  color: #6b7280;
  font-size: 13px;
}

.cco-card__title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px;
  color: #1c2128;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cco-card__excerpt {
  color: #3d4551;
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: 0 !important;
  margin: 0 0 28px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cco-card__cta {
  color: #c8960c;
  font-weight: 800;
  font-size: 15px;
}

.cco-tile {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e8e4dc;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.cco-tile:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.cco-cards__slide[aria-hidden="true"] .cco-tile,
.cco-cards__slide.cco-cards__slide--clone .cco-tile {
  box-shadow: none;
}

.cco-cards__slide[aria-hidden="true"] .cco-tile:hover,
.cco-cards__slide.cco-cards__slide--clone .cco-tile:hover {
  box-shadow: none;
  transform: none;
}

.cco-tile__media {
  position: relative;
  overflow: hidden;
}

.cco-tile__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.cco-tile__image--placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e2ddd6 0,
    #e2ddd6 12px,
    #ede9e1 12px,
    #ede9e1 24px
  );
}

.cco-tile__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #f5edd6;
  color: #c8960c;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
}

.cco-tile__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cco-tile__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.cco-tile__date,
.cco-tile__location,
.cco-tile__sep {
  color: #6b7280;
  font-size: 13px;
}

.cco-tile__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #1c2128;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cco-tile__excerpt {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 0 !important;
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 5.1em;
}

.cco-tile__cta {
  color: #c8960c;
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
}

.cco-article {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.cco-article__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cco-article__date,
.cco-article__read,
.cco-article__sep {
  color: #6b7280;
  font-size: 13px;
}

/*
 * The opening block of a story: headline on the left, the story's own image on
 * the right. The hero above carries the photography and nothing else, so this
 * is where a reader meets the title.
 */
.cco-article__lede {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.cco-article__lede--textonly {
  grid-template-columns: 1fr;
}

/*
 * One size for every headline.
 *
 * This used to scale with the character count, on the theory that a short
 * title should grow into the space beside the image. In practice the image is
 * whatever size it is, so the two never tracked each other: a long headline
 * next to a wide image still had room going spare, and a short one next to a
 * small image came out overbearing. A single size is steadier and reads as
 * deliberate.
 */
.cco-article__title {
  margin: 0;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  /* The size the CertConnect story came out at under the old formula, which
       is the one the client picked as the reference for every headline. */
  font-size: 39px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #1c2128;
}

.cco-article__figure {
  margin: 0;
}

/*
 * Some images are light at the edges and would otherwise bleed into the page,
 * so the lede image carries a border.
 *
 * Qualified by the figure to outrank `.cco-article__body img` further down,
 * which is class-plus-element and would otherwise win on the radius.
 */
.cco-article__figure .cco-article__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e8e4dc;
  border-radius: 14px;
}

@media (max-width: 980px) {
  .cco-article__lede {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cco-article__title {
    font-size: 32px;
  }
}

.cco-article__body {
  background: #ffffff;
  border: 1px solid #e8e4dc;
  border-radius: 20px;
  padding: 48px;
  color: #3d4551;
  font-size: 17px;
  line-height: 1.85;
}

/*
 * Trim the outer margins so the card's padding is the only spacing at its
 * edges. The content wrapper is what actually holds the story, so the trim has
 * to reach through it - otherwise the last paragraph's margin sits on top of
 * the padding and the card ends up bottom-heavy.
 */
.cco-article__body > *:first-child,
.cco-article__content > *:first-child {
  margin-top: 0;
}

.cco-article__body > *:last-child,
.cco-article__content > *:last-child {
  margin-bottom: 0;
}

.cco-article__body p {
  padding-bottom: 0 !important;
  margin: 0 0 22px;
}

.cco-article__body h2,
.cco-article__body h3,
.cco-article__body h4 {
  color: #1c2128;
  font-weight: 800;
  line-height: 1.25;
  margin: 36px 0 14px;
}

.cco-article__body h2 {
  font-size: 26px;
}
.cco-article__body h3 {
  font-size: 21px;
}
.cco-article__body h4 {
  font-size: 18px;
}

.cco-article__body a {
  color: #c8960c;
  font-weight: 700;
}

.cco-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.cco-article__body img.alignleft {
  margin-right: 22px;
}

.cco-article__body img.alignright {
  margin-left: 22px;
}

.cco-article__body ul,
.cco-article__body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.cco-article__body li {
  margin-bottom: 8px;
}

.cco-article__body blockquote {
  margin: 0 0 22px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid #c8960c;
  color: #1c2128;
}

/*
 * Tables come in with the news migration as bare legacy markup: no thead, no
 * th, the header row just <strong> text in plain cells, and sometimes width or
 * border attributes left over from the old site. The styles below override
 * those attributes and give the first row a header treatment when the table
 * has no real one.
 */
.cco-article__body table {
  width: 100% !important;
  margin: 0 0 22px;
  border: 1px solid #e8e4dc;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
}

.cco-article__body th,
.cco-article__body td {
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid #e8e4dc;
  text-align: left;
  vertical-align: top;
}

.cco-article__body tr:last-child > th,
.cco-article__body tr:last-child > td {
  border-bottom: 0;
}

.cco-article__body thead th,
.cco-article__body thead td,
.cco-article__body table:not(:has(thead, th)) tr:first-child > td {
  background: #faf8f4;
  color: #1c2128;
  font-weight: 800;
}

.cco-article__body thead tr:last-child > th,
.cco-article__body thead tr:last-child > td {
  border-bottom: 1px solid #e8e4dc;
}

/* A narrow screen can't shrink a table below its content, so let it scroll
   sideways inside the card rather than push the page wider. */
@media (max-width: 600px) {
  .cco-article__body table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 900px) {
  .cco-article__body img.alignleft,
  .cco-article__body img.alignright {
    float: none;
    display: block;
    margin: 0 auto 22px;
  }
}

.cco-related {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* Reads as a link and behaves as one; the old text said "<<" but went nowhere. */
.cco-related__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #c8960c;
  text-decoration: none;
}

.cco-related__back:hover,
.cco-related__back:focus-visible {
  color: #a87c08;
  text-decoration: underline;
}

.cco-related__back-arrow {
  transition: transform 0.2s;
}

.cco-related__back:hover .cco-related__back-arrow {
  transform: translateX(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .cco-related__back-arrow {
    transition: none;
  }
}

.cco-related__heading {
  font-size: 22px;
  font-weight: 800;
  color: #1c2128;
  margin: 0 0 24px;
}

.cco-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cco-related__card {
  background: #ffffff;
  border: 1px solid #e8e4dc;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.cco-related__card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.cco-related__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.cco-related__image--placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e2ddd6 0,
    #e2ddd6 12px,
    #ede9e1 12px,
    #ede9e1 24px
  );
}

.cco-related__body {
  padding: 16px 18px;
}

.cco-related__tag {
  display: inline-block;
  background: #f5edd6;
  color: #c8960c;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
}

.cco-related__tag--event {
  background: rgba(42, 111, 219, 0.12);
  color: #2a6fdb;
}

.cco-related__title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  color: #1c2128;
  margin: 10px 0 0;
}

@media (max-width: 900px) {
  .cco-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cco-related__grid {
    grid-template-columns: 1fr;
  }

  .cco-article__body {
    padding: 28px 22px;
    font-size: 16px;
  }
}

.cco-cards__nav {
  position: absolute;
  top: 0;
  bottom: var(--cco-dots-space);
  margin: auto 0;
  width: 44px;
  height: 44px;
  border: 1px solid #e8e4dc;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}

.cco-cards__nav:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cco-cards__nav--prev {
  left: -22px;
}

.cco-cards__nav--next {
  right: -22px;
}

.cco-cards__nav::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #1c2128;
  border-bottom: 2px solid #1c2128;
}

.cco-cards__nav--prev::before {
  transform: rotate(135deg);
  left: 17px;
}

.cco-cards__nav--next::before {
  transform: rotate(-45deg);
  left: 12px;
}

.cco-cards__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

/* The display above would otherwise beat the hidden attribute, which is how the
   news filter puts the dots away when a set is too long to page through. */
.cco-cards__dots[hidden] {
  display: none;
}

.cco-cards__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #d8d2c6;
  cursor: pointer;
  transition:
    background 0.15s,
    width 0.15s;
}

.cco-cards__dot.is-active {
  background: #c8960c;
  width: 26px;
}

.cco-cards__nav[disabled] {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .cco-cards--tile {
    --cco-per-view: 2 !important;
  }

  .cco-cards__dots {
    display: none;
  }

  .cco-cards.is-slider {
    padding-bottom: 60px;
  }

  .cco-cards__nav {
    top: auto;
    bottom: 8px;
  }

  .cco-cards__nav--prev {
    left: calc(50% - 52px);
  }

  .cco-cards__nav--next {
    right: calc(50% - 52px);
  }
}

@media (max-width: 980px) {
  .cco-card {
    grid-template-columns: 1fr;
  }

  .cco-card__media {
    min-height: 240px;
  }

  .cco-card__body {
    padding: 32px 28px;
  }

  .cco-card__title {
    font-size: 26px;
  }
}

@media (max-width: 760px) {
  .cco-cards--tile {
    --cco-per-view: 1 !important;
  }

  .cco-card__media {
    min-height: 180px;
  }
}

.cco-event-info {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #1c2128;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
}

.cco-event-info__media {
  position: relative;
  min-height: 380px;
}

.cco-event-info__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cco-event-info__image--placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e2ddd6 0,
    #e2ddd6 12px,
    #ede9e1 12px,
    #ede9e1 24px
  );
}

.cco-event-info__body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cco-event-info__title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px;
  color: #fff;
}

.cco-event-info__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cco-event-info__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cco-event-info__meta-label {
  color: #a7adb2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cco-event-info__meta-value {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.cco-event-info__excerpt {
  color: #c2c7ca;
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: 0 !important;
  margin: 0 0 28px;
}

.cco-event-info__cta {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .cco-event-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .cco-event-info__body {
    padding: 32px 28px;
  }

  .cco-event-info__media {
    min-height: 240px;
  }

  .cco-event-info__title {
    font-size: 28px;
  }
}
