/*
Theme Name: Scout the Statline
Theme URI: https://scoutthestatline.com
Author: Scout the Statline
Author URI: https://scoutthestatline.com
Description: Custom theme for Scout the Statline - OOPSY Model projections, dynasty rankings, and fantasy baseball tools.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sts-theme
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   DESIGN SYSTEM - CSS Custom Properties
   ========================================================================== */

:root {
	--sts-navy: #1a3a5c;
	--sts-deep-blue: #2f5496;
	--sts-soft-blue: #8eaadb;
	--sts-canvas: #f7f9fc;
	--sts-white: #ffffff;
	--sts-ink: #1c1c1e;
	--sts-muted: #5a6a7a;
	--sts-hint: #8a94a3;
	--sts-red: #E31837;
	--sts-blue-accent: #0073CF;
	--sts-green: #1d9e6c;
	--sts-amber: #e89b2d;
	--sts-border: #e2e8f0;
	--sts-hover-row: #edf2fa;
	--sts-card-radius: 12px;
	--sts-radius-md: 8px;
	--sts-radius-sm: 6px;
	--sts-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--sts-max-width: 1600px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--sts-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--sts-ink);
	background: var(--sts-canvas);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: var(--sts-blue-accent);
	text-decoration: none;
	transition: color 0.15s;
}

a:hover {
	color: var(--sts-deep-blue);
}

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sts-font);
	color: var(--sts-ink);
	line-height: 1.3;
	margin: 0 0 0.5em;
}

h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }

p {
	margin: 0 0 1em;
}

/* ==========================================================================
   LAYOUT - Containers
   ========================================================================== */

.sts-container {
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.sts-content-area {
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 0 24px 48px;
}

/* ==========================================================================
   HEADER - Navigation
   ========================================================================== */

.sts-header {
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* When WordPress admin bar is present */
.admin-bar .sts-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .sts-header {
		top: 0;
	}
}

/* Remove all space between header and iframe content */
.site-main {
	margin: 0;
	padding: 0;
}

/* Fantrax Partner Badge */
.sts-fantrax-badge {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	padding: 4px 12px;
	margin-left: 12px;
	text-decoration: none;
	transition: all 0.2s;
	flex-shrink: 0;
}

.sts-fantrax-badge:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.3);
}

.sts-fantrax-badge-text {
	font-size: 10.5px;
	font-weight: 600;
	color: var(--sts-soft-blue);
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.sts-fantrax-icon {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	margin-right: 6px;
	vertical-align: middle;
}

/* Search Toggle Button */
.sts-search-toggle {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	padding: 8px;
	border-radius: var(--sts-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
}

.sts-search-toggle:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

/* Search Overlay */
.sts-search-overlay {
	display: none;
	background: var(--sts-navy);
	border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
	padding: 0;
}

.sts-search-overlay.sts-search-open {
	display: block;
}

.sts-search-inner {
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 12px 24px;
}

.sts-search-form {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--sts-radius-md);
	padding: 10px 16px;
	transition: border-color 0.15s;
}

.sts-search-form:focus-within {
	border-color: var(--sts-soft-blue);
	background: rgba(255, 255, 255, 0.1);
}

.sts-search-input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	color: #fff;
	font-family: var(--sts-font);
	font-size: 15px;
	font-weight: 400;
}

.sts-search-input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.sts-search-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	transition: color 0.15s;
}

.sts-search-close:hover {
	color: #fff;
}

.sts-nav-wrap {
	background: var(--sts-navy);
}

.sts-nav-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
}

/* Logo */
.sts-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}

.sts-logo-img {
	height: 48px;
	max-height: 48px;
	width: auto;
	max-width: 280px;
	object-fit: contain;
}

/* Prevent global img rules from overriding header/footer logos */
.sts-header .sts-logo-img,
.sts-footer .sts-footer-logo {
	height: 48px !important;
	max-height: 48px !important;
	width: auto !important;
}

.sts-logo-text {
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.3px;
}

.sts-logo-text span {
	color: var(--sts-soft-blue);
}

/* Nav Links Container */
.sts-nav-links {
	display: flex;
	align-items: center;
	height: 64px;
}

/* Nav Items */
.sts-nav-item {
	position: relative;
	height: 64px;
	display: flex;
	align-items: center;
}

.sts-nav-btn,
.sts-nav-link {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--sts-font);
	font-size: 15px;
	font-weight: 600;
	padding: 0 15px;
	height: 64px;
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s;
}

.sts-nav-btn:hover,
.sts-nav-link:hover,
.sts-nav-item.sts-open .sts-nav-btn {
	color: #fff;
}

.sts-nav-item.sts-open::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 15px;
	right: 15px;
	height: 2px;
	background: var(--sts-soft-blue);
	border-radius: 1px;
}

/* Caret */
.sts-caret {
	opacity: 0.5;
	transition: transform 0.2s;
}

.sts-nav-item.sts-open .sts-caret {
	transform: rotate(180deg);
}

