/* Variables */
:root {
  --font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --color-bg: #ffffff;
  --color-white: #ffffff;
  --color-text: #101010;
  --color-text-soft: #757575;
  --color-muted: #757575;
  --color-border: #E5E5E5;

  --color-blue: #0B63F6;
  --color-blue-dark: #0757e6;
  --color-blue-soft: #eef5ff;
  --color-blue-light: #f5f9ff;

  --color-footer: #08090b;
  --color-footer-text: #ffffff;
  --color-footer-muted: rgba(255, 255, 255, 0.62);

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 16px 50px rgba(11, 99, 246, 0.12);

  --container: 1200px;
  --container-wide: 1280px;

  --header-height: 113px;
  --blog-header-offset: 145px;
  --blog-header-offset-admin: 177px;
  --blog-header-offset-admin-mobile: 191px;
  --article-sidebar-offset: 140px;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 56px);
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(11, 99, 246, 0.34);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Typography */
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -2px;
  font-weight: 400;
}

h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

p {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
  color: var(--color-text);
}

.article-subtitle,
.subtitle {
  font-size: 20px;
  line-height: 1.35;
  color: var(--color-text-soft);
}

.big-subtitle {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

/* Layout */
.site-container,
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-container-wide {
  width: min(calc(100% - 40px), var(--container-wide));
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 15px 30px;
  border: 0;
  border-radius: 5px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn--primary {
  color: #ffffff;
  background: var(--color-blue);
}

.btn-primary:hover,
.btn--primary:hover {
  background: var(--color-blue-dark);
}

.btn-secondary,
.btn--ghost,
.btn--light {
  color: var(--color-blue);
  background: #ffffff;
  border: 1px solid rgba(11, 99, 246, 0.18);
}

.btn--outline-light {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.btn--small {
  min-height: 0;
  padding: 15px 30px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: none;
}

/* Header */
.blog-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.admin-bar .blog-header {
  top: 32px;
}

.admin-bar {
  --blog-header-offset: var(--blog-header-offset-admin);
  --article-sidebar-offset: 172px;
}

.blog-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 0;
  gap: 28px;
}

.blog-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.blog-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
  white-space: nowrap;
}

.blog-header__logo img {
  width: 159px;
  height: 36px;
  object-fit: contain;
}

.blog-header__logo-section {
  color: var(--color-blue);
}

.blog-header__product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #eceef2;
  color: #333333;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  white-space: nowrap;
}

.blog-header__product-link:hover {
  background: #e3e6eb;
  color: #333333;
}

.blog-header-search {
  position: relative;
  width: 220px;
  flex: 0 0 auto;
}

.blog-header-search__submit {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.blog-header-search__icon {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-text-soft);
  border-radius: 50%;
}

.blog-header-search__icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text-soft);
  transform: rotate(45deg);
  transform-origin: center;
}

.blog-header-search input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}

.blog-header-search input::placeholder {
  color: var(--color-text-soft);
}

.blog-header-search input:focus {
  border-color: rgba(11, 99, 246, 0.5);
}

.link-login:hover,
.breadcrumbs a:hover {
  color: var(--color-blue);
}

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

.blog-header__actions .link-login {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}

.blog-header__nav-wrap {
  border-top: 1px solid var(--color-border);
}

.blog-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.blog-header__nav::-webkit-scrollbar {
  display: none;
}

.blog-header__nav a {
  flex: 0 0 auto;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0px;
  font-weight: 400;
  white-space: nowrap;
}

.blog-header__nav a:hover,
.blog-header__nav a.is-active {
  color: var(--color-blue);
}

.link-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  color: #1f2937;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.blog-header__actions .btn {
  padding: 10px 15px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
  border-radius: 999px;
}

/* Article page */
.article-hero {
  padding: 0;
  background: transparent;
}

.article-hero__content {
  max-width: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 30px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0px;
  font-weight: 400;
}

.category-badge,
.article-card__category,
.post-card__category,
.sidebar-cta__badge,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--color-blue);
  background: transparent;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 1.6;
  text-transform: uppercase;
}

.article-hero h1,
.article-title {
  max-width: 720px;
  margin: 12px 0 18px;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -2px;
  font-weight: 400;
}

.article-hero__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.article-hero__lead,
.article-subtitle {
  max-width: 690px;
  margin: 0;
  font-size: 19px;
  line-height: 1.42;
  color: var(--color-text-soft);
}

.article-meta-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 60px;
  margin-top: 28px;
}

.article-meta-panel__author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.article-meta-panel__author:hover,
.article-meta-panel__author:focus-visible {
  color: var(--color-blue);
}

.author-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #0B63F6, #8CADFD);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 400;
}

.author-info {
  display: grid;
  gap: 0;
}

