body.articles-archive-page {
  margin: 0;
  padding-top: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(51, 118, 255, 0.18), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(31, 132, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #040b1b 0%, #071129 38%, #050c1f 100%);
  color: #f4f7ff;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.articles-archive-page .container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

.articles-archive-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.articles-archive-shell::before,
.articles-archive-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.articles-archive-shell::before {
  width: 520px;
  height: 520px;
  top: 70px;
  right: -220px;
  background: radial-gradient(circle, rgba(48, 111, 255, 0.2) 0%, rgba(48, 111, 255, 0) 70%);
}

.articles-archive-shell::after {
  width: 460px;
  height: 460px;
  left: -220px;
  top: 400px;
  background: radial-gradient(circle, rgba(15, 161, 255, 0.12) 0%, rgba(15, 161, 255, 0) 70%);
}

.articles-navbar {
  background: rgba(5, 12, 28, 0.88);
  border-bottom: 1px solid rgba(92, 149, 255, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  z-index: 60;
}

.articles-navbar.manual__navbar {
  padding-top: 10px;
  padding-bottom: 10px;
}

body.articles-archive-page .navbar__container {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 20px;
}

.articles-archive-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 430px;
  padding: 9px 14px;
  border-radius: 16px;
  border: 1px solid rgba(116, 160, 255, 0.18);
  background: rgba(9, 17, 37, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.articles-archive-search i {
  color: #8dbbff;
  font-size: 16px;
}

.articles-archive-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f7fbff;
  font-size: 15px;
  outline: none;
}

.articles-archive-search input::placeholder {
  color: rgba(219, 229, 255, 0.52);
}

.articles-archive-search button {
  border: 0;
  background: transparent;
  color: #9dcbff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.articles-archive-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 15px;
  background: linear-gradient(180deg, #326fff 0%, #2663ef 100%);
  color: #f4f8ff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(27, 98, 255, 0.22);
}

.articles-archive-premium:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.articles-archive-main {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--dh-nav-min-height, 72px) + 8px);
}

.articles-archive-hero {
  padding: 18px 0 22px;
}

.articles-archive-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 460px);
  align-items: center;
  gap: 36px;
}

.articles-archive-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 14px;
  border: 1px solid rgba(117, 158, 255, 0.18);
  background: rgba(7, 17, 39, 0.72);
  color: #d4e4ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.articles-archive-hero__title {
  margin: 16px 0 14px;
  max-width: 680px;
  font-size: clamp(42px, 5.1vw, 72px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.articles-archive-hero__title strong,
.articles-archive-hero__title span {
  color: #52aefc;
}

.articles-archive-hero__excerpt {
  max-width: 620px;
  margin: 0;
  color: rgba(224, 234, 255, 0.76);
  font-size: 20px;
  line-height: 1.5;
}

.articles-archive-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.articles-archive-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.articles-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 14px;
  border: 1px solid rgba(116, 160, 255, 0.14);
  background: rgba(9, 18, 40, 0.72);
  color: #d8e7ff;
  font-size: 14px;
  font-weight: 600;
}

.articles-hero__meta-item i {
  color: #60b8ff;
}

.articles-archive-hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.articles-archive-hero__art::before {
  content: "";
  position: absolute;
  inset: 16% 10% 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(73, 131, 255, 0.32) 0%, rgba(73, 131, 255, 0.08) 45%, rgba(73, 131, 255, 0) 72%);
  filter: blur(16px);
}

.articles-archive-hero__art img {
  position: relative;
  width: min(100%, 470px);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(20, 78, 255, 0.22));
}

.articles-archive-panel {
  padding: 8px 0 76px;
}

.articles-toolbar {
  padding: 20px 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(104, 147, 255, 0.18);
  background: linear-gradient(180deg, rgba(9, 18, 39, 0.94) 0%, rgba(8, 15, 32, 0.98) 100%);
  box-shadow: 0 24px 56px rgba(2, 8, 22, 0.32);
}

.articles-toolbar__summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.articles-toolbar__summary h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
}

.articles-toolbar__summary p {
  margin: 0;
  color: #9fc0ff;
  font-size: 15px;
  font-weight: 500;
}

.articles-toolbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.articles-toolbar__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.articles-toolbar__chip,
.articles-toolbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(110, 151, 255, 0.14);
  background: rgba(10, 20, 44, 0.84);
  color: #e5efff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.articles-toolbar__chip:hover,
