.jp-news-home {
  --jp-news-shell: 1360px;
  --jp-news-navy-950: #020d1d;
  --jp-news-navy-900: #04162d;
  --jp-news-navy-850: #08203d;
  --jp-news-graphite: #101927;
  --jp-news-blue: #1769ff;
  --jp-news-blue-strong: #0b56e8;
  --jp-news-blue-soft: #eaf2ff;
  --jp-news-cyan: #39a0ff;
  --jp-news-white: #ffffff;
  --jp-news-surface: #ffffff;
  --jp-news-surface-soft: #f6f9fd;
  --jp-news-text: #071a3c;
  --jp-news-text-muted: #60708b;
  --jp-news-border: #dce6f3;
  --jp-news-border-dark: rgba(139, 184, 255, 0.28);
  --jp-news-shadow-sm: 0 8px 24px rgba(4, 22, 45, 0.06);
  --jp-news-shadow-md: 0 22px 55px rgba(4, 22, 45, 0.12);
  --jp-news-radius-sm: 8px;
  --jp-news-radius-md: 8px;
  --jp-news-radius-lg: 8px;
  --jp-news-transition: 180ms ease;
}

.jp-news-home,
.jp-news-home *,
.jp-news-home *::before,
.jp-news-home *::after {
  box-sizing: border-box;
}

.jp-news-home {
  width: 100%;
  margin: 0;
  color: var(--jp-news-text);
  background: var(--jp-news-white);
  font-family: inherit;
  overflow: clip;
}

.jp-news-home a {
  color: inherit;
  text-decoration: none;
}

.jp-news-home button,
.jp-news-home input,
.jp-news-home select {
  font: inherit;
}

.jp-news-home img {
  display: block;
  max-width: 100%;
}

.jp-news-shell {
  width: min(calc(100% - 48px), var(--jp-news-shell));
  margin-inline: auto;
}

.jp-news-hero {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  padding: 64px 0 56px;
  color: var(--jp-news-white);
  background:
    linear-gradient(125deg, var(--jp-news-navy-950) 0%, var(--jp-news-navy-900) 46%, var(--jp-news-graphite) 100%);
  border-bottom: 1px solid rgba(85, 153, 255, 0.22);
  overflow: hidden;
}

.jp-news-hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background-image: url("./hero-grid.aafc62cd9068.png");
  background-position: center;
  background-size: cover;
  opacity: 0.78;
  pointer-events: none;
}

.jp-news-hero::after {
  position: absolute;
  inset: -12% -4% -14% 18%;
  z-index: -2;
  content: "";
  background-image: url("./hero-glow.8bc70dde78ab.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(1000px, 88vw) auto;
  opacity: 0.78;
  pointer-events: none;
}

.jp-news-hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("./hero-noise.77a5add4e261.png");
  opacity: 0.34;
  pointer-events: none;
}

.jp-news-hero__scales {
  position: absolute;
  z-index: -1;
  left: 31%;
  bottom: -135px;
  width: min(610px, 48vw);
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
}

.jp-news-hero__layout {
  display: grid;
  grid-template-columns: minmax(400px, 0.82fr) minmax(640px, 1.18fr);
  gap: 72px;
  align-items: center;
}

.jp-news-hero__layout--empty {
  grid-template-columns: minmax(0, 760px);
}

.jp-news-eyebrow {
  margin: 0 0 18px;
  color: #61a7ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.jp-news-hero__title {
  max-width: none;
  margin: 0;
  color: var(--jp-news-white);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.99;
  text-wrap: balance;
}

.jp-news-hero__title-accent {
  display: inline-block;
  color: #3f82ff;
}

.jp-news-hero__lead {
  max-width: 530px;
  margin: 24px 0 0;
  color: rgba(232, 241, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.68;
}

.jp-news-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 600px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.jp-news-trust__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: rgba(240, 246, 255, 0.84);
  font-size: 0.82rem;
  line-height: 1.25;
}

