:root {
    --article-primary: #2563eb;
    --article-primary-soft: #eff6ff;
    --article-text: #1e293b;
    --article-muted: #64748b;
    --article-border: #dbe4f0;
}

.article-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.article-admin-toolbar {
    width: min(1120px, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--article-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.article-admin-toolbar span {
    color: var(--article-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.article-admin-toolbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--article-primary);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.article-admin-toolbar a:hover,
.article-admin-toolbar a:focus-visible {
    background: #1d4ed8;
    text-decoration: none;
}

.article-admin-toolbar__link--neutral {
    background: #1e293b !important;
}

.article-archive,
.article-detail {
    padding: 32px 0 56px;
    color: #16211f;
    background: #f8faf9;
}

.article-archive__header,
.article-hero {
    margin-bottom: 24px;
}

.article-archive__header h1,
.article-hero h1 {
    margin: 8px 0 12px;
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.article-archive__header p,
.article-answer {
    max-width: 760px;
    color: #41514d;
    font-size: 1.06rem;
    line-height: 1.8;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #64736f;
    font-size: 0.92rem;
}

.article-breadcrumb a,
.article-card a,
.article-sidebar a,
.article-sources a {
    color: #0f6b63;
    text-decoration: none;
}

.article-breadcrumb a:hover,
.article-card a:hover,
.article-sidebar a:hover,
.article-sources a:hover {
    text-decoration: underline;
}

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

.article-card {
    overflow: hidden;
    border: 1px solid #dfe7e4;
    border-radius: 8px;
    background: #fff;
}

.article-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #e9efec;
}

.article-card__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.article-featured-image picture {
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #e9efec;
}

.article-card__media img,
.article-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__body {
    padding: 18px;
}

.article-card__meta,
.article-card__footer,
.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #64736f;
    font-size: 0.9rem;
}

.article-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.article-card__tags a {
    border: 1px solid #dfe7e4;
    border-radius: 999px;
    padding: 2px 8px;
    color: #0f6b63;
    font-size: 0.82rem;
    text-decoration: none;
}

.article-card__tags a:hover {
    text-decoration: underline;
}

.article-card h2 {
    margin: 10px 0;
    font-size: 1.22rem;
    line-height: 1.35;
    letter-spacing: 0;
}

.article-card p,
.article-content,
.article-sources,
.article-faq,
.article-assets,
.article-trust,
.article-sidebar {
    line-height: 1.8;
}

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

.article-main,
.article-sidebar section,
.article-trust,
.article-assets,
.article-sources,
.article-faq,
.article-cta {
    border: 1px solid #dfe7e4;
    border-radius: 8px;
    background: #fff;
}

.article-main {
    padding: 28px;
}

.article-kicker {
    margin: 0;
    color: #0f6b63;
    font-weight: 700;
}

.article-featured-image {
    margin: 24px 0;
}

.article-featured-image figcaption {
    padding: 8px 0 0;
    color: #64736f;
    font-size: 0.88rem;
}

.article-content {
    font-size: 1.06rem;
}

.article-toc {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #dfe7e4;
    border-radius: 8px;
    background: #fff;
}

.article-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0;
}

.article-toc__summary::-webkit-details-marker {
    display: none;
}

.article-toc__summary::after {
    content: "⌄";
    font-size: 1rem;
    transition: transform 0.18s ease;
}

.article-toc[open] .article-toc__summary::after {
    transform: rotate(180deg);
}

.article-toc ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-inline-start: 20px;
}

.article-toc a {
    color: #0f6b63;
    text-decoration: none;
}

.article-toc a:hover {
    text-decoration: underline;
}

.article-toc__item--h3 {
    margin-inline-start: 18px;
}

.article-content-block {
    margin: 0 0 24px;
}

.article-content-block:last-child {
    margin-bottom: 0;
}

.article-content-block > h2 {
    margin: 0 0 12px;
}

.article-product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #e9efec;
}

.article-product-card__body {
    padding: 16px;
}

.article-product-card__body h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    letter-spacing: 0;
}

.article-product-card__price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin: 8px 0 12px;
    color: #123833;
    font-weight: 700;
}