/* Dropdown Panels */
.sts-dropdown {
	display: none;
	position: absolute;
	top: 64px;
	left: 0;
	background: var(--sts-white);
	border: 0.5px solid var(--sts-border);
	border-radius: 0 0 var(--sts-card-radius) var(--sts-card-radius);
	padding: 24px 28px;
	z-index: 100;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sts-dropdown-wide {
	min-width: 560px;
}

.sts-dropdown-narrow {
	min-width: 250px;
}

.sts-nav-item.sts-open .sts-dropdown-wide {
	display: flex;
	gap: 36px;
}

.sts-nav-item.sts-open .sts-dropdown-narrow {
	display: block;
}

/* Dropdown Content */
.sts-dd-col {
	min-width: 200px;
}

.sts-dd-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sts-hint);
	margin-bottom: 10px;
}

.sts-dd-link {
	display: block;
	padding: 6px 0;
	font-size: 13.5px;
	color: var(--sts-ink);
	text-decoration: none;
	transition: color 0.12s;
	line-height: 1.4;
}

.sts-dd-link:hover {
	color: var(--sts-blue-accent);
}

.sts-dd-flagship {
	font-weight: 600;
	color: var(--sts-deep-blue);
}

.sts-dd-sub {
	font-size: 11.5px;
	color: var(--sts-hint);
	font-weight: 400;
}

.sts-dd-sep {
	height: 0.5px;
	background: var(--sts-border);
	margin: 10px 0;
}

.sts-badge-oopsy {
	display: inline-block;
	background: var(--sts-deep-blue);
	color: var(--sts-soft-blue);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 2px 6px;
	border-radius: 3px;
	margin-left: 6px;
	vertical-align: middle;
}

/* Right Side Buttons */
.sts-nav-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sts-btn-login {
	background: none;
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	font-family: var(--sts-font);
	font-size: 13px;
	font-weight: 500;
	padding: 7px 16px;
	border-radius: var(--sts-radius-sm);
	text-decoration: none;
	transition: all 0.15s;
}

.sts-btn-login:hover {
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.sts-btn-cta {
	display: inline-block;
	background: var(--sts-red);
	border: none;
	color: #fff;
	font-family: var(--sts-font);
	font-size: 13px;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: var(--sts-radius-sm);
	text-decoration: none;
	transition: background 0.15s;
}

.sts-btn-cta:hover {
	background: #cc1530;
	color: #fff;
}

/* Hamburger */
.sts-hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.sts-hamburger span {
	display: block;
	width: 20px;
	height: 2px;
	background: #fff;
	margin: 4px 0;
	border-radius: 1px;
	transition: all 0.3s;
}

.sts-hamburger.sts-active span:nth-child(1) {
	transform: rotate(45deg) translate(4px, 4px);
}

.sts-hamburger.sts-active span:nth-child(2) {
	opacity: 0;
}

.sts-hamburger.sts-active span:nth-child(3) {
	transform: rotate(-45deg) translate(4px, -4px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.sts-footer {
	background: var(--sts-navy);
	color: rgba(255, 255, 255, 0.65);
}

.sts-footer-inner {
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 40px 24px 24px;
}

.sts-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 32px;
	margin-bottom: 32px;
}

.sts-footer-brand .sts-logo-text {
	font-size: 16px;
	display: block;
}

.sts-footer-logo {
	height: 44px;
	width: auto;
	opacity: 0.9;
}

.sts-footer-brand p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.6;
	max-width: 260px;
	margin-top: 12px;
}

.sts-footer-heading {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 12px;
}

.sts-footer-col a {
	display: block;
	padding: 3px 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	transition: color 0.12s;
}

.sts-footer-col a:hover {
	color: #fff;
}

.sts-footer-spacer {
	height: 16px;
}

.sts-footer-bottom {
	border-top: 0.5px solid rgba(255, 255, 255, 0.12);
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.sts-footer-copy {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
}

.sts-footer-legal {
	display: flex;
	gap: 16px;
}

.sts-footer-legal a {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	text-decoration: none;
}

.sts-footer-legal a:hover {
	color: rgba(255, 255, 255, 0.7);
}

/* Social Icons */
.sts-social-row {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.sts-social-icon {
	width: 30px;
	height: 30px;
	border-radius: var(--sts-radius-sm);
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}

.sts-social-icon:hover {
	background: rgba(255, 255, 255, 0.22);
}

.sts-social-icon svg {
	width: 14px;
	height: 14px;
	fill: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   HOMEPAGE - Hero
   ========================================================================== */

.sts-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 24px 64px;
	text-align: center;
	background: var(--sts-navy);
}

.sts-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.25;
}

.sts-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26,58,92,0.85) 0%, rgba(13,33,55,0.95) 100%);
}

