/*
 * MyLibrary 3.10.30 — permanent design for short-summary pages and catalogue.
 * Light, readable and independent from one-time article importer plugins.
 */

html.mlb-summary-section {
	--mlb-sum-ink: #26364a;
	--mlb-sum-muted: #66758a;
	--mlb-sum-accent: #4568d4;
	--mlb-sum-accent-2: #d98935;
	--mlb-sum-line: #dbe3ef;
	--mlb-sum-soft: #f4f7fd;
	--mlb-sum-blue: #edf3ff;
	--mlb-sum-gold: #fff7e7;
	--mlb-sum-green: #edf8f2;
	--mlb-sum-red: #fff1f1;
	--mlb-sum-white: #ffffff;
	--mlb-sum-shadow: 0 10px 28px rgba(42, 60, 88, 0.08);
}

html.mlb-summary-article #single .post-content .text {
	counter-reset: mlb-summary-section;
	color: var(--mlb-sum-ink);
	font-size: 17px;
	line-height: 1.78;
}

html.mlb-summary-article #single .post-content .text > p:first-of-type:not([class]),
html.mlb-summary-article #single .post-content .text > .mlk-lead,
html.mlb-summary-article #single .post-content .text > .mlks-lead {
	position: relative;
	margin: 0 0 1.65rem;
	padding: 1.2rem 1.35rem 1.2rem 1.5rem;
	overflow: hidden;
	border: 1px solid #d8e2f4;
	border-left: 5px solid var(--mlb-sum-accent);
	border-radius: 14px;
	color: #2b3c52;
	background: linear-gradient(135deg, #f7f9ff 0%, #eef4ff 100%);
	box-shadow: 0 8px 22px rgba(55, 84, 140, 0.07);
	font-size: 1.08em;
	font-weight: 500;
	line-height: 1.72;
}

html.mlb-summary-article #single .post-content .text > p:first-of-type:not([class])::after,
html.mlb-summary-article #single .post-content .text > .mlk-lead::after,
html.mlb-summary-article #single .post-content .text > .mlks-lead::after {
	position: absolute;
	top: -44px;
	right: -34px;
	width: 118px;
	height: 118px;
	border: 22px solid rgba(69, 104, 212, 0.07);
	border-radius: 50%;
	content: "";
}

html.mlb-summary-article #single .post-content .text > h2,
html.mlb-summary-article #single .post-content .text > h2.wp-block-heading {
	display: grid;
	grid-template-columns: 2.45rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
	margin: 2.35rem 0 1rem;
	padding: 0 0 0.72rem;
	border-bottom: 1px solid var(--mlb-sum-line);
	color: #22364f;
	font-size: clamp(1.35rem, 2.5vw, 1.78rem);
	line-height: 1.28;
}

html.mlb-summary-article #single .post-content .text > h2::before,
html.mlb-summary-article #single .post-content .text > h2.wp-block-heading::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border: 1px solid #cdd9ef;
	border-radius: 12px;
	color: #3558bd;
	background: var(--mlb-sum-blue);
	box-shadow: 0 5px 14px rgba(69, 104, 212, 0.09);
	content: counter(mlb-summary-section);
	counter-increment: mlb-summary-section;
	font-size: 0.82rem;
	font-weight: 800;
}

html.mlb-summary-article #single .post-content .text h3 {
	margin: 1.55rem 0 0.65rem;
	color: #35557d;
	font-size: 1.16rem;
	line-height: 1.38;
}

html.mlb-summary-article #single .post-content .text h4 {
	margin: 1.25rem 0 0.5rem;
	color: #4a5e76;
	font-size: 1.02rem;
}

html.mlb-summary-article #single .post-content .text p {
	margin-top: 0;
	margin-bottom: 1.05rem;
}

html.mlb-summary-article #single .post-content .text a {
	color: #365fc9;
	text-decoration-color: rgba(54, 95, 201, 0.35);
	text-underline-offset: 3px;
}

html.mlb-summary-article #single .post-content .text a:hover {
	color: #284aab;
	text-decoration-color: currentColor;
}

/* Native ordered and unordered lists. */
html.mlb-summary-article #single .post-content .text > ol,
html.mlb-summary-article #single .post-content .text > ul,
html.mlb-summary-article #single .post-content .text > .wp-block-list {
	margin: 1.25rem 0 1.55rem;
	padding: 1.05rem 1.2rem 1.05rem 3.25rem;
	border: 1px solid var(--mlb-sum-line);
	border-radius: 14px;
	background: #fbfcff;
	box-shadow: 0 6px 18px rgba(42, 60, 88, 0.045);
}

html.mlb-summary-article #single .post-content .text > ol {
	list-style: none;
	counter-reset: mlb-summary-list;
	padding-left: 1.15rem;
}

html.mlb-summary-article #single .post-content .text > ol > li {
	position: relative;
	min-height: 2.25rem;
	margin: 0;
	padding: 0.52rem 0 0.52rem 3rem;
	border-bottom: 1px dashed #e1e7f1;
	counter-increment: mlb-summary-list;
}

html.mlb-summary-article #single .post-content .text > ol > li:last-child {
	border-bottom: 0;
}

html.mlb-summary-article #single .post-content .text > ol > li::before {
	position: absolute;
	top: 0.38rem;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	color: #3154b5;
	background: #eaf0ff;
	content: counter(mlb-summary-list);
	font-size: 0.78rem;
	font-weight: 800;
}

html.mlb-summary-article #single .post-content .text > ul > li,
html.mlb-summary-article #single .post-content .text > ul.wp-block-list > li {
	margin: 0.42rem 0;
}

html.mlb-summary-article #single .post-content .text > ul > li::marker,
html.mlb-summary-article #single .post-content .text > ul.wp-block-list > li::marker {
	color: var(--mlb-sum-accent-2);
}

/* Tables created in Gutenberg and tables from import plugins. */
html.mlb-summary-article #single .post-content .text .wp-block-table,
html.mlb-summary-article #single .post-content .text .mlk-table-wrap,
html.mlb-summary-article #single .post-content .text .mlks-table-wrap {
	margin: 1.45rem 0 1.75rem;
	overflow-x: auto;
	border: 1px solid var(--mlb-sum-line);
	border-radius: 14px;
	background: var(--mlb-sum-white);
	box-shadow: var(--mlb-sum-shadow);
	-webkit-overflow-scrolling: touch;
}

