/* Журнал фабрики — страница статьи (v1.0.0, 2026-07-17).
   Палитра: слоновая кость #faf8f4, эспрессо #26211c, латунь #b8976a / #8f7347. */

.journal-article {
    background: #faf8f4;
    font-family: "Golos Text", "Roboto", Arial, sans-serif;
    color: #26211c;
}
.journal-art-head-wrap { padding: 10px 0 0; }
.journal-art-body-wrap { padding: 44px 0 72px; }

/* ---- Шапка статьи ---- */
.art-head { max-width: 820px; }
.art-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #8a8071;
    font-weight: 500;
    margin-bottom: 18px;
}
.art-meta__cat { color: #8f7347; font-weight: 600; }
.art-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: #cbbb9e; }
.art-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    color: #26211c;
    text-transform: none;
}
.art-lead { font-size: 18px; line-height: 1.7; color: #4d4639; margin: 0; }
.art-hero { margin: 34px 0 0; }
.art-hero img { width: 100%; height: auto; border-radius: 20px; display: block; max-height: 560px; object-fit: cover; }

/* ---- Корпус ---- */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.art-rail { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }

/* ---- Оглавление ---- */
.toc { background: #ffffff; border: 1px solid #e7e1d6; border-radius: 16px; padding: 24px 26px; }
.toc__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #8f7347; font-weight: 600; margin-bottom: 14px; display: block; }
.toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; line-height: 1.45; color: #5f574b; border-bottom: 1px dashed #ece4d4; text-decoration: none; }
.toc a:last-child { border-bottom: none; }
.toc a:hover { color: #26211c; }
.toc__n { color: #b8976a; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- CTA-карточка ---- */
.rail-cta {
    background-color: #26211c;
    border-radius: 16px;
    padding: 28px 26px;
    color: #fbf9f5;
    background-image:
        radial-gradient(circle, rgba(217, 188, 146, 0.45) 1.3px, transparent 2.2px),
        radial-gradient(circle, rgba(217, 188, 146, 0.45) 1.3px, transparent 2.2px),
        repeating-linear-gradient(45deg, transparent 0 34.7px, rgba(251, 249, 245, 0.05) 34.7px 35.7px),
        repeating-linear-gradient(-45deg, transparent 0 34.7px, rgba(251, 249, 245, 0.05) 34.7px 35.7px);
    background-size: 50.2px 50.2px, 50.2px 50.2px, auto, auto;
    background-position: 0 0, 25.1px 25.1px, 0 0, 0 0;
}
.rail-cta__title { font-family: "Playfair Display", serif; font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0 0 12px; color: #fbf9f5; }
.rail-cta__list { margin: 0 0 20px; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.5; color: #cfc4b2; }
.rail-cta__list li { display: flex; gap: 9px; padding: 4px 0; }
.rail-cta__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b8976a; flex: none; margin-top: 6px; }
.rail-cta__btn { display: block; text-align: center; background: #b8976a; color: #26211c; font-weight: 700; font-size: 15px; padding: 14px 20px; border-radius: 100px; margin-bottom: 12px; text-decoration: none; transition: background-color 0.18s ease; }
.rail-cta__btn:hover { background: #d9bc92; color: #26211c; }
.rail-cta__phone { display: block; text-align: center; font-size: 14px; color: #d9bc92; text-decoration: none; }

/* ---- Типографика статьи ---- */
.art-body { max-width: 720px; font-size: 16.5px; line-height: 1.75; color: #3d372e; }
.art-body h2 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #26211c;
    margin: 52px 0 18px;
    padding-top: 26px;
    border-top: 1px dashed #d9cbb0;
    text-transform: none;
}
.art-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.art-body h3 { font-family: "Golos Text", "Roboto", sans-serif; font-weight: 600; font-size: 19px; color: #26211c; margin: 32px 0 12px; }
.art-body p { margin: 0 0 18px; }
.art-body a { color: #8f7347; text-decoration: none; }
.art-body p a, .art-body li a, .art-body blockquote a { text-decoration: underline; text-decoration-color: #d9bc92; text-underline-offset: 3px; }
.art-body a:hover { color: #26211c; }
.art-body .prod-strip a, .art-body .related a, .art-body .author a { text-decoration: none; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 22px; }
.art-body li { margin-bottom: 8px; }
.art-body ul { list-style: none; padding-left: 2px; }
.art-body ul > li { position: relative; padding-left: 24px; }
.art-body ul > li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #d9bc92, #b8976a 55%, #8f7347);
    box-shadow: 0 1px 2px rgba(60, 45, 25, 0.4);
}
.art-body figure { margin: 28px 0; }
.art-body figure img, .art-body p > img { max-width: 100%; height: auto; border-radius: 16px; display: block; }
.art-body figcaption { font-size: 13px; color: #8a8071; margin-top: 10px; line-height: 1.5; }

/* Цитата = «Совет фабрики» */
.art-body blockquote {
    background: #fbf8f2;
    border: 1px solid #e7dcc6;
    border-left: 3px solid #b8976a;
    border-radius: 12px;
    padding: 42px 24px 20px;
    margin: 28px 0;
    position: relative;
}
.art-body blockquote::before {
    content: "Совет фабрики";
    position: absolute;
    top: 18px;
    left: 24px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f7347;
    font-weight: 700;
}
.art-body blockquote p { margin: 0; font-size: 15.5px; }
.art-body blockquote p + p { margin-top: 10px; }

/* Таблицы */
.art-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14.5px; line-height: 1.5; }
.art-body th { background: #26211c; color: #fbf9f5; text-align: left; font-weight: 600; padding: 12px 16px; }
.art-body th:first-child { border-radius: 10px 0 0 0; }
.art-body th:last-child { border-radius: 0 10px 0 0; }
.art-body td { padding: 12px 16px; border-bottom: 1px dashed #d9cbb0; vertical-align: top; }
.art-body tr:nth-child(even) td { background: #faf6ee; }

/* ---- Товарная врезка ---- */
.prod-strip { background: #ffffff; border: 1px solid #e7e1d6; border-radius: 20px; padding: 30px; margin: 40px 0; }
.prod-strip__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.prod-strip__eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #8f7347; font-weight: 600; display: block; margin-bottom: 6px; }
.prod-strip__title { font-family: "Playfair Display", serif; font-weight: 600; font-size: 23px; color: #26211c; display: block; }
.prod-strip__all { font-size: 14px; font-weight: 600; color: #8f7347; white-space: nowrap; text-decoration: none; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-card { border: 1px solid #e7e1d6; border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.prod-card:hover { transform: translateY(-3px); border-color: #c9ad84; box-shadow: 0 14px 30px -18px rgba(60, 45, 25, 0.4); }
.prod-card img { width: 100%; height: 190px; object-fit: cover; display: block; border-radius: 0; }
.prod-card__body { padding: 14px 16px 16px; }
.prod-card__name { font-size: 14px; font-weight: 600; color: #26211c; margin: 0 0 6px; }
.prod-card__price { font-size: 15px; font-weight: 700; color: #8f7347; margin: 0; }

/* ---- FAQ ---- */
.art-faq-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 29px;
    color: #26211c;
    margin: 52px 0 18px;
    padding-top: 26px;
    border-top: 1px dashed #d9cbb0;
    text-transform: none;
}
.faq__item { border: 1px solid #e7e1d6; border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: transparent; border: none; font-family: inherit; font-size: 16px; font-weight: 600; color: #26211c; padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__mark { color: #b8976a; font-size: 20px; flex: none; }
.faq__a { padding: 0 22px 18px; font-size: 15px; line-height: 1.65; color: #5f574b; }

/* ---- Автор / фабрика ---- */
.author { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: #f3efe8; border: 1px solid #e7e1d6; border-radius: 20px; padding: 28px 32px; margin: 48px 0 0; }
.author__mark {
    width: 64px; height: 64px; border-radius: 50%; flex: none;
    background-color: #b39a77;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 14px, rgba(38, 28, 16, 0.15) 14px 15px),
        repeating-linear-gradient(-45deg, transparent 0 14px, rgba(38, 28, 16, 0.15) 14px 15px),
        radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.25), transparent 60%);
    border: 2px solid #d9bc92;
}
.author__name { font-weight: 700; font-size: 15.5px; color: #26211c; margin: 0 0 4px; }
.author__text { font-size: 14px; line-height: 1.6; color: #6b6355; margin: 0; }
.author__btn { display: inline-block; border: 1.5px solid #26211c; color: #26211c; font-weight: 600; font-size: 14px; padding: 11px 22px; border-radius: 100px; white-space: nowrap; text-decoration: none; transition: background-color 0.18s ease, color 0.18s ease; }
.author__btn:hover { background: #26211c; color: #fbf9f5; }

/* ---- Похожие статьи ---- */
.related { margin: 56px 0 0; }
.related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.related__title { font-family: "Playfair Display", serif; font-weight: 600; font-size: 26px; margin: 0; color: #26211c; border: none; padding: 0; text-transform: none; }
.related__all { font-size: 14px; font-weight: 600; color: #8f7347; text-decoration: none; white-space: nowrap; }
.related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.related-card { display: flex; gap: 18px; background: #fff; border: 1px solid #e7e1d6; border-radius: 16px; padding: 16px; text-decoration: none; color: inherit; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.related-card:hover { border-color: #c9ad84; box-shadow: 0 14px 30px -20px rgba(60, 45, 25, 0.4); }
.related-card img { width: 120px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; }
.related-card__cat { font-size: 12px; font-weight: 600; color: #8f7347; display: block; margin-bottom: 6px; }
.related-card__name { font-family: "Playfair Display", serif; font-size: 17px; font-weight: 600; line-height: 1.3; color: #26211c; margin: 0; }

.journal-article a:focus-visible,
.journal-article button:focus-visible { outline: 2px solid #8f7347; outline-offset: 3px; }

/* ---- Адаптив ---- */
@media (max-width: 1000px) {
    .art-layout { grid-template-columns: 1fr; gap: 32px; }
    .art-rail { position: static; }
}
@media (max-width: 760px) {
    .art-title { font-size: 29px; }
    .art-lead { font-size: 16px; }
    .art-body { font-size: 15.5px; }
    .art-body h2, .art-faq-title { font-size: 23px; }
    .prod-grid { grid-template-columns: 1fr; }
    .related__grid { grid-template-columns: 1fr; }
    .author { grid-template-columns: 1fr; }
    .journal-art-body-wrap { padding: 32px 0 52px; }
}
@media (prefers-reduced-motion: reduce) {
    .journal-article * { transition: none !important; }
    .prod-card:hover, .journal-article .related-card:hover { transform: none; }
}
