/* ============================================================
   RankFactory — Blog CSS
   Full replacement for blog listing + article pages
   ============================================================ */

:root {
  --rf-blog-bg: #f4f8fc;
  --rf-blog-surface: #ffffff;
  --rf-blog-surface-soft: #f8fbff;
  --rf-blog-border: #e2eaf4;
  --rf-blog-border-strong: #d6e2ef;

  --rf-blog-text: #15233f;
  --rf-blog-text-soft: #6f7f97;
  --rf-blog-text-muted: #8c9ab0;

  --rf-blog-blue: #2950bf;
  --rf-blog-blue-dark: #1f46b5;
  --rf-blog-cyan: #16aac7;
  --rf-blog-link: #2457d6;

  --rf-blog-grad: linear-gradient(90deg, #2950bf 0%, #16aac7 100%);
  --rf-blog-shadow-sm: 0 10px 24px rgba(20, 38, 77, 0.04);
  --rf-blog-shadow-md: 0 18px 40px rgba(18, 38, 74, 0.07);
  --rf-blog-shadow-lg: 0 22px 46px rgba(18, 38, 74, 0.1);
}

/* ============================================================
   BLOG INDEX
   ============================================================ */

.blog-hero {
  background: linear-gradient(160deg, #f0f6ff 0%, #fafcff 40%, #eef4ff 100%);
  padding: 136px 0 74px;
  text-align: center;
}

.blog-hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.8rem, 5vw, 4.45rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  color: var(--rf-blog-text);
}

.blog-hero-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.76;
  color: var(--rf-blog-text-soft);
}

.blog-featured {
  padding: 56px 0 38px;
  background: #fff;
}

.blog-featured-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f2f7ff 0%, #eef4ff 100%);
  border: 1px solid rgba(41, 80, 191, 0.12);
  box-shadow: 0 18px 40px rgba(18, 38, 74, 0.05);
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--rf-blog-grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.blog-date,
.blog-read {
  font-size: 0.82rem;
  color: var(--rf-blog-text-muted);
}

.blog-featured-title {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  color: var(--rf-blog-text);
}

.blog-featured-excerpt {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 0.98rem;
  line-height: 1.76;
  color: var(--rf-blog-text-soft);
}

.blog-featured-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.blog-featured-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rf-blog-text);
}

.blog-featured-author span {
  font-size: 0.8rem;
  color: var(--rf-blog-text-muted);
}

.blog-grid-section {
  padding: 54px 0 72px;
  background: var(--rf-blog-bg);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.blog-filter {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--rf-blog-border-strong);
  background: #fff;
  color: var(--rf-blog-text-soft);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.blog-filter:hover,
.blog-filter.active {
  background: var(--rf-blog-blue);
  border-color: var(--rf-blog-blue);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--rf-blog-border);
  background: #fff;
  box-shadow: var(--rf-blog-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #d3e0ef;
  box-shadow: var(--rf-blog-shadow-lg);
}

.blog-card.hidden {
  display: none;
}

.blog-card-image-link {
  display: block;
  margin: -24px -24px 16px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.blog-card-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.03);
}

.blog-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.blog-card-title {
  margin-bottom: 10px;
  font-size: 1.02rem;
  line-height: 1.38;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--rf-blog-text);
}

.blog-card-excerpt {
  flex: 1;
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.66;
  color: var(--rf-blog-text-soft);
}

.blog-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.blog-card-link {
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rf-blog-link);
}

.blog-card-link:hover {
  color: var(--rf-blog-blue-dark);
}

.blog-load-more {
  text-align: center;
}

.blog-avatar,
.blog-avatar-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.blog-avatar {
  width: 44px;
  height: 44px;
  font-size: 1rem;
}

.blog-avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.78rem;
}

