body.page-template-garage-door-seo .post-head.has-brief-card,
body.page-template-electrician-seo .post-head.has-brief-card,
body.page-template-flooring-seo .post-head.has-brief-card,
body.page-template-lawyer-seo .post-head.has-brief-card,
body.page-template-urgent-care-seo .post-head.has-brief-card {
  padding: 36px 0 42px;
}

body.page-template-garage-door-seo .post-head.has-brief-card .container,
body.page-template-electrician-seo .post-head.has-brief-card .container,
body.page-template-flooring-seo .post-head.has-brief-card .container,
body.page-template-lawyer-seo .post-head.has-brief-card .container,
body.page-template-urgent-care-seo .post-head.has-brief-card .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(36px, 6vw, 76px);
  align-items: end;
}

body.page-template-garage-door-seo .post-head.has-brief-card .post-head-main,
body.page-template-electrician-seo .post-head.has-brief-card .post-head-main,
body.page-template-flooring-seo .post-head.has-brief-card .post-head-main,
body.page-template-lawyer-seo .post-head.has-brief-card .post-head-main,
body.page-template-urgent-care-seo .post-head.has-brief-card .post-head-main {
  min-width: 0;
}

body.page-template-garage-door-seo .post-head.has-brief-card .post-title,
body.page-template-electrician-seo .post-head.has-brief-card .post-title,
body.page-template-flooring-seo .post-head.has-brief-card .post-title,
body.page-template-lawyer-seo .post-head.has-brief-card .post-title,
body.page-template-urgent-care-seo .post-head.has-brief-card .post-title {
  max-width: 13.5ch;
}

body.page-template-garage-door-seo .post-head.has-brief-card .dek,
body.page-template-electrician-seo .post-head.has-brief-card .dek,
body.page-template-flooring-seo .post-head.has-brief-card .dek,
body.page-template-lawyer-seo .post-head.has-brief-card .dek,
body.page-template-urgent-care-seo .post-head.has-brief-card .dek {
  max-width: 58ch;
}

.industry-brief-card {
  justify-self: end;
  width: min(100%, 360px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow: 0 28px 60px -34px rgba(11, 11, 12, 0.34), 0 6px 18px rgba(11, 11, 12, 0.06);
  overflow: hidden;
  transform: none;
}

body.page-template-garage-door-seo .industry-brief-card,
body.page-template-electrician-seo .industry-brief-card,
body.page-template-flooring-seo .industry-brief-card,
body.page-template-lawyer-seo .industry-brief-card,
body.page-template-urgent-care-seo .industry-brief-card {
  transform: none;
}

.industry-brief-card img {
  display: block;
  width: 100%;
  height: auto;
}

.article .layout {
  grid-template-columns: minmax(0, 680px) minmax(220px, 260px);
  justify-content: center;
}

.meta .toc {
  position: static;
  top: auto;
}

@media (max-width: 1100px) {
  .article .layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .meta-block--toc {
    flex-basis: 100%;
  }
}

@media (max-width: 980px) {
  .post-head.has-brief-card .container {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .industry-brief-card {
    justify-self: start;
    width: min(100%, 420px);
    transform: none;
  }

  .post-head.has-brief-card .post-title {
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .post-head.has-brief-card {
    padding-top: 28px;
  }

  .industry-brief-card {
    width: 100%;
  }
}
