/* QUOTE BOX */
.quote-box {
	background: #fff7e6;
	border-left: 6px solid #ffb84d;
	padding: 14px 18px;
	margin: 22px 0;
	font-style: italic;
	border-radius: 4px;
}

/* GOLD AFFILIATE BUTTON */
.gold-btn {
	background: linear-gradient(#ffde59, #f7b500);
	padding: 14px 24px;
	border-radius: 6px;
	font-weight: 700;
	color: #000;
	text-decoration: none;
	display: inline-block;
	box-shadow: 0 4px 0 #c48f00;
}

/******************************************************
    77.BILLIARDS OFFICIAL THEME PACK – v1.0
    Author: Brix x ChatGPT
    Style: Black + Gold / Clean / Modern
******************************************************/
/* ---------------------------------------------------
    GLOBAL TYPOGRAPHY & LAYOUT
--------------------------------------------------- */
body {
	font-family: "Inter", Arial, sans-serif;
	line-height: 1.65;
	font-size: 17px;
	color: #222;
}

.speech-block, .content-block {
	max-width: 800px;
	margin: 0 auto;
}

/* ---------------------------------------------------
    SECTION TITLE (77 STYLE)
--------------------------------------------------- */
.section-title {
	font-size: 28px;
	font-weight: 800;
	text-align: center;
	padding-bottom: 8px;
	border-bottom: 3px solid #ffb84d;
	margin: 25px auto 20px;
	display: inline-block;
}

/* ---------------------------------------------------
    GOLD HORIZONTAL RULE
--------------------------------------------------- */
.gold-hr {
	border: 0;
	height: 3px;
	background: #ffb84d;
	width: 60%;
	margin: 25px auto;
}

/* ---------------------------------------------------
    BANNERS (BLACK LABEL STYLE)
--------------------------------------------------- */
.banner-label {
	background: #000;
	color: #fff;
	padding: 6px 14px;
	font-weight: 700;
	border-radius: 4px;
	display: inline-block;
	margin: 20px 0 12px;
	font-size: 15px;
}

/* ---------------------------------------------------
    MATCH RESULT CARDS
--------------------------------------------------- */
.match-card {
	background: #fff;
	border: 1px solid #ddd;
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 12px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	font-size: 17px;
}

/* INLINE FLAG SUPPORT */
.flag {
	font-size: 22px;
	vertical-align: middle;
}

/* ---------------------------------------------------
    QUOTE BOX (PRIMARY)
--------------------------------------------------- */
.quote-box {
	background: #fff7e6;
	border-left: 6px solid #ffb84d;
	padding: 18px 22px;
	margin: 25px 0;
	font-style: italic;
	border-radius: 6px;
}

/* ---------------------------------------------------
    SOFT QUOTE (ALTERNATE)
--------------------------------------------------- */
.soft-quote {
	border-left: 4px solid #ffcc80;
	padding-left: 14px;
	font-style: italic;
	margin: 18px 0;
	color: #444;
}

/* ---------------------------------------------------
    FRAME BOX (ANNOUNCEMENTS)
--------------------------------------------------- */
.frame-box {
	border: 2px solid #000;
	padding: 18px;
	border-radius: 8px;
	background: #fffaf2;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	margin: 25px 0;
}

/* ---------------------------------------------------
    GOLD BUTTONS
--------------------------------------------------- */
.btn-gold {
	background: #ffb84d;
	padding: 12px 22px;
	border-radius: 6px;
	color: #000;
	font-weight: 700;
	text-decoration: none;
	transition: .2s ease;
	display: inline-block;
	margin: 8px 0;
}

.btn-gold:hover {
	background: #ff9900;
}

/* ---------------------------------------------------
    AMAZON-STYLE BUTTON
--------------------------------------------------- */
.gold-btn {
	background: linear-gradient(#ffde59, #f7b500);
	padding: 14px 24px;
	border-radius: 6px;
	font-weight: 700;
	color: #000;
	text-decoration: none;
	display: inline-block;
	box-shadow: 0 4px 0 #c48f00;
}

.gold-btn:hover {
	filter: brightness(1.08);
}

/* ---------------------------------------------------
    TOURNAMENT TABLE STYLING
--------------------------------------------------- */
.tour-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

.tour-table th {
	background: #000;
	color: #fff;
	padding: 10px;
	text-align: left;
	font-weight: 700;
}

.tour-table td {
	padding: 10px;
	border-bottom: 1px solid #ddd;
}

.tour-table tr:hover {
	background: #f3f3f3;
}

/* ---------------------------------------------------
    IMAGES WITH SHADOW
--------------------------------------------------- */
.img-shadow {
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ---------------------------------------------------
    GOLD GLOW TEXT
--------------------------------------------------- */
.glow-gold {
	color: #cc8800;
	font-weight: 800;
	text-shadow: 0 0 6px rgba(255,204,102,0.55);
}

/* ---------------------------------------------------
    SPACING UTILITIES (for quick layout)
--------------------------------------------------- */
.mt-20 {
	margin-top: 20px;
}

.mb-20 {
	margin-bottom: 20px;
}

.mt-30 {
	margin-top: 30px;
}

.mb-30 {
	margin-bottom: 30px;
}

/* MOBILE-FRIENDLY PRODUCT IMAGES */
.cue-img {
	max-width: 100%;
	height: auto;
	max-height: 380px;
/* Adjust this number until it looks perfect */
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	margin: 14px 0;
}

@media (max-width: 480px) {
	.cue-img {
		max-height: 260px;
	/* Smaller for mobile */
	}
}

.pool-calendar {
	overflow-x: auto;
}

.pool-calendar table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.35;
}

.pool-calendar th,
.pool-calendar td {
	padding: 10px 12px;
	vertical-align: top;
	border: 1px solid rgba(0,0,0,0.12);
}

.pool-calendar thead th {
	background: #f2f2f2;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .6px;
}

.pool-calendar .month-row td {
	background: #111;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	padding: 12px;
}

.pool-calendar tbody tr.event:nth-child(even) td {
	background: #fafafa;
}

.pool-calendar td:first-child {
	white-space: nowrap;
	font-weight: 700;
}

.pool-calendar .event-notes {
	display: inline-block;
	margin-top: 4px;
	font-size: 13px;
}

/* =========================================================
   MATCHROOM MAJOR ROW – MATCHROOM RED + GOLD ACCENT
   ========================================================= */
.pool-calendar tr.event.major td {
	background-color: #B1121A !important;
/* Matchroom red */
	color: #ffffff !important;
	border-color: rgba(255,255,255,0.18);
}

/* Keep stable on hover */
.pool-calendar tr.event.major:hover td,
.pool-calendar tbody:hover tr.event.major td {
	background-color: #B1121A !important;
	color: #ffffff !important;
	opacity: 1 !important;
	filter: none !important;
}

/* Gold prestige accent */
.pool-calendar tr.event.major td:first-child {
	box-shadow: inset 6px 0 0 #D4AF37;
}

/* Links */
.pool-calendar tr.event.major a,
.pool-calendar tr.event.major a:visited {
	color: #FFD100 !important;
	font-weight: 700;
	text-decoration: none;
}

.pool-calendar tr.event.major a:hover,
.pool-calendar tr.event.major a:focus {
	color: #FFE066 !important;
	text-decoration: underline;
}

/* Optional notes */
.pool-calendar tr.event.major .event-notes {
	color: rgba(255,255,255,0.92) !important;
}

/* Hover effect (same feel as PBS option 1) */
.pool-calendar tr.event.major {
	transition: transform .15s ease;
}

.pool-calendar tr.event.major:hover {
	transform: translateY(-1px);
}

.pool-calendar tr.event.major:hover td {
	box-shadow: inset 0 0 0 2px rgba(255,255,255,0.22);
}

.pool-calendar tr.event.major td:nth-child(2)::after {
	content: "MAJOR";
	margin-left: 8px;
	font-size: 11px;
	font-weight: 800;
	color: #FFD100;
}

/* Ranking events */
.pool-calendar tr.event.ranking td {
	border-left: 4px solid #1e90ff;
}

.pool-calendar tr.event.ranking td:nth-child(2)::after {
	content: "RANKING";
	margin-left: 8px;
	font-size: 11px;
	font-weight: 700;
	color: #1e90ff;
}

@media (max-width: 768px) {
	.pool-calendar table,
										  .pool-calendar thead,
										  .pool-calendar tbody,
										  .pool-calendar tr,
										  .pool-calendar td {
		display: block;
		width: 100%;
	}
	
	.pool-calendar thead {
		display: none;
	}
	
	.pool-calendar tr.event {
		border: 1px solid rgba(0,0,0,0.12);
		border-radius: 6px;
		margin-bottom: 12px;
		padding: 10px;
		background: #fff;
	}
	
	.pool-calendar td {
		padding: 6px 0;
		border: none;
	}
	
	.pool-calendar td::before {
		display: block;
		font-size: 12px;
		font-weight: 700;
		text-transform: uppercase;
		color: #666;
		margin-bottom: 2px;
	}
	
	.pool-calendar td:nth-child(1)::before {
		content: "Dates";
	}
	
	.pool-calendar td:nth-child(2)::before {
		content: "Tournament";
	}
	
	.pool-calendar td:nth-child(3)::before {
		content: "Location";
	}
	
	.pool-calendar td:nth-child(4)::before {
		content: "Sanction";
	}
	
	.pool-calendar td:nth-child(5)::before {
		content: "Discipline";
	}
}

/* Make event title links clearly look clickable */
.pool-calendar td strong a {
	color: #0b5fff;
/* link blue */
	text-decoration: underline;
/* always visible */
	text-underline-offset: 2px;
}

.pool-calendar td strong a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Add a link icon after any linked title */
.pool-calendar td strong a::after {
	content: " ↗";
	font-size: .95em;
	opacity: .75;
}

.recap-note {
	padding: 12px 14px;
	border-left: 4px solid #c9a227;
	background: rgba(201, 162, 39, 0.10);
	border-radius: 10px;
	font-size: .95em;
	line-height: 1.5;
}

.recap-note a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.recap-note a:hover {
	opacity: .85;
}

.writer-voice {
	margin-top: 18px;
	padding: 16px 16px 14px;
	border: 1px solid rgba(0,0,0,0.10);
	border-radius: 14px;
	background: rgba(0,0,0,0.03);
}

.writer-label {
	display: inline-block;
	font-size: .85em;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(0,0,0,0.08);
	margin-bottom: 10px;
}

.writer-text {
	font-size: 1.02em;
	line-height: 1.65;
}

.writer-voice a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tpc-awards {
	max-width: 720px;
	margin: 0 auto;
	line-height: 1.55;
}

.tpc-title {
	text-align: center;
	font-size: 20px;
	margin: 6px 0 18px;
}

.tpc-intro {
	margin: 0 0 16px;
}

.tpc-section {
	margin: 16px 0 0;
}

.tpc-head {
	margin: 0 0 6px;
}

.tpc-line {
	margin: 0 0 4px;
}

.tpc-line:last-child {
	margin-bottom: 0;
}

.tpc-closing {
	margin: 18px 0 0;
}

.tpc-awards .winner {
	color: #f5c400;
	font-weight: 700;
}

/* =========================================================
   PBS MAJOR ROW – ROYAL BLUE (FINAL, SAFE VERSION)
   ========================================================= */
/* Base PBS row */
.pool-calendar tr.event.pbs td {
	background-color: #0B3C8C !important;
	color: #ffffff !important;
	border-color: rgba(255,255,255,0.15);
}

/* Force same background on ALL interaction states */
.pool-calendar tr.event.pbs:hover td,
.pool-calendar tr.event.pbs:focus td,
.pool-calendar tr.event.pbs:active td,
.pool-calendar tbody:hover tr.event.pbs td {
	background-color: #0B3C8C !important;
	color: #ffffff !important;
	opacity: 1 !important;
	filter: none !important;
}

/* Tournament title */
.pool-calendar tr.event.pbs td:nth-child(2) strong {
	color: #ffffff !important;
}

/* Sub-events */
.pool-calendar tr.event.pbs .event-notes {
	display: block;
	margin-top: 6px;
	padding-left: 10px;
	border-left: 3px solid #FFD100;
	line-height: 1.3;
	font-size: .92em;
	color: rgba(255,255,255,0.92) !important;
}

/* Links */
.pool-calendar tr.event.pbs a,
.pool-calendar tr.event.pbs a:visited {
	color: #FFD100 !important;
	font-weight: 700;
	text-decoration: none;
}

/* Link hover */
.pool-calendar tr.event.pbs a:hover,
.pool-calendar tr.event.pbs a:focus {
	color: #FFE066 !important;
	text-decoration: underline;
}

/* PBS hover effect – SAFE (no color changes) */
.pool-calendar tr.event.pbs {
	transition: transform .15s ease;
}

.pool-calendar tr.event.pbs:hover {
	transform: translateY(-1px);
}

/* Inset outline on hover */
.pool-calendar tr.event.pbs:hover td {
	box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
}

/* Premier League Pool Invitational styling */
.pool-calendar tr.plp-invitational td {
	background: #b1121a !important;
	color: #ffffff !important;
	font-weight: 600;
}

.pool-calendar tr.plp-invitational a {
	color: #ffffff !important;
}

.pool-calendar tr.plp-invitational .event-notes {
	color: #f2f2f2 !important;
}

/* Optional: badge */
.pool-calendar tr.plp-invitational td:nth-child(2)::after {
	content: "INVITATIONAL";
	display: inline-block;
	margin-left: 8px;
	padding: 2px 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	background: #ffffff;
	color: #b1121a;
	border-radius: 3px;
	vertical-align: middle;
}

/* LAS VEGAS OPEN */
.lv-container {
	max-width: 900px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
	line-height: 1.6;
	color: #333;
}

.lv-container h1 {
	font-size: 2.2em;
	margin-bottom: .5em;
	color: #111;
}

.lv-container h2 {
	font-size: 1.5em;
	margin-top: 1.5em;
	border-bottom: 2px solid #eaeaea;
	padding-bottom: 5px;
	color: #222;
}

.video-label {
	font-weight: bold;
	display: block;
	margin-bottom: 10px;
	margin-top: 25px;
	color: #d9230f;
	font-size: 1.2em;
	border-left: 4px solid #d9230f;
	padding-left: 10px;
}

.cta-button {
	display: block;
	background-color: #d9230f;
	color: #ffffff !important;
	padding: 15px 25px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
	border-radius: 6px;
	text-align: center;
	margin: 30px 0;
	transition: background-color .3s;
	box-shadow: 0 4px 6px rgba(217, 35, 15, 0.2);
}

.cta-button:hover {
	background-color: #b91d0c;
}

.info-box {
	background: #f8f9fa;
	border-left: 4px solid #d9230f;
	padding: 20px;
	margin: 20px 0;
	border-radius: 0 8px 8px 0;
}

.info-box ul {
	margin: 0;
	padding-left: 20px;
}

.info-box li {
	margin-bottom: 8px;
}

.prize-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.prize-list li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #ddd;
	padding: 8px 0;
}

.prize-list li:last-child {
	border-bottom: none;
	font-weight: bold;
	font-size: 1.1em;
	color: #d9230f;
}

/* Accordion / Replay CSS */
.replay-accordion {
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 15px;
	overflow: hidden;
}

.replay-accordion summary {
	background: #eaeaea;
	padding: 15px;
	font-weight: bold;
	font-size: 1.1em;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #333;
}

.replay-accordion summary::-webkit-details-marker {
	display: none;
}

.replay-accordion summary::after {
	content: '➕';
	font-size: 1.2em;
}

.replay-accordion[open] summary::after {
	content: '➖';
}

.replay-content {
	padding: 15px;
}

.replay-label {
	font-weight: bold;
	display: block;
	margin-bottom: 10px;
	margin-top: 15px;
	color: #555;
	border-left: 4px solid #555;
	padding-left: 10px;
}

@media (max-width: 768px) {
	.lv-container h1 {
		font-size: 1.8em;
	}
}

/* HEYBALL MASTERS SCHEDULE TABLE */
.heyball-wrap {
	width: 100%;
	overflow-x: auto;
	margin: 20px 0;
}

.heyball-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	font-family: Arial, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	background: #ffffff;
}

