.std-article-shell {
  --std-article-bg: #f5f7fb;
  --std-article-surface: #ffffff;
  --std-article-text: #172033;
  --std-article-muted: #5c6984;
  --std-article-line: #d7deeb;
  --std-article-accent: var(--std-article-runtime-accent, var(--v2s-core-runtime-accent, #0f5bd3));
  --std-article-accent-soft: var(--std-article-runtime-accent-soft, #eaf2ff);
  --std-article-shadow: 0 24px 56px rgba(15, 32, 68, 0.08);
  --std-article-hero-bg:
    linear-gradient(135deg, #0f1f44 0%, #183163 48%, #21488c 100%);
  color: var(--std-article-text);
}

.std-article-shell > .page-hero:first-child {
  margin-top: 0;
  padding-top: calc(84px + var(--v2s-core-nav-offset, 0px));
}

.std-article-shell .container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.std-article-shell .page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 56px;
  background: var(--std-article-hero-bg);
  color: #fff;
}

.std-article-shell .page-hero.v2s-article-detail-hero {
  display: block;
  height: auto;
  min-height: 380px;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(10, 10, 10, 0.8) 28%, rgba(12, 12, 12, 0.52) 58%, rgba(12, 12, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.28) 100%),
    var(--v2s-article-detail-hero-image, url("/api/public/platform-media/pmed_fd27e68fb00342aa8397bf56447e943f"));
  background-size: cover;
  background-position: center 24%;
  background-repeat: no-repeat;
}

.std-article-shell .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 38%,
      rgba(255, 255, 255, 0.14) 100%
    );
  pointer-events: none;
}

.std-article-shell .page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -120px auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(8px);
}

.std-article-shell .page-hero.v2s-article-detail-hero::before {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 173, 79, 0.18) 0%, rgba(255, 173, 79, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.std-article-shell .page-hero.v2s-article-detail-hero::after {
  inset: auto -6% -160px auto;
  width: 420px;
  height: 420px;
  background: rgba(20, 12, 8, 0.28);
  filter: blur(28px);
}

.std-article-shell .page-hero > .container {
  position: relative;
  z-index: 1;
}

.std-article-shell .page-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.std-article-shell .page-crumbs a {
  color: inherit;
  text-decoration: none;
}

.std-article-shell .page-hero h1 {
  margin: 16px 0 12px;
  max-width: 920px;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
  color: #fff !important;
  overflow-wrap: anywhere;
}

.std-article-shell .page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
}

.std-article-shell .page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.std-article-shell .page-hero p {
  max-width: 680px;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9) !important;
  overflow-wrap: anywhere;
}

.std-article-shell .v2s-article-detail-wrap {
  background: var(--std-article-bg);
  padding: 56px 0;
}

.std-article-shell .v2s-article-detail__article {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid var(--std-article-line);
  border-radius: 28px;
  background: var(--std-article-surface);
  box-shadow: var(--std-article-shadow);
  padding: 32px;
}

.std-article-shell .v2s-article-detail__head {
  margin-bottom: 24px;
}

.std-article-shell .v2s-article-detail__head h1 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.22;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.std-article-shell .v2s-article-detail__tag {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--std-article-accent-soft);
  color: var(--std-article-accent);
  font-size: 12px;
  font-weight: 700;
}

.std-article-shell .v2s-article-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--std-article-muted);
  font-size: 13px;
}

.std-article-shell .v2s-article-detail__cover img {
  display: block;
  width: 100%;
  max-height: 520px;
  margin: 24px auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  background: #e8eef7;
}

.std-article-shell .v2s-article-detail__content {
  color: var(--std-article-muted);
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.std-article-shell .v2s-article-detail__content :where(p, li, blockquote) {
  margin: 0 0 16px;
}

.std-article-shell .v2s-article-detail__content :where(h2, h3) {
  color: var(--std-article-text);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.std-article-shell .v2s-article-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.std-article-shell .v2s-article-detail__tags span {
  border: 1px solid var(--std-article-line);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--std-article-muted);
  font-size: 12px;
}

.std-article-shell .page-crumbs,
.std-article-shell .page-crumbs a,
.std-article-shell .page-crumbs span {
  color: rgba(255, 255, 255, 0.82) !important;
}

.std-article-shell .blog-page-sec,
.std-article-shell .article-sec,
.std-article-shell .newsletter-sec,
.std-article-shell .cta-sec {
  background: var(--std-article-bg);
}

.std-article-shell .blog-page-sec,
.std-article-shell .article-sec {
  padding: 48px 0;
}

.std-article-shell .blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.std-article-shell .blog-filter-btn {
  border: 1px solid var(--std-article-line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--std-article-muted);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
}

.std-article-shell .blog-filter-btn.active {
  background: var(--std-article-accent);
  border-color: var(--std-article-accent);
  color: #fff;
}

.std-article-shell .blog-page-grid,
.std-article-shell .related-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.std-article-shell .blog-card,
.std-article-shell .related-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  overflow: hidden;
  min-height: 0;
  height: auto;
  border: 1px solid var(--std-article-line);
  border-radius: 24px;
  background: var(--std-article-surface);
  box-shadow: var(--std-article-shadow);
  text-decoration: none;
  color: inherit;
}

.std-article-shell .blog-card-img img,
.std-article-shell .related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.std-article-shell .blog-card-body,
.std-article-shell .related-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.std-article-shell .blog-card-tag,
.std-article-shell .tag {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--std-article-accent-soft);
  color: var(--std-article-accent);
  font-size: 12px;
  font-weight: 700;
}

