@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

/* Shared styles for thebaseballbash */
:root {
  --brand: #7b2cbf; /* vibrant plum */
  --brand-dark: #5a189a;
  --accent: #ff7b54; /* sunset coral */
  --text: #231942;
  --muted: #6d5d84;
  --bg: #fffdf9;
  --bg-alt: #fff4ea;
  --surface: #ffffff;
  --border: #f0d9c9;
  --maxw: 1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #dbe5ea;
    --muted: #9eb1bb;
    --bg: #0f1418;
    --bg-alt: #151d23;
    --surface: #1b242b;
    --border: #27333c;
  }
}

[data-theme="dark"] {
  --text: #dbe5ea;
  --muted: #9eb1bb;
  --bg: #0f1418;
  --bg-alt: #151d23;
  --surface: #1b242b;
  --border: #27333c;
}

[data-theme="light"] {
  --text: #1d262a;
  --muted: #5b6b74;
  --bg: #ffffff;
  --bg-alt: #f6f8f9;
  --surface: #ffffff;
  --border: #e6ecef;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
header.site-header { background: #ffffff; color: var(--text); padding: 18px 0; border-bottom: 1px solid var(--border); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--brand); text-decoration: none; }
.brand img { height: 40px; width: 40px; }
.brand .title { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 30px; letter-spacing: 1px; text-transform: uppercase; }
.theme-toggle { background: transparent; color: var(--brand); border: 1px solid var(--border); padding: 7px 10px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand-dark); }

.hero { background: var(--bg-alt); padding: 36px 0; border-bottom: 1px solid var(--border); }
.hero h1 {
  margin: 0 0 10px 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  letter-spacing: 0.4px;
  line-height: 1.05;
  text-transform: uppercase;
}
.hero p { margin: 0; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; }

.ad-slot { border: 2px dashed #c8d6dc; background: color-mix(in srgb, var(--surface) 86%, var(--bg-alt)); color: #7a8a93; display: flex; align-items: center; justify-content: center; text-align: center; margin: 18px 0; border-radius: 10px; max-width: 100%; overflow: hidden; }
.ad-slot ins,
.ad-slot a,
.ad-slot iframe,
.ad-slot img {
  display: block;
  max-width: 100% !important;
}
.ad-slot iframe,
.ad-slot img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
.ad-slot a { height: 100%; }
.ad-slot:has(img),
.ad-slot:has(iframe),
.ad-slot:has(video),
.ad-slot:has(object),
.ad-slot:has(embed) {
  border-color: transparent;
}
.ad-728x90 { width: min(100%, 728px); height: auto; aspect-ratio: 728 / 90; margin-left: auto; margin-right: auto; }
.ad-160x600 { width: min(100%, 160px); height: auto; aspect-ratio: 160 / 600; }
.ad-300x250 { width: min(100%, 300px); height: auto; aspect-ratio: 300 / 250; margin-left: auto; margin-right: auto; }
.ad-300x300 { width: min(100%, 300px); height: auto; aspect-ratio: 1 / 1; margin-left: auto; margin-right: auto; }
.ad-label { font-weight: 700; }
#ad-728x90 {
  border: none !important;
  background-image: url("../images/ad-728x90.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#ad-300x300 {
  border: none !important;
  background-image: url("../images/ad-300x300.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#ad-160x600 {
  border: none !important;
  background-image: url("../images/ad-160x600.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#ad-300x250 {
  border: none !important;
  background-image: url("../images/ad-300x250.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

section.block { padding: 26px 0; border-bottom: 1px solid var(--border); }
section.block h2 {
  margin: 0 0 8px 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
section.block p.lead { margin: 0 0 14px 0; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 20px; box-shadow: 0 1px 2px rgba(16,24,40,0.03); }
.card h3 {
  margin: 0 0 10px 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
  text-transform: uppercase;
}
.card p { margin: 0 0 14px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.feed-rotator .item {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 75%, transparent);
}
.feed-rotator .item:last-child { border-bottom: none; }
.feed-rotator .item a { font-weight: 600; }

.article-content p { margin: 0 0 18px; font-size: 20px; line-height: 1.72; color: #2c3136; }
.article-content h3 {
  margin: 28px 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 600;
}
.related-list { margin-top: 12px; padding-left: 18px; }
.card-stack-wrap { padding-top: 18px; padding-bottom: 28px; }
.is-hidden { display: none; }

.blog-listing-modern .lead { margin-bottom: 18px; }
.blog-grid { gap: 22px; }
.blog-card-modern {
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 90%, #ffffff), var(--surface));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card-modern::after {
  content: "";
  position: absolute;
  inset: auto -30% -30% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 35%, transparent), transparent 70%);
  pointer-events: none;
}
.blog-card-modern:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--brand) 55%, var(--border));
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}
.blog-card-modern .tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.blog-card-modern h3 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  text-transform: none;
  line-height: 1.2;
}
.blog-card-modern p {
  margin: 0;
  color: var(--muted);
}
.rss-unique .grid { gap: 22px; }
.rss-unique .grid > div { display: flex; }
.rss-unique .grid > div > .card { height: 100%; display: flex; flex-direction: column; }
.rss-unique .card {
  border-radius: 18px;
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 80%, #fff), color-mix(in oklab, var(--bg-alt) 80%, #fff));
  border: 1px dashed color-mix(in oklab, var(--accent) 30%, var(--border));
  position: relative;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--border) 70%, transparent), 0 8px 18px rgba(17, 24, 39, 0.08);
}
.rss-unique .feed-rotator { margin-top: 6px; flex: 1; display: block; }
.rss-item { display: block; padding: 10px 0; border-bottom: 1px solid color-mix(in oklab, var(--border) 75%, transparent); }
.rss-item:last-child { border-bottom: none; }
.rss-item h4 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.rss-item p { margin: 0 0 6px; color: var(--muted); }
.rss-item .meta { font-size: 12px; color: var(--muted); }
.rss-unique .card h3 {
  text-transform: none;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  margin-bottom: 10px;
  position: relative;
  padding-left: 8px;
}
.rss-unique .card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.rss-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 18px;
  line-height: 1;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 6px 8px;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12);
}
.guides-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.guides-main { min-width: 0; }
.guides-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guides-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.guides-sidebar .ad-slot {
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
}
.sidebar-search {
  width: 100%;
  max-width: 300px;
  border: 1px solid color-mix(in oklab, var(--border) 70%, var(--accent));
  border-radius: 12px;
  padding: 12px;
  background: color-mix(in oklab, var(--surface) 86%, var(--bg-alt));
}
.sidebar-search label {
  display: block;
  font-size: 13px;
  letter-spacing: .03em;
  margin-bottom: 8px;
  color: var(--muted);
}
.sidebar-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #1f2937;
  font-size: 15px;
}
.sidebar-search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 18%, transparent);
}
.blog-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.load-more-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.load-more-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.load-more-btn:disabled { opacity: .6; cursor: not-allowed; }