.articles-toolbar__chip.is-active {
  color: #ffffff;
  border-color: rgba(119, 165, 255, 0.34);
  background: linear-gradient(180deg, rgba(28, 66, 157, 0.9) 0%, rgba(18, 36, 86, 0.92) 100%);
}

.articles-toolbar__cta {
  gap: 12px;
  padding: 0 24px;
  background: linear-gradient(180deg, #3b84ff 0%, #2e6ff5 100%);
  border-color: rgba(117, 165, 255, 0.45);
  box-shadow: 0 16px 34px rgba(28, 98, 255, 0.24);
}

.articles-toolbar__cta:hover {
  color: #ffffff;
}

.articles-empty {
  margin-top: 24px;
  padding: 24px;
  border-radius: 22px;
  border: 1px dashed rgba(110, 155, 255, 0.24);
  background: rgba(8, 16, 37, 0.78);
  color: #deebff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.articles-featured {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr) 150px;
  gap: 20px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(104, 147, 255, 0.22);
  background: linear-gradient(180deg, rgba(8, 16, 36, 0.96) 0%, rgba(9, 18, 39, 1) 100%);
  box-shadow: 0 24px 56px rgba(2, 8, 22, 0.34);
}

.articles-featured__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
}

.articles-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.articles-featured__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(5, 12, 27, 0) 0%, rgba(5, 12, 27, 0.7) 100%);
}

.articles-featured__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3e87ff 0%, #2865e9 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.articles-featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.articles-featured__date {
  margin: 0 0 16px;
  color: #74b7ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.articles-featured__title {
  margin: 0;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}

.articles-featured__title a {
  color: #f9fbff;
  text-decoration: none;
}

.articles-featured__title a:hover {
  color: #bfe1ff;
}

.articles-featured__excerpt {
  margin: 14px 0 0;
  max-width: 680px;
  color: rgba(222, 233, 255, 0.74);
  font-size: 17px;
  line-height: 1.58;
}

.articles-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: #a9c6ff;
  font-size: 14px;
  font-weight: 600;
}

.articles-featured__meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.articles-featured__meta .fa-circle {
  font-size: 8px;
  color: #4ba6ff;
}

.articles-featured__stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-left: 20px;
  border-left: 1px solid rgba(101, 143, 241, 0.16);
}

.articles-featured__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.articles-featured__stat-value {
  color: #f8fbff;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.articles-featured__stat-label {
  color: rgba(217, 228, 255, 0.58);
  font-size: 12px;
  font-weight: 600;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.articles-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(101, 144, 244, 0.18);
  background: linear-gradient(180deg, rgba(8, 16, 37, 0.98) 0%, rgba(7, 13, 29, 0.98) 100%);
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(2, 8, 22, 0.28);
}

.articles-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.articles-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.articles-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(4, 10, 24, 0) 0%, rgba(4, 10, 24, 0.56) 100%);
}

.articles-card__date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 7px 11px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3e87ff 0%, #2b65ec 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.articles-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.articles-card__meta-row,
.articles-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.articles-card__topic,
.articles-card__read-time {
  color: #8bb8ff;
  font-size: 12px;
  font-weight: 700;
}

.articles-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.articles-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.26;
  font-weight: 800;
}

.articles-card__title a {
  color: #fbfdff;
  text-decoration: none;
}

.articles-card__title a:hover {
  color: #c7e6ff;
}

.articles-card__excerpt {
  margin: 0;
  color: rgba(223, 233, 255, 0.72);
  font-size: 14px;
  line-height: 1.52;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.articles-card__meta {
  color: rgba(217, 229, 255, 0.54);
  font-size: 12px;
  font-weight: 600;
}

.articles-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9fd3ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.articles-card__link:hover {
  color: #ffffff;
}

.articles-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-bottom: 8px;
}