.std-article-shell .blog-card-date,
.std-article-shell .article-meta {
  font-size: 13px;
  color: var(--std-article-muted);
}

.std-article-shell .blog-card h3,
.std-article-shell .related-card h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.std-article-shell .blog-card p,
.std-article-shell .related-card p,
.std-article-shell .article-post p,
.std-article-shell .newsletter-copy p,
.std-article-shell .cta-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--std-article-muted);
}

.std-article-shell .blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.std-article-shell .pg-btn {
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--std-article-line);
  border-radius: 999px;
  background: var(--std-article-surface);
  color: var(--std-article-muted);
  padding: 0;
  font-size: 20px;
  font-weight: 700;
}

.std-article-shell .pg-btn.active {
  background: var(--std-article-accent);
  border-color: var(--std-article-accent);
  color: #fff;
}

.std-article-shell .article-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.std-article-shell .article-post,
.std-article-shell .article-pager,
.std-article-shell .related-articles,
.std-article-shell .newsletter-panel,
.std-article-shell .cta-panel {
  border: 1px solid var(--std-article-line);
  border-radius: 28px;
  background: var(--std-article-surface);
  box-shadow: var(--std-article-shadow);
}

.std-article-shell .article-post,
.std-article-shell .article-pager,
.std-article-shell .related-articles,
.std-article-shell .newsletter-panel,
.std-article-shell .cta-panel {
  padding: 28px;
}

.std-article-shell .article-post h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.std-article-shell .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.std-article-shell .article-post > .tag {
  margin-bottom: 12px;
}

.std-article-shell .article-lead {
  margin-top: 12px;
}

.std-article-shell .article-post > .article-inline-cover {
  display: block;
  width: 100%;
  max-height: 520px;
  margin: 24px auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  background: #e8eef7;
}

.std-article-shell .article-post h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.45;
}

.std-article-shell .article-post blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--std-article-accent);
  background: var(--std-article-accent-soft);
  color: #163266;
  font-size: 15px;
  line-height: 1.9;
}

.std-article-shell .article-post img {
  display: block;
  max-width: 100%;
  margin: 24px auto;
  border-radius: 20px;
  object-position: center;
}

.std-article-shell .article-post .article-table-wrap,
.std-article-shell .v2s-article-detail__content .article-table-wrap {
  width: 100%;
  margin: 22px 0;
  overflow-x: auto;
}

.std-article-shell .article-post table,
.std-article-shell .v2s-article-detail__content table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  border: 1px solid var(--std-article-line);
  background: #fff;
  font-size: 15px;
  line-height: 1.75;
}

.std-article-shell .article-post th,
.std-article-shell .article-post td,
.std-article-shell .v2s-article-detail__content th,
.std-article-shell .v2s-article-detail__content td {
  padding: 11px 14px;
  border: 1px solid var(--std-article-line);
  color: var(--std-article-muted);
  text-align: left;
  vertical-align: top;
}

.std-article-shell .article-post th,
.std-article-shell .v2s-article-detail__content th {
  background: var(--std-article-soft);
  color: #0f172a;
  font-weight: 700;
}

.std-article-shell .article-pager {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.std-article-shell .pager-card {
  display: block;
  border: 1px solid var(--std-article-line);
  border-radius: 22px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
}

.std-article-shell .pager-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--std-article-muted);
}

.std-article-shell .pager-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.65;
}

.std-article-shell .related-articles {
  margin-top: 18px;
}

.std-article-shell .related-articles h3,
.std-article-shell .newsletter-copy h3,
.std-article-shell .cta-copy h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.3;
}

.std-article-shell .newsletter-sec,
.std-article-shell .cta-sec {
  padding: 0 0 48px;
}

.std-article-shell .newsletter-panel,
.std-article-shell .cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.std-article-shell .newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.std-article-shell .newsletter-form input {
  min-width: min(100%, 320px);
  height: 48px;
  border: 1px solid var(--std-article-line);
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
}

.std-article-shell .newsletter-form button,
.std-article-shell .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.std-article-shell .newsletter-form button,
.std-article-shell .btn-primary {
  background: var(--std-article-accent);
  color: #fff;
}

.std-article-shell .btn-secondary {
  background: rgba(15, 91, 211, 0.08);
  border-color: rgba(15, 91, 211, 0.16);
  color: var(--std-article-accent);
}

@media (max-width: 980px) {
  .std-article-shell .blog-page-grid,
  .std-article-shell .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .std-article-shell .page-hero {
    padding: 64px 0 44px;
  }

  .std-article-shell .page-hero.v2s-article-detail-hero {
    background-position: center 18%;
  }

  .std-article-shell > .page-hero:first-child {
    padding-top: calc(64px + var(--v2s-core-nav-offset, 0px));
  }

  .std-article-shell .blog-page-grid,
  .std-article-shell .related-grid,
  .std-article-shell .article-pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .std-article-shell .blog-card-body,
  .std-article-shell .related-card-body,
  .std-article-shell .article-post,
  .std-article-shell .v2s-article-detail__article,
  .std-article-shell .article-pager,
  .std-article-shell .related-articles,
  .std-article-shell .newsletter-panel,
  .std-article-shell .cta-panel {
    padding: 20px;
  }

  .std-article-shell .newsletter-form,
  .std-article-shell .newsletter-form input,
  .std-article-shell .newsletter-form button,
  .std-article-shell .btn {
    width: 100%;
  }
}