.heyball-table th,
.heyball-table td {
	border: 1px solid #d9d9d9;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.heyball-table th {
	background: #1b2c74;
	color: #ffffff;
	font-weight: 700;
}

.heyball-table tr:nth-child(even) td {
	background: #f7f8fc;
}

.heyball-table .section-row td {
	background: #f4b400;
	color: #1a1a1a;
	font-weight: 700;
	text-align: center;
}

.heyball-note {
	font-size: 13px;
	color: #555;
	margin-top: 10px;
}

/* mobile improvements */
@media screen and (max-width: 768px) {
	.heyball-table {
		font-size: 13px;
	}
	
	.heyball-table th,
		  .heyball-table td {
		padding: 8px 10px;
	}
}

.heyball-links {
	margin: 20px 0;
	padding: 0;
}

.heyball-link-item {
	border: 1px solid #d9d9d9;
	background: #f7f8fc;
	padding: 12px 14px;
	margin-bottom: 10px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.heyball-link-item strong {
	color: #1b2c74;
}

.heyball-link-item a {
	color: #1b2c74;
	font-weight: 700;
	text-decoration: none;
	word-break: break-word;
}

.heyball-link-item a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 768px) {
	.heyball-link-item {
		padding: 10px 12px;
		font-size: 13px;
	}
}