.bg1 { background: linear-gradient(135deg, #1d6fe8, #0891b2); }
.bg2 { background: linear-gradient(135deg, #667eea, #764ba2); }
.bg3 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.bg4 { background: linear-gradient(135deg, #4facfe, #00f2fe); }

.blog-newsletter {
  padding: 78px 0;
  background: var(--rf-blog-text);
}

.blog-newsletter-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.blog-newsletter-icon {
  margin-bottom: 18px;
  font-size: 3rem;
}

.blog-newsletter-card h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.blog-newsletter-card > p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.blog-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.blog-newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.blog-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.blog-newsletter-form input:focus {
  border-color: #74c7eb;
  background: rgba(255, 255, 255, 0.15);
}

.blog-newsletter-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}

/* ============================================================
   ARTICLE PAGE
   WIDER + FULLY STYLED
   ============================================================ */

body.rf-body-alt {
  background: var(--rf-blog-bg);
}

#main-content .rf-section {
  padding: 6px 0 76px;
}

.rf-article-layout {
  width: 100%;
  max-width: 1180px; /* wider wrapper */
  margin: 0 auto;
}

.rf-article {
  width: 100%;
  max-width: 860px; /* wider content */
  margin: 0 auto;
  padding: 0 0 84px;
}

/* top article area */
.rf-article > header:first-of-type,
.rf-article header {
  margin-bottom: 26px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rf-blog-text-muted);
}

.rf-article h1 {
  margin: 0 0 16px;
  max-width: 940px;
  font-size: clamp(3.2rem, 5.8vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.082em;
  font-weight: 800;
  color: var(--rf-blog-text);
}

.article__dek {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 1.04rem;
  line-height: 1.74;
  color: var(--rf-blog-text-soft);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.rf-breadcrumb {
  padding: 92px 0 10px;
  background: transparent;
}

.rf-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rf-breadcrumb-list li {
  display: flex;
  align-items: center;
}

.rf-breadcrumb-list li[aria-hidden="true"] {
  margin: 0 2px;
  color: #c8d4e6;
  font-size: 0.78rem;
  user-select: none;
}

.rf-breadcrumb-list a {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--rf-blog-text-muted);
  text-decoration: none;
  transition: background 0.14s, color 0.14s;
}

.rf-breadcrumb-list a:hover {
  background: #eef3fb;
  color: var(--rf-blog-link);
}

.rf-breadcrumb-list [aria-current="page"] {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rf-blog-text);
  padding: 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

/* ============================================================
   NOTE
   ============================================================ */

.note {
  margin: 0 0 26px;
}

.note p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 16px;
  border-radius: 10px;
  background: #f4f8ff;
  border: 1px solid #dce8f8;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--rf-blog-text-soft);
}

.note p::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--rf-blog-grad);
  flex-shrink: 0;
}

.note a {
  color: var(--rf-blog-link);
  font-weight: 600;
  text-decoration: none;
}

.note a:hover {
  color: var(--rf-blog-blue-dark);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 640px) {
  .rf-breadcrumb {
    padding-top: 76px;
  }

  .rf-breadcrumb-list [aria-current="page"] {
    max-width: 200px;
  }

  .note p {
    font-size: 0.86rem;
  }
}

/* hero image */
.article-hero {
  margin: 22px 0 40px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--rf-blog-border);
  background: #fff;
  box-shadow: var(--rf-blog-shadow-md);
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-hero figcaption {
  padding: 12px 16px 14px;
  background: #fff;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--rf-blog-text-muted);
}

.hero-overlay {
  display: none;
}

/* content sections */
.rf-article section {
  margin: 0 0 30px;
}

.rf-article h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: var(--rf-blog-text);
}

.rf-article h3 {
  margin: 22px 0 12px;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--rf-blog-text);
}

.rf-article p,
.rf-article li,
.rf-article summary,
.rf-article figcaption {
  font-family: "Inter", sans-serif;
}

.rf-article p {
  margin: 0 0 15px;
  font-size: 1rem;
  line-height: 1.84;
  color: #334764;
}

.rf-article ul,
.rf-article ol {
  margin: 0 0 18px;
  padding-left: 1.28rem;
}

.rf-article li {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.8;
  color: #334764;
}

.rf-article li::marker {
  color: var(--rf-blog-link);
}

.rf-article strong {
  color: var(--rf-blog-text);
}

