/*
 * "ילדים בדרך" - storybook meadow, gold on night-blue.
 * Colours and type come from the site itself: shavis (display), Assistant (text),
 * night #061733, gold #FEBF10, deep gold #976705, parchment #F2DAA9.
 */
@font-face {
	font-family: "bk-shavis";
	src: url("https://baderech.co.il/wp-content/uploads/2025/03/shavis-regular-fm-1.woff") format("woff");
	font-weight: 400;
	font-display: swap;
}

.bk-wrap {
	--bk-night: #061733;
	--bk-night-2: #0e2a52;
	--bk-gold: #febf10;
	--bk-gold-soft: #ffe08a;
	--bk-gold-deep: #976705;
	--bk-parch: #fbf4e4;
	--bk-parch-2: #f2daa9;
	--bk-meadow: #4f7f3a;
	--bk-meadow-soft: #e6f0dc;
	--bk-ink: #1b2236;
	--bk-muted: #6b6f7c;
	--bk-line: #efe4cc;
	--bk-radius: 18px;
	--bk-display: "bk-shavis", shavis, "Open Sans Hebrew", "Assistant", sans-serif;
	--bk-text: "Assistant", "Heebo", Arial, sans-serif;
	font-family: var(--bk-text);
	color: var(--bk-ink);
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px 120px;
	box-sizing: border-box;
}
.bk-wrap *, .bk-wrap *::before, .bk-wrap *::after { box-sizing: border-box; }
.bk-wrap h1, .bk-wrap h2, .bk-wrap h3, .bk-wrap p { margin: 0; padding: 0; letter-spacing: 0; text-transform: none; }
.bk-wrap button { font-family: inherit; text-transform: none; letter-spacing: 0; line-height: 1.2; min-height: 0; box-shadow: none; }
.bk-ico { display: block; flex: none; }
.bk-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Theme spacing ----------
   Woodmart pads the content area (40px) and, on phones, a header .container leaks a 27px
   bottom margin. On the story pages the banner should sit right under the site header. */
body.bk-has-hero .wd-content-layout { padding-top: 0 !important; }
body.bk-has-hero .whb-header .container { margin-bottom: 0 !important; }
body:has(.bk-hero) .wd-content-layout { padding-top: 0 !important; }
body:has(.bk-hero) .whb-header .container { margin-bottom: 0 !important; }

/* The site's floating chat button moves up while the player is open, instead of hiding under it. */
body.bk-player-on .chaty-widget { transform: translateY(calc(-1 * var(--bk-player-h, 120px))); }
.chaty-widget { transition: transform .3s; }

/* ---------- Hero ---------- */
.bk-hero {
	position: relative;
	/* Edge to edge on any container width. --bk-sbw (set by bk.js) removes the scrollbar
	   so 100vw never causes a sideways scroll. */
	width: calc(100vw - var(--bk-sbw, 0px));
	margin: 0 0 8px;
	margin-inline-start: calc(50% - (100vw - var(--bk-sbw, 0px)) / 2);
	height: clamp(190px, 19.8vw, 380px);
	overflow: hidden;
	background: linear-gradient(#bfe3f2, #e9f4d8);
}
.bk-hero-img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: 12% 40%; display: block;
}
.bk-hero-text {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
	padding-top: clamp(14px, 4vw, 36px);
	text-align: center; pointer-events: none;
}
.bk-hero-title {
	font-family: var(--bk-display); font-weight: 400;
	font-size: clamp(38px, 5.2vw, 84px); line-height: 1;
	color: #fff;
	text-shadow: 0 2px 0 #3d6b35, 0 0 14px rgba(24, 58, 26, .6), 0 6px 24px rgba(24, 58, 26, .45);
}
.bk-hero-tagline {
	margin-top: 4px !important;
	font-weight: 600; font-size: clamp(13px, 1.1vw, 18px);
	color: #fff;
	text-shadow: 0 1px 2px rgba(30, 60, 30, .6), 0 0 14px rgba(30, 60, 30, .4);
}
.bk-hero-sub {
	margin-top: 6px !important;
	font-weight: 800; font-size: clamp(16px, 1.7vw, 28px);
	color: #fff;
	text-shadow: 0 1px 2px rgba(30, 60, 30, .55), 0 0 18px rgba(30, 60, 30, .35);
}