.jp-news-trust__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.jp-news-search {
  display: grid;
  grid-template-columns: 1fr 52px;
  width: min(100%, 560px);
  margin-top: 30px;
  overflow: hidden;
  background: rgba(4, 18, 38, 0.72);
  border: 1px solid rgba(122, 177, 255, 0.28);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.jp-news-search:focus-within {
  border-color: rgba(91, 158, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.18);
}

.jp-news-search__input {
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  color: var(--jp-news-white);
  background: transparent;
  border: 0;
  outline: 0;
}

.jp-news-search__input::placeholder {
  color: rgba(220, 233, 252, 0.55);
}

.jp-news-search__button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--jp-news-white);
  background: linear-gradient(180deg, #2779ff 0%, #0e5cf0 100%);
  border: 0;
  cursor: pointer;
}

.jp-news-search__button:hover {
  background: linear-gradient(180deg, #3787ff 0%, #1769ff 100%);
}

.jp-news-search__button img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.jp-news-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.96fr) minmax(0, 1.24fr);
  min-height: 410px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(8, 31, 61, 0.9), rgba(3, 17, 36, 0.96));
  border: 1px solid var(--jp-news-border-dark);
  border-radius: var(--jp-news-radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.jp-news-featured__media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 410px;
  overflow: hidden;
  background: #06172e;
}

.jp-news-featured__image {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
}

.jp-news-featured__veil {
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(139, 184, 255, 0.18);
  background: linear-gradient(90deg, rgba(2, 13, 29, 0.28), transparent 18%);
  pointer-events: none;
}

.jp-news-featured__content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 410px;
  padding: 38px 34px;
}

.jp-news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  color: var(--jp-news-white);
  background: linear-gradient(180deg, #2c7eff 0%, #125ef1 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(17, 95, 242, 0.28);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.jp-news-featured__title {
  max-width: none;
  margin: 18px 0 0;
  color: var(--jp-news-white);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.jp-news-featured__summary {
  display: -webkit-box;
  max-width: 42ch;
  margin: 17px 0 0;
  overflow: hidden;
  color: rgba(229, 239, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.jp-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  align-items: center;
  margin: 22px 0 0;
  color: rgba(231, 240, 254, 0.77);
  font-size: 0.78rem;
}

.jp-news-meta__item {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.jp-news-meta__icon {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.jp-news-featured__cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 17px;
  color: var(--jp-news-white);
  background: linear-gradient(180deg, #287bff 0%, #105ded 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(12, 84, 220, 0.28);
  font-size: 0.88rem;
  font-weight: 750;
  transition: transform var(--jp-news-transition), box-shadow var(--jp-news-transition);
}

.jp-news-featured__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(12, 84, 220, 0.36);
}

.jp-news-content {
  padding: 32px 0 74px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 58%, #f7faff 100%);
}

.jp-news-toolbar {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--jp-news-border);
}

.jp-news-filters {
  display: flex;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}

.jp-news-filters::-webkit-scrollbar {
  display: none;
}

.jp-news-filter {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  color: #4e607c;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  transition: color var(--jp-news-transition), background var(--jp-news-transition), border-color var(--jp-news-transition);
}

.jp-news-filter:hover {
  color: var(--jp-news-blue);
  background: var(--jp-news-blue-soft);
}

.jp-news-filter[aria-pressed="true"] {
  color: var(--jp-news-white);
  background: linear-gradient(180deg, #2b7fff 0%, #1769ff 100%);
  border-color: rgba(10, 78, 206, 0.14);
  box-shadow: 0 8px 18px rgba(23, 105, 255, 0.2);
}

.jp-news-sort {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 38px 0 14px;
  color: #4e607c;
  background: var(--jp-news-white);
  border: 1px solid var(--jp-news-border);
  border-radius: 10px;
  outline: 0;
}

.jp-news-sort:focus-visible {
  border-color: var(--jp-news-blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.12);
}

.jp-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.jp-news-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  background: var(--jp-news-surface);
  border: 1px solid var(--jp-news-border);
  border-radius: var(--jp-news-radius-md);
  box-shadow: var(--jp-news-shadow-sm);
  transition: transform var(--jp-news-transition), border-color var(--jp-news-transition), box-shadow var(--jp-news-transition);
}

.jp-news-card:hover {
  transform: translateY(-4px);
  border-color: #c5d8f5;
  box-shadow: var(--jp-news-shadow-md);
}

.jp-news-card__link {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}

.jp-news-card__media {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 190px;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: #edf3fb;
  border-bottom: 1px solid var(--jp-news-border);
}

.jp-news-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #edf3fb;
}

.jp-news-card__media .jp-news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
}