html.mlb-summary-article #single .post-content .text table,
html.mlb-summary-article #single .post-content .text .mlk-table,
html.mlb-summary-article #single .post-content .text .mlks-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	color: #2c3b4e;
	background: #fff;
	font-size: 0.96rem;
	line-height: 1.55;
}

html.mlb-summary-article #single .post-content .text table th,
html.mlb-summary-article #single .post-content .text .mlk-table th,
html.mlb-summary-article #single .post-content .text .mlks-table th {
	padding: 0.85rem 0.95rem;
	border: 0;
	border-bottom: 2px solid #ccd9ed;
	color: #27415f;
	background: linear-gradient(180deg, #eef4ff 0%, #e5eefc 100%);
	font-weight: 800;
	text-align: left;
	vertical-align: top;
}

html.mlb-summary-article #single .post-content .text table td,
html.mlb-summary-article #single .post-content .text .mlk-table td,
html.mlb-summary-article #single .post-content .text .mlks-table td {
	padding: 0.82rem 0.95rem;
	border: 0;
	border-bottom: 1px solid #e5eaf2;
	vertical-align: top;
}

html.mlb-summary-article #single .post-content .text table tr:last-child td {
	border-bottom: 0;
}

html.mlb-summary-article #single .post-content .text table tbody tr:nth-child(even) td {
	background: #f8faff;
}

html.mlb-summary-article #single .post-content .text table tbody tr:hover td {
	background: #f1f5fc;
}

/* Fact cards. */
html.mlb-summary-article #single .post-content .text .mlk-facts,
html.mlb-summary-article #single .post-content .text .mlks-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
	margin: 1.45rem 0 1.7rem;
}

html.mlb-summary-article #single .post-content .text .mlk-facts > div,
html.mlb-summary-article #single .post-content .text .mlks-facts > div {
	padding: 1rem;
	border: 1px solid var(--mlb-sum-line);
	border-top: 4px solid #8ea7e7;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 7px 19px rgba(42, 60, 88, 0.055);
}

html.mlb-summary-article #single .post-content .text .mlk-facts > div:nth-child(4n+2),
html.mlb-summary-article #single .post-content .text .mlks-facts > div:nth-child(4n+2) {
	border-top-color: #e1aa64;
}

html.mlb-summary-article #single .post-content .text .mlk-facts > div:nth-child(4n+3),
html.mlb-summary-article #single .post-content .text .mlks-facts > div:nth-child(4n+3) {
	border-top-color: #70b995;
}

html.mlb-summary-article #single .post-content .text .mlk-facts > div:nth-child(4n+4),
html.mlb-summary-article #single .post-content .text .mlks-facts > div:nth-child(4n+4) {
	border-top-color: #c997b7;
}

html.mlb-summary-article #single .post-content .text .mlk-facts span,
html.mlb-summary-article #single .post-content .text .mlks-facts span {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--mlb-sum-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.35;
	text-transform: uppercase;
}

html.mlb-summary-article #single .post-content .text .mlk-facts strong,
html.mlb-summary-article #single .post-content .text .mlks-facts strong {
	display: block;
	color: #2a3d55;
	line-height: 1.4;
}

/* Callouts and conclusions. */
html.mlb-summary-article #single .post-content .text .mlk-note,
html.mlb-summary-article #single .post-content .text .mlks-callout,
html.mlb-summary-article #single .post-content .text .mlk-summary,
html.mlb-summary-article #single .post-content .text .mlks-summary,
html.mlb-summary-article #single .post-content .text .mlk-warning,
html.mlb-summary-article #single .post-content .text blockquote,
html.mlb-summary-article #single .post-content .text .wp-block-quote {
	margin: 1.45rem 0;
	padding: 1.05rem 1.2rem;
	border: 1px solid #eadcb8;
	border-left: 5px solid #dfa14d;
	border-radius: 13px;
	color: #4d422f;
	background: var(--mlb-sum-gold);
	box-shadow: 0 6px 18px rgba(116, 87, 38, 0.05);
	font-style: normal;
	line-height: 1.68;
}

html.mlb-summary-article #single .post-content .text .mlk-summary,
html.mlb-summary-article #single .post-content .text .mlks-summary {
	border-color: #c9e5d5;
	border-left-color: #58a77c;
	color: #294b3b;
	background: var(--mlb-sum-green);
}

html.mlb-summary-article #single .post-content .text .mlk-warning {
	border-color: #edcccc;
	border-left-color: #cf6f6f;
	color: #613c3c;
	background: var(--mlb-sum-red);
}

/* Card grids and paired comparisons. */
html.mlb-summary-article #single .post-content .text .mlk-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 1.45rem 0 1.7rem;
}

html.mlb-summary-article #single .post-content .text .mlk-card,
html.mlb-summary-article #single .post-content .text .mlk-balance > div,
html.mlb-summary-article #single .post-content .text .mlk-chapters > section,
html.mlb-summary-article #single .post-content .text .mlk-part,
html.mlb-summary-article #single .post-content .text .mlk-stage {
	padding: 1rem 1.05rem;
	border: 1px solid var(--mlb-sum-line);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 7px 19px rgba(42, 60, 88, 0.05);
}

html.mlb-summary-article #single .post-content .text .mlk-grid .mlk-card:nth-child(3n+1) {
	border-top: 4px solid #8ea7e7;
}

html.mlb-summary-article #single .post-content .text .mlk-grid .mlk-card:nth-child(3n+2) {
	border-top: 4px solid #dfaa68;
}

html.mlb-summary-article #single .post-content .text .mlk-grid .mlk-card:nth-child(3n+3) {
	border-top: 4px solid #78b99b;
}

html.mlb-summary-article #single .post-content .text .mlk-card h3,
html.mlb-summary-article #single .post-content .text .mlk-balance h3,
html.mlb-summary-article #single .post-content .text .mlk-chapters h3,
html.mlb-summary-article #single .post-content .text .mlk-part h3,
html.mlb-summary-article #single .post-content .text .mlk-stage h3 {
	margin: 0 0 0.55rem;
	color: #35557d;
	font-size: 1.04rem;
}

html.mlb-summary-article #single .post-content .text .mlk-card p,
html.mlb-summary-article #single .post-content .text .mlk-balance p,
html.mlb-summary-article #single .post-content .text .mlk-chapters p,
html.mlb-summary-article #single .post-content .text .mlk-part p,
html.mlb-summary-article #single .post-content .text .mlk-stage p {
	margin: 0.35rem 0;
}