.article-product-card__price-old {
    color: #7b8783;
    font-size: 0.92rem;
    font-weight: 400;
    text-decoration: line-through;
}

.article-product-card__button,
.article-block-cta a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 6px;
    background: #0f6b63;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.article-block-cta {
    padding: 18px;
    border-radius: 8px;
    background: #eef7f4;
}

.article-block-cta--medical {
    border: 1px solid #b8e4dd;
    background: #f1fffb;
}

.article-block-cta--secondary,
.article-block-cta--subtle {
    background: #f6f8fb;
}

.article-related-list {
    margin: 0;
    padding-inline-start: 20px;
}

.article-content h2,
.article-content h3,
.article-assets h2,
.article-sources h2,
.article-faq h2,
.article-trust h2,
.article-sidebar h2 {
    margin-top: 0;
    letter-spacing: 0;
}

.article-trust,
.article-assets,
.article-sources,
.article-faq,
.article-cta {
    margin: 24px 0;
    padding: 18px;
}

.article-trust {
    border-color: #c9dfda;
    background: #f2fbf8;
}

.article-trust__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.article-trust__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #9bd7c8;
    border-radius: 999px;
    background: #e5f8f2;
    color: #12604d;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.article-trust__warning {
    border-inline-start: 3px solid #d97706;
    padding-inline-start: 10px;
    color: #8a4b0a;
}

.article-trust__gates {
    margin: 10px 0 0;
    padding-inline-start: 18px;
    color: #475569;
    font-size: 0.92rem;
}

.article-faq details {
    border-top: 1px solid #dfe7e4;
    padding: 12px 0;
}

.article-faq summary {
    cursor: pointer;
    font-weight: 700;
}

.article-cta {
    background: #123833;
    color: #fff;
}

.article-cta a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    background: #f3c84b;
    color: #18211e;
    font-weight: 700;
    text-decoration: none;
}

.article-sidebar {
    display: grid;
    gap: 16px;
}

.article-sidebar section {
    padding: 18px;
}

.article-sidebar dl {
    display: grid;
    gap: 6px;
}

.article-sidebar dt {
    color: #64736f;
    font-size: 0.85rem;
}

.article-sidebar dd {
    margin: 0 0 10px;
}

.article-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.article-pagination a,
.article-pagination span {
    border: 1px solid #dfe7e4;
    border-radius: 6px;
    padding: 8px 12px;
    background: #fff;
    color: #16211f;
    text-decoration: none;
}

.article-empty {
    padding: 18px;
    border: 1px solid #dfe7e4;
    border-radius: 8px;
    background: #fff;
}

@media (max-width: 920px) {
    .article-grid,
    .article-product-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        order: 2;
    }
}

@media (max-width: 560px) {
    .article-shell {
        width: min(100% - 20px, 1120px);
    }

    .article-archive,
    .article-detail {
        padding-top: 20px;
    }

    .article-main {
        padding: 18px;
    }

    .article-archive__header h1,
    .article-hero h1 {
        font-size: 2rem;
    }
}

/* Article detail visual system based on the editorial clinic reference. */
.article-detail {
    padding: 18px 0 58px;
    background: #fff;
    color: #15233f;
    --article-blue: var(--article-primary);
    --article-soft-blue: var(--article-primary-soft);
    --article-green: #2fae8f;
    --article-green-dark: #16866b;
}

.article-detail .article-shell {
    width: min(1280px, calc(100% - 34px));
}

.article-detail .article-breadcrumb {
    justify-content: flex-start;
    margin: 4px 0 18px;
    color: #71819d;
    font-size: 0.86rem;
}

.article-detail .article-breadcrumb a {
    color: #58729f;
}

.article-detail .article-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.98fr) minmax(0, 1.02fr);
    align-items: stretch;
    direction: ltr;
    overflow: hidden;
    min-height: 318px;
    margin: 0 0 30px;
    border: 1px solid var(--article-border);
    border-radius: 16px;
    background: linear-gradient(90deg, #f7fbff 0%, #f2f7ff 100%);
    box-shadow: 0 18px 44px rgba(49, 95, 157, 0.07);
}