.sts-hero-inner {
	max-width: 700px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.sts-hero h1 {
	font-size: 38px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.5px;
	line-height: 1.15;
	margin-bottom: 16px;
}

.sts-hero h1 em {
	font-style: normal;
	color: var(--sts-soft-blue);
}

.sts-hero-sub {
	font-size: 16.5px;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.65;
	margin-bottom: 30px;
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
}

.sts-hero-btns {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.sts-hero-btn-primary {
	display: inline-block;
	background: var(--sts-red);
	border: none;
	color: #fff;
	font-family: var(--sts-font);
	font-size: 15px;
	font-weight: 600;
	padding: 13px 30px;
	border-radius: var(--sts-radius-md);
	text-decoration: none;
	transition: background 0.15s;
}

.sts-hero-btn-primary:hover {
	background: #cc1530;
	color: #fff;
}

.sts-hero-btn-secondary {
	display: inline-block;
	background: rgba(255, 255, 255, 0.08);
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	font-family: var(--sts-font);
	font-size: 15px;
	font-weight: 500;
	padding: 12px 30px;
	border-radius: var(--sts-radius-md);
	text-decoration: none;
	transition: all 0.15s;
}

.sts-hero-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

/* ==========================================================================
   HOMEPAGE - Sections
   ========================================================================== */

.sts-section {
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 40px 24px;
}

.sts-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 20px;
}

.sts-section-header h2 {
	font-size: 20px;
	font-weight: 600;
	color: var(--sts-navy);
	margin: 0;
}

.sts-section-header a {
	font-size: 13px;
	color: var(--sts-blue-accent);
	text-decoration: none;
	font-weight: 500;
}

/* Tool Cards */
.sts-tools-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.sts-tool-card {
	background: #ffffff;
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	padding: 22px 20px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s;
	display: block;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sts-tool-card:hover {
	border-color: var(--sts-soft-blue);
	transform: translateY(-2px);
	color: inherit;
}

.sts-tool-card-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.sts-tool-card-icon svg {
	width: 22px;
	height: 22px;
}

.sts-tool-card h3 {
	font-size: 15px;
	font-weight: 600;
	color: var(--sts-navy);
	margin-bottom: 6px;
}

.sts-tool-card p {
	font-size: 13px;
	color: var(--sts-muted);
	line-height: 1.5;
	margin: 0;
}

.sts-tool-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 8px;
	border-radius: 4px;
	margin-top: 12px;
}

.sts-tool-note {
	display: block;
	font-size: 11px;
	font-style: italic;
	color: var(--sts-hint);
	margin-top: 8px;
}

/* Tool Grid Variants */
.sts-tools-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.sts-tools-grid-5 {
	grid-template-columns: repeat(5, 1fr);
}

.sts-tools-grid-5 .sts-tool-card p {
	font-size: 12.5px;
	line-height: 1.45;
}

/* Date-Grouped Compact Articles */
.sts-date-groups-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.sts-date-group {
	margin-bottom: 0;
	background: #ffffff;
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	padding: 16px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sts-date-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--sts-navy);
	padding-bottom: 8px;
	margin-bottom: 8px;
	border-bottom: 0.5px solid var(--sts-border);
}

.sts-compact-articles {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sts-compact-article {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: var(--sts-radius-md);
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
}

.sts-compact-article:hover {
	background: var(--sts-hover-row);
	color: inherit;
}

.sts-compact-article-img {
	width: 40px;
	height: 40px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--sts-hover-row);
}

.sts-compact-article-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sts-compact-article-body {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
	overflow: hidden;
}

@media (max-width: 920px) {
	.sts-compact-article-body {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
}

.sts-compact-article-cat {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--sts-blue-accent);
	background: var(--sts-hover-row);
	padding: 2px 8px;
	border-radius: 3px;
	white-space: nowrap;
	flex-shrink: 0;
}

.sts-compact-article-title {
	font-size: 14px;
	font-weight: 500;
	color: var(--sts-ink);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	white-space: normal;
	min-width: 0;
}

/* ==========================================================================
   HOMEPAGE LIVE DATA WIDGETS
   ========================================================================== */

.sts-widgets-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
	padding-top: 16px;
	border-top: 0.5px solid var(--sts-border);
}

.sts-widget-card {
	background: #ffffff;
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	padding: 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	border-top: 3px solid var(--sts-deep-blue);
}

#widget-movers {
	border-top-color: var(--sts-green);
}

#widget-spotlight {
	border-top-color: var(--sts-soft-blue);
}

.sts-widget-title {
	font-size: 17px;
	font-weight: 600;
	color: var(--sts-navy);
	margin-bottom: 3px;
}

.sts-widget-sub {
	font-size: 11.5px;
	color: var(--sts-hint);
	margin-bottom: 14px;
}

.sts-widget-cta {
	font-size: 12px;
	color: var(--sts-deep-blue);
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
	margin-top: 12px;
}

.sts-widget-cta:hover {
	color: var(--sts-blue-accent);
}