/* 77.billiards article tables */
.billiards-article {
	max-width: 100%;
	font-size: 17px;
	line-height: 1.7;
	color: #222222;
}

.billiards-article h2 {
	font-size: 28px;
	line-height: 1.25;
	margin: 28px 0 16px;
	color: #111111;
	font-weight: 800;
}

.billiards-article h3 {
	font-size: 22px;
	line-height: 1.3;
	margin: 34px 0 14px;
	color: #111111;
	font-weight: 800;
}

.billiards-article p {
	margin: 0 0 18px;
}

.billiards-article blockquote {
	margin: 24px 0;
	padding: 18px 22px;
	border-left: 5px solid #111111;
	background: #f6f6f6;
	font-size: 18px;
	line-height: 1.6;
	font-weight: 600;
	color: #222222;
}

.billiards-table-wrap {
	width: 100%;
	overflow-x: auto;
	margin: 24px 0 34px;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	background: #ffffff;
}

.billiards-results-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 620px;
	font-size: 15px;
	line-height: 1.45;
	background: #ffffff;
}

.billiards-results-table thead {
	background: #111111;
	color: #ffffff;
}

.billiards-results-table th {
	padding: 14px 16px;
	text-align: left;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
	font-size: 13px;
}

.billiards-results-table td {
	padding: 14px 16px;
	border-bottom: 1px solid #eeeeee;
	vertical-align: middle;
}

