/*
Theme Name: BLACK MAGIC
Theme URI: https://190cresentlakerd.com
Author: BLACK MAGIC
Author URI: https://190cresentlakerd.com
Description: Tema majalah berita game bernuansa fantasi gelap, horor, dan supernatural untuk BLACK MAGIC — Menguak Kabar Game yang Berselimut Misteri. Layout tiga kolom ala koran digital, header logo animasi, SEO bawaan (canonical, meta robots, Open Graph, schema JSON-LD, robots.txt), serta halaman About, Kontak, dan Kebijakan otomatis.
Version: 1.1.1
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blackmagic
Tags: news, blog, three-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   Fonts (self-hosted, latin subset)
   ========================================================================== */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/playfair-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/cinzel-latin-700-normal.woff2") format("woff2"); }

/* ==========================================================================
   Tokens — warna diambil dari logo & favicon BLACK MAGIC
   ========================================================================== */
:root {
	--bm-black: #0b0507;
	--bm-night: #170a0f;
	--bm-ink: #1c1215;
	--bm-text: #2c2225;
	--bm-muted: #6f6266;
	--bm-crimson: #8a0b24;
	--bm-crimson-deep: #5c0414;
	--bm-ruby: #c2183c;
	--bm-rose: #f0c2cc;
	--bm-silver: #cfc7ca;
	--bm-paper: #ffffff;
	--bm-mist: #f7f1f3;
	--bm-line: #e9dee1;

	--bm-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--bm-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--bm-display: "Cinzel", "Playfair Display", Georgia, serif;

	--bm-container: 1200px;
	--bm-gutter: 20px;
	--bm-radius: 4px;
	--bm-stars:
		radial-gradient(1px 1px at 12% 22%, rgba(255, 220, 228, .8) 50%, transparent 51%),
		radial-gradient(1px 1px at 34% 78%, rgba(255, 220, 228, .6) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 58% 18%, rgba(255, 220, 228, .7) 50%, transparent 51%),
		radial-gradient(1px 1px at 76% 64%, rgba(255, 220, 228, .7) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 91% 30%, rgba(232, 40, 82, .9) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 22% 56%, rgba(232, 40, 82, .8) 50%, transparent 51%);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bm-paper);
	color: var(--bm-text);
	font-family: var(--bm-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--bm-crimson); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--bm-ruby); }
