/* ════════════════════════════════
   Article — A2
   Professional Medical Editorial
   ════════════════════════════════ */

.blog-article {
  direction: rtl;
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 48px 0 96px;
  color: #1d1d1f;
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.blog-article *,
.blog-article *::before,
.blog-article *::after {
  box-sizing: border-box;
}


/* ─────────────────────────────
   Breadcrumb
   ───────────────────────────── */

.article-breadcrumb {
  width: min(860px, 100%);
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #86868b;
  font-size: 13px;
  line-height: 1.6;
}

.article-breadcrumb a {
  color: #6e6e73;
  text-decoration: none;
  transition: color .15s ease;
}

.article-breadcrumb a:hover {
  color: #994099;
}

.article-breadcrumb > span {
  color: #c7c7cc;
  user-select: none;
}


/* ─────────────────────────────
   Header
   ───────────────────────────── */

.blog-article__header {
  width: min(860px, 100%);
  margin: 0 auto;
}

.blog-article__category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(153, 64, 153, .08);
  color: #994099;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background .15s ease,
    color .15s ease;
}

.blog-article__category:hover {
  background: rgba(153, 64, 153, .14);
  color: #7f327f;
}

.blog-article__title {
  max-width: 840px;
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.blog-article__excerpt {
  max-width: 790px;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  color: #515154;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.9;
}


/* ─────────────────────────────
   Editorial Metadata
   ───────────────────────────── */

.article-meta {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #eeeeef;
}

.article-meta__authors,
.article-meta__reviewer {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 7px;
  font-size: 14px;
}

.article-meta__label {
  color: #86868b;
  font-weight: 400;
}

.article-meta__value {
  color: #1d1d1f;
  font-weight: 600;
}

.article-meta__reviewer .article-meta__value {
  color: #994099;
}

.article-meta__details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  color: #86868b;
  font-size: 13px;
}

.article-meta__details > span {
  display: inline-flex;
  align-items: center;
}

.article-meta__details time {
  margin-right: 4px;
}

.article-reading-time::before {
  content: "•";
  margin-left: 10px;
  color: #d2d2d7;
}


/* ─────────────────────────────
   Featured Image
   ───────────────────────────── */

.blog-article__hero {
  margin: 38px 0 0;
}

.blog-article__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  border-radius: 18px;
  background: #f5f5f7;
}


/* ─────────────────────────────
   Main Layout
   ───────────────────────────── */

.article-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 64px;
  margin-top: 58px;
}

/* RTL keeps the first item (TOC) on the right of the article. */
.article-toc--desktop {
  flex: 0 0 220px;
  min-width: 0;
  position: relative;
}

/* Keep the reading width independent of TOC visibility and content size. */
.article-main {
  flex: 0 1 760px;
  width: 100%;
  min-width: 0;
}

/* ─────────────────────────────
   Desktop TOC
   ───────────────────────────── */

.article-toc__inner {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-left: 10px;
  scrollbar-width: thin;
}

.article-toc__title {
  margin-bottom: 14px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 700;
}

.article-toc__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid #e5e5e7;
}

.article-toc__links a {
  display: block;
  padding: 7px 14px;
  border-right: 2px solid transparent;
  color: #86868b;
  font-size: 13px;
  line-height: 1.65;
  text-decoration: none;
  transition:
    color .15s ease,
    border-color .15s ease,
    background .15s ease;
}

.article-toc__links a:hover {
  border-right-color: #994099;
  background: rgba(153, 64, 153, .035);
  color: #1d1d1f;
}

.article-toc__links .article-toc__link--sub {
  padding-right: 28px;
  color: #a1a1a6;
  font-size: 12px;
}


/* ─────────────────────────────
   Mobile TOC
   ───────────────────────────── */

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

.article-toc[hidden] {
  display: none !important;
}


/* ─────────────────────────────
   Main Typography
   ───────────────────────────── */

.blog-article__body {
  min-width: 0;
  color: #353538;
  font-size: 17px;
  line-height: 2;
  overflow-wrap: break-word;
}

