/*
Theme Name: Twenty Twenty-Five
Theme URI: https://www.bigsevencasinos.com/
Author: Big Seven Casinos
Description: Custom theme for Big Seven Casinos, built on Twenty Twenty-Five.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Update URI: false
WPVibe: yes
*/

/* Atmosphere: soft table-glow behind the top of every page */
body {
	background-image: radial-gradient(90% 520px at 80% -120px, rgba(163, 58, 102, 0.28), transparent 70%),
		radial-gradient(60% 420px at 0% -80px, rgba(250, 190, 60, 0.10), transparent 70%);
	background-repeat: no-repeat;
	-webkit-font-smoothing: antialiased;
}

/* Header */
.b7-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(23, 17, 27, 0.88) !important;
	backdrop-filter: blur(10px);
}
.admin-bar .b7-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .b7-header { top: 0; position: relative; } }

.b7-mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(145deg, #fabe3c, #fc9c2b);
	color: #17111b !important;
	font-family: Platypi, Georgia, serif;
	font-style: italic;
	font-weight: 800;
	font-size: 24px;
	text-decoration: none !important;
	box-shadow: 0 4px 18px rgba(250, 190, 60, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.15);
	transform: rotate(-6deg);
	transition: transform 0.25s ease;
}
.b7-mark:hover { transform: rotate(0deg) scale(1.05); }