:focus-visible { outline: 2px solid var(--bm-ruby); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { color: var(--bm-ink); font-family: var(--bm-serif); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--bm-crimson); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.bm-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--bm-crimson); color: #fff; padding: 10px 16px; border-radius: var(--bm-radius); }
.bm-skip:focus { left: 8px; color: #fff; }

.bm-container { width: 100%; max-width: calc(var(--bm-container) + var(--bm-gutter) * 2); margin: 0 auto; padding: 0 var(--bm-gutter); }
.bm-icon { display: inline-block; flex: none; vertical-align: middle; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.bm-topbar { background: var(--bm-black); color: var(--bm-silver); font-size: 13px; border-bottom: 1px solid rgba(240, 194, 204, .08); }
.bm-topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.bm-topbar__date { font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.bm-topbar__nav { margin-left: auto; }
.bm-topbar__menu { list-style: none; padding: 0; display: flex; gap: 0; }
.bm-topbar__menu li + li::before { content: "·"; color: var(--bm-crimson); margin: 0 10px; }
.bm-topbar__menu a { color: var(--bm-silver); }
.bm-topbar__menu a:hover { color: #fff; }

/* Social icons */
.bm-social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bm-social a { display: inline-flex; align-items: center; justify-content: center; color: inherit; transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
.bm-social--top a { width: 26px; height: 26px; color: var(--bm-silver); }
.bm-social--top a:hover { color: var(--bm-ruby); }

/* ==========================================================================
   Header
   ========================================================================== */
.bm-header {
	position: relative;
	background:
		var(--bm-stars),
		radial-gradient(ellipse 55% 85% at 50% 45%, rgba(138, 11, 36, .62), rgba(92, 4, 20, .25) 55%, transparent 75%),
		linear-gradient(180deg, #0b0507 0%, #13070b 100%);
	background-size: 260px 180px, 260px 180px, 260px 180px, 260px 180px, 260px 180px, 260px 180px, auto, auto;
	text-align: center;
	overflow: hidden;
}
.bm-header::after {
	content: ""; position: absolute; inset: auto 0 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(194, 24, 60, .8), transparent);
}
.bm-header__inner { padding-top: 26px; padding-bottom: 20px; }
.bm-header__title { margin: 0; line-height: 0; font-size: 0; }
.bm-logo { display: inline-block; line-height: 0; }
.bm-logo--header img, .bm-header .custom-logo { width: 550px; max-width: 100%; height: auto; margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(194, 24, 60, .25)); }
.bm-header .custom-logo-link { display: inline-block; }
.bm-header__tagline {
	display: inline-flex; align-items: center; gap: 14px;
	margin: 12px 0 0; color: var(--bm-rose);
	font-family: var(--bm-display); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
}
.bm-header__tagline::before, .bm-header__tagline::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--bm-ruby)); }
.bm-header__tagline::after { transform: scaleX(-1); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.bm-navwrap {
	position: sticky; top: 0; z-index: 60;
	background:
		radial-gradient(ellipse 45% 160% at 50% 0%, rgba(232, 40, 82, .38), transparent 70%),
		linear-gradient(90deg, #140106 0%, #4a030f 16%, #7d0a21 38%, #8f0d27 50%, #7d0a21 62%, #4a030f 84%, #140106 100%);
	border-top: 1px solid rgba(240, 194, 204, .3);
	border-bottom: 1px solid #0b0507;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 26px -16px rgba(11, 5, 7, .85);
}
.bm-navwrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 194, 204, .55), transparent); pointer-events: none; }
.admin-bar .bm-navwrap { top: 32px; }
.bm-nav { display: flex; align-items: center; gap: 8px; position: relative; min-height: 54px; }
.bm-nav::before { content: ""; width: 40px; flex: none; }
.bm-nav__panel { flex: 1; display: flex; justify-content: center; min-width: 0; }
.bm-nav__menu { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.bm-nav__menu > li { position: relative; }
.bm-nav__menu > li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; background: rgba(240, 194, 204, .45); transform: translate(-50%, -50%) rotate(45deg); pointer-events: none; }
.bm-nav__menu a {
	display: block; padding: 17px 10px; color: #f5e4e8;
	font-family: var(--bm-display); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
	position: relative; transition: color .2s ease, background-color .2s ease, text-shadow .2s ease;
}
.bm-nav__menu > li > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--bm-rose), transparent); transform: scaleX(0); transition: transform .25s ease; }
.bm-nav__menu > li > a:hover { color: #fff; text-shadow: 0 0 14px rgba(255, 170, 192, .75); }
.bm-nav__menu > .current-menu-item > a, .bm-nav__menu > .current_page_item > a, .bm-nav__menu > .current-cat > a {
	color: #fff; background: linear-gradient(180deg, rgba(11, 5, 7, .42), rgba(11, 5, 7, .18)); text-shadow: 0 0 14px rgba(255, 170, 192, .6);
}
.bm-nav__menu > li > a:hover::after, .bm-nav__menu > .current-menu-item > a::after, .bm-nav__menu > .current_page_item > a::after { transform: scaleX(1); }
.bm-nav__menu .sub-menu { list-style: none; padding: 6px 0; margin: 0; position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--bm-night); border: 1px solid rgba(240, 194, 204, .14); border-top: 2px solid var(--bm-ruby); box-shadow: 0 14px 30px -12px rgba(11, 5, 7, .7); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.bm-nav__menu li:hover > .sub-menu, .bm-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bm-nav__menu .sub-menu a { padding: 10px 18px; font-size: 12.5px; }
.bm-nav__menu .sub-menu a:hover { background: rgba(194, 24, 60, .25); color: #fff; }
.bm-nav__toggle, .bm-nav__search-toggle { background: none; border: 0; color: #f5e4e8; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px; border-radius: var(--bm-radius); transition: color .2s, background-color .2s; }
.bm-nav__toggle { display: none; font-family: var(--bm-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.bm-nav__search-toggle { flex: none; }
.bm-nav__toggle:hover, .bm-nav__search-toggle:hover, .bm-nav__search-toggle[aria-expanded="true"], .bm-nav__toggle[aria-expanded="true"] { color: #fff; background: rgba(11, 5, 7, .3); }
.bm-searchbar { background: linear-gradient(180deg, #170a0f, #0f0609); border-top: 1px solid rgba(240, 194, 204, .14); padding: 14px 0; }
.bm-searchbar .bm-searchform { border-color: rgba(240, 194, 204, .25); }

/* Search form */
.bm-searchform { display: flex; max-width: 640px; margin: 0 auto; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); background: #fff; overflow: hidden; }
.bm-searchform__input { flex: 1; min-width: 0; border: 0; padding: 12px 16px; color: var(--bm-ink); background: transparent; }
.bm-searchform__input:focus { outline: none; }
.bm-searchform:focus-within { border-color: var(--bm-crimson); box-shadow: 0 0 0 3px rgba(138, 11, 36, .12); }
.bm-searchform__btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--bm-crimson); color: #fff; padding: 0 20px; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.bm-searchform__btn:hover { background: var(--bm-ruby); }

/* ==========================================================================
   Layout
   ========================================================================== */
.bm-main { padding: 34px 0 56px; }
.bm-grid3 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px 300px;
	grid-template-areas: "main mid side";
	gap: 0 32px;
	align-items: start;
}
.bm-grid3 > .bm-col-main { grid-area: main; }
.bm-grid3 > .bm-col-mid { grid-area: mid; border-left: 1px solid var(--bm-line); padding-left: 24px; }
.bm-grid3 > .bm-col-side { grid-area: side; border-left: 1px solid var(--bm-line); padding-left: 24px; }
.bm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 48px; align-items: start; }
.bm-layout > .bm-col-side { position: sticky; top: 90px; }
.admin-bar .bm-layout > .bm-col-side { top: 122px; }
.bm-col-main, .bm-col-mid, .bm-col-side, .bm-article { min-width: 0; }

/* Section title */
.bm-section-title {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 6px; font-family: var(--bm-display); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--bm-ink);
}
.bm-section-title > span { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.bm-section-title > span::before { content: ""; width: 8px; height: 8px; background: var(--bm-ruby); transform: rotate(45deg); flex: none; }
.bm-section-title::after { content: ""; flex: 1; height: 1px; background: var(--bm-line); }
.bm-col-main .bm-section-title { margin-top: 34px; }
.bm-kicker { margin: 0 0 6px; font-family: var(--bm-display); font-weight: 700; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bm-crimson); }

/* Chips & meta */
.bm-chip {
	display: inline-block; margin: 0 0 10px; padding: 4px 9px 3px; border-radius: 2px;
	background: var(--bm-crimson); color: #fff; font-family: var(--bm-sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
}
a.bm-chip:hover { background: var(--bm-ruby); color: #fff; }
.bm-chip--light { background: var(--bm-ruby); }
.bm-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--bm-muted); font-size: 13.5px; }
.bm-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.bm-meta__item .bm-icon { color: var(--bm-crimson); }

/* Image frames */
.bm-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

/* ==========================================================================
   Cards
   ========================================================================== */
/* Hero */
.bm-hero { position: relative; border-radius: var(--bm-radius); overflow: hidden; background: var(--bm-night); aspect-ratio: 16 / 10; }
.bm-hero__link { position: absolute; inset: 0; display: block; }
.bm-hero__link:hover .bm-img { transform: scale(1.03); }
.bm-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 5, 7, .94) 0%, rgba(11, 5, 7, .55) 38%, rgba(11, 5, 7, 0) 70%); }
.bm-hero__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 32px; pointer-events: none; }
.bm-hero__body a { pointer-events: auto; }
.bm-hero__title { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.18; font-weight: 800; }
.bm-hero__title a { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.bm-hero__title a:hover { color: var(--bm-rose); }
.bm-hero .bm-meta { color: rgba(255, 255, 255, .78); }
.bm-hero .bm-meta .bm-icon { color: var(--bm-rose); }

/* List card */
.bm-card-list { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--bm-line); }
.bm-card-list:last-child { border-bottom: 0; }
.bm-card-list__media { display: block; aspect-ratio: 3 / 2; border-radius: var(--bm-radius); overflow: hidden; background: var(--bm-night); align-self: start; }
.bm-card-list__media:hover .bm-img { transform: scale(1.04); }
.bm-card-list__title { font-size: 22px; line-height: 1.3; margin: 0 0 8px; }
.bm-card-list__title a, .bm-card-mini__title a, .bm-card-side__title a, .bm-card-grid__title a { color: var(--bm-ink); background-image: linear-gradient(var(--bm-ruby), var(--bm-ruby)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: color .2s, background-size .3s; }
.bm-card-list__title a:hover, .bm-card-mini__title a:hover, .bm-card-side__title a:hover, .bm-card-grid__title a:hover { color: var(--bm-crimson); background-size: 100% 1px; }
.bm-card-list__excerpt { color: var(--bm-muted); font-size: 15.5px; line-height: 1.55; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Mini card */
.bm-card-mini { padding: 16px 0; border-bottom: 1px solid var(--bm-line); }
.bm-card-mini:last-child { border-bottom: 0; }
.bm-card-mini__title { font-size: 16px; line-height: 1.35; margin: 0 0 10px; }
.bm-card-mini__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: start; }
.bm-card-mini__media { display: block; aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--bm-night); }
.bm-card-mini__excerpt { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--bm-muted); }