.blog-article__body > :first-child {
  margin-top: 0;
}

.blog-article__body > :last-child {
  margin-bottom: 0;
}

.blog-article__body p {
  margin: 18px 0;
  color: #353538;
}

.blog-article__body strong {
  color: #1d1d1f;
  font-weight: 700;
}

.blog-article__body a {
  color: #7e357e;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.blog-article__body a:hover {
  color: #994099;
}

.blog-article__body ul,
.blog-article__body ol {
  margin: 20px 0;
  padding-right: 25px;
}

.blog-article__body li {
  margin: 8px 0;
  padding-right: 3px;
  color: #353538;
}


/* ─────────────────────────────
   Headings
   ───────────────────────────── */

.blog-article__body h2,
.blog-article__body h3,
.blog-article__body h4 {
  scroll-margin-top: 120px;
}

.c-heading--h2 {
  margin: 58px 0 18px;
  color: #1d1d1f;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.c-heading--h3 {
  margin: 42px 0 14px;
  color: #29292c;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.c-heading--h4 {
  margin: 32px 0 12px;
  color: #515154;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}


/* ─────────────────────────────
   Article Images
   ───────────────────────────── */

.c-image {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 36px 0;
}

.c-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 14px;
  background: #f5f5f7;
  object-fit: contain;
}

.c-image--full {
  width: min(920px, calc(100vw - 64px));
  max-width: none;
  margin-right: 50%;
  transform: translateX(50%);
}

.c-image--full img {
  width: 100%;
}

.c-image__caption {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  margin-top: 10px;
  color: #86868b;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.c-image__credit {
  color: #a1a1a6;
}

/* ─────────────────────────────
   Quote
   ───────────────────────────── */

.c-quote {
  margin: 38px 0;
  padding: 12px 26px;
  border-right: 3px solid #994099;
}

.c-quote__text {
  margin: 0;
  color: #3a3a3f;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.9;
}

.c-quote__author {
  margin-top: 12px;
  color: #86868b;
  font-size: 12px;
  font-weight: 500;
}


/* ─────────────────────────────
   Medical Callout
   ───────────────────────────── */

.c-callout {
  margin: 30px 0;
  padding: 20px 22px;
  border: 1px solid #e5e5e7;
  border-radius: 14px;
  background: #f7f7f8;
}

.c-callout__title {
  margin: 0 0 8px;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 700;
}

.c-callout__body {
  color: #515154;
}

.c-callout__body > :first-child {
  margin-top: 0;
}

.c-callout__body > :last-child {
  margin-bottom: 0;
}

.c-callout--info {
  border-right: 4px solid #994099;
}

.c-callout--warning {
  border-right: 4px solid #d69d31;
  background: #fffaf0;
}

.c-callout--danger {
  border-right: 4px solid #c65c5c;
  background: #fff7f7;
}


/* ─────────────────────────────
   Tables
   ───────────────────────────── */

.blog-article__body table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  border-spacing: 0;
  border-collapse: collapse;
  border: 1px solid #e5e5e7;
  background: #fff;
}

.blog-article__body thead,
.blog-article__body tbody {
  width: 100%;
}

.blog-article__body th {
  min-width: 120px;
  padding: 13px 15px;
  border-bottom: 1px solid #d2d2d7;
  background: #f5f5f7;
  color: #515154;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.blog-article__body td {
  min-width: 120px;
  padding: 13px 15px;
  border-bottom: 1px solid #eeeeef;
  color: #3a3a3f;
  font-size: 14px;
  text-align: right;
}

.blog-article__body tr:last-child td {
  border-bottom: 0;
}


/* ─────────────────────────────
   FAQ
   ───────────────────────────── */

.c-faq {
  margin: 52px 0;
  padding-top: 8px;
}

.c-faq__title {
  margin: 0 0 18px;
  color: #1d1d1f;
  font-size: 25px;
  font-weight: 700;
}

.c-faq__item {
  padding: 0;
  border-bottom: 1px solid #e5e5e7;
}

.c-faq__item:first-of-type {
  border-top: 1px solid #e5e5e7;
}