.author-info strong {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.author-info span {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-meta-panel__items,
.article-card__meta,
.post-card__meta {
  color: var(--color-muted);
  font-size: 12px;
}

.article-meta-panel__items {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.article-meta-panel__items span,
.article-card__meta span,
.post-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta-panel__items img,
.article-card__meta img,
.post-card__meta img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.article-cover {
  width: 100%;
  margin: 40px 0 48px;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1200 / 630;
  background: #f5f7fa;
}

.article-cover__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-page {
  padding: 28px 0 58px;
  background: #fbfdfe;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 840px) 320px;
  gap: 48px;
  justify-content: space-between;
  align-items: stretch;
  padding: 0;
}

.article-main {
  min-width: 0;
}

.article-toc-mobile {
  display: none;
}

.article-content {
  min-width: 0;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2 {
  margin: 42px 0 16px;
  color: var(--color-text);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
  scroll-margin-top: calc(var(--header-height) + 56px);
}

.article-content [id] {
  scroll-margin-top: calc(var(--header-height) + 56px);
}

.article-content h2:first-of-type {
  margin-top: 24px;
}

.article-content h3 {
  margin: 28px 0 12px;
  color: var(--color-text);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.article-content p {
  margin: 0 0 18px;
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-content li::marker {
  color: var(--color-text);
}

.article-content blockquote {
  position: relative;
  margin: 26px 0 34px;
  padding: 20px 24px 20px 56px;
  border-left: 4px solid var(--color-blue);
  border-radius: 10px;
  color: var(--color-text);
  background: var(--color-blue-light);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-content blockquote::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 22px;
  color: var(--color-blue);
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
}

.article-content figure {
  margin: 28px 0 32px;
}

.article-content figure img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.article-content figcaption {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-callout {
  margin: 28px 0 32px;
  padding: 24px;
  border: 1px solid rgba(11, 99, 246, 0.14);
  border-radius: 10px;
  background: #f6f9ff;
}

.article-callout h3 {
  margin-top: 0;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-checklist {
  margin: 24px 0 32px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
}

.article-checklist h3 {
  margin-top: 0;
}

.article-checklist ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding-left: 28px;
}

.article-checklist li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.article-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.article-highlight {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
}

.article-highlight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-highlight p {
  margin-bottom: 0;
  color: var(--color-text-soft);
}

.article-sidebar {
  position: relative;
  align-self: stretch;
  min-width: 0;
  width: 320px;
  justify-self: end;
}

.article-sidebar__sticky {
  position: sticky;
  top: var(--article-sidebar-offset);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - var(--article-sidebar-offset) - 20px);
  padding-bottom: 16px;
  overflow-x: visible;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.article-sidebar__sticky > .sidebar-card + .sidebar-card,
.article-sidebar__sticky > .sidebar-card + .sidebar-cta,
.article-sidebar__sticky > .sidebar-cta + .sidebar-card {
  margin-top: 0;
}

.sidebar-card,
.sidebar-cta {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: none;
}

.sidebar-card + .sidebar-card,
.sidebar-card + .sidebar-cta,
.sidebar-cta + .sidebar-card {
  margin-top: 16px;
}

.sidebar-card h2 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.sidebar-cta h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.sidebar-card h2.article-toc__title,
.sidebar-card h2.article-share__title {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.sidebar-cta h2.article-sidebar-cta__title {
  height: auto;
  font-family: Inter, sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.sidebar-card ol {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
  color: var(--color-blue);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-toc__list {
  margin: 0;
}

.article-toc__item a {
  overflow-wrap: anywhere;
}

.sidebar-card a:hover,
.sidebar-card a:focus-visible {
  color: var(--color-blue-dark);
}

.share-links {
  display: flex;
  gap: 8px;
}

.share-links a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.share-links a {
  background: transparent;
}

.share-links img,
.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sidebar-cta {
  background: #f3f7ff;
}

.article-sidebar-cta {
  height: auto;
  min-height: 0;
  overflow: visible;
  flex: 0 0 auto;
}

.sidebar-cta__badge {
  margin-bottom: 12px;
  text-transform: none;
}

.sidebar-cta__logo {
  display: block;
  width: 106px;
  height: 24px;
  margin-bottom: 12px;
  object-fit: contain;
}

.sidebar-cta p {
  margin: 0 0 14px;
  color: var(--color-text-soft);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.sidebar-cta .btn {
  width: 100%;
  margin-top: 10px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 12px;
  line-height: 1.6;
}

.article-tags span {
  margin-right: 6px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0px;
  font-weight: 400;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--color-text-soft);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0px;
  font-weight: 400;
  text-decoration: none;
}

.article-tag:hover {
  color: var(--color-blue);
}

/* Blog home */
.page-intro {
  padding: 40px 0 18px;
  background: #FBFDFE;
}

.page-intro h1 {
  margin: 12px 0 14px;
  max-width: 760px;
}

.page-intro__lead {
  max-width: 690px;
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-text-soft);
}

.page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
}

.page-intro__content {
  min-width: 0;
}

.page-intro__media {
  min-width: 0;
  min-height: 240px;
}

.page-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(11, 99, 246, 0.14));
}

.archive-page__intro {
  padding: 40px 0 34px;
  background: #FBFCFE;
}

.archive-page__intro .page-intro__grid {
  grid-template-columns: minmax(0, 650px) minmax(360px, 440px);
  gap: 48px;
  align-items: center;
}

.archive-page__intro h1 {
  margin: 12px 0 18px;
  max-width: 650px;
  font-size: 55px;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.archive-page__intro .page-intro__lead {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.4;
}

.archive-page__intro .page-intro__media {
  min-height: 300px;
}

.archive-page__intro .page-intro__media img {
  object-position: center right;
}

.archive-hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 480px;
  margin-top: 28px;
}

.archive-hero-search input {
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  font: inherit;
  color: var(--color-text);
}

.archive-hero-search .btn {
  min-width: 96px;
  min-height: 54px;
}

.archive-page__categories {
  padding: 20px 0 28px;
}

.archive-page__categories .blog-category-pill.is-active {
  border-color: rgba(11, 99, 246, 0.2);
  background: #eef4ff;
  color: var(--color-blue);
}

.archive-page__grid,
.search-page__body {
  padding: 18px 0 64px;
}

.archive-content {
  padding: 0 0 68px;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  align-items: start;
}

.archive-layout__main,
.archive-sidebar {
  min-width: 0;
}

.archive-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: var(--blog-header-offset);
}

.archive-toolbar {
  margin-bottom: 18px;
}

.archive-sort {
  min-width: 118px;
  height: 30px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-soft);
}

.archive-posts-grid {
  margin-bottom: 40px;
}

.archive-posts-grid .post-card__body,
.archive-posts-grid .article-card__body {
  padding: 12px 14px 14px;
}

.archive-posts-grid .post-card h3,
.archive-posts-grid .article-card h3 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.archive-posts-grid .post-card p,
.archive-posts-grid .article-card p {
  font-size: 12px;
  line-height: 1.45;
}

.archive-posts-grid .post-card__meta,
.archive-posts-grid .article-card__meta {
  gap: 12px;
}

.archive-posts-grid .post-card__meta span,
.archive-posts-grid .article-card__meta span {
  font-size: 12px;
  line-height: 1.6;
}

.archive-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.archive-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-text);
}

.archive-pagination__link.current {
  border-color: var(--color-blue);
  background: var(--color-blue);
  color: #ffffff;
}

.archive-pagination__link:hover {
  border-color: rgba(11, 99, 246, 0.2);
  color: var(--color-blue);
}

.empty-state.card.archive-empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 360px;
  max-width: none;
  margin: 0;
  padding: 48px 56px;
  text-align: left;
  border-radius: 10px;
}

.archive-empty-state .eyebrow {
  margin: 0 0 8px;
  color: var(--color-blue);
  text-align: left;
}

.archive-empty-state h2 {
  margin: 12px 0 16px;
}

.archive-empty-state p {
  max-width: 680px;
  margin: 0 0 24px;
  text-align: left;
}

.archive-empty-state .btn {
  margin: 0;
}

.archive-sidebar-card {
  padding: 26px 26px 24px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
}

.archive-sidebar-card h2 {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.archive-sidebar .blog-sidebar-list {
  gap: 12px;
}

.archive-sidebar .blog-sidebar-item {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
}

.archive-sidebar .blog-sidebar-item__thumb {
  width: 54px;
  height: 54px;
}

.archive-sidebar .blog-sidebar-item strong {
  font-size: 12px;
  line-height: 1.35;
}

.archive-sidebar__more {
  display: inline-flex;
  margin-top: 20px;
  color: var(--color-blue);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

.archive-help-card p {
  margin: 0 0 28px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--color-text-soft);
}

.archive-help-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.4;
  padding: 15px 30px;
  white-space: nowrap;
}

.archive-help-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--color-text);
}