.rf-article a {
  color: var(--rf-blog-link);
  text-decoration: none;
}

.rf-article a:hover {
  color: var(--rf-blog-blue-dark);
  text-decoration: underline;
}

.rf-article blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--rf-blog-link);
  border-radius: 16px;
  background: #f7fbff;
  color: #27405d;
}

.rf-article code {
  padding: 0.12em 0.38em;
  border-radius: 8px;
  background: #eef4fb;
  font-size: 0.92em;
}

.rf-article hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid #e6edf7;
}

.rf-article table {
  width: 100%;
  margin: 20px 0 24px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 35, 70, 0.04);
}

.rf-article th,
.rf-article td {
  padding: 14px 16px;
  border: 1px solid #e6edf7;
  text-align: left;
}

.rf-article th {
  background: #f6f9fd;
  color: var(--rf-blog-text);
  font-weight: 700;
}

/* FAQ */
.faq {
  margin-top: 8px;
}

.faq h2 {
  margin-bottom: 16px;
}

.faq details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--rf-blog-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 35, 70, 0.035);
}

.faq summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.46;
  font-weight: 700;
  color: var(--rf-blog-text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rf-blog-grad);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(41, 80, 191, 0.16);
}

.faq details[open] summary::after {
  content: "–";
}

.faq .answer {
  padding: 0 20px 20px;
}

.faq .answer p {
  margin: 0;
}

/* CTA */
.article-cta {
  position: relative;
  margin: 46px 0 20px;
  padding: 38px 34px 30px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(36, 87, 214, 0.1);
  box-shadow:
    0 22px 54px rgba(20, 38, 77, 0.07),
    0 8px 24px rgba(20, 38, 77, 0.04);
  overflow: hidden;
}

.article-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--rf-blog-grad);
}

.article-cta h2 {
  margin: 0 0 10px;
  max-width: 700px;
  font-size: clamp(2.05rem, 3.2vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--rf-blog-text);
}

.article-cta p {
  max-width: 700px;
  margin: 0 0 22px;
  font-size: 0.98rem;
  line-height: 1.76;
  color: var(--rf-blog-text-soft);
}

.article-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.apply-btn,
.article-cta .apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--rf-blog-grad);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.97rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(41, 80, 191, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apply-btn:hover,
.article-cta .apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(41, 80, 191, 0.26);
}

.article-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid #d9e4f2;
  background: #fff;
  color: var(--rf-blog-blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-cta-secondary:hover {
  transform: translateY(-2px);
  border-color: #c6d7ed;
  box-shadow: 0 12px 24px rgba(41, 80, 191, 0.1);
}

.article-cta-meta {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94a2b7;
}

.back-to-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #2d4fba;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.back-to-top-link:hover {
  text-decoration: underline;
}

/* animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rf-breadcrumb {
    padding-top: 84px;
  }

  .rf-article {
    max-width: 100%;
  }

  .rf-article h1 {
    font-size: clamp(2.5rem, 8vw, 3.7rem);
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding-top: 108px;
    padding-bottom: 58px;
  }

  .blog-featured-card {
    padding: 28px 20px;
    border-radius: 22px;
  }

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

  .blog-card {
    padding: 20px;
    border-radius: 20px;
  }

  .blog-card-image-link {
    margin: -20px -20px 16px;
    border-radius: 20px 20px 0 0;
  }

  .blog-card-image {
    height: 180px;
  }

  .blog-newsletter-form {
    flex-direction: column;
  }

  .blog-newsletter-form input,
  .blog-newsletter-form .btn {
    border-radius: 16px;
  }

  .rf-breadcrumb {
    padding-top: 76px;
  }

  .rf-article {
    padding-bottom: 56px;
  }

  .rf-article h1 {
    font-size: 2.45rem;
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .article__dek,
  .rf-article p,
  .rf-article li {
    font-size: 0.96rem;
  }

  .article-hero {
    border-radius: 18px;
    margin-bottom: 32px;
  }

  .faq summary {
    padding: 16px 50px 16px 16px;
    font-size: 0.94rem;
  }

  .faq .answer {
    padding: 0 16px 16px;
  }

  .article-cta {
    margin-top: 36px;
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .article-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .apply-btn,
  .article-cta .apply-btn,
  .article-cta-secondary {
    width: 100%;
  }
}

/* ============================================================
   FINAL ARTICLE POLISH
   Tuned to fix oversized title / weak jump nav / weak note / heavy image
   ============================================================ */

