/* ==========================================================================
   BloodBeyond — Elementor widget styles
   Every value here is a default; the widget controls override via inline CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared pieces
   -------------------------------------------------------------------------- */

.bb-arrow {
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}

.bb-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 36px 20px;
	text-align: center;
	color: var(--bb-muted);
	background: var(--bb-surface-2);
	border-radius: var(--bb-radius);
}

.bb-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(120% 120% at 20% 10%, color-mix(in srgb, var(--bb-placeholder, #8c1d1d) 36%, #fff) 0%, transparent 60%),
		linear-gradient(135deg, color-mix(in srgb, var(--bb-placeholder, #8c1d1d) 18%, #fff), color-mix(in srgb, var(--bb-placeholder, #8c1d1d) 42%, #fff));
}

/* Section header (shared by the slider, the heading widget and video grid) */
.bb-section__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	border-bottom-color: transparent;
}

.bb-section__titles {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bb-section__title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	letter-spacing: -0.025em;
}

.bb-section__sub {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--bb-muted);
}

.bb-section__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.bb-section__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 15px;
	font-weight: 600;
	color: var(--bb-primary);
	white-space: nowrap;
}

.bb-section__more:hover .bb-arrow,
.bb-section__more:focus-visible .bb-arrow {
	transform: translateX(3px);
}

@media (max-width: 560px) {
	.bb-section__header--stack {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Filters bar */
.bb-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-bottom: 18px;
}

.bb-filters__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.bb-filters__field {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bb-filters__label {
	font-size: 14px;
	color: var(--bb-muted);
	white-space: nowrap;
}

.bb-filters__count {
	margin: 0;
	font-size: 14px;
	color: var(--bb-muted);
}

.bb-filters__select,
.bb-filters .bb-filters__search {
	height: 40px;
	margin: 0;
	padding: 0 14px;
	font: inherit;
	font-size: 14px;
	color: var(--bb-ink);
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius-sm);
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bb-filters .bb-filters__search {
	cursor: text;
	width: auto;
	min-width: 180px;
}

.bb-filters__select:focus,
.bb-filters .bb-filters__search:focus {
	border-color: var(--bb-primary);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bb-primary) 14%, transparent);
}

/* Loading state for any AJAX-refreshed container */
[aria-busy="true"] {
	position: relative;
	opacity: 0.55;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.bb-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 420px;
	padding: 72px 0;
	overflow: hidden;
	background: var(--bb-primary-darker) center / cover no-repeat;
	isolation: isolate;
}

/* Puts the hero copy on the same left edge as the header and every section
   below it, instead of indenting it from the viewport edge. */
.bb-hero__container {
	--bb-hero-container: 1180px;
	position: relative;
	width: 100%;
	max-width: calc(var(--bb-hero-container) + 2 * var(--bb-gutter));
	margin-inline: auto;
	padding-inline: var(--bb-gutter);
}

.bb-hero--full .bb-hero__container {
	max-width: none;
	padding-inline: 0;
}

.bb-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(60, 8, 10, 0.72), rgba(60, 8, 10, 0.25));
}

.bb-hero__inner {
	width: 100%;
	max-width: 60%;
}