.article-hero__media {
    position: relative;
    min-height: 318px;
}

.article-hero__media picture,
.article-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.article-hero__media img {
    object-fit: cover;
}

.article-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    direction: rtl;
    padding: 38px 42px;
}

.article-category-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(47, 174, 143, 0.38);
    background: #effaf6;
    color: var(--article-green-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.article-detail .article-hero h1 {
    margin: 18px 0 14px;
    color: #15233f;
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.35;
}

.article-detail .article-answer {
    max-width: 620px;
    margin: 0;
    color: #4c5c76;
    font-size: 1rem;
    line-height: 2;
}

.article-hero__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    margin-top: 22px;
    padding: 0 20px;
    border-radius: 10px;
    background: var(--article-green);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 24px rgba(47, 174, 143, 0.22);
}

.article-hero__cta:hover {
    background: var(--article-green-dark);
    text-decoration: none;
}

.article-hero__cta svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.article-detail .article-byline {
    gap: 10px;
    margin-top: 20px;
    color: #61718d;
    font-size: 0.9rem;
}

.article-detail .article-byline span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #e7eefb;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.article-detail .article-byline svg {
    width: 18px;
    height: 18px;
    color: #4f7de6;
    fill: currentColor;
}

.article-detail .article-layout {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    grid-template-areas: "sidebar main";
    gap: 34px;
    align-items: start;
    direction: ltr;
}

.article-detail .article-sidebar {
    grid-area: sidebar;
    position: sticky;
    top: 16px;
    display: grid;
    direction: rtl;
    gap: 18px;
}

.article-detail .article-main {
    grid-area: main;
    min-width: 0;
    direction: rtl;
    padding: 0;
    border: 0;
    background: transparent;
}

.article-detail .article-sidebar section,
.article-detail .article-sidebar .article-toc,
.article-detail .article-trust,
.article-detail .article-assets,
.article-detail .article-sources,
.article-detail .article-faq,
.article-detail .article-related-cards {
    border: 1px solid var(--article-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(33, 72, 132, 0.06);
}

.article-author-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
}

.article-author-card img {
    width: 74px;
    height: 74px;
    border-radius: 14px;
    object-fit: cover;
}

.article-author-card h2,
.article-side-cta h2,
.article-side-related h2,
.article-detail .article-toc__summary {
    margin: 0;
    color: var(--article-blue);
    font-size: 1.02rem;
    font-weight: 900;
}

.article-author-card p,
.article-author-card span,
.article-side-cta p {
    margin: 4px 0 0;
    color: #66758f;
    font-size: 0.84rem;
    line-height: 1.8;
}

.article-author-card > a {
    grid-column: 1 / -1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    margin-top: 8px;
    border: 1px solid #dbe7fb;
    border-radius: 10px;
    color: #245aa5;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.article-detail .article-toc {
    margin: 0;
    padding: 20px 18px;
}

.article-detail .article-toc[data-toc-variant="mobile"] {
    display: none;
}

.article-detail .article-toc__summary {
    margin-bottom: 14px;
}

.article-detail .article-toc ol {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 0;
    list-style: none;
}

.article-detail .article-toc a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #42536f;
    font-size: 0.88rem;
    line-height: 1.7;
}

.article-detail .article-toc a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #70a1ff;
    box-shadow: 0 0 0 4px #edf4ff;
}

.article-side-cta {
    overflow: hidden;
    padding: 0 16px 16px;
    text-align: center;
    background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%) !important;
}

.article-side-cta img {
    display: block;
    width: calc(100% + 32px);
    height: 120px;
    margin: 0 -16px 14px;
    object-fit: cover;
}

.article-side-cta a,
.article-bottom-cta a,
.article-callout-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: #4f7de6;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(79, 125, 230, 0.22);
}

.article-side-related {
    padding: 16px;
}

.article-side-related__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.article-side-related__head a {
    color: #4f7de6;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.article-side-related ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-side-related a {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: center;
    color: #23324c;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.7;
    text-decoration: none;
}