/* Content readability */
.entry-content > p,
.wp-block-post-content > p { color: #e9dfd0; }
.wp-block-post-content strong { color: #fff6e6; }
.wp-block-post-content h2 { margin-top: 2.2em; }
.wp-block-post-content img { border-radius: 10px; max-width: 100%; height: auto; }

/* Legacy tables brought over from the old site */
.wp-block-post-content table {
	width: 100%;
	border-collapse: collapse;
	background: #241a29;
	border-radius: 12px;
	overflow: hidden;
	font-size: 0.95em;
}
.wp-block-post-content table td,
.wp-block-post-content table th {
	border: 1px solid #3a2c40;
	padding: 0.7em 0.9em;
	vertical-align: middle;
}
.wp-block-post-content table th { background: #2e2234; color: #fabe3c; text-align: left; }

/* Casino card used on review lists */
.b7-card {
	background: #241a29;
	border: 1px solid #3a2c40;
	border-radius: 16px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.b7-card:hover {
	transform: translateY(-3px);
	border-color: #fabe3c;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Closed-casino notice */
.b7-notice {
	border-left: 4px solid #a33a66;
	background: rgba(163, 58, 102, 0.14);
	padding: 1em 1.2em;
	border-radius: 0 10px 10px 0;
}

/* Footer */
.b7-footer-links { list-style: none; padding-left: 0; }
.b7-footer-links li { margin: 0.35em 0; }
.b7-footer-links a { color: #f5ede0; text-decoration: none; }
.b7-footer-links a:hover { color: #fabe3c; }
.b7-18 {
	display: inline-block;
	border: 2px solid #a33a66;
	color: #f5ede0;
	border-radius: 999px;
	padding: 0 0.5em;
	margin-right: 0.5em;
	font-weight: 800;
}

/* ===== Home page ===== */
.b7-front .wp-block-post-content > * + * { margin-block-start: 0; }
.b7-section { padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem; }
.b7-section > * { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; }
.b7-kicker {
	display: inline-block;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: #fabe3c;
	margin-bottom: 0.6rem;
}
.b7-section h2 { margin-top: 0 !important; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.b7-lead { font-size: 1.12rem; color: #d9cbb8 !important; max-width: 760px; }

/* Hero */
.b7-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 9vw, 7rem) 1.25rem clamp(3rem, 7vw, 5rem);
	background:
		radial-gradient(700px 420px at 85% 10%, rgba(250, 190, 60, 0.18), transparent 70%),
		radial-gradient(800px 500px at 5% 100%, rgba(163, 58, 102, 0.35), transparent 70%),
		linear-gradient(180deg, #1d1522, #17111b);
	border-bottom: 1px solid #3a2c40;
}
.b7-hero::after {
	content: "7";
	position: absolute;
	right: -0.05em;
	top: -0.18em;
	font-family: Platypi, Georgia, serif;
	font-style: italic;
	font-weight: 800;
	font-size: clamp(16rem, 40vw, 34rem);
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2px rgba(250, 190, 60, 0.16);
	pointer-events: none;
	transform: rotate(-6deg);
}
.b7-hero-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; }
.b7-hero h1 {
	font-size: clamp(2.5rem, 7vw, 4.8rem);
	line-height: 1.02;
	margin: 0 0 1.2rem;
	max-width: 13ch;
}
.b7-hero h1 em { color: #fabe3c; font-style: italic; }
.b7-hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #e2d5c3; max-width: 640px; margin: 0 0 1rem; }
.b7-cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.b7-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.85em 1.5em;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.b7-btn-gold { background: linear-gradient(145deg, #fabe3c, #fc9c2b); color: #17111b !important; box-shadow: 0 8px 24px rgba(250, 190, 60, 0.3); }
.b7-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(250, 190, 60, 0.45); }
.b7-btn-ghost { border: 1.5px solid #6b5670; color: #f5ede0 !important; }
.b7-btn-ghost:hover { border-color: #fabe3c; color: #fabe3c !important; }
.b7-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin-top: clamp(2.5rem, 6vw, 4rem);
	max-width: 900px;
}
.b7-stat { border-left: 2px solid #fabe3c; padding-left: 0.9rem; }
.b7-stat b { display: block; font-family: Platypi, Georgia, serif; font-size: 2rem; color: #fff6e6; line-height: 1.1; }
.b7-stat span { font-size: 0.88rem; color: #b9ab9c; }
@media (max-width: 700px) { .b7-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Top picks */
.b7-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.b7-pick {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	padding: 1.5rem;
	background: linear-gradient(180deg, #2a1f30, #221827);
	border: 1px solid #3a2c40;
	border-radius: 18px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.b7-pick:hover { transform: translateY(-4px); border-color: #fabe3c; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.b7-pick.is-first { border-color: rgba(250, 190, 60, 0.6); box-shadow: 0 0 0 1px rgba(250, 190, 60, 0.25), 0 18px 40px rgba(250, 190, 60, 0.08); }
.b7-rank {
	position: absolute;
	top: -14px;
	left: 1.2rem;
	background: linear-gradient(145deg, #fabe3c, #fc9c2b);
	color: #17111b;
	font-weight: 800;
	font-size: 0.82rem;
	padding: 0.3em 0.8em;
	border-radius: 999px;
}
.b7-pick-head { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.4rem; }
.b7-pick-head img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.b7-pick h3 { margin: 0; font-size: 1.3rem; }
.b7-logo-txt { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(145deg, #fabe3c, #fc9c2b); color: #17111b; font-size: 2.2rem; }
.b7-pick-tag { font-size: 0.85rem; color: #fabe3c; }
.b7-pick ul { margin: 0; padding-left: 1.1em; color: #d9cbb8; font-size: 0.95rem; }
.b7-pick ul li { margin: 0.25em 0; }
.b7-pick-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: auto; padding-top: 0.4rem; }
.b7-pick-actions .b7-btn { padding: 0.65em 1.2em; font-size: 0.95rem; }
.b7-pick-actions a.b7-more { color: #f5ede0; font-size: 0.92rem; }
.b7-pick-actions a.b7-more:hover { color: #fabe3c; }
.b7-pick.is-cta { justify-content: center; text-align: center; border-style: dashed; background: transparent; }
.b7-pick.is-cta .b7-big7 { font-family: Platypi, Georgia, serif; font-style: italic; font-size: 4rem; line-height: 1; color: #fabe3c; }
.b7-small { font-size: 0.8rem; color: #8f8090; }

/* Banner */
.b7-banner { text-align: center; padding-top: 0 !important; padding-bottom: 0.5rem !important; }
main.b7-front { padding-bottom: 0 !important; }
.b7-front + footer, .b7-front + .wp-block-template-part { margin-top: 0 !important; }
.b7-banner img { max-width: 100%; height: auto; border-radius: 12px; }

/* Game tiles */
.b7-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
@media (max-width: 700px) { .b7-games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b7-game {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1.3rem 1.1rem;
	border-radius: 16px;
	background: #241a29;
	border: 1px solid #3a2c40;
	color: #f5ede0 !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.b7-game:hover { transform: translateY(-3px) rotate(-1deg); border-color: #fabe3c; background: #2c2032; }
.b7-game i { font-style: normal; font-size: 2rem; line-height: 1; color: #fabe3c; }
.b7-game i.red { color: #e0566f; }
.b7-game b { font-size: 1.05rem; }
.b7-game span { font-size: 0.82rem; color: #b9ab9c; }

/* How we pick */
.b7-alt { background: #1d1522; border-top: 1px solid #2c2032; border-bottom: 1px solid #2c2032; }
.b7-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; counter-reset: b7step; }
.b7-step { counter-increment: b7step; }
.b7-step::before {
	content: "0" counter(b7step);
	display: block;
	font-family: Platypi, Georgia, serif;
	font-size: 2.2rem;
	font-weight: 700;
	color: #a33a66;
	margin-bottom: 0.3rem;
}
.b7-step h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.b7-step p { margin: 0; color: #cdbfad; font-size: 0.97rem; }

/* Reading list */
.b7-reads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin-top: 2rem; list-style: none; padding: 0; }
.b7-reads li { margin: 0; }
@media (max-width: 900px) { .b7-reads { grid-template-columns: 1fr; } }
/* Hero: text left, top-3 panel right */
.b7-hero::after { display: none; }
.b7-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.b7-hero h1 { max-width: 14ch; }
.b7-hero-panel {
	background: linear-gradient(180deg, rgba(42, 31, 48, 0.92), rgba(30, 22, 35, 0.92));
	border: 1px solid #4a3850;
	border-radius: 22px;
	padding: 1.6rem;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(250, 190, 60, 0.08) inset;
	position: relative;
}
.b7-hero-panel::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 22px;
	padding: 1px;
	background: linear-gradient(135deg, rgba(250, 190, 60, 0.7), transparent 45%, rgba(163, 58, 102, 0.6));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.b7-panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.b7-panel-head .b7-kicker { margin: 0; }
.b7-live { font-size: 0.78rem; color: #b9ab9c; }
.b7-mini { list-style: none; margin: 0; padding: 0; }
.b7-mini li {
	display: grid;
	grid-template-columns: 28px 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.85rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid #3a2c40;
}
.b7-mini li:last-child { border-bottom: 0; }
.b7-mini-rank { font-family: Platypi, Georgia, serif; font-size: 1.6rem; font-weight: 700; color: #fabe3c; text-align: center; }
.b7-mini img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; }
.b7-mini b { display: block; color: #fff6e6; font-size: 1.05rem; }
.b7-mini div span { font-size: 0.85rem; color: #b9ab9c; }
.b7-mini .b7-btn { padding: 0.55em 1.1em; font-size: 0.9rem; }
.b7-panel-more { display: block; text-align: center; margin-top: 0.9rem; color: #fabe3c !important; font-weight: 600; text-decoration: none !important; }
.b7-panel-more:hover { text-decoration: underline !important; }
@media (max-width: 960px) { .b7-hero-inner { grid-template-columns: 1fr; } }

/* Hero spacing: tighter top, panel level with the eyebrow, stats as a full-width strip */
.b7-hero { padding-top: clamp(1.75rem, 3.5vw, 2.75rem) !important; padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem) !important; }
.b7-hero-inner { align-items: start; row-gap: clamp(1.75rem, 3.5vw, 2.5rem); }
.b7-hero-main > .b7-kicker { margin-top: 0; }
.b7-hero-panel { margin-top: 0; align-self: stretch; display: flex; flex-direction: column; }
.b7-hero h1 { font-size: clamp(2rem, 4vw, 3rem) !important; max-width: none; margin-bottom: 1rem !important; }
.b7-hero-panel .b7-mini li { padding: 1.15rem 0; grid-template-columns: 28px 56px minmax(0, 1fr) auto; }
.b7-hero-panel .b7-mini img { width: 56px; height: 56px; }
.b7-panel-guides { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid #3a2c40; }
.b7-panel-guides > span { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #b9ab9c; margin-bottom: 0.6rem; }
.b7-panel-guides > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.b7-panel-guides a {
	display: block;
	padding: 0.6rem 0.8rem;
	border-radius: 10px;
	background: #2c2032;
	border: 1px solid #3a2c40;
	color: #f5ede0 !important;
	text-decoration: none !important;
	font-size: 0.92rem;
	font-weight: 600;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.b7-panel-guides a:hover { border-color: #fabe3c; color: #fabe3c !important; }
.b7-panel-more { margin: 0.6rem 0 1rem; }
@media (max-width: 960px) { .b7-hero-panel { align-self: auto; } }
.b7-hero .b7-stats {
	grid-column: 1 / -1;
	max-width: none;
	margin-top: 0;
	padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
	border-top: 1px solid #3a2c40;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}
.b7-hero .b7-stat { display: flex; align-items: baseline; gap: 0.7rem; }
.b7-hero .b7-stat b { display: inline; font-size: 2.2rem; }
.b7-hero .b7-stat span { line-height: 1.35; font-size: 0.95rem; }
@media (max-width: 700px) {
	.b7-hero .b7-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b7-hero .b7-stat { flex-direction: column; gap: 0.2rem; }
}
#top-picks { padding-top: clamp(2rem, 4vw, 3rem); }

/* Top picks as a ranked list, one under another */
.b7-picks { grid-template-columns: 1fr !important; gap: 0.9rem; }
.b7-pick {
	display: grid !important;
	grid-template-columns: 84px minmax(220px, 300px) minmax(0, 1fr) 220px;
	align-items: center;
	gap: 1.5rem;
	padding: 1.2rem 1.5rem;
}
.b7-pick:hover { transform: translateY(-2px); }
.b7-rank {
	position: static;
	justify-self: center;
	text-align: center;
	background: none;
	color: #fabe3c;
	font-family: Platypi, Georgia, serif;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1;
	padding: 0;
}
.b7-pick.is-first .b7-rank { font-size: 2.2rem; }
.b7-pick-head { margin-top: 0; }
.b7-pick ul { font-size: 0.93rem; }
.b7-pick-actions { flex-direction: column; align-items: stretch; margin-top: 0; padding-top: 0; text-align: center; }
.b7-pick-actions .b7-btn { justify-content: center; }
@media (max-width: 1000px) {
	.b7-pick { grid-template-columns: 56px minmax(0, 1fr); gap: 0.9rem 1rem; }
	.b7-pick ul, .b7-pick-actions { grid-column: 2; }
	.b7-pick-actions { flex-direction: row; align-items: center; }
}
@media (max-width: 560px) {
	.b7-pick { grid-template-columns: 1fr; }
	.b7-rank { justify-self: start; font-size: 1.6rem; }
	.b7-pick ul, .b7-pick-actions { grid-column: 1; }
}
.b7-reads a {
	display: block;
	height: 100%;
	padding: 1rem 1.2rem;
	border-radius: 12px;
	background: #241a29;
	border: 1px solid #3a2c40;
	color: #f5ede0 !important;
	text-decoration: none !important;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.b7-reads a:hover { border-color: #fabe3c; transform: translateX(3px); }
.b7-reads b { display: block; color: #fff6e6; }
.b7-reads span { font-size: 0.88rem; color: #b9ab9c; }

/* Partner / sponsored text links */
/* Same 1240px left edge as every other section; two flowing text columns */
.b7-section.b7-partners {
	--b7-full: calc(100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px));
	display: block;
	column-count: 2;
	column-gap: 3rem;
	padding-left: max(1.25rem, calc((var(--b7-full) - 1240px) / 2)) !important;
	padding-right: max(1.25rem, calc((var(--b7-full) - 1240px) / 2)) !important;
}
.b7-section.b7-partners > * { max-width: none !important; margin: 0 0 1.1rem !important; break-inside: avoid; }
.b7-section.b7-partners > h2 { column-span: all; margin-bottom: 1.8rem !important; }
.b7-section.b7-partners > .b7-disclosure { column-span: all; }
@media (max-width: 800px) { .b7-section.b7-partners { column-count: 1; } }
.b7-partners p { color: #cdbfad !important; font-size: 0.98rem; }
.b7-partners a { color: #fabe3c; }
.b7-partners .b7-disclosure { font-size: 0.82rem; color: #8f8090 !important; border-top: 1px solid #3a2c40; padding-top: 1rem; margin-top: 1.5rem; }

/* ===== Inner pages ===== */
.b7-page-hero {
	padding: clamp(1.75rem, 4vw, 3rem) 1.25rem clamp(1.5rem, 3.5vw, 2.5rem);
	background:
		radial-gradient(600px 300px at 90% 0%, rgba(250, 190, 60, 0.14), transparent 70%),
		radial-gradient(700px 360px at 0% 100%, rgba(163, 58, 102, 0.28), transparent 70%),
		linear-gradient(180deg, #1d1522, #17111b);
	border-bottom: 1px solid #3a2c40;
}
.b7-page-hero-inner { max-width: 1240px; margin: 0 auto; }
.b7-crumbs { font-size: 0.85rem; color: #b9ab9c; margin-bottom: 0.6rem; }
.b7-crumbs a { color: #fabe3c; text-decoration: none; }
.b7-crumbs a:hover { text-decoration: underline; }
.b7-page-title { font-size: clamp(2rem, 4.5vw, 3rem) !important; line-height: 1.1; margin: 0 !important; max-width: 24ch; }
.b7-page-lead { margin-top: 0.9rem !important; max-width: 760px; }
.b7-page-lead p { color: #d9cbb8; font-size: 1.08rem; margin: 0; }
.b7-page-lead .wp-block-post-excerpt__more-link { display: none; }

.b7-page-body {
	max-width: 1240px;
	margin: 0 auto !important;
	padding: clamp(2rem, 4vw, 3rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
.b7-page-body > * { margin: 0 !important; }
.b7-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.25rem; }
@media (max-width: 1000px) {
	.b7-page-body { grid-template-columns: 1fr; }
	.b7-sidebar { position: static; }
}
.b7-side-panel { padding: 1.3rem; }
.b7-side-panel .b7-mini li { grid-template-columns: 22px 44px minmax(0, 1fr) auto; gap: 0.7rem; padding: 0.75rem 0; }
.b7-side-panel .b7-mini img { width: 44px; height: 44px; }
.b7-side-panel .b7-mini b { font-size: 0.98rem; }
.b7-side-panel .b7-mini-rank { font-size: 1.3rem; }
.b7-side-box { background: #1f1724; border: 1px solid #3a2c40; border-radius: 18px; padding: 1.2rem 1.3rem; }
.b7-side-links { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.b7-side-links li { border-bottom: 1px solid #2f2335; }
.b7-side-links li:last-child { border-bottom: 0; }
.b7-side-links a { display: block; padding: 0.55rem 0; color: #f5ede0 !important; text-decoration: none !important; font-size: 0.95rem; transition: color 0.15s ease, padding 0.15s ease; }
.b7-side-links a:hover { color: #fabe3c !important; padding-left: 0.3rem; }

/* Article typography */
.b7-prose .wp-block-post-content { font-size: 1.06rem; line-height: 1.75; color: #e9dfd0; }
.b7-prose .wp-block-post-content > * { max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
.b7-prose .wp-block-post-content > :first-child { margin-top: 0 !important; }
.b7-prose p { margin: 0 0 1.1em; }
.b7-prose h2, .b7-prose h3, .b7-prose h4 { color: #fabe3c; line-height: 1.2; margin: 1.8em 0 0.6em !important; }
.b7-prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); padding-bottom: 0.4rem; border-bottom: 1px solid #3a2c40; }
.b7-prose h3 { font-size: 1.3rem; color: #fff6e6; }
.b7-prose h4 { font-size: 1.1rem; color: #fff6e6; }
.b7-prose a { color: #fabe3c; text-underline-offset: 0.2em; }
.b7-prose a:hover { color: #ffd77a; }
.b7-prose ul, .b7-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.b7-prose ul li::marker { color: #fabe3c; }
.b7-prose li { margin: 0.35em 0; }
.b7-prose blockquote { margin: 1.5em 0; padding: 1rem 1.3rem; border-left: 3px solid #fabe3c; background: #1f1724; border-radius: 0 12px 12px 0; }
.b7-prose blockquote blockquote { border: 0; padding: 0; background: none; margin: 0; }
.b7-prose img { border-radius: 10px; max-width: 100%; height: auto; }
.b7-prose img[align="right"], .b7-prose img.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.b7-prose img[align="left"], .b7-prose img.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.b7-prose hr { border: 0; border-top: 1px solid #3a2c40; margin: 2em 0; }

/* Old layout tables: card-like and mobile-safe */
.b7-prose table { width: 100%; border-collapse: separate; border-spacing: 0; background: #1f1724; border: 1px solid #3a2c40; border-radius: 14px; overflow: hidden; margin: 1.5em 0; font-size: 0.97rem; }
.b7-prose .wp-block-post-content table td, .b7-prose .wp-block-post-content table th { border: 0; border-bottom: 1px solid #2f2335; padding: 0.9rem 1rem; vertical-align: top; box-sizing: border-box; }
.b7-prose table * { box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; }
.b7-prose tr:last-child td { border-bottom: 0; }
.b7-prose td p:last-child { margin-bottom: 0; }
.b7-prose td img { display: block; margin: 0 auto; }
@media (max-width: 700px) {
	.b7-prose table, .b7-prose tbody, .b7-prose tr, .b7-prose td { display: block; width: 100% !important; }
	.b7-prose .wp-block-post-content table td { border-bottom: 0; padding: 0.6rem 1rem; }
	.b7-prose tr { border-bottom: 1px solid #2f2335; padding: 0.4rem 0; }
}

/* Affiliate "play" links inside articles become buttons */
.b7-prose a[href*="/visit/"]:not(:has(img)) {
	color: #fabe3c !important;
	font-weight: 700;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(250, 190, 60, 0.45);
	transition: color 0.15s ease, border-color 0.15s ease;
}
.b7-prose a[href*="/visit/"]:not(:has(img))::after { content: "\2197"; font-size: 0.8em; margin-left: 0.2em; opacity: 0.8; }
.b7-prose a[href*="/visit/"]:not(:has(img)):hover { color: #ffd77a !important; border-bottom-color: #ffd77a; }
.b7-prose .b7-notice { margin-bottom: 1.5em; }

/* Gentle entrance */
@media (prefers-reduced-motion: no-preference) {
	.wp-block-post-title, .wp-block-post-content > * { animation: b7-rise 0.6s ease both; }
	.wp-block-post-content > *:nth-child(2) { animation-delay: 0.05s; }
	.wp-block-post-content > *:nth-child(3) { animation-delay: 0.1s; }
	.wp-block-post-content > *:nth-child(n+4) { animation-delay: 0.15s; }
}
@keyframes b7-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
