.articles-body {
  background:
    linear-gradient(180deg, rgba(23, 32, 51, .06), rgba(247, 248, 250, 0) 360px),
    var(--page);
}

.articles-nav-link {
  color: var(--primary);
}

.articles-hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 58px) 24px 70px;
  background:
    radial-gradient(circle at 78% 24%, rgba(216, 179, 142, .22), transparent 32%),
    linear-gradient(90deg, rgba(18, 24, 38, .98) 0%, rgba(18, 24, 38, .94) 48%, rgba(18, 24, 38, .82) 100%),
    url("../images/bg.webp") left top / cover no-repeat;
  color: var(--hero-text);
  overflow: hidden;
}

.articles-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.articles-hero-copy {
  max-width: 860px;
}

.articles-kicker,
.article-meta,
.article-card-meta,
.article-eyebrow {
  color: #d8b38e;
  font-size: .82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.articles-kicker {
  margin-bottom: 12px;
}

.articles-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1;
  font-weight: 800;
}

.articles-hero p {
  max-width: 760px;
  color: rgba(247, 248, 250, .78);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.articles-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.articles-list-section {
  padding: 92px 24px;
  background: var(--navy);
}

.articles-list-intro {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.articles-list-section .section-title {
  color: #fff;
}

.articles-list-section .section-subtitle {
  color: rgba(247, 248, 250, .68);
}

.articles-bridge {
  margin: 0;
}

.blog-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.blog-main,
.blog-sidebar {
  min-width: 0;
}

.blog-main {
  transition: opacity .18s ease;
}

.blog-main.is-loading {
  opacity: .55;
  pointer-events: none;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045));
  box-shadow: 0 24px 52px rgba(0, 0, 0, .22);
}

.blog-featured-card h2 {
  max-width: 760px;
  margin: 12px 0;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.blog-featured-card p {
  max-width: 740px;
  color: rgba(247, 248, 250, .72);
}

.blog-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
  color: rgba(247, 248, 250, .82);
}

.blog-section-heading h3 {
  color: #fff;
  font-size: 1.15rem;
}

.blog-section-heading span {
  color: rgba(216, 179, 142, .86);
  font-size: .85rem;
  font-weight: 760;
  text-transform: uppercase;
}

.articles-feed {
  display: grid;
  gap: 14px;
}

.article-row a {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: rgba(247, 248, 250, .68);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.article-row a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .26);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .22);
}

.article-row h2 {
  color: #fff;
  font-size: 1.28rem;
  line-height: 1.22;
}

.article-row-link {
  margin-top: 6px;
  color: #d8b38e;
  font-weight: 760;
}

.articles-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.articles-pagination a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  color: rgba(247, 248, 250, .84);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  font-weight: 760;
}

.articles-pagination a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .26);
}

.articles-pagination a.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.articles-pagination a.disabled {
  opacity: .42;
  pointer-events: none;
}

.articles-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: grid;
  gap: 16px;
}

.blog-sidebar-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.blog-sidebar-card h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.1rem;
}

.blog-sidebar-card p {
  margin-bottom: 16px;
  color: rgba(247, 248, 250, .68);
}

.blog-category-list,
.blog-start-links {
  display: grid;
  gap: 10px;
}

.blog-category-list {
  list-style: none;
}

.blog-category-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  color: rgba(247, 248, 250, .76);
}

.blog-category-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-category-list strong {
  color: #d8b38e;
}

.blog-start-links a {
  color: rgba(247, 248, 250, .84);
  text-decoration: none;
  font-weight: 760;
}

.blog-start-links a:hover {
  color: #fff;
}

.blog-cta-card {
  background: rgba(36, 87, 214, .22);
  border-color: rgba(111, 147, 235, .32);
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  color: rgba(247, 248, 250, .68);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .26);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .22);
}

.article-card h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: 1.34rem;
  line-height: 1.2;
}

.article-card p {
  margin-bottom: 22px;
  flex: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #d8b38e;
  font-weight: 760;
}

.article-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 58px 24px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px 48px;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-content article {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.article-intro {
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.article-intro p,
.article-section p,
.article-faq p {
  margin-bottom: 18px;
}

.article-section {
  margin-top: 36px;
}

.article-section h2,
.article-faq h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.72rem;
  line-height: 1.16;
}

.article-section ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.article-section li {
  margin-bottom: 9px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: grid;
  gap: 16px;
}

.article-sidebar-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.article-sidebar-card h2,
.article-sidebar-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.article-sidebar-card p {
  margin-bottom: 16px;
  font-size: .95rem;
}

.article-sidebar-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.article-sidebar-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
}

.article-sidebar-list a:hover {
  color: var(--primary);
}

.article-faq {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-faq-item {
  margin-top: 18px;
}

.article-faq-item h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.05rem;
}

.article-back {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  color: var(--primary);
  text-decoration: none;
  font-weight: 760;
}

@media (max-width: 927px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-featured-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .articles-hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 44px) 18px 54px;
  }

  .articles-list-section {
    padding: 72px 18px;
  }

  .blog-featured-card,
  .article-row a,
  .blog-sidebar-card {
    padding: 22px;
  }

  .articles-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .article-shell {
    padding: 38px 18px 72px;
  }

  .article-content article {
    padding: 24px;
  }

  .article-section h2,
  .article-faq h2 {
    font-size: 1.42rem;
  }
}