.archive-help-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}

.archive-help-list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: url("../img/icon-check-blue.svg") center / contain no-repeat;
}

.archive-help-list li::after {
  content: none;
}

.archive-topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.archive-topic-cloud__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 7px 10px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--color-text);
}

.archive-topic-cloud__item:hover {
  color: var(--color-blue);
}

.archive-topics {
  padding: 0 0 56px;
}

.archive-topics h2 {
  max-width: 1200px;
  margin: 0 0 32px;
  color: #101010;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 400;
}

.archive-topics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.archive-topic-card {
  position: relative;
  display: block;
  min-height: 165px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
}

.archive-topic-card::after {
  content: none;
}

.archive-topic-card__content {
  position: static;
  min-width: 0;
  min-height: 123px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 178px;
}

.archive-topic-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
  color: #101010;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}

.archive-topic-card p {
  position: relative;
  z-index: 2;
  max-width: 170px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 400;
  color: #757575;
}

.archive-topic-card__arrow {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: url("../img/archive-topic-arrow.svg") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.archive-topic-card__media {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 114px;
  height: 116px;
  pointer-events: none;
}

.archive-topic-card__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  display: block;
}

.archive-topic-card:nth-child(3) .archive-topic-card__media {
  right: 0;
  bottom: 0;
}

.author-hero {
  padding: 22px 0 42px;
  background: #FBFCFE;
}

.author-hero__grid {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.author-hero__breadcrumbs {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0 0 18px;
  text-align: left;
}

.author-hero__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(229, 229, 229, 0.8);
  background: #eef3fb;
}

.author-hero__avatar img {
  width: 118%;
  height: 118%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: translateY(-7%);
}

.author-hero__content {
  min-width: 0;
  max-width: 760px;
}

.author-hero h1 {
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: -2px;
}

.author-hero__role {
  margin: 0 0 12px;
  color: var(--color-blue);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.author-hero__description {
  max-width: 640px;
  margin: 0 0 20px;
  color: var(--color-text-soft);
  font-size: 16px;
  line-height: 1.4;
}

.author-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-hero__meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--color-text);
}

.author-content {
  padding: 36px 0 68px;
}

.author-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 30px;
  align-items: start;
}

.author-layout__main,
.author-sidebar {
  min-width: 0;
}

.author-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  position: sticky;
  top: var(--blog-header-offset);
}

.author-sidebar > * {
  min-width: 0;
  width: 100%;
}

.author-section-heading {
  margin-bottom: 18px;
}

.author-category-pills {
  margin-bottom: 14px;
}

.author-toolbar {
  margin-bottom: 18px;
}

.author-posts-grid {
  margin-bottom: 34px;
}

.author-sidebar-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
}

