/* Blog / Post — base from style.css + page polish (single source) */

.news-shell,
.post-shell,
.solution-shell,
.platform-shell {
  width: min(1288px, calc(100% - 64px));
  margin: 0 auto;
}

.news-hero-section {
  padding: 80px 32px 128px;
}

.news-featured {
  margin-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

.news-featured-media,
.news-featured-copy {
  min-width: 0;
}

.news-featured-media {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 600 / 400;
}

.news-featured-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-featured-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 14px;
  line-height: 20px;
}

.news-category {
  color: var(--primary);
  font-weight: 500;
}

.news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #98a2b3;
}

.news-featured-copy h2 {
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}

.news-readmore img {
  width: 20px;
  height: 20px;
}

.news-tabs {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 32px;
  border-bottom: 1px solid #d0d5dd;
}

.news-tabs button {
  padding: 0 8px 16px;
  border: 0;
  background: transparent;
  color: #344054;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.news-tabs button.is-active {
  color: var(--text);
  box-shadow: inset 0 -3px 0 var(--primary);
}

.news-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
}

.news-grid-3 {
  margin-top: 0;
}

.news-card img {
  height: 277px;
  object-fit: cover;
  border-radius: 16px;
}

.news-card .news-meta {
  margin-top: 16px;
  font-size: 12px;
  line-height: 16px;
}

.news-card h3 {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.news-card p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
}