.sts-widget-refresh {
	font-size: 10px;
	color: var(--sts-hint);
	font-style: italic;
	margin-top: 6px;
}

.sts-widget-loading {
	font-size: 13px;
	color: var(--sts-hint);
	padding: 20px 0;
}

.sts-widget-spotlight {
	text-align: center;
}

/* Widget: Top 5 player rows */
.sts-w-player {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 0.5px solid var(--sts-border);
}

.sts-w-player:last-of-type {
	border-bottom: none;
}

.sts-w-rank {
	font-size: 20px;
	font-weight: 600;
	color: var(--sts-soft-blue);
	width: 24px;
	text-align: center;
	flex-shrink: 0;
}

.sts-w-info {
	flex: 1;
	min-width: 0;
}

.sts-w-name {
	font-size: 14.5px;
	font-weight: 500;
	color: var(--sts-ink);
}

.sts-w-meta {
	font-size: 11px;
	color: var(--sts-muted);
}

.sts-w-val {
	font-size: 16px;
	font-weight: 600;
	color: var(--sts-navy);
	text-align: right;
}

.sts-w-vlabel {
	font-size: 10px;
	color: var(--sts-hint);
	text-align: right;
}

/* Widget: Movers */
.sts-w-movers-label {
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 4px;
}

.sts-w-riser-label {
	color: var(--sts-green);
}

.sts-w-faller-label {
	color: var(--sts-red);
	margin-top: 10px;
}

.sts-w-mover {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 0;
	border-bottom: 0.5px solid var(--sts-border);
}

.sts-w-mover:last-of-type {
	border-bottom: none;
}

.sts-w-mdir {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.sts-w-up {
	background: #e6f5f0;
	color: var(--sts-green);
}

.sts-w-down {
	background: #fef2f2;
	color: var(--sts-red);
}

.sts-w-minfo {
	flex: 1;
	min-width: 0;
}

.sts-w-mchange {
	font-size: 16px;
	font-weight: 600;
	text-align: right;
}

.sts-w-mup {
	color: var(--sts-green);
}

.sts-w-mdn {
	color: var(--sts-red);
}

/* Widget: Prospect Spotlight */
.sts-w-spotlight-av {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--sts-canvas);
	border: 2px solid var(--sts-soft-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
}

.sts-w-spotlight-av span {
	font-size: 20px;
	font-weight: 600;
	color: var(--sts-deep-blue);
}

.sts-w-spotlight-name {
	font-size: 19px;
	font-weight: 600;
	color: var(--sts-navy);
	margin-bottom: 2px;
}

.sts-w-spotlight-stats {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 6px;
	margin-bottom: 6px;
}

.sts-w-sp-stat {
	background: var(--sts-canvas);
	border-radius: 8px;
	padding: 8px 4px;
	text-align: center;
}

.sts-w-sp-val {
	font-size: 20px;
	font-weight: 600;
	color: var(--sts-navy);
}

.sts-w-sp-lbl {
	font-size: 10px;
	color: var(--sts-hint);
	text-transform: uppercase;
}

/* YouTube Embed Grid */
.sts-yt-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
	align-items: start;
}

.sts-yt-embed {
	border-radius: var(--sts-card-radius);
	overflow: hidden;
	background: #000;
}

/* 16:9 responsive container */
.sts-video-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.sts-video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 9:16 vertical (Shorts) container */
.sts-video-container-vertical {
	position: relative;
	width: 100%;
	padding-bottom: 112%;
	height: 0;
	overflow: hidden;
}

.sts-video-container-vertical iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.sts-yt-placeholder {
	background: var(--sts-white);
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	aspect-ratio: 16 / 9;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.sts-yt-placeholder span {
	font-size: 13px;
	color: var(--sts-hint);
}

/* Spotify Embed */
.sts-spotify-embed {
	margin-bottom: 16px;
	border-radius: var(--sts-card-radius);
	overflow: hidden;
}

.sts-spotify-embed iframe {
	display: block;
}
.sts-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.sts-article-card {
	background: #ffffff;
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	overflow: hidden;
	transition: all 0.2s;
	display: block;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sts-article-card:hover {
	border-color: var(--sts-soft-blue);
	transform: translateY(-2px);
	color: inherit;
}

.sts-article-card-img {
	height: 160px;
	background: var(--sts-hover-row);
	overflow: hidden;
}

.sts-article-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sts-article-card-body {
	padding: 16px 18px;
}

.sts-article-card-cat {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--sts-blue-accent);
	margin-bottom: 6px;
}

.sts-article-card-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--sts-navy);
	line-height: 1.4;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sts-article-card-date {
	font-size: 12px;
	color: var(--sts-hint);
}

/* Podcast Section */
.sts-podcast {
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 0 24px 40px;
}

.sts-podcast-inner {
	background: var(--sts-white);
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	padding: 24px 28px;
	display: flex;
	align-items: center;
	gap: 24px;
}