.author-sidebar-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.author-sidebar-card__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.author-sidebar-card__list li {
  position: relative;
  padding-left: 14px;
  color: var(--color-text-soft);
  font-size: 12px;
  line-height: 1.5;
}

.author-sidebar-card__list li::before {
  content: "›";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-blue);
  font-size: 14px;
  line-height: 1.4;
}

.author-empty-state {
  max-width: 720px;
}

/* Authors page */
.authors-page {
  background: #FBFCFE;
}

.authors-hero {
  padding: 64px 0 36px;
  text-align: center;
}

.authors-hero__breadcrumbs {
  justify-content: center;
  margin: 0 0 28px;
}

.authors-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 400;
}

.authors-hero p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--color-text-soft);
  font-size: 22px;
  line-height: 1.35;
}

.authors-list-section {
  padding: 24px 0 80px;
}

.authors-list {
  display: grid;
  max-width: 960px;
  margin: 0 auto;
  gap: 20px;
}

.authors-list-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.authors-list-card:hover,
.authors-list-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11, 99, 246, 0.28);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.authors-list-card__avatar {
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(229, 229, 229, 0.8);
  border-radius: 50%;
  background: #eef3fb;
}

.authors-list-card__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.authors-list-card__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.authors-list-card__name {
  color: var(--color-text);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 400;
}

.authors-list-card__position {
  color: var(--color-blue);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}

.authors-list-card__description {
  max-width: 620px;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.4;
}

.authors-list-card__count {
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.authors-empty-state {
  max-width: 760px;
  margin: 0 auto;
}

.search-page__body {
  display: grid;
  gap: 24px;
}

.search-page__intro {
  padding-bottom: 44px;
}

.search-page__intro .page-intro__grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 64px;
}

.search-page__intro h1 {
  max-width: 720px;
}

.search-page__intro .page-intro__lead {
  max-width: 700px;
}

.search-page__intro .page-intro__media {
  min-height: 260px;
}

.search-page__intro .page-intro__media img {
  width: min(100%, 360px);
}

.search-hero-form {
  display: flex;
  width: min(100%, 720px);
  gap: 12px;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
}

.search-hero-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text);
}

.search-hero-form input::placeholder {
  color: var(--color-text-muted);
}

.search-hero-form .btn {
  flex: 0 0 auto;
}

.search-page__categories {
  padding: 0 0 24px;
}

.search-page__categories .blog-category-pill.is-active {
  border-color: var(--color-blue);
  background: var(--color-blue);
  color: #ffffff;
}

.search-content {
  padding: 0 0 56px;
}

.search-layout,
.search-layout__main,
.search-sidebar {
  min-width: 0;
}

.search-toolbar {
  align-items: flex-end;
}

.search-toolbar h2 {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.search-toolbar__eyebrow {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-blue);
  text-transform: uppercase;
}

.search-empty-state {
  margin-top: 8px;
}

.tag-layout,
.tag-layout__main,
.tag-sidebar {
  min-width: 0;
}

.tag-toolbar {
  align-items: flex-end;
}

.tag-toolbar h2 {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.tag-toolbar__eyebrow {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-blue);
  text-transform: uppercase;
}

.tag-topic-cloud .archive-topic-cloud__item.is-active {
  border-color: var(--color-blue);
  background: var(--color-blue);
  color: #ffffff;
}

.search-form-card {
  display: flex;
  gap: 12px;
  padding: 20px;
}

.search-form-card input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
  color: var(--color-text);
  background: #ffffff;
}

.blog-home-hero {
  padding: 28px 0 18px;
  background: #FBFDFE;
}

.blog-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 48px;
  align-items: center;
}

.blog-home-hero__content {
  min-width: 0;
  max-width: 760px;
}

.blog-home-hero h1 {
  margin: 18px 0 18px;
  max-width: 620px;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -2.4px;
}

.blog-home-hero__lead {
  max-width: 660px;
  margin: 0 0 32px;
  font-size: 23px;
  line-height: 1.4;
  color: var(--color-text-soft);
}

.blog-home-hero__media {
  position: relative;
  min-height: 420px;
}

.blog-home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 55px rgba(11, 99, 246, 0.18));
}

.blog-home-search {
  display: grid;
  grid-template-columns: minmax(0, 480px) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.blog-home-search input {
  min-width: 0;
  height: 54px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
  color: var(--color-text);
  background: #ffffff;
}

.blog-home-search .btn {
  min-width: 110px;
  min-height: 54px;
}

.blog-home-categories {
  padding: 22px 0 42px;
}

.blog-category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.blog-category-pills::-webkit-scrollbar {
  display: none;
}

.blog-category-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0px;
  font-weight: 400;
}

.blog-category-pill.is-active,
.blog-category-pill:hover {
  color: var(--color-blue);
}

/* Home featured section */
.home-featured-section {
  padding: 22px 0 72px;
}

.home-featured-section__categories {
  margin-bottom: 48px;
}

.home-featured-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.home-featured-main {
  position: relative;
  display: block;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fefefe;
}

.home-featured-main__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  min-height: 520px;
  max-width: 56%;
  padding: 48px 40px 36px;
  box-sizing: border-box;
}

.home-featured-main__category,
.home-featured-side-card__category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  color: var(--color-blue);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: uppercase;
}

.home-featured-main__title {
  margin: 0 0 20px;
  color: var(--color-text);
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 400;
}

.home-featured-main__title a:hover,
.home-featured-side-card__title a:hover {
  color: var(--color-blue);
}