.news-pagination {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.news-page-button,
.news-page-numbers button {
  height: 40px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #475467;
  font-size: 14px;
  line-height: 20px;
}

.news-page-button {
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-page-next {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.news-page-numbers {
  display: flex;
  gap: 2px;
}

.news-page-numbers button {
  width: 40px;
  border-color: transparent;
}

.news-page-numbers button.is-active {
  background: #e4e7ec;
  border-radius: 999px;
  color: var(--text);
}

.post-shell {
  padding: 64px 32px 128px;
}

.post-breadcrumb {
  color: #667085;
  font-size: 16px;
  line-height: 24px;
}

.post-breadcrumb span {
  margin: 0 6px;
}

.post-shell h1 {
  max-width: 900px;
  margin: 40px 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
}

.post-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.post-author img {
  width: 40px;
  height: 40px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  object-fit: cover;
}

.post-author p {
  margin: 0 0 4px;
  color: #475467;
  font-size: 12px;
  line-height: 16px;
}

.post-author strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.post-hero-image {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 24px;
}

.post-content-layout {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 361px 1fr;
  gap: 96px;
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-share p,
.post-toc h2 {
  margin: 0 0 12px;
  color: var(--text);
}

.post-share-list {
  display: flex;
  gap: 12px;
}

.post-share-list span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e4e7ec;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-toc a {
  display: block;
  margin-top: 8px;
  color: #475467;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.post-article {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-lead {
  color: var(--text);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  line-height: 28px;
}

.post-article h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 44px;
}

.post-article h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.post-article p {
  font-size: 16px;
  line-height: 24px;
}

.post-inline-image {
  margin: 24px 0 0;
}

.post-inline-image img {
  border-radius: 24px;
}

.post-inline-image figcaption {
  margin-top: 8px;
  color: #667085;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.post-article blockquote {
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--primary);
  color: #667085;
  font-size: 16px;
  font-style: italic;
  line-height: 24px;
}

.post-related {
  margin-top: 160px;
}

.post-related-head {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.post-related h2 {
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
}

.solution-hero .solution-shell {
  position: relative;
  z-index: 1;
  text-align: center;
}

.solution-problem > .solution-shell > p:last-of-type {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 48px;
  line-height: 60px;
  text-align: center;
}

/* —— Page polish / scoped overrides —— */

/**
 * Blog list + post detail — Figma nodes 3860:1761, 4055:1975, 3870:2951, 4055:2430
 * Loaded via BlogAsset; scoped under .news-page / .post-page shells.
 */

/* —— Blog list (desktop refinements) —— */

.news-page .news-main {
  background: var(--bg);
}

.news-page .news-hero-section {
  padding: 80px 32px 128px;
}

.news-page .news-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.news-page .news-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.news-page .news-hero-section h1 {
  width: 100%;
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
  text-align: center;
}

.news-page .news-heading p {
  max-width: 618px;
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 24px;
}

/* Featured post, category tabs and grid sit 40px apart (page sections use 80px) */
.news-page .news-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-page .news-featured {
  width: 100%;
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 525fr) minmax(0, 723fr);
  gap: 40px;
  align-items: start;
}

.news-page .news-featured-media,
.news-page .news-featured-copy {
  min-width: 0;
}

.news-page .news-featured-media {
  aspect-ratio: 600 / 400;
  border-radius: 16px;
  overflow: hidden;
}

.news-page .news-featured-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-page .news-featured-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.news-page .news-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 64px;
  width: 100%;
  max-width: none;
  padding: 0;
}

.news-page .news-featured-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-page .news-featured-copy .news-meta {
  font-size: 16px;
  line-height: 24px;
}

.news-page .news-featured-copy .news-meta span:not(.news-category):not(.news-dot) {
  color: var(--text-3);
  font-size: 14px;
  line-height: 20px;
}

.news-page .news-featured-copy h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-page .news-featured-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.news-page .news-featured-copy h2 a:hover {
  color: var(--primary);
}

.news-page .news-featured-copy p {
  max-width: none;
  margin: 0;
  color: var(--text-3);
  font-size: 18px;
  line-height: 28px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-page .news-readmore {
  align-self: flex-start;
}

.news-page .news-readmore .gt-fa {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.news-page .news-readmore:hover .gt-fa {
  transform: translateX(2px);
}

.news-page .news-tabs {
  width: 100%;
  margin-top: 0;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.news-page .news-tabs::-webkit-scrollbar {
  display: none;
}

.news-page .news-tabs button,
.news-page .news-tabs a {
  flex-shrink: 0;
  padding: 0 8px 16px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.news-page .news-tabs a:hover {
  color: var(--primary);
}

.news-page .news-tabs a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.news-page .news-tabs button.is-active,
.news-page .news-tabs a.is-active {
  color: var(--text);
  box-shadow: inset 0 -3px 0 var(--primary);
}

.news-page .news-grid {
  width: 100%;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 20px;
}

.news-page .news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.news-page .news-card-media {
  display: block;
  aspect-ratio: 416 / 277;
  border-radius: 16px;
  overflow: hidden;
}

.news-page .news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.news-page .news-card .news-meta {
  margin-top: 0;
  font-size: 12px;
  line-height: 16px;
}

.news-page .news-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

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

.news-page .news-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* Single-line title per design; full title stays available via the link's title attribute */
.news-page .news-card-body h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-page .news-card h3 a:hover {
  color: var(--primary);
}

.news-page .news-card p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-page .news-empty {
  margin: 0;
  padding: 40px 0;
  color: var(--text-3);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.news-page .news-pagination {
  width: 100%;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.news-page .news-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-page .news-pagination .pagination > li {
  list-style: none;
}

.news-page .news-pagination .pagination > li > a,
.news-page .news-pagination .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

/* LinkPager is configured with activePageCssClass "is-active"; keep Yii's default "active" too */
.news-page .news-pagination .pagination > li.active > a,
.news-page .news-pagination .pagination > li.active > span,
.news-page .news-pagination .pagination > li.is-active > a,
.news-page .news-pagination .pagination > li.is-active > span {
  background: #e4e7ec;
  border-color: transparent;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
}

.news-page .news-pagination .pagination > li.disabled > span {
  opacity: 0.5;
  cursor: not-allowed;
}

.news-page .news-pagination .pagination > li.news-page-next > a {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.news-page .news-pagination .pagination > li.news-page-prev > a,
.news-page .news-pagination .pagination > li.news-page-prev > span {
  min-width: 107px;
}

/* —— Post detail (desktop refinements) —— */

/* Single centered 852px reading column; related posts span the 1288px shell below it */
.post-page .post-main {
  background: var(--bg);
}

.post-page .post-shell {
  width: min(852px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.post-page .post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-bottom: 24px;
  color: #667085;
  font-size: 16px;
  line-height: 24px;
}

.post-page .post-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.post-page .post-breadcrumb a.is-current {
  color: var(--text);
  font-weight: 500;
}

.post-page .post-breadcrumb a:hover {
  color: var(--primary);
}

.post-page .post-breadcrumb span {
  margin: 0;
  color: var(--text);
}

.post-page .post-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-page .post-header h1 {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
  overflow-wrap: anywhere;
}

.post-page .post-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
}

.post-page .post-author p {
  margin: 0;
}

/* Author avatar falls back to the wide site logo: fit it inside the circle instead of cropping */
.post-page .post-author img {
  padding: 4px;
  background: #fff;
  object-fit: contain;
}

.post-page .post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  color: #475467;
  font-size: 14px;
  line-height: 20px;
}

.post-page .post-meta > * + *::before {
  content: "·";
  margin: 0 4px;
}

.post-page .post-meta-category {
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}

.post-page .post-meta-category:hover {
  text-decoration: underline;
}

/* TOC, hero, article and share row: 32px rhythm inside the column */
.post-page .post-content-layout {
  margin-top: -8px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-page .post-toc {
  border-radius: 8px;
  background: #f5f6f7;
}

.post-page .post-toc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: var(--text);
  font-size: 24px;
  line-height: 32px;
  cursor: pointer;
  list-style: none;
}

.post-page .post-toc summary::-webkit-details-marker {
  display: none;
}

.post-page .post-toc summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 8px;
}

.post-page .post-toc summary .gt-fa {
  font-size: 14px;
  color: var(--text-3);
  transition: transform 0.2s ease;
}

.post-page .post-toc[open] summary .gt-fa {
  transform: rotate(180deg);
}

.post-page .post-toc-body {
  padding: 0 24px 16px;
}

.post-page .post-toc .toc-wrapper {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
}

.post-page .post-toc .toc-title {
  display: none;
}

.post-page .post-toc .ai-toc,
.post-page .post-toc .ai-sub-toc,
.post-page .post-toc ol,
.post-page .post-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-page .post-toc .ai-sub-toc,
.post-page .post-toc li ol,
.post-page .post-toc li ul {
  padding-left: 16px;
}

.post-page .post-toc a {
  display: block;
  padding: 4px 0;
  color: var(--text-3);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.post-page .post-toc a:hover {
  color: var(--primary);
}

.post-page .post-hero-image {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.post-page .post-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 852 / 477;
  object-fit: cover;
  border-radius: 24px;
}

/* CMS content: 24px between blocks, 32px before section headings */
.post-page .post-article {
  display: block;
  min-width: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
}

.post-page .post-article > * {
  margin-top: 0;
  margin-bottom: 0;
}

.post-page .post-article > * + * {
  margin-top: 24px;
}

.post-page .post-article > * + h2,
.post-page .post-article > * + h3 {
  margin-top: 32px;
}

.post-page .post-lead {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  line-height: 24px;
}

.post-page .post-article > .post-lead + * {
  margin-top: 32px;
}

.post-page .post-article img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

.post-page .post-article figure {
  margin-left: 0;
  margin-right: 0;
}

.post-page .post-article figcaption {
  margin-top: 16px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.post-page .post-article .table-responsive {
  overflow-x: auto;
}

.post-page .post-article h2 {
  color: var(--text);
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
}

.post-page .post-article h3 {
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.post-page .post-article p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
}

.post-page .post-article blockquote {
  padding: 16px;
  border-left: 3px solid var(--primary);
  color: var(--text);
  font-size: 16px;
  font-style: italic;
  line-height: 24px;
}

.post-page .post-article blockquote p {
  margin: 0;
}

.post-page .post-article-source {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 20px;
}

.post-page .post-content-layout > .post-article-tags,
.post-page .post-content-layout > .post-share {
  margin-top: 8px;
}

.post-page .post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.post-page .post-share p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
}

.post-page .post-share-list .social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.post-page .post-share-list .social-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #e4e7ec;
  color: #344054;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.post-page .post-share-list .social-share a:hover {
  background: var(--primary);
  color: #fff;
}

.post-page .post-related {
  margin-top: 0;
  padding: 80px 32px;
}

.post-page .post-related-shell {
  width: min(1288px, 100%);
  margin: 0 auto;
}

.post-page .post-related-head {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 40px;
}

.post-page .post-related h2 {
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
}

.post-page .post-related .news-page-button {
  font-weight: 500;
  text-decoration: none;
}

.post-page .post-related .news-grid-3 {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-page .post-related .news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.post-page .post-related .news-card-media {
  display: block;
  aspect-ratio: 416 / 277;
  border-radius: 16px;
  overflow: hidden;
}

.post-page .post-related .news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Related cards show the date only per design */
.post-page .post-related .news-category,
.post-page .post-related .news-dot {
  display: none;
}

.post-page .post-related .news-card .news-meta {
  color: #475467;
}

.post-page .post-related .news-card h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-page .post-related .news-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.post-page .post-related .news-card h3 a:hover {
  color: var(--primary);
}

.post-page .post-related .news-card p {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 16px;
  line-height: 24px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* —— Mobile ≤768 —— */

@media (max-width: 768px) {
  .news-page .news-hero-section {
    padding: 40px 16px 64px;
  }

  .news-page .news-shell {
    gap: 40px;
    width: calc(100% - 32px);
  }

  .news-page .news-hero-section h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .news-page .news-heading p {
    font-size: 14px;
    line-height: 20px;
  }

  .news-page .news-featured {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-page .news-featured-copy {
    gap: 24px;
  }

  .news-page .news-featured-text {
    gap: 16px;
  }

  .news-page .news-featured-media {
    width: 100%;
    max-width: 100%;
  }

  .news-page .news-featured-copy {
    padding: 0;
    max-width: none;
  }

  .news-page .news-featured-copy h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
  }

  .news-page .news-featured-copy p {
    max-width: none;
    font-size: 14px;
    line-height: 20px;
  }

  .news-page .news-tabs {
    justify-content: flex-start;
    gap: 16px 32px;
    padding-bottom: 0;
  }

  .news-page .news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-page .news-card {
    gap: 16px;
  }

  .news-page .news-card h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .news-page .news-card p {
    font-size: 14px;
    line-height: 20px;
    -webkit-line-clamp: 3;
  }

  .news-page .news-pagination {
    flex-wrap: wrap;
  }

  .news-page .news-pagination .pagination {
    width: 100%;
    justify-content: center;
  }

  .post-page .post-shell {
    width: calc(100% - 32px);
    padding: 40px 0;
    gap: 24px;
  }

  .post-page .post-breadcrumb {
    padding-bottom: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .post-page .post-header {
    gap: 16px;
  }

  .post-page .post-header h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .post-page .post-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-page .post-content-layout {
    margin-top: 0;
    gap: 24px;
  }

  .post-page .post-toc summary {
    padding: 12px 16px;
    font-size: 18px;
    line-height: 28px;
  }

  .post-page .post-toc-body {
    padding: 0 16px 12px;
  }

  .post-page .post-hero-image,
  .post-page .post-hero-image img,
  .post-page .post-article img {
    border-radius: 16px;
  }

  .post-page .post-hero-image img {
    aspect-ratio: 358 / 200;
  }

  .post-page .post-lead {
    padding-bottom: 24px;
  }

  .post-page .post-article > * + h2,
  .post-page .post-article > * + h3,
  .post-page .post-article > .post-lead + * {
    margin-top: 24px;
  }

  .post-page .post-article > * + * {
    margin-top: 16px;
  }

  .post-page .post-article h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .post-page .post-article h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .post-page .post-share {
    gap: 12px 24px;
  }

  .post-page .post-related {
    padding: 40px 16px 64px;
  }

  .post-page .post-related-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .post-page .post-related h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .post-page .post-related .news-grid-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .news-page .news-hero-section h1 {
    font-size: 32px;
    line-height: 40px;
  }
}