html.mlb-summary-article #single .post-content .text .mlk-balance,
html.mlb-summary-article #single .post-content .text .mlk-chapters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	margin: 1.45rem 0 1.7rem;
}

html.mlb-summary-article #single .post-content .text .mlk-part,
html.mlb-summary-article #single .post-content .text .mlk-stage {
	margin: 1rem 0;
	border-left: 4px solid #94a9dd;
}

/* Numbered episode rows. */
html.mlb-summary-article #single .post-content .text .mlk-numbered {
	margin: 1.35rem 0 1.7rem;
	border: 1px solid var(--mlb-sum-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--mlb-sum-shadow);
}

html.mlb-summary-article #single .post-content .text .mlk-numbered > section {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding: 1rem 1.05rem;
	border-bottom: 1px solid #e5eaf2;
}

/*
 * wpautop can insert an empty paragraph between the badge and the content
 * wrapper. Without explicit grid placement that paragraph occupies column 2
 * and pushes the article text into the narrow badge column on the next row.
 */
html.mlb-summary-article #single .post-content .text .mlk-numbered > section > p:empty {
	display: none !important;
}

html.mlb-summary-article #single .post-content .text .mlk-numbered > section > span,
html.mlb-summary-article #single .post-content .text .mlk-numbered > section > .mlk-numbered__badge {
	grid-column: 1;
	grid-row: 1;
}

html.mlb-summary-article #single .post-content .text .mlk-numbered > section > div,
html.mlb-summary-article #single .post-content .text .mlk-numbered > section > .mlk-numbered__content {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	width: auto !important;
}

html.mlb-summary-article #single .post-content .text .mlk-numbered > section:last-child {
	border-bottom: 0;
}

html.mlb-summary-article #single .post-content .text .mlk-numbered > section > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.45rem;
	height: 2.45rem;
	border: 1px solid #cad8f1;
	border-radius: 50%;
	color: #3157bb;
	background: #edf3ff;
	font-size: 0.82rem;
	font-weight: 800;
}

html.mlb-summary-article #single .post-content .text .mlk-numbered h3 {
	margin: 0.1rem 0 0.4rem;
}

html.mlb-summary-article #single .post-content .text .mlk-numbered p {
	margin: 0.25rem 0;
}

/* Chapter/action markers from several generations of article plugins. */
html.mlb-summary-article #single .post-content .text .mlk-action,
html.mlb-summary-article #single .post-content .text .mlks-chapter {
	position: relative;
	margin: 1rem 0;
	padding: 0.95rem 1rem 0.95rem 1.2rem;
	border: 1px solid var(--mlb-sum-line);
	border-left: 4px solid #91a8de;
	border-radius: 0 12px 12px 0;
	background: #fafcff;
}

html.mlb-summary-article #single .post-content .text .mlk-action h3,
html.mlb-summary-article #single .post-content .text .mlks-chapter h3 {
	margin-top: 0;
}

/* Timelines. */
html.mlb-summary-article #single .post-content .text .mlk-timeline,
html.mlb-summary-article #single .post-content .text .mlks-timeline {
	margin: 1.45rem 0 1.7rem;
	padding-left: 1.45rem;
	border-left: 3px solid #b4c3e5;
}

html.mlb-summary-article #single .post-content .text .mlk-timeline > div,
html.mlb-summary-article #single .post-content .text .mlks-timeline > div {
	position: relative;
	margin: 0 0 0.9rem;
	padding: 0.9rem 1rem;
	border: 1px solid #e0e6f0;
	border-radius: 12px;
	background: #f9fbff;
}

html.mlb-summary-article #single .post-content .text .mlk-timeline > div::before,
html.mlb-summary-article #single .post-content .text .mlks-timeline > div::before {
	position: absolute;
	top: 1.1rem;
	left: -1.88rem;
	width: 0.72rem;
	height: 0.72rem;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--mlb-sum-accent);
	box-shadow: 0 0 0 1px #9eb2de;
	content: "";
}

html.mlb-summary-article #single .post-content .text .mlk-timeline p,
html.mlb-summary-article #single .post-content .text .mlks-timeline p {
	margin: 0.3rem 0 0;
}

/* Route chips. */
html.mlb-summary-article #single .post-content .text .mlk-route,
html.mlb-summary-article #single .post-content .text .mlks-route {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 1.35rem 0 1.65rem;
}

html.mlb-summary-article #single .post-content .text .mlk-route > div,
html.mlb-summary-article #single .post-content .text .mlks-route > div {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.65rem 0.8rem;
	border: 1px solid #d7e0ee;
	border-radius: 999px;
	color: #40556f;
	background: #f8faff;
}

html.mlb-summary-article #single .post-content .text .mlk-route span,
html.mlb-summary-article #single .post-content .text .mlks-route span {
	color: #8390a2;
}

html.mlb-summary-article #single .post-content .text .mlk-divider {
	margin: 1.8rem 0 0.95rem;
	padding: 0.72rem 0.9rem;
	border: 1px solid #d8e2f2;
	border-radius: 10px;
	color: #34547a;
	background: #f1f5fc;
	font-size: 1.08rem;
	font-weight: 800;
}

html.mlb-summary-article #single .post-content .text .mlk-compact {
	margin: 0.85rem 0 1.45rem;
	padding-left: 1.35rem;
}

html.mlb-summary-article #single .post-content .text .mlk-compact li {
	margin: 0.42rem 0;
}

/* FAQ blocks, when present. */
html.mlb-summary-article #single .post-content .text details {
	margin: 0.75rem 0;
	padding: 0.9rem 1rem;
	border: 1px solid var(--mlb-sum-line);
	border-radius: 12px;
	background: #fbfcff;
}

html.mlb-summary-article #single .post-content .text details summary {
	cursor: pointer;
	color: #304f77;
	font-weight: 800;
}

html.mlb-summary-article #single .post-content .text details[open] summary {
	margin-bottom: 0.65rem;
}

/* Hub cards: keep the section page clean but clearly structured. */
html.mlb-summary-hub #single .post-content .text .mylibrary-child-pages,
html.mlb-summary-hub #single .post-content .text [data-mylibrary-child-pages] {
	gap: 1rem;
}

