/*
Theme Name: BoxZone
Theme URI: https://boxzonepromotions.com/
Author: Virtuosite
Author URI: https://virtuosite.co.uk/
Description: Dark, fight-night theme for Box Zone Promotions. Built to work with the Pagelayer page builder: includes Full Width and Canvas page templates, a news-style homepage, breaking-news ticker, ticket buttons and a Customizer panel for event details.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: boxzone
Tags: dark, sports, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--bz-red: #d40d12;
	--bz-red-dark: #9e070b;
	--bz-red-glow: rgba(212, 13, 18, .35);
	--bz-black: #0a0a0b;
	--bz-ink: #121214;
	--bz-panel: #18181b;
	--bz-panel-2: #1f1f23;
	--bz-line: #2a2a2f;
	--bz-text: #e9e9ec;
	--bz-muted: #a1a1aa;
	--bz-white: #ffffff;
	--bz-radius: 6px;
	--bz-container: 1240px;
	--bz-gutter: 20px;
	--bz-font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
	--bz-font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bz-black);
	color: var(--bz-text);
	font-family: var(--bz-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--bz-red); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--bz-white); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--bz-font-head);
	font-weight: 600;
	line-height: 1.15;
	color: var(--bz-white);
	margin: 0 0 .6em;
	letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; }
hr { border: 0; border-top: 1px solid var(--bz-line); margin: 2em 0; }
blockquote {
	margin: 1.5em 0; padding: .5em 0 .5em 1.25em;
	border-left: 4px solid var(--bz-red);
	font-size: 1.15rem; color: var(--bz-white);
}
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
th, td { padding: .7em; border-bottom: 1px solid var(--bz-line); text-align: left; }
th { font-family: var(--bz-font-head); text-transform: uppercase; color: var(--bz-white); }
input, textarea, select {
	font: inherit; color: var(--bz-text); background: var(--bz-panel);
	border: 1px solid var(--bz-line); border-radius: var(--bz-radius); padding: .65em .8em; max-width: 100%;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--bz-red); outline-offset: 1px; }
:focus-visible { outline: 2px solid var(--bz-red); outline-offset: 2px; }

.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;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; display: block;
	left: 8px; top: 8px; z-index: 100000; padding: 12px 20px;
	background: var(--bz-red); color: #fff; font-weight: 700;
}

.bz-container { width: 100%; max-width: var(--bz-container); margin: 0 auto; padding: 0 var(--bz-gutter); }

/* ==========================================================================
   3. Buttons & labels (usable inside Pagelayer via the CSS class field)
   ========================================================================== */