.jp-news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.jp-news-card__title {
  margin: 0;
  color: var(--jp-news-text);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.24;
  text-wrap: balance;
}

.jp-news-card__summary {
  display: -webkit-box;
  margin: 12px 0 0;
  overflow: hidden;
  color: var(--jp-news-text-muted);
  font-size: 0.9rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.jp-news-card__footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
}

.jp-news-card .jp-news-meta {
  margin: 0;
  color: #6d7c92;
  font-size: 0.76rem;
}

.jp-news-card .jp-news-meta__icon {
  filter: none;
  opacity: 0.75;
}

.jp-news-card__arrow {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
  transition: transform var(--jp-news-transition);
}

.jp-news-card:hover .jp-news-card__arrow {
  transform: translateX(4px);
}

.jp-news-empty {
  display: none;
  margin: 34px 0 0;
  padding: 40px 24px;
  color: var(--jp-news-text-muted);
  text-align: center;
  background: var(--jp-news-surface-soft);
  border: 1px dashed #cbd9ec;
  border-radius: var(--jp-news-radius-md);
}

.jp-news-empty[data-visible="true"] {
  display: block;
}

.jp-news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
}

.jp-news-pagination__link,
.jp-news-pagination__current {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--jp-news-border);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 750;
}

.jp-news-pagination__link {
  color: var(--jp-news-text);
  background: var(--jp-news-white);
}

.jp-news-pagination__link:hover {
  color: var(--jp-news-blue);
  border-color: #b8cff1;
  background: var(--jp-news-blue-soft);
}

.jp-news-pagination__current {
  color: var(--jp-news-white);
  background: var(--jp-news-blue);
  border-color: var(--jp-news-blue);
}

.jp-news-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
  margin-top: 34px;
  padding: 28px 34px;
  background: linear-gradient(135deg, #f6f9ff 0%, #eef5ff 100%);
  border: 1px solid #d6e4f8;
  border-radius: var(--jp-news-radius-md);
  box-shadow: var(--jp-news-shadow-sm);
}

.jp-news-newsletter__intro {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: center;
}

.jp-news-newsletter__icon-wrap {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  background: rgba(23, 105, 255, 0.08);
  border-radius: 50%;
}

.jp-news-newsletter__icon {
  width: 34px;
  height: 34px;
}

.jp-news-newsletter__title {
  margin: 0;
  color: var(--jp-news-text);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.22;
}