.article-side-related img {
    width: 72px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.article-topic-links {
    padding: 16px;
}

.article-topic-links h2 {
    margin: 0 0 12px;
    color: var(--article-blue);
    font-size: 1.02rem;
    font-weight: 900;
}

.article-topic-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-topic-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #dbe7fb;
    border-radius: 999px;
    background: #f4f8ff;
    color: #245aa5;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.article-topic-links a:hover,
.article-topic-links a:focus-visible {
    border-color: #9bbaf5;
    background: #eaf2ff;
    text-decoration: none;
}

.article-content {
    color: #26334a;
    font-size: 1.04rem;
    line-height: 2.15;
}

.article-content-block {
    margin: 0 0 34px;
}

.article-rich-text {
    color: #26334a;
}

.article-rich-text--lead .article-rich-text__body > p:first-child {
    color: #1f3b64;
    font-size: 1.12rem;
    font-weight: 700;
}

.article-rich-text--note,
.article-rich-text--callout,
.article-rich-text--medical {
    padding: 16px 18px;
    border: 1px solid #dbe7fb;
    border-left: 4px solid #2f80ed;
    border-radius: 10px;
    background: #f8fbff;
}

.article-rich-text--medical {
    border-left-color: #14b8a6;
    background: #f4fffc;
}

.article-rich-text--align-center {
    text-align: center;
}

.article-rich-text--align-end {
    text-align: end;
}

.article-rich-text__subtitle,
.article-rich-text__reading-time {
    display: block;
    margin: 0 0 10px;
    color: #61718d;
    font-size: 0.95rem;
    line-height: 1.8;
}

.article-rich-text__reading-time {
    color: #6b7280;
    font-size: 0.86rem;
    font-weight: 800;
}

.article-medical-disclaimer,
.article-doctor-note,
.article-service-summary {
    display: grid;
    gap: 10px;
    margin: 20px 0;
    padding: 18px;
    border: 1px solid #dbe7fb;
    border-radius: 10px;
    background: #f8fbff;
}

.article-medical-disclaimer {
    grid-template-columns: auto 1fr;
    border-left: 4px solid #14b8a6;
}

.article-medical-disclaimer--critical {
    border-left-color: #dc2626;
    background: #fff7f7;
}

.article-medical-disclaimer__icon,
.article-callout-banner__icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 900;
}

.article-doctor-note {
    border-left: 4px solid #2f80ed;
}

.article-doctor-note__byline {
    margin: -4px 0 8px;
    color: #64738d;
    font-size: 0.9rem;
    font-weight: 800;
}

.article-service-summary div {
    padding-top: 10px;
    border-top: 1px solid #e5eefb;
}

.article-service-summary a {
    display: inline-flex;
    width: fit-content;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border-radius: 6px;
    background: #0f6b63;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.article-content-block > h2,
.article-content h2,
.article-content h3,
.article-assets h2,
.article-sources h2,
.article-faq h2,
.article-related-cards h2 {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 14px;
    color: var(--article-blue);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.45;
}

.article-content-block > h2::after,
.article-content h2::after,
.article-assets h2::after,
.article-sources h2::after,
.article-faq h2::after,
.article-related-cards h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dce9ff);
}

.article-template-intro {
    margin: -4px 0 18px;
    color: #61718d;
    font-size: 0.96rem;
    line-height: 2;
}

.article-template-grid,
.article-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.article-template-card,
.article-product-card {
    min-height: 154px;
    padding: 22px 16px 18px;
    border: 1px solid var(--article-border);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 24px rgba(33, 72, 132, 0.05);
}

.article-template-card svg,
.article-option-card svg {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    color: #6c8cf1;
}

.article-template-card h3,
.article-option-card h3,
.article-checklist-card h3,
.article-product-card__body h3,
.article-related-card h3 {
    margin: 0 0 8px;
    color: var(--article-blue);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.55;
}

.article-template-card p,
.article-option-card p,
.article-related-card p {
    margin: 0;
    color: #64738d;
    font-size: 0.88rem;
    line-height: 1.85;
}

.article-template-card span {
    display: inline-flex;
    margin-top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f6ff;
    color: #4f7de6;
    font-size: 0.78rem;
    font-weight: 800;
}

