@font-face {
  font-family: "Blinker";
  src: url("../assets/fonts/blinker-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Blinker";
  src: url("../assets/fonts/blinker-semibold-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Blinker";
  src: url("../assets/fonts/blinker-bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1b5aff;
  --white: #ffffff;
  --black: #222222;
  --gray: #585858;
  --gray-dark: #959393;
  --tag-bg: #f2f2f2;
  --footer-link: #7f7373;
  --shadow-card: 0 20px 52px 0 rgba(95, 90, 90, 0.09);
  --font-xxs: 0.625rem;
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-md: 1.125rem;
  --font-lg: 1.25rem;
  --font-xl: 1.5rem;
  --font-2xl: 1.875rem;
  --font-3xl: 2.25rem;
  --header-height: 88px;
}

@media (max-width: 1660px) {
  :root {
    --font-xs: 0.625rem;
    --font-sm: 0.75rem;
    --font-base: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.375rem;
    --font-2xl: 1.625rem;
    --font-3xl: 2rem;
    --header-height: 72px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
}

@media (max-width: 1880px) {
  .container {
    max-width: 1600px;
  }
}

@media (max-width: 1760px) {
  .container {
    max-width: 1440px;
  }
}

@media (max-width: 1600px) {
  .container {
    max-width: 1380px;
  }
}

@media (max-width: 1440px) {
  .container {
    max-width: 1240px;
  }
}

@media (max-width: 1340px) {
  .container {
    max-width: 1260px;
    padding-inline: 28px;
  }
}

@media (max-width: 1240px) {
  .container {
    max-width: 1100px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 20px;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  padding-block: 28px;
  background: transparent;
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  padding-block: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 35px rgba(95, 90, 90, 0.08);
  backdrop-filter: blur(16px);
}

.header__inner,
.header__left,
.desktop-nav,
.header__actions {
  display: flex;
  align-items: center;
}

.header__inner {
  justify-content: space-between;
}

.header__left {
  gap: 60px;
}

.header__logo {
  width: 246px;
  height: auto;
}

.desktop-nav {
  gap: 40px;
  color: var(--black);
  font-size: var(--font-base);
  font-weight: 500;
  line-height: 2rem;
}

.desktop-nav a,
.footer-links a {
  transition: color 150ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.header__actions {
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: var(--font-md);
  font-weight: 500;
  line-height: 1;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

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

.btn--outline {
  border: 1px solid var(--gray-dark);
  color: var(--gray);
  background: rgba(255, 255, 255, 0.28);
}

.btn--outline:hover {
  border-color: var(--black);
  color: var(--black);
  background: #fff;
}

.btn--dark {
  background: var(--black);
  color: #fff;
}

.btn--dark:hover {
  background: #111;
}

.menu-toggle {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--black);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.main {
  min-height: 100vh;
  overflow: clip;
}

.blog-hero {
  position: relative;
  margin-bottom: 80px;
  padding-top: 110px;
}

.pattern {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.pattern--one {
  top: 47px;
  left: 21%;
  width: min(760px, 52vw);
  opacity: 0.74;
}

.pattern--two {
  top: 205px;
  right: -380px;
  width: min(820px, 58vw);
  opacity: 0.78;
}

.pattern--three {
  top: 970px;
  left: -42px;
  width: 515px;
  opacity: 0.72;
}

.blog-hero__content {
  position: relative;
  z-index: 1;
}

.blog-hero h1 {
  margin: 0;
  text-align: center;
  color: var(--black);
  font-size: 95px;
  font-weight: 600;
  line-height: 1.5;
}

.blog-hero > .container > p,
.blog-hero__content > p {
  margin: -10px 0 96px;
  color: var(--gray);
  text-align: center;
  font-size: var(--font-2xl);
  font-weight: 400;
  line-height: 1.5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.blog-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease;
  position: relative;
}

.blog-card__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blog-card:hover {
  transform: scale(1.02);
}

.meta a,
.tags span,
.tags a {
  position: relative;
  z-index: 2;
}

.blog-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background-color: #f9f9f9;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.blog-card__body {
  padding: 24px;
}

.blog-card h2 {
  display: -webkit-box;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  color: var(--black);
  font-size: var(--font-md);
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: var(--font-sm);
  font-weight: 500;
  line-height: 1.5;
}

.meta a.author-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.tags span {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 4px;
  background: var(--tag-bg);
  padding: 4px 12px;
  color: var(--black);
  font-size: var(--font-xs);
  line-height: 1.5;
}

.excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--gray);
  font-size: var(--font-base);
  font-weight: 400;
  line-height: 1.5rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 6px;
}

.pagination a,
.pagination span,
.pagination button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--black);
  font-size: var(--font-lg);
}

.pagination__page--active {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.pagination__arrow {
  font-size: 28px;
  font-family: Inter, sans-serif;
}

.pagination__arrow--disabled {
  color: #a8a8a8;
}

.blog-detail-section {
  position: relative;
  padding-bottom: 0;
}

.detail-pattern--one {
  top: 95px;
  left: 38%;
  width: 220px;
  max-width: none;
  opacity: 0.42;
}

.detail-pattern--two {
  top: 500px;
  opacity: 0.04;
}

.detail-pattern--three {
  top: 970px;
  opacity: 0.05;
}

.blog-detail-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 98px 0 0;
}

.blog-detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-toc {
  display: none;
}

.detail-cta {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  margin-top: 40px;
}

.detail-toc__inner {
  width: 100%;
  max-width: 270px;
}

.detail-toc h2 {
  margin: 0;
  border-bottom: 1px solid rgba(34, 34, 34, 0.15);
  padding: 8px 16px 11px;
  color: var(--black);
  font-size: var(--font-xs);
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

.detail-toc ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 12px 8px;
  list-style: none;
}

.detail-toc a {
  display: block;
  border-left: 2px solid transparent;
  border-radius: 6px;
  padding: 6px 8px;
  color: var(--gray);
  font-size: var(--font-sm);
  font-weight: 400;
  line-height: 1.45;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.detail-toc a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.detail-toc a.is-active {
  border-left-color: var(--primary);
  background: #f9f9f9;
  color: var(--primary);
}

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

.detail-hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  background-color: #fff;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.detail-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.36));
}

.detail-title-block {
  width: 100%;
  padding: 28px;
}

.detail-meta {
  margin: 0;
  color: var(--gray);
  font-size: var(--font-sm);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.detail-meta strong {
  font-weight: 500;
}

.detail-title-block h1 {
  max-width: 896px;
  margin: 16px 0 16px;
  color: var(--black);
  font-size: var(--font-3xl);
  font-weight: 600;
  line-height: 1.02;
  overflow-wrap: break-word;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 6px;
  background: rgba(129, 44, 217, 0.04);
  padding: 3px 6px;
  color: var(--gray);
  font-size: var(--font-xs);
  font-weight: 500;
  line-height: 1rem;
}

.detail-intro {
  max-width: 100%;
  margin: 0 0 40px;
  color: var(--black);
  text-align: center;
  text-wrap: balance;
  font-size: var(--font-lg);
  font-style: italic;
  font-weight: 300;
  line-height: 1.625;
}

.detail-main-image {
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #fff;
  object-fit: cover;
}

.blog-body {
  padding-top: 40px;
  padding-bottom: 80px;
  overflow-wrap: break-word;
}

.blog-body h2,
.blog-body h3,
.blog-body h4,
.blog-body p,
.blog-body ul {
  margin-top: 0;
}

.blog-body h2,
.blog-body h3 {
  color: var(--black);
  font-size: var(--font-2xl);
  font-weight: 700;
  line-height: 1.2;
  scroll-margin-top: 120px;
}

.blog-body h2 {
  margin-bottom: 16px;
}

.blog-body h3 {
  margin-bottom: 24px;
}

.blog-body h4 {
  margin-bottom: 16px;
  color: var(--black);
  font-size: var(--font-xl);
  font-weight: 700;
  line-height: 1.35;
  scroll-margin-top: 120px;
}

.blog-body p {
  margin-bottom: 24px;
  color: var(--gray);
  font-size: var(--font-lg);
  font-weight: 400;
  line-height: 1.75;
}

.blog-body a {
  color: var(--primary);
}

.blog-body a:hover {
  text-decoration: underline;
}

.blog-body ul {
  margin-bottom: 56px;
  padding-left: 22px;
  color: var(--black);
  font-size: var(--font-lg);
  font-weight: 400;
  line-height: 1.75;
}

.blog-body li {
  padding-left: 6px;
}

.blog-body img {
  width: 100%;
  height: auto;
  margin: 56px 0 44px;
  border-radius: 12px;
  object-fit: cover;
}

.detail-bottom-tags {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-top: -40px;
}

.detail-bottom-tags > span {
  flex: 0 0 auto;
  color: var(--black);
  font-size: var(--font-lg);
  font-weight: 600;
  line-height: 1;
}

.detail-tags--large span {
  min-height: auto;
  border-radius: 8px;
  background: var(--tag-bg);
  padding: 2px 8px;
  font-size: var(--font-md);
  font-weight: 400;
}

.detail-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
}

.detail-share > span {
  color: var(--black);
  font-size: var(--font-lg);
  font-weight: 600;
  line-height: 1;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 100px;
  border: 1px solid rgba(34, 34, 34, 0.12);
  background: #fff;
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
  transition: all 180ms ease;
  cursor: pointer;
}

.share-pill svg {
  flex-shrink: 0;
}

.share-pill:hover {
  background: #f8f8f8;
  border-color: var(--black);
  color: var(--black);
  transform: translateY(-1px);
}

.share-pill--linkedin:hover {
  color: #0077b5;
  border-color: #0077b5;
  background: rgba(0, 119, 181, 0.04);
}

.share-pill--facebook:hover {
  color: #1877f2;
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.04);
}

.share-pill--twitter:hover {
  color: #000;
  border-color: #000;
  background: rgba(0, 0, 0, 0.04);
}

.share-pill--copy.is-copied {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

@media (max-width: 640px) {
  .share-pill span {
    display: none;
  }
  .share-pill {
    padding: 0;
    width: 36px;
    justify-content: center;
  }
}

.detail-cta__card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--primary);
  padding: 24px;
  color: #fff;
}

.detail-cta__card img {
  position: absolute;
  top: -14px;
  right: -8px;
  width: 70px;
  height: 78px;
  opacity: 0.28;
  pointer-events: none;
}

.detail-cta__card h2 {
  position: relative;
  margin: 0 0 16px;
  color: #fff;
  font-size: var(--font-md);
  font-weight: 600;
  line-height: 1.5;
}

.detail-cta__card p {
  position: relative;
  margin: 0 0 16px;
  color: #fff;
  font-size: var(--font-sm);
  font-weight: 400;
  line-height: 1.45;
}

.detail-cta__button {
  position: relative;
  display: inline-flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  color: var(--black);
  font-size: var(--font-sm);
  font-weight: 600;
  line-height: 1;
  transition: opacity 150ms ease, transform 150ms ease;
}

.detail-cta__button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.related-blogs {
  margin-top: 80px;
}

.related-blogs > h2 {
  max-width: 896px;
  margin: 0 0 40px;
  color: var(--black);
  font-size: var(--font-3xl);
  font-weight: 600;
  line-height: 1;
}

.related-blogs__grid {
  margin-bottom: 80px;
}

.faq-section {
  position: relative;
  padding: 0 0 40px;
  overflow: hidden;
}

.pattern--four {
  top: -90px;
  left: 0;
  width: 100%;
  height: 1720px;
  object-fit: cover;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.faq__container {
  position: relative;
  z-index: 1;
}

.section-title {
  margin: 42px auto 70px;
  text-align: center;
}

.section-title h2 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
}

.section-title p {
  margin: 0;
  color: var(--gray);
  font-size: var(--font-md);
  line-height: 1.625;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid rgba(34, 34, 34, 0.16);
}

.faq-list details:first-child {
  border-top: 1px solid rgba(34, 34, 34, 0.16);
}

.faq-list summary {
  position: relative;
  list-style: none;
  padding: 26px 38px 26px 0;
  color: var(--black);
  font-size: var(--font-md);
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list p {
  margin: -10px 0 24px;
  color: var(--gray);
  font-size: var(--font-base);
  line-height: 1.55;
}

.faq-cta {
  margin-top: 50px;
  text-align: center;
}

.faq-cta__button {
  min-width: auto;
  height: 36px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
}

.site-footer {
  background: #fff;
}

.page-blog-detail .site-footer {
  border-top: 1px solid rgba(34, 34, 34, 0.08);
}

.footer-main {
  padding: 74px 0 70px;
}

.page-blog-detail .footer-main {
  padding: 82px 0 66px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.55fr) minmax(130px, 0.6fr) minmax(210px, 0.82fr) minmax(170px, 0.7fr) minmax(210px, 0.78fr);
  column-gap: 76px;
  row-gap: 54px;
  align-items: start;
}

.footer-brand {
  max-width: 460px;
}

.footer-logo {
  width: 246px;
  height: auto;
  margin-bottom: 12px;
}

.powered-logo {
  width: 142px;
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: var(--font-base);
  line-height: 1.35;
}

.launch-badge {
  width: 150px;
  margin-bottom: 22px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-links img {
  width: 25px;
  height: 25px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links--compare {
  grid-column: auto;
}

.footer-links h3 {
  margin: 0 0 2px;
  color: var(--black);
  font-size: var(--font-base);
  font-weight: 500;
  line-height: 1.2;
}

.footer-links a {
  color: var(--footer-link);
  font-size: var(--font-base);
  line-height: 1.2;
}

.footer-bottom {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--black);
  color: #fff;
  font-size: var(--font-base);
}

.footer-bottom .divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
}

@media (min-width: 1024px) {
  .page-blog-detail .footer-main {
    min-height: auto;
    padding: 82px 0 66px;
  }

  .page-blog-detail .footer-brand {
    max-width: 460px;
  }
}

@media (max-width: 991px) {
  :root {
    --font-xxs: 0.75rem;
    --font-xs: 0.8125rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-md: 1.125rem;
    --font-lg: 1.25rem;
    --font-xl: 1.5rem;
    --font-2xl: 1.875rem;
    --font-3xl: 2.25rem;
  }
}

@media (max-width: 1660px) {
  .site-header {
    padding-block: 16px;
  }

  .header__logo {
    width: 180px;
  }

  .desktop-nav {
    gap: 28px;
  }

  .blog-hero {
    padding-top: 100px;
  }

  .blog-hero h1 {
    font-size: 80px;
  }

  .blog-hero__content > p {
    margin: 0.5rem 0 32px;
  }

  .blog-grid {
    margin-top: -24px;
  }

  .detail-toc,
  .detail-cta {
    max-width: 280px;
    flex-basis: 280px;
  }

  .section-title h2 {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 16px;
  }

  .footer-grid {
    column-gap: 72px;
  }
}

@media (min-width: 1024px) {
  .blog-detail-shell {
    width: 92%;
    padding: 130px 0 0;
  }

  .detail-toc,
  .detail-cta {
    position: sticky;
    top: 180px;
    display: block;
    max-width: 280px;
    flex: 0 0 280px;
    margin-top: 0;
  }

  .detail-hero-image {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1661px) {
  .detail-toc,
  .detail-cta {
    max-width: 320px;
    flex-basis: 320px;
  }
}

@media (max-width: 1023px) {
  .site-header {
    padding-block: 12px;
  }

  .desktop-nav,
  .header__actions,
  .pattern {
    display: none !important;
  }

  .header__logo {
    width: 200px;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    inset: 62px 16px auto;
    display: grid;
    max-height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 48px rgba(95, 90, 90, 0.12);
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, padding 180ms ease;
    backdrop-filter: blur(16px);
  }

  .mobile-nav.is-open {
    max-height: 520px;
    padding: 18px;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 12px 8px;
    font-size: var(--font-md);
    font-weight: 600;
  }

  .mobile-nav__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 10px;
  }

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

  .blog-detail-layout {
    flex-direction: column;
    width: 100%;
  }

  .blog-detail-article {
    width: 100%;
  }

  .detail-share {
    justify-content: center;
  }

  .share-buttons {
    justify-content: center;
  }

  .detail-cta {
    margin: 40px auto 0;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 42px;
  }

  .footer-links--compare {
    grid-column: auto;
  }

  .blog-body {
    padding-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .header__logo {
    width: 180px;
  }

  .blog-hero {
    padding-top: 110px;
    margin-bottom: 40px;
  }

  .pattern {
    display: none !important;
  }

  .blog-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .blog-hero__content > p {
    margin: 1.5rem 0 2rem;
    white-space: normal;
    font-size: var(--font-lg);
    line-height: 1.6;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: -48px;
  }

  .blog-detail-shell {
    padding-top: 72px;
    padding-inline: 16px;
  }

  .blog-detail-layout,
  .related-blogs {
    min-width: 0;
    
  }

  .detail-hero-image {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background-position: center;
    margin-inline: 0;
  }

  .detail-title-block {
    padding: 28px 0;
  }

  .detail-share {
    justify-content: center;
  }

  .share-buttons {
    justify-content: center;
  }

  .detail-cta {
    margin: 40px auto 0;
  }

  .detail-title-block h1 {
    max-width: 100%;
    margin-top: 4px;
    margin-bottom: 12px;
    font-size: var(--font-2xl);
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .detail-intro {
    margin-bottom: 40px;
    font-size: var(--font-md);
    line-height: 1.55;
  }

  .detail-main-image {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px;
    object-position: center;
  }

  .blog-body h2,
  .blog-body h3 {
    max-width: 100%;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-top: 3rem;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
  }

  .blog-body p,
  .blog-body ul,
  .blog-body ol,
  .blog-body blockquote,
  .blog-body div {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
  }

  .blog-body img,
  .blog-body .wp-block-image img,
  .blog-body figure img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 2rem 0;
    border-radius: 16px;
    object-fit: cover;
  }

  .blog-body figure {
    margin: 0 0 2rem;
  }

  .blog-body figcaption {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
  }

  .blog-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .blog-body pre,
  .blog-body code {
    white-space: pre-wrap;
    word-break: break-all;
    font-size: var(--font-sm);
  }

  .blog-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .related-blogs {
    margin-top: 60px;
  }

  .related-blogs > h2 {
    text-align: center;
    margin-bottom: 32px;
  }

  .related-blogs__grid {
    grid-template-columns: 1fr;
    max-width: 390px;
    margin-top: 0;
    margin-inline: auto;
  }

  .blog-card__image {
    aspect-ratio: 16 / 9;
  }

  .blog-card__body {
    padding: 16px;
  }

  .blog-card h2 {
    min-height: auto;
    font-size: var(--font-md);
    line-height: 1.5;
  }

  .tags {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .faq-section {
    padding-bottom: 40px;
  }

  .pattern--four {
    height: 1180px;
  }

  .section-title {
    margin: 60px auto 46px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .faq-list summary {
    padding-block: 20px;
  }

  .faq-cta {
    margin-top: 40px;
  }

  .faq-cta__button {
    min-width: 250px;
  }

  .footer-main {
    padding-block: 48px;
  }

  .page-blog-detail .footer-main {
    padding-block: 52px 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    width: 220px;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    min-height: 48px;
  }

}

@media (max-width: 480px) {
  .container {
    min-width: 0;
    padding-inline: 20px;
  }

  .header__logo {
    width: 150px;
  }

  .blog-hero h1 {
    font-size: 2.25rem;
  }

  .detail-title-block {
    padding: 24px 0;
  }

  .detail-title-block h1 {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .blog-body p {
    font-size: 1.125rem;
  }

  .footer-bottom {
    font-size: var(--font-sm);
    flex-direction: column;
    gap: 8px;
    padding-block: 16px;
  }

  .footer-bottom .divider {
    display: none;
  }
}

@media (max-width: 375px) {
  .blog-card article {
    min-width: 0;
  }
}
@media (max-width: 400px) {
  .header__logo {
    width: 140px;
  }

  .blog-hero__content h1 {
    font-size: var(--font-2xl);
  }

  .detail-title-block h1 {
    font-size: var(--font-xl);
  }
}

/* Author Card (Detail Page) */
.author-card {
  margin: 48px 0;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
  padding: 32px 0;
}

.author-card__link {
  display: flex;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.author-card__link:hover {
  opacity: 0.9;
}

.author-card__avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  padding: 2px;
}

.author-card__label {
  display: block;
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 4px;
}

.author-card__name {
  margin: 0 0 8px;
  font-size: var(--font-xl);
  color: var(--black);
}

.author-card__bio {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Author Profile (Author Page) */
.author-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 64px;
}

.author-profile__avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 24px;
  border: 4px solid #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.author-profile__label {
  font-size: var(--font-sm);
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  display: inline-block;
}

.author-profile__info h1 {
  margin: 8px 0 12px;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.author-profile__info p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--gray);
  line-height: 1.65;
  font-size: var(--font-lg);
}

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--gray);
  font-style: italic;
}

@media (max-width: 767px) {
  .author-card__link {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .author-profile {
    margin-bottom: 48px;
  }
  
  .author-profile__info h1 {
    font-size: 2.25rem;
  }

  .author-profile__job-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
}

/* --- Reading Progress Bar --- */
.reading-progress-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10;
  pointer-events: none;
}

.reading-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, #00d9ff, #1b5aff);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.4);
  transition: width 0.15s ease-out;
  border-radius: 0 4px 4px 0;
}