.sts-podcast-art {
	width: 80px;
	height: 80px;
	border-radius: 10px;
	background: var(--sts-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sts-podcast-art svg {
	width: 32px;
	height: 32px;
}

.sts-podcast-text {
	flex: 1;
	min-width: 0;
}

.sts-podcast-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sts-hint);
	margin-bottom: 4px;
}

.sts-podcast-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--sts-navy);
	margin-bottom: 4px;
}

.sts-podcast-meta {
	font-size: 13px;
	color: var(--sts-muted);
}

.sts-podcast-links {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.sts-podcast-btn {
	display: inline-block;
	padding: 8px 16px;
	border-radius: var(--sts-radius-md);
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s;
}

.sts-podcast-btn-primary {
	background: var(--sts-hover-row);
	color: var(--sts-deep-blue);
}

.sts-podcast-btn-secondary {
	background: var(--sts-canvas);
	color: var(--sts-muted);
	border: 0.5px solid var(--sts-border);
}

/* CTA Bar */
.sts-cta-bar {
	background: var(--sts-navy);
	padding: 44px 24px;
	text-align: center;
}

.sts-cta-bar h2 {
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 10px;
}

.sts-cta-bar p {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 22px;
}

/* ==========================================================================
   TOOL PAGES - iframe containers
   ========================================================================== */

.sts-tool-intro {
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 36px 24px 0;
}

.sts-tool-intro h1 {
	font-size: 26px;
	font-weight: 700;
	color: var(--sts-navy);
	letter-spacing: -0.3px;
	margin-bottom: 8px;
}

.sts-tool-intro p {
	font-size: 14.5px;
	color: var(--sts-muted);
	line-height: 1.65;
	max-width: 680px;
	padding-bottom: 24px;
	border-bottom: 0.5px solid var(--sts-border);
}

.sts-tool-area {
	max-width: var(--sts-max-width);
	margin: 0 auto;
	padding: 24px 24px 48px;
}

.sts-iframe-shell {
	background: var(--sts-white);
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	overflow: hidden;
}

.sts-iframe-shell iframe {
	width: 100%;
	border: none;
	display: block;
}

/* Mobile iframe optimization */
@media (max-width: 920px) {
	.sts-iframe-shell {
		border-radius: 0;
		border-left: none;
		border-right: none;
		margin-left: -12px;
		margin-right: -12px;
		width: calc(100% + 24px);
		overflow: visible;
	}

	.sts-iframe-shell iframe {
		min-height: 1500px !important;
		-webkit-overflow-scrolling: touch;
	}

	.sts-content-area:has(.sts-iframe-shell) {
		padding-left: 12px;
		padding-right: 12px;
	}

/* ==========================================================================
   TABBED TOOL PAGES
   ========================================================================== */

.sts-tab-bar {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	padding-bottom: 0;
}

.sts-tab {
	background: #edf2fa;
	border: 1px solid #d4dff0;
	font-family: var(--sts-font);
	font-size: 14px;
	font-weight: 500;
	color: var(--sts-deep-blue);
	padding: 10px 22px;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.15s;
	text-decoration: none;
}

.sts-tab:hover {
	background: #dbe8f8;
	border-color: var(--sts-soft-blue);
	color: var(--sts-deep-blue);
}

.sts-tab.active {
	background: var(--sts-deep-blue);
	color: #fff;
	font-weight: 600;
	border-color: var(--sts-deep-blue);
}

.sts-tab-panel {
	display: none;
}

.sts-tab-panel.active {
	display: block;
}

/* ==========================================================================
   ARTICLES HUB - Filter Bar
   ========================================================================== */

.sts-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	padding: 12px 16px;
	background: var(--sts-white);
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
}

.sts-filter-btn {
	background: #edf2fa;
	border: 1px solid #d4dff0;
	font-family: var(--sts-font);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--sts-deep-blue);
	padding: 6px 14px;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.15s;
	white-space: nowrap;
}

.sts-filter-btn:hover {
	background: #dbe8f8;
	border-color: var(--sts-soft-blue);
	color: var(--sts-deep-blue);
}

.sts-filter-btn.active {
	background: var(--sts-deep-blue);
	color: #fff;
	border-color: var(--sts-deep-blue);
}

.sts-filter-btn-sm {
	font-size: 11.5px;
	padding: 4px 10px;
}

.sts-filter-divider {
	width: 0.5px;
	height: 20px;
	background: var(--sts-border);
	margin: 0 4px;
}

.sts-filter-group-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sts-hint);
	margin-right: 2px;
}

.sts-subfilter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	padding: 10px 16px;
	background: var(--sts-hover-row);
	border-radius: var(--sts-radius-md);
}
   ========================================================================== */

.sts-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.sts-post-card {
	background: var(--sts-white);
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	overflow: hidden;
	transition: all 0.2s;
}

.sts-post-card:hover {
	border-color: var(--sts-soft-blue);
	transform: translateY(-2px);
}

.sts-post-card a {
	text-decoration: none;
	color: inherit;
}