.c-faq__q {
  position: relative;
  padding: 18px 0 18px 38px;
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  cursor: pointer;
  list-style: none;
}

.c-faq__q::-webkit-details-marker {
  display: none;
}

.c-faq__q::after {
  content: "+";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #86868b;
  font-size: 22px;
  font-weight: 300;
}

.c-faq__item[open] .c-faq__q::after {
  content: "−";
}

.c-faq__a {
  padding: 0 0 18px;
  color: #515154;
  font-size: 15px;
  line-height: 1.9;
}

.c-faq__a > :first-child {
  margin-top: 0;
}

.c-faq__a > :last-child {
  margin-bottom: 0;
}


/* ─────────────────────────────
   Divider
   ───────────────────────────── */

.c-divider {
  height: 1px;
  margin: 44px 0;
  border: 0;
  background: #e5e5e7;
}


/* ─────────────────────────────
   Product CTA
   ───────────────────────────── */
/* ─────────────────────────────
   Related Product — Premium
   ───────────────────────────── */

.c-related-product {
  position: relative;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  column-gap: 30px;
  row-gap: 22px;
  align-items: center;

  margin: 42px 0;
  padding: 26px;

  overflow: hidden;
  isolation: isolate;

  border: 1px solid rgba(153, 64, 153, 0.12);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(153, 64, 153, 0.055),
      transparent 34%
    ),
    #ffffff;

  color: #222222;

  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 12px 38px rgba(34, 34, 34, 0.055);

  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}


/* Accent */

.c-related-product::before {
  content: "";
  position: absolute;

  inset-inline-start: 0;
  top: 30px;
  bottom: 30px;

  width: 3px;

  border-radius: 999px;

  background: #994099;

  opacity: 0.7;
}


/* Product image */

.c-related-product__media {
  grid-column: 1;
  grid-row: 1 / 3;

  display: grid;
  place-items: center;

  width: 156px;
  height: 156px;

  padding: 14px;
  box-sizing: border-box;

  border: 1px solid rgba(34, 34, 34, 0.045);
  border-radius: 20px;

  background: linear-gradient(
    145deg,
    #fafafd 0%,
    #f3f4f7 100%
  );
}


.c-related-product__image {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 0;

  object-fit: contain;

  filter: drop-shadow(
    0 8px 13px rgba(34, 34, 34, 0.08)
  );
}


/* Content */

.c-related-product__content {
  grid-column: 2;

  min-width: 0;

  overflow-wrap: anywhere;
}


.c-related-product__eyebrow {
  display: inline-flex;
  align-items: center;

  margin: 0 0 7px;

  color: #994099;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
}


.c-related-product__eyebrow::before {
  content: "";

  width: 6px;
  height: 6px;

  margin-inline-end: 7px;

  border-radius: 50%;

  background: #994099;

  opacity: 0.8;
}


.c-related-product__title {
  display: -webkit-box;

  margin: 0;

  overflow: hidden;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  color: #222222;

  font-size: 19px;
  font-weight: 700;
  line-height: 1.75;

  overflow-wrap: anywhere;
}


.c-related-product__note {
  display: -webkit-box;

  margin: 7px 0 0;

  overflow: hidden;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  color: #74747b;

  font-size: 13px;
  line-height: 1.9;
}


/* Footer */

.c-related-product__footer {
  grid-column: 2;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 14px 20px;

  min-width: 0;
}


.c-related-product__price-wrap {
  display: flex;
  flex-direction: column;

  gap: 2px;
}


.c-related-product__price-label {
  color: #9a9aa1;

  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}


.c-related-product__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;

  gap: 6px;

  margin: 0;

  color: #222222;

  line-height: 1.5;
}


.c-related-product__amount {
  font-size: 18px;
  font-weight: 700;

  font-variant-numeric: tabular-nums;
}


.c-related-product__currency {
  color: #77777f;

  font-size: 11px;
  font-weight: 500;
}


/* CTA */