@media (max-width: 900px) {
	html.mlb-summary-article #single .post-content .text .mlk-facts,
	html.mlb-summary-article #single .post-content .text .mlks-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	html.mlb-summary-article #single .post-content .text .mlk-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	html.mlb-summary-article #single .post-content .text {
		font-size: 16px;
		line-height: 1.72;
	}

	html.mlb-summary-article #single .post-content .text > p:first-of-type:not([class]),
	html.mlb-summary-article #single .post-content .text > .mlk-lead,
	html.mlb-summary-article #single .post-content .text > .mlks-lead {
		padding: 1rem 1rem 1rem 1.15rem;
		border-radius: 11px;
		font-size: 1.02em;
	}

	html.mlb-summary-article #single .post-content .text > h2,
	html.mlb-summary-article #single .post-content .text > h2.wp-block-heading {
		grid-template-columns: 2.1rem minmax(0, 1fr);
		gap: 0.6rem;
		margin-top: 2rem;
		font-size: 1.35rem;
	}

	html.mlb-summary-article #single .post-content .text > h2::before,
	html.mlb-summary-article #single .post-content .text > h2.wp-block-heading::before {
		width: 2rem;
		height: 2rem;
		border-radius: 10px;
	}

	html.mlb-summary-article #single .post-content .text .mlk-facts,
	html.mlb-summary-article #single .post-content .text .mlks-facts,
	html.mlb-summary-article #single .post-content .text .mlk-grid,
	html.mlb-summary-article #single .post-content .text .mlk-balance,
	html.mlb-summary-article #single .post-content .text .mlk-chapters {
		grid-template-columns: 1fr;
	}

	html.mlb-summary-article #single .post-content .text .mlk-table,
	html.mlb-summary-article #single .post-content .text .mlks-table,
	html.mlb-summary-article #single .post-content .text .wp-block-table table {
		min-width: 560px;
	}

	html.mlb-summary-article #single .post-content .text > table {
		display: block;
		overflow-x: auto;
		min-width: 100%;
		-webkit-overflow-scrolling: touch;
	}

	html.mlb-summary-article #single .post-content .text .mlk-route,
	html.mlb-summary-article #single .post-content .text .mlks-route {
		display: grid;
		grid-template-columns: 1fr;
	}

	html.mlb-summary-article #single .post-content .text .mlk-route > div,
	html.mlb-summary-article #single .post-content .text .mlks-route > div {
		border-radius: 10px;
	}

	html.mlb-summary-article #single .post-content .text .mlk-route span,
	html.mlb-summary-article #single .post-content .text .mlks-route span {
		display: none;
	}

	html.mlb-summary-article #single .post-content .text .mlk-numbered > section {
		grid-template-columns: 2.35rem minmax(0, 1fr);
		gap: 0.65rem;
		padding: 0.9rem;
	}

	html.mlb-summary-article #single .post-content .text .mlk-numbered > section > span {
		width: 2.15rem;
		height: 2.15rem;
	}
}


/* 3.9.8 hardwired compatibility: these rules are part of the main theme CSS. */
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="fact"],
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="meta-grid"],
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="passport"] {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .8rem;
	margin: 1.35rem 0 1.7rem;
}
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="fact"] > :is(div, section, article),
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="meta-grid"] > :is(div, section, article),
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="passport"] > :is(div, section, article) {
	padding: 1rem;
	border: 1px solid var(--mlb-sum-line);
	border-top: 4px solid #8ea7e7;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 7px 19px rgba(42,60,88,.055);
}
html.mlb-summary-article #single .post-content .text :is(.mlb-story-table, [class*="story-table"]) {
	margin: 1.45rem 0 1.75rem;
	overflow-x: auto;
	border: 1px solid var(--mlb-sum-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--mlb-sum-shadow);
	-webkit-overflow-scrolling: touch;
}
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="hero"],
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="character"],
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="stage"],
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="chapter"],
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="action"] {
	margin: 1.25rem 0 1.65rem;
}
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="hero"] > :is(div, section, article),
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="character"] > :is(div, section, article),
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="stage"] > :is(div, section, article),
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="chapter"] > :is(div, section, article),
html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="action"] > :is(div, section, article) {
	margin: .75rem 0;
	padding: 1rem 1.05rem;
	border: 1px solid var(--mlb-sum-line);
	border-left: 4px solid #91a8de;
	border-radius: 0 13px 13px 0;
	background: #fbfcff;
	box-shadow: 0 6px 17px rgba(42,60,88,.045);
}
html.mlb-summary-article #single .post-content .text > p > strong:only-child {
	color: #29496f;
}
@media (max-width: 900px) {
	html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="fact"],
	html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="meta-grid"],
	html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="passport"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="fact"],
	html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="meta-grid"],
	html.mlb-summary-article #single .post-content .text > :is(div, section)[class*="passport"] {
		grid-template-columns: 1fr;
	}
}

/* ================================================================
 * MyLibrary 3.9.9 — universal summary layer.
 * Covers nested markup produced by every historical importer plugin.
 * ================================================================ */
html.mlb-summary-article {
    --mlb-universal-ink: #26364a;
    --mlb-universal-muted: #66758a;
    --mlb-universal-blue: #466bd8;
    --mlb-universal-blue-soft: #eef3ff;
    --mlb-universal-gold: #c97c27;
    --mlb-universal-gold-soft: #fff6e6;
    --mlb-universal-green: #2d8a67;
    --mlb-universal-green-soft: #edf8f3;
    --mlb-universal-line: #dce4f0;
    --mlb-universal-card: #ffffff;
    --mlb-universal-shadow: 0 10px 28px rgba(42, 60, 88, 0.08);
}

html.mlb-summary-article :where(.mlb-summary-universal) {
    counter-reset: mlb-universal-section;
    color: var(--mlb-universal-ink);
    font-size: 17px;
    line-height: 1.78;
}