.billiards-results-table tbody tr:nth-child(even) {
	background: #fafafa;
}

.billiards-results-table tbody tr:hover {
	background: #f3f3f3;
}

.billiards-results-table tbody tr:last-child td {
	border-bottom: none;
}

.result-win {
	font-weight: 700;
	color: #0f7b3f;
}

.result-loss {
	font-weight: 700;
	color: #b42318;
}

.stage-label {
	font-weight: 700;
	color: #111111;
}

.score-pill {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
}

.billiards-key-points {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.billiards-key-points li {
	margin-bottom: 12px;
	padding: 14px 16px;
	background: #f7f7f7;
	border-left: 4px solid #111111;
	border-radius: 10px;
}

/* BEGIN 77.BILLIARDS HOME TEST — 2026-12-05 */
/* 77.Billiards Home Test. Append after existing Additional CSS.
   Page layout changes apply only while #b77-home is present. */

/* Canard gives .site-main a fixed width, float, border and sidebar padding.
   Reset those wrappers for this page; leave every other page untouched. */
body:has(#b77-home) #content > .site-content-inner {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}
body:has(#b77-home) #primary.content-area,
body:has(#b77-home) #main.site-main {
  float: none;
  clear: both;
  width: 100%;
  max-width: none;
  margin: 0;
  border-left: 0;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
}
body:has(#b77-home) #main.site-main { padding-top: 32px; }
body:has(#b77-home) #main > article.type-page {
  margin: 0;
  padding: 0;
  border: 0;
}
body:has(#b77-home) #main > article.type-page > .entry-content {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body:has(#b77-home) #secondary.widget-area,
body:has(#b77-home) .sidebar-toggle,
body:has(#b77-home) #main > article.type-page > .entry-header,
body:has(#b77-home) #content > .entry-hero {
  display: none !important;
}

/* Keep the real Canard header, banner, menu and search. Compact their spacing. */
body:has(#b77-home) #masthead.site-header { padding: 18px 0 14px; }
body:has(#b77-home) #masthead .site-branding {
  width: calc(100% - 40px);
  max-width: 1120px;
  min-height: 44px;
}
body:has(#b77-home) #masthead .site-title {
  margin: 0 60px;
  padding: 0;
  font-size: 24px;
  line-height: 1.2;
}
body:has(#b77-home) #masthead .site-description { margin-top: 3px; font-size: 12px; }
body:has(#b77-home) #masthead .site-logo-link:empty { display: none; }
body:has(#b77-home) #masthead .header-image {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}
body:has(#b77-home) #masthead .header-image-inner {
  width: calc(100% - 40px);
  max-width: 1120px;
}
body:has(#b77-home) #masthead .header-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76px;
  margin: 0 auto;
  object-fit: contain;
}
body:has(#b77-home) #masthead .search-navigation { top: 18px; }
body:has(#b77-home) #masthead .search-navigation-inner {
  width: calc(100% - 40px);
  max-width: 1120px;
}

/* Page blocks inherit the site's current body font. */
#b77-home {
  --b77-home-ink: #17191c;
  --b77-home-muted: #646970;
  --b77-home-line: #dedfdf;
  box-sizing: border-box;
  container: b77home / inline-size;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  color: inherit;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5;
}
#b77-home *,
#b77-home *::before,
#b77-home *::after { box-sizing: border-box; }
#b77-home > *,
#b77-home > .wp-block-group__inner-container > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
#b77-home h1,
#b77-home h2 {
  clear: none;
  font-family: inherit;
  font-style: normal;
  font-weight: 750;
  text-transform: none;
}
#b77-home a { text-underline-offset: 4px; }
#b77-home a:focus-visible {
  outline: 3px solid #146db0;
  outline-offset: 5px;
  border-radius: 2px;
}
#b77-home .b77-home-positioning {
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--b77-home-ink);
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
#b77-home .b77-home-intro {
  max-width: 780px;
  margin: 10px 0 0;
  padding: 0;
  color: var(--b77-home-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Native Button blocks remain ordinary links, with generous tap targets. */
#b77-home .b77-home-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 9px;
  width: 100%;
  margin: 22px 0 26px;
  padding: 0;
}
#b77-home .b77-home-actions > .wp-block-button {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#b77-home .b77-home-actions .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 56px;
  margin: 0;
  padding: 13px 20px;
  border: 1px solid var(--b77-home-ink);
  border-radius: 3px;
  background: var(--b77-home-ink);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 120ms ease, color 120ms ease;
}
#b77-home .b77-home-actions .b77-home-secondary .wp-block-button__link {
  background: transparent;
  color: var(--b77-home-ink);
}
#b77-home .b77-home-actions .wp-block-button__link:hover,
#b77-home .b77-home-actions .wp-block-button__link:active {
  border-color: #454b51;
  background: #454b51;
  color: #fff;
}
#b77-home .b77-home-actions .wp-block-button__link:focus-visible {
  border-color: var(--b77-home-ink);
  color: #fff;
  background: var(--b77-home-ink);
}

/* One Query Loop supplies the lead story and its two supporting stories. */
#b77-home .b77-home-feed { width: 100%; margin: 0; padding: 0; }
#b77-home .b77-home-stories {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
#b77-home .b77-home-stories > li.wp-block-post {
  position: relative;
  float: none;
  clear: none;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}
#b77-home .b77-home-stories > li.wp-block-post::before,
#b77-home .b77-home-stories > li.wp-block-post::after { content: none; }
#b77-home .b77-home-story-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #e5e6e6;
}
#b77-home .b77-home-story-image a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}
#b77-home .b77-home-story-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center 35%;
}
#b77-home .b77-home-story-image a:focus-visible {
  position: relative;
  z-index: 2;
  outline: 4px solid #fff;
  outline-offset: -7px;
  box-shadow: inset 0 0 0 8px #146db0;
}
#b77-home .b77-home-story-text {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 12px 0 0;
  background: transparent;
}
#b77-home .b77-home-story-text > *,
#b77-home .b77-home-story-text > .wp-block-group__inner-container > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
#b77-home .b77-home-story-title {
  margin: 0;
  padding: 0;
  color: var(--b77-home-ink);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