.bz-btn, .wp-block-button__link, button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--bz-font-head); font-weight: 600; font-size: .95rem;
	text-transform: uppercase; letter-spacing: .06em;
	padding: .8em 1.5em; border-radius: var(--bz-radius);
	background: var(--bz-red); color: #fff; border: 2px solid var(--bz-red);
	cursor: pointer; transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.bz-btn:hover, .wp-block-button__link:hover, button:hover, input[type="submit"]:hover {
	background: var(--bz-red-dark); border-color: var(--bz-red-dark); color: #fff;
	box-shadow: 0 6px 24px var(--bz-red-glow); transform: translateY(-1px);
}
.bz-btn svg, button svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.bz-btn { white-space: nowrap; }
.bz-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.bz-btn--ghost:hover { background: #fff; color: var(--bz-black); border-color: #fff; box-shadow: none; }
.bz-btn--sm { padding: .55em 1.05em; font-size: .82rem; }

.bz-tag {
	display: inline-block; background: var(--bz-red); color: #fff;
	font-family: var(--bz-font-head); font-size: .72rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: .08em;
	padding: .25em .65em; border-radius: 3px; line-height: 1.4;
}
.bz-tag:hover { color: #fff; background: var(--bz-red-dark); }

.bz-section-title {
	display: flex; align-items: center; gap: .6em;
	font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em;
	padding-bottom: .65em; margin-bottom: 1.4em;
	border-bottom: 2px solid var(--bz-red);
}
.bz-section-title::before { content: ""; width: 4px; height: 1.1em; background: var(--bz-red); }

/* ==========================================================================
   4. Ticker bar
   ========================================================================== */
.bz-ticker {
	background: var(--bz-red); color: #fff; font-size: .82rem; font-weight: 600;
	display: flex; align-items: stretch; overflow: hidden; height: 36px;
}
.bz-ticker__label {
	flex: 0 0 auto; display: flex; align-items: center; padding: 0 16px;
	background: var(--bz-black); color: #fff;
	font-family: var(--bz-font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
	position: relative; z-index: 2;
}
.bz-ticker__track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; }
.bz-ticker__items {
	display: flex; gap: 48px; white-space: nowrap; padding-left: 24px;
	animation: bz-ticker 40s linear infinite; will-change: transform;
}
.bz-ticker:hover .bz-ticker__items { animation-play-state: paused; }
.bz-ticker__items a, .bz-ticker__items span { color: #fff; }
.bz-ticker__items a:hover { text-decoration: underline; }
.bz-ticker__items strong { text-transform: uppercase; margin-right: .35em; }
@keyframes bz-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bz-ticker__items { animation: none; } }

/* ==========================================================================
   5. Header
   ========================================================================== */
.bz-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(10,10,11,.96); backdrop-filter: blur(8px);
	border-bottom: 2px solid var(--bz-red);
}
.admin-bar .bz-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bz-header { top: 0; position: relative; } }
.bz-header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.bz-brand { flex: 0 0 auto; display: flex; align-items: center; }
.bz-brand img, .bz-brand .custom-logo { max-height: 54px; width: auto; display: block; }
.bz-brand__text {
	font-family: var(--bz-font-head); font-weight: 700; font-size: 1.6rem; line-height: 1;
	color: #fff; text-transform: uppercase; letter-spacing: .02em;
}
.bz-brand__text span { color: var(--bz-red); }
.bz-brand__text small {
	display: block; font-size: .42em; letter-spacing: .55em; color: var(--bz-muted); margin-top: 4px; font-weight: 500;
}

