/* More Power to You (Articles Carousel) - C8003 */

/* Match the main nav's fluid width (component/static/component/css/navigation_update/navigation_update.css),
   same as c8001 (component/static/component/css/c8001/c8001.css): fixed 3rem side padding from
   1026px, then capped at a 1824px-wide content area beyond 1920px. */
@media (min-width: 1026px) {
  .container.c8003-container {
    max-width: none;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1920px) {
  .container.c8003-container {
    padding-left: calc((100vw - 1824px) / 2);
    padding-right: calc((100vw - 1824px) / 2);
  }
}

.c8003-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.c8003-description {
  max-width: 36rem;
}

.c8003-nav {
  gap: 0.75rem;
}

.c8003-nav--mobile {
  justify-content: center;
  margin-top: 1.5rem;
}

.c8003-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 3rem;
  border-radius: 0.25rem;
  background-color: #ffcc5b;
  color: #0d123d;
  transition: background-color 200ms ease, color 200ms ease;
}

.c8003-nav-btn:disabled {
  background-color: #e7e7e7;
  color: #4b5563;
  cursor: not-allowed;
}

.c8003-viewport {
  overflow: hidden;
}

.c8003-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 400ms ease;
  will-change: transform;
}

.c8003-card {
  flex: 0 0 88%;
}

.c8003-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #f8f8f8;
}

.c8003-card-image {
  aspect-ratio: 4 / 3;
}

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

.c8003-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d123d;
}

.c8003-card-image-logo {
  color: #ffffff;
}

.c8003-card-content {
  padding: 1.5rem;
}

.c8003-card-title {
  font-family: jost-variable, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #0d123d;
  margin-bottom: 1.5rem;
}

.c8003-card-link {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  color: #0071ba;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .c8003-track {
    transition: none;
  }
}

@media (min-width: 1026px) {
  .c8003-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
  }

  .c8003-eyebrow.eyebrow {
    text-align: left;
  }

  .c8003-eyebrow.eyebrow::after {
    margin: 0.5rem 0 0;
  }

  .c8003-nav--desktop {
    margin-bottom: 0.5rem;
  }

  .c8003-card {
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
  }
}