#b77-home .b77-home-story-title a,
#b77-home .b77-home-story-title a:visited {
  display: inline;
  color: inherit;
  border: 0;
  text-decoration: none;
  box-shadow: none;
}
#b77-home .b77-home-story-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
#b77-home .b77-home-story-date {
  margin: 9px 0 0;
  padding: 0;
  color: var(--b77-home-muted);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

/* Grid overlap lets long headlines enlarge the lead tile without clipping.
   The image link and headline link stay separate keyboard targets. */
#b77-home .b77-home-stories > li.wp-block-post:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-column: 1 / -1;
  min-height: 340px;
  border-radius: 3px;
  background: #17191c;
}
#b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-image {
  grid-area: 1 / 1;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: 4 / 3;
  background: #17191c;
}
#b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-image::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.15) 38%, rgba(0, 0, 0, 0.78) 75%, rgba(0, 0, 0, 0.94) 100%);
  pointer-events: none;
  content: "";
}
#b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-text {
  grid-area: 1 / 1;
  z-index: 2;
  align-self: end;
  width: 100%;
  margin: 0;
  padding: 50px 21px 22px;
  color: #fff;
  /* The fade follows the text height, keeping long headlines readable. */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.72) 44px, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}
#b77-home .b77-home-stories > li.wp-block-post:first-child .b77-home-story-title {
  max-width: 900px;
  color: #fff;
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}
#b77-home .b77-home-stories > li.wp-block-post:first-child .b77-home-story-text a { pointer-events: auto; }
#b77-home .b77-home-stories > li.wp-block-post:first-child .b77-home-story-title a:focus-visible {
  outline-color: #fff;
  outline-offset: 4px;
}
#b77-home .b77-home-stories > li.wp-block-post:first-child .b77-home-story-date {
  margin-top: 12px;
  color: #e2e4e6;
  font-size: 13px;
}

