/*
 * Sportz Dealz - Field Day look for SportsDealz. Version 0.1.0 (2026-11-07)
 * Same tokens as SportsCalz (design v0.6 section 19) with the SportsDealz
 * accent, ticket red #B3121F. No team logos; teams get a stripe in their colors.
 */
:root {
	--sd-ink: #13201a;
	--sd-muted: #4b5a52;
	--sd-panel: #fbf0f0; /* 0.1.1: light ticket-red tint, the SportsDealz counterpart to SportsCalz's #f2f5f3 */
	--sd-line: #ecd6d7;
	--sd-accent: #b3121f;
	--sd-accent-dark: #8c0e18;
	--sd-radius: 14px;
	--sd-font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body, button, input, select, textarea { font-family: var(--sd-font); color: var(--sd-ink); }
h1, h2, h3, h4, h5, h6, .entry-title, .site-title { font-family: var(--sd-font); font-weight: 800; color: var(--sd-ink); letter-spacing: -0.01em; }
a { color: var(--sd-accent); }
a:hover, a:focus { color: var(--sd-accent-dark); }
body .wp-block-button__link, body .wp-element-button { background: var(--sd-accent); color: #fff; border: 2px solid var(--sd-accent); border-radius: 999px; font-weight: 600; padding: 0.7em 1.4em; text-decoration: none; }
body .wp-block-button__link:hover, body .wp-element-button:hover { background: var(--sd-accent-dark); border-color: var(--sd-accent-dark); color: #fff; }
.sd-wordmark-accent { color: var(--sd-accent); }
.sd-wordmark-icon { width: 48px; height: 48px; vertical-align: middle; margin-right: 8px; }
.site-title a { font-weight: 800; color: var(--sd-ink); }
@media (max-width: 600px) { .sd-wordmark-icon { width: 40px; height: 40px; } }

.sd-placeholder { margin: 0 0 20px; padding: 12px 16px; background: #fff8e1; border: 2px dashed #c99a00; border-radius: var(--sd-radius); color: #5c4700; font-size: 0.95rem; }
.sd-stripe { height: 10px; border-radius: 999px; margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(19, 32, 26, 0.25); }
.sd-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; color: var(--sd-muted); margin: 0 0 4px; }
.sd-fineprint { font-size: 0.85rem; color: var(--sd-muted); margin: 12px 0 0; }

.sd-btn { box-sizing: border-box; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--sd-accent); background: #fff; color: var(--sd-accent); font: 600 1rem/1.15 var(--sd-font); text-decoration: none !important; }
.sd-btn:hover, .sd-btn:focus { background: var(--sd-panel); color: var(--sd-accent-dark); }
.sd-btn--primary, .sd-btn--primary:hover, .sd-btn--primary:focus { background: var(--sd-accent); color: #fff; }
.sd-btn--primary:hover { background: var(--sd-accent-dark); border-color: var(--sd-accent-dark); }

/* Team header */
.sd-team-header { margin: 0 0 24px; }
.sd-team-header__meta { margin: 4px 0 12px; color: var(--sd-muted); }
.sd-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-jump a { padding: 6px 14px; border: 1px solid var(--sd-line); border-radius: 999px; color: var(--sd-ink); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.sd-jump a:hover { background: var(--sd-panel); }

/* Next game box */
.sd-next { background: var(--sd-panel); border: 1px solid var(--sd-line); border-top: 6px solid var(--sd-accent); border-radius: var(--sd-radius); padding: 18px 20px; margin: 0 0 32px; }
.sd-next__title { margin: 0 0 6px; font-size: 1.4rem; }
.sd-next__last { margin: 0 0 14px; color: var(--sd-muted); }
.sd-next__matchup { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; margin: 0 0 14px; }
.sd-next__team .sd-stripe { margin-bottom: 8px; }
.sd-next__name { display: block; font-weight: 800; font-size: 1.35rem; color: var(--sd-ink); text-decoration: none; }
.sd-next__rec { display: block; color: var(--sd-muted); font-size: 0.95rem; }
.sd-next__vs { font-weight: 800; color: var(--sd-muted); padding-bottom: 18px; }
.sd-next__facts { list-style: none; margin: 0 0 16px; padding: 0; }
.sd-next__facts li { padding: 8px 0; border-top: 1px solid var(--sd-line); }
.sd-next__facts li span { display: inline-block; min-width: 7.5em; font-weight: 600; color: var(--sd-muted); }
.sd-next__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* Deals */
.sd-deals { margin: 0 0 32px; }
.sd-deals__type { margin: 22px 0 10px; font-size: 1.15rem; }
.sd-deals__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sd-deal { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); background: #fff; }
.sd-deal__title { margin: 0; font-size: 1.05rem; }
.sd-deal__blurb { margin: 0; color: var(--sd-muted); }
.sd-deal .sd-btn { margin-top: auto; align-self: flex-start; }
.sd-coupon { margin: 4px 0; }
.sd-coupon span { font-weight: 600; color: var(--sd-muted); }
.sd-coupon code { padding: 2px 8px; border: 1px dashed var(--sd-accent); border-radius: 6px; background: #fff5f5; font-weight: 700; }

/* Calendar callout */
.sd-callout { margin: 0 0 32px; padding: 16px 18px; border: 1px solid var(--sd-line); border-left: 6px solid #0b6e4f; border-radius: var(--sd-radius); background: #fff; }
.sd-callout__title { font-weight: 800; font-size: 1.15rem; margin: 0 0 4px; }
.sd-callout .sd-btn--primary { background: #0b6e4f; border-color: #0b6e4f; }
.sd-callout .sd-btn--primary:hover { background: #08573e; border-color: #08573e; }

/* Schedule */
.sd-schedule { margin: 0 0 32px; }
.sd-table-wrap { overflow-x: auto; }
.sd-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.sd-table th { text-align: left; font-weight: 600; color: var(--sd-muted); border-bottom: 2px solid var(--sd-line); padding: 8px 6px; }
.sd-table td { border-bottom: 1px solid var(--sd-line); padding: 8px 6px; vertical-align: top; }
.sd-res--w { color: #0b6e4f; }
.sd-res--l { color: var(--sd-accent); }

/* Stadium */
.sd-stadium { margin: 0 0 24px; }

/* Team grid: same look as the SportsCalz grid (sportz.css). One panel per division,
   four across on desktop so the eight NFL divisions sit in two rows of four. */
.sd-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0 0 24px; }
@media (min-width: 600px) { .sd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sd-grid { grid-template-columns: repeat(4, 1fr); } }
.sd-grid__division { background: var(--sd-panel); border-radius: var(--sd-radius); padding: 14px 16px; }
.sd-grid__label { font-weight: 800; margin: 0 0 8px; }
.entry-content .sd-grid ul, .sd-grid ul { list-style: none; margin: 0; padding: 0; }
.sd-grid li { margin: 0; }
.sd-grid__team { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--sd-ink); text-decoration: none; font-weight: 600; }
.sd-grid__team:hover { color: var(--sd-accent); }
.sd-swatch { width: 18px; height: 18px; border-radius: 50%; border: 3px solid; flex: none; box-shadow: 0 0 0 1px #13201a; }

/* Astra indents lists inside page content; these lists are not indented. */
.entry-content ul.sd-next__facts { margin-left: 0; padding-left: 0; }

/* 0.2.0: home hero and league cards */
.sd-hero { background: var(--sd-panel); border-radius: var(--sd-radius); padding: 36px 32px; margin: 0 0 28px; border-top: 6px solid var(--sd-accent); }
.sd-hero__title { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; margin: 0 0 12px; }
.sd-hero__lead { font-size: 1.1rem; max-width: 46em; color: var(--sd-ink); margin: 0 0 20px; }
.sd-hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-leagues { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0 0 28px; }
@media (min-width: 600px) { .sd-leagues { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sd-leagues { grid-template-columns: repeat(4, 1fr); } }
.sd-league { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); background: #fff; color: var(--sd-ink); text-decoration: none !important; }
.sd-league:hover { border-color: var(--sd-accent); box-shadow: 0 2px 10px rgba(179, 18, 31, 0.12); }
.sd-league__name { font-weight: 800; font-size: 1.3rem; }
.sd-league__count { font-weight: 600; color: var(--sd-accent); }
.sd-league__text { color: var(--sd-muted); font-size: 0.95rem; }
.sd-callout--red { border-left-color: var(--sd-accent); }
.sd-callout--red .sd-btn--primary { background: var(--sd-accent); border-color: var(--sd-accent); }
.sd-callout .sd-btn { margin: 6px 6px 0 0; }

/* 0.2.0: history, stadium photo, buying lead-in */
.sd-history, .sd-buying { margin: 0 0 32px; }
.sd-stadium__photo { margin: 0 0 14px; }
.sd-stadium__photo img { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--sd-radius); }
.sd-stadium__photo figcaption { font-size: 0.8rem; color: var(--sd-muted); margin-top: 6px; }
.sd-stadium__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.sd-stadium h3 { font-size: 1.1rem; margin: 18px 0 6px; }
.sd-table small { color: var(--sd-muted); }

/* Team names in the grid all underlined, as on SportsCalz. */
.sd-grid__team { text-decoration: underline !important; text-underline-offset: 2px; }

@media (max-width: 600px) {
	.sd-next { padding: 14px; }
	.sd-next__name { font-size: 1.1rem; }
	.sd-next__buttons .sd-btn { flex: 1 1 100%; }
	.sd-table .sd-col-tv { display: none; }
	.sd-tix-table th:nth-child(3), .sd-tix-table td:nth-child(3), .sd-tix-table th:nth-child(4), .sd-tix-table td:nth-child(4) { display: none; }
}

/* 0.5.0: memorabilia shelf */
/* 0.7.0: whole rows only - 2 across on a phone, 3 on a tablet, 6 on a desktop. The shelf shows 12 or 6 items, gear shows 6. */
.sd-shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0 14px; }
@media (min-width: 640px) { .sd-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sd-shelf { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sd-product { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); background: #fff; }
.sd-product__img { display: block; aspect-ratio: 1 / 1; background: #fff; border-radius: calc(var(--sd-radius) / 2); overflow: hidden; }
.sd-product__img img { width: 100%; height: 100%; object-fit: contain; }
.sd-product .sd-eyebrow { margin: 4px 0 0; }
.sd-product__title { margin: 0; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sd-product__price { margin: 0; font-weight: 700; }
.sd-product .sd-btn { margin-top: auto; align-self: stretch; text-align: center; }
.sd-shelf__more { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-buying__guide { margin: 22px 0 8px; font-size: 1.15rem; }
/* 0.6.0: schedule pager buttons */
.sd-pager__btn { margin: 10px 0; cursor: pointer; }
/* 0.6.0: the team shop leads the team page */
.sd-deals__grid--shop { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sd-deal--shop { border-top: 6px solid var(--sd-accent); padding: 18px 20px; gap: 8px; }
.sd-deal--shop .sd-deal__title { font-size: 1.25rem; }
.sd-deal--shop .sd-btn { align-self: stretch; }
.sd-deals .sd-disclosure { margin-top: -4px; }

/* 0.8.0: where to watch in the Next game box */
.sd-next__note { color: var(--sd-muted); font-size: 0.9em; }

/* 0.10.0: Sportz Network bar. The same rules ship in Sportz Data for SportsCalz. */
.sz-netbar { background: #13201a; color: #fff; font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 13px; line-height: 1.2; }
.sz-netbar__in { max-width: 1240px; margin: 0 auto; padding: 7px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.sz-netbar__name { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; color: #c9d3cd; }
.sz-netbar a.sz-netbar__site, .sz-netbar a.sz-netbar__site:visited { color: #fff; text-decoration: none; font-weight: 600; padding: 2px 0; border-bottom: 2px solid transparent; }
.sz-netbar a.sz-netbar__site:hover, .sz-netbar a.sz-netbar__site:focus { color: #fff; border-bottom-color: #c9d3cd; }
.sz-netbar a.sz-netbar__site.is-here { border-bottom-color: #fff; }
.sz-netbar__what { font-weight: 400; color: #c9d3cd; }
@media (max-width: 767px) { .sz-netbar__what { display: none; } .sz-netbar__in { padding: 7px 16px; gap: 4px 14px; } }
@media (max-width: 420px) { .sz-netbar__name { display: none; } }

/* 0.13.0: Tickets column and the Tickets page */
.sd-table .sd-col-tix { text-align: right; white-space: nowrap; }
.sd-tix { display: inline-block; padding: 5px 12px; border: 2px solid var(--sd-accent); border-radius: 999px; color: var(--sd-accent); font-weight: 700; font-size: 0.85rem; line-height: 1.2; text-decoration: none !important; }
.sd-tix:hover, .sd-tix:focus { background: var(--sd-accent); color: #fff; }
.sd-tix-list__controls { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.sd-tix-list__search { box-sizing: border-box; width: 100%; max-width: 420px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--sd-line); border-radius: 999px; font: 1rem var(--sd-font); }
.sd-tix-list__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-pill { min-height: 36px; padding: 0 14px; border: 1px solid var(--sd-line); border-radius: 999px; background: #fff; color: var(--sd-ink, #13201a); font: 600 0.9rem var(--sd-font); cursor: pointer; }
.sd-pill.is-on { background: var(--sd-accent); border-color: var(--sd-accent); color: #fff; }
.sd-tix-list__count { margin: 0; color: var(--sd-muted); font-size: 0.9rem; }
