@font-face {
  font-family: "Blog Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../images/home-redesign/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Blog Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../images/home-redesign/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Blog Trajan";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/TrajanSansPro/trajansanspro-semibold.otf") format("opentype");
}

#page-blog,
#page-blog-post {
  --blog-blue: #0064ff;
  --blog-ink: #0f1428;
  --blog-text: #1a1a1a;
  --blog-muted: #667085;
  color: var(--blog-ink);
  background: #ffffff;
  font-family: "Blog Inter", Inter, Arial, sans-serif;
  line-height: 1.5;
}

#page-blog .container:not(.header-container),
#page-blog-post .container:not(.header-container) {
  width: 100%;
  max-width: 1920px;
  padding-right: 80px;
  padding-left: 80px;
}

#page-blog main > .blog-page:first-child,
#page-blog-post main > .blog-post-page:first-child {
  margin-top: 100px;
}

.blog-page,
.blog-post-page {
  background: #ffffff;
}

.blog-hero {
  padding: 180px 80px 120px;
  background: var(--blog-blue);
  color: #ffffff;
  text-align: center;
}

.blog-hero__container {
  width: 100%;
  max-width: 852px;
  margin: 0 auto;
  padding: 0;
}

#page-blog .blog-hero__container {
  max-width: 852px;
  padding-right: 0;
  padding-left: 0;
}

.blog-hero__title,
.blog-post-hero__title {
  margin: 0;
  color: inherit;
  font-family: "Blog Trajan", "Blog Inter", Georgia, serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 64px;
  text-transform: uppercase;
}

.blog-hero__title {
  text-transform: none;
}

.blog-hero__title {
  margin-bottom: 24px;
}

.blog-hero__subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.blog-hero__newsletter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin: 40px auto 0;
}

.blog-hero__newsletter-field {
  position: relative;
  display: flex;
  flex: 0 1 497px;
  align-items: center;
  width: 497px;
  max-width: 100%;
}

.blog-hero__newsletter-icon {
  position: absolute;
  left: 24px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.55;
}

.blog-hero__newsletter-input {
  width: 100%;
  height: 56px;
  padding: 0 24px 0 56px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  color: var(--blog-text);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
}

.blog-hero__newsletter-input::placeholder {
  color: #667085;
}