.sts-post-card-img {
	height: 180px;
	background: var(--sts-hover-row);
	overflow: hidden;
}

.sts-post-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sts-post-card-body {
	padding: 20px;
}

.sts-post-card-cat {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--sts-blue-accent);
	margin-bottom: 8px;
}

.sts-post-card-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--sts-navy);
	line-height: 1.4;
	margin-bottom: 8px;
}

.sts-post-card-excerpt {
	font-size: 14px;
	color: var(--sts-muted);
	line-height: 1.5;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sts-post-card-date {
	font-size: 12px;
	color: var(--sts-hint);
}

/* Single Post */
.sts-single-post {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px 60px;
}

/* Post Header */
.sts-single-header {
	max-width: 780px;
	margin: 0 auto;
	padding: 32px 0 0;
}

.sts-single-nav {
	margin-bottom: 16px;
}

.sts-single-nav a {
	font-size: 13px;
	color: var(--sts-blue-accent);
	text-decoration: none;
	font-weight: 500;
}

.sts-single-nav a:hover {
	color: var(--sts-deep-blue);
}

.sts-single-post h1 {
	font-size: 30px;
	font-weight: 700;
	color: var(--sts-navy);
	margin-bottom: 12px;
	line-height: 1.25;
}

.sts-single-meta {
	font-size: 13px;
	color: var(--sts-hint);
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 0.5px solid var(--sts-border);
}

/* Featured Image */
.sts-single-hero {
	max-width: 780px;
	margin: 0 auto 32px;
	border-radius: var(--sts-card-radius);
	overflow: hidden;
}

/* Post Content - constrained to readable width */
.sts-single-content {
	font-size: 17px;
	line-height: 1.8;
	color: var(--sts-ink);
	max-width: 780px;
	margin: 0 auto;
}

/* Tables break out of 780px to use full post width (up to 1100px) */
.sts-single-content table,
.sts-single-content .table-wrapper {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	max-width: 1100px;
}

/* Images also allowed to break out slightly */
.sts-single-content img {
	border-radius: var(--sts-radius-md);
	margin: 1.5em auto;
	display: block;
	height: auto;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	max-width: min(100vw, 1100px);
}

.sts-single-content h2 {
	margin-top: 1.8em;
	font-size: 22px;
}

.sts-single-content h3 {
	margin-top: 1.4em;
	font-size: 18px;
}

.sts-single-content blockquote {
	border-left: 3px solid var(--sts-soft-blue);
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	padding: 0.5em 0 0.5em 1.5em;
	color: var(--sts-muted);
	font-style: italic;
}

/* Tables - allowed to use full container width, centered */
.sts-single-content table {
	margin: 1.5em auto;
	border-collapse: collapse;
	max-width: 100%;
	font-size: 14px;
}

/* GAS-generated table-wrapper class */
.sts-single-content .table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.5em auto;
	max-width: 100%;
}

.sts-single-content .table-wrapper table {
	margin: 0 auto;
}

/* Horizontal scroll wrapper for overflow tables on mobile */
.sts-single-content > table {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.sts-single-content table th {
	background: var(--sts-deep-blue);
	color: #fff;
	font-weight: 600;
	padding: 10px 14px;
	text-align: center;
	font-size: 13px;
	white-space: nowrap;
}

.sts-single-content table td {
	padding: 8px 14px;
	text-align: center;
	border: 0.5px solid var(--sts-border);
	white-space: nowrap;
}

.sts-single-content table tbody tr:nth-child(even) {
	background: var(--sts-hover-row);
}

.sts-single-content table tbody tr:nth-child(odd) {
	background: #fff;
}

.sts-single-content table tbody tr:hover {
	background: #dbe8f8;
}

/* Player recap blocks - style bold names as card-like entries */
.sts-single-content > p > strong:first-child,
.sts-single-content > p > b:first-child {
	font-size: 17px;
	color: var(--sts-navy);
}

/* STS Projection / MLB Rank lines */
.sts-single-content br + br {
	display: block;
	content: '';
	margin: 0.5em 0;
}

/* Links within content */
.sts-single-content a {
	color: var(--sts-blue-accent);
	text-decoration: underline;
	text-decoration-color: rgba(0, 115, 207, 0.3);
	text-underline-offset: 2px;
}

.sts-single-content a:hover {
	text-decoration-color: var(--sts-blue-accent);
}

/* Mobile adjustments for posts */
@media (max-width: 920px) {
	.sts-single-post {
		padding: 0 12px 40px;
	}

	.sts-single-header {
		padding: 20px 0 0;
	}

	.sts-single-post h1 {
		font-size: 24px;
	}

	.sts-single-content {
		font-size: 16px;
		max-width: 100%;
	}

	/* Reset breakout on mobile - everything stays in flow */
	.sts-single-content table,
	.sts-single-content .table-wrapper,
	.sts-single-content img {
		position: static;
		left: auto;
		transform: none;
		width: 100%;
		max-width: 100%;
	}

	.sts-single-content table {
		font-size: 12px;
	}

	.sts-single-content table th,
	.sts-single-content table td {
		padding: 6px 8px;
	}

	/* Force side-by-side tables (pitcher tables) to stack on mobile */
	.sts-single-content div[style*="display: flex"],
	.sts-single-content div[style*="display:flex"] {
		flex-direction: column !important;
		align-items: center !important;
		gap: 16px !important;
	}

	/* Ensure table-wrapper divs inside flex containers are full width */
	.sts-single-content .table-wrapper {
		width: 100% !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* GAS-generated tables with inline widths need to scroll */
	.sts-single-content table[style*="width"] {
		display: table;
		min-width: min-content;
	}

	/* Inline-styled div containers should not overflow the screen */
	.sts-single-content div[style*="max-width"] {
		max-width: 100% !important;
		padding: 0 !important;
	}
}

/* Pagination */
.sts-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 32px 0;
}

.sts-pagination a,
.sts-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--sts-radius-md);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border: 0.5px solid var(--sts-border);
	color: var(--sts-muted);
	background: var(--sts-white);
	transition: all 0.15s;
}

