/* Blog listing + article pages */
.rfp-blog-page {
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(42, 157, 143, 0.1), transparent 50%),
    linear-gradient(180deg, #f4f7fa 0%, #eef2f6 100%);
  min-height: 100vh;
}

.rfp-blog-main,
.rfp-article-main {
  padding-top: var(--rfp-nav-h);
}

.rfp-blog-hero,
.rfp-article-hero {
  background:
    linear-gradient(120deg, rgba(15, 39, 68, 0.92), rgba(26, 58, 92, 0.82)),
    url(/img/1.96721075.webp) center/cover no-repeat;
  color: #fff;
  padding: 64px 24px 56px;
  position: relative;
}

.rfp-blog-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rfp-teal), transparent);
}

.rfp-blog-hero-inner,
.rfp-article-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  animation: rfp-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rfp-blog-hero h1,
.rfp-article-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rfp-blog-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  gap: 28px;
}

.rfp-blog-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1.2fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 39, 68, 0.06);
  animation: rfp-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rfp-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(15, 39, 68, 0.1);
}

.rfp-blog-card:nth-child(2) { animation-delay: 0.06s; }
.rfp-blog-card:nth-child(3) { animation-delay: 0.12s; }
.rfp-blog-card:nth-child(4) { animation-delay: 0.18s; }

.rfp-blog-card-media {
  display: block;
  min-height: 220px;
  overflow: hidden;
  background: var(--rfp-navy);
}

.rfp-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.rfp-blog-card:hover .rfp-blog-card-media img {
  transform: scale(1.04);
}

.rfp-blog-card-body {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
}

.rfp-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rfp-muted);
}

.rfp-blog-meta-light {
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
}

.rfp-blog-cat {
  color: var(--rfp-teal);
}

.rfp-blog-card-body h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--rfp-navy);
}

.rfp-blog-card-body h2 a {
  color: inherit;
  text-decoration: none;
}

.rfp-blog-card-body h2 a:hover {
  color: var(--rfp-teal);
}

.rfp-blog-card-body p {
  margin: 0 0 18px;
  color: var(--rfp-muted);
  line-height: 1.55;
  flex: 1;
}

.rfp-blog-read {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rfp-teal);
  text-decoration: none;
}

.rfp-blog-read:hover {
  color: var(--rfp-teal-dark);
}

/* Article */
.rfp-article-page .rfp-article-hero {
  padding-bottom: 0;
  background: linear-gradient(180deg, #0f2744 0%, #1a3a5c 100%);
}

.rfp-article-cover {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.rfp-article-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.rfp-article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  color: var(--rfp-ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

.rfp-article-body h2 {
  margin: 2em 0 0.7em;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rfp-navy);
  letter-spacing: -0.01em;
}

.rfp-article-body p {
  margin: 0 0 1.15em;
}

.rfp-article-body ul {
  margin: 0 0 1.3em;
  padding-left: 1.2em;
}

.rfp-article-body li {
  margin-bottom: 0.45em;
}

.rfp-article-body a {
  color: var(--rfp-teal-dark);
  font-weight: 600;
}

.rfp-article-cta {
  margin-top: 40px;
  padding: 28px;
  background: rgba(15, 39, 68, 0.04);
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 4px;
}

.rfp-article-cta h2 {
  margin-top: 0;
}

.rfp-article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.rfp-article-cta .rfp-page-submit {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
}

.rfp-text-link {
  color: var(--rfp-navy);
  font-weight: 700;
  text-decoration: none;
}

.rfp-text-link:hover {
  color: var(--rfp-teal);
}

.rfp-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}

.rfp-related h2 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rfp-navy);
}

.rfp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rfp-related-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: var(--rfp-navy);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.rfp-related-card:hover {
  transform: translateY(-2px);
  color: var(--rfp-teal);
}

.rfp-related-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.rfp-related-card span {
  padding: 0 14px 14px;
}

.rfp-article-cta .rfp-page-submit,
.rfp-page-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--rfp-navy), var(--rfp-navy-mid));
  color: #fff !important;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 39, 68, 0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.rfp-article-cta .rfp-page-submit:hover,
.rfp-page-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--rfp-teal-dark), var(--rfp-teal));
}

@media (max-width: 860px) {
  .rfp-blog-card {
    grid-template-columns: 1fr;
  }

  .rfp-blog-card-media {
    min-height: 180px;
    aspect-ratio: 16/9;
  }

  .rfp-related-grid {
    grid-template-columns: 1fr;
  }

  .rfp-article-cover {
    padding: 0 16px;
  }
}
