/* ---------- Дополнительные продукты ---------- */
.product-card { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 1.5rem; background: #fff; border: 1px solid var(--be-gray-200); overflow: hidden; transition: transform .35s var(--be-ease), box-shadow .35s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--be-shadow-lg); }
.product-card__cover { height: 150px; display: grid; place-items: center; font-size: 3rem; color: #fff; position: relative; }
.product-card__cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px); }
.product-card__cover--guide { background: linear-gradient(135deg, var(--be-blue-400), var(--be-blue-700)); }
.product-card__cover--intensive { background: linear-gradient(135deg, var(--be-blue-700), var(--be-blue-900)); }
.product-card__cover--workshop { background: linear-gradient(135deg, #64748B, var(--be-blue-700)); }
.product-card__cover .tag { position: absolute; left: 1rem; top: 1rem; z-index: 1; background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(6px); }
.product-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card__body h3 { font-size: 1.15rem; margin: 0; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--be-gray-500); font-size: .84rem; font-weight: 600; }
.product-card__foot { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--be-gray-300); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.product-card__price { font-weight: 800; font-size: 1.2rem; color: var(--be-blue-800); white-space: nowrap; }
.product-card.is-hidden { display: none; }
.type-explain { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: 1.25rem; background: #fff; border: 1px solid var(--be-gray-200); height: 100%; }
.type-explain .icon-badge { margin: 0; flex-shrink: 0; }

/* ---------- Блог / база знаний ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; border-radius: 1.5rem; background: #fff; border: 1px solid var(--be-gray-200); overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--be-ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--be-shadow-lg); color: inherit; }
.post-card__img { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 3rem; color: #fff; background: linear-gradient(135deg, var(--be-blue-500), var(--be-blue-800)); position: relative; overflow: hidden; }
.post-card__img i { transition: transform .5s var(--be-ease); }
.post-card:hover .post-card__img i { transform: scale(1.15) rotate(-6deg); }
.post-card__img--2 { background: linear-gradient(135deg, #64748B, var(--be-blue-700)); }
.post-card__img--3 { background: linear-gradient(135deg, var(--be-blue-700), var(--be-blue-900)); }
.post-card__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card__body h3 { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.post-card__body p { color: var(--be-gray-500); margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; color: var(--be-gray-500); font-size: .82rem; font-weight: 700; }
.post-card .post-meta { margin-top: auto; padding-top: .75rem; }
.post-featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.post-featured .post-card__img { aspect-ratio: auto; min-height: 320px; font-size: 5rem; }
.post-featured .post-card__body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
.post-featured h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 767.98px) { .post-featured { grid-template-columns: 1fr; } .post-featured .post-card__img { min-height: 200px; } }

/* Статья */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 1041; background: linear-gradient(90deg, #A9C6FF, var(--be-blue-600)); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem; align-items: start; }
.article-body { font-size: 1.1rem; line-height: 1.8; color: var(--be-gray-700); }
.article-body h2 { font-size: 1.6rem; color: var(--be-gray-900); margin: 2.25rem 0 1rem; scroll-margin-top: 100px; }
.article-body .lead-in { font-size: 1.25rem; color: var(--be-gray-900); font-weight: 500; }
.article-body figure { margin: 2rem 0; }
.article-body figure > div { aspect-ratio: 16 / 8; border-radius: 1.25rem; display: grid; place-items: center; font-size: 4rem; color: #fff; background: linear-gradient(135deg, var(--be-blue-500), var(--be-blue-800)); }
.article-body figcaption { text-align: center; font-size: .9rem; color: var(--be-gray-500); margin-top: .6rem; }
.article-body blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--be-blue-600); background: var(--be-blue-50); border-radius: 0 1rem 1rem 0; font-size: 1.15rem; color: var(--be-blue-800); }
.article-side { position: sticky; top: 100px; display: grid; gap: 1rem; }
.toc a { display: block; padding: .4rem .8rem; border-left: 2px solid var(--be-gray-200); color: var(--be-gray-500); text-decoration: none; font-weight: 600; font-size: .92rem; transition: all .2s; }
.toc a:hover { color: var(--be-blue-600); }
.toc a.active { border-left-color: var(--be-blue-600); color: var(--be-blue-700); background: var(--be-blue-50); }
.author-box { display: flex; gap: 1rem; align-items: center; }
.share-row { display: flex; gap: .4rem; }
.share-row a, .share-row button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--be-gray-200); background: #fff; color: var(--be-gray-700); transition: all .2s; text-decoration: none; }
.share-row a:hover, .share-row button:hover { border-color: var(--be-blue-400); color: var(--be-blue-600); }
@media (max-width: 991.98px) { .article-layout { grid-template-columns: 1fr; } .article-side { position: static; } .toc { display: none; } }
.product-card__cover--img img, .post-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__cover--img::after { display: none; }
.product-card__text { color: var(--be-gray-500); margin: 0; }
.article-cover { width: 100%; border-radius: 1.25rem; margin-bottom: 2rem; }
.article-body img { max-width: 100%; border-radius: 1rem; }
.article-body pre { background: var(--be-gray-100); padding: 1rem; border-radius: 1rem; overflow-x: auto; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.article-body th, .article-body td { border: 1px solid var(--be-gray-200); padding: .5rem .75rem; }
.page-head .post-meta { color: rgba(255, 255, 255, .7); }
.toc[hidden] { display: none; }