.sts-pagination a:hover {
	border-color: var(--sts-soft-blue);
	color: var(--sts-deep-blue);
}

.sts-pagination .current {
	background: var(--sts-deep-blue);
	color: #fff;
	border-color: var(--sts-deep-blue);
}

/* ==========================================================================
   PAGE - Standard content pages
   ========================================================================== */

.sts-page-content {
	background: var(--sts-white);
	border: 0.5px solid var(--sts-border);
	border-radius: var(--sts-card-radius);
	padding: 40px;
	max-width: 2500px;
	margin: 0 auto;
}

.sts-page-content h1 {
	font-size: 28px;
	color: var(--sts-navy);
	margin-bottom: 24px;
}

/* ==========================================================================
   DESKTOP-ONLY CONTAINER - Applied to specific pages via body class
   ========================================================================== */

@media (min-width: 921px) {
	.sts-contained-page .sts-content-area > article {
		background: var(--sts-white);
		border: 0.5px solid var(--sts-border);
		border-radius: var(--sts-card-radius);
		padding: 32px;
	}
}

/* ==========================================================================
   WOOCOMMERCE - Basic compatibility overrides
   ========================================================================== */

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--sts-deep-blue) !important;
	color: #fff !important;
	border-radius: var(--sts-radius-sm) !important;
	font-family: var(--sts-font) !important;
	font-weight: 600 !important;
	border: none !important;
	padding: 10px 20px !important;
	transition: background 0.15s !important;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: var(--sts-navy) !important;
}

.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--sts-red) !important;
}

.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover {
	background: #cc1530 !important;
}

/* My Account page - Discord connect button override */
.woocommerce-MyAccount-content a[href*="discord"],
a.discord-btn,
a[class*="discord"],
.connect-discord,
a[href*="discord.com/api/oauth"],
.woocommerce-MyAccount-content a[style*="background-color: green"],
.woocommerce-MyAccount-content a[style*="background: green"],
.woocommerce-MyAccount-content a[style*="#28a745"],
.woocommerce-MyAccount-content a[style*="#5865F2"] {
	background: #5865F2 !important;
	color: #fff !important;
	padding: 10px 20px !important;
	border-radius: 8px !important;
	font-family: var(--sts-font) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	border: none !important;
	transition: background 0.15s !important;
}

.woocommerce-MyAccount-content a[href*="discord"]:hover,
a.discord-btn:hover,
a[class*="discord"]:hover {
	background: #4752c4 !important;
}

/* My Account - Remove symbol next to Membership */
.woocommerce-MyAccount-navigation-link--memberships a::before,
.woocommerce-MyAccount-navigation-link--members-area a::before,
li.woocommerce-MyAccount-navigation-link a::before {
	content: none !important;
	display: none !important;
}

/* Clean up My Account navigation styling */
.woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	padding-left: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
	color: var(--sts-blue-accent);
	text-decoration: none;
	padding: 6px 0;
	display: block;
	font-size: 15px;
	transition: color 0.15s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
	color: var(--sts-deep-blue);
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */

.sts-comments {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 24px 48px;
}