.reading-progress-label {
  position: absolute;
  top: 18px;
  right: 2.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(0, 217, 255, 0.15);
  color: #1b5aff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.reading-progress-label .percent {
  color: #00d9ff;
  margin-right: 2px;
}

.reading-progress-label::after {
  content: "read";
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  margin-left: 4px;
  text-transform: lowercase;
}

.reading-progress-label.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Sticky CTA --- */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 1000;
  display: none;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-sticky-cta.visible {
  display: block;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-sticky-cta .cta-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.mobile-sticky-cta h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.mobile-sticky-cta p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.mobile-sticky-cta .cta-btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(27, 90, 255, 0.2);
}

.mobile-sticky-cta .cta-btn:active {
  transform: scale(0.96);
  opacity: 0.9;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

/* --- Author Enhancements --- */
.author-profile__job-title {
  font-size: 1.375rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.author-profile__socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.author-profile__socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tag-bg);
  border-radius: 50%;
  color: var(--black);
  transition: all 0.2s ease;
}

.author-profile__socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Mobile Improvements --- */
@media (max-width: 767px) {
  .blog-body {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  
  .blog-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
  }
  
  .blog-body h2, .blog-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
  }

  .mobile-sticky-cta {
    display: block;
  }
  
  .reading-progress-label {
    right: 1.25rem;
    top: 8px;
    padding: 4px 10px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.9);
  }

  /* Accessibility: Touch Targets */
  .pagination a, 
  .pagination span, 
  .btn, 
  .share-pill, 
  .author-profile__socials a,
  .social-links a {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .header__actions .btn {
    min-width: 100px;
  }

  .tags span {
    padding: 8px 16px;
    font-size: var(--font-sm);
  }

  /* Spacing improvements */
  .related-blogs {
    margin-top: 4rem;
  }

  .author-card {
    margin: 4rem 0;
    padding: 2.5rem 0;
  }
}