/* About section modern cards */
.about-modern .grid { gap: 22px; }
.about-card-modern {
  border-radius: 18px;
  padding: 24px 22px;
  background:
    linear-gradient(160deg, color-mix(in oklab, var(--surface) 85%, #ffffff), color-mix(in oklab, var(--surface) 95%, var(--bg-alt)));
  border: 1px solid color-mix(in oklab, var(--border) 75%, var(--accent));
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.about-card-modern::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  right: -45px;
  top: -55px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 30%, transparent), transparent 72%);
  pointer-events: none;
}
.about-card-modern:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--brand) 55%, var(--border));
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
}
.about-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 8px 18px color-mix(in oklab, var(--brand) 35%, transparent);
}
.about-card-modern h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  text-transform: none;
}
.guide-list-modern {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-width: 860px;
}
.guide-list-modern li {
  position: relative;
  margin: 0 0 10px;
  padding: 12px 14px 12px 44px;
  border: 1px solid color-mix(in oklab, var(--border) 70%, var(--accent));
  border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 85%, #fff), color-mix(in oklab, var(--bg-alt) 75%, #fff));
  line-height: 1.5;
}
.guide-list-modern li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 6px 12px color-mix(in oklab, var(--brand) 35%, transparent);
}

footer.site-footer {
  background: color-mix(in oklab, var(--bg) 75%, #000);
  border-top: 1px solid var(--border);
  padding: 28px 0 22px;
  color: var(--muted);
  font-size: 14px;
}
footer.site-footer .container { text-align: center; }
.footer-brand {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 1px;
  font-weight: 600;
  color: #fff3e6;
  margin-bottom: 8px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 0 16px rgba(255, 179, 71, 0.15);
}
.footer-subtitle {
  margin: 0;
  color: #d9c3e8;
  font-size: 15px;
}
.footer-links {
  margin: 14px 0 10px;
  display: flex;
  justify-content: center;
  gap: 34px;
}
.footer-links a {
  color: #ffe5cc;
  font-size: 31px;
  text-decoration: none;
}
.footer-links a:hover { color: #ffd166; }
.footer-copy {
  margin: 0;
  color: #d7bfd4;
  font-size: 14px;
}

/* Screenshot-inspired skins */
body.home-dark {
  --bg: #2b124c;
  --bg-alt: #522258;
  --surface: #3b185f;
  --border: #7a3b8f;
  --text: #fff5f5;
  --muted: #f8d9c2;
  --brand: #ffb347;
  --brand-dark: #ff7b54;
  background-image: radial-gradient(circle at top, #7b2cbf 0%, #522258 45%, #2b124c 100%);
}
body.home-dark header.site-header {
  background: rgba(43, 18, 76, 0.92);
  border-bottom: 1px solid #7a3b8f;
}
body.home-dark .brand,
body.home-dark .brand:hover { color: #f7f9ff; }
body.home-dark .theme-toggle { color: #ffd166; border-color: #a35dc2; }
body.home-dark .theme-toggle:hover { color: #fff; border-color: #ffd166; }
body.home-dark .hero { background: transparent; border-bottom: 1px solid #7a3b8f; }
body.home-dark .hero h1 { color: #fff7e6; text-shadow: 0 0 20px rgba(255, 179, 71, 0.2); }
body.home-dark .card { background: #43206c; border-color: #a35dc2; }
body.home-dark .card h3 a { color: #ffd166; }
body.home-dark .card p { color: #ffe7d2; }
body.home-dark .meta { color: #ffd7b3; }
body.home-dark .article-content p { color: #ffeede; }
body.home-dark .article-content a { color: #ffd166; }
body.home-dark .article-content a:hover { color: #fff4b1; }
body.home-dark .ad-slot { border-color: #c06c84; color: #ffe8d6; background: #522258; }
body.home-dark footer.site-footer { background: #2b124c; border-top-color: #7a3b8f; }
body.home-dark .blog-card-modern {
  background: linear-gradient(180deg, #4a226f, #3b185f);
  border-color: #9657b5;
}
body.home-dark .blog-card-modern p { color: #ffe2c9; }
body.home-dark .rss-unique .card {
  background: linear-gradient(180deg, #4a226f, #3b185f);
  border-color: #a463c4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 10px 20px rgba(0,0,0,0.25);
}
body.home-dark .rss-badge {
  background: #2b124c;
  color: #ffd166;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}
body.home-dark .sidebar-search {
  background: linear-gradient(180deg, #4a226f, #3b185f);
  border-color: #9657b5;
}
body.home-dark .sidebar-search label { color: #ffe2c9; }
body.home-dark .sidebar-search input {
  background: #2e154a;
  border-color: #8f58b4;
  color: #fff4e2;
}
body.home-dark .about-card-modern {
  background: linear-gradient(180deg, #4a226f, #3b185f);
  border-color: #9657b5;
}
body.home-dark .about-card-modern p { color: #ffe2c9; }
body.home-dark .guide-list-modern li {
  background: linear-gradient(180deg, #4a226f, #3b185f);
  border-color: #9657b5;
  color: #ffe9d2;
}

body.article-light {
  --bg: #fffaf4;
  --bg-alt: #ffeede;
  --surface: #ffffff;
  --border: #f3d4b6;
  --text: #2f1b46;
  --muted: #7b5e76;
}
body.article-light .hero {
  background: linear-gradient(180deg, #7b2cbf 0%, #ff7b54 100%);
  color: #fff;
}
body.article-light .hero p,
body.article-light .meta { color: #efe3d6; }
body.article-light .hero h1 { color: #fff; text-transform: none; font-family: "Playfair Display", Georgia, serif; font-style: italic; }
body.article-light .article-content {
  max-width: 860px;
  margin: -24px auto 0;
  border-top: 4px solid #d14d3b;
}

/* Continuous ticker */
.ticker-wrap { width: 100%; border-bottom: 1px solid var(--border); background: color-mix(in oklab, var(--surface) 85%, var(--bg-alt)); }
.ticker-wrap .container { max-width: 100%; padding-left: 0; padding-right: 0; }
.ticker { width: 100%; overflow: hidden; position: relative; padding: 10px 16px; }
.ticker__track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 35s linear infinite;
}
.ticker__item {
  display: inline-block;
  margin-right: 36px;
  color: var(--text);
  opacity: 0.92;
}
.ticker__item a { color: var(--brand); font-weight: 600; }
.ticker__item::before {
  content: '•';
  color: var(--accent);
  margin: 0 12px 0 4px;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Dark tune */
body.home-dark .ticker-wrap { background: #3a1b63; border-bottom-color: #7a3b8f; }
body.home-dark .ticker__item { color: #ffeede; }
body.home-dark .ticker__item a { color: #ffd166; }

/* Article detail redesign */
.article-page .hero { padding: 16px 0; }
.article-page .hero h1 { font-size: clamp(1.1rem, 2vw, 1.5rem); text-transform: none; letter-spacing: 0; }
.article-page .hero p { margin-top: 4px; font-size: 13px; }
.article-breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.article-breadcrumb a { color: #ffd9a8; text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-top-ad { margin-top: 6px; margin-bottom: 14px; }
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
.article-main { min-width: 0; }
.article-head { margin-bottom: 14px; }
.article-eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ffb996; }
.article-title {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-style: normal;
  color: #fff7eb;
}
.article-meta { margin: 0; font-size: 13px; color: #e9cbb8; }
.article-feature {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #8f58b4;
  display: block;
  margin: 0 0 16px;
}
.article-content {
  background: #2f124e;
  border: 1px solid #8f58b4;
  border-radius: 12px;
  padding: 22px 20px;
}
.article-content blockquote {
  margin: 14px 0;
  padding: 10px 12px;
  border-left: 3px solid #ffb347;
  background: rgba(255,255,255,0.03);
  color: #ffeede;
  font-style: italic;
}
.article-side { display: grid; gap: 12px; }
.side-box {
  background: #2f124e;
  border: 1px solid #8f58b4;
  border-radius: 10px;
  padding: 12px;
}
.side-box h4 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #ffd9a8;
}
.side-list { margin: 0; padding-left: 16px; }
.side-list li { margin-bottom: 6px; }
.side-list a { color: #ffe9cf; text-decoration: none; }
.side-list a:hover { text-decoration: underline; }
.side-newsletter input,
.side-newsletter button {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #8f58b4;
  padding: 9px 10px;
  margin-top: 8px;
}
.side-newsletter input { background: #24103d; color: #fff; }
.side-newsletter button {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.side-rss .rss-item h4 { font-size: 14px; }
.side-rss .rss-item p { font-size: 13px; }

@media (max-width: 980px) {
  .article-shell { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .header-row { align-items: flex-start; }
  .brand .title { font-size: 24px; line-height: 1.05; }
  .hero { padding: 22px 0; }
  .hero h1 { font-size: clamp(1.6rem, 9vw, 2.4rem); line-height: 1.08; }
  .guides-sidebar { width: 100%; }
  .sidebar-search { max-width: 100%; }
  .article-shell { gap: 14px; }
  .article-content { padding: 16px 14px; }
  .article-content p { font-size: 17px; line-height: 1.6; }
  .rss-unique .grid { grid-template-columns: 1fr; }
  .footer-links { gap: 18px; }
  .footer-links a { font-size: 14px; }
}

@media (max-width: 980px) {
  .guides-layout { grid-template-columns: 1fr; }
  .guides-sidebar .ad-slot { margin-left: auto; margin-right: auto; }
}
@media (max-width: 700px) {
  .guides-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .brand .title { font-size: 20px; }
  .theme-toggle { font-size: 12px; padding: 6px 8px; }
  .article-content p { font-size: 16px; }
  .footer-links a { font-size: 13px; }
}


/* thebaseballbash modern layout overrides */
:root {
  --brand: #e63946;
  --brand-dark: #b00020;
  --accent: #ffd166;
  --text: #f7f9ff;
  --muted: #cbd4f1;
}
.baseball-theme { background: radial-gradient(circle at 20% 0%, #173b76 0%, #0b2447 45%, #061325 100%); }
.baseball-theme .site-header { background: rgba(7, 21, 44, 0.85); backdrop-filter: blur(8px); border-bottom-color: #254a88; }
.top-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.top-nav a {
  color: #f6f7fb;
  border: 1px solid #365c98;
  background: rgba(255,255,255,0.05);
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.top-nav a:hover { border-color: #ffd166; color: #ffd166; text-decoration: none; }
.baseball-hero { position: relative; overflow: hidden; }
.baseball-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,209,102,0.18), transparent 45%); pointer-events: none; }
.hero-split { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: center; }
.hero-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #ffd166; margin: 0 0 8px; }
.hero-actions { margin-top: 18px; }
.hero-btn { display: inline-block; background: linear-gradient(90deg, #e63946, #ff6b6b); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.hero-panel { border: 1px solid #2f5694; border-radius: 14px; padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); }
.hero-panel h3 { margin-top: 0; color: #ffd166; }
.baseball-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.baseball-pill-row span { border: 1px solid #365c98; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.06); }
.baseball-feature-card { border: 1px solid #436fb4; box-shadow: 0 14px 26px rgba(0,0,0,0.3); }
.baseball-list-card { border: 1px solid #436fb4; background: linear-gradient(180deg, #173b76, #0b2447); }
.baseball-single-col { grid-template-columns: 1fr; }
.ticker__item::before { content: ''; margin: 0; }
.ticker__item { margin-right: 28px; }
.rss-sup { font-size: 10px; letter-spacing: .06em; color: #ffd166; margin-right: 4px; }
.footer-links a { font-size: 16px; }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
}

/* thebaseballbash premium theme v2 */
.baseball-theme {
  --brand: #f43f5e;
  --brand-dark: #be123c;
  --accent: #fbbf24;
  --text: #eaf2ff;
  --muted: #b7c6df;
  --surface: #0f1f3d;
  --border: #2a4c86;
  background:
    radial-gradient(1200px 560px at 78% -10%, rgba(255, 189, 46, 0.12), transparent 60%),
    radial-gradient(1000px 520px at -8% 25%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(800px 460px at 40% 120%, rgba(244, 63, 94, 0.10), transparent 60%),
    linear-gradient(180deg, #0a0f1f 0%, #0b1530 45%, #0a0f24 100%);
}
.baseball-theme {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}
.baseball-theme .brand .title,
.baseball-theme h1,
.baseball-theme h2,
.baseball-theme h3,
.baseball-theme .article-title {
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}
.baseball-theme .hero {
  border-bottom-color: #315a99;
  background:
    linear-gradient(110deg, rgba(11, 27, 53, 0.9), rgba(10, 24, 49, 0.72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 24px);
}
.baseball-theme .hero h1 {
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  color: #f7fbff;
}
.baseball-theme .hero-panel {
  border: 1px solid rgba(93, 146, 220, 0.55);
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* Distinct premium card layout */
.baseball-theme .blog-grid {
  grid-template-columns: minmax(0, 1fr);
}
.baseball-theme .baseball-feature-card {
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(94, 141, 214, 0.5);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 36%, rgba(244,63,94,0.08) 100%),
    #0f1f3d;
  box-shadow: 0 18px 36px rgba(0,0,0,.34);
  overflow: hidden;
  position: relative;
  padding: 22px 24px 22px 210px;
  min-height: 170px;
}
.baseball-theme .baseball-feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 180px;
  border-right: 1px solid rgba(251,191,36,0.3);
  background:
    radial-gradient(circle at 30% 30%, #fff 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, #f8fafc 0 25%, transparent 26%),
    radial-gradient(circle at 50% 50%, transparent 0 52%, rgba(193,18,31,0.9) 53% 56%, transparent 57%),
    radial-gradient(circle at 50% 50%, transparent 0 66%, rgba(193,18,31,0.88) 67% 70%, transparent 71%),
    linear-gradient(155deg, #10213f, #0d1b34);
  border-radius: 18px 0 0 18px;
}
.baseball-theme .baseball-feature-card > * {
  position: relative;
  z-index: 1;
}
.baseball-theme .baseball-feature-card .tag {
  margin-bottom: 10px;
}
.baseball-theme .baseball-feature-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1.2;
}

.baseball-theme .rss-unique .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.baseball-theme .rss-unique .card {
  border-radius: 16px;
  border: 1px solid rgba(86, 133, 206, 0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04)),
    linear-gradient(180deg, #122549, #0d1b35);
  box-shadow: 0 14px 28px rgba(0,0,0,0.3);
}
.baseball-theme .rss-item {
  border-bottom-color: rgba(150, 177, 220, 0.22);
}
.baseball-theme .rss-badge {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.baseball-theme .about-modern,
.baseball-theme .blog-listing-modern,
.baseball-theme .rss-unique {
  border-bottom-color: rgba(94, 140, 211, 0.33);
}
.baseball-theme .guide-list-modern li {
  border-color: rgba(86, 133, 206, 0.58);
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
}
.baseball-theme .site-footer {
  background: linear-gradient(180deg, #09172c, #060f1e);
  border-top-color: rgba(93, 139, 209, 0.45);
}

@media (max-width: 860px) {
  .baseball-theme .baseball-feature-card {
    padding: 158px 16px 18px 16px;
    min-height: 0;
  }
  .baseball-theme .baseball-feature-card::before {
    width: auto;
    right: 0;
    height: 136px;
    bottom: auto;
    border-bottom: 1px solid rgba(251,191,36,0.3);
    border-right: none;
    border-radius: 18px 18px 0 0;
  }
  .baseball-theme .rss-unique .grid {
    grid-template-columns: 1fr;
  }
}

/* Force premium background over legacy .home-dark skin */
body.home-dark.baseball-theme {
  --bg: #0a0f24;
  --bg-alt: #0c1a34;
  --surface: #0f2244;
  --border: #3f64a0;
  --text: #eaf2ff;
  --muted: #b7c6df;
  --brand: #f43f5e;
  --brand-dark: #be123c;
  --accent: #fbbf24;
  background-color: #0a0f24;
  background-image:
    radial-gradient(1200px 560px at 78% -10%, rgba(255, 189, 46, 0.12), transparent 60%),
    radial-gradient(1000px 520px at -8% 25%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(800px 460px at 40% 120%, rgba(244, 63, 94, 0.10), transparent 60%),
    linear-gradient(180deg, #0a0f1f 0%, #0b1530 45%, #0a0f24 100%);
}
body.home-dark.baseball-theme header.site-header {
  background: rgba(8, 20, 40, 0.92);
  border-bottom-color: rgba(96, 142, 211, 0.5);
}
body.home-dark.baseball-theme .hero {
  background:
    linear-gradient(110deg, rgba(11, 27, 53, 0.9), rgba(10, 24, 49, 0.72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 24px);
  border-bottom-color: rgba(96, 142, 211, 0.4);
}
body.home-dark.baseball-theme .card,
body.home-dark.baseball-theme .blog-card-modern,
body.home-dark.baseball-theme .sidebar-search,
body.home-dark.baseball-theme .side-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #11264b, #0c1c36);
  border-color: rgba(103, 148, 224, 0.5);
}
body.home-dark.baseball-theme .card p,
body.home-dark.baseball-theme .blog-card-modern p,
body.home-dark.baseball-theme .meta {
  color: #cfe0fb;
}
body.home-dark.baseball-theme .rss-unique .card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, #13284f, #0d1b35);
  border: 1px solid rgba(91, 141, 221, 0.55);
  box-shadow: 0 16px 30px rgba(3, 8, 20, 0.45);
}
body.home-dark.baseball-theme .rss-item {
  border-bottom-color: rgba(144, 173, 220, 0.24);
}
body.home-dark.baseball-theme .rss-item h4 {
  color: #f3f7ff;
}
body.home-dark.baseball-theme .rss-item p {
  color: #d3def3;
}
body.home-dark.baseball-theme .rss-item .meta {
  color: #9cb4df;
}
body.home-dark.baseball-theme .guide-list-modern li {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, #152d57, #0d1e3a);
  border: 1px solid rgba(92, 143, 223, 0.58);
  color: #e7efff;
}
body.home-dark.baseball-theme .guide-list-modern li a {
  color: #ffd166;
}
body.home-dark.baseball-theme .site-footer {
  background:
    radial-gradient(900px 220px at 50% -40%, rgba(255, 189, 46, 0.1), transparent 65%),
    linear-gradient(180deg, #091427, #070f1f);
  border-top-color: rgba(99, 145, 218, 0.45);
}
body.home-dark.baseball-theme .footer-brand {
  color: #f6f8ff;
  text-shadow: 0 2px 14px rgba(99, 102, 241, 0.26);
}
body.home-dark.baseball-theme .footer-subtitle {
  color: #c5d4f0;
}
body.home-dark.baseball-theme .footer-links a {
  color: #ffd166;
}
body.home-dark.baseball-theme .footer-copy {
  color: #9bb3de;
}

/* Unique footer design for thebaseballbash */
body.home-dark.baseball-theme .site-footer {
  position: relative;
  overflow: hidden;
  padding: 44px 0 26px;
  border-top: 1px solid rgba(122, 161, 225, 0.48);
  background:
    radial-gradient(900px 260px at 50% -35%, rgba(251, 191, 36, 0.16), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, #08152a 0%, #060d1b 100%);
}
body.home-dark.baseball-theme .site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #fbbf24 18%, #f43f5e 50%, #6366f1 82%, transparent 100%);
}
body.home-dark.baseball-theme .site-footer .container {
  max-width: 900px;
}
body.home-dark.baseball-theme .footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: #f7fbff;
  text-shadow: 0 10px 24px rgba(6, 10, 20, 0.55);
}
body.home-dark.baseball-theme .footer-brand::before,
body.home-dark.baseball-theme .footer-brand::after {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}
body.home-dark.baseball-theme .footer-subtitle {
  margin: 2px 0 0;
  color: #c7d8f6;
  font-size: 15px;
  letter-spacing: 0.02em;
}
body.home-dark.baseball-theme .footer-links {
  margin: 18px 0 14px;
  gap: 14px;
}
body.home-dark.baseball-theme .footer-links a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(113, 153, 220, 0.56);
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.04);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
body.home-dark.baseball-theme .footer-links a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.85);
  background: rgba(251, 191, 36, 0.12);
  color: #fff6db;
}
body.home-dark.baseball-theme .footer-copy {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93acd8;
}

/* Highlighted color fixes: ticker bar + featured card purple areas */
body.home-dark.baseball-theme .ticker-wrap {
  background: linear-gradient(90deg, #12264a, #0f213f);
  border-top: 1px solid rgba(98, 142, 210, 0.4);
  border-bottom: 1px solid rgba(98, 142, 210, 0.4);
}
body.home-dark.baseball-theme .ticker__item,
body.home-dark.baseball-theme .ticker__item a {
  color: #ffd166;
}
body.home-dark.baseball-theme .baseball-feature-card,
body.home-dark.baseball-theme .blog-card-modern.baseball-feature-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 38%, rgba(99,102,241,0.08) 100%),
    linear-gradient(180deg, #13284f, #0d1c38) !important;
  border-color: rgba(98, 142, 210, 0.62);
}

/* Unique RSS design for thebaseballbash (different from other themes) */
body.home-dark.baseball-theme .rss-unique .grid {
  grid-template-columns: 1fr;
  gap: 14px;
}
body.home-dark.baseball-theme .rss-unique .grid > div {
  display: block;
}
body.home-dark.baseball-theme .rss-unique .card {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(93, 141, 215, 0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #0f2244, #0a1831);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}
body.home-dark.baseball-theme .rss-unique .card::before {
  content: "";
  position: absolute;
  left: 220px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(251, 191, 36, 0.5), transparent);
}
body.home-dark.baseball-theme .rss-unique .card h3 {
  margin: 0;
  padding: 22px 18px;
  font-size: 1.05rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f4f8ff;
  background:
    radial-gradient(circle at 20% 10%, rgba(251,191,36,0.14), transparent 50%),
    linear-gradient(180deg, #11264b, #0d203f);
  border-right: 1px solid rgba(96, 142, 211, 0.35);
}
body.home-dark.baseball-theme .rss-badge {
  position: absolute;
  left: 14px;
  top: 12px;
  right: auto;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: .1em;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #111827;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}
body.home-dark.baseball-theme .rss-unique .card h3::before {
  display: none;
}
body.home-dark.baseball-theme .rss-unique .card > [id^="rss-"] {
  padding: 14px 18px;
}
body.home-dark.baseball-theme .rss-item {
  padding: 11px 0;
  border-bottom: 1px dashed rgba(147, 175, 221, 0.3);
}
body.home-dark.baseball-theme .rss-item:last-child {
  border-bottom: none;
}
body.home-dark.baseball-theme .rss-item h4 {
  font-size: 1.04rem;
  line-height: 1.38;
  color: #f6f9ff;
}
body.home-dark.baseball-theme .rss-item p {
  color: #c8d8f3;
}
body.home-dark.baseball-theme .rss-item .meta {
  color: #8fb1e8;
}

@media (max-width: 900px) {
  body.home-dark.baseball-theme .rss-unique .card {
    grid-template-columns: 1fr;
  }
  body.home-dark.baseball-theme .rss-unique .card::before {
    display: none;
  }
  body.home-dark.baseball-theme .rss-unique .card h3 {
    border-right: none;
    border-bottom: 1px solid rgba(96, 142, 211, 0.35);
    padding: 16px 14px;
  }
  body.home-dark.baseball-theme .rss-badge {
    top: 10px;
    right: 12px;
    left: auto;
  }
}

/* thebaseballbash unique "How to Use This Page" redesign */
body.home-dark.baseball-theme .guide-list-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 100%;
  margin-top: 16px;
  counter-reset: bashsteps;
}
body.home-dark.baseball-theme .guide-list-modern li {
  position: relative;
  margin: 0;
  min-height: 136px;
  padding: 56px 18px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(99, 145, 218, 0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03)),
    linear-gradient(180deg, #12274d, #0c1b34);
  box-shadow: 0 14px 28px rgba(3, 8, 20, 0.32);
  display: flex;
  align-items: flex-start;
  font-size: 1.06rem;
  line-height: 1.45;
}
body.home-dark.baseball-theme .guide-list-modern li::before {
  counter-increment: bashsteps;
  content: "STEP " counter(bashsteps);
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 800;
  color: #111827;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 999px;
  padding: 6px 11px;
  box-shadow: 0 8px 16px rgba(251, 191, 36, 0.26);
}
body.home-dark.baseball-theme .guide-list-modern li::after {
  display: none;
}
body.home-dark.baseball-theme .guide-list-modern li a {
  color: #ffd166;
  font-weight: 700;
}
body.home-dark.baseball-theme .guide-list-modern li:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 164, 228, 0.75);
  box-shadow: 0 20px 34px rgba(2, 7, 17, 0.38);
}

@media (max-width: 980px) {
  body.home-dark.baseball-theme .guide-list-modern {
    grid-template-columns: 1fr;
  }
  body.home-dark.baseball-theme .guide-list-modern li {
    min-height: 0;
    padding-top: 54px;
  }
}

/* =============================
   thebaseballbash premium article layout
   ============================= */
body.home-dark.baseball-theme.article-page .hero {
  padding: 18px 0 12px;
  background:
    linear-gradient(110deg, rgba(11, 27, 53, 0.92), rgba(9, 20, 40, 0.72)),
    radial-gradient(900px 260px at 85% -45%, rgba(251,191,36,0.14), transparent 60%);
  border-bottom: 1px solid rgba(96, 142, 211, 0.45);
}
body.home-dark.baseball-theme.article-page .article-breadcrumb {
  color: #a9c3ef;
}
body.home-dark.baseball-theme.article-page .article-title {
  color: #f7fbff;
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
}
body.home-dark.baseball-theme .article-shell {
  display: grid;
  grid-template-columns: minmax(0, 740px) 320px;
  gap: 24px;
  align-items: start;
}
body.home-dark.baseball-theme .article-main { min-width: 0; }
body.home-dark.baseball-theme .article-feature {
  border: 1px solid rgba(115, 158, 228, 0.5);
  border-radius: 14px;
  margin: 0 0 18px;
  box-shadow: 0 18px 32px rgba(3, 8, 20, 0.35);
}
body.home-dark.baseball-theme .article-content {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #11264b, #0c1c36);
  border: 1px solid rgba(103, 148, 224, 0.5);
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: 0 18px 36px rgba(2, 7, 17, 0.36);
}
body.home-dark.baseball-theme .article-content p {
  color: #e9f1ff;
  font-size: 19px;
  line-height: 1.75;
}
body.home-dark.baseball-theme .article-content h3 {
  color: #ffedc2;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  margin: 26px 0 10px;
}
body.home-dark.baseball-theme .article-content blockquote {
  border-left: 0;
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(251, 191, 36, 0.1);
  color: #fff7db;
  font-style: normal;
  font-weight: 600;
}
body.home-dark.baseball-theme .article-side {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
}
body.home-dark.baseball-theme .side-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #0f2244, #0a1831);
  border: 1px solid rgba(103, 148, 224, 0.5);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(2,7,17,0.32);
}
body.home-dark.baseball-theme .side-box h4 {
  color: #ffd166;
  letter-spacing: .08em;
}
body.home-dark.baseball-theme .side-list a { color: #eaf2ff; }
body.home-dark.baseball-theme .side-list a:hover { color: #ffd166; }
body.home-dark.baseball-theme .ad-slot#ad-300x250,
body.home-dark.baseball-theme .ad-slot#ad-160x600 {
  border-color: rgba(103, 148, 224, 0.35);
  background: rgba(255,255,255,0.03);
}
@media (max-width: 980px) {
  body.home-dark.baseball-theme .article-shell {
    grid-template-columns: 1fr;
  }
  body.home-dark.baseball-theme .article-side { position: static; }
}

/* Sidebar: make Categories and Popular different and premium */
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(1) {
  /* Categories → chips */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #0f2447, #0b1b35);
  border: 1px solid rgba(120, 164, 234, 0.55);
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(1) .side-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(1) .side-list li {
  margin: 0;
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(1) .side-list a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(121, 164, 236, 0.55);
  background: rgba(255,255,255,0.05);
  color: #eaf2ff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .04em;
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(1) .side-list a:hover {
  border-color: rgba(251, 191, 36, 0.85);
  background: rgba(251, 191, 36, 0.14);
  color: #fff6db;
}

body.home-dark.baseball-theme .article-side .side-box:nth-of-type(2) {
  /* Popular → mini link cards */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #101f3f, #0b1830);
  border: 1px solid rgba(110, 155, 229, 0.5);
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(2) .side-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(2) .side-list li {
  margin: 0 0 8px 0;
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(2) .side-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(108, 152, 226, 0.45);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  color: #eaf2ff;
  text-decoration: none;
  position: relative;
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(2) .side-list a::after {
  content: "→";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffd166;
  font-weight: 800;
}
body.home-dark.baseball-theme .article-side .side-box:nth-of-type(2) .side-list a:hover {
  border-color: rgba(251, 191, 36, 0.85);
  color: #fff6db;
}

/* Local unbroken baseball imagery */
body.home-dark.baseball-theme .hero {
  background:
    linear-gradient(110deg, rgba(11, 27, 53, 0.82), rgba(10, 24, 49, 0.72)),
    url("../images/hero-baseball.svg"),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 24px);
  background-size: cover, cover, auto;
  background-position: center, center, center;
}
body.home-dark.baseball-theme .hero .container {
  position: relative;
  z-index: 1;
}
.baseball-theme .section-image,
.baseball-theme .card-image,
.baseball-theme .article-inline-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(110, 154, 226, 0.52);
  box-shadow: 0 14px 30px rgba(2, 7, 18, 0.34);
}
.baseball-theme .section-image {
  margin: 12px 0 8px;
  max-height: 220px;
  object-fit: contain;
  object-position: center center;
  opacity: 0.92;
  background: linear-gradient(180deg, rgba(10,24,49,0.75), rgba(10,24,49,0.55));
}
.baseball-theme .card-image {
  margin: 0 0 14px;
  max-height: 230px;
  object-fit: cover;
  object-position: center;
}
.baseball-theme .baseball-feature-card .card-image {
  display: none;
}
body.home-dark.baseball-theme .article-inline-image {
  margin: 4px 0 16px;
}
