/* =========================================================================
   Boqueria — single blog / press post (matches boqueriarestaurant.com)
   Loaded only on single posts by inc/bq-blog.php.
   Adjust the variables below if anything is a few px off.
   ========================================================================= */
.single-post,
.single-press {
	--bqb-red:          var(--primary-color, #c1272d);
	--bqb-ink:          #111;
	--bqb-text:         #222;
	--bqb-line:         #999;
	--bqb-banner-size:  clamp(56px, 7vw, 84px);
	--bqb-sub-size:     clamp(22px, 2.4vw, 30px);
	--bqb-title-size:   clamp(30px, 3.4vw, 44px);
	--bqb-meta-size:    14px;
	--bqb-body-size:    18px;
	--bqb-body-lh:      1.6;
}

/* ---------- Banner: plain background, BLOG + red-lined subtitle ---------- */
.bqb-banner {
	padding: 70px 0 60px;
	background: transparent;
	text-align: center;
}
.bqb-banner__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	color: var(--bqb-ink);
	text-transform: uppercase;
	line-height: 1;
}
.bqb-banner__title {
	font-size: var(--bqb-banner-size);
	letter-spacing: .01em;
}
.bqb-banner__sub {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	font-size: var(--bqb-sub-size);
}
.bqb-banner__sub::before,
.bqb-banner__sub::after {
	content: "";
	width: 76px;
	height: 3px;
	background: var(--bqb-red);
}

/* ---------- Post header ---------- */
.bqb-header {
	margin: 0 0 0;
	padding: 20px 0 0;
	text-align: center;
}
.bqb-title {
	margin: 0 0 16px;
	font-size: var(--bqb-title-size);
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--bqb-red);
}
.bqb-meta {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 18px;
	margin: 0 0 28px;
	font-size: var(--bqb-meta-size);
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--bqb-text);
}
.bqb-meta a { color: var(--bqb-text); }
.bqb-meta a:hover { color: var(--bqb-red); }
.bqb-meta__sep { font-size: 18px; }

.bqb-image { margin: 0 0 30px; }
.bqb-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Body content ---------- */
.single-post .entry-content,
.single-press .entry-content {
	padding-top: 0;
	font-size: var(--bqb-body-size);
	line-height: var(--bqb-body-lh);
	color: var(--bqb-text);
}
.single-post .entry-content p,
.single-press .entry-content p { margin-bottom: 1.1em; }

.single-post .entry-content h2,
.single-press .entry-content h2 {
	margin: 1.6em 0 .5em;
	font-size: clamp(26px, 2.6vw, 32px);
	line-height: 1.15;
	color: var(--bqb-ink);
}
.single-post .entry-content h3,
.single-press .entry-content h3 {
	margin: 1.4em 0 .5em;
	font-size: 24px;
	color: var(--bqb-ink);
}
.single-post .entry-content a:not(.button),
.single-press .entry-content a:not(.button) {
	color: var(--bqb-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-press .entry-content ul,
.single-press .entry-content ol {
	margin: 0 0 1.4em 1.4em;
	padding: 0;
}
.single-post .entry-content ul li,
.single-press .entry-content ul li { list-style: disc; margin-bottom: .45em; }
.single-post .entry-content ol li,
.single-press .entry-content ol li { list-style: decimal; margin-bottom: .45em; }

/* Tables — scroll inside on small screens */
.single-post .entry-content table,
.single-press .entry-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	margin: 0 0 1.6em;
	border-collapse: collapse;
	font-size: 16px;
}
.single-post .entry-content th,
.single-post .entry-content td,
.single-press .entry-content th,
.single-press .entry-content td {
	padding: 10px 14px;
	border: 1px solid #ddd;
	text-align: left;
	vertical-align: top;
}
.single-post .entry-content thead th,
.single-press .entry-content thead th { font-weight: 700; }

.single-post .entry-content iframe,
.single-press .entry-content iframe { max-width: 100%; }

/* ---------- Sidebar ---------- */
.single-post .post-sidebar .boq-widget__title,
.single-press .post-sidebar .boq-widget__title {
	margin: 0 0 22px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--bqb-line);
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--bqb-ink);
}
.single-post .post-sidebar .widget,
.single-press .post-sidebar .widget { margin-bottom: 40px; }
.single-post .post-sidebar,
.single-press .post-sidebar {
	font-size: 18px;
	line-height: 1.5;
	color: var(--bqb-text);
}
.single-post .post-sidebar ul li,
.single-press .post-sidebar ul li { border: 0; padding: 4px 0; }
.single-post .post-sidebar a,
.single-press .post-sidebar a { color: var(--bqb-text); }
.single-post .post-sidebar a:hover,
.single-press .post-sidebar a:hover { color: var(--bqb-red); }
.single-post .post-sidebar img,
.single-press .post-sidebar img { width: 100%; height: auto; }

/* ---------- Mobile ---------- */
@media (max-width: 849px) {
	.bqb-banner { padding: 44px 0 36px; }
	.bqb-banner__sub::before,
	.bqb-banner__sub::after { width: 44px; }
}

/* =========================================================================
   PRESS ONLY (.single-press) — blog posts are not affected by anything below
   ========================================================================= */
.bqb-press-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 475px;
	padding: 60px 0;
	background: #2a2a2a center / cover no-repeat;
	color: #fff;
	text-align: center;
}
.bqb-press-banner.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .12);
}
.bqb-press-banner .container { position: relative; width: 100%; }
.bqb-press-banner__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	color: #fff;
	line-height: 1;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
}
.bqb-press-banner__title {
	font-size: clamp(44px, 4.4vw, 58px);
	text-transform: uppercase;
}
.bqb-press-banner__sub {
	margin-top: 30px;
	font-size: clamp(28px, 2.8vw, 38px);
	text-transform: none;
}
.bqb-press-banner__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
	color: #fff;
}
.bqb-press-banner__divider::before,
.bqb-press-banner__divider::after {
	content: "";
	width: 90px;
	height: 1px;
	background: rgba(255, 255, 255, .85);
}
.bqb-press-banner__divider svg { display: block; }

.single-press .bqb-header { padding-top: 60px; }
.single-press .bqb-title { margin-bottom: 30px; }

@media (max-width: 849px) {
	.bqb-press-banner { min-height: 300px; }
	.bqb-press-banner__divider::before,
	.bqb-press-banner__divider::after { width: 56px; }
	.single-press .bqb-header { padding-top: 30px; }
}