.c-related-product__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 46px;

  padding: 9px 12px 9px 16px;

  box-sizing: border-box;

  border-radius: 14px;

  background: #994099;

  color: #ffffff !important;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;

  text-decoration: none !important;

  box-shadow:
    0 5px 14px rgba(153, 64, 153, 0.18);

  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}


.c-related-product__button-icon {
  display: grid;
  place-items: center;

  width: 28px;
  height: 28px;

  flex: 0 0 28px;

  border-radius: 9px;

  background: rgba(255, 255, 255, 0.14);

  font-size: 16px;
  line-height: 1;
}


/* Product without image */

.c-related-product--no-image {
  grid-template-columns: minmax(0, 1fr);
}


.c-related-product--no-image .c-related-product__content,
.c-related-product--no-image .c-related-product__footer {
  grid-column: 1;
}


/* Backward compatible fallback
   for markup that has no --no-image class */

.c-related-product > .c-related-product__content:first-child,
.c-related-product > .c-related-product__content:first-child
  + .c-related-product__footer {
  grid-column: 1 / -1;
}


/* Desktop hover */

@media (hover: hover) and (pointer: fine) {

  .c-related-product:hover {
    transform: translateY(-2px);

    border-color: rgba(153, 64, 153, 0.2);

    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.025),
      0 18px 48px rgba(34, 34, 34, 0.085);
  }


  .c-related-product__button:hover {
    transform: translateY(-1px);

    background: #873887;

    color: #ffffff !important;

    box-shadow:
      0 7px 18px rgba(153, 64, 153, 0.24);
  }

}


/* Keyboard accessibility */

.c-related-product__button:focus-visible {
  outline: 3px solid rgba(153, 64, 153, 0.3);
  outline-offset: 4px;
}


/* Mobile */

@media (max-width: 600px) {

  .c-related-product {
    grid-template-columns: 92px minmax(0, 1fr);

    column-gap: 16px;
    row-gap: 18px;

    margin: 30px 0;
    padding: 17px;

    border-radius: 20px;
  }


  .c-related-product::before {
    top: 20px;
    bottom: 20px;
  }


  .c-related-product__media {
    grid-row: 1;

    width: 92px;
    height: 100px;

    padding: 9px;

    border-radius: 15px;
  }


  .c-related-product__eyebrow {
    margin-bottom: 4px;

    font-size: 10px;
  }


  .c-related-product__title {
    font-size: 15px;
    line-height: 1.8;
  }


  .c-related-product__note {
    margin-top: 4px;

    font-size: 11.5px;
    line-height: 1.8;
  }


  .c-related-product__footer {
    grid-column: 1 / -1;

    align-items: center;

    gap: 14px;

    padding-top: 3px;
  }


  .c-related-product__amount {
    font-size: 16px;
  }


  .c-related-product__button {
    min-height: 44px;

    padding: 8px 10px 8px 14px;

    border-radius: 13px;

    font-size: 12px;
  }


  .c-related-product__button-icon {
    width: 25px;
    height: 25px;

    flex-basis: 25px;

    border-radius: 8px;
  }


  .c-related-product--no-image {
    grid-template-columns: minmax(0, 1fr);
  }

}


/* Small phones */

@media (max-width: 380px) {

  .c-related-product {
    grid-template-columns: 78px minmax(0, 1fr);

    column-gap: 13px;

    padding: 15px;
  }


  .c-related-product__media {
    width: 78px;
    height: 86px;
  }


  .c-related-product__footer {
    flex-direction: column;
    align-items: stretch;
  }


  .c-related-product__button {
    width: 100%;
  }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

  .c-related-product,
  .c-related-product__button {
    transition: none;
  }


  .c-related-product:hover,
  .c-related-product__button:hover {
    transform: none;
  }

}


/* ─────────────────────────────
   Legacy Product CTA
   Kept only for old content
   ───────────────────────────── */

.c-product-cta {
  margin: 38px 0;
  padding: 22px;

  border: 1px solid #e5e5e7;
  border-radius: 16px;

  background: #ffffff;
}


.c-product-cta__inner {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);

  gap: 20px;

  align-items: center;
}