.bb-hero__title {
	margin: 0;
	font-size: clamp(30px, 4.3vw, 46px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #fff;
	text-wrap: balance;
}

.bb-hero__subtitle {
	margin: 16px 0 0;
	max-width: 48ch;
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.bb-hero__search {
	--bb-search-height: 56px;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin-top: 26px;
	padding: 0 8px 0 22px;
	background: #fff;
	border-radius: var(--bb-radius-pill);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Hello Elementor's reset targets `input[type=search]` — specificity (0,1,1),
   which outranks a lone class — so the field needs the extra selector weight
   to sit flush inside the pill instead of drawing its own bordered box. */
.bb-hero__search .bb-hero__input {
	flex: 1;
	min-width: 0;
	width: auto;
	height: var(--bb-search-height);
	margin: 0;
	padding: 0;
	font: inherit;
	font-size: 16px;
	line-height: var(--bb-search-height);
	color: var(--bb-ink);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	transition: none;
	appearance: none;
	-webkit-appearance: none;
}

/* The focus ring belongs on the pill, not on the borderless field inside it. */
.bb-hero__search .bb-hero__input:focus,
.bb-hero__search .bb-hero__input:focus-visible {
	border: 0;
	outline: none;
	box-shadow: none;
}

/* `outline` rather than `box-shadow`: the shadow is user-configurable through
   the widget's control, and outline follows the pill's border-radius anyway. */
.bb-hero__search:focus-within {
	outline: 3px solid rgba(255, 255, 255, 0.7);
	outline-offset: 2px;
}

.bb-hero__input::-webkit-search-cancel-button,
.bb-hero__input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.bb-hero__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: calc(var(--bb-search-height) - 14px);
	min-width: calc(var(--bb-search-height) - 14px);
	padding: 0 12px;
	font: inherit;
	font-weight: 600;
	color: var(--bb-primary);
	background: transparent;
	border: 0;
	border-radius: var(--bb-radius-pill);
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.bb-hero__submit:hover,
.bb-hero__submit:focus-visible {
	background: var(--bb-primary-soft);
}

.bb-hero__submit--text,
.bb-hero__submit--both {
	padding-inline: 20px;
}

@media (max-width: 880px) {
	.bb-hero {
		padding-block: 52px;
	}

	.bb-hero__inner {
		max-width: 100% !important;
	}
}

@media (max-width: 480px) {
	.bb-hero {
		padding-block: 40px;
	}

	.bb-hero__search {
		padding-left: 16px;
	}

	.bb-hero__input {
		font-size: 15px;
	}
}

/* --------------------------------------------------------------------------
   Explore topics
   -------------------------------------------------------------------------- */

.bb-topics__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	row-gap: 24px;
	column-gap: 24px;
}

.bb-topic {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	min-height: 168px;
	padding: 18px 20px 24px;
	border-radius: var(--bb-radius);
	overflow: hidden;
	color: var(--bb-ink);
	isolation: isolate;
	transition: all 0.25s ease;
}

.bb-topic::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--bb-topic-bg, var(--bb-surface-3));
	opacity: var(--bb-topic-bg-opacity, 1);
}

.bb-site .bb-topic,
.bb-site .bb-topic:hover,
.bb-site .bb-topic:focus-visible {
	color: var(--bb-ink);
	transform: translateY(-3px);
	box-shadow: var(--bb-shadow);
}

.bb-topic__image {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 48%;
	height: 72%;
	object-fit: contain;
	object-position: top right;
	opacity: 0.5;
	mask-image: linear-gradient(to bottom left, #000 30%, transparent 88%);
	-webkit-mask-image: linear-gradient(to bottom left, #000 30%, transparent 88%);
	pointer-events: none;
}

.bb-topic__number {
	position: relative;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	color: var(--bb-topic-accent, var(--bb-primary));
	opacity: 0.75;
}

.bb-topic__row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 80%;
	margin-top: auto;
}

.bb-topic__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: var(--bb-topic-accent, var(--bb-primary));
}

.bb-topic__icon svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.bb-topic__icon i {
	font-size: 28px;
}

.bb-topic__text {
	min-width: 0;
}

.bb-topic__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.bb-topic__count {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	color: var(--bb-muted);
}

@media (max-width: 880px) {
	.bb-topics__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.bb-topics__grid {
		grid-template-columns: 1fr;
	}

	.bb-topic {
		min-height: 128px;
	}

	.bb-topic__row {
		max-width: 72%;
	}

	.bb-topic__image {
		width: 38%;
	}
}

/* --------------------------------------------------------------------------
   Article card
   -------------------------------------------------------------------------- */

.bb-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--bb-surface);
	border: 1px solid var(--bb-border-soft);
	border-radius: var(--bb-radius);
	overflow: hidden;
	transition: all 0.25s ease;
}

.bb-card:hover,
.bb-card:focus-within {
	box-shadow: var(--bb-shadow-lg);
	transform: translateY(-3px);
}

.bb-card__media {
	display: block;
	aspect-ratio: 1.6;
	overflow: hidden;
	background: var(--bb-surface-3);
	flex: 0 0 auto;
}

.bb-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.bb-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	padding: 18px 18px 20px;
}

.bb-card__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.bb-card__title a {
	color: inherit;
}

.bb-card__title a:hover,
.bb-card__title a:focus-visible {
	color: var(--bb-accent, var(--bb-primary));
}

.bb-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--bb-ink-2);
}

.bb-card__category {
	align-self: flex-start;
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--bb-accent, var(--bb-primary));
}

.bb-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--bb-muted);
}

.bb-card__meta > * + *::before {
	content: "·";
	margin-right: 10px;
	color: var(--bb-faint);
}

/* --------------------------------------------------------------------------
   Article row
   -------------------------------------------------------------------------- */

