/*
Theme Name: The Hog Call — Press Box
Theme URI: https://thehogcall.com
Author: The Hog Call
Author URI: https://thehogcall.com
Description: ESPN-style newsroom for TheHogCall.com. Featured lead, stacked desk, live scoreboard, and 2026 schedule rail. SEO-ready WordPress theme for Arkansas Razorback football, basketball, and baseball.
Version: 4.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thehogcall
Tags: sports, news, blog, custom-logo, featured-images, threaded-comments, translation-ready
*/

.thc-pressbox {
  --thc-bg: #f3efe8;
  --thc-paper: #fffdf8;
  --thc-ink: #161214;
  --thc-muted: #6a5f5c;
  --thc-cardinal: #9d2235;
  --thc-line: #e4d8cf;
  --thc-header: #fffdf8;
  --thc-header-ink: #161214;
  --thc-footer: #1a1214;
  --thc-footer-ink: #f4efe8;
  --thc-footer-muted: #b9aaa6;
  --thc-display: "Barlow Condensed", Impact, sans-serif;
  --thc-body: "Source Sans 3", system-ui, sans-serif;
}

.thc-pressbox .pb-hero {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; padding: 28px 0 8px;
}
.thc-pressbox .pb-lead h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.thc-pressbox .pb-lead .thc-card-media { aspect-ratio: 16/9; margin-bottom: 14px; }
.thc-pressbox .pb-stack { border-left: 3px solid var(--thc-cardinal); padding-left: 18px; }
.thc-pressbox .pb-stack-item { padding: 14px 0; border-bottom: 1px solid var(--thc-line); }
.thc-pressbox .pb-scores {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  width: min(1180px, calc(100% - 40px)); margin: 16px auto 8px;
}
.thc-pressbox .thc-score {
  background: #fff; border: 1px solid var(--thc-line); padding: 12px 14px;
}
.thc-pressbox .thc-score span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--thc-muted); }
.thc-pressbox .thc-score strong { display: block; font-family: var(--thc-display); font-size: 1.4rem; }
.thc-pressbox .thc-score.is-next { background: var(--thc-cardinal); color: #fff; border-color: var(--thc-cardinal); }
.thc-pressbox .thc-score.is-next span { color: #ffd7dc; }
.thc-pressbox .pb-lower { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 28px; padding: 24px 0 48px; }
.thc-pressbox .pb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.thc-pressbox .thc-rail h2 { font-size: 1.4rem; }

@media (max-width: 880px) {
  .thc-pressbox .pb-hero, .thc-pressbox .pb-lower, .thc-pressbox .pb-scores, .thc-pressbox .pb-grid { grid-template-columns: 1fr; }
}
/* Shared structural CSS — themed via body.thc-{slug} variables */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100%; background: var(--thc-bg); color: var(--thc-ink); font-family: var(--thc-body); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
.thc-lockup-mark, .barn-mark, .sooie-mark { object-fit: cover; object-position: center; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--thc-cardinal); }
h1, h2, h3, h4 { font-family: var(--thc-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.4em; }
p { margin: 0 0 0.8em; }
.skip-link { position: absolute; left: -999px; top: 8px; }
.skip-link:focus { left: 12px; z-index: 100; background: #fff; color: #111; padding: 8px 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.thc-drawer[hidden] { display: none !important; }

.thc-ticker {
  display: flex; align-items: center; gap: 12px;
  background: var(--thc-cardinal); color: #fff;
  overflow: hidden; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; height: 36px; padding: 0 16px;
}
.thc-ticker-label {
  flex: none; background: #fff; color: var(--thc-cardinal);
  padding: 2px 8px; border-radius: 2px;
}
.thc-ticker-track { overflow: hidden; flex: 1; }
.thc-ticker-track p { width: max-content; animation: thc-marquee 38s linear infinite; margin: 0; }
@keyframes thc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.thc-top {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 24px; background: var(--thc-header); color: var(--thc-header-ink);
  border-bottom: 3px solid var(--thc-cardinal); position: sticky; top: 0; z-index: 40;
}
.thc-lockup { display: flex; align-items: center; gap: 12px; min-width: 0; }
.thc-lockup-mark {
  width: 56px; height: 56px; object-fit: cover; border-radius: 50%;
  background: #fff; border: 2px solid var(--thc-cardinal);
}
.thc-lockup-name { display: block; font-family: var(--thc-display); font-size: 1.35rem; letter-spacing: 0.02em; text-transform: uppercase; }
.thc-lockup-sub { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }
.thc-nav { display: flex; gap: 18px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.thc-nav a:hover { color: var(--thc-cardinal); }
.thc-menu-btn {
  display: none; background: var(--thc-cardinal); color: #fff; border: 0;
  padding: 8px 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
.thc-drawer { background: var(--thc-header); padding: 12px 24px; border-bottom: 1px solid var(--thc-line); }
.thc-drawer .thc-nav { flex-direction: column; gap: 10px; }

.thc-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.thc-kicker {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--thc-cardinal); margin-bottom: 6px;
}
.thc-dek { color: var(--thc-muted); font-size: 0.98rem; }
.thc-meta, .thc-byline { color: var(--thc-muted); font-size: 13px; }
.thc-byline { display: flex; gap: 16px; margin: 8px 0 18px; }

.thc-card { background: var(--thc-paper); border: 1px solid var(--thc-line); overflow: hidden; }
.thc-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #1a1a1a; }
.thc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.thc-card-body { padding: 14px 16px 18px; }
.thc-card h3 { font-size: 1.15rem; }

.thc-section-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px 24px 48px; }
.thc-section-head { width: min(1180px, calc(100% - 40px)); margin: 28px auto 0; }
.thc-article { width: min(760px, calc(100% - 40px)); margin: 32px auto 64px; }
.thc-article h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.thc-article-hero { width: 100%; margin: 8px 0 22px; border-radius: 4px; }
.thc-article p { font-size: 1.08rem; }

.thc-footer { background: var(--thc-footer); color: var(--thc-footer-ink); padding: 40px 24px 24px; margin-top: 48px; }
.thc-footer-grid { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.thc-footer-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--thc-cardinal); font-weight: 800; }
.thc-footer .thc-nav { flex-direction: column; gap: 8px; }
.thc-footer a { display: block; margin-bottom: 6px; }
.thc-footer-blurb { color: var(--thc-footer-muted); max-width: 36ch; }
.thc-legal { width: min(1180px, 100%); margin: 28px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: var(--thc-footer-muted); }

.thc-sched { width: 100%; border-collapse: collapse; font-size: 13px; }
.thc-sched td { padding: 8px 6px; border-bottom: 1px solid var(--thc-line); }
.thc-sched td:last-child { text-align: right; font-weight: 700; }
.thc-howto { background: var(--thc-cardinal); color: #fff; padding: 20px; margin-top: 20px; }
.thc-howto .thc-kicker, .thc-howto h2 { color: #fff; }
.thc-howto ol { margin: 0; padding-left: 18px; }

.thc-search { display: flex; gap: 8px; margin-top: 16px; }
.thc-search input { flex: 1; padding: 10px 12px; border: 1px solid var(--thc-line); background: var(--thc-paper); color: var(--thc-ink); }
.thc-search button { background: var(--thc-cardinal); color: #fff; border: 0; padding: 10px 16px; font-weight: 700; }

@media (max-width: 880px) {
  .thc-nav { display: none; }
  .thc-menu-btn { display: inline-block; }
  .thc-section-grid, .thc-footer-grid { grid-template-columns: 1fr; }
  .thc-top { padding: 10px 14px; }
  .thc-lockup-mark { width: 44px; height: 44px; }
}

/* Gizmo desktop readability 2026-09-19 */
@media (min-width: 782px) {
      body {
              font-size: 18px;
                  line-height: 1.65;
      }
      
        .thc-dek,
          .thc-meta,
            .thc-byline {
                    color: #222 !important;
            }
            
              .thc-dek {
                      font-size: 18px;
                          line-height: 1.65;
              }
              
                .thc-meta,
                  .thc-byline {
                          font-size: 15px;
                              line-height: 1.5;
                  }
                  
                    .thc-nav {
                            font-size: 14px;
                    }
                    
                      .thc-ticker {
                              font-size: 14px;
                      }
                      
                        .thc-ticker-label,
                          .thc-kicker,
                            .thc-footer-label {
                                    font-size: 12px;
                            }
                            
                              .thc-rail h2,
                                .thc-rail h3 {
                                        font-size: 1.12em;
                                            line-height: 1.25;
                                }
}