body.rf-body-alt .rf-breadcrumb {
  padding-top: 88px !important;
  padding-bottom: 8px !important;
}

body.rf-body-alt .rf-article-layout {
  max-width: 1180px !important;
}

body.rf-body-alt .rf-article {
  max-width: 900px !important;
  padding-bottom: 84px !important;
}

body.rf-body-alt .rf-article > header:first-of-type,
body.rf-body-alt .rf-article header {
  margin-bottom: 24px !important;
}

body.rf-body-alt .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  color: #8393ab !important;
}

body.rf-body-alt .rf-article h1 {
  max-width: 900px !important;
  margin: 0 0 18px !important;
  font-size: clamp(2.7rem, 4.8vw, 4.4rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.075em !important;
  color: #15233f !important;
}

body.rf-body-alt .article__dek {
  max-width: 760px !important;
  margin: 0 0 20px !important;
  font-size: 1.03rem !important;
  line-height: 1.75 !important;
  color: #6e7f97 !important;
}

body.rf-body-alt .jump-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 0 20px !important;
}

body.rf-body-alt .jump-nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid #dce6f3 !important;
  color: #2d57c7 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(18, 38, 74, 0.03) !important;
  transition: all 0.18s ease !important;
}

body.rf-body-alt .jump-nav a:hover {
  transform: translateY(-1px) !important;
  border-color: #c6d7ee !important;
  color: #1f46b5 !important;
  box-shadow: 0 10px 18px rgba(41, 80, 191, 0.08) !important;
}

body.rf-body-alt .note {
  margin: 0 0 26px !important;
}

body.rf-body-alt .note p {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  border-radius: 10px !important;
  background: #f4f8ff !important;
  border: 1px solid #dce8f8 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: var(--rf-blog-text-soft) !important;
}

body.rf-body-alt .note p::before {
  content: "" !important;
  display: block !important;
  width: 3px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background: var(--rf-blog-grad) !important;
  flex-shrink: 0 !important;
}


body.rf-body-alt .note a {
  color: var(--rf-blog-link) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.rf-body-alt .note a:hover {
  color: var(--rf-blog-blue-dark) !important;
  text-decoration: underline !important;
}


body.rf-body-alt .article-hero {
  margin: 22px 0 42px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  border: 1px solid #e2eaf4 !important;
  background: #ffffff !important;
  box-shadow: 0 18px 42px rgba(18, 38, 74, 0.07) !important;
}

body.rf-body-alt .article-hero img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: cover !important;
}

body.rf-body-alt .article-hero figcaption {
  padding: 12px 16px 14px !important;
  font-size: 0.79rem !important;
  line-height: 1.55 !important;
  color: #8a98ad !important;
  background: #ffffff !important;
}

body.rf-body-alt .rf-article section {
  margin-bottom: 30px !important;
}

body.rf-body-alt .rf-article h2 {
  margin-bottom: 12px !important;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.05em !important;
}

body.rf-body-alt .article-cta {
  margin-top: 46px !important;
  padding: 38px 34px 30px !important;
  border-radius: 26px !important;
}

@media (max-width: 640px) {
  body.rf-body-alt .rf-breadcrumb {
    padding-top: 74px !important;
  }

  body.rf-body-alt .rf-article h1 {
    font-size: 2.45rem !important;
    line-height: 0.98 !important;
  }

  body.rf-body-alt .jump-nav a {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 0.84rem !important;
  }

  body.rf-body-alt .note p {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }

  body.rf-body-alt .article-hero img {
    max-height: none !important;
  }

  body.rf-body-alt .article-cta {
    padding: 28px 20px 24px !important;
    border-radius: 22px !important;
  }
}
