.medical-blog {
  background: #edf3f7;
  min-height: 720px;
  padding: 18px 0 70px;
}
.blog-back {
  border: 0;
  background: transparent;
  color: #1c3f59;
  padding: 8px 0;
  margin-bottom: 10px;
  font-weight: 700;
}
.blog-hero {
  min-height: 260px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  align-items: start;
  gap: 32px;
  padding: 38px 48px 28px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, #eef6fb 0%, #edf4f8 55%, #dfeaf1 100%);
  box-shadow: 0 12px 30px #12344a12;
}
.blog-eyebrow {
  margin: 0 0 14px;
  color: #35465a;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  font-size: 0.78rem;
  font-weight: 800;
}
.blog-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #003b71;
  font: 800 clamp(2.15rem, 4vw, 3.35rem)/1.08 var(--heading);
  letter-spacing: -0.045em;
}
.blog-hero h1 span {
  display: block;
  color: #10aae8;
}
.blog-hero-copy > p {
  max-width: 700px;
  margin: 16px 0 0;
  color: #52667a;
  line-height: 1.55;
}
.blog-hero-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.blog-credentials {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.blog-credentials article {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #eef2f4;
  border-radius: 9px;
  background: #ffffffd9;
  box-shadow: 0 5px 16px #23435a0d;
}
.blog-credentials span {
  color: #1688c7;
}
.blog-credentials strong {
  color: #53677a;
  font-size: 0.72rem;
  line-height: 1.25;
}
.blog-search {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid #dce7ee;
  border-radius: 28px;
  background: white;
  overflow: hidden;
}
.blog-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: #334155;
}
.blog-search button {
  width: 38px;
  height: 38px;
  flex: none;
  margin-right: 5px;
  border: 0;
  border-radius: 50%;
  background: #157ac1;
  color: white;
}
.blog-categories {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.blog-categories button {
  border: 1px solid #edf1f3;
  border-radius: 999px;
  background: white;
  color: #40556a;
  padding: 8px 14px;
  font: 700 0.78rem/1 var(--subheading);
}
.blog-categories button.is-active {
  background: #003b71;
  color: white;
}
.blog-feature-grid {
  display: grid;
  grid-template-columns: 1.75fr 0.75fr;
  gap: 22px;
  margin-top: 18px;
}
.blog-featured {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dce6ec;
  border-radius: 11px;
  background: white;
  padding: 30px 32px 24px;
  box-shadow: 0 8px 20px #23435a12;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.featured-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font: 800 0.72rem/1 var(--subheading);
}
.featured-badge {
  background: #ff7418;
  color: white;
}
.featured-topic {
  background: #ddecf6;
  color: #28749a;
}
.featured-time {
  background: #eef4f7;
  color: #52718a;
}
.blog-featured h2 {
  max-width: 680px;
  margin: 18px 0 12px;
  color: #003b71;
  font: 800 clamp(1.55rem, 2.5vw, 2.15rem)/1.13 var(--heading);
  letter-spacing: -0.035em;
}
.blog-featured > p {
  max-width: 650px;
  margin: 0;
  color: #53677a;
  line-height: 1.55;
}
.featured-highlights {
  margin: 18px 0;
}
.featured-highlights > div {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce9f2;
  border-left: 3px solid #169be1;
  border-radius: 8px;
  padding: 12px 14px;
  background: #edf7fc;
}
.featured-highlights > div > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  color: #168bc9;
}
.featured-highlights strong {
  color: #28749a;
  font-size: 0.78rem;
}
.featured-highlights p {
  margin: 3px 0 0;
  color: #52677a;
  font-size: 0.8rem;
}
.featured-author {
  margin-top: auto;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #087bc1;
  color: white;
  font-weight: 800;
}
.featured-author div:nth-child(2),
.guide-author div:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.featured-author strong,
.guide-author strong {
  color: #20384a;
  font-size: 0.78rem;
}
.featured-author span,
.guide-author span {
  color: #718295;
  font-size: 0.72rem;
}
.featured-author button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #087bc1;
  color: white;
  padding: 0 18px;
  font-weight: 800;
}
.blog-side-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}
.blog-side-list article {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: start;
  gap: 10px;
  border: 1px solid #dce6ec;
  border-radius: 10px;
  background: white;
  padding: 18px 12px;
  cursor: pointer;
  box-shadow: 0 5px 16px #23435a0a;
}
.side-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eef4f7;
  color: #087bc1;
}
.side-topic {
  color: #1688c7;
  text-transform: uppercase;
  font: 800 0.68rem/1.2 var(--subheading);
}
.blog-side-list h3 {
  margin: 6px 0 5px;
  color: #1d4d70;
  font: 800 0.95rem/1.25 var(--heading);
}
.blog-side-list p {
  margin: 0;
  color: #647589;
  font-size: 0.76rem;
  line-height: 1.35;
}
.blog-side-list button {
  border: 0;
  background: transparent;
  color: #1688c7;
}
.blog-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  padding: 28px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #003b71, #087bc1);
  color: white;
}
.blog-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid #ffffff18;
}
.blog-stats div:last-child {
  border-right: 0;
}
.blog-stats strong {
  font: 800 1.25rem/1.2 var(--heading);
}
.blog-stats span {
  max-width: 150px;
  margin-top: 3px;
  font-size: 0.78rem;
}
.blog-guides-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 28px 0 18px;
}
.blog-guides-heading p {
  margin: 0 0 4px;
  color: #1688c7;
  text-transform: uppercase;
  font: 800 0.76rem/1 var(--subheading);
}
.blog-guides-heading h2 {
  margin: 0 0 5px;
  color: #003b71;
  font: 800 clamp(1.55rem, 2.5vw, 2.15rem)/1.15 var(--heading);
}
.blog-guides-heading span {
  color: #66798a;
  font-size: 0.82rem;
}
.blog-guides-heading button {
  flex: none;
  min-height: 38px;
  border: 1px solid #087bc1;
  border-radius: 999px;
  background: white;
  color: #087bc1;
  padding: 7px 18px;
  font-weight: 800;
}
.blog-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-guides-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dce6ec;
  border-radius: 9px;
  background: white;
  padding: 18px 20px 16px;
  box-shadow: 0 7px 18px #23435a0d;
}
.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guide-meta span {
  color: #087bc1;
  background: #edf6fb;
  border-radius: 999px;
  padding: 6px 9px;
  font: 800 0.66rem/1 var(--subheading);
  text-transform: uppercase;
}
.guide-meta small {
  color: #718295;
}
.blog-guides-grid h3 {
  margin: 16px 0 7px;
  color: #1d4d70;
  font: 800 1.02rem/1.25 var(--heading);
}
.blog-guides-grid article > p {
  margin: 0;
  color: #647589;
  font-size: 0.82rem;
  line-height: 1.45;
}
.guide-author {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.author-avatar.small {
  width: 36px;
  height: 36px;
  font-size: 0.68rem;
}
.guide-author button {
  border: 0;
  background: transparent;
  color: #087bc1;
  font-weight: 800;
}
.blog-callout {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
  padding: 26px 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #003b71, #087bc1);
  color: white;
}
.blog-callout p {
  margin: 0 0 8px;
  color: #69bfe8;
  text-transform: uppercase;
  font: 800 0.78rem/1 var(--subheading);
}
.blog-callout h2 {
  max-width: 680px;
  margin: 0 0 8px;
  font: 800 clamp(1.35rem, 2.2vw, 1.85rem)/1.15 var(--heading);
}
.blog-callout span {
  color: #cfe7f4;
  font-size: 0.82rem;
}
.blog-callout > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.blog-callout button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #1d2a35;
  font: 800 0.88rem/1 var(--subheading);
}
.blog-callout a {
  color: #cfe7f4;
  text-decoration: none;
  font-size: 0.75rem;
}
.blog-callout a strong {
  color: #69bfe8;
}
@media (max-width: 900px) {
  .blog-hero,
  .blog-feature-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero-tools {
    align-items: stretch;
  }
  .blog-side-list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
  }
  .blog-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-callout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .medical-blog {
    padding-inline: 12px;
  }
  .blog-hero {
    padding: 24px 20px;
  }
  .blog-credentials {
    grid-template-columns: 1fr;
  }
  .blog-categories {
    overflow-x: auto;
    width: 100%;
  }
  .blog-featured {
    padding: 22px 18px;
  }
  .blog-side-list,
  .blog-guides-grid {
    grid-template-columns: 1fr;
  }
  .blog-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }
  .blog-stats div:nth-child(2) {
    border-right: 0;
  }
  .blog-guides-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .blog-callout {
    padding: 24px 20px;
  }
}