/* A future post without a featured image still gets a readable text layout. */
#b77-home .b77-home-stories > li.wp-block-post:first-child:not(:has(.b77-home-story-image img)) {
  min-height: 0;
  padding: 24px;
  border: 1px solid var(--b77-home-line);
  background: #f5f5f3;
}
#b77-home .b77-home-stories > li.wp-block-post:first-child:not(:has(.b77-home-story-image img)) > .b77-home-story-text { padding: 0; background: transparent; }
#b77-home .b77-home-stories > li.wp-block-post:first-child:not(:has(.b77-home-story-image img)) .b77-home-story-title { color: var(--b77-home-ink); text-shadow: none; }
#b77-home .b77-home-stories > li.wp-block-post:first-child:not(:has(.b77-home-story-image img)) .b77-home-story-date { color: var(--b77-home-muted); }
#b77-home .b77-home-stories > li.wp-block-post:first-child:not(:has(.b77-home-story-image img)) .b77-home-story-title a:focus-visible { outline-color: #146db0; }

#b77-home .b77-home-empty {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--b77-home-line);
  background: #f6f6f4;
  font-size: 16px;
}
#b77-home .b77-home-empty p { margin: 0; }
#b77-home .b77-home-more { margin: 26px 0 0; padding: 0; }
#b77-home .b77-home-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--b77-home-ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
}
#b77-home .b77-home-footer {
  margin: 23px 0 30px;
  padding: 17px 0 0;
  border-top: 1px solid var(--b77-home-line);
  color: var(--b77-home-muted);
  font-size: 14px;
  line-height: 1.6;
}
#b77-home .b77-home-footer p { margin: 0; padding: 0; }
#b77-home .b77-home-footer a {
  display: inline-block;
  min-height: 44px;
  padding: 10px 3px;
  color: inherit;
  text-decoration: none;
}
#b77-home .b77-home-footer a:hover { color: var(--b77-home-ink); text-decoration: underline; }