/* Side card */
.bm-card-side { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bm-line); align-items: start; }
.bm-card-side:last-child { border-bottom: 0; }
.bm-card-side__title { font-size: 15.5px; line-height: 1.35; margin: 0 0 6px; }
.bm-card-side__date { font-size: 12.5px; color: var(--bm-muted); }
.bm-card-side__media { display: block; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: var(--bm-night); }

/* Grid card (related) */
.bm-related { margin-top: 44px; }
.bm-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 16px; }
.bm-card-grid__media { display: block; aspect-ratio: 3 / 2; border-radius: var(--bm-radius); overflow: hidden; margin-bottom: 10px; background: var(--bm-night); }
.bm-card-grid__media:hover .bm-img { transform: scale(1.04); }
.bm-card-grid__title { font-size: 17px; line-height: 1.35; margin: 0 0 6px; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
.bm-col-side > * + * { margin-top: 30px; }
.bm-aboutbox {
	position: relative; text-align: center; color: #e2d6da; padding: 28px 22px 24px; border-radius: 6px; overflow: hidden;
	background: var(--bm-stars), radial-gradient(ellipse 90% 70% at 50% 0%, rgba(138, 11, 36, .75), transparent 70%), var(--bm-night);
	background-size: 200px 160px, 200px 160px, 200px 160px, 200px 160px, 200px 160px, 200px 160px, auto, auto;
	border: 1px solid rgba(194, 24, 60, .35);
}
.bm-aboutbox__crystal { width: 72px; height: 72px; margin: 0 auto 12px; filter: drop-shadow(0 6px 18px rgba(194, 24, 60, .55)); border-radius: 14px; }
.bm-aboutbox__title { margin: 0 0 8px; font-family: var(--bm-display); font-weight: 700; font-size: 20px; letter-spacing: .14em; color: #fff; }
.bm-aboutbox__text { font-size: 14px; line-height: 1.6; margin: 0 0 16px; color: #d9cbd0; }
.bm-social--box { justify-content: center; margin-bottom: 18px; }
.bm-social--box a, .bm-social--footer a, .bm-social--inline a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(240, 194, 204, .35); color: var(--bm-rose); }
.bm-social--box a:hover, .bm-social--footer a:hover { background: var(--bm-ruby); border-color: var(--bm-ruby); color: #fff; transform: translateY(-2px); }
.bm-aboutbox .bm-btn--ghost { color: var(--bm-rose); border-color: rgba(240, 194, 204, .5); }
.bm-aboutbox .bm-btn--ghost:hover { background: var(--bm-rose); color: var(--bm-night); }
.bm-adslot { text-align: center; }
.bm-linklist { list-style: none; padding: 0; margin: 8px 0 0; }
.bm-linklist li { border-bottom: 1px solid var(--bm-line); }
.bm-linklist a { display: flex; justify-content: space-between; padding: 11px 0; color: var(--bm-ink); font-weight: 600; }
.bm-linklist a::after { content: "→"; color: var(--bm-ruby); transition: transform .2s; }
.bm-linklist a:hover { color: var(--bm-crimson); }
.bm-linklist a:hover::after { transform: translateX(4px); }
.bm-widget ul { list-style: none; padding: 0; }
.bm-widget li { padding: 8px 0; border-bottom: 1px solid var(--bm-line); }
.bm-widget li a { color: var(--bm-ink); }
.bm-widget li a:hover { color: var(--bm-crimson); }


/* Block widgets (Gutenberg) inside sidebars */
.bm-col-side .wp-block-heading, .bm-col-side .wp-block-search__label, .bm-col-side .widget-title {
	display: flex; align-items: center; gap: 9px; margin: 0 0 10px;
	font-family: var(--bm-display); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--bm-ink); line-height: 1.3;
}
.bm-col-side .wp-block-heading::before, .bm-col-side .wp-block-search__label::before { content: ""; width: 8px; height: 8px; background: var(--bm-ruby); transform: rotate(45deg); flex: none; }
.bm-col-side .wp-block-heading::after, .bm-col-side .wp-block-search__label::after { content: ""; flex: 1; height: 1px; background: var(--bm-line); margin-left: 3px; }
.bm-col-side .wp-block-search__inside-wrapper { display: flex; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); overflow: hidden; background: #fff; padding: 0; }
.bm-col-side .wp-block-search__input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; background: transparent; border-radius: 0; }
.bm-col-side .wp-block-search__input:focus { outline: none; }
.bm-col-side .wp-block-search__button { margin: 0; border: 0; border-radius: 0; background: var(--bm-crimson); color: #fff; padding: 0 16px; font-weight: 700; cursor: pointer; }
.bm-col-side .wp-block-search__button:hover { background: var(--bm-ruby); }
.bm-col-side .wp-block-latest-comments, .bm-col-side ol { list-style: none; padding: 0; margin: 0; }
.bm-col-side .wp-block-group > * + * { margin-top: 0; }

/* Buttons */
.bm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 3px; border: 1px solid var(--bm-crimson);
	background: var(--bm-crimson); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.bm-btn:hover { background: var(--bm-ruby); border-color: var(--bm-ruby); color: #fff; }
.bm-btn--ghost { background: transparent; color: var(--bm-crimson); }
.bm-btn--ghost:hover { background: var(--bm-crimson); color: #fff; }

/* ==========================================================================
   Article / Page
   ========================================================================== */
.bm-breadcrumbs { font-size: 13px; color: var(--bm-muted); margin-bottom: 16px; }
.bm-breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.bm-breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.bm-breadcrumbs a { color: var(--bm-muted); }
.bm-breadcrumbs a:hover { color: var(--bm-crimson); }
.bm-breadcrumbs [aria-current] span { color: var(--bm-ink); font-weight: 600; }
.bm-breadcrumbs .bm-icon { color: var(--bm-ruby); }

.bm-article__head { padding-bottom: 20px; border-bottom: 1px solid var(--bm-line); margin-bottom: 26px; }
.bm-article__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.14; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.bm-article__dek { font-size: 19px; line-height: 1.55; color: var(--bm-muted); margin: 0 0 14px; }
.bm-article__updated { margin: 0; font-size: 13.5px; color: var(--bm-muted); }
.bm-article__figure { margin: 0 0 28px; }
.bm-article__figure img { border-radius: var(--bm-radius); width: 100%; }
.bm-article__figure figcaption { font-size: 13.5px; color: var(--bm-muted); margin-top: 8px; }
.bm-article--page .bm-article__head { border-bottom: 0; position: relative; padding-bottom: 22px; }
.bm-article--page .bm-article__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 3px; background: linear-gradient(90deg, var(--bm-crimson), var(--bm-ruby)); }

/* Source badge (resmi vs. dugaan) */
.bm-badge { margin: 0 0 24px; padding: 12px 16px; border-left: 4px solid; border-radius: 0 var(--bm-radius) var(--bm-radius) 0; font-size: 15px; }
.bm-badge--official { background: #eef6f1; border-color: #1f7a4a; color: #194f33; }
.bm-badge--rumor { background: #fbf2e5; border-color: #b46a00; color: #643a00; }

/* Content typography */
.bm-content { font-size: 18px; line-height: 1.78; color: var(--bm-text); }
.bm-content > * { margin-top: 0; margin-bottom: 1.25em; }
.bm-content h2 { font-size: 28px; margin: 1.7em 0 .55em; }
.bm-content h3 { font-size: 22px; margin: 1.5em 0 .5em; }
.bm-content h4 { font-size: 19px; margin: 1.4em 0 .5em; }
.bm-content a { text-decoration: underline; text-decoration-color: rgba(194, 24, 60, .4); text-underline-offset: 3px; }
.bm-content a:hover { text-decoration-color: var(--bm-ruby); }
.bm-content ul, .bm-content ol { padding-left: 1.3em; }
.bm-content li { margin: .45em 0; }
.bm-content li::marker { color: var(--bm-ruby); }
.bm-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--bm-crimson); background: var(--bm-mist); font-family: var(--bm-serif); font-size: 21px; line-height: 1.55; color: var(--bm-ink); }
.bm-content blockquote p:last-child { margin-bottom: 0; }
.bm-content img { border-radius: var(--bm-radius); }
.bm-content figure { margin-left: 0; margin-right: 0; }
.bm-content figcaption, .bm-content .wp-element-caption { font-size: 14px; color: var(--bm-muted); text-align: center; margin-top: 8px; }
.bm-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.bm-content th, .bm-content td { border: 1px solid var(--bm-line); padding: 10px 12px; text-align: left; }
.bm-content th { background: var(--bm-mist); }
.bm-content code { background: var(--bm-mist); padding: 2px 6px; border-radius: 3px; font-size: .9em; }
.bm-content hr { border: 0; height: 1px; background: var(--bm-line); margin: 2em 0; }
.bm-content .alignwide { margin-left: -40px; margin-right: -40px; max-width: none; }
.bm-content .aligncenter { margin-left: auto; margin-right: auto; }
.bm-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.bm-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.bm-content iframe { width: 100%; }

/* Article footer */
.bm-article__foot { margin-top: 36px; display: grid; gap: 22px; }
.bm-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bm-tags span { font-family: var(--bm-display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }
.bm-tags a { border: 1px solid var(--bm-line); padding: 4px 12px; border-radius: 20px; font-size: 13.5px; color: var(--bm-ink); }
.bm-tags a:hover { border-color: var(--bm-crimson); color: var(--bm-crimson); }
.bm-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-top: 1px solid var(--bm-line); border-bottom: 1px solid var(--bm-line); }
.bm-share__label { font-family: var(--bm-display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }
.bm-share__btn { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bm-mist); color: var(--bm-ink); border: 0; cursor: pointer; transition: background-color .2s, color .2s; }
.bm-share__btn:hover, .bm-share__copy.is-copied { background: var(--bm-crimson); color: #fff; }
.bm-authorbox { display: flex; gap: 16px; align-items: center; background: var(--bm-mist); padding: 18px 20px; border-radius: 6px; }
.bm-authorbox__avatar { border-radius: 50%; }
.bm-authorbox__name { margin: 0 0 4px; font-family: var(--bm-serif); font-weight: 700; font-size: 18px; }
.bm-authorbox__name a { color: var(--bm-ink); }
.bm-authorbox__bio { margin: 0; color: var(--bm-muted); font-size: 15px; }
.bm-follow { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--bm-line); }
.bm-follow > span { font-family: var(--bm-display); font-weight: 700; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bm-ink); }
.bm-social--inline a { color: var(--bm-crimson); border-color: var(--bm-line); }
.bm-social--inline a:hover { background: var(--bm-crimson); border-color: var(--bm-crimson); color: #fff; }

/* Archive header & notices */
.bm-archive-head { padding-bottom: 18px; border-bottom: 1px solid var(--bm-line); margin-bottom: 4px; }
.bm-archive-head__title { font-size: clamp(28px, 3vw, 36px); margin: 0 0 8px; }
.bm-archive-head__desc { color: var(--bm-muted); }
.bm-archive-head .bm-searchform { margin: 16px 0 0; }
.bm-notice { background: var(--bm-mist); padding: 18px 20px; border-radius: var(--bm-radius); margin-top: 22px; }

/* Category page */
.bm-cathero {
	display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 26px; align-items: start;
	padding: 32px 34px; margin: 0 0 34px; border-radius: 8px; color: #dccfd3; overflow: hidden;
	background: var(--bm-stars), radial-gradient(ellipse 60% 120% at 0% 0%, rgba(138, 11, 36, .8), transparent 70%), linear-gradient(135deg, #170a0f, #0b0507);
	background-size: 240px 180px, 240px 180px, 240px 180px, 240px 180px, 240px 180px, 240px 180px, auto, auto;
	border: 1px solid rgba(194, 24, 60, .35);
}
.bm-cathero__crystal { width: 84px; height: 84px; border-radius: 18px; filter: drop-shadow(0 8px 24px rgba(194, 24, 60, .6)); }
.bm-cathero .bm-kicker { color: var(--bm-rose); }
.bm-cathero__title { color: #fff; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin: 0 0 14px; }
.bm-cathero__desc { max-width: 860px; }
.bm-cathero__desc p { margin: 0 0 .8em; font-size: 16.5px; line-height: 1.7; }
.bm-cathero__count { margin: 6px 0 0; font-family: var(--bm-display); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bm-rose); }
.bm-notice--cat { margin-top: 18px; }
.bm-notice--cat p { margin-bottom: .6em; }
.bm-catchips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bm-catchips a { display: inline-block; padding: 7px 14px; border: 1px solid var(--bm-line); border-radius: 999px; background: #fff; color: var(--bm-ink); font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.bm-catchips a:hover, .bm-catchips .current-cat a { border-color: var(--bm-crimson); color: var(--bm-crimson); }
.bm-catchips--dark { justify-content: center; }
.bm-catchips--dark a { background: rgba(11, 5, 7, .4); border-color: rgba(240, 194, 204, .28); color: var(--bm-rose); }
.bm-catchips--dark a:hover { background: var(--bm-ruby); border-color: var(--bm-ruby); color: #fff; }
.bm-empty-state__cats-title { margin: 30px 0 0; font-family: var(--bm-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.bm-linklist .current-cat a { color: var(--bm-crimson); }
.bm-footer__menu .current-cat a { color: #fff; }

/* Pagination */
.bm-pagination { margin-top: 30px; }
.bm-pagination ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid var(--bm-line); border-radius: 3px; color: var(--bm-ink); font-weight: 600; }
.bm-pagination a.page-numbers:hover { border-color: var(--bm-crimson); color: var(--bm-crimson); }
.bm-pagination .current { background: var(--bm-crimson); border-color: var(--bm-crimson); color: #fff; }

/* Empty state */
.bm-empty-state {
	text-align: center; color: #dccfd3; padding: 56px 36px 40px; border-radius: 8px; overflow: hidden;
	background: var(--bm-stars), radial-gradient(ellipse 70% 60% at 50% 18%, rgba(138, 11, 36, .78), transparent 72%), linear-gradient(180deg, #170a0f, #0b0507);
	background-size: 240px 180px, 240px 180px, 240px 180px, 240px 180px, 240px 180px, 240px 180px, auto, auto;
	border: 1px solid rgba(194, 24, 60, .35);
}
.bm-empty-state__crystal { width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 22px; filter: drop-shadow(0 10px 30px rgba(194, 24, 60, .6)); animation: bm-float 5s ease-in-out infinite; }
.bm-empty-state .bm-kicker { color: var(--bm-rose); }
.bm-empty-state__title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 14px; }
.bm-empty-state__text { max-width: 560px; margin: 0 auto 24px; font-size: 17px; line-height: 1.7; }
.bm-empty-state__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 36px; }
.bm-empty-state .bm-btn--ghost { color: var(--bm-rose); border-color: rgba(240, 194, 204, .5); }
.bm-empty-state .bm-btn--ghost:hover { background: var(--bm-rose); color: var(--bm-night); border-color: var(--bm-rose); }
.bm-pillars { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.bm-pillars li { padding: 16px 18px; border: 1px solid rgba(240, 194, 204, .16); border-radius: 6px; background: rgba(11, 5, 7, .35); }
.bm-pillars strong { display: block; font-family: var(--bm-display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--bm-rose); margin-bottom: 6px; }
.bm-pillars span { font-size: 14.5px; line-height: 1.5; }
@keyframes bm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 404 */
.bm-404 { text-align: center; max-width: 640px; margin: 20px auto; }
.bm-404 img { margin: 0 auto 16px; border-radius: 22px; filter: drop-shadow(0 10px 26px rgba(194, 24, 60, .4)); }
.bm-404__title { font-size: clamp(30px, 4vw, 44px); }
.bm-404 .bm-searchform { margin: 24px auto; }

/* Comments */
.bm-comments { margin-top: 44px; }
.bm-comments__list { padding-left: 0; list-style: none; }
.bm-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--bm-line); }
.bm-comments input:not([type="submit"]):not([type="checkbox"]), .bm-comments textarea { width: 100%; border: 1px solid var(--bm-line); border-radius: 3px; padding: 10px 12px; }
.bm-comments .submit { background: var(--bm-crimson); color: #fff; border: 0; padding: 12px 22px; border-radius: 3px; font-weight: 700; cursor: pointer; }

/* Contact Form 7 */
.wpcf7 form { background: var(--bm-mist); border: 1px solid var(--bm-line); border-radius: 6px; padding: 24px; }
.wpcf7 label { display: block; font-weight: 600; color: var(--bm-ink); font-size: 15.5px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="url"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select {
	width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid var(--bm-line); border-radius: 3px; background: #fff; color: var(--bm-ink); font-size: 16px;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--bm-crimson); box-shadow: 0 0 0 3px rgba(138, 11, 36, .12); }
.wpcf7 textarea { min-height: 160px; }
.wpcf7 input[type="submit"] { background: var(--bm-crimson); color: #fff; border: 0; padding: 12px 26px; border-radius: 3px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--bm-ruby); }

/* ==========================================================================
   Footer
   ========================================================================== */
.bm-footer { position: relative; background: var(--bm-stars), linear-gradient(180deg, #120609, var(--bm-black)); background-size: 280px 200px, 280px 200px, 280px 200px, 280px 200px, 280px 200px, 280px 200px, auto; color: #bfb2b6; font-size: 15px; }
.bm-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--bm-crimson-deep), var(--bm-ruby), var(--bm-crimson-deep)); }
.bm-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 54px; padding-bottom: 38px; }
.bm-logo--footer img { width: 320px; max-width: 100%; }
.bm-footer__slogan { margin: 14px 0 10px; font-family: var(--bm-display); font-weight: 600; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--bm-rose); }
.bm-footer__desc { font-size: 14.5px; line-height: 1.7; margin: 0; max-width: 460px; }
.bm-footer__heading { font-family: var(--bm-display); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 6px 0 18px; padding-bottom: 10px; position: relative; }
.bm-footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--bm-ruby); }
.bm-footer__menu { list-style: none; padding: 0; }
.bm-footer__menu li { margin: 0 0 9px; }
.bm-footer__menu a { color: #d6c9cd; }
.bm-footer__menu a:hover { color: #fff; }
.bm-social--footer { gap: 8px; margin-bottom: 18px; }
.bm-footer__contact { display: flex; align-items: center; gap: 8px; margin: 0; }
.bm-footer__contact .bm-icon { color: var(--bm-ruby); }
.bm-footer__contact a { color: #d6c9cd; }
.bm-footer__contact a:hover { color: #fff; }
.bm-footer__bottom { border-top: 1px solid rgba(240, 194, 204, .1); }
.bm-footer__bottom-inner { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13.5px; }
.bm-footer__bottom p { margin: 0; }
.bm-footer__bottom a { color: #fff; }
.bm-footer__note { color: #8f8186; }
.bm-totop { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bm-crimson); color: #fff; box-shadow: 0 8px 20px -6px rgba(138, 11, 36, .6); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.bm-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.bm-totop:hover { background: var(--bm-ruby); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
	.bm-grid3 { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "main side" "mid side"; }
	.bm-grid3 > .bm-col-mid { border-left: 0; padding-left: 0; margin-top: 34px; }
	.bm-grid3 > .bm-col-mid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
	.bm-grid3 > .bm-col-mid > .bm-section-title { grid-column: 1 / -1; }
	.bm-grid3 > .bm-col-mid .bm-card-mini:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 1199px) {
	.bm-nav { justify-content: space-between; }
	.bm-nav::before { display: none; }
	.bm-nav__toggle { display: inline-flex; }
	.bm-nav__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: linear-gradient(180deg, #170a0f, #0b0507); border-top: 1px solid rgba(240, 194, 204, .18); border-bottom: 3px solid var(--bm-ruby); box-shadow: 0 18px 30px -18px rgba(11, 5, 7, .8); max-height: calc(100vh - 120px); overflow-y: auto; }
	.bm-nav__panel.is-open { display: block; }
	.bm-nav__menu { flex-direction: column; flex-wrap: nowrap; padding: 8px var(--bm-gutter) 14px; }
	.bm-nav__menu > li + li::before { display: none; }
	.bm-nav__menu a { padding: 14px 6px; border-bottom: 1px solid rgba(240, 194, 204, .12); font-size: 13.5px; letter-spacing: .08em; white-space: normal; }
	.bm-nav__menu > .current-menu-item > a, .bm-nav__menu > .current_page_item > a { background: rgba(194, 24, 60, .22); color: var(--bm-rose); }
	.bm-nav__menu > li > a::after { display: none; }
	.bm-nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 14px; }
}
@media (max-width: 900px) {
	.bm-grid3, .bm-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "mid" "side"; }
	.bm-grid3 > .bm-col-side, .bm-layout > .bm-col-side { border-left: 0; padding-left: 0; margin-top: 40px; position: static; }
	.bm-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.bm-footer__brand { grid-column: 1 / -1; }
	.bm-content .alignwide { margin-left: 0; margin-right: 0; }

}
@media (max-width: 782px) {
	.admin-bar .bm-navwrap { top: 46px; }
}
@media (max-width: 640px) {
	:root { --bm-gutter: 16px; }
	body { font-size: 16px; }
	.bm-topbar__nav { display: none; }
	.bm-topbar__inner { justify-content: space-between; }
	.bm-topbar__date { font-size: 12px; }
	.bm-header__inner { padding-top: 20px; padding-bottom: 16px; }
	.bm-header__tagline { font-size: 10px; letter-spacing: .1em; gap: 0; }
	.bm-header__tagline::before, .bm-header__tagline::after { display: none; }
	.bm-main { padding-top: 22px; }
	.bm-hero { aspect-ratio: 4 / 5; }
	.bm-hero__body { padding: 20px; }
	.bm-card-list { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
	.bm-card-list__media { aspect-ratio: 1; }
	.bm-card-list__title { font-size: 17px; }
	.bm-card-list__excerpt { display: none; }
	.bm-card-list .bm-chip { margin-bottom: 6px; font-size: 10px; }
	.bm-grid3 > .bm-col-mid { grid-template-columns: minmax(0, 1fr); }
	.bm-grid3 > .bm-col-mid .bm-card-mini:nth-last-child(2) { border-bottom: 1px solid var(--bm-line); }
	.bm-related__grid { grid-template-columns: minmax(0, 1fr); }
	.bm-content { font-size: 17px; }
	.bm-content h2 { font-size: 24px; }
	.bm-empty-state { padding: 40px 20px 28px; }
	.bm-pillars { grid-template-columns: minmax(0, 1fr); }
	.bm-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.bm-cathero { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 20px; }
	.bm-cathero__crystal { width: 64px; height: 64px; }
	.bm-footer__bottom-inner { flex-direction: column; }
	.bm-authorbox { align-items: flex-start; }
}
@media (max-width: 600px) {
	.admin-bar .bm-navwrap { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
