.blog-page {
  background: #fff;
  color: #071f3d;
}

.blog-page main {
  overflow: hidden;
  background: #fff;
}

.blog-page img {
  display: block;
  max-width: 100%;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background:
    radial-gradient(circle at 86% 34%, rgba(255, 255, 255, .25), transparent 20%),
    linear-gradient(180deg, #4dc8ff 0%, #26b6f3 64%, #57c9fb 100%);
}

.blog-hero::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 72px;
  width: 430px;
  height: 220px;
  opacity: .34;
  background-image: radial-gradient(#fff 1px, transparent 1.5px);
  background-size: 13px 13px;
  clip-path: ellipse(48% 40% at 50% 50%);
}

.blog-hero::after {
  content: "";
  position: absolute;
  right: 42px;
  top: 70px;
  width: 170px;
  height: 150px;
  border: 2px dashed rgba(255, 255, 255, .62);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 100px 0 0;
  transform: rotate(26deg);
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(360px, .65fr);
  gap: 44px;
  align-items: center;
  padding: 42px 0;
}

.blog-hero span,
.blog-card span,
.blog-article__head span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 9px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #eaf5ff;
  color: #1687e8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.blog-hero span {
  background: rgba(255, 255, 255, .9);
  color: #087fc5;
}

.blog-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #071f3d;
  font-size: 48px;
  line-height: 1.07;
  font-weight: 900;
  letter-spacing: 0;
}

.blog-hero p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #12375d;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
}

.blog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe9f6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(9, 31, 61, .18);
}

.blog-search input,
.blog-search button {
  min-height: 46px;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.blog-search input {
  min-width: 0;
  border: 1px solid #dbe9f6;
  padding: 0 14px;
}

.blog-search button,
.blog-pager a,
.blog-not-found a {
  border: 0;
  background: #ff8a3d;
  color: #fff;
  text-decoration: none;
  padding: 0 18px;
}

.blog-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 10px;
}

.blog-taxonomy a,
.blog-article__tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #dbe9f6;
  border-radius: 8px;
  background: #fff;
  color: #60758e;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 0 12px;
}

.blog-taxonomy a.is-active,
.blog-article__tags a {
  background: #fff3e8;
  border-color: #ffe0c5;
  color: #ff742f;
}

.blog-grid,
.blog-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0 54px;
}

.blog-card,
.blog-empty,
.blog-not-found {
  border: 1px solid #dbe9f6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 47, 82, .07);
}

.blog-card {
  overflow: hidden;
}

.blog-card--lead {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.blog-card__image {
  display: block;
  min-height: 220px;
  background: #f6fbff;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.blog-card--lead .blog-card__image,
.blog-card--lead .blog-card__image img {
  height: 320px;
  min-height: 320px;
}

.blog-card__body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.blog-card h2 {
  margin: 0;
  color: #102b52;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 800;
}

.blog-card--lead h2 {
  font-size: 34px;
  line-height: 1.08;
}

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

.blog-card p {
  margin: 0;
  color: #60758e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.blog-card footer,
.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: #60758e;
  font-size: 12px;
  font-weight: 700;
}

.blog-card footer a {
  color: #1687e8;
  text-decoration: none;
}

.blog-empty,
.blog-not-found {
  grid-column: 1 / -1;
  padding: 30px;
}

.blog-empty h2,
.blog-not-found h1,
.blog-related h2 {
  margin: 0 0 10px;
  color: #102b52;
}

.blog-pager {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  padding-bottom: 54px;
  color: #60758e;
  font-weight: 700;
}

.blog-pager a,
.blog-not-found a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 8px;
  font-weight: 700;
}

.blog-article__head {
  padding: 58px 0 24px;
}

.blog-article__head > a {
  display: inline-flex;
  margin-bottom: 16px;
  color: #1687e8;
  font-weight: 800;
  text-decoration: none;
}

.blog-article__head h1 {
  max-width: 980px;
  margin: 0;
  color: #071f3d;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  font-weight: 900;
}

.blog-article__head p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #60758e;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.blog-article__cover img {
  width: 100%;
  max-height: 560px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(16, 47, 82, .07);
}