/* All section headings, including headings nested inside importer wrappers. */
html.mlb-summary-article :where(.mlb-summary-universal) :where(h2.mlb-auto-section-heading),
html.mlb-summary-article :where(.mlb-summary-universal) > :where(h2),
html.mlb-summary-article :where(.mlb-summary-universal) > :where(article, section, div) > :where(h2) {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.78rem;
    align-items: center;
    margin: 2.35rem 0 1rem;
    padding: 0 0 0.72rem;
    border: 0;
    border-bottom: 1px solid var(--mlb-universal-line);
    color: #22364f;
    background: transparent;
    font-size: clamp(1.35rem, 2.5vw, 1.78rem);
    line-height: 1.28;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(h2.mlb-auto-section-heading)::before,
html.mlb-summary-article :where(.mlb-summary-universal) > :where(h2)::before,
html.mlb-summary-article :where(.mlb-summary-universal) > :where(article, section, div) > :where(h2)::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    box-sizing: border-box;
    border: 1px solid #cdd9ef;
    border-radius: 12px;
    color: #3558bd;
    background: var(--mlb-universal-blue-soft);
    box-shadow: 0 5px 14px rgba(69, 104, 212, 0.09);
    content: counter(mlb-universal-section);
    counter-increment: mlb-universal-section;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(h3.mlb-auto-subheading) {
    position: relative;
    margin: 1.65rem 0 0.72rem;
    padding-left: 1rem;
    color: #35557d;
    font-size: 1.17rem;
    line-height: 1.38;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(h3.mlb-auto-subheading)::before {
    position: absolute;
    top: 0.28em;
    bottom: 0.2em;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--mlb-universal-blue), #80a0f0);
    content: "";
}

/* The introductory paragraph is located semantically, not by nesting depth. */
html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-lead) {
    position: relative;
    margin: 0 0 1.65rem;
    padding: 1.2rem 1.35rem 1.2rem 1.5rem;
    overflow: hidden;
    border: 1px solid #d8e2f4;
    border-left: 5px solid var(--mlb-universal-blue);
    border-radius: 14px;
    color: #2b3c52;
    background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
    box-shadow: 0 8px 22px rgba(55, 84, 140, 0.07);
    font-size: 1.06em;
    font-weight: 500;
    line-height: 1.72;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-lead)::after {
    position: absolute;
    top: -48px;
    right: -38px;
    width: 122px;
    height: 122px;
    border: 22px solid rgba(69, 104, 212, 0.065);
    border-radius: 50%;
    content: "";
}