.bb-row {
	--bb-row-media: 150px;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 16px;
	background: var(--bb-surface);
	border: 1px solid var(--bb-border-soft);
	border-radius: var(--bb-radius);
	transition: all 0.25s ease;
}

.bb-row:hover,
.bb-row:focus-within {
	box-shadow: var(--bb-shadow);
	border-color: var(--bb-border);
}

.bb-row__media {
	flex: 0 0 var(--bb-row-media);
	width: var(--bb-row-media);
	aspect-ratio: 1;
	border-radius: 10px;
	overflow: hidden;
	background: var(--bb-surface-3);
}

.bb-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.bb-row__body {
	flex: 1;
	min-width: 0;
}

.bb-row__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.bb-row__title a {
	color: inherit;
}

.bb-row__title a:hover,
.bb-row__title a:focus-visible {
	color: var(--bb-accent, var(--bb-primary));
}

.bb-row__category {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bb-accent, var(--bb-primary));
}

.bb-row__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	font-size: 13px;
	color: var(--bb-muted);
}

.bb-row__meta > * + *::before {
	content: "·";
	margin-right: 10px;
	color: var(--bb-faint);
}

.bb-row__excerpt {
	margin: 10px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--bb-ink-2);
}

.bb-row__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bb-primary);
}

.bb-row__more:hover .bb-arrow,
.bb-row__more:focus-visible .bb-arrow {
	transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Post list
   -------------------------------------------------------------------------- */

.bb-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.bb-postlist--card .bb-list {
	gap: 24px;
}

.bb-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.bb-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bb-ink-2);
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius-sm);
	transition: all 0.18s ease;
}

.bb-pagination .page-numbers:hover,
.bb-pagination .page-numbers:focus-visible {
	border-color: var(--bb-primary);
	color: var(--bb-primary);
}

.bb-pagination .page-numbers.current {
	color: #fff;
	background: var(--bb-primary);
	border-color: var(--bb-primary);
}

.bb-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

.bb-pagination__more {
	padding: 13px 28px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--bb-primary);
	border: 0;
	border-radius: var(--bb-radius-sm);
	cursor: pointer;
	transition: all 0.18s ease;
}

.bb-pagination__more:hover {
	background: var(--bb-primary-dark);
}

.bb-pagination__more[disabled] {
	opacity: 0.55;
	cursor: default;
}

@media (max-width: 560px) {
	.bb-postlist--stack .bb-row {
		flex-direction: column !important;
	}

	.bb-postlist--stack .bb-row__media {
		width: 100%;
		flex-basis: auto;
		aspect-ratio: 1.7;
	}

	.bb-postlist:not(.bb-postlist--stack) .bb-row {
		--bb-row-media: 96px;
		gap: 14px;
		padding: 12px;
	}

	.bb-postlist:not(.bb-postlist--stack) .bb-row__title {
		font-size: 15.5px;
	}

	.bb-postlist:not(.bb-postlist--stack) .bb-row__excerpt {
		font-size: 13.5px;
	}
}

/* --------------------------------------------------------------------------
   Slider
   -------------------------------------------------------------------------- */

.bb-articles {
	position: relative;
}

.bb-slider {
	--bb-slide-gap: 24px;
	--bb-per-view: 3;
	--bb-arrow-offset: 8px;
	position: relative;
}

.bb-slider__viewport {
	overflow: hidden;
}

.bb-slider__track {
	display: flex;
	gap: var(--bb-slide-gap);
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.bb-slider__track.is-dragging {
	transition: none;
	cursor: grabbing;
}

.bb-slider__track > * {
	flex: 0 0 calc((100% - (var(--bb-per-view) - 1) * var(--bb-slide-gap)) / var(--bb-per-view));
	min-width: 0;
}

.bb-slider__track > .bb-empty {
	flex-basis: 100%;
}

.bb-articles--equal .bb-slider__track {
	align-items: stretch;
}

.bb-slider__arrows {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bb-slider__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--bb-ink);
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius-pill);
	cursor: pointer;
	transition: all 0.2s ease;
}

.bb-slider__nav:hover:not([disabled]),
.bb-slider__nav:focus-visible {
	color: #fff;
	background: var(--bb-primary);
	border-color: var(--bb-primary);
}

.bb-slider__nav[disabled] {
	opacity: 0.35;
	cursor: default;
}

.bb-slider__nav svg {
	width: 18px;
	height: 18px;
}

/* Arrow placements */
.bb-articles--arrows-outside .bb-slider,
.bb-articles--arrows-inside .bb-slider {
	--bb-arrow-space: 0px;
}