.blog-article__content {
  max-width: 860px;
  padding: 34px 0 22px;
  color: #102b52;
  font-size: 18px;
  line-height: 1.78;
}

.blog-article__content h2,
.blog-article__content h3,
.blog-article__content h4 {
  margin: 32px 0 12px;
  line-height: 1.14;
}

.blog-article__content p,
.blog-article__content ul,
.blog-article__content ol,
.blog-article__content blockquote,
.blog-article__content table {
  margin: 0 0 20px;
}

.blog-article__content blockquote {
  border-left: 4px solid #ff8a3d;
  background: #fff7ef;
  border-radius: 10px;
  padding: 18px 22px;
}

.blog-article__content img {
  max-width: 100%;
  border-radius: 10px;
}

.blog-article__content table {
  width: 100%;
  border-collapse: collapse;
}

.blog-article__content th,
.blog-article__content td {
  border: 1px solid #dbe9f6;
  padding: 12px;
  text-align: left;
}

.blog-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
  padding-bottom: 54px;
}

.blog-related {
  padding-bottom: 38px;
}

.blog-related h2 {
  font-size: 32px;
}

.blog-footer {
  border-top: 1px solid #dbe9f6;
  background: #fff;
}

.blog-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
}

.blog-footer img {
  width: 56px;
  height: 42px;
  object-fit: contain;
}

.blog-footer p {
  margin: 0;
  color: #60758e;
  font-size: 14px;
  font-weight: 600;
}

.blog-footer nav {
  display: flex;
  gap: 12px;
}

.blog-footer nav a {
  color: #102b52;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.blog-page .journal-lead-story h2 a,
.blog-page .journal-top-card h3 a,
.blog-page .journal-latest-grid h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-page .journal-lead-story h2 a:hover,
.blog-page .journal-top-card h3 a:hover,
.blog-page .journal-latest-grid h3 a:hover {
  color: #1687e8;
}

.blog-journal-tools {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.blog-search--journal {
  min-height: 58px;
  box-shadow: 0 12px 30px rgba(16, 47, 82, .07);
}

.blog-page .journal-tabs {
  margin-top: 0;
}

.blog-page .journal-featured .blog-empty {
  margin-bottom: 18px;
}

.blog-page .journal-featured-grid {
  min-height: 356px;
}

.blog-page .blog-featured-count-1 {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.blog-page .blog-featured-count-1 .journal-lead-story,
.blog-page .blog-featured-count-1 .journal-lead-story > img {
  min-height: 340px;
}

.blog-page .blog-featured-count-1 .journal-lead-story > img {
  height: 340px;
}

.blog-page .blog-featured-count-1 .journal-lead-story > div {
  background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0 42%, rgba(255, 255, 255, .42));
}

.blog-page .blog-featured-count-2 {
  grid-template-columns: minmax(460px, 1.2fr) minmax(280px, .8fr);
}

.blog-page .journal-top-card h3 {
  min-height: 70px;
}

.blog-page .journal-latest-grid article > img {
  background: #eef8ff;
}

.blog-journal-digest {
  margin-bottom: 44px;
}

@media (max-width: 900px) {
  .blog-hero {
    min-height: 0;
  }

  .blog-hero__inner,
  .blog-card--lead,
  .blog-footer__inner {
    grid-template-columns: 1fr;
  }

  .blog-hero__inner {
    min-height: 0;
    padding: 38px 0;
  }

  .blog-hero h1 {
    font-size: 40px;
  }

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

  .blog-card--lead {
    grid-column: span 1;
  }

  .blog-card--lead h2 {
    font-size: 28px;
  }

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

  .blog-footer nav {
    flex-wrap: wrap;
  }

  .blog-journal-tools,
  .blog-page .journal-featured-grid {
    grid-template-columns: 1fr;
  }

  .blog-page .journal-featured-grid {
    min-height: 0;
  }

  .blog-page .journal-lead-story > div {
    background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0 70%, rgba(255, 255, 255, .62));
  }
}