/* Tables from raw HTML, Gutenberg and every plugin-specific wrapper. */
html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-table-wrap, .wp-block-table, [class*="table-wrap"], [class*="table_wrapper"]) {
    max-width: 100%;
    margin: 1.35rem 0 1.75rem;
    overflow-x: auto;
    border: 1px solid var(--mlb-universal-line);
    border-radius: 15px;
    background: var(--mlb-universal-card);
    box-shadow: var(--mlb-universal-shadow);
    -webkit-overflow-scrolling: touch;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(table, .mlb-auto-table) {
    width: 100%;
    min-width: 560px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #2e4056;
    background: #fff;
    font-size: 0.96rem;
    line-height: 1.58;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(table, .mlb-auto-table) th {
    padding: 0.92rem 1rem;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    background: linear-gradient(135deg, #4568d4 0%, #5879dc 100%);
    font-weight: 750;
    text-align: left;
    vertical-align: top;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(table, .mlb-auto-table) td {
    padding: 0.9rem 1rem;
    border: 0;
    border-right: 1px solid #e4eaf3;
    border-bottom: 1px solid #e4eaf3;
    background: #fff;
    vertical-align: top;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(table, .mlb-auto-table) tbody tr:nth-child(even) td {
    background: #f7f9fd;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(table, .mlb-auto-table) tbody tr:hover td {
    background: #eef4ff;
}

/* Numbered and bulleted lists, wherever an importer nested them. */
html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-list) {
    margin: 1.25rem 0 1.55rem;
    padding: 1.05rem 1.2rem 1.05rem 3.15rem;
    border: 1px solid var(--mlb-universal-line);
    border-radius: 14px;
    background: #fbfcff;
    box-shadow: 0 6px 18px rgba(42, 60, 88, 0.045);
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(ol.mlb-auto-list) {
    list-style: none;
    counter-reset: mlb-universal-list;
    padding-left: 1.2rem;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(ol.mlb-auto-list) > li {
    position: relative;
    min-height: 2.15rem;
    margin: 0;
    padding: 0.48rem 0 0.62rem 2.85rem;
    border-bottom: 1px dashed #dfe5ef;
    counter-increment: mlb-universal-list;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(ol.mlb-auto-list) > li:last-child {
    border-bottom: 0;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(ol.mlb-auto-list) > li::before {
    position: absolute;
    top: 0.35rem;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    color: #3558bd;
    background: var(--mlb-universal-blue-soft);
    content: counter(mlb-universal-list);
    font-size: 0.78rem;
    font-weight: 800;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(ul.mlb-auto-list) > li::marker {
    color: var(--mlb-universal-blue);
}

/* Generic recovery for plugin-specific cards/grids whose plugin CSS is gone. */
html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-grid) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1.3rem 0 1.7rem;
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-card) {
    min-width: 0;
    padding: 1rem 1.05rem;
    border: 1px solid var(--mlb-universal-line);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff 0%, #f8faff 100%);
    box-shadow: 0 7px 20px rgba(42, 60, 88, 0.055);
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-grid) > :where(.mlb-auto-card):nth-child(4n+2) {
    border-color: #eadbbf;
    background: linear-gradient(145deg, #fff 0%, var(--mlb-universal-gold-soft) 100%);
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-grid) > :where(.mlb-auto-card):nth-child(4n+3) {
    border-color: #cee7db;
    background: linear-gradient(145deg, #fff 0%, var(--mlb-universal-green-soft) 100%);
}

html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-note),
html.mlb-summary-article :where(.mlb-summary-universal) :where(blockquote, .wp-block-quote) {
    margin: 1.3rem 0 1.65rem;
    padding: 1rem 1.15rem 1rem 1.3rem;
    border: 1px solid #d7e1f1;
    border-left: 5px solid var(--mlb-universal-gold);
    border-radius: 13px;
    color: #35475d;
    background: var(--mlb-universal-gold-soft);
    box-shadow: 0 6px 18px rgba(90, 68, 37, 0.05);
}

/* Never restyle the navigation TOC or the rating/share module. */
html.mlb-summary-article :where([data-mlb-page-toc], [data-mlb-article-engagement]) :where(h2, h3, ul, ol, table, blockquote) {
    counter-increment: none;
}

@media (max-width: 767px) {
    html.mlb-summary-article :where(.mlb-summary-universal) {
        font-size: 16px;
        line-height: 1.72;
    }

    html.mlb-summary-article :where(.mlb-summary-universal) :where(h2.mlb-auto-section-heading),
    html.mlb-summary-article :where(.mlb-summary-universal) > :where(h2),
    html.mlb-summary-article :where(.mlb-summary-universal) > :where(article, section, div) > :where(h2) {
        grid-template-columns: 2.15rem minmax(0, 1fr);
        gap: 0.62rem;
        margin-top: 2rem;
        font-size: 1.32rem;
    }

    html.mlb-summary-article :where(.mlb-summary-universal) :where(h2.mlb-auto-section-heading)::before,
    html.mlb-summary-article :where(.mlb-summary-universal) > :where(h2)::before,
    html.mlb-summary-article :where(.mlb-summary-universal) > :where(article, section, div) > :where(h2)::before {
        width: 2.05rem;
        height: 2.05rem;
        border-radius: 10px;
    }

    html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-grid) {
        grid-template-columns: 1fr;
    }

    html.mlb-summary-article :where(.mlb-summary-universal) :where(table, .mlb-auto-table) {
        min-width: 520px;
        font-size: 0.92rem;
    }

    html.mlb-summary-article :where(.mlb-summary-universal) :where(.mlb-auto-lead) {
        padding: 1rem 1rem 1rem 1.15rem;
    }
}

/* 3.10.6: restore the component structure of Mayakovsky's «Хорошо!». */
html.mlb-summary-article #single .post-content .text .mlcm5-article {
    --mlcm5-ink: #1f2937;
    --mlcm5-muted: #5f6875;
    --mlcm5-line: #dce3ec;
    --mlcm5-red: #bd2f35;
    --mlcm5-blue: #315ea8;
    color: var(--mlcm5-ink);
}

html.mlb-summary-article #single .post-content .text .mlcm5-article p:empty {
    display: none !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-chronicle {
    display: block !important;
    margin: 0 0 1.6rem;
    padding: clamp(1.15rem, 2.5vw, 2rem);
    border: 1px solid #ead8c6;
    border-radius: 18px;
    background: linear-gradient(135deg, #fffaf1 0%, #f6eee2 100%);
    box-shadow: 0 14px 32px rgba(67, 49, 34, 0.08);
}

html.mlb-summary-article #single .post-content .text .mlcm5-chronicle > span:first-child {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    margin: 0 0 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--mlcm5-red);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

html.mlb-summary-article #single .post-content .text .mlcm5-chronicle > h2,
html.mlb-summary-article #single .post-content .text .mlcm5-chronicle > .mlcm5-lead {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    grid-column: auto !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-chronicle > h2 {
    margin: 0.2rem 0 0.8rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-chronicle > h2::before,
html.mlb-summary-article #single .post-content .text .mlcm5-five-movements h3::before {
    display: none !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-chronicle > .mlcm5-lead {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-facts {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 1rem 0 1.5rem;
}

html.mlb-summary-article #single .post-content .text .mlcm5-facts > div {
    display: flex !important;
    flex-direction: column;
    gap: 0.25rem;
    width: auto !important;
    min-width: 0;
    padding: 0.8rem;
    border: 1px solid var(--mlcm5-line);
    border-radius: 12px;
    background: #fff;
}

html.mlb-summary-article #single .post-content .text .mlcm5-facts span {
    color: var(--mlcm5-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

html.mlb-summary-article #single .post-content .text .mlcm5-note,
html.mlb-summary-article #single .post-content .text .mlcm5-conclusion {
    margin: 1rem 0 1.6rem;
    padding: 1rem 1.15rem;
    border: 1px solid #dfd0b7;
    border-left: 5px solid var(--mlcm5-red);
    border-radius: 12px;
    background: #fffdf8;
}

html.mlb-summary-article #single .post-content .text .mlcm5-five-movements,
html.mlb-summary-article #single .post-content .text .mlcm5-cast,
html.mlb-summary-article #single .post-content .text .mlcm5-balance,
html.mlb-summary-article #single .post-content .text .mlcm5-checks {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1rem 0 1.7rem;
}

html.mlb-summary-article #single .post-content .text .mlcm5-five-movements > div {
    position: relative;
    display: block !important;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    max-height: none !important;
    padding: 1rem 1rem 1rem 4rem;
    border: 1px solid var(--mlcm5-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.06);
}

html.mlb-summary-article #single .post-content .text .mlcm5-five-movements > div > span {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--mlcm5-red);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
}

html.mlb-summary-article #single .post-content .text .mlcm5-five-movements > div > h3,
html.mlb-summary-article #single .post-content .text .mlcm5-five-movements > div > p {
    margin-top: 0 !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-five-movements > div:not(:has(> span)),
html.mlb-summary-article #single .post-content .text .mlcm5-cast > article:not(:has(> span)) {
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
    box-shadow: none;
}

html.mlb-summary-article #single .post-content .text .mlcm5-five-movements > div:not(:has(> span)) > div,
html.mlb-summary-article #single .post-content .text .mlcm5-cast > article:not(:has(> span)) > div {
    width: 100% !important;
    max-width: 100% !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-table-wrap {
    max-width: 100%;
    margin: 1rem 0 1.8rem;
    overflow-x: auto;
    border: 1px solid var(--mlcm5-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.06);
}

html.mlb-summary-article #single .post-content .text .mlcm5-good-table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
}

html.mlb-summary-article #single .post-content .text .mlcm5-good-table th,
html.mlb-summary-article #single .post-content .text .mlcm5-good-table td {
    padding: 0.8rem 0.9rem !important;
    vertical-align: top;
    border: 0 !important;
    border-bottom: 1px solid #e7ebf1 !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-good-table th {
    background: #26394f !important;
    color: #fff !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-good-table td:first-child {
    width: 4.2rem;
    color: var(--mlcm5-blue);
    font-weight: 900;
    text-align: center;
}

html.mlb-summary-article #single .post-content .text .mlcm5-good-table td strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #223751;
}

html.mlb-summary-article #single .post-content .text .mlcm5-good-table td p {
    margin: 0 !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-cast > article,
html.mlb-summary-article #single .post-content .text .mlcm5-balance > div,
html.mlb-summary-article #single .post-content .text .mlcm5-checks > p {
    display: block !important;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 1rem;
    border: 1px solid var(--mlcm5-line);
    border-radius: 12px;
    background: #fff;
}

html.mlb-summary-article #single .post-content .text .mlcm5-cast > article > span {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--mlcm5-blue);
    font-weight: 850;
}

html.mlb-summary-article #single .post-content .text .mlcm5-cast > article > p,
html.mlb-summary-article #single .post-content .text .mlcm5-balance p {
    margin: 0 !important;
}