.c-product-cta__image {
  display: block;

  width: 100px;
  height: 100px;

  object-fit: contain;

  border-radius: 12px;

  background: #f5f5f7;
}


.c-product-cta__title {
  margin: 0;

  color: #1d1d1f;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}


.c-product-cta__note {
  margin: 5px 0 0;

  color: #6e6e73;

  font-size: 13px;
  line-height: 1.7;
}


.c-product-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 12px;
  padding: 9px 18px;

  border-radius: 999px;

  background: #994099;

  color: #ffffff !important;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;

  text-decoration: none !important;

  transition: background-color 150ms ease;
}


.c-product-cta__btn:hover {
  background: #803580;

  color: #ffffff !important;
}


/* ─────────────────────────────
   References
   ───────────────────────────── */

.c-references {
  margin: 56px 0 36px;
  padding: 26px;

  border: 1px solid #eeeeef;
  border-radius: 16px;

  background: #f7f7f8;
}


.c-references h2 {
  margin: 0 0 18px;

  color: #1d1d1f;

  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
}


.c-references ol {
  margin: 0;
  padding-right: 24px;
}


.c-references li {
  margin: 11px 0;

  color: #515154;

  font-size: 13px;
  line-height: 1.9;
}


.c-references a {
  overflow-wrap: anywhere;
}


.c-references__source,
.c-references__year {
  color: #86868b;
}

/* ─────────────────────────────
   Tags
   ───────────────────────────── */

.article-tags {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e7;
}

.article-tags__label {
  display: block;
  margin-bottom: 12px;
  color: #86868b;
  font-size: 12px;
}

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

.article-tags__items span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #515154;
  font-size: 12px;
}


/* ════════════════════════════════
   Responsive — Tablet (≤ 1100px)
   Blog Index + Article
   ════════════════════════════════ */