.sts-comments h2 {
	font-size: 20px;
	color: var(--sts-navy);
	margin-bottom: 24px;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment {
	padding: 16px 0;
	border-bottom: 0.5px solid var(--sts-border);
}

.comment-author {
	font-weight: 600;
	font-size: 14px;
}

.comment-meta {
	font-size: 12px;
	color: var(--sts-hint);
	margin-bottom: 8px;
}

/* ==========================================================================
   RESPONSIVE VIDEO & IFRAME EMBEDS - All pages
   ========================================================================== */

/* All iframes in content areas respect container width */
.sts-content-area iframe,
.sts-page-content iframe,
.sts-single-content iframe {
	max-width: 100%;
}

/* WordPress oEmbed wrappers */
.wp-block-embed__wrapper,
.wp-block-embed,
.entry-content .wp-block-embed {
	max-width: 100%;
	overflow: hidden;
}

/* GAS-generated video containers from embed codes */
.video-container,
.video-responsive {
	position: relative;
	width: 100%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.video-container {
	padding-bottom: 56.25%;
}

.video-responsive {
	padding-bottom: 112%;
}

.video-container iframe,
.video-responsive iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* YouTube embed blocks and generic iframes on pages */
.sts-content-area .wp-block-embed-youtube,
.sts-page-content .wp-block-embed-youtube {
	max-width: 100%;
}

@media (max-width: 920px) {
	/* Force all embeds to fit screen on mobile */
	.sts-content-area iframe[src*="youtube"],
	.sts-content-area iframe[src*="spotify"],
	.sts-page-content iframe[src*="youtube"],
	.sts-page-content iframe[src*="spotify"],
	.sts-single-content iframe[src*="youtube"],
	.sts-single-content iframe[src*="spotify"] {
		max-width: 100% !important;
		width: 100% !important;
	}

	/* Shorts vertical embeds - constrain height on mobile */
	.video-responsive {
		max-height: 80vh;
		padding-bottom: 0;
		height: 80vh;
	}

	/* Any inline-styled iframes from WordPress editor */
	.sts-content-area iframe[style*="width"],
	.sts-page-content iframe[style*="width"] {
		max-width: 100% !important;
	}
}

/* ==========================================================================
   WORDPRESS UTILITIES
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin: 1.5em auto; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--sts-hint); margin-top: 8px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 920px) {
	.sts-nav-links {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: var(--sts-navy);
		flex-direction: column;
		height: auto;
		padding: 16px 0;
		border-top: 0.5px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
		z-index: 99;
	}

	.sts-nav-links.sts-mobile-open {
		display: flex;
	}

	.sts-nav-item {
		height: auto;
		flex-direction: column;
		width: 100%;
	}

	.sts-nav-btn,
	.sts-nav-link {
		height: 48px;
		padding: 0 24px;
		width: 100%;
		justify-content: space-between;
	}

	.sts-dropdown {
		position: static;
		box-shadow: none;
		border: none;
		border-radius: 0;
		padding: 8px 24px 16px 40px;
		background: rgba(255, 255, 255, 0.03);
	}

	.sts-dropdown-wide {
		min-width: unset;
	}

	.sts-nav-item.sts-open .sts-dropdown-wide {
		flex-direction: column;
		gap: 16px;
	}

	.sts-dd-link { color: rgba(255, 255, 255, 0.8); }
	.sts-dd-link:hover { color: #fff; }
	.sts-dd-flagship { color: var(--sts-soft-blue); }
	.sts-dd-label { color: rgba(255, 255, 255, 0.4); }
	.sts-nav-item.sts-open::after { display: none; }

	.sts-hamburger { display: block; }
	.sts-fantrax-badge { display: none; }
	.sts-search-inner { padding: 10px 16px; }

	.sts-tools-grid { grid-template-columns: 1fr 1fr; }
	.sts-tools-grid-3 { grid-template-columns: 1fr 1fr; }
	.sts-tools-grid-5 { grid-template-columns: 1fr 1fr; }
	.sts-articles-grid { grid-template-columns: 1fr; }
	.sts-date-groups-grid { grid-template-columns: 1fr; }
	.sts-widgets-row { grid-template-columns: 1fr; }
	.sts-posts-grid { grid-template-columns: 1fr; }
	.sts-yt-grid { grid-template-columns: 1fr; }
	.sts-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.sts-hero h1 { font-size: 28px; }
	.sts-tool-intro h1 { font-size: 22px; }
	.sts-podcast-inner { flex-direction: column; text-align: center; }
	.sts-podcast-links { justify-content: center; }
	.sts-page-content {
		padding: 16px;
		border: none;
		border-radius: 0;
		background: transparent;
		max-width: 100%;
	}
	.sts-content-area {
		padding: 0 12px 32px;
	}
	.sts-filter-bar { padding: 10px 12px; }
	.sts-filter-divider { display: none; }
	.sts-filter-group-label { width: 100%; margin-top: 4px; }
	.sts-tab-bar { overflow-x: auto; }
	.sts-tab { font-size: 13px; padding: 10px 14px; }
}

@media (max-width: 480px) {
	.sts-tools-grid { grid-template-columns: 1fr; }
	.sts-tools-grid-3 { grid-template-columns: 1fr; }
	.sts-tools-grid-5 { grid-template-columns: 1fr; }
	.sts-yt-grid { grid-template-columns: 1fr; }
	.sts-footer-grid { grid-template-columns: 1fr; }
	.sts-nav-top { padding: 0 16px; }
	.sts-hero { padding: 48px 16px 40px; }
}