html.mlb-summary-article #single .post-content .text .mlcm5-balance > div {
    border-top: 4px solid var(--mlcm5-blue);
}

html.mlb-summary-article #single .post-content .text .mlcm5-faq {
    display: grid !important;
    gap: 0.65rem;
    margin: 1rem 0 1.7rem;
}

html.mlb-summary-article #single .post-content .text .mlcm5-faq > details {
    width: auto !important;
    height: auto !important;
    padding: 0.8rem 1rem;
    border: 1px solid var(--mlcm5-line);
    border-radius: 10px;
    background: #fff;
}

html.mlb-summary-article #single .post-content .text .mlcm5-faq summary {
    cursor: pointer;
    color: #26394f;
    font-weight: 800;
}

html.mlb-summary-article #single .post-content .text .mlcm5-faq details > p {
    margin: 0.65rem 0 0 !important;
    padding-top: 0.65rem;
    border-top: 1px solid var(--mlcm5-line);
}

@media (max-width: 760px) {
    html.mlb-summary-article #single .post-content .text .mlcm5-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.mlb-summary-article #single .post-content .text .mlcm5-five-movements,
    html.mlb-summary-article #single .post-content .text .mlcm5-cast,
    html.mlb-summary-article #single .post-content .text .mlcm5-balance,
    html.mlb-summary-article #single .post-content .text .mlcm5-checks {
        grid-template-columns: 1fr;
    }

    html.mlb-summary-article #single .post-content .text .mlcm5-good-table {
        min-width: 39rem;
    }
}

@media (max-width: 430px) {
    html.mlb-summary-article #single .post-content .text .mlcm5-facts {
        grid-template-columns: 1fr;
    }

    html.mlb-summary-article #single .post-content .text .mlcm5-five-movements > div {
        padding-left: 3.55rem;
    }
}

/* 3.10.30: complete, crawlable summaries catalogue. */
html.mlb-summary-hub #single .post-content .text {
	color: var(--mlb-sum-ink);
	font-size: 17px;
	line-height: 1.72;
}

html.mlb-summary-hub #single .post-content .text > h2 {
	margin: 2.2rem 0 1rem;
	color: #22364f;
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.25;
}

html.mlb-summary-hub #single .post-content .text > h2:first-of-type {
	scroll-margin-top: 2rem;
}

html.mlb-summary-hub .mlb-summary-hub-hero,
html.mlb-summary-hub .mlb-summary-hub-guide {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 2rem;
	padding: clamp(1.4rem, 4vw, 2.6rem);
	border: 1px solid #dce5f2;
	border-radius: 22px;
}

html.mlb-summary-hub .mlb-summary-hub-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 92% 12%, rgba(217, 137, 53, 0.18), transparent 27%),
		linear-gradient(135deg, #f3f7ff 0%, #fffaf2 100%);
	box-shadow: var(--mlb-sum-shadow);
}

html.mlb-summary-hub .mlb-summary-hub-hero::after {
	position: absolute;
	right: -55px;
	bottom: -70px;
	width: 210px;
	height: 210px;
	border: 30px solid rgba(69, 104, 212, 0.06);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

html.mlb-summary-hub .mlb-summary-hub-hero > * {
	position: relative;
	z-index: 1;
	max-width: 850px;
}

html.mlb-summary-hub .mlb-summary-hub-kicker,
html.mlb-summary-hub .mlb-summary-catalog-card__eyebrow,
html.mlb-summary-hub .mlb-summary-catalog-card__format {
	letter-spacing: 0.065em;
	text-transform: uppercase;
}

html.mlb-summary-hub .mlb-summary-hub-kicker {
	margin: 0 0 0.5rem;
	color: var(--mlb-sum-accent);
	font-size: 0.78rem;
	font-weight: 900;
}

html.mlb-summary-hub .mlb-summary-hub-hero h2 {
	margin: 0 0 0.8rem;
	color: #20344c;
	font-size: clamp(1.65rem, 4vw, 2.55rem);
	line-height: 1.13;
}

html.mlb-summary-hub .mlb-summary-hub-hero p:not(.mlb-summary-hub-kicker) {
	margin: 0;
	color: #52657c;
	font-size: 1.04rem;
}

html.mlb-summary-hub .mlb-summary-hub-hero .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.35rem;
}

html.mlb-summary-hub .mlb-summary-hub-hero .wp-block-button {
	margin: 0;
}

html.mlb-summary-hub .mlb-summary-hub-hero .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.72rem 1.1rem;
	border: 1px solid var(--mlb-sum-accent);
	border-radius: 999px;
	background: var(--mlb-sum-accent);
	box-shadow: none;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 800;
	text-decoration: none;
}

html.mlb-summary-hub .mlb-summary-hub-hero .is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.78);
	color: #3858bb;
}

html.mlb-summary-hub .mlb-summary-hub-hero .wp-block-button__link:hover,
html.mlb-summary-hub .mlb-summary-hub-hero .wp-block-button__link:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(69, 104, 212, 0.16);
}

html.mlb-summary-hub .mlb-summary-catalog-tools {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(165px, 0.34fr) auto;
	gap: 0.85rem;
	align-items: end;
	margin: 0 0 1.2rem;
	padding: 1rem;
	border: 1px solid #dce5f2;
	border-radius: 16px;
	background: #f8faff;
}