/* Use the actual content width, including when :has is unavailable. */
@container b77home (min-width: 640px) {
  #b77-home .b77-home-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 25px; margin-bottom: 30px; }
  #b77-home .b77-home-actions .wp-block-button__link { min-height: 64px; padding: 16px; font-size: 17px; }
  #b77-home .b77-home-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 25px; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-image { min-height: 400px; aspect-ratio: 16 / 9; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-text { padding: 75px 32px 30px; }
  #b77-home .b77-home-story-title { font-size: 26px; }
}
@container b77home (min-width: 1000px) {
  #b77-home .b77-home-stories { gap: 34px 30px; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-image { aspect-ratio: 1.95; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-text { padding: 90px 40px 36px; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child .b77-home-story-title { font-size: 44px; }
  #b77-home .b77-home-story-title { font-size: 28px; }
}
@media screen and (min-width: 960px) {
  body:has(#b77-home) #masthead.site-header { padding-top: 16px; padding-bottom: 14px; }
  body:has(#b77-home) #masthead .site-branding { min-height: 0; }
  body:has(#b77-home) #masthead .site-top { margin-top: -16px; margin-bottom: 14px; }
  body:has(#b77-home) #masthead .search-navigation { position: relative; top: auto; margin: 16px 0 0; padding: 12px 0 0; }
  body:has(#b77-home) #main.site-main { padding-top: 36px; }
}
@media screen and (max-width: 480px) {
  body:has(#b77-home) #content > .site-content-inner,
  body:has(#b77-home) #masthead .site-branding,
  body:has(#b77-home) #masthead .header-image-inner,
  body:has(#b77-home) #masthead .search-navigation-inner { width: calc(100% - 32px); }
  body:has(#b77-home) #main.site-main { padding-top: 24px; }
  body:has(#b77-home) #masthead .site-title { font-size: 22px; }
  body:has(#b77-home) #masthead .header-image img { max-height: 64px; }
  #b77-home .b77-home-positioning { font-size: 28px; }
  #b77-home .b77-home-intro { font-size: 15px; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-text { padding-left: 18px; padding-right: 18px; }
  #b77-home .b77-home-story-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  #b77-home *,
  #b77-home *::before,
  #b77-home *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  #b77-home .b77-home-actions { display: none; }
  #b77-home .b77-home-stories > li.wp-block-post { break-inside: avoid; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child { display: block; min-height: 0; background: transparent; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-image { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-image::after { display: none; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child > .b77-home-story-text { padding: 14px 0 0; background: transparent; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child .b77-home-story-title { color: #111; text-shadow: none; font-size: 26px; }
  #b77-home .b77-home-stories > li.wp-block-post:first-child .b77-home-story-date { color: #555; }
}

/* END 77.BILLIARDS HOME TEST */

/* BEGIN 77.BILLIARDS FEATURED YOUTUBE — 2026-12-05 */
/* Featured YouTube link. Append after home-test.css.
   The thumbnail opens the chosen video on YouTube; no embedded player or JS. */
#b77-home .b77-home-video {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 26px 0 30px;
  padding: 18px;
  border: 1px solid #292e34;
  border-radius: 5px;
  color: #fff;
  background: #17191c;
  font-family: inherit;
}
#b77-home .b77-home-video > .wp-block-group__inner-container {
  display: contents;
}
#b77-home .b77-home-video-label {
  grid-column: 1 / -1;
  margin: 0 0 14px;
  padding: 0;
  color: #f0f2f4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
#b77-home .b77-home-video-image {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #080a0d;
}
#b77-home .b77-home-video-image a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  text-decoration: none;
}
#b77-home .b77-home-video-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
}
#b77-home .b77-home-video-image a:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -7px;
  box-shadow: inset 0 0 0 8px #146db0;
}
#b77-home .b77-home-video-copy {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 0 0;
  color: #fff;
  background: transparent;
}
#b77-home .b77-home-video-copy > *,
#b77-home .b77-home-video-copy > .wp-block-group__inner-container > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
#b77-home .b77-home-video-title {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
#b77-home .b77-home-video-title a,
#b77-home .b77-home-video-title a:visited {
  color: inherit;
  text-decoration: none;
}
#b77-home .b77-home-video-title a:hover { text-decoration: underline; }
#b77-home .b77-home-video-description {
  margin: 10px 0 0;
  padding: 0;
  color: #cbd0d6;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#b77-home .b77-home-video-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 9px;
  width: 100%;
  margin: 18px 0 0;
  padding: 0;
}
#b77-home .b77-home-video-actions > .wp-block-button {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#b77-home .b77-home-video-actions > .wp-block-button:only-child {
  grid-column: 1 / -1;
}
#b77-home .b77-home-video-actions .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #727a84;
  border-radius: 3px;
  color: #f2f4f6;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}
#b77-home .b77-home-video-actions .b77-home-video-watch .wp-block-button__link {
  border-color: #ce282e;
  color: #fff;
  background: #ce282e;
}
#b77-home .b77-home-video-actions .b77-home-video-watch .wp-block-button__link:hover,
#b77-home .b77-home-video-actions .b77-home-video-watch .wp-block-button__link:active {
  border-color: #b22127;
  color: #fff;
  background: #b22127;
}
#b77-home .b77-home-video-copy a:focus-visible,
#b77-home .b77-home-video-actions a:focus-visible {
  outline: 3px solid #92c9ff;
  outline-offset: 4px;
}
#b77-home .b77-home-video-actions .b77-home-video-watch .wp-block-button__link:focus-visible {
  border-color: #ce282e;
  color: #fff;
  background: #ce282e;
}