@media (max-width: 1100px) {

  /* Article */
  .blog-article {
    width: min(860px, calc(100% - 40px));
  }

  .article-layout {
    display: block;
    margin-top: 42px;
  }

  .c-image--full {
    width: 100%;
    margin-right: 0;
    transform: none;
  }

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

  .article-toc--mobile {
    display: block;
    margin: 0 0 34px;
    overflow: hidden;
    border: 1px solid #e5e5e7;
    border-radius: 14px;
    background: #fafafa;
  }

  .article-toc--mobile summary {
    padding: 16px 18px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .article-toc--mobile .article-toc__links {
    padding: 0 18px 16px;
    border-right: 0;
  }

  .article-toc--mobile .article-toc__links a {
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid #eeeeef;
  }

  .article-toc--mobile .article-toc__links a:last-child {
    border-bottom: 0;
  }

  .article-toc--mobile .article-toc__link--sub {
    padding-right: 20px;
  }
}


/* ════════════════════════════════
   Responsive — Mobile (≤ 640px)
   Blog Index + Article
   ════════════════════════════════ */

@media (max-width: 640px) {

  /* Article */
  .blog-article {
    width: 100%;
    padding: 30px 20px 64px;
    font-size: 16px;
  }

  .article-breadcrumb {
    margin-bottom: 28px;
    gap: 6px;
    font-size: 12px;
  }

  .blog-article__category {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .blog-article__title {
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: -0.015em;
  }

  .blog-article__excerpt {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.85;
  }

  .article-meta {
    margin-top: 24px;
    padding-top: 18px;
  }

  .article-meta__authors,
  .article-meta__reviewer {
    font-size: 13px;
  }

  .article-meta__details {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
  }

  .article-reading-time::before {
    display: none;
  }

  .blog-article__hero {
    margin-top: 28px;
  }

  .blog-article__hero img {
    max-height: none;
    border-radius: 12px;
  }

  .article-layout {
    margin-top: 34px;
  }

  .article-toc--mobile {
    margin-bottom: 28px;
    border-radius: 12px;
  }

  .blog-article__body {
    font-size: 16px;
    line-height: 2;
  }

  .c-heading--h2 {
    margin-top: 46px;
    font-size: 24px;
    line-height: 1.55;
  }

  .c-heading--h3 {
    margin-top: 34px;
    font-size: 20px;
  }

  .c-heading--h4 {
    margin-top: 28px;
    font-size: 17px;
  }

  .c-image {
    margin: 28px 0;
  }

  .c-image img {
    border-radius: 11px;
  }

  .c-callout {
    margin: 26px 0;
    padding: 18px;
    border-radius: 12px;
  }

  .c-quote {
    margin: 30px 0;
    padding: 8px 18px;
  }

  .c-quote__text {
    font-size: 18px;
  }

  .c-faq {
    margin: 42px 0;
  }

  .c-faq__title {
    font-size: 22px;
  }

  .c-faq__q {
    padding: 16px 0 16px 34px;
    font-size: 15px;
  }

  .c-product-cta {
    padding: 18px;
    border-radius: 14px;
  }

  .c-product-cta__inner {
    grid-template-columns: 78px 1fr;
    gap: 14px;
  }

  .c-product-cta__image {
    width: 78px;
    height: 78px;
  }

  .c-product-cta__title {
    font-size: 15px;
  }

  .c-references {
    margin-top: 46px;
    padding: 20px;
    border-radius: 14px;
  }

  .c-references h2 {
    font-size: 19px;
  }

  .article-tags {
    margin-top: 44px;
  }
}

/* Magazine listings: scoped to preserve article and storefront styles. */
.blog-page { direction: rtl; background: #fff; color: #222; line-height: 1.9; padding-bottom: 48px; }
.blog-page *, .blog-page *::before, .blog-page *::after { box-sizing: border-box; }
.blog-page .blog-container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.blog-page a { color: inherit; text-underline-offset: 5px; }
.blog-page a:hover { color: #994099; }
.blog-page a:focus-visible { outline: 2px solid #994099; outline-offset: 4px; border-radius: 4px; }
.blog-page h1, .blog-page h2, .blog-page h3 { color: #222; overflow-wrap: anywhere; }
.blog-page .blog-header { padding: 32px 0 28px; background: #f5f6f8; border-bottom: 1px solid #e9eaed; }
.blog-page .blog-header__layout { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.blog-page .blog-header__layout > div { min-width: 0; }
.blog-page .blog-eyebrow { display: block; color: #7b347b; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.blog-page h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.5; margin: 0 0 10px; }
.blog-page .blog-header__intro { max-width: 720px; color: #565962; font-size: 16px; }
.blog-page .blog-header__intro p { margin: 0; }
.blog-page .blog-header__category-cover { width: 35%; max-height: 220px; object-fit: cover; border-radius: 12px; }
.blog-page .blog-breadcrumb { font-size: 12px; color: #565962; margin-bottom: 16px; }
.blog-page .blog-category-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 4px; }
.blog-page .blog-category-nav a { flex-shrink: 0; padding: 7px 16px; border: 1px solid #e2e3e7; border-radius: 999px; font-size: 13px; text-decoration: none; }
.blog-page .blog-category-nav a[aria-current] { background: #f7eff7; border-color: #994099; color: #713071; font-weight: 600; }
.blog-page .blog-featured { padding-top: 8px; }
.blog-page .blog-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #e5e6e9; border-radius: 14px; overflow: hidden; background: #fff; }
.blog-page .blog-card-image { display: block; aspect-ratio: 3/2; background: #f5f6f8; text-decoration: none; }
.blog-page .blog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-page .blog-image-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #747780; font-size: 20px; letter-spacing: 2px; }
.blog-page .blog-image-fallback span { font-size: 12px; letter-spacing: 0; }
.blog-page .blog-card-content { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-page .blog-card-cat { color: #7b347b; font-size: 12px; text-decoration: none; align-self: flex-start; }
.blog-page .blog-card h2, .blog-page .blog-card h3 { margin: 8px 0 12px; line-height: 1.65; font-size: 20px; }
.blog-page .blog-card h2 a, .blog-page .blog-card h3 a { text-decoration: none; }
.blog-page .blog-card-excerpt { font-size: 14px; color: #565962; margin: 0 0 22px; }
.blog-page .blog-card-footer { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: auto; font-size: 12px; }
.blog-page .blog-card-footer time { color: #62656d; }
.blog-page .blog-card-footer a { color: #7b347b; }
.blog-page .blog-card--featured { display: grid; grid-template-columns: 1.1fr 1fr; background: #f8f9fa; }
.blog-page .blog-card--featured .blog-card-content { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.blog-page .blog-card--featured h2 { font-size: clamp(22px, 2.3vw, 30px); }
.blog-page .blog-card--featured .blog-card-image { height: 100%; }
.blog-page .blog-card--featured .blog-card-footer { margin-top: 12px; }
.blog-page .blog-list-section { padding: 32px 0; }
.blog-page .blog-section-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.blog-page .blog-section-title h2 { font-size: 22px; margin: 0; }
.blog-page .blog-section-title > span, .blog-page .blog-section-title > a { font-size: 13px; color: #62656d; }
.blog-page .blog-grid, .blog-page .blog-topics-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.blog-page .blog-empty { background: #f5f6f8; border: 1px solid #e5e6e9; border-radius: 12px; padding: 24px; font-size: 15px; }
.blog-page .blog-empty p { margin: 0 0 8px; }
.blog-page .blog-empty a { color: #7b347b; font-size: 13px; }
.blog-page .blog-list-note { color: #62656d; font-size: 14px; }
.blog-page .blog-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; font-size: 14px; }
.blog-page .blog-pagination a { padding: 8px 18px; border: 1px solid #e2e3e7; border-radius: 8px; }
.blog-page .blog-topics { padding: 24px 0; border-top: 1px solid #e5e6e9; }
.blog-page .blog-topic-card { min-width: 0; border: 1px solid #e5e6e9; border-radius: 12px; overflow: hidden; }
.blog-page .blog-topic-card > img { display: block; width: 100%; height: auto; aspect-ratio: 2/1; object-fit: cover; }
.blog-page .blog-topic-placeholder { background: #f5f6f8; padding: 22px; color: #747780; font-size: 11px; letter-spacing: 1px; border-bottom: 1px solid #e5e6e9; }
.blog-page .blog-topic-content { padding: 20px; }
.blog-page .blog-topic-count { color: #62656d; font-size: 12px; }
.blog-page .blog-topic-card h2, .blog-page .blog-topic-card h3 { font-size: 19px; margin: 6px 0; }
.blog-page .blog-topic-card h2 a, .blog-page .blog-topic-card h3 a { text-decoration: none; }
.blog-page .blog-topic-card p { color: #565962; font-size: 14px; margin: 8px 0 16px; }
.blog-page .blog-topic-cta { color: #7b347b; font-size: 13px; }
.blog-page .blog-category-seo { max-width: 820px; margin: 16px auto; padding: 28px 0; border-top: 1px solid #e5e6e9; line-height: 2.1; overflow-wrap: anywhere; }
.blog-page .blog-category-seo h2 { font-size: 24px; line-height: 1.6; }
.blog-page .blog-category-seo h3 { font-size: 20px; line-height: 1.7; }
.blog-page .blog-category-seo a { color: #7b347b; text-decoration: underline; }
@media (max-width: 1000px) {
  .blog-page .blog-grid, .blog-page .blog-topics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .blog-page .blog-container { width: calc(100% - 32px); }
  .blog-page .blog-header { padding: 24px 0; }
  .blog-page .blog-header__layout { flex-direction: column; align-items: stretch; gap: 20px; }
  .blog-page .blog-header__category-cover { width: 100%; max-height: 180px; }
  .blog-page .blog-header__intro { font-size: 14px; }
  .blog-page .blog-category-nav { flex-wrap: nowrap; overflow-x: auto; padding-block: 18px; }
  .blog-page .blog-grid, .blog-page .blog-topics-grid, .blog-page .blog-card--featured { grid-template-columns: minmax(0,1fr); }
  .blog-page .blog-section-title h2 { font-size: 20px; }
}