html.mlb-summary-hub .mlb-summary-catalog-tools label > span {
	display: block;
	margin: 0 0 0.35rem;
	color: #4f6178;
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

html.mlb-summary-hub .mlb-summary-catalog-tools input,
html.mlb-summary-hub .mlb-summary-catalog-tools select {
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 0.9rem;
	border: 1px solid #cfd9e8;
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: #26364a;
	font: inherit;
	font-size: 0.94rem;
}

html.mlb-summary-hub .mlb-summary-catalog-tools input:focus,
html.mlb-summary-hub .mlb-summary-catalog-tools select:focus {
	border-color: var(--mlb-sum-accent);
	box-shadow: 0 0 0 3px rgba(69, 104, 212, 0.12);
	outline: 0;
}

html.mlb-summary-hub .mlb-summary-catalog-tools__count {
	min-width: 118px;
	margin: 0 0 0.68rem;
	color: #63748a;
	font-size: 0.86rem;
	text-align: right;
}

html.mlb-summary-hub .mlb-summary-catalog-tools__count strong {
	color: #334b68;
	font-size: 1rem;
}

html.mlb-summary-hub .mlb-summary-catalog {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 1.5rem;
}

html.mlb-summary-hub .mlb-summary-catalog-card {
	display: flex;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid #dde5ef;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 7px 20px rgba(42, 60, 88, 0.055);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

html.mlb-summary-hub .mlb-summary-catalog-card:hover {
	transform: translateY(-3px);
	border-color: #b9c8e1;
	box-shadow: 0 13px 28px rgba(42, 60, 88, 0.11);
}

html.mlb-summary-hub .mlb-summary-catalog-card[hidden] {
	display: none !important;
}

html.mlb-summary-hub .mlb-summary-catalog-card__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	padding: 1.15rem;
	color: inherit;
	text-decoration: none;
}

html.mlb-summary-hub .mlb-summary-catalog-card__link:focus-visible {
	box-shadow: inset 0 0 0 3px rgba(69, 104, 212, 0.28);
	outline: 0;
}

html.mlb-summary-hub .mlb-summary-catalog-card__eyebrow {
	margin: 0 0 0.55rem;
	color: var(--mlb-sum-accent);
	font-size: 0.68rem;
	font-weight: 900;
}

html.mlb-summary-hub .mlb-summary-catalog-card h2 {
	margin: 0 0 0.65rem;
	color: #243951;
	font-size: 1.11rem;
	line-height: 1.28;
	overflow-wrap: anywhere;
}

html.mlb-summary-hub .mlb-summary-catalog-card__description {
	display: -webkit-box;
	margin: 0 0 1rem;
	overflow: hidden;
	color: #68778a;
	font-size: 0.86rem;
	line-height: 1.58;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

html.mlb-summary-hub .mlb-summary-catalog-card__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid #edf1f6;
}

html.mlb-summary-hub .mlb-summary-catalog-card__format {
	color: #778598;
	font-size: 0.65rem;
	font-weight: 800;
}

html.mlb-summary-hub .mlb-summary-catalog-card__action {
	color: #3d5fc7;
	font-size: 0.81rem;
	font-weight: 850;
}

html.mlb-summary-hub .mlb-summary-catalog-card__action span {
	display: inline-block;
	margin-left: 0.18rem;
	transition: transform 0.2s ease;
}

html.mlb-summary-hub .mlb-summary-catalog-card:hover .mlb-summary-catalog-card__action span {
	transform: translateX(3px);
}

html.mlb-summary-hub .mlb-summary-catalog-empty {
	margin: 0 0 1.5rem;
	padding: 1rem 1.1rem;
	border: 1px dashed #cbd6e5;
	border-radius: 12px;
	background: #fafcff;
	color: #5f7187;
	text-align: center;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	justify-content: center;
	margin: -0.15rem 0 2.1rem;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination[hidden] {
	display: none !important;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination__button,
html.mlb-summary-hub .mlb-summary-catalog-pagination__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 42px;
	height: 42px;
	padding: 0 0.8rem;
	border: 1px solid #d4deeb;
	border-radius: 9px;
	background: #fff;
	box-shadow: none;
	color: #43566e;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 750;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination__button:not(:disabled) {
	cursor: pointer;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination__button:hover,
html.mlb-summary-hub .mlb-summary-catalog-pagination__button:focus-visible {
	border-color: #8fa5ce;
	color: #3154bc;
	outline: 0;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination__button[aria-current="page"] {
	border-color: var(--mlb-sum-accent);
	background: var(--mlb-sum-accent);
	color: #fff;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination__button:disabled {
	opacity: 0.45;
	cursor: default;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination__gap {
	padding: 0 0.15rem;
	color: #8290a2;
}

html.mlb-summary-hub .mlb-summary-catalog-pagination__status {
	min-width: auto;
	border-color: transparent;
	background: transparent;
	color: #6c7b8e;
	font-weight: 650;
}

html.mlb-summary-hub .mlb-summary-hub-guide {
	margin-top: 2rem;
	background: linear-gradient(135deg, #fffaf1, #f9fbff);
}

html.mlb-summary-hub .mlb-summary-hub-guide > h2 {
	margin: 0 0 0.75rem;
	color: #273b54;
}

html.mlb-summary-hub .mlb-summary-hub-guide > p {
	max-width: 880px;
	margin: 0 0 1.2rem;
	color: #586b81;
}

html.mlb-summary-hub .mlb-summary-hub-guide .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 0;
}

html.mlb-summary-hub .mlb-summary-hub-guide .wp-block-column {
	margin: 0;
	padding: 1rem;
	border: 1px solid #e4e8ed;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.78);
}

html.mlb-summary-hub .mlb-summary-hub-guide h3 {
	margin: 0 0 0.45rem;
	color: #2d4561;
	font-size: 1rem;
}

html.mlb-summary-hub .mlb-summary-hub-guide .wp-block-column p {
	margin: 0;
	color: #647387;
	font-size: 0.88rem;
	line-height: 1.58;
}

@media (max-width: 980px) {
	html.mlb-summary-hub .mlb-summary-catalog {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	html.mlb-summary-hub .mlb-summary-catalog-tools {
		grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.45fr);
	}

	html.mlb-summary-hub .mlb-summary-catalog-tools__count {
		grid-column: 1 / -1;
		margin: -0.15rem 0 0;
		text-align: left;
	}
}

@media (max-width: 700px) {
	html.mlb-summary-hub .mlb-summary-hub-hero,
	html.mlb-summary-hub .mlb-summary-hub-guide {
		padding: 1.2rem;
		border-radius: 16px;
	}

	html.mlb-summary-hub .mlb-summary-catalog-tools,
	html.mlb-summary-hub .mlb-summary-catalog,
	html.mlb-summary-hub .mlb-summary-hub-guide .wp-block-columns {
		grid-template-columns: 1fr;
	}

	html.mlb-summary-hub .mlb-summary-catalog-tools__count {
		grid-column: auto;
	}

	html.mlb-summary-hub .mlb-summary-catalog-card__description {
		-webkit-line-clamp: 3;
	}

	html.mlb-summary-hub .mlb-summary-catalog-pagination__status {
		flex-basis: 100%;
		order: -1;
		height: auto;
	}
}

@media print {
	html.mlb-summary-hub .mlb-summary-catalog-tools,
	html.mlb-summary-hub .mlb-summary-catalog-pagination {
		display: none !important;
	}

	html.mlb-summary-hub .mlb-summary-catalog-card[hidden] {
		display: flex !important;
	}
}