.articles-pagination__pages {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.articles-pagination__page,
.articles-pagination__load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(106, 149, 244, 0.16);
  background: rgba(8, 16, 37, 0.9);
  color: #eff6ff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.articles-pagination__page.is-active {
  background: linear-gradient(180deg, #3c7fff 0%, #2c66ed 100%);
  border-color: rgba(111, 160, 255, 0.5);
}

.articles-pagination__ellipsis {
  color: rgba(220, 231, 255, 0.55);
  font-weight: 700;
}

.articles-pagination__load {
  gap: 10px;
}

.articles-archive-footer {
  padding: 42px 0 52px;
  border-top: 1px solid rgba(101, 141, 240, 0.12);
  background: rgba(5, 12, 28, 0.7);
}

.articles-archive-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.articles-archive-footer__inner strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.articles-archive-footer__inner p {
  margin: 0;
  max-width: 520px;
  color: rgba(216, 228, 255, 0.62);
  font-size: 15px;
  line-height: 1.6;
}

.articles-archive-footer__nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.articles-archive-footer__nav a {
  color: #cfe1ff;
  text-decoration: none;
}

.articles-archive-footer__nav a:hover {
  color: #ffffff;
}

.topic-growth .articles-featured__badge,
.topic-growth .articles-card__date-badge {
  background: linear-gradient(180deg, #3f89ff 0%, #2d66eb 100%);
}

.topic-community .articles-featured__badge,
.topic-community .articles-card__date-badge {
  background: linear-gradient(180deg, #25b98c 0%, #1f8f71 100%);
}

.topic-moderation .articles-featured__badge,
.topic-moderation .articles-card__date-badge {
  background: linear-gradient(180deg, #6e65ff 0%, #4c46db 100%);
}

.topic-server-setup .articles-featured__badge,
.topic-server-setup .articles-card__date-badge {
  background: linear-gradient(180deg, #4b8dff 0%, #326be0 100%);
}

.topic-monetization .articles-featured__badge,
.topic-monetization .articles-card__date-badge {
  background: linear-gradient(180deg, #d8972e 0%, #b86a15 100%);
}

.topic-news-updates .articles-featured__badge,
.topic-news-updates .articles-card__date-badge {
  background: linear-gradient(180deg, #4677ff 0%, #3556db 100%);
}

.topic-guides .articles-featured__badge,
.topic-guides .articles-card__date-badge {
  background: linear-gradient(180deg, #4c83ff 0%, #375ddd 100%);
}

@media (max-width: 1240px) {
  .articles-archive-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .articles-archive-hero__art {
    order: -1;
  }

  .articles-featured {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  }

  .articles-featured__stats {
    grid-column: 1 / -1;
    flex-direction: row;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(101, 143, 241, 0.16);
  }

  .articles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.articles-archive-page .container {
    padding: 0 16px;
  }

  .articles-archive-main {
    padding-top: calc(var(--dh-nav-min-height, 72px) + 4px);
  }

  .articles-archive-hero {
    padding-top: 14px;
  }

  .articles-archive-hero__title {
    font-size: 40px;
  }

  .articles-archive-hero__excerpt {
    font-size: 17px;
  }

  .articles-hero__meta-item {
    font-size: 14px;
  }

  .articles-archive-hero__actions {
    align-items: stretch;
  }

  .articles-archive-search {
    min-width: 0;
    width: 100%;
    max-width: none;
  }

  .articles-toolbar__summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .articles-featured {
    grid-template-columns: 1fr;
  }

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

  .articles-archive-footer__inner {
    flex-direction: column;
  }

  .articles-archive-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .articles-archive-main {
    padding-top: calc(var(--dh-nav-min-height, 72px) + 2px);
  }

  .articles-archive-hero__title {
    font-size: 34px;
  }

  .articles-archive-hero__meta {
    gap: 10px;
  }

  .articles-hero__meta-item {
    width: 100%;
    justify-content: center;
  }

  .articles-toolbar {
    padding: 18px 16px;
  }

  .articles-toolbar__summary h2 {
    font-size: 24px;
  }

  .articles-toolbar__summary p {
    font-size: 15px;
  }

  .articles-toolbar__topics {
    gap: 10px;
  }

  .articles-toolbar__chip,
  .articles-toolbar__cta {
    width: 100%;
  }

  .articles-featured {
    padding: 14px;
    gap: 18px;
  }

  .articles-featured__title {
    font-size: 28px;
  }

  .articles-featured__excerpt {
    font-size: 15px;
  }

  .articles-featured__stats {
    flex-direction: column;
    gap: 14px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-card__body {
    padding: 14px;
  }

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

  .articles-pagination__pages {
    justify-content: center;
  }

  .articles-pagination__load {
    width: 100%;
  }
}