.jp-news-newsletter__text {
  margin: 7px 0 0;
  color: var(--jp-news-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.jp-news-newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.jp-news-newsletter__input {
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  color: var(--jp-news-text);
  background: var(--jp-news-white);
  border: 1px solid #cfddf0;
  border-radius: 10px;
  outline: 0;
}

.jp-news-newsletter__input:focus {
  border-color: var(--jp-news-blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.12);
}

.jp-news-newsletter__button {
  min-height: 48px;
  padding: 0 22px;
  color: var(--jp-news-white);
  background: linear-gradient(180deg, #2b7fff 0%, #1769ff 100%);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
  box-shadow: 0 10px 22px rgba(23, 105, 255, 0.2);
}

.jp-news-home :focus-visible {
  outline: 3px solid rgba(75, 148, 255, 0.85);
  outline-offset: 3px;
}

.jp-news-final-cta {
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: 58px 24px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #1f5cf2 0%, #1849cc 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.jp-news-final-cta__inner {
  display: flex;
  width: min(100%, 820px);
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.jp-news-final-cta h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.jp-news-final-cta p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.55;
}

.jp-news-final-cta__actions {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
}

.jp-news-final-cta__primary {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}

.jp-news-final-cta__primary > span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.7rem;
  font-weight: 700;
}

.jp-news-final-cta__button {
  display: inline-flex;
  min-height: 46px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  transition: background 180ms ease, transform 180ms ease;
}

.jp-news-final-cta__button:hover {
  transform: translateY(-1px);
}

.jp-news-final-cta__button svg {
  width: 16px;
  height: 16px;
}

.jp-news-final-cta .jp-news-final-cta__button--primary {
  color: #1457d9;
  background: #fff;
  border-color: #fff;
}

.jp-news-final-cta .jp-news-final-cta__button--primary:hover {
  background: #f4f8ff;
}

.jp-news-final-cta__button--secondary {
  color: #fff;
  background: transparent;
}

.jp-news-final-cta__button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.jp-news-footer {
  padding: 58px 24px 0;
  color: #c2cbe0;
  background: #0e1b35;
}

.jp-news-footer a {
  color: inherit;
  text-decoration: none;
}

.jp-news-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  width: min(100%, 1360px);
  gap: 48px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jp-news-footer__brand picture {
  display: inline-flex;
}

.jp-news-footer__brand img {
  width: auto;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.jp-news-footer__brand p {
  max-width: 320px;
  margin: 16px 0 0;
  color: #8a93ad;
  font-size: 0.9rem;
  line-height: 1.55;
}

.jp-news-footer__brand p a {
  color: #d9e2f5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jp-news-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.jp-news-footer__columns h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.jp-news-footer__columns a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 4px 0;
  color: #8a93ad;
  font-size: 0.9rem;
  transition: color 150ms ease;
}

.jp-news-footer__columns a:hover {
  color: #fff;
}

.jp-news-footer__bottom {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 22px 0;
  color: #9aa3ba;
  font-size: 0.82rem;
  text-align: center;
}

.jp-news-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1100px) {
  .jp-news-hero__layout {
    grid-template-columns: 1fr;
  }

  .jp-news-hero__title {
    max-width: 12ch;
    font-size: 3.5rem;
  }

  .jp-news-featured {
    width: 100%;
    grid-template-columns: minmax(290px, 0.9fr) minmax(0, 1.1fr);
  }

  .jp-news-featured__title {
    font-size: 2.1rem;
  }

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

@media (max-width: 760px) {
  .jp-news-shell {
    width: min(calc(100% - 32px), var(--jp-news-shell));
  }

  .jp-news-hero {
    min-height: auto;
    padding: 54px 0 42px;
  }

  .jp-news-hero__layout {
    gap: 38px;
  }

  .jp-news-hero__title {
    font-size: 2.8rem;
  }

  .jp-news-trust {
    grid-template-columns: 1fr;
  }

  .jp-news-featured {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .jp-news-featured__media {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: #07182f;
  }

  .jp-news-featured__image {
    width: 100%;
    height: 100%;
    padding: 12px;
    object-position: center;
  }

  .jp-news-featured__veil {
    display: none;
  }

  .jp-news-featured__content {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 28px;
  }

  .jp-news-featured__title {
    max-width: 15ch;
    font-size: 1.85rem;
  }

  .jp-news-featured__summary {
    max-width: 48ch;
  }

  .jp-news-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .jp-news-filters {
    width: 100%;
  }

  .jp-news-sort {
    width: 100%;
  }

  .jp-news-grid {
    grid-template-columns: 1fr;
  }

  .jp-news-card__media {
    min-height: 0;
  }

  .jp-news-newsletter {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .jp-news-newsletter__form {
    grid-template-columns: 1fr;
  }

  .jp-news-final-cta {
    min-height: 0;
    padding: 48px 20px;
  }

  .jp-news-final-cta h2 {
    font-size: 2rem;
  }

  .jp-news-final-cta__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .jp-news-final-cta__primary,
  .jp-news-final-cta__button {
    width: 100%;
  }

  .jp-news-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .jp-news-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 420px) {
  .jp-news-shell {
    width: min(calc(100% - 24px), var(--jp-news-shell));
  }

  .jp-news-hero__title {
    font-size: 2.35rem;
    letter-spacing: 0;
  }

  .jp-news-featured__content {
    padding: 24px 20px;
  }

  .jp-news-card__body {
    padding: 18px 17px 16px;
  }

  .jp-news-newsletter__intro {
    grid-template-columns: 1fr;
  }

  .jp-news-final-cta h2 {
    font-size: 1.75rem;
  }

  .jp-news-footer {
    padding-inline: 20px;
  }

  .jp-news-footer__columns {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jp-news-home *,
  .jp-news-home *::before,
  .jp-news-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