.bb-articles--arrows-outside .bb-slider__arrows,
.bb-articles--arrows-inside .bb-slider__arrows {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: block;
	pointer-events: none;
}

.bb-articles--arrows-outside .bb-slider__nav,
.bb-articles--arrows-inside .bb-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto;
	box-shadow: var(--bb-shadow);
}

.bb-articles--arrows-outside .bb-slider__nav--prev {
	left: calc(-1 * (44px + var(--bb-arrow-offset)));
}

.bb-articles--arrows-outside .bb-slider__nav--next {
	right: calc(-1 * (44px + var(--bb-arrow-offset)));
}

.bb-articles--arrows-inside .bb-slider__nav--prev {
	left: var(--bb-arrow-offset);
}

.bb-articles--arrows-inside .bb-slider__nav--next {
	right: var(--bb-arrow-offset);
}

.bb-articles--arrows-below .bb-slider__arrows {
	justify-content: center;
	margin-top: 20px;
}

/* On narrow screens, outside arrows would overflow the viewport. */
@media (max-width: 1280px) {
	.bb-articles--arrows-outside .bb-slider__nav--prev {
		left: var(--bb-arrow-offset);
	}

	.bb-articles--arrows-outside .bb-slider__nav--next {
		right: var(--bb-arrow-offset);
	}
}

.bb-slider__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.bb-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	background: #d6d8dc;
	border: 0;
	border-radius: var(--bb-radius-pill);
	cursor: pointer;
	transition: all 0.2s ease;
}

.bb-slider__dot.is-active {
	background: var(--bb-primary);
	transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.bb-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.bb-breadcrumb__item {
	min-width: 0;
}

.bb-breadcrumb a {
	color: var(--bb-primary);
}

.bb-breadcrumb [aria-current] {
	color: var(--bb-ink-2);
}

.bb-breadcrumb__sep {
	color: var(--bb-faint);
	line-height: 1;
}

/* --------------------------------------------------------------------------
   Category header
   -------------------------------------------------------------------------- */

.bb-cathero__banner {
	position: relative;
	height: 200px;
	margin: 16px 0 28px;
	border-radius: var(--bb-radius);
	overflow: hidden;
	background: var(--bb-surface-3);
}

.bb-cathero__banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.bb-cathero__banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: transparent;
	pointer-events: none;
}

.bb-cathero__title {
	font-size: clamp(26px, 4.2vw, 38px);
	font-weight: 800;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.bb-cathero__desc {
	margin: 10px 0 0;
	max-width: 72ch;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--bb-ink-2);
}

.bb-cathero__desc p {
	margin: 0;
}

.bb-cathero__desc p + p {
	margin-top: 0.7em;
}

.bb-cathero__count {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--bb-muted);
}

@media (max-width: 640px) {
	.bb-cathero__banner {
		height: 140px;
		margin-bottom: 20px;
	}
}

/* --------------------------------------------------------------------------
   Video grid
   -------------------------------------------------------------------------- */

.bb-videos__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 10px 0 28px;
}

.bb-videos__titles {
	min-width: 0;
}

.bb-videos__title {
	font-size: clamp(24px, 3.6vw, 34px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.bb-videos__sub {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--bb-ink-2);
}

.bb-subscribe {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	padding: 13px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: #e02020;
	border-radius: var(--bb-radius-sm);
	transition: all 0.2s ease;
}

.bb-subscribe:hover,
.bb-subscribe:focus-visible {
	color: #fff;
	background: #c51a1a;
	transform: translateY(-1px);
}

.bb-videos__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	row-gap: 28px;
	column-gap: 24px;
}

.bb-video {
	min-width: 0;
}

.bb-video__frame {
	position: relative;
	display: block;
	aspect-ratio: 1.78;
	border-radius: 10px;
	overflow: hidden;
	background: #0b0b0d;
}

.bb-video__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.bb-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.92;
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.bb-video__play svg {
	width: 56px;
	height: auto;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.bb-video__play-bg {
	fill: #ff0000;
	transition: fill 0.2s ease;
}

.bb-video__frame:hover .bb-video__play,
.bb-video__frame:focus-visible .bb-video__play {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.06);
}

