/* BDSM Porn Hub — бренд поверх Classic: палитра, логотип, контейнер, SEO-блок, подвал. */
:root {
	--cl-accent: #e2283f;
	--cl-hi: #ff3b52;
	--cl-accent-ink: #ffffff;
	--cl-item-title: #f1d7da;
	--cl-bg: #141414;
	--cl-surface: #1d1d1d;
	--cl-surface-2: #262626;
}
.container, .header-inner, .cl-nav { max-width: 1320px; margin-left: auto; margin-right: auto; }
.site-header { background: linear-gradient(180deg, #0b0b0b, #121212); border-bottom: 1px solid #222; }

/* Логотип: знак-кольцо + «bdsmporn.» + HUB */
.bh-logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.bh-logo__mark { width: 40px; height: 40px; flex: none; }
.bh-logo__text { display: flex; flex-direction: column; align-items: flex-end; }
.bh-logo__word { font: 900 30px/0.9 var(--cl-font); letter-spacing: -0.04em; color: #f4f4f4; }
.bh-logo__word b { color: var(--cl-accent); font-weight: 900; }
.bh-logo__sub { margin-top: 3px; font: 800 10px/1 var(--cl-font); letter-spacing: 0.42em; color: var(--cl-accent); margin-right: -0.42em; }
@media (min-width: 1024px) { .bh-logo__word { font-size: 36px; } .bh-logo__mark { width: 46px; height: 46px; } }

/* Поиск и меню как у тубов */
.search-input { border-color: var(--cl-accent); }
.search-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(226, 40, 63, .25); }
.search-btn { color: var(--cl-accent); }
.main-nav a, .cl-nav .menu__link { letter-spacing: .02em; }
.cl-nav { border-top: 1px solid #1f1f1f; }

/* Карточки: мягкий подъём и подсветка */
.card-thumb { transition: transform .2s ease, box-shadow .2s ease; }
.item-card:hover .card-thumb { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(226, 40, 63, .55); }
.item-card:hover .card-title { color: #fff; }

/* Слайд-превью кадров при наведении (bh-frames.js) */
.card-thumb { position: relative; overflow: hidden; }
.bh-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; opacity: 0; transition: opacity .12s linear; pointer-events: none; }
.bh-frame.bh-ready { opacity: 1; }
.bh-frames-bar { position: absolute; left: 6px; right: 6px; bottom: 5px; z-index: 4; display: flex; gap: 3px; pointer-events: none; }
.bh-frames-bar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.bh-frames-bar i.bh-on { background: var(--cl-accent); box-shadow: 0 0 6px rgba(226, 40, 63, .8); }
.bh-frames-bar i.bh-off { display: none; }
.card-thumb.bh-playing .card-badge, .card-thumb.bh-playing .card-rating { z-index: 3; }
.card-thumb.bh-playing .card-duration { bottom: 14px; }

/* Плитки-заполнители последнего ряда (bh-grid.js) */
.bh-fill { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.bh-fill__thumb { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px;
	background: radial-gradient(120% 90% at 50% 0%, rgba(226, 40, 63, .28), transparent 60%), linear-gradient(160deg, #241014, #141414 70%); border: 1px solid #3a1a20; color: var(--cl-accent); }
.bh-fill--tall .bh-fill__thumb { flex: 1; min-height: 160px; border-radius: var(--cl-r, 6px); }
.bh-fill__thumb svg { width: 34px; height: 34px; }
.bh-fill__thumb b { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.bh-fill__thumb em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--cl-hi); text-transform: uppercase; letter-spacing: .06em; }
.bh-fill .card-title { margin-top: 8px; }
.bh-fill:hover .bh-fill__thumb { border-color: var(--cl-accent); box-shadow: 0 10px 24px -12px rgba(226, 40, 63, .55); }
.bh-fill:hover .card-title { color: #fff; }

/* Главная: SEO-блок и популярные категории */
.bh-seo__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; padding: 0; list-style: none; }
.bh-seo__cats a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--cl-surface-2); border: 1px solid #333; color: #eee; font-size: 13px; text-decoration: none; transition: background .15s, border-color .15s; }
.bh-seo__cats a:hover { background: var(--cl-accent); border-color: var(--cl-accent); color: #fff; }
.bh-seo h3 { margin: 16px 0 6px; color: #fff; font-size: 15px; }
@media (min-width: 900px) { .bh-seo__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; } }

/* SEO-текст и подвал */
.bh-seo { max-width: 1320px; margin: 28px auto 0; padding: 22px 24px; border-radius: 10px; background: var(--cl-surface); border: 1px solid #262626; color: var(--cl-muted); font-size: 14px; line-height: 1.65; }
.bh-seo h2 { margin: 0 0 10px; color: #fff; font-size: 18px; }
.bh-seo p { margin: 0 0 10px; }
.bh-seo p:last-child { margin-bottom: 0; }
.bh-seo a { color: var(--cl-accent); }
.site-footer { border-top: 1px solid #222; background: #0d0d0d; padding: 26px 0 30px; }
.bh-legal { max-width: 900px; margin: 6px auto 0; text-align: center; color: var(--cl-dim); font-size: 12px; line-height: 1.6; }
.bh-legal b { color: var(--cl-muted); }
/* ---------- Блог: статья ---------- */
.bh-read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; }
.bh-read-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #a50f24, var(--cl-hi)); box-shadow: 0 0 10px rgba(226, 40, 63, .7); }
.bh-article { max-width: 1320px; margin: 0 auto; }
.bh-article__hero { position: relative; border-radius: 14px; overflow: hidden; background: #0c0c0c; min-height: 260px; display: flex; align-items: flex-end; border: 1px solid #241316; }
.bh-article__hero img, .bh-article__hero picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bh-article__hero picture img { position: static; }
.bh-article__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .05) 20%, rgba(10, 10, 10, .72) 62%, #0c0c0c 100%); }
.bh-article__hero.is-plain { background: radial-gradient(120% 120% at 0% 0%, rgba(226, 40, 63, .35), #0c0c0c 60%); }
.bh-article__head { position: relative; z-index: 1; padding: 120px 34px 30px; max-width: 920px; }
.bh-article__kicker, .bh-post__kicker { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--cl-accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.bh-article__title { margin: 0 0 12px; color: #fff; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.bh-article__lead { margin: 0 0 14px; color: #ddd; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.5; max-width: 760px; }
.bh-article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: #aaa; font-size: 13px; }
.bh-article__meta b { color: #fff; }
.bh-article__layout { display: grid; gap: 34px; margin-top: 30px; }
@media (min-width: 1080px) { .bh-article__layout { grid-template-columns: minmax(0, 1fr) 300px; } .bh-article__side { position: sticky; top: 16px; align-self: start; } }
.bh-article__main { min-width: 0; max-width: 820px; }
.bh-prose { color: #d8d8d8; font-size: 17.5px; line-height: 1.78; overflow-wrap: anywhere; }
.bh-prose > p:first-child::first-letter { float: left; margin: 6px 10px 0 0; font-size: 64px; line-height: .8; font-weight: 900; color: var(--cl-accent); }
.bh-prose h2 { margin: 2.1em 0 .7em; padding-left: 16px; border-left: 4px solid var(--cl-accent); color: #fff; font-size: clamp(22px, 2.4vw, 29px); line-height: 1.22; scroll-margin-top: 20px; }
.bh-prose h3 { margin: 1.6em 0 .5em; color: #f3c9cf; font-size: 20px; line-height: 1.3; }
.bh-prose p { margin: 0 0 1.1em; }
.bh-prose strong { color: #fff; }
.bh-prose a { color: var(--cl-hi); text-decoration: underline; text-decoration-color: rgba(255, 59, 82, .45); text-underline-offset: 3px; }
.bh-prose a:hover { color: #fff; text-decoration-color: var(--cl-hi); }
.bh-prose ul, .bh-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.bh-prose li { margin: .35em 0; }
.bh-prose ul li::marker { color: var(--cl-accent); }
.bh-prose ol li::marker { color: var(--cl-accent); font-weight: 800; }
.bh-prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-radius: 10px; background: linear-gradient(135deg, rgba(226, 40, 63, .14), rgba(226, 40, 63, .03)); border: 1px solid #3a1a20; color: #f1f1f1; font-size: 18px; font-style: italic; }
.bh-prose blockquote p:last-child { margin: 0; }
.bh-prose table { width: 100%; margin: 1.5em 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.bh-prose th, .bh-prose td { padding: 11px 14px; border-bottom: 1px solid #2a2a2a; text-align: left; vertical-align: top; }
.bh-prose th { background: #1f1214; color: #fff; font-weight: 800; border-bottom: 2px solid var(--cl-accent); white-space: nowrap; }
.bh-prose tr:nth-child(even) td { background: #181818; }
.bh-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.bh-article__tags a { padding: 5px 11px; border-radius: 999px; background: #1d1d1d; border: 1px solid #333; color: #ccc; font-size: 13px; text-decoration: none; }
.bh-article__tags a:hover { border-color: var(--cl-accent); color: #fff; }
.bh-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid #262626; border-bottom: 1px solid #262626; }
.bh-share > span { margin-right: 6px; color: #999; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.bh-share a, .bh-share button { padding: 7px 13px; border-radius: 8px; background: #1f1f1f; border: 1px solid #333; color: #eee; font: 600 13px/1 var(--cl-font); text-decoration: none; cursor: pointer; }
.bh-share a:hover, .bh-share button:hover { background: var(--cl-accent); border-color: var(--cl-accent); color: #fff; }
.bh-cta { margin: 28px 0 0; padding: 24px; border-radius: 14px; background: radial-gradient(120% 140% at 100% 0%, rgba(226, 40, 63, .3), transparent 55%), #171717; border: 1px solid #3a1a20; }
.bh-cta h2 { margin: 0 0 6px; color: #fff; font-size: 22px; }
.bh-cta p { margin: 0 0 14px; color: #bbb; }
.bh-cta__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.bh-cta__links a { padding: 10px 16px; border-radius: 10px; background: var(--cl-accent); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
.bh-cta__links a:hover { background: var(--cl-hi); }
.bh-toc, .bh-side-box { padding: 18px; border-radius: 12px; background: #171717; border: 1px solid #262626; }
.bh-side-box { margin-top: 16px; }
.bh-toc__title { margin: 0 0 10px; color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.bh-toc ol { margin: 0; padding-left: 1.3em; counter-reset: none; }
.bh-toc li { margin: 7px 0; color: var(--cl-accent); font-size: 14px; line-height: 1.35; }
.bh-toc a { color: #cfcfcf; text-decoration: none; }
.bh-toc a:hover { color: #fff; }
.bh-side-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.bh-side-cats a { padding: 5px 10px; border-radius: 999px; background: #222; border: 1px solid #333; color: #ddd; font-size: 12.5px; text-decoration: none; }
.bh-side-cats a:hover { background: var(--cl-accent); border-color: var(--cl-accent); color: #fff; }
.bh-side-blog { color: var(--cl-hi); font-weight: 800; font-size: 14px; text-decoration: none; }
@media (max-width: 640px) { .bh-article__head { padding: 90px 18px 20px; } .bh-prose { font-size: 16.5px; } .bh-article__hero { border-radius: 10px; } }

/* ---------- Блог: список ---------- */
.bh-blog-head { margin: 6px 0 22px; }
.bh-blog-head__title { margin: 0 0 8px; color: #fff; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; }
.bh-blog-head__title small { color: var(--cl-accent); font-size: 15px; font-weight: 700; margin-left: 6px; }
.bh-blog-head__lead { margin: 0; max-width: 820px; color: #aaa; font-size: 16px; line-height: 1.6; }
.bh-blog-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .bh-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bh-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bh-post { display: flex; flex-direction: column; min-width: 0; border-radius: 12px; overflow: hidden; background: #171717; border: 1px solid #262626; transition: border-color .2s, box-shadow .2s, transform .2s; }
.bh-post:hover { border-color: #5a1d27; box-shadow: 0 14px 30px -18px rgba(226, 40, 63, .7); transform: translateY(-2px); }
.bh-post__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0d0d0d; }
.bh-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bh-post:hover .bh-post__img img { transform: scale(1.04); }
.bh-post__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.bh-post__kicker { align-self: flex-start; margin-bottom: 10px; font-size: 11px; padding: 4px 9px; }
.bh-post__title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.bh-post__title a { color: #fff; text-decoration: none; }
.bh-post__title a:hover { color: var(--cl-hi); }
.bh-post__excerpt { margin: 0 0 14px; color: #a9a9a9; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bh-post__more { margin-top: auto; color: var(--cl-hi); font-weight: 800; font-size: 13.5px; text-decoration: none; }
.bh-post--wide { margin-bottom: 22px; }
@media (min-width: 900px) {
	.bh-post--wide { flex-direction: row; }
	.bh-post--wide .bh-post__img { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; }
	.bh-post--wide .bh-post__body { justify-content: center; padding: 30px 34px; }
	.bh-post--wide .bh-post__title { font-size: 30px; line-height: 1.15; }
	.bh-post--wide .bh-post__excerpt { -webkit-line-clamp: 5; font-size: 16px; }
}
.bh-blog-grid .bh-fill { border-radius: 12px; overflow: hidden; }
.bh-blog-grid .bh-fill .card-title { padding: 0 4px; }

/* FAQ на главной */
.bh-faq { max-width: 1320px; margin: 22px auto 0; }
.bh-faq h2 { margin: 0 0 12px; color: #fff; font-size: 20px; }
.bh-faq details { margin: 0 0 10px; border-radius: 10px; background: var(--cl-surface); border: 1px solid #262626; }
.bh-faq summary { cursor: pointer; padding: 14px 18px; color: #fff; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.bh-faq summary::-webkit-details-marker { display: none; }
.bh-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--cl-accent); font-size: 22px; font-weight: 900; }
.bh-faq details[open] summary::after { content: "–"; }
.bh-faq details p { margin: 0; padding: 0 18px 16px; color: var(--cl-muted); line-height: 1.65; font-size: 14.5px; }

.bh-18 { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border: 2px solid var(--cl-accent); border-radius: 50%; color: var(--cl-accent); font-weight: 900; font-size: 12px; }
