@font-face {
  font-family: "Proxima Nova";
  font-style: normal;
  font-weight: 400;
  font-display: auto;
  src: url("/content/uploads/2022/09/Proxima-Nova-Font.ttf") format("truetype");
}

@font-face {
  font-family: "Bookerly";
  font-style: italic;
  font-weight: 600;
  font-display: auto;
  src: url("/content/uploads/2022/09/Bookerly-Bold-Italic.ttf") format("truetype");
}

:root {
  --im-purple: #6726a1;
  --im-deep: #3e1761;
  --im-teal: #77cec6;
  --im-lilac: #a94bd4;
  --im-soft: #f7f3fb;
  --im-text: #3e1761;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--im-text);
  background: #fff;
  font-family: "Proxima Nova", Arial, sans-serif;
}

a {
  color: inherit;
}

.blog-header {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 15px max(15px, calc((100vw - 1410px) / 2));
  background: #fff;
  box-shadow: 0 3px 20px rgba(82, 33, 127, 0.12);
}

.blog-logo img {
  display: block;
  width: 160px;
  height: auto;
}

.blog-nav {
  display: flex;
  align-items: center;
  gap: 70px;
  font-size: 20px;
  font-weight: 600;
}

.blog-nav a,
.blog-footer a {
  text-decoration: none;
}

.blog-nav a {
  padding: 5px 0;
}

.blog-nav a:hover,
.blog-read-more:hover {
  color: var(--im-teal);
}

.blog-nav a.is-active {
  color: var(--im-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--im-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.blog-main {
  width: min(1410px, calc(100% - 40px));
  margin: 0 auto;
}

.blog-list-heading {
  padding: 36px 0 44px;
  text-align: center;
}

.blog-kicker {
  margin: 0 0 14px;
  color: var(--im-teal);
  font-family: "Bookerly", Georgia, serif;
  font-size: clamp(24px, 3vw, 40px);
  font-style: italic;
  font-weight: 600;
}

.blog-list-heading h1,
.blog-article h1 {
  max-width: 980px;
  margin: 0;
  color: var(--im-purple);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.03;
  font-weight: 700;
}

.blog-list-heading h1 {
  max-width: none;
  color: #79cec8;
  font-family: "Proxima Nova", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  -webkit-text-stroke: 1px #79cec8;
  text-stroke: 1px #79cec8;
}

.blog-lead {
  max-width: 780px;
  margin: 24px 0 0;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.35;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: clamp(70px, 9vw, 120px);
  max-width: 1410px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  box-shadow: 0 3px 20px rgba(62, 23, 97, 0.2);
}

.blog-card-image {
  display: block;
  aspect-ratio: 1.52;
  overflow: hidden;
  background: var(--im-soft);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px;
}

.blog-card-body p:first-child {
  margin: 0 0 12px;
  color: var(--im-lilac);
  font-family: "Bookerly", Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.blog-card h2 {
  margin: 0 0 12px;
  color: var(--im-deep);
  font-size: 23px;
  line-height: 1.15;
}

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

.blog-card-body p {
  font-size: 16px;
  line-height: 1.45;
}

.blog-read-more {
  display: inline-block;
  margin-top: 8px;
  color: var(--im-purple);
  font-weight: 700;
  text-decoration: none;
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 48px;
  background: var(--im-soft);
}

.blog-empty h2 {
  margin: 0 0 12px;
  color: var(--im-purple);
}

.blog-article {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) 0;
}

.blog-back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--im-purple);
  font-weight: 700;
  text-decoration: none;
}

.blog-article-image {
  width: 100%;
  max-height: 520px;
  margin-bottom: 42px;
  display: block;
  object-fit: cover;
  background: var(--im-soft);
}

.blog-content {
  margin-top: 42px;
  font-size: 21px;
  line-height: 1.65;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  margin: 42px 0 14px;
  color: var(--im-purple);
  line-height: 1.2;
}

.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content blockquote {
  margin: 0 0 24px;
}

.blog-content img {
  max-width: 100%;
  height: auto;
}

.blog-content blockquote {
  padding-left: 24px;
  border-left: 4px solid var(--im-teal);
  color: var(--im-purple);
  font-family: "Bookerly", Georgia, serif;
  font-style: italic;
}

.blog-footer {
  color: #fff;
  background: linear-gradient(230deg, #a94bd4 0%, #65239e 100%);
  padding: 35px max(24px, calc((100vw - 1410px) / 2));
}

.blog-footer-top,
.blog-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.blog-footer-logo img {
  width: 150px;
  height: auto;
  display: block;
}

.blog-footer-nav,
.blog-footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 50px;
}

.blog-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--im-purple);
  background: #fff;
  border-radius: 3px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.blog-footer-bottom {
  margin-top: 42px;
  font-size: 16px;
}

.blog-footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .blog-header,
  .blog-footer-top,
  .blog-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-nav,
  .blog-footer-nav,
  .blog-footer-bottom nav {
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

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

  .blog-logo img {
    width: 130px;
  }

  .blog-nav {
    font-size: 16px;
  }

  .blog-main {
    width: min(100% - 30px, 1410px);
  }

  .blog-empty,
  .blog-card-body {
    padding: 22px;
  }
}
