.single-post-layout {
  padding: clamp(34px, 5vw, 68px) 0 clamp(72px, 8vw, 108px);
  background: #fff;
}

.single-post-layout .single-article {
  width: 100%;
}

.isp-post-breadcrumbs,
.single-post-layout .single-entry-header,
.single-post-layout .entry-content,
.single-post-layout .isp-post-author,
.single-post-layout .post-tags,
.single-post-layout .single-post-navigation,
.single-post-layout .comments-area {
  width: min(calc(100% - 32px), 820px);
  margin-inline: auto;
}

.isp-post-breadcrumbs {
  margin-bottom: 24px;
  color: var(--isp-muted);
  font-size: .86rem;
}

.isp-post-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.isp-post-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.isp-post-breadcrumbs li + li::before {
  content: "/";
  margin-right: 7px;
  color: #b0adaf;
}

.isp-post-breadcrumbs a {
  color: #5f5c5e;
  text-decoration: none;
}

.isp-post-breadcrumbs a:hover,
.isp-post-breadcrumbs a:focus-visible {
  color: #2378aa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.isp-post-breadcrumbs [aria-current="page"] span {
  overflow: hidden;
  max-width: 38ch;
  color: #777477;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-post-layout .single-entry-header {
  padding: 0;
  text-align: left;
}

.single-post-layout .entry-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid rgba(115, 192, 238, .34);
  border-radius: 999px;
  background: #f4fbff;
  color: #31769f;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.single-post-layout .entry-kicker:hover,
.single-post-layout .entry-kicker:focus-visible {
  background: #eaf7fe;
  color: #245f81;
}

.single-post-layout .entry-title {
  max-width: 18ch;
  margin: 0;
  color: var(--isp-ink);
  font-size: clamp(2.45rem, 6vw, 4.75rem);
  font-weight: 950;
  letter-spacing: -.052em;
  line-height: 1.02;
  text-wrap: balance;
}

.single-post-layout .entry-lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: #686568;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.single-post-layout .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 9px;
  margin-top: 22px;
  color: #6f6b6d;
  font-size: .88rem;
}

.single-post-layout .entry-meta a {
  color: var(--isp-ink);
  font-weight: 800;
  text-decoration: none;
}

.single-post-layout .entry-meta a:hover,
.single-post-layout .entry-meta a:focus-visible {
  color: #2378aa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post-layout .entry-featured-image {
  width: min(calc(100% - 32px), 1040px);
  margin: clamp(30px, 5vw, 48px) auto;
}

.single-post-layout .entry-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--isp-border);
  border-radius: 26px;
  background: #f7fbfd;
  box-shadow: 0 18px 48px rgba(68, 68, 68, .08);
}

.single-post-layout .entry-content {
  margin-top: clamp(32px, 5vw, 52px);
  color: var(--isp-ink);
  font-size: 1.05rem;
  line-height: 1.78;
}

.single-post-layout .entry-content > *:first-child {
  margin-top: 0;
}

.single-post-layout .entry-content > *:last-child {
  margin-bottom: 0;
}

.single-post-layout .entry-content h2 {
  margin-top: 1.8em;
  margin-bottom: .62em;
  color: var(--isp-ink);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  letter-spacing: -.035em;
  line-height: 1.14;
  text-wrap: balance;
}