.bz-nav { flex: 1; }
.bz-nav ul { list-style: none; margin: 0; padding: 0; }
.bz-nav > ul, .bz-nav .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.bz-nav li { position: relative; }
.bz-nav a {
	display: block; padding: 10px 14px; color: #fff;
	font-family: var(--bz-font-head); font-size: .92rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: .07em;
}
.bz-nav > ul > li > a, .bz-nav .menu > li > a { position: relative; }
.bz-nav > ul > li > a::after, .bz-nav .menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--bz-red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.bz-nav li:hover > a::after, .bz-nav .current-menu-item > a::after,
.bz-nav .current_page_item > a::after { transform: scaleX(1); }
.bz-nav a:hover { color: #fff; }
.bz-nav .sub-menu, .bz-nav .children {
	position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px 0;
	background: var(--bz-panel); border: 1px solid var(--bz-line); border-top: 2px solid var(--bz-red);
	border-radius: 0 0 var(--bz-radius) var(--bz-radius);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 50;
}
.bz-nav li:hover > .sub-menu, .bz-nav li:focus-within > .sub-menu,
.bz-nav li:hover > .children, .bz-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.bz-nav .sub-menu a, .bz-nav .children a { text-transform: none; letter-spacing: 0; font-family: var(--bz-font-body); font-size: .92rem; padding: 8px 18px; }
.bz-nav .sub-menu a:hover, .bz-nav .children a:hover { color: var(--bz-red); background: var(--bz-panel-2); }

.bz-header__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.bz-menu-toggle {
	display: none; background: transparent; border: 1px solid var(--bz-line); padding: 10px; border-radius: var(--bz-radius);
}
.bz-menu-toggle:hover { background: var(--bz-panel); box-shadow: none; transform: none; border-color: var(--bz-line); }
.bz-menu-toggle span, .bz-menu-toggle span::before, .bz-menu-toggle span::after {
	display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .2s ease;
}
.bz-menu-toggle span::before, .bz-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.bz-menu-toggle span::before { top: -7px; }
.bz-menu-toggle span::after { top: 7px; }
.bz-nav-open .bz-menu-toggle span { background: transparent; }
.bz-nav-open .bz-menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.bz-nav-open .bz-menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.bz-header__inner { gap: 12px; min-height: 66px; }
	.bz-brand img, .bz-brand .custom-logo { max-height: 42px; }
	.bz-menu-toggle { display: inline-flex; }
	.bz-header__actions .bz-btn { display: none; }
	.bz-header__actions { margin-left: auto; }
	.bz-nav {
		position: absolute; top: 100%; left: 0; right: 0; flex: none;
		background: var(--bz-ink); border-bottom: 2px solid var(--bz-red);
		max-height: 0; overflow: hidden; transition: max-height .3s ease;
	}
	.bz-nav-open .bz-nav { max-height: 80vh; overflow-y: auto; }
	.bz-nav > ul, .bz-nav .menu { flex-direction: column; gap: 0; padding: 8px var(--bz-gutter) 16px; }
	.bz-nav a { padding: 13px 4px; border-bottom: 1px solid var(--bz-line); }
	.bz-nav > ul > li > a::after, .bz-nav .menu > li > a::after { display: none; }
	.bz-nav .sub-menu, .bz-nav .children {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; background: transparent; padding: 0 0 0 16px; min-width: 0;
	}
	.bz-nav__cta { display: block; padding-top: 14px; }
	.bz-nav__cta .bz-btn { width: 100%; }
}
@media (min-width: 961px) { .bz-nav__cta { display: none; } }

/* ==========================================================================
   6. Homepage — hero (Boxing Insider style: big slider + two stacked cards)
   ========================================================================== */