/* ---------- Tabs ---------- */
/* Soft gold, the site's own accent (client's pick, 13.10): blends with the pastel cards
   instead of the heavy navy pill. Lighter weight on request ("לעדן את הגופן"). */
.bk-tabs {
	display: flex; gap: 6px; padding: 6px;
	margin: 0 auto 22px; max-width: 420px;
	background: #fdf8ea; border: 1px solid #f2e3b5; border-radius: 999px;
}
.bk-tab {
	flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 14px; border-radius: 999px;
	color: #8a6a1c; font-weight: 600; font-size: 16px; text-decoration: none;
	transition: background .2s, color .2s;
}
.bk-tab .bk-ico { width: 20px; height: 20px; }
.bk-tab:hover { color: #5e470d; }
.bk-tab.is-active { background: #f7cf5e; color: #3d2c05; box-shadow: 0 6px 16px rgba(214, 165, 30, .3); }

/* ---------- Join ---------- */
.bk-join {
	position: relative; overflow: hidden;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
	margin-bottom: 24px; padding: 22px 26px;
	color: #e9eefa;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(254, 191, 16, .18), transparent 55%),
		linear-gradient(135deg, var(--bk-night) 0%, var(--bk-night-2) 100%);
	border-radius: 22px;
	box-shadow: 0 14px 34px rgba(6, 23, 51, .22);
	scroll-margin-top: 120px;
}
.bk-join-stars {
	position: absolute; inset: 0; pointer-events: none; opacity: .7;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 30%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 26% 72%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 44% 18%, var(--bk-gold-soft) 50%, transparent 51%),
		radial-gradient(1px 1px at 63% 64%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 81% 26%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 92% 78%, var(--bk-gold-soft) 50%, transparent 51%);
}
.bk-join-text { position: relative; flex: 1 1 280px; }
.bk-join-title { font-family: var(--bk-display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--bk-gold); }
.bk-join-text p { margin-top: 6px !important; font-size: 16px; color: #cfd7ea; }
.bk-join-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.bk-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 22px; border-radius: 999px;
	font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap;
	transition: transform .15s, box-shadow .15s, background .15s;
}
.bk-btn-gold { background: var(--bk-gold); color: var(--bk-night); box-shadow: 0 6px 18px rgba(254, 191, 16, .35); }
.bk-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(254, 191, 16, .45); color: var(--bk-night); }
.bk-btn-line { border: 1.5px solid rgba(254, 191, 16, .6); color: var(--bk-gold); }
.bk-btn-line:hover { background: rgba(254, 191, 16, .1); color: var(--bk-gold); }