/* Thumbnail stays large; the text moves beside it only with enough room. */
@container b77home (min-width: 640px) {
  #b77-home .b77-home-video { padding: 22px; margin-top: 28px; margin-bottom: 34px; }
  #b77-home .b77-home-video-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
}
@container b77home (min-width: 900px) {
  #b77-home .b77-home-video {
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
    column-gap: 25px;
    padding: 24px;
  }
  #b77-home .b77-home-video-label { margin-bottom: 16px; }
  #b77-home .b77-home-video-image { grid-column: 1; grid-row: 2 / 4; align-self: center; }
  #b77-home .b77-home-video-copy { grid-column: 2; grid-row: 2; align-self: end; padding-top: 0; }
  #b77-home .b77-home-video-actions { grid-column: 2; grid-row: 3; grid-template-columns: minmax(0, 1fr); align-self: start; }
  #b77-home .b77-home-video-title { font-size: 28px; }
}
@media (max-width: 480px) {
  #b77-home .b77-home-video { margin-top: 22px; padding: 14px; }
  #b77-home .b77-home-video-label { margin-bottom: 11px; }
  #b77-home .b77-home-video-copy { padding-top: 15px; }
  #b77-home .b77-home-video-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  #b77-home .b77-home-video *,
  #b77-home .b77-home-video *::before,
  #b77-home .b77-home-video *::after { transition: none !important; animation: none !important; }
}
@media print {
  #b77-home .b77-home-video { break-inside: avoid; border-color: #aaa; color: #111; background: transparent; }
  #b77-home .b77-home-video-label,
  #b77-home .b77-home-video-title,
  #b77-home .b77-home-video-description { color: #111; }
  #b77-home .b77-home-video-actions .wp-block-button__link,
  #b77-home .b77-home-video-actions .b77-home-video-watch .wp-block-button__link { border-color: #777; color: #111; background: transparent; }
}

/* END 77.BILLIARDS FEATURED YOUTUBE */

/* 77.BILLIARDS - Hide homepage page title */
body.home.page article.page > .entry-header {
    display: none !important;
}