/* ROKODIL — single journal article (Figma 179:2394) */
.article-page { color: #252B2B; background: #fff; }
.article-heading { position: relative; height: 340px; border-bottom: 1px solid #E3E5E6; box-sizing: border-box; }
.article-breadcrumbs { position: absolute; top: 46px; left: 50%; display: flex; align-items: center; gap: 6px; width: 503px; height: 22px; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-body); font-size: 13px; font-weight: 400; line-height: 22px; }
.article-breadcrumbs a { color: #252B2B; text-decoration: none; }
.article-breadcrumbs > span:last-child { width: 364px; overflow: hidden; color: #979E9F; text-overflow: ellipsis; }
.article-heading h1 { position: absolute; top: 86px; left: 50%; width: 906px; max-height: 128px; margin: 0; overflow: hidden; transform: translateX(-50%); text-align: center; font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 64px; }
.article-heading__meta { position: absolute; top: 260px; left: 50%; display: flex; align-items: center; justify-content: center; gap: 24px; width: 410px; height: 34px; transform: translateX(-50%); white-space: nowrap; }
.article-heading__meta > span, .article-heading__meta > time { display: flex; align-items: center; gap: 8px; color: #555B5C; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 24px; }
.article-heading__meta > span { width: 145px; }
.article-heading__meta > time { width: 123px; }
.article-heading__meta img { width: 16px; height: 16px; opacity: .72; }
.article-heading__category { display: flex; align-items: center; justify-content: center; width: 94px; height: 34px; padding: 0; border: 1px solid #E3E5E6; border-radius: 999px; box-sizing: border-box; color: #555B5C; text-decoration: none; font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 20px; }
.article-heading__category:hover { border-color: #006C66; color: #006C66; }

.article-cover { width: 100%; height: 794px; margin: 0; overflow: hidden; }
.article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: 321px 692px 321px; gap: 32px; align-items: start; margin-top: 60px; padding-bottom: 132px; }
.article-toc, .article-related { position: sticky; top: 132px; }
.article-toc h2, .article-related h2 { margin: 0; font-family: var(--font-body); font-size: 18px; font-weight: 600; line-height: 26px; }
.article-toc nav { display: flex; flex-direction: column; gap: 8px; margin-top: 30px; }
.article-toc a { display: flex; align-items: center; min-height: 38px; padding: 8px 0 8px 14px; border-left: 2px solid #E3E5E6; box-sizing: border-box; color: #979E9F; text-decoration: none; font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 22px; transition: border-color .2s ease, color .2s ease; }
.article-toc a:hover, .article-toc a.is-active { border-left-color: #006C66; color: #006C66; }

.article-body { min-width: 0; color: #555B5C; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 26px; }
.article-body p { margin: 0; }
.article-body p + p { margin-top: 16px; }
.article-body > .article-lead { min-height: 104px; margin: 0; }
.article-body h2 { margin: 60px 0 30px; scroll-margin-top: 140px; color: #252B2B; font-family: var(--font-display); font-size: 32px; font-weight: 500; line-height: 46px; }
.article-body h3 { margin: 30px 0 22px; color: #252B2B; font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: .025em; line-height: 32px; }
.article-body ul, .article-body ol { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.article-body li { position: relative; min-height: 24px; padding-left: 20px; }
.article-body ul li::before { content: '•'; position: absolute; left: 0; color: #00B189; font-size: 16px; font-weight: 700; }
.article-body ol { counter-reset: article-step; }
.article-body ol li { counter-increment: article-step; padding-left: 34px; }
.article-body ol li::before { content: counter(article-step); position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: #006C66; font-size: 12px; font-weight: 600; }
.article-info { min-height: 134px; margin: 30px 0 0; padding: 28px 24px 28px 60px; border-left: 4px solid #006C66; border-radius: 0 8px 8px 0; box-sizing: border-box; color: #006C66; background: rgba(0,108,102,.05) url('../img/journal/article-info.svg') 28px 30px/20px 20px no-repeat; font: inherit; }
.article-comparison { display: grid; gap: 8px; margin-top: 24px; padding: 24px 28px; border-radius: 8px; background: #F9F9F9; }
.article-comparison strong { color: #252B2B; }

.article-product { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 20px; width: 692px; height: 217px; margin-top: 30px; padding: 25px; border: 1px solid #E3E5E6; border-radius: 8px; box-sizing: border-box; background: #fff; }
.article-product__image { display: block; width: 160px; height: 160px; overflow: hidden; }
.article-product__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.article-product__details { position: relative; min-width: 0; padding-top: 36px; }
.article-product__badge { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; color: #fff; background: #C60100; font-size: 12px; line-height: 14px; }
.article-product__name { display: block; width: 360px; max-height: 40px; overflow: hidden; color: #252B2B; text-decoration: none; font-size: 14px; font-weight: 400; line-height: 20px; }
.article-product__rating { display: flex; align-items: center; gap: 8px; height: 18px; margin-top: 12px; color: #555B5C; font-size: 13px; line-height: 18px; }
.article-product__rating span { color: #FFD100; letter-spacing: 1px; }
.article-product__rating b { font-weight: 500; }
.article-product__price { position: absolute; bottom: 0; left: 0; color: #252B2B; font-size: 20px; font-weight: 700; line-height: 26px; }
.article-product__price del { display: none; }
.article-product__sku { position: absolute; top: 29px; right: 25px; color: #979E9F; font-size: 12px; line-height: 15px; }
.article-product__actions { position: absolute; right: 25px; bottom: 25px; display: flex; gap: 10px; height: 40px; }
.article-product__cart { display: flex; align-items: center; justify-content: center; width: 160px; height: 40px; border-radius: 4px; color: #fff; background: #006C66; text-decoration: none; font-size: 14px; font-weight: 500; }
.article-product__actions button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 4px; color: #555B5C; background: #F9F9F9; cursor: pointer; }
.article-product__actions button.is-active { color: #006C66; background: #E6F3F2; }

.article-tags { margin-top: 60px; padding-top: 24px; border-top: 1px solid #E3E5E6; }
.article-tags > strong { display: block; margin-bottom: 14px; color: #252B2B; font-size: 16px; }
.article-tags > div { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid #E3E5E6; border-radius: 999px; color: #555B5C; text-decoration: none; font-size: 13px; }
.article-tags a:hover { border-color: #006C66; color: #006C66; }

.article-related h2 { height: 40px; border-bottom: 1px solid #F5F5F5; box-sizing: border-box; }
.article-related__list { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.article-related__item { display: grid; grid-template-columns: 80px 1fr; gap: 16px; width: 321px; height: 80px; color: #252B2B; text-decoration: none; }
.article-related__item > img { width: 80px; height: 80px; border-radius: 4px; object-fit: cover; }
.article-related__item > span { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; height: 80px; font-size: 13px; font-weight: 500; line-height: 18px; }
.article-related__item time { display: flex; align-items: center; gap: 8px; color: #979E9F; font-size: 12px; font-weight: 400; line-height: 16px; }
.article-related__item time img { width: 16px; height: 16px; opacity: .65; }

@media (max-width: 1200px) {
    .article-layout { grid-template-columns: 240px minmax(0, 1fr); }
    .article-related { display: none; }
    .article-product { width: 100%; }
}

@media (max-width: 768px) {
    .article-heading { height: 430px; }
    .article-breadcrumbs { top: 28px; left: 16px; right: 16px; width: auto; max-width: none; transform: none; overflow: hidden; }
    .article-breadcrumbs > span:last-child { display: none; }
    .article-heading h1 { top: 82px; left: 16px; width: calc(100% - 32px); max-height: 200px; transform: none; text-align: left; font-size: 40px; line-height: 50px; }
    .article-heading__meta { top: auto; right: 16px; bottom: 48px; left: 16px; width: auto; height: auto; transform: none; flex-wrap: wrap; justify-content: flex-start; gap: 12px 16px; white-space: normal; }
    .article-heading__meta > span, .article-heading__meta > time { font-size: 13px; }
    .article-cover { height: 300px; }
    .article-heading__meta > span, .article-heading__meta > time { width: auto; }
    .article-layout { display: flex; flex-direction: column; gap: 0; margin-top: 40px; padding-bottom: 72px; }
    .article-toc, .article-related { position: static; width: 100%; }
    .article-toc { padding: 20px; border-radius: 8px; background: #F9F9F9; }
    .article-toc nav { margin-top: 18px; }
    .article-body { width: 100%; }
    .article-body > .article-lead { min-height: 0; margin-top: 40px; }
    .article-body h2 { margin-top: 48px; font-size: 30px; line-height: 42px; }
    .article-product { display: flex; flex-direction: column; height: 480px; padding: 20px; }
    .article-product__image { width: 100%; height: 190px; }
    .article-product__details { padding-top: 34px; }
    .article-product__name { width: 100%; }
    .article-product__price { position: static; display: block; margin-top: 12px; }
    .article-product__sku { top: 20px; right: 20px; }
    .article-product__actions { right: 20px; bottom: 20px; left: 20px; }
    .article-product__cart { flex: 1; }
    .article-related { display: block; margin-top: 56px; }
    .article-related__item { width: 100%; }
}