/* Payment failed, grace period still running: a calm amber bar, not the big join banner. */
.bk-notice {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
	margin-bottom: 22px; padding: 14px 18px;
	background: #fff8e6; border: 1.5px solid #f6dc95; border-radius: 18px; color: #4a3a12;
}
.bk-notice p { flex: 1 1 260px; margin: 0 !important; font-size: 16px; line-height: 1.5; }
.bk-notice strong { color: #2b2108; }
.bk-notice-ico {
	flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	background: var(--bk-gold); color: var(--bk-night); font-weight: 900; font-size: 17px;
}
.bk-notice .bk-btn { padding: 10px 18px; font-size: 15px; }

/* ---------- Filters (client reference: three dropdowns + search, topic chips under them) ---------- */
.bk-filters { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 6px 0 22px; }
.bk-filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.bk-select { position: relative; display: inline-flex; margin: 0; }
.bk-wrap .bk-select select {
	-webkit-appearance: none; appearance: none;
	height: 44px; min-width: 150px; margin: 0;
	padding: 0 18px; padding-inline-end: 40px;
	font: 700 15px var(--bk-text); color: var(--bk-ink);
	background: #fff; border: 1.5px solid var(--bk-line); border-radius: 999px;
	box-shadow: none; cursor: pointer; outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.bk-select::after {
	content: ""; position: absolute; inset-inline-end: 18px; top: 50%;
	width: 0; height: 0; margin-top: -3px; pointer-events: none;
	border-style: solid; border-width: 7px 5px 0; border-color: #4a5a3c transparent transparent;
}
.bk-wrap .bk-select select:focus { border-color: var(--bk-gold); box-shadow: 0 0 0 4px rgba(254, 191, 16, .2); }
.bk-wrap .bk-select select.is-set { border-color: var(--bk-gold); background: #fffaf0; }
.bk-search { position: relative; flex: 0 1 300px; display: flex; align-items: center; margin: 0; color: var(--bk-gold-deep); }
.bk-search .bk-ico { position: absolute; inset-inline-end: 14px; width: 19px; height: 19px; pointer-events: none; }
.bk-wrap .bk-search-input {
	width: 100%; height: 44px; margin: 0;
	padding-inline-start: 16px; padding-inline-end: 42px;
	font: 600 15px var(--bk-text); color: var(--bk-ink);
	background: #fff; border: 1.5px solid var(--bk-line); border-radius: 12px;
	box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s;
}
.bk-wrap .bk-search-input:focus { border-color: var(--bk-gold); box-shadow: 0 0 0 4px rgba(254, 191, 16, .2); }
.bk-wrap .bk-search-input::placeholder { color: #9a9486; }

.bk-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bk-wrap .bk-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 18px; border-radius: 999px; cursor: pointer;
	font: 700 15px var(--bk-text); color: var(--bk-ink);
	background: #fff; border: 1.5px solid var(--bk-line);
	transition: background .15s, border-color .15s, transform .15s;
}
.bk-chip-ico { font-size: 16px; line-height: 1; }
.bk-wrap .bk-chip:hover { border-color: var(--bk-parch-2); background: var(--bk-parch); transform: translateY(-1px); }
.bk-wrap .bk-chip.is-active { background: var(--bk-night); border-color: var(--bk-night); color: var(--bk-gold); }
.bk-count { align-self: stretch; text-align: start; font-size: 14px; color: var(--bk-muted); }
.bk-noresults, .bk-empty { text-align: center; color: var(--bk-muted); padding: 40px 0; font-size: 17px; }

/* ---------- Story cards (pastel, three columns) ---------- */
.bk-c1 { --bg: #fbf6e1; --bd: #efe5bd; --btn: #7d9a5c; }
.bk-c2 { --bg: #edf4ea; --bd: #d5e5ce; --btn: #557a4a; }
.bk-c3 { --bg: #eaf1fa; --bd: #d2e0f0; --btn: #4d6b78; }
.bk-c4 { --bg: #fbefe6; --bd: #f0d7c5; --btn: #9a6247; }
.bk-c5 { --bg: #fbebf0; --bd: #f0d2dc; --btn: #a3626f; }
.bk-c6 { --bg: #f2eef9; --bd: #ddd3ee; --btn: #6e5e90; }
.bk-c7 { --bg: #e8f4f1; --bd: #cce5de; --btn: #4f7d72; }

.bk-list {
	list-style: none; margin: 0 !important; padding: 0 !important;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.bk-item {
	position: relative; overflow: hidden;
	display: flex; align-items: center; gap: 14px;
	margin: 0 !important; padding: 14px 16px; min-height: 78px;
	background: var(--bg); border: 1.5px solid var(--bd); border-radius: 16px;
	transition: box-shadow .2s, transform .2s, border-color .2s;
	animation: bk-rise .45s cubic-bezier(.2, .7, .2, 1) both;
}
.bk-item:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(60, 50, 20, .1); }
.bk-item.is-current { border-color: var(--btn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn) 25%, transparent), 0 10px 24px rgba(60, 50, 20, .12); }
.bk-item[hidden], .bk-card[hidden] { display: none; }

.bk-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bk-title { font-family: var(--bk-text); font-weight: 800; font-size: 16px; line-height: 1.35; color: var(--bk-ink); }
.bk-meta { font-size: 13px; font-weight: 600; color: #6d6a60; }
.bk-free { align-self: flex-start; margin-top: 2px; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #7a5304; background: rgba(254, 191, 16, .22); } /* 5.4:1 on every card colour (WCAG AA) */
.bk-encoding { color: #8a4b12; background: #fde7cf; }
.bk-resume { font-size: 12px; font-weight: 800; color: var(--btn); }
.bk-resume[hidden] { display: none; }
.bk-len { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #625e55; font-variant-numeric: tabular-nums; direction: ltr; }
.bk-len .bk-ico { width: 16px; height: 16px; }

.bk-wrap .bk-play,
.bk-wrap .bk-player-toggle {
	flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center;
	background: var(--btn, var(--bk-gold)); color: #fff;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--btn, #febf10) 40%, transparent);
	transition: transform .15s, filter .15s;
}
.bk-wrap .bk-player-toggle { --btn: var(--bk-gold); width: 54px; height: 54px; }
.bk-wrap .bk-play:hover { transform: scale(1.07); filter: brightness(1.06); }
.bk-wrap .bk-play:focus-visible, .bk-wrap .bk-chip:focus-visible, .bk-tab:focus-visible, .bk-wrap .bk-skip:focus-visible, .bk-wrap .bk-select select:focus-visible, .bk-wrap .bk-more:focus-visible { outline: 3px solid var(--bk-night-2); outline-offset: 3px; }
.bk-eq { display: none; }

/* Play points right in every language: media controls are not mirrored for RTL. */
.bk-play-icon {
	display: block; width: 0; height: 0; border-style: solid;
	border-width: 8px 0 8px 13px;
	border-color: transparent transparent transparent #fff;
	margin-left: 3px;
}
.bk-player-toggle .bk-play-icon { border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--bk-night); margin-left: 4px; }
.bk-play-icon.is-pause, .bk-item.is-playing .bk-play-icon {
	width: 14px; height: 16px; border: 0; margin: 0;
	border-inline: 4.5px solid #fff;
}
.bk-player-toggle .bk-play-icon.is-pause { width: 16px; height: 18px; border-inline: 5px solid var(--bk-night); }

.bk-lock {
	flex: none; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center;
	color: color-mix(in srgb, var(--btn) 70%, #888); background: rgba(255, 255, 255, .65); text-decoration: none;
}
.bk-lock .bk-ico { width: 20px; height: 20px; }
.bk-lock:hover { background: #fff; }

.bk-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: transparent; }
.bk-progress i { display: block; height: 100%; width: var(--p, 0%); background: var(--btn); border-start-end-radius: 3px; border-end-end-radius: 3px; transition: width .3s; }

.bk-more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.bk-wrap .bk-more {
	padding: 11px 28px; border: 0; border-radius: 999px; cursor: pointer;
	font: 800 15px var(--bk-text); color: #fff; background: #557a4a;
	box-shadow: 0 6px 16px rgba(85, 122, 74, .3); transition: transform .15s, filter .15s;
}
.bk-wrap .bk-more:hover { transform: translateY(-1px); filter: brightness(1.07); }
.bk-wrap .bk-more[hidden] { display: none; }

/* ---------- Player ---------- */
.bk-player {
	position: fixed; z-index: 99999; inset-inline: 12px; bottom: 12px;
	max-width: 900px; margin: 0 auto;
	color: #fff; background: linear-gradient(135deg, var(--bk-night), var(--bk-night-2));
	border-radius: 22px; box-shadow: 0 18px 44px rgba(6, 23, 51, .4);
	padding: 0 18px 12px; font-family: var(--bk-text);
	animation: bk-slide .35s cubic-bezier(.2, .8, .2, 1);
}
.bk-player[hidden] { display: none; }
.bk-player-seek { margin: 0 -18px 6px; padding: 0 18px; }
.bk-wrap .bk-seek {
	-webkit-appearance: none; appearance: none; display: block;
	width: 100%; height: 18px; margin: 0; padding: 0; background: transparent; cursor: pointer;
	direction: rtl; border: 0;
	--v: 0%;
}
.bk-seek::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(to left, var(--bk-gold) var(--v), rgba(255, 255, 255, .18) var(--v)); }
.bk-seek::-moz-range-track { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.bk-seek::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--bk-gold); }
.bk-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5.5px; border-radius: 50%; background: #fff; border: 3px solid var(--bk-gold); }
.bk-seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--bk-gold); }

.bk-player-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.bk-player-now { min-width: 0; display: flex; flex-direction: column; }
.bk-player-label { font-size: 12px; font-weight: 700; color: var(--bk-gold); }
.bk-player-title { font-weight: 800; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Time runs right to left here (the seek bar is RTL), so "back" sits on the right. */
.bk-player-controls { display: flex; align-items: center; gap: 10px; }
.bk-wrap .bk-skip {
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; color: #dfe6f5; background: rgba(255, 255, 255, .08);
	transition: background .15s, color .15s;
}
.bk-wrap .bk-skip:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.bk-skip .bk-ico { width: 26px; height: 26px; }
.bk-player-side { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.bk-time { font-size: 14px; color: #b9c3da; font-variant-numeric: tabular-nums; direction: ltr; white-space: nowrap; }
.bk-wrap .bk-player-close {
	width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; color: #b9c3da; background: transparent;
}
.bk-wrap .bk-player-close:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.bk-player-close .bk-ico { width: 20px; height: 20px; }

/* ---------- Video cards ("design 2": frame from the video beside the text) ---------- */
.bk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bk-card {
	position: relative; display: flex; align-items: stretch; overflow: hidden; min-height: 150px;
	background: #fff; border: 1.5px solid var(--bd); border-radius: 18px;
	box-shadow: 0 4px 14px rgba(60, 50, 20, .06);
	transition: transform .2s, box-shadow .2s;
	animation: bk-rise .45s cubic-bezier(.2, .7, .2, 1) both;
}
.bk-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(60, 50, 20, .12); }
.bk-wrap .bk-thumb {
	position: relative; order: 2; flex: 0 0 44%; display: block;
	margin: 10px; margin-inline-start: 0; padding: 0; border: 0; border-radius: 12px; cursor: pointer;
	overflow: hidden; text-decoration: none;
	background:
		radial-gradient(90% 70% at 50% 120%, color-mix(in srgb, var(--btn) 70%, #fff), transparent 70%),
		linear-gradient(160deg, var(--bg), color-mix(in srgb, var(--btn) 35%, var(--bg)));
}
.bk-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bk-card:hover .bk-thumb img { transform: scale(1.04); }
.bk-thumb-play {
	position: absolute; left: 10px; bottom: 10px;
	width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center; background: var(--btn);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .3); transition: transform .2s;
}
.bk-card:hover .bk-thumb-play { transform: scale(1.08); }
.bk-thumb-lock { position: absolute; left: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(6, 23, 51, .6); }
.bk-thumb-lock .bk-ico { width: 18px; height: 18px; }
.bk-card-body { order: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 12px; }
.bk-card .bk-title { font-size: 17px; }
.bk-card-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 8px; }
.bk-wave {
	flex: 1; height: 18px; opacity: .55;
	background: repeating-linear-gradient(90deg, var(--btn) 0 2px, transparent 2px 6px);
	clip-path: polygon(0 45%, 6% 30%, 12% 55%, 18% 20%, 24% 60%, 30% 35%, 36% 10%, 42% 50%, 48% 25%, 54% 65%, 60% 30%, 66% 15%, 72% 55%, 78% 35%, 84% 60%, 90% 30%, 96% 50%, 100% 45%, 100% 55%, 96% 60%, 90% 70%, 84% 45%, 78% 65%, 72% 50%, 66% 85%, 60% 70%, 54% 40%, 48% 75%, 42% 55%, 36% 90%, 30% 65%, 24% 45%, 18% 80%, 12% 50%, 6% 70%, 0 55%);
}
.bk-card .bk-len { font-size: 13px; }

.bk-modal {
	position: fixed; inset: 0; z-index: 100000;
	display: grid; place-items: center; padding: 16px;
	background: rgba(4, 12, 28, .82); backdrop-filter: blur(4px);
	animation: bk-fade .2s ease;
}
.bk-modal[hidden] { display: none; }
.bk-modal-box { position: relative; width: min(960px, 100%); }
.bk-modal-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.bk-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bk-modal-title { margin-top: 12px !important; text-align: center; color: #fff; font-weight: 800; font-size: 18px; }
.bk-wrap .bk-modal-close {
	position: absolute; top: -50px; inset-inline-end: 0;
	width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14);
}
.bk-modal-close .bk-ico { width: 22px; height: 22px; }

/* ---------- Motion ---------- */
@keyframes bk-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bk-slide { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bk-eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }
@media (prefers-reduced-motion: reduce) {
	.bk-item, .bk-card, .bk-player, .bk-modal { animation: none; }
	.bk-eq i { animation: none; height: 12px; }
}

/* ---------- Medium screens ---------- */
@media (max-width: 980px) {
	.bk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
	.bk-wrap { padding-bottom: 150px; }
	/* Phones: the boy fills the narrow crop, so the words move under the picture. */
	.bk-hero { height: auto; overflow: visible; background: none; margin-bottom: 14px; }
	.bk-hero-img { position: relative; height: 140px; object-position: 8% 30%; }
	.bk-hero-text { position: static; padding: 2px 16px 0; }
	.bk-hero-title { font-size: 40px; color: var(--bk-gold-deep); text-shadow: none; }
	.bk-hero-sub { font-size: 17px; color: var(--bk-ink); text-shadow: none; margin-top: 2px !important; }
	.bk-hero-tagline { font-size: 14px; color: var(--bk-muted); text-shadow: none; }
	.bk-tab { font-size: 15px; padding: 10px; }
	.bk-join { padding: 18px; border-radius: 18px; }
	.bk-join-title { font-size: 26px; }
	.bk-join-actions, .bk-btn { width: 100%; }
	.bk-filter-row { gap: 8px; }
	.bk-select { flex: 1 1 calc(33% - 8px); }
	.bk-wrap .bk-select select { min-width: 0; width: 100%; height: 42px; padding: 0 12px; padding-inline-end: 28px; font-size: 14px; }
	.bk-select::after { inset-inline-end: 12px; }
	.bk-search { flex: 1 1 100%; }
	.bk-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
	.bk-chips::-webkit-scrollbar { display: none; }
	.bk-wrap .bk-chip { flex: none; padding: 8px 14px; font-size: 14px; }
	.bk-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.bk-item { gap: 12px; padding: 12px 14px; min-height: 70px; }
	.bk-title { font-size: 15px; }
	.bk-wrap .bk-play, .bk-lock { width: 44px; height: 44px; }
	.bk-grid { grid-template-columns: minmax(0, 1fr); }
	.bk-card { flex-direction: column; }
	.bk-wrap .bk-thumb { order: 1; flex: none; aspect-ratio: 16 / 9; margin: 10px 10px 0; margin-inline-start: 10px; }
	.bk-card-body { order: 2; }
	.bk-player { inset-inline: 0; bottom: 0; border-radius: 20px 20px 0 0; padding: 0 14px calc(10px + env(safe-area-inset-bottom)); }
	.bk-player-seek { margin: 0 -14px 4px; padding: 0 14px; }
	.bk-player-row { grid-template-columns: 1fr auto; grid-template-areas: "now side" "controls controls"; gap: 6px 10px; }
	.bk-player-now { grid-area: now; }
	.bk-player-side { grid-area: side; }
	.bk-player-controls { grid-area: controls; justify-content: center; }
	.bk-player-title { font-size: 16px; }
}