.blog-hero__newsletter-input:focus {
  border-color: #d9e8ff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.blog-hero__newsletter-btn {
  min-width: 146px;
  height: 56px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.blog-hero__newsletter-btn:hover {
  color: #e7efff;
}

.blog-hero__consent {
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 20px;
}

.blog-hero__consent a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-listing {
  position: relative;
  padding-top: 96px;
  padding-bottom: 120px;
}

.blog-listing__toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.blog-categories {
  position: relative;
  flex: 0 0 auto;
  width: auto;
}

.blog-categories__summary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  list-style: none;
  color: var(--blog-ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  user-select: none;
}

.blog-categories__summary::-webkit-details-marker {
  display: none;
}

.blog-categories__summary::after {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.blog-categories[open] .blog-categories__summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.blog-categories__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 5;
  display: block;
  width: min(1056px, calc(100vw - 160px));
  max-height: min(70vh, 640px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 20, 40, 0.16);
}

.blog-categories__all-row {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.blog-categories__all {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: var(--blog-text);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.blog-categories__all.is-active,
.blog-categories__all:hover {
  background: #e9f4fa;
  color: var(--blog-blue);
}

.blog-categories__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-categories__group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.blog-categories__group-title {
  margin: 0 0 4px;
  padding: 0 12px;
  color: var(--blog-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.blog-categories__item {
  display: block;
  min-height: 56px;
  padding: 16px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: var(--blog-text);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.blog-categories__item:hover,
.blog-categories__item.is-active {
  border-color: #dcecf5;
  background: #e9f4fa;
  color: var(--blog-blue);
}

.blog-search {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.blog-search__field {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search__icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.6;
}

.blog-search__input {
  width: 325px;
  height: 48px;
  padding: 0 16px 0 48px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  outline: none;
  background: #ffffff;
  color: var(--blog-text);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
}

.blog-search__input::placeholder {
  color: #667085;
}

.blog-search__input:focus {
  border-color: var(--blog-blue);
}

.blog-search__btn {
  min-width: 108px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--blog-blue);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.blog-search__btn:hover {
  background: #0054dc;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

.blog-post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

.blog-post-card__image-link {
  display: block;
  overflow: hidden;
  background: #e9f0f3;
}

.blog-post-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 404 / 360;
  object-fit: cover;
}

.blog-post-card__chips {
  display: flex;
  min-height: 32px;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-post-chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f2f2;
  color: var(--blog-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.blog-post-card__title {
  margin: 0;
  color: var(--blog-ink);
  font-family: "Blog Inter", Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.blog-post-card__title a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-post-card__title a:hover {
  color: var(--blog-blue);
}

.blog-post-card__excerpt {
  display: none;
}

.blog-post-card__read {
  align-self: flex-start;
  color: var(--blog-blue);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
}

.blog-post-card__read:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  color: var(--blog-muted);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}

.blog-pagination__page,
.blog-pagination__link {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--blog-ink);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.blog-pagination__page {
  border: 1px solid #e5e5e5;
}

.blog-pagination__page.is-active {
  border-color: var(--blog-blue);
  background: var(--blog-blue);
  color: #ffffff;
}

.blog-pagination__link.is-disabled {
  color: #98a2b3;
}

.blog-post-hero {
  position: relative;
  z-index: 0;
  margin-bottom: -220px;
  padding: 140px 80px 320px;
  background: var(--blog-blue);
  color: #ffffff;
}

.blog-post-hero__container {
  width: 100%;
  max-width: 956px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

#page-blog-post .blog-post-hero__container {
  max-width: 956px;
  padding-right: 0;
  padding-left: 0;
}

.blog-post-hero__date {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.blog-post-hero__title {
  margin-bottom: 24px;
}

.blog-post-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.blog-post-hero__chips .blog-post-chip {
  background: #0f1428;
  color: #ffffff;
}

.blog-post-hero__chips .blog-post-chip:nth-child(n + 2) {
  background: #e9f0f3;
  color: var(--blog-ink);
}

.blog-post-content-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.blog-post-cover {
  display: block;
  width: 100%;
  height: 628px;
  object-fit: cover;
}

.blog-post-meta {
  display: none;
}

.blog-post-content {
  width: 100%;
  max-width: 856px;
  margin: 80px auto 0;
  color: var(--blog-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.blog-post-content > * {
  margin-top: 0;
  margin-bottom: 24px;
}

.blog-post-content > p:first-child {
  font-size: 16px;
  line-height: 24px;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  color: var(--blog-ink);
  font-family: "Blog Inter", Inter, Arial, sans-serif;
  font-weight: 700;
}

.blog-post-content h2 {
  margin-top: 64px;
  margin-bottom: 24px;
  font-size: 48px;
  line-height: 56px;
}

.blog-post-content h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 32px;
}

.blog-post-content h4 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 28px;
}

.blog-post-content hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid #d9d9d9;
}

.blog-post-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 24px;
}

.blog-recommended {
  padding: 120px 0 80px;
}

.blog-recommended__title {
  margin: 0 0 48px;
  color: var(--blog-ink);
  font-family: "Blog Trajan", "Blog Inter", Georgia, serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 56px;
  text-align: left;
  text-transform: uppercase;
}

#page-blog-post .seo-section {
  padding: 120px 0;
  background: #ffffff;
  color: var(--blog-text);
}

#page-blog-post .seo-section .container {
  max-width: 1802px;
  padding-right: 80px;
  padding-left: 80px;
}

#page-blog-post .seo-title {
  margin: 0 0 24px;
  color: var(--blog-ink);
  font-family: "Blog Trajan", "Blog Inter", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 40px;
  text-transform: uppercase;
}

#page-blog-post .seo-subtitle {
  margin-bottom: 16px;
  color: var(--blog-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

#page-blog-post .seo-text-wrapper {
  max-width: none;
}

#page-blog-post .seo-text {
  color: #667085;
  font-size: 16px;
  line-height: 24px;
}

#page-blog .cta,
#page-blog-post .cta {
  display: flex;
  min-height: 524px;
  align-items: center;
  padding: 110px 0;
  background: var(--blog-blue);
  color: #ffffff;
}

#page-blog .cta .container,
#page-blog-post .cta .container {
  max-width: 1920px;
  padding-right: 80px;
  padding-left: 80px;
}

#page-blog .cta-content,
#page-blog-post .cta-content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

#page-blog .cta-title,
#page-blog-post .cta-title {
  margin: 0 0 24px;
  color: #ffffff;
  font-family: "Blog Inter", Inter, Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

#page-blog .cta-content .text--18,
#page-blog-post .cta-content .text--18 {
  margin: 0 auto 32px;
  color: #ffffff;
  font-size: 18px;
  line-height: 28px;
}

#page-blog .cta-content .btn,
#page-blog-post .cta-content .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #0f1428;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

#page-blog .cta-content .btn:hover,
#page-blog-post .cta-content .btn:hover {
  background: #202944;
  transform: none;
  box-shadow: none;
}

#page-blog .footer,
#page-blog-post .footer {
  background: #0f1428;
}

#page-blog .footer .container,
#page-blog-post .footer .container {
  padding-right: 80px;
  padding-left: 80px;
}