.single-post-layout .entry-content h3 {
  margin-top: 1.55em;
  margin-bottom: .58em;
  color: var(--isp-ink);
  font-size: clamp(1.32rem, 2.4vw, 1.72rem);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.single-post-layout .entry-content p,
.single-post-layout .entry-content ul,
.single-post-layout .entry-content ol,
.single-post-layout .entry-content blockquote,
.single-post-layout .entry-content table {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.single-post-layout .entry-content a {
  color: #2378aa;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.single-post-layout .entry-content a:hover,
.single-post-layout .entry-content a:focus-visible {
  color: #a43f6c;
}

.single-post-layout .entry-content img {
  border-radius: 18px;
}

.single-post-layout .entry-content > .alignwide {
  width: min(calc(100vw - 32px), 1040px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.single-post-layout .entry-content > .alignfull {
  width: min(calc(100vw - 24px), var(--isp-container));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.isp-post-author,
.isp-related-posts,
.single-post-layout .post-tags,
.single-post-layout .single-post-navigation,
.single-post-layout .comments-area {
  margin-top: clamp(42px, 6vw, 68px);
}

.isp-post-author {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid #dfeff7;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f4fbff);
}

.isp-post-author__label,
.isp-related-posts__head > span {
  display: block;
  margin-bottom: 7px;
  color: #31769f;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.isp-post-author h2,
.isp-related-posts__head h2 {
  margin: 0;
  color: var(--isp-ink);
  letter-spacing: -.03em;
  line-height: 1.12;
}

.isp-post-author h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.isp-post-author p {
  margin: 12px 0;
  color: #686568;
}

.isp-post-author a {
  color: #2378aa;
  font-weight: 850;
  text-underline-offset: 3px;
}

.isp-related-posts {
  width: min(calc(100% - 32px), 1040px);
  margin-inline: auto;
}

.isp-related-posts__head {
  max-width: 720px;
  margin-bottom: 22px;
}

.isp-related-posts__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

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

.isp-related-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--isp-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(68, 68, 68, .055);
}

.isp-related-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4fbff;
}

.isp-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.isp-related-card__body {
  padding: 19px;
}

.isp-related-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.27;
}

.isp-related-card h3 a {
  color: var(--isp-ink);
  text-decoration: none;
}

.isp-related-card h3 a:hover,
.isp-related-card h3 a:focus-visible {
  color: #2378aa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.isp-related-card p {
  margin: 0 0 13px;
  color: #747174;
  font-size: .9rem;
  line-height: 1.55;
}

.isp-related-card__link {
  color: #2378aa;
  font-size: .88rem;
  font-weight: 850;
  text-underline-offset: 3px;
}

.single-post-layout .post-tags {
  padding-top: 22px;
  border-top: 1px solid var(--isp-border);
}

.single-post-layout .single-post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.single-post-layout .single-post-navigation .nav-previous,
.single-post-layout .single-post-navigation .nav-next {
  min-width: 0;
}

.single-post-layout .single-post-navigation .nav-next {
  text-align: right;
}

.single-post-layout .single-post-navigation a {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--isp-border);
  border-radius: 16px;
  background: #fff;
  color: var(--isp-ink);
  text-decoration: none;
}

.single-post-layout .single-post-navigation a:hover,
.single-post-layout .single-post-navigation a:focus-visible {
  border-color: var(--isp-primary);
  box-shadow: 0 8px 24px rgba(68, 68, 68, .06);
}

.single-post-layout .comments-area {
  padding-top: 32px;
  border-top: 1px solid var(--isp-border);
}

@media (max-width: 820px) {
  .isp-related-posts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .isp-related-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .single-post-layout {
    padding-top: 26px;
  }

  .isp-post-breadcrumbs,
  .single-post-layout .single-entry-header,
  .single-post-layout .entry-content,
  .single-post-layout .isp-post-author,
  .single-post-layout .post-tags,
  .single-post-layout .single-post-navigation,
  .single-post-layout .comments-area,
  .isp-related-posts,
  .single-post-layout .entry-featured-image {
    width: min(calc(100% - 24px), 820px);
  }

  .isp-post-breadcrumbs [aria-current="page"] {
    display: none;
  }

  .single-post-layout .entry-title {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .single-post-layout .entry-meta__separator {
    display: none;
  }

  .single-post-layout .entry-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .isp-related-posts__grid,
  .single-post-layout .single-post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .isp-related-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .single-post-layout .single-post-navigation .nav-next {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-post-layout *,
  .single-post-layout *::before,
  .single-post-layout *::after {
    scroll-behavior: auto;
  }
}