.article-option-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(90deg, #eaf4ff, #f4f9ff);
}

.article-option-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.article-option-card svg {
    width: 34px;
    height: 34px;
    margin: 0;
}

.article-before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.article-before-after {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--article-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(33, 72, 132, 0.05);
}

.article-before-after div {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    aspect-ratio: 2.8 / 1;
}

.article-before-after div::after {
    content: "";
    position: absolute;
    inset-block: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.9);
}

.article-before-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-before-after figcaption {
    padding: 10px 14px;
    color: #61718d;
    font-size: 0.86rem;
    font-weight: 800;
}

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

.article-checklist-card {
    padding: 20px;
    border: 1px solid var(--article-border);
    border-radius: 14px;
    background: #fbfdff;
}

.article-checklist-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-checklist-card li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    align-items: start;
    color: #40516f;
    font-size: 0.94rem;
    line-height: 1.85;
}

.article-checklist-card svg {
    width: 18px;
    height: 18px;
    margin-top: 6px;
    color: #4f7de6;
}

.article-checklist-card__empty {
    width: 18px;
    height: 18px;
    margin-top: 6px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
}

.article-checklist-card li.is-unchecked {
    color: #64748b;
}

.article-comparison-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
}

.article-comparison-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    border: 1px solid var(--article-border);
    border-radius: 12px;
    background: #fff;
}

.article-comparison-table caption {
    caption-side: top;
    padding: 0 0 10px;
    color: var(--article-blue);
    font-weight: 900;
    text-align: start;
}

.article-comparison-table th,
.article-comparison-table td {
    padding: 12px 14px;
    border: 1px solid #e4eefc;
    color: #40516f;
    font-size: 0.92rem;
    line-height: 1.75;
    text-align: start;
}

.article-comparison-table th {
    background: #f1f6ff;
    color: var(--article-blue);
    font-weight: 900;
}

.article-comparison-caution,
.article-pros-cons__warning,
.article-steps__caution {
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.88rem;
    line-height: 1.8;
}

.article-pros-cons,
.article-steps {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

.article-pros-cons > h3,
.article-steps > h3 {
    margin: 0;
    color: var(--article-blue);
    font-size: 1.08rem;
    font-weight: 900;
}

.article-pros-cons > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.article-pros-cons article,
.article-steps article {
    border: 1px solid var(--article-border);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
}

.article-pros-cons h4,
.article-steps h4 {
    margin: 0 0 10px;
    color: #23324c;
    font-size: 0.98rem;
    font-weight: 900;
}

.article-pros-cons ul,
.article-steps ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-pros-cons li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    align-items: start;
    color: #40516f;
    font-size: 0.92rem;
    line-height: 1.8;
}

.article-pros-cons li svg {
    width: 18px;
    height: 18px;
    margin-top: 5px;
    color: #16a34a;
}

.article-pros-cons li span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    margin-top: 5px;
    border-radius: 50%;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.72rem;
    font-weight: 900;
}

.article-pros-cons__note {
    margin: 0;
    color: #64738d;
    font-size: 0.9rem;
    line-height: 1.8;
}

.article-steps ol {
    counter-reset: article-step;
}

.article-steps li {
    counter-increment: article-step;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
}