.home-featured-main__excerpt {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 400;
}

.home-featured-main__meta,
.home-featured-side-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 400;
}

.home-featured-main__meta {
  margin-top: auto;
}

.home-featured-main__meta span,
.home-featured-main__meta a,
.home-featured-side-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-featured-main__meta img,
.home-featured-side-card__meta img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.home-featured-main__author {
  position: relative;
  padding-left: 24px;
  color: inherit;
  text-decoration: none;
}

.home-featured-main__author:hover,
.home-featured-main__author:focus-visible,
.featured-post__meta-author:hover,
.featured-post__meta-author:focus-visible {
  color: var(--color-blue);
}

.home-featured-main__author::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0.72;
}

.home-featured-main__media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  padding: 0;
  background: transparent;
}

.home-featured-main__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: right center;
}

.home-featured-side {
  display: grid;
  gap: 24px;
}

.home-featured-side-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 172px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
}

.home-featured-side-card__image {
  display: block;
  width: 124px;
  height: auto;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #f5f7fa;
}

.home-featured-side-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-featured-side-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.home-featured-side-card__category {
  margin-bottom: 10px;
  font-size: 12px;
}

.home-featured-side-card__title {
  margin: 0;
  color: var(--color-text);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 400;
}

.home-featured-side-card__meta {
  margin-top: auto;
  padding-top: 14px;
  gap: 18px;
  font-size: 12px;
  line-height: 1.6;
}

.blog-featured-shelf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 438px;
  gap: 28px;
  align-items: start;
  padding-bottom: 80px;
}

.blog-featured-shelf__side {
  display: grid;
  gap: 22px;
}

.blog-home-section {
  padding: 0 0 32px;
}

.featured-post {
  overflow: hidden;
  border-radius: 10px;
}

.featured-post__grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
}

.featured-post--home .featured-post__grid {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.featured-post__media {
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: linear-gradient(135deg, #0B63F6 0%, #8CADFD 100%);
}

.featured-post__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.featured-post__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 32px;
}

.featured-post__content h2 {
  margin: 12px 0 16px;
}

.featured-post__content h2 a:hover {
  color: var(--color-blue);
}

.featured-post__content p {
  margin-bottom: 20px;
  color: var(--color-text-soft);
}

.featured-post--home .featured-post__content {
  padding: 40px 40px 26px;
}

.featured-post--home .featured-post__media {
  display: block;
  min-height: 360px;
  overflow: hidden;
  background: #eef4ff;
}

.featured-post--home .featured-post__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.featured-post--home h2 {
  max-width: 420px;
  margin: 18px 0 18px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.featured-post--home p {
  max-width: 360px;
  margin-bottom: 42px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

.featured-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.featured-post__meta span,
.featured-post__meta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-post__meta img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.featured-post--home .featured-post__meta {
  gap: 28px;
  margin-top: auto;
  margin-bottom: 0;
}

.featured-post__meta-author {
  position: relative;
  padding-left: 24px;
  color: inherit;
  text-decoration: none;
}

.featured-post__meta-author::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.72;
}

.compact-post-card {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: 10px;
}

.compact-post-card__image {
  display: block;
  width: 102px;
  height: auto;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
}

.compact-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-post-card__content {
  min-width: 0;
}

.compact-post-card__category {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--color-blue);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  text-transform: uppercase;
}

.compact-post-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
}

.blog-featured-shelf__side .compact-post-card h3 {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}

.compact-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--color-text-soft);
  font-size: 12px;
  line-height: 1.6;
}

.compact-post-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compact-post-card__meta img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.blog-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-bottom: 64px;
}

.blog-home-main,
.blog-home-sidebar {
  min-width: 0;
}

.blog-home-sidebar {
  width: 100%;
  max-width: 300px;
  position: sticky;
  top: var(--blog-header-offset);
}

.blog-home-sidebar .blog-sidebar-card {
  padding: 20px;
  border: 1px solid #e5eaf3;
  border-radius: 10px;
  background: #f7f8fc;
}

.blog-sidebar-card h2 {
  margin: 0 0 16px;
}

.blog-home-sidebar .blog-sidebar-card--popular h2 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 400;
}

.blog-sidebar-list {
  display: grid;
  gap: 14px;
}

.blog-sidebar-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(229, 229, 229, 0.72);
}

.blog-sidebar-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-sidebar-item__thumb {
  display: block;
  width: 68px;
  height: 60px;
  overflow: hidden;
  border-radius: 10px;
}

.blog-sidebar-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-sidebar-item__content {
  display: grid;
  gap: 6px;
}

.blog-sidebar-item strong {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

/* Cards */
.related-posts {
  margin-top: 4px;
  padding: 0 0 64px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
}

.blog-home .section-heading h2 {
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 0;
}

.blog-home .section-heading h2::after {
  content: none;
}

.section-heading a {
  color: var(--color-blue);
  font-size: 14px;
  font-weight: 400;
}

.blog-home .section-heading a {
  font-weight: 400;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Keep the article grid balanced alongside the popular-posts sidebar. */
.blog-home-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-home-grid .post-card--home {
  min-width: 0;
}

.blog-home-grid .post-card--home .post-card__image {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
}

.blog-home-grid .post-card--home .post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-home-grid .post-card--home h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}

.blog-home-grid .post-card--home p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-home-pagination {
  margin-top: 24px;
  margin-bottom: 56px;
}

.post-card,
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.post-card__image,
.article-card__image {
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: #eef4ff;
}

.post-card__image img,
.article-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body,
.article-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 9px;
  padding: 18px 20px 20px;
}

