.wt-news-page,
.wt-newsitem-page {
  color: var(--wt-ink);
  font-family: "Be Vietnam Pro", sans-serif;
}

/* ---------------------------------------------------------------- Hero */

.wt-news-hero {
  padding: 34px 0 clamp(80px, 9vw, 132px);
  overflow: hidden;
  border-bottom: 1px solid var(--wt-line);
  background:
    radial-gradient(circle at 82% 18%, rgba(23, 107, 255, 0.14), transparent 30%),
    linear-gradient(rgba(16, 24, 40, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcfa 0%, #f3f7fd 100%);
  background-size: auto, 68px 68px, 68px 68px, auto;
}

.wt-news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #667085;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.wt-news-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.wt-news-breadcrumb a:hover,
.wt-news-breadcrumb a:focus-visible {
  color: var(--wt-blue);
}

.wt-news-hero-grid {
  padding-top: clamp(58px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(44px, 6vw, 96px);
}

.wt-news-hero-grid h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.9rem, 5.2vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.99;
}

.wt-news-hero-grid h1 em {
  color: var(--wt-blue);
  font-family: "Poppins", "Be Vietnam Pro", sans-serif;
  font-size: 0.9em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.wt-news-lead {
  max-width: 56ch;
  margin: 26px 0 0;
  color: var(--wt-ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.72;
}

.wt-news-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}

.wt-news-actions .wt-text-link {
  margin-top: 0;
}

.wt-news-stats {
  padding: clamp(26px, 3vw, 34px);
  display: grid;
  gap: 22px;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-md);
  background: var(--wt-white);
  box-shadow: var(--wt-shadow);
}

.wt-news-stats > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
}

.wt-news-stats strong {
  color: var(--wt-blue);
  font-family: "Rubik", sans-serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wt-news-stats span {
  color: var(--wt-ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.012em;
}

.wt-news-stats small {
  display: block;
  margin-top: 4px;
  color: var(--wt-ink-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

/* ------------------------------------------------------------- Featured */

.wt-news-featured {
  padding: clamp(78px, 8vw, 130px) 0;
  border-bottom: 1px solid var(--wt-line);
  background: var(--wt-white);
}

.wt-news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  overflow: hidden;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-lg);
  background: var(--wt-paper);
}

.wt-news-feature-media {
  align-self: stretch;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf2ff, #d9fff8);
}

.wt-news-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.wt-news-feature:hover .wt-news-feature-media img {
  transform: scale(1.03);
}

.wt-news-feature-body {
  padding: clamp(28px, 3.4vw, 56px) clamp(28px, 3.4vw, 56px) clamp(28px, 3.4vw, 56px) 0;
}

.wt-news-feature-body h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.wt-news-feature-body h2 a {
  color: inherit;
  text-decoration: none;
}

.wt-news-feature-body h2 a:hover,
.wt-news-feature-body h2 a:focus-visible {
  color: var(--wt-blue);
}

.wt-news-feature-body p {
  margin: 18px 0 0;
  color: var(--wt-ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

/* ------------------------------------------------------ Meta / category */

.wt-news-meta {
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.wt-news-tag {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(23, 107, 255, 0.1);
  color: var(--wt-blue-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wt-news-meta time {
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------- Filter tools */

.wt-news-archive {
  padding: clamp(78px, 8vw, 130px) 0;
  border-bottom: 1px solid var(--wt-line);
  background: var(--wt-paper);
}

.wt-news-tools {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.wt-news-search {
  display: grid;
  gap: 9px;
}

.wt-news-search span {
  color: var(--wt-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wt-news-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-sm);
  background: var(--wt-white);
  color: var(--wt-ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.wt-news-search input:focus {
  border-color: var(--wt-blue);
  box-shadow: 0 0 0 4px rgba(23, 107, 255, 0.12);
  outline: none;
}

.wt-news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wt-news-filters button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  background: var(--wt-white);
  color: #475467;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.wt-news-filters button:hover,
.wt-news-filters button:focus-visible {
  border-color: rgba(23, 107, 255, 0.4);
  color: var(--wt-ink);
}

.wt-news-filters button.is-active {
  border-color: var(--wt-ink);
  background: var(--wt-ink);
  color: var(--wt-white);
}

.wt-news-result {
  margin: 0 0 clamp(30px, 3.4vw, 44px);
  color: var(--wt-ink-soft);
  font-size: 13px;
}

.wt-news-result strong {
  color: var(--wt-ink);
  font-weight: 750;
}

/* ----------------------------------------------------------- Card grid */

.wt-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 34px);
}

.wt-news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-md);
  background: var(--wt-white);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.wt-news-card:hover,
.wt-news-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--wt-shadow);
}

.wt-news-card[hidden] {
  display: none;
}

.wt-news-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eaf2ff, #d9fff8);
}

.wt-news-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 460ms ease;
}

.wt-news-card:hover .wt-news-card-media img {
  transform: scale(1.04);
}

.wt-news-card-body {
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex: 1;
  flex-direction: column;
}

.wt-news-card-body h3 {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.3;
}

.wt-news-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.wt-news-card-body h3 a:hover,
.wt-news-card-body h3 a:focus-visible {
  color: var(--wt-blue);
}

.wt-news-card-body p {
  margin: 12px 0 0;
  color: var(--wt-ink-soft);
  font-size: 14px;
  line-height: 1.66;
}

.wt-news-card-body > a {
  margin-top: auto;
  padding-top: 22px;
}

/* --------------------------------------------------------- Empty state */

.wt-news-empty {
  padding: clamp(38px, 4vw, 58px);
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px dashed rgba(16, 24, 40, 0.2);
  border-radius: var(--wt-radius-md);
  background: var(--wt-white);
  text-align: center;
}

.wt-news-empty[hidden] {
  display: none;
}

.wt-news-empty strong {
  color: var(--wt-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.022em;
}

.wt-news-empty p {
  max-width: 44ch;
  margin: 0;
  color: var(--wt-ink-soft);
  font-size: 14px;
  line-height: 1.68;
}

.wt-news-empty button {
  min-height: 46px;
  margin-top: 10px;
  padding: 0 24px;
  border: 1px solid var(--wt-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--wt-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.wt-news-empty button:hover,
.wt-news-empty button:focus-visible {
  background: var(--wt-ink);
  color: var(--wt-white);
}

/* ------------------------------------------------------- Detail article */

.wt-newsitem-hero {
  padding: 34px 0 clamp(56px, 6vw, 88px);
  border-bottom: 1px solid var(--wt-line);
  background:
    radial-gradient(circle at 84% 16%, rgba(32, 201, 189, 0.15), transparent 30%),
    linear-gradient(180deg, #fbfcfa 0%, #f2f8f7 100%);
}

.wt-newsitem-hero-inner {
  max-width: 800px;
  padding-top: clamp(50px, 6vw, 84px);
}

.wt-newsitem-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.1vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.wt-newsitem-hero p {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--wt-ink-soft);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
}

.wt-newsitem-media {
  max-width: 1060px;
  margin: clamp(-40px, -3vw, -28px) auto 0;
  overflow: hidden;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-lg);
  background: var(--wt-white);
  box-shadow: var(--wt-shadow);
}

.wt-newsitem-media img {
  width: 100%;
  height: auto;
  display: block;
}

.wt-newsitem-body {
  padding: clamp(58px, 6vw, 96px) 0 clamp(78px, 8vw, 126px);
  background: var(--wt-white);
}

.wt-newsitem-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--wt-ink-soft);
  font-size: 17px;
  line-height: 1.78;
}

.wt-newsitem-content > *:first-child {
  margin-top: 0;
}

.wt-newsitem-content h2 {
  margin: 52px 0 18px;
  color: var(--wt-ink);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.042em;
  line-height: 1.14;
}

.wt-newsitem-content h3 {
  margin: 40px 0 14px;
  color: var(--wt-ink);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.25;
}

.wt-newsitem-content p {
  margin: 0 0 22px;
}

.wt-newsitem-content ul,
.wt-newsitem-content ol {
  margin: 0 0 24px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.wt-newsitem-content a {
  color: var(--wt-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wt-newsitem-content img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: var(--wt-radius-md);
}

.wt-newsitem-content blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--wt-teal);
  color: var(--wt-ink);
  font-size: 18px;
  font-style: italic;
}

.wt-newsitem-content code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(16, 24, 40, 0.06);
  font-size: 0.9em;
}

.wt-newsitem-tags {
  max-width: 760px;
  margin: clamp(44px, 5vw, 66px) auto 0;
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--wt-line);
}

.wt-newsitem-tags span {
  padding: 7px 14px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  color: #475467;
  font-size: 12px;
  font-weight: 650;
}

.wt-newsitem-more {
  max-width: 760px;
  margin: clamp(38px, 4vw, 54px) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
}

.wt-newsitem-more .wt-text-link {
  margin-top: 0;
}

/* ----------------------------------------------------------- Closing CTA */

.wt-news-cta {
  padding: clamp(76px, 8vw, 126px) 0;
  background: var(--wt-paper);
}

.wt-news-cta-card {
  padding: clamp(38px, 4.6vw, 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  border-radius: var(--wt-radius-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(32, 201, 189, 0.24), transparent 42%),
    linear-gradient(135deg, #101828 0%, #16264a 100%);
  color: var(--wt-white);
}

.wt-news-cta-card .wt-section-kicker {
  color: var(--wt-teal);
}

.wt-news-cta-card h2 {
  margin: 0;
  color: var(--wt-white);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.wt-news-cta-card p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.72;
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1100px) {
  .wt-news-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 44px;
  }

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

  .wt-news-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .wt-news-feature-body {
    padding: clamp(26px, 4vw, 40px);
  }

  .wt-news-feature-media img {
    min-height: 240px;
  }

  .wt-news-cta-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 850px) {
  .wt-news-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .wt-news-hero-grid h1 {
    max-width: none;
  }

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

  .wt-news-actions .wt-button {
    width: 100%;
  }

  .wt-news-stats > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wt-news-card,
  .wt-news-card-media img,
  .wt-news-feature-media img,
  .wt-news-filters button,
  .wt-news-empty button {
    transition: none;
  }

  .wt-news-card:hover,
  .wt-news-card:focus-within {
    transform: none;
  }

  .wt-news-card:hover .wt-news-card-media img,
  .wt-news-feature:hover .wt-news-feature-media img {
    transform: none;
  }
}