.bz-home { padding: 28px 0 64px; }
.bz-hero { display: grid; grid-template-columns: 2.6fr 1fr; gap: 16px; margin-bottom: 44px; }
.bz-card {
	position: relative; display: block; overflow: hidden; border-radius: var(--bz-radius);
	background: var(--bz-panel); border: 1px solid var(--bz-line); isolation: isolate;
}
.bz-card__media {
	position: absolute; inset: 0; z-index: -2;
	background-color: var(--bz-panel-2); background-size: cover; background-position: center;
	transition: transform .5s ease;
}
.bz-card__media--empty {
	background-image:
		radial-gradient(circle at 75% 30%, rgba(212,13,18,.45), transparent 55%),
		repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px);
}
.bz-card::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.92) 100%);
}
.bz-card:hover .bz-card__media { transform: scale(1.04); }
.bz-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.bz-card__title { color: #fff; margin: 10px 0 6px; font-size: 1.15rem; line-height: 1.25; }
.bz-card__meta { color: var(--bz-muted); font-size: .8rem; }
.bz-card:hover .bz-card__title { color: #fff; }

.bz-slider { position: relative; min-height: 440px; border-radius: var(--bz-radius); overflow: hidden; }
.bz-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.bz-slide.is-active { opacity: 1; visibility: visible; }
.bz-slide .bz-card { height: 100%; }
.bz-slide .bz-card__body { padding: 32px 34px 46px; max-width: 820px; }
.bz-slide .bz-card__title { font-size: clamp(1.5rem, 3vw, 2.3rem); text-transform: none; }
.bz-slide .bz-card__excerpt { color: #d4d4d8; font-size: .95rem; margin: 0 0 .6em; max-width: 680px; }
.bz-slide .bz-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bz-slider__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.bz-slider__dots button {
	width: 10px; height: 10px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.35); border: 0;
}
.bz-slider__dots button:hover { transform: none; box-shadow: none; background: #fff; }
.bz-slider__dots button.is-active { background: var(--bz-red); }

.bz-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.bz-hero__side .bz-card { min-height: 212px; }

@media (max-width: 960px) {
	.bz-hero { grid-template-columns: 1fr; }
	.bz-slider { min-height: 420px; }
	.bz-hero__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}
@media (max-width: 600px) {
	.bz-hero__side { grid-template-columns: 1fr; }
	.bz-slide .bz-card__body { padding: 22px 20px 44px; }
}

/* ==========================================================================
   7. Event strip (fight-night CTA)
   ========================================================================== */
.bz-event {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
	padding: 26px 30px; margin-bottom: 48px; border-radius: var(--bz-radius);
	background:
		linear-gradient(100deg, rgba(212,13,18,.95), rgba(120,5,8,.95)),
		var(--bz-red);
	box-shadow: 0 18px 50px rgba(212,13,18,.18);
}
.bz-event__date {
	text-align: center; background: var(--bz-black); color: #fff; border-radius: var(--bz-radius);
	padding: 10px 18px; min-width: 92px; font-family: var(--bz-font-head); line-height: 1.05;
}
.bz-event__date b { display: block; font-size: 2.2rem; }
.bz-event__date span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fca5a5; }
.bz-event__kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: #fecaca; }
.bz-event__title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 4px 0 2px; text-transform: uppercase; }
.bz-event__venue { margin: 0; color: #fee2e2; }
.bz-event__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.bz-event .bz-btn { background: #fff; color: var(--bz-red); border-color: #fff; }
.bz-event .bz-btn:hover { background: var(--bz-black); color: #fff; border-color: var(--bz-black); box-shadow: none; }
.bz-event .bz-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
@media (max-width: 860px) {
	.bz-event { grid-template-columns: auto 1fr; }
	.bz-event__cta { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ==========================================================================
   8. Main + sidebar layout, post list
   ========================================================================== */
.bz-layout { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 40px; }
.bz-layout--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .bz-layout { grid-template-columns: minmax(0, 1fr); } }

.bz-list-item { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--bz-line); }
.bz-list-item:last-child { border-bottom: 0; }
.bz-list-item__thumb { display: block; aspect-ratio: 16 / 10; border-radius: var(--bz-radius); overflow: hidden; background: var(--bz-panel-2); }
.bz-list-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.bz-list-item__thumb:hover img { transform: scale(1.05); }
.bz-list-item__thumb--empty {
	display: flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 70% 30%, rgba(212,13,18,.4), transparent 60%), var(--bz-panel-2);
	font-family: var(--bz-font-head); font-size: 1.6rem; color: rgba(255,255,255,.18); text-transform: uppercase;
}
.bz-list-item__title { font-size: 1.25rem; margin: 8px 0 6px; line-height: 1.3; }
.bz-list-item__title a { color: #fff; }
.bz-list-item__title a:hover { color: var(--bz-red); }
.bz-list-item__excerpt { color: var(--bz-muted); font-size: .92rem; margin: 0 0 8px; }
.bz-meta { color: var(--bz-muted); font-size: .8rem; display: flex; flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 600px) { .bz-list-item { grid-template-columns: 1fr; gap: 12px; } }

.bz-empty { padding: 32px; border: 1px dashed var(--bz-line); border-radius: var(--bz-radius); color: var(--bz-muted); text-align: center; }

/* Pagination */
.bz-pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.page-numbers {
	display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px;
	background: var(--bz-panel); border: 1px solid var(--bz-line); border-radius: var(--bz-radius); color: #fff; font-weight: 600;
}
.page-numbers.current, .page-numbers:hover { background: var(--bz-red); border-color: var(--bz-red); color: #fff; }

/* ==========================================================================
   9. Sidebar / widgets ("Fight Hub")
   ========================================================================== */
.bz-sidebar { display: flex; flex-direction: column; gap: 22px; }
.widget, .bz-hub {
	background: var(--bz-panel); border: 1px solid var(--bz-line); border-radius: var(--bz-radius); padding: 22px;
}
.widget-title, .bz-hub__title, .widget h2.wp-block-heading {
	font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px;
	padding-left: 12px; border-left: 4px solid var(--bz-red);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--bz-line); }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--bz-text); }
.widget li a:hover { color: var(--bz-red); }

.bz-hub__item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bz-line); color: var(--bz-text); }
.bz-hub__item:first-of-type { padding-top: 0; }
.bz-hub__item:last-child { border-bottom: 0; padding-bottom: 0; }
.bz-hub__icon {
	flex: 0 0 40px; height: 40px; border-radius: var(--bz-radius); display: flex; align-items: center; justify-content: center;
	background: rgba(212,13,18,.14); color: var(--bz-red);
}
.bz-hub__icon svg { width: 20px; height: 20px; }
.bz-hub__item strong { display: block; color: #fff; font-family: var(--bz-font-head); font-weight: 500; font-size: 1.02rem; letter-spacing: .02em; }
.bz-hub__item small { display: block; color: var(--bz-muted); font-size: .82rem; line-height: 1.45; }
.bz-hub__item em { display: inline-block; margin-top: 4px; color: var(--bz-red); font-style: normal; font-size: .8rem; font-weight: 600; }
.bz-hub__item:hover strong { color: var(--bz-red); }

.bz-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.bz-socials a {
	width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--bz-panel-2); border: 1px solid var(--bz-line); color: #fff; transition: all .15s ease;
}
.bz-socials a:hover { background: var(--bz-red); border-color: var(--bz-red); color: #fff; transform: translateY(-2px); }
.bz-socials svg { width: 18px; height: 18px; fill: currentColor; }
.bz-socials svg.is-stroke { fill: none; stroke: currentColor; }

/* ==========================================================================
   10. Single / page content
   ========================================================================== */
.bz-main { padding: 40px 0 70px; }
.bz-page-header { padding: 46px 0 34px; background: linear-gradient(180deg, var(--bz-ink), var(--bz-black)); border-bottom: 1px solid var(--bz-line); }
.bz-page-header h1 { margin: 10px 0 0; }
.bz-page-header .bz-meta { margin-top: 14px; }
.bz-page-header p { color: var(--bz-muted); margin: 10px 0 0; max-width: 720px; }
.bz-featured { margin: 0 0 30px; border-radius: var(--bz-radius); overflow: hidden; }
.bz-featured img { display: block; width: 100%; }

.bz-entry { font-size: 1.05rem; }
.bz-entry > *:first-child { margin-top: 0; }
.bz-entry h2, .bz-entry h3 { margin-top: 1.6em; }
.bz-entry ul, .bz-entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.bz-entry li { margin-bottom: .4em; }
.bz-entry figure { margin: 1.6em 0; }
.bz-entry figcaption, .wp-caption-text { color: var(--bz-muted); font-size: .85rem; margin-top: .5em; text-align: center; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { margin-left: calc(-1 * min(80px, 5vw)); margin-right: calc(-1 * min(80px, 5vw)); max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.sticky .bz-list-item__title::before { content: "Featured · "; color: var(--bz-red); }
.bypostauthor { display: block; }
.gallery-caption { display: block; }

.bz-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.bz-post-nav a { display: block; padding: 18px; background: var(--bz-panel); border: 1px solid var(--bz-line); border-radius: var(--bz-radius); color: #fff; }
.bz-post-nav a:hover { border-color: var(--bz-red); }
.bz-post-nav small { display: block; color: var(--bz-red); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; font-weight: 700; }
.bz-post-nav .next { text-align: right; }

/* Comments */
.comments-area { margin-top: 50px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { background: var(--bz-panel); border: 1px solid var(--bz-line); border-radius: var(--bz-radius); padding: 18px; margin-bottom: 14px; }
.comment-meta { font-size: .85rem; color: var(--bz-muted); margin-bottom: 8px; }
.comment-meta img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form label { display: block; font-size: .85rem; margin-bottom: 4px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; }

/* ==========================================================================
   11. Pagelayer compatibility
   ========================================================================== */
/* Full-width template: let Pagelayer rows control their own width */
.bz-pagelayer-full .bz-entry, .bz-pagelayer-canvas .bz-entry { font-size: inherit; }
.bz-pagelayer-full .pagelayer-content, .bz-pagelayer-canvas .pagelayer-content { width: 100%; }
.pagelayer-row-stretch-full { max-width: none; }
/* Keep theme typography inside Pagelayer widgets unless overridden in the editor */
.pagelayer-heading-holder h1, .pagelayer-heading-holder h2, .pagelayer-heading-holder h3,
.pagelayer-heading-holder h4, .pagelayer-heading-holder h5, .pagelayer-heading-holder h6 { margin-bottom: 0; }
.pagelayer-text-holder p:last-child { margin-bottom: 0; }
/* Pagelayer buttons inherit the fight-night look when given the class bz-btn */
.pagelayer-btn-holder.bz-btn { padding: .8em 1.5em; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.bz-footer { background: var(--bz-ink); border-top: 2px solid var(--bz-red); margin-top: 0; }
.bz-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.bz-footer__brand p { color: var(--bz-muted); font-size: .93rem; max-width: 380px; margin: 16px 0 20px; }
.bz-footer__brand img { max-height: 58px; width: auto; display: block; }
.bz-footer h3, .bz-footer .widget-title {
	font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px;
	padding-left: 0; border-left: 0; color: #fff;
}
.bz-footer .widget { background: none; border: 0; padding: 0; }
.bz-footer ul { list-style: none; margin: 0; padding: 0; }
.bz-footer li { padding: 6px 0; border: 0; }
.bz-footer li a { color: var(--bz-muted); }
.bz-footer li a:hover { color: var(--bz-red); }
.bz-footer__event { color: var(--bz-muted); font-size: .93rem; }
.bz-footer__event strong { display: block; color: #fff; font-family: var(--bz-font-head); font-size: 1.15rem; font-weight: 500; text-transform: uppercase; margin-bottom: 4px; }
.bz-footer__event .bz-btn { margin-top: 14px; }

.bz-footer__bottom { border-top: 1px solid var(--bz-line); background: var(--bz-black); }
.bz-footer__bottom-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
	padding: 18px 0; font-size: .84rem; color: var(--bz-muted);
}
.bz-footer__copy p { margin: 0; }

/* "Site developed and hosted by virtuosite" credit — always bottom right */
.bz-credit {
	margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
	color: var(--bz-muted); font-size: .82rem; white-space: nowrap;
	padding: 6px 10px; border-radius: var(--bz-radius); transition: background .15s ease, color .15s ease;
}
.bz-credit img { height: 22px; width: auto; display: block; opacity: .9; transition: opacity .15s ease; }
.bz-credit:hover { color: #fff; background: var(--bz-panel); }
.bz-credit:hover img { opacity: 1; }

@media (max-width: 860px) {
	.bz-footer__top { grid-template-columns: 1fr 1fr; }
	.bz-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.bz-footer__top { grid-template-columns: 1fr; }
	.bz-footer__bottom-inner { flex-direction: column; align-items: flex-end; text-align: right; }
	.bz-footer__copy { align-self: flex-start; text-align: left; }
	.bz-credit { white-space: normal; }
}

/* 404 */
.bz-404 { text-align: center; padding: 90px 0; }
.bz-404 b { display: block; font-family: var(--bz-font-head); font-size: clamp(6rem, 18vw, 11rem); color: var(--bz-red); line-height: 1; }
.bz-404 .search-form { max-width: 460px; margin: 24px auto 0; }
