.cms-page-body {
  background:
    radial-gradient(circle at 8% 4%, rgba(31, 69, 173, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.cms-article-section {
  padding-top: 0.35rem;
}

.cms-article {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.cms-article-hero {
  position: relative;
  margin: 0 0 0.35rem;
}

.cms-article-hero-image {
  width: 100%;
  height: clamp(240px, 38vw, 520px);
  object-fit: cover;
  border-radius: 24px 24px 10px 10px;
  box-shadow: 0 24px 60px rgba(20, 38, 91, 0.13);
}

.cms-article-hero-fallback {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: clamp(240px, 38vw, 520px);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 24px 24px 10px 10px;
  box-shadow: 0 24px 60px rgba(20, 38, 91, 0.13);
  background:
    radial-gradient(circle at top right, rgba(252, 205, 98, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(22, 63, 149, 0.16), rgba(255, 255, 255, 0.98));
}

.cms-article-hero-fallback-mark {
  display: inline-flex;
  position: absolute;
  top: clamp(1.1rem, 2.5vw, 1.5rem);
  left: clamp(1.1rem, 2.5vw, 1.5rem);
  padding: 0.4rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--circle-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cms-article-hero-fallback-copy {
  display: grid;
  gap: 0.5rem;
  max-width: 32rem;
  text-align: center;
}

.cms-article-hero-fallback-kicker {
  color: rgba(24, 33, 59, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cms-article-hero-fallback-copy strong {
  color: var(--circle-blue);
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cms-article-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(9, 18, 42, 0.68));
  pointer-events: none;
}

.cms-article-title {
  margin: 0 0 1rem;
  color: #20243a;
  font-size: clamp(1.65rem, 2.45vw, 2.45rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.cms-article-summary {
  max-width: 760px;
  margin: -0.2rem 0 1.25rem;
  color: #5f687d;
  font-size: 1.08rem;
  line-height: 1.65;
}

.cms-article-meta {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(3rem, 5.2vw, 4rem);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}

.cms-article-meta time {
  margin-left: auto;
}

.cms-article-hero-share {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: 0;
  z-index: 2;
}

.cms-article-author {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.cms-article-author img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(31, 69, 173, 0.12);
  background: #fff;
  box-shadow: 0 10px 22px rgba(20, 38, 91, 0.08);
}

.cms-article-author a,
.cms-article-author strong {
  display: inline-flex;
  gap: 0.32rem;
  align-items: center;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.cms-article-author a:hover {
  color: #f0c40c;
}

.cms-article-author span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.cms-copy-block {
  width: 100%;
  max-width: none;
  padding: clamp(1.25rem, 3vw, 2.3rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 69, 173, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(20, 38, 91, 0.07);
}

.cms-article-body {
  font-size: 1.08rem;
}

.cms-copy-block > :first-child {
  margin-top: 0;
}

.cms-copy-block > :last-child {
  margin-bottom: 0;
}

.cms-article-body > div > h1:first-child {
  display: none;
}

.cms-post-share {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  width: fit-content;
  margin: 0 0 0.85rem auto;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(31, 69, 173, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(20, 38, 91, 0.08);
}

.cms-post-share-label {
  color: rgba(24, 33, 59, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cms-post-share-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cms-post-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(31, 69, 173, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #1f45ad;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, color 120ms ease, border-color 120ms ease;
}

.cms-post-share-button:hover,
.cms-post-share-button:focus-visible {
  color: var(--brand-dark);
  border-color: rgba(31, 69, 173, 0.28);
  box-shadow: 0 12px 24px rgba(20, 38, 91, 0.08);
  transform: translateY(-1px);
}

.cms-post-share-button i {
  font-size: 0.92rem;
}

.cms-post-share-button span {
  display: none;
}

.cms-post-share-feedback {
  margin: 0 0 0 0.15rem;
  color: #54627d;
  font-size: 0.78rem;
  font-weight: 600;
}

.cms-page-feature-image {
  width: 100%;
  max-height: 420px;
  margin: 0 0 1.4rem;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(20, 38, 91, 0.12);
}

.cms-page-author {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  color: #5e6b86;
  font-weight: 700;
}

.cms-page-author a {
  color: #1f45ad;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cms-copy-block h2,
.cms-copy-block h3,
.cms-copy-block h4 {
  color: #1f45ad;
}

.cms-copy-block h2 {
  margin: 2rem 0 0.8rem;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  letter-spacing: -0.035em;
}

.cms-copy-block p,
.cms-copy-block li {
  color: #2b3142;
  line-height: 1.82;
}

.cms-copy-block p {
  margin-bottom: 1.1rem;
}

.cms-copy-block ul,
.cms-copy-block ol {
  padding-left: 1.25rem;
}

@media (max-width: 767.98px) {
  .cms-article-section {
    padding-top: 1rem;
  }

  .cms-post-share-actions {
    gap: 0.3rem;
  }

  .cms-post-share {
    width: fit-content;
    justify-content: flex-end;
    margin-left: auto;
  }

  .cms-article-hero-share {
    position: absolute;
    right: 1rem;
    left: auto;
    bottom: 0;
  }

  .cms-article-meta {
    bottom: 4.5rem;
  }

  .cms-article-hero-image {
    border-radius: 18px;
  }

  .cms-article-hero-fallback {
    border-radius: 18px;
  }

}