.post-card h3,
.article-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 400;
}

.post-card h3 a:hover,
.article-card h3 a:hover {
  color: var(--color-blue);
}

/* Article tiles share the compact reading type scale across blog templates. */
.related-posts__grid .post-card h3,
.related-posts__grid .article-card h3 {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}

.post-card p,
.article-card p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.related-posts__grid .post-card p,
.related-posts__grid .article-card p {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 400;
}

.post-card__meta,
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
}

/* CTA */
.blog-cta {
  margin: 56px auto 64px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.25), transparent 28%),
    linear-gradient(135deg, #0B63F6 0%, #4A7EFE 100%);
  color: #ffffff;
}

.blog-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 498px;
  gap: 24px;
  align-items: stretch;
  min-height: 328px;
  padding: 0;
}

.blog-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 40px 40px;
}

.blog-cta h2 {
  max-width: 600px;
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -2px;
  font-weight: 400;
}

.blog-cta p {
  max-width: 490px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  font-weight: 400;
}

.blog-cta__actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 20px;
  justify-content: start;
  align-items: center;
}

.blog-cta__actions .btn {
  white-space: nowrap;
}

.blog-cta__actions .btn-secondary {
  color: #101010;
  background: #ffffff;
  border-color: #ffffff;
}

.blog-cta__actions .btn--outline-light {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.blog-cta__image,
.blog-cta__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  justify-self: stretch;
  align-self: stretch;
  margin: 0;
  filter: none;
}

/* Footer */
.site-footer {
  color: var(--color-footer-muted);
  background: var(--color-footer);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(4, minmax(130px, 1fr));
  gap: 54px;
  padding: 64px 0 44px;
}

.site-logo--footer {
  color: var(--color-footer-text);
  padding: 6px 8px;
  border-radius: 10px;
  background: #ffffff;
}

.site-logo--footer img {
  width: 132px;
  height: 30px;
}

.site-footer__brand {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 310px;
}

