.rp-blog-page {
  --blue: #0785bd;
  --blue-dark: #056f9f;
  --navy: #172f3a;
  --ink: #263941;
  --muted: #65747b;
  --cloud: #f3f8fa;
}

.rp-blog-page .rp-contact-nav {
  color: #fff;
  background: #d19b2a;
  border-radius: 3px;
  padding: 10px 13px;
}

.rp-blog-page .rp-contact-nav:hover {
  color: #fff;
  background: #b78016;
}

.rp-blog-page .rp-contact-nav::after {
  display: none;
}

.rp-blog-hero {
  background: linear-gradient(135deg, #f5fbfd 0%, #e8f5fa 100%);
  padding: 76px max(24px, calc(50% - 610px));
}

.rp-blog-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: 64px;
}

.rp-blog-hero h1,
.rp-article-hero h1 {
  color: var(--navy);
  letter-spacing: -.05em;
  margin: 0;
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.02;
}

.rp-blog-hero__intro,
.rp-article-deck {
  color: #55666e;
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.rp-blog-hero img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  box-shadow: 0 18px 40px #1b364124;
}

.rp-blog-list {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 92px;
}

.rp-section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.rp-section-heading h2 {
  color: var(--navy);
  letter-spacing: -.04em;
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.08;
}

.rp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rp-post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dce7eb;
  color: inherit;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  overflow: hidden;
}

.rp-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px #21414e1f;
}

.rp-post-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.rp-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 27px;
}

.rp-post-card time,
.rp-article-meta,
.rp-kicker {
  color: var(--blue-dark);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.rp-post-card h2 {
  color: var(--navy);
  letter-spacing: -.025em;
  margin: 12px 0 14px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.18;
}

.rp-post-card p {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
}

.rp-read-more {
  color: var(--blue-dark);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: auto;
  font-size: 12px;
  font-weight: 800;
}

.rp-editorial-note {
  background: var(--navy);
  color: #d9e5ea;
  padding: 58px max(24px, calc(50% - 610px));
}

.rp-editorial-note__inner {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.rp-editorial-note h2 {
  color: #fff;
  letter-spacing: -.035em;
  margin: 0;
  font-size: 34px;
  font-weight: 400;
}

.rp-editorial-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.rp-article-hero {
  background: linear-gradient(135deg, #f5fbfd 0%, #e8f5fa 100%);
  padding: 72px max(24px, calc(50% - 500px)) 68px;
}

.rp-article-hero h1 {
  max-width: 940px;
  margin-top: 16px;
  font-size: clamp(42px, 5.3vw, 67px);
}

.rp-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
}

.rp-article-meta span + span::before {
  content: "•";
  color: #8aa0aa;
  margin-right: 22px;
}

.rp-article-image {
  width: min(1120px, calc(100% - 48px));
  max-height: 610px;
  margin: 48px auto 0;
  object-fit: cover;
  box-shadow: 0 20px 48px #1b364122;
}

.rp-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 250px;
  gap: 72px;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 86px;
}

.rp-article-body {
  color: #40535c;
  font-size: 17px;
  line-height: 1.78;
}

.rp-article-body > p:first-child {
  color: var(--navy);
  font-size: 20px;
}

.rp-article-body p,
.rp-article-body ul,
.rp-article-body ol {
  margin: 0 0 24px;
}

.rp-article-body h2 {
  color: var(--navy);
  letter-spacing: -.03em;
  margin: 46px 0 16px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.18;
}

.rp-article-body h3 {
  color: var(--navy);
  margin: 30px 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.rp-article-body ul,
.rp-article-body ol {
  padding-left: 24px;
}

.rp-article-body ul {
  list-style: disc;
}

.rp-article-body ol {
  list-style: decimal;
}

.rp-article-body li {
  margin-bottom: 11px;
  padding-left: 5px;
}

.rp-article-body a {
  color: var(--blue-dark);
  font-weight: 700;
}

.rp-tip {
  border-left: 4px solid var(--blue);
  background: var(--cloud);
  color: #40535c;
  margin: 34px 0;
  padding: 25px 28px;
}

.rp-tip strong {
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.rp-author-card {
  position: sticky;
  top: 24px;
  border-top: 4px solid var(--blue);
  background: var(--cloud);
  padding: 26px;
}

.rp-author-card h2 {
  color: var(--navy);
  margin: 9px 0 12px;
  font-size: 23px;
  font-weight: 600;
}

.rp-author-card p {
  color: var(--muted);
  margin: 0 0 17px;
  font-size: 14px;
  line-height: 1.6;
}

.rp-author-card a {
  color: var(--blue-dark);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.rp-article-cta {
  background: #e9f6fb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto 80px;
  padding: 44px 48px;
}

.rp-article-cta h2 {
  color: var(--navy);
  letter-spacing: -.035em;
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 400;
}

.rp-article-cta p {
  color: var(--muted);
  margin: 0;
}

.rp-article-cta a {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .rp-blog-hero__inner,
  .rp-editorial-note__inner,
  .rp-article-layout {
    grid-template-columns: 1fr;
  }

  .rp-post-grid {
    grid-template-columns: 1fr;
  }

  .rp-post-card {
    display: grid;
    grid-template-columns: 260px 1fr;
  }

  .rp-post-card img {
    height: 100%;
    min-height: 250px;
  }

  .rp-article-layout {
    gap: 36px;
  }

  .rp-author-card {
    position: static;
  }
}

@media (max-width: 780px) {
  .rp-blog-hero {
    padding: 48px 16px;
  }

  .rp-blog-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rp-blog-hero img {
    height: 285px;
  }

  .rp-blog-list {
    width: calc(100% - 32px);
    padding: 54px 0 66px;
  }

  .rp-post-card {
    display: flex;
  }

  .rp-post-card img {
    height: 225px;
    min-height: 0;
  }

  .rp-editorial-note__inner {
    gap: 22px;
  }

  .rp-article-hero {
    padding: 50px 16px 48px;
  }

  .rp-article-image,
  .rp-article-layout,
  .rp-article-cta {
    width: calc(100% - 32px);
  }

  .rp-article-image {
    height: 300px;
    margin-top: 28px;
  }

  .rp-article-layout {
    padding: 44px 0 56px;
  }

  .rp-article-body {
    font-size: 16px;
  }

  .rp-article-body h2 {
    font-size: 29px;
  }

  .rp-article-cta {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 54px;
    padding: 34px 28px;
  }
}