@media (max-width: 1279px) {
  #page-blog .container:not(.header-container),
  #page-blog-post .container:not(.header-container) {
    padding-right: 48px;
    padding-left: 48px;
  }

  .blog-hero {
    padding-right: 48px;
    padding-left: 48px;
  }

  .blog-listing__toolbar {
    gap: 24px;
  }

  .blog-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .blog-post-hero {
    padding-right: 48px;
    padding-left: 48px;
  }

  .blog-post-cover {
    height: clamp(420px, 40vw, 628px);
  }

  #page-blog .cta .container,
  #page-blog-post .cta .container,
  #page-blog .footer .container,
  #page-blog-post .footer .container,
  #page-blog-post .seo-section .container {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (max-width: 1024px) {
  .blog-hero {
    padding-top: 150px;
    padding-bottom: 96px;
  }

  .blog-hero__title,
  .blog-post-hero__title {
    font-size: 48px;
    line-height: 56px;
  }

  .blog-listing__toolbar {
    align-items: stretch;
  }

  .blog-categories__panel {
    width: min(800px, calc(100vw - 96px));
  }

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

  .blog-post-hero {
    padding-top: 140px;
  }

  .blog-post-cover {
    height: 480px;
  }

  .blog-recommended__title {
    font-size: 40px;
    line-height: 48px;
  }
}

@media (max-width: 768px) {
  #page-blog main > .blog-page:first-child,
  #page-blog-post main > .blog-post-page:first-child {
    margin-top: 55px;
  }

  #page-blog main > .blog-page:first-child {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #page-blog .container:not(.header-container),
  #page-blog-post .container:not(.header-container) {
    padding-right: 24px;
    padding-left: 24px;
  }

  .blog-hero {
    padding: 128px 24px 72px;
  }

  .blog-hero__title,
  .blog-post-hero__title {
    font-size: 40px;
    line-height: 48px;
  }

  .blog-hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .blog-hero__newsletter {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
  }

  .blog-hero__newsletter-field {
    flex: 0 1 auto;
    width: 100%;
  }

  .blog-hero__newsletter-btn {
    min-width: 0;
    height: 44px;
  }

  .blog-listing {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .blog-listing__toolbar {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }

  .blog-categories__panel {
    position: fixed;
    top: 108px;
    right: 16px;
    left: 16px;
    width: auto;
    max-height: calc(100vh - 132px);
  }

  .blog-categories__columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-search {
    width: 100%;
  }

  .blog-search__field {
    flex: 1 1 auto;
    min-width: 0;
  }

  .blog-search__input {
    width: 100%;
  }

  .blog-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .blog-post-card {
    gap: 12px;
  }

  .blog-post-hero {
    margin-bottom: -120px;
    padding: 128px 24px 200px;
  }

  .blog-post-hero__date {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
  }

  .blog-post-hero__title {
    margin-bottom: 20px;
  }

  .blog-post-hero__chips {
    gap: 8px;
  }

  .blog-post-content-wrap {
    margin-top: 0;
  }

  .blog-post-cover {
    height: clamp(260px, 60vw, 420px);
  }

  .blog-post-content {
    margin-top: 48px;
    font-size: 16px;
    line-height: 24px;
  }

  .blog-post-content h2 {
    margin-top: 48px;
    font-size: 32px;
    line-height: 40px;
  }

  .blog-post-content h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .blog-recommended {
    padding: 80px 0 48px !important;
  }

  .blog-recommended__title {
    margin-bottom: 32px;
    font-size: 32px;
    line-height: 40px;
  }

  #page-blog-post .seo-section {
    padding: 80px 0 !important;
  }

  #page-blog-post .seo-section .container,
  #page-blog .cta .container,
  #page-blog-post .cta .container,
  #page-blog .footer .container,
  #page-blog-post .footer .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  #page-blog-post .seo-title {
    font-size: 28px;
    line-height: 36px;
  }

  #page-blog .cta,
  #page-blog-post .cta {
    min-height: 0;
    padding: 80px 0 !important;
  }

  #page-blog .cta-title,
  #page-blog-post .cta-title {
    font-size: 32px;
    line-height: 40px;
  }
}

@media (max-width: 560px) {
  .blog-hero {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .blog-hero__title,
  .blog-post-hero__title {
    font-size: 34px;
    line-height: 42px;
  }

  .blog-hero__newsletter-input {
    padding-right: 18px;
    padding-left: 50px;
    font-size: 14px;
  }

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

  .blog-post-card__image {
    aspect-ratio: 1.12;
  }

  .blog-post-hero {
    margin-bottom: -80px;
    padding-top: 120px;
    padding-bottom: 152px;
  }

  .blog-post-cover {
    height: 280px;
  }

  .blog-recommended__title {
    font-size: 28px;
    line-height: 36px;
  }

  #page-blog .cta-title,
  #page-blog-post .cta-title {
    font-size: 28px;
    line-height: 36px;
  }
}