.site-footer__brand p,
.site-footer__brand span {
  margin: 0;
  color: var(--color-footer-muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer__brand a:not(.site-logo) {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
}

.site-footer__brand .site-footer__phone {
  margin-top: 14px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.site-footer__subscribe {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  background: transparent;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2,
.footer-link-cloud h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.3;
}

.footer-links a,
.footer-link-cloud a,
.site-footer__bottom a {
  color: var(--color-footer-muted);
  font-size: 14px;
  line-height: 1.35;
}

.footer-links a:hover,
.footer-link-cloud a:hover,
.site-footer__bottom a:hover {
  color: #ffffff;
}

.site-footer__extra {
  display: grid;
  gap: 36px;
  padding-bottom: 42px;
}

.footer-link-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px 42px;
}

.footer-link-cloud h2 {
  grid-column: 1 / -1;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 36px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.empty-state {
  display: grid;
  gap: 12px;
  padding-block: 100px;
}

.empty-state p {
  max-width: 640px;
  margin: 0;
  color: var(--color-text-soft);
}

.empty-state.card {
  padding: 32px;
}

.empty-state .btn {
  width: fit-content;
}

.empty-state h1 {
  margin: 14px 0 10px;
}

/* Responsive */
@media (max-width: 1180px) {
  .blog-header__top {
    gap: 18px;
  }

  .blog-header__nav {
    gap: 18px;
  }

  .blog-header__actions {
    gap: 16px;
  }

  .blog-header-search {
    width: 190px;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -2px;
    font-weight: 400;
  }

  h2 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 400;
  }

  .article-hero h1,
  .article-title {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -2px;
    font-weight: 400;
  }

  .article-content h2 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 400;
  }

  .nav-toggle {
    display: block;
  }

  .blog-header__actions {
    position: absolute;
    inset: 68px 12px auto;
    display: none;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
  }

  .blog-header__actions.is-open {
    display: grid;
  }

  .blog-header-search {
    width: 100%;
  }

  .blog-header__actions .btn,
  .blog-header__actions .link-login,
  .blog-header__actions .blog-header-search {
    justify-content: center;
  }

  .blog-header__top {
    min-height: 68px;
  }

  .blog-header__nav {
    min-height: 54px;
    gap: 18px;
  }

  .admin-bar .blog-header {
    top: 32px;
  }

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

  .blog-cta__image {
    max-height: 220px;
    justify-self: center;
  }

  .blog-home-hero__grid,
  .blog-featured-shelf,
  .featured-post__grid,
  .blog-home-layout {
    grid-template-columns: 1fr;
  }

  .blog-home-hero__media {
    min-height: 320px;
  }

  .home-featured-section__layout {
    grid-template-columns: 1fr;
  }

  .home-featured-main {
    display: flex;
    flex-direction: column;
  }

  .home-featured-main__content {
    height: auto;
    min-height: 0;
    max-width: none;
  }

  .home-featured-main__media {
    position: static;
    width: 100%;
    min-height: 300px;
  }

  .home-featured-main__media img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: contain;
    object-position: center;
  }

  .blog-home-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .blog-home-sidebar {
    max-width: none;
    position: static;
    top: auto;
  }

  .blog-featured-shelf {
    gap: 22px;
  }

  .blog-home-hero h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -2px;
  }

  .page-intro__grid {
    grid-template-columns: 1fr 300px;
    gap: 28px;
  }

  .archive-page__intro .page-intro__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }

  .search-page__intro .page-intro__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }

  .tag-page__intro .page-intro__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }

  .archive-page__intro h1 {
    font-size: 48px;
  }

  .author-layout {
    grid-template-columns: 1fr;
  }

  .author-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .authors-hero h1 {
    font-size: 48px;
  }

  .authors-list {
    max-width: none;
  }

  .archive-layout {
    grid-template-columns: 1fr;
  }

  .archive-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .featured-post--home .featured-post__grid {
    grid-template-columns: 1fr;
  }

  .featured-post--home .featured-post__media {
    min-height: 0;
  }

  .featured-post--home .featured-post__media img {
    transform: none;
  }

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

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

  .footer-link-cloud {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 980px) {
  .article-page {
    padding-top: 24px;
  }

  .article-layout {
    display: block;
  }

  .article-cover {
    margin: 24px 0 32px;
    border-radius: 10px;
  }

  .article-toc-mobile {
    display: block;
    margin: 0 0 32px;
  }

  .article-sidebar {
    position: static;
    width: 100%;
    margin-top: 32px;
  }

  .article-sidebar__sticky {
    position: static;
    max-height: none;
    padding-bottom: 0;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .article-sidebar .sidebar-card--toc {
    display: none;
  }
}

@media (max-width: 782px) {
  .admin-bar .blog-header {
    top: 46px;
  }

  .admin-bar {
    --blog-header-offset: var(--blog-header-offset-admin-mobile);
  }
}

@media (max-width: 520px) {
  .blog-header__brand {
    gap: 8px;
  }

  .blog-header__logo {
    gap: 6px;
    font-size: 16px;
    letter-spacing: -0.5px;
  }

  .blog-header__logo img {
    width: 120px;
    height: auto;
  }

  .blog-header__product-link {
    min-width: 34px;
    min-height: 34px;
    justify-content: center;
    padding: 0;
  }

  .blog-header__product-link span:last-child {
    display: none;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -2px;
    font-weight: 400;
  }

  h2 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 400;
  }

  .article-hero h1,
  .article-title {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -2px;
    font-weight: 400;
  }

  .article-content h2 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 400;
  }

  .article-subtitle,
  .subtitle {
    font-size: 18px;
  }

  .page-intro h1,
  .blog-home-hero h1 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -2px;
  }

  .site-container,
  .site-container-wide,
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .article-hero {
    padding: 0;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .article-hero__lead {
    font-size: 18px;
  }

  .article-meta-panel {
    align-items: flex-start;
    margin-top: 30px;
  }

  .article-meta-panel__items {
    flex-basis: 100%;
    gap: 12px;
  }

  .article-layout {
    padding: 0;
  }

  .blog-home-hero {
    padding: 20px 0 8px;
  }

  .blog-home-hero__grid {
    gap: 26px;
  }

  .blog-home-hero__lead {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .page-intro__grid {
    grid-template-columns: 1fr;
  }

  .page-intro__media {
    min-height: 160px;
  }

  .archive-page__intro {
    padding: 30px 0 24px;
  }

  .archive-page__intro .page-intro__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-page__intro {
    padding: 30px 0 24px;
  }

  .search-page__intro .page-intro__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-page__intro .page-intro__content,
  .search-page__intro h1,
  .search-page__intro .page-intro__lead,
  .search-hero-form,
  .search-layout,
  .search-layout__main,
  .search-posts-grid,
  .search-sidebar,
  .search-sidebar .archive-sidebar-card {
    min-width: 0;
    max-width: 100%;
  }

  .search-page__intro h1,
  .search-page__intro .page-intro__lead,
  .search-toolbar h2 {
    overflow-wrap: anywhere;
  }

  .search-page__intro .page-intro__media {
    min-height: 0;
  }

  .search-hero-form {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: none;
    margin-top: 22px;
  }

  .search-hero-form input {
    width: 100%;
  }

  .search-hero-form .btn {
    width: 100%;
  }

  .search-toolbar {
    align-items: flex-start;
    gap: 16px;
  }

  .tag-page__intro .page-intro__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tag-page__intro .page-intro__content,
  .tag-page__intro h1,
  .tag-page__intro .page-intro__lead,
  .tag-hero-search,
  .tag-layout,
  .tag-layout__main,
  .tag-posts-grid,
  .tag-sidebar,
  .tag-sidebar .archive-sidebar-card {
    min-width: 0;
    max-width: 100%;
  }

  .tag-page__intro h1,
  .tag-page__intro .page-intro__lead,
  .tag-toolbar h2 {
    overflow-wrap: anywhere;
  }

  .tag-toolbar {
    align-items: flex-start;
    gap: 16px;
  }

  .archive-page__intro h1 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -2px;
  }

  .archive-page__intro .page-intro__lead {
    font-size: 18px;
  }

  .author-hero {
    padding: 24px 0 30px;
  }

  .author-hero__grid {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .author-hero__avatar {
    width: 96px;
    height: 96px;
  }

  .author-hero h1 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -2px;
  }

  .author-hero__role {
    font-size: 18px;
  }

  .author-content {
    padding: 30px 0 48px;
  }

  .author-sidebar {
    grid-template-columns: 1fr;
  }

  .archive-page__intro .page-intro__media {
    min-height: 220px;
  }

  .archive-hero-search {
    grid-template-columns: 1fr;
    max-width: none;
    margin-top: 22px;
  }

  .archive-hero-search .btn {
    width: 100%;
  }

  .blog-home-hero__media {
    min-height: 220px;
  }

  .home-featured-section {
    padding: 18px 0 52px;
  }

  .home-featured-section__categories {
    margin-bottom: 28px;
  }

  .home-featured-section__layout {
    gap: 20px;
  }

  .home-featured-main__content {
    padding: 28px 24px 24px;
  }

  .home-featured-main__title {
    font-size: 32px;
  }

  .home-featured-main__excerpt {
    font-size: 16px;
  }

  .home-featured-main__media {
    min-height: 240px;
    padding: 20px;
  }

  .home-featured-side {
    gap: 16px;
  }

  .home-featured-side-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    min-height: 132px;
    padding: 18px;
    border-radius: 10px;
  }

  .home-featured-side-card__image {
    width: 96px;
    height: auto;
  }

  .home-featured-side-card__title {
    font-size: 18px;
  }

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

  .blog-home-search input,
  .blog-home-search .btn {
    width: 100%;
  }

  .blog-home-search .btn {
    min-width: 0;
  }

  .blog-home-categories {
    padding: 18px 0 34px;
  }

  .blog-featured-shelf {
    padding-bottom: 52px;
  }

  .featured-post--home .featured-post__content {
    padding: 24px 24px 20px;
  }

  .featured-post--home h2 {
    margin: 14px 0 16px;
    font-size: 24px;
  }

  .featured-post--home p {
    max-width: none;
    margin-bottom: 24px;
  }

  .featured-post--home .featured-post__meta {
    gap: 12px 18px;
  }

  .compact-post-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .compact-post-card__image {
    width: 88px;
    height: auto;
  }

  .compact-post-card h3 {
    font-size: 18px;
  }

  .blog-home-layout {
    gap: 30px;
    padding-bottom: 48px;
  }

  .article-toc-mobile {
    display: block;
    margin: 0 0 32px;
  }

  .article-sidebar .sidebar-card--toc {
    display: none;
  }

  .article-content blockquote {
    padding: 20px 20px 20px 50px;
  }

  .article-callout,
  .article-checklist,
  .article-highlight {
    padding: 20px;
  }

  .article-highlight-grid {
    grid-template-columns: 1fr;
  }

  .page-intro,
  .blog-home-hero {
    padding-top: 32px;
  }

  .page-intro__lead,
  .blog-home-hero__lead {
    font-size: 18px;
  }

  .archive-page__grid,
  .search-page__body,
  .blog-home-layout {
    padding-bottom: 48px;
  }

  .archive-posts-grid {
    margin-bottom: 32px;
  }

  .archive-sidebar {
    grid-template-columns: 1fr;
  }

  .archive-pagination {
    justify-content: flex-start;
  }

  .archive-pagination__link {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  .empty-state.card.archive-empty-state {
    min-height: 300px;
    padding: 28px 20px;
  }

  .archive-topics {
    padding-bottom: 44px;
  }

  .author-hero__grid {
    grid-template-columns: 1fr;
  }

  .author-hero__avatar {
    width: 88px;
    height: 88px;
  }

  .author-hero__description {
    font-size: 14px;
  }

  .author-hero__meta-chip {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .authors-hero {
    padding: 36px 0 24px;
    text-align: left;
  }

  .authors-hero__breadcrumbs {
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .authors-hero h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  .authors-hero p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.4;
  }

  .authors-list-section {
    padding: 18px 0 48px;
  }

  .authors-list-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .authors-list-card__avatar {
    width: 56px;
    height: 56px;
  }

  .authors-list-card__name {
    font-size: 18px;
  }

  .authors-list-card__position {
    font-size: 14px;
  }

  .authors-list-card__description {
    font-size: 12px;
  }

  .authors-list-card__count {
    grid-column: 2;
    justify-self: start;
    font-size: 13px;
  }

  .archive-topics h2 {
    margin-bottom: 24px;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -1px;
  }

  .archive-topics__grid {
    grid-template-columns: 1fr;
  }

  .archive-topic-card {
    min-height: 165px;
    padding: 20px;
    border-radius: 10px;
  }

  .archive-topic-card__content {
    min-height: 123px;
    max-width: 178px;
  }

  .archive-topic-card h3 {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .archive-topic-card__arrow {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }

  .archive-topic-card p {
    max-width: 170px;
    font-size: 12px;
  }

  .archive-topic-card__media,
  .archive-topic-card:nth-child(3) .archive-topic-card__media {
    right: 0;
    top: auto;
    bottom: 0;
    width: 114px;
    height: 116px;
  }

  .search-form-card {
    flex-direction: column;
  }

  .featured-post__content {
    padding: 24px;
  }

  .featured-post__content h2 {
    font-size: 28px;
  }

  .featured-post__meta {
    gap: 12px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
  }

  .blog-cta {
    margin: 42px auto 48px;
    border-radius: 10px;
  }

  .blog-cta__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding: 0;
  }

  .blog-cta__content {
    min-width: 0;
    padding: 32px 24px 0;
  }

  .blog-cta h2 {
    max-width: none;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -2px;
    font-weight: 400;
  }

  .blog-cta p {
    max-width: none;
    margin-bottom: 24px;
  }

  .blog-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .blog-cta__actions .btn {
    width: 100%;
    white-space: normal;
  }

  .blog-cta__image {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    justify-self: stretch;
    align-self: end;
  }

  .site-footer__grid,
  .footer-link-cloud {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    gap: 30px;
    padding-top: 50px;
  }

  .site-footer__bottom {
    display: grid;
    justify-content: start;
  }
}