.article-steps li::before {
    content: counter(article-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eaf4ff;
    color: #245aa5;
    font-weight: 900;
}

.article-steps p {
    margin: 0;
    color: #40516f;
    line-height: 1.85;
}

.article-steps small {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin-top: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f6ff;
    color: #4f7de6;
    font-weight: 800;
}

.article-detail .article-faq,
.article-detail .article-assets,
.article-detail .article-sources,
.article-detail .article-related-cards,
.article-detail .article-trust {
    margin: 30px 0;
    padding: 20px;
}

.article-detail .article-faq details {
    border-top: 1px solid #edf2fa;
    padding: 14px 0;
}

.article-detail .article-faq details:first-of-type {
    border-top: 0;
}

.article-detail .article-faq summary {
    color: #26334a;
    font-size: 0.98rem;
}

.article-related-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.article-related-card {
    overflow: hidden;
    border: 1px solid var(--article-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(33, 72, 132, 0.05);
}

.article-related-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #edf4ff;
}

.article-related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-related-card > div {
    padding: 14px;
}

.article-related-card a {
    color: inherit;
    text-decoration: none;
}

.article-related-card .article-related-card__category {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eaf4ff;
    color: var(--article-blue);
    font-size: 0.76rem;
    font-weight: 800;
}

.article-bottom-cta,
.article-callout-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    align-items: center;
    overflow: hidden;
    margin-top: 32px;
    padding: 24px 30px;
    border-radius: 18px;
    background: linear-gradient(90deg, #dcebff 0%, #f3f8ff 100%);
}

.article-bottom-cta h2,
.article-callout-banner h3 {
    margin: 0 0 8px;
    color: var(--article-blue);
    font-size: 1.35rem;
    font-weight: 900;
}

.article-bottom-cta p,
.article-callout-banner p {
    margin: 0 0 16px;
    color: #61718d;
}

.article-bottom-cta img {
    width: 100%;
    height: 130px;
    border-radius: 14px;
    object-fit: cover;
}

.article-callout-banner {
    display: block;
}

.article-callout-banner--warning {
    background: #fff8e6;
}

.article-callout-banner--success {
    background: #ecfdf5;
}

.article-callout-banner--medical {
    background: #f0fdfa;
}

@media (max-width: 1020px) {
    .article-detail .article-hero,
    .article-bottom-cta,
    .article-callout-banner {
        grid-template-columns: 1fr;
    }

    .article-detail .article-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "sidebar";
        direction: rtl;
    }

    .article-detail .article-sidebar {
        position: static;
    }

    .article-detail .article-toc[data-toc-variant="desktop"] {
        display: none;
    }

    .article-detail .article-toc[data-toc-variant="mobile"] {
        display: block;
        margin: 0 0 22px;
        padding: 12px 14px;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 10px 22px rgba(33, 72, 132, 0.1);
    }

    .article-detail .article-toc__summary {
        min-height: 38px;
        margin-bottom: 0;
        font-size: 0.96rem;
    }

    .article-detail .article-toc[open] .article-toc__summary {
        margin-bottom: 10px;
    }

    .article-detail .article-toc nav {
        max-height: 42vh;
        overflow: auto;
        overscroll-behavior: contain;
    }

    .article-template-grid,
    .article-product-grid,
    .article-option-strip,
    .article-related-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .article-detail .article-shell {
        width: min(100% - 20px, 1200px);
    }

    .article-detail .article-hero {
        border-radius: 16px;
    }

    .article-hero__content {
        padding: 24px 18px;
    }

    .article-detail .article-byline span {
        width: 100%;
        justify-content: flex-start;
    }

    .article-template-grid,
    .article-product-grid,
    .article-option-strip,
    .article-before-after-grid,
    .article-checklist-grid,
    .article-related-cards__grid {
        grid-template-columns: 1fr;
    }

    .article-option-card {
        grid-template-columns: 36px 1fr;
    }
}

.article-skip-link {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-start: 8px;
    z-index: 1000;
    transform: translateY(-160%);
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #15233f;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.article-skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid #f3c84b;
    outline-offset: 2px;
}

.article-detail,
.article-detail *,
.article-archive,
.article-archive * {
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    .article-detail *,
    .article-archive *,
    .article-admin-toolbar *,
    .article-skip-link {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 430px) {
    .article-admin-toolbar,
    .article-shell,
    .article-detail .article-shell {
        width: min(100% - 16px, 1200px);
    }

    .article-detail .article-hero h1,
    .article-archive__header h1 {
        font-size: 1.72rem;
    }

    .article-main,
    .article-detail .article-faq,
    .article-detail .article-assets,
    .article-detail .article-sources,
    .article-detail .article-related-cards,
    .article-detail .article-trust {
        padding: 16px;
    }
}

@media (max-width: 360px) {
    .article-hero__content,
    .article-main,
    .article-sidebar section {
        padding-inline: 12px;
    }

    .article-detail .article-hero h1,
    .article-archive__header h1 {
        font-size: 1.55rem;
    }
}