.bb-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bb-video__title {
	margin: 12px 0 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.bb-video__title a {
	color: inherit;
}

.bb-video__title a:hover,
.bb-video__title a:focus-visible {
	color: var(--bb-primary);
}

@media (max-width: 980px) {
	.bb-videos__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.bb-videos__grid {
		grid-template-columns: 1fr;
	}

	.bb-subscribe {
		width: 100%;
		justify-content: center;
	}
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.bb-about {
	display: flex;
	align-items: center;
	gap: 48px;
}

.bb-about__media {
	flex: 0 0 auto;
	width: 280px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: #e8edf3;
}

.bb-about__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bb-about__body {
	flex: 1;
	min-width: 0;
}

.bb-about__title {
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.bb-about__sub {
	margin: 8px 0 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--bb-primary);
}

.bb-about__bio {
	margin-top: 14px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--bb-ink-2);
}

.bb-about__bio p {
	margin: 0;
}

.bb-about__bio p + p {
	margin-top: 1em;
}

.bb-about__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.bb-about__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--bb-primary);
	background: #f3f4f6;
	border-radius: var(--bb-radius-pill);
	transition: all 0.2s ease;
}

.bb-about__social a:hover,
.bb-about__social a:focus-visible {
	color: #fff;
	background: var(--bb-primary);
}

.bb-about__social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.bb-about__button {
	display: inline-flex;
	align-items: center;
	margin-top: 22px;
	padding: 13px 26px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--bb-primary);
	border-radius: var(--bb-radius-sm);
	transition: all 0.2s ease;
}

.bb-about__button:hover,
.bb-about__button:focus-visible {
	color: #fff;
	background: var(--bb-primary-dark);
}

@media (max-width: 760px) {
	.bb-about--stack {
		flex-direction: column !important;
		text-align: center;
	}

	.bb-about--stack .bb-about__body {
		text-align: inherit;
	}

	.bb-about--stack .bb-about__social {
		justify-content: center;
	}
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.bb-contact {
	--bb-contact-intro: 38%;
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.bb-contact__intro {
	flex: 0 0 var(--bb-contact-intro);
	max-width: var(--bb-contact-intro);
}

.bb-contact--form-only .bb-contact__form {
	max-width: 560px;
	margin-inline: auto;
}

.bb-contact__title {
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.bb-contact__desc {
	margin: 12px 0 0;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--bb-ink-2);
}

.bb-contact__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
	min-width: 0;
}

.bb-contact__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bb-contact__label {
	font-size: 14px;
	font-weight: 500;
	color: var(--bb-ink-2);
}

.bb-contact__form .bb-contact__input,
.bb-contact__form .bb-contact__textarea {
	width: 100%;
	margin: 0;
	padding: 14px 18px;
	font: inherit;
	font-size: 15px;
	color: var(--bb-ink);
	background: #fff;
	border: 1px solid #dde0e4;
	border-radius: var(--bb-radius-sm);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bb-contact__textarea {
	resize: vertical;
	min-height: 120px;
}

.bb-contact__form .bb-contact__input:focus,
.bb-contact__form .bb-contact__textarea:focus {
	border-color: var(--bb-primary);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bb-primary) 12%, transparent);
}

.bb-contact__error {
	display: none;
	margin: 0;
	font-size: 13px;
	color: #d14343;
}

.bb-contact__field.is-error .bb-contact__error {
	display: block;
}

.bb-contact__field.is-error .bb-contact__input,
.bb-contact__field.is-error .bb-contact__textarea {
	border-color: #d14343;
}

.bb-contact__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bb-contact__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin-top: 4px;
}

.bb-contact__submit {
	padding: 15px 30px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--bb-primary-dark);
	border: 0;
	border-radius: var(--bb-radius-sm);
	cursor: pointer;
	transition: all 0.2s ease;
}

.bb-contact__form--full-button .bb-contact__submit {
	width: 100%;
}

.bb-contact__submit:hover:not([disabled]),
.bb-contact__submit:focus-visible {
	background: var(--bb-primary-darker);
}

.bb-contact__submit[disabled] {
	opacity: 0.65;
	cursor: progress;
}

.bb-contact__status {
	margin: 0 0 4px;
	padding: 12px 16px;
	font-size: 14.5px;
	line-height: 1.5;
	border-radius: var(--bb-radius-sm);
}

.bb-contact__status.is-success {
	color: #1e7a4c;
	background: #e7f6ed;
}

.bb-contact__status.is-error {
	color: #a42121;
	background: #fbecec;
}

@media (max-width: 860px) {
	.bb-contact {
		flex-direction: column !important;
		gap: 28px;
	}

	.bb-contact__intro {
		flex-basis: auto;
		max-width: 100%;
	}
}
