/*
 Theme Name:   ALPHA Sports Theme
 Theme URI:    https://thealphasports.com
 Description:  Dark-mode child theme for The ALPHA Podcast / ALPHA Sports Media. Built on GeneratePress.
 Author:       ALPHA Sports Media
 Author URI:   https://thealphasports.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  alpha-theme
*/

/* ============================================
   ALPHA Sports Media — Brand CSS
   Dark-mode-first, bold sports media aesthetic
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --alpha-red: #D42027;
  --alpha-red-hover: #B01B21;
  --alpha-near-black: #0D0D0D;
  --alpha-white: #FFFFFF;
  --alpha-dark-surface: #1A1A1A;
  --alpha-text-on-dark: #E8E8E8;
  --alpha-border-subtle: #2A2A2A;
  --alpha-text-muted: #999999;
  --alpha-card-shadow: 0 4px 20px rgba(0,0,0,0.3);

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === GLOBAL RESET & DARK BACKGROUND === */
html {
  background-color: var(--alpha-near-black) !important;
  scroll-behavior: smooth;
}

body {
  background-color: var(--alpha-near-black) !important;
  color: var(--alpha-text-on-dark) !important;
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force dark on all WordPress/GP wrappers */
#page, #content, .site, .site-content,
.inside-article, .entry-content,
main, article, section,
.generate-columns-container,
.wp-block-group, .wp-block-cover,
.gb-container {
  background-color: var(--alpha-near-black) !important;
  color: var(--alpha-text-on-dark);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .site-title {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  color: var(--alpha-white) !important;
  line-height: 1.2;
}

h1, h2 { text-transform: uppercase; letter-spacing: 2px; }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 700; }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(18px, 2.5vw, 22px); }

p, li, span, div, td, th, label, blockquote {
  color: var(--alpha-text-on-dark);
}

/* === LINKS === */
a {
  color: var(--alpha-red);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: var(--alpha-red-hover);
  text-decoration: underline;
}

/* === BUTTONS === */
.alpha-btn, .alpha-btn-primary,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  display: inline-block;
  background-color: var(--alpha-red) !important;
  color: var(--alpha-white) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 32px;
  border: 2px solid var(--alpha-red) !important;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none !important;
  min-height: 44px; /* Touch target */
  line-height: 1.4;
}
.alpha-btn:hover, .alpha-btn-primary:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--alpha-red-hover) !important;
  border-color: var(--alpha-red-hover) !important;
  color: var(--alpha-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 32, 39, 0.3);
}

/* Ghost / outline button */
.alpha-btn-ghost {
  background: transparent !important;
  color: var(--alpha-white) !important;
  border: 2px solid var(--alpha-white) !important;
}
.alpha-btn-ghost:hover {
  background: var(--alpha-white) !important;
  color: var(--alpha-near-black) !important;
}

/* Secondary / subtle button */
.alpha-btn-secondary {
  background: var(--alpha-dark-surface) !important;
  color: var(--alpha-white) !important;
  border: 2px solid var(--alpha-border-subtle) !important;
}
.alpha-btn-secondary:hover {
  border-color: var(--alpha-red) !important;
  color: var(--alpha-red) !important;
}

/* === CARDS === */
.alpha-card {
  background: var(--alpha-dark-surface);
  border: 1px solid var(--alpha-border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.alpha-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 20px rgba(212, 32, 39, 0.1);
  border-color: rgba(212, 32, 39, 0.3);
}
.alpha-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.alpha-card-body {
  padding: 20px 24px;
}
.alpha-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--alpha-white);
  margin-bottom: 8px;
}
.alpha-card-meta {
  font-size: 13px;
  color: var(--alpha-text-muted);
  margin-bottom: 12px;
}
.alpha-card-excerpt {
  font-size: 15px;
  color: var(--alpha-text-on-dark);
  line-height: 1.6;
}

/* === HEADER / NAV === */
.site-header, #masthead,
.main-navigation, .main-navigation ul,
nav.main-navigation,
.navigation-search,
#site-navigation {
  background-color: var(--alpha-near-black) !important;
  border-bottom: none !important;
}

.main-navigation a,
.main-navigation .menu-item > a,
.menu-toggle {
  color: var(--alpha-white) !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: color 0.2s ease;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
  color: var(--alpha-red) !important;
}

/* Dropdown menus */
.main-navigation ul ul,
.main-navigation .sub-menu {
  background-color: var(--alpha-dark-surface) !important;
  border: 1px solid var(--alpha-border-subtle) !important;
  border-radius: 8px;
  box-shadow: var(--alpha-card-shadow);
}
.main-navigation ul ul a {
  color: var(--alpha-text-on-dark) !important;
  font-size: 12px !important;
}
.main-navigation ul ul a:hover {
  color: var(--alpha-red) !important;
  background: rgba(212, 32, 39, 0.1) !important;
}

/* Site title / logo */
.site-title a, .site-branding a {
  color: var(--alpha-white) !important;
}

/* Custom logo sizing — constrain the header logo */
.custom-logo,
.header-image.is-logo-image,
.site-branding img,
.site-logo img,
img.header-image,
img.is-logo-image {
  max-height: 150px !important;
  width: auto !important;
  max-width: 500px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Hide site title text next to logo */
.site-title,
.site-branding .main-title,
.site-branding .site-title {
  display: none !important;
}

/* === MOBILE NAV === */
@media (max-width: 768px) {
  .menu-toggle,
  .menu-toggle:hover,
  .menu-toggle:focus {
    color: var(--alpha-white) !important;
    background: transparent !important;
  }

  .main-navigation.toggled .main-nav > ul,
  .main-navigation .main-nav > ul,
  .sidebar-nav-mobile .main-nav > ul {
    background-color: var(--alpha-near-black) !important;
  }

  .main-navigation.toggled a,
  .main-navigation .main-nav a {
    padding: 14px 20px !important;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* === FOOTER === */
.site-footer, #colophon, footer,
.footer-widgets, .site-info,
.inside-site-info {
  background-color: var(--alpha-near-black) !important;
  color: var(--alpha-text-muted) !important;
  border-top: none !important;
}
.site-footer a, .site-info a {
  color: var(--alpha-red) !important;
}
.site-footer a:hover, .site-info a:hover {
  color: var(--alpha-white) !important;
}

/* === FORMS (dark inputs) === */
input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
input[type="tel"], textarea, select {
  background-color: var(--alpha-dark-surface) !important;
  color: var(--alpha-text-on-dark) !important;
  border: 1px solid var(--alpha-border-subtle) !important;
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--alpha-red) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 32, 39, 0.15);
}
::placeholder {
  color: var(--alpha-text-muted) !important;
}

/* === WOOCOMMERCE DARK === */
.woocommerce-page, .woocommerce,
.woocommerce table, .woocommerce td, .woocommerce th,
.woocommerce .product, .woocommerce .products,
.woocommerce-cart, .woocommerce-checkout,
.woocommerce ul.products li.product {
  background-color: var(--alpha-near-black) !important;
  color: var(--alpha-text-on-dark) !important;
}
.woocommerce ul.products li.product {
  background: var(--alpha-dark-surface) !important;
  border: 1px solid var(--alpha-border-subtle);
  border-radius: 12px;
  overflow: hidden;
  padding: 0 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.woocommerce ul.products li.product:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--alpha-white) !important;
  font-family: var(--font-heading) !important;
}
.woocommerce ul.products li.product .price {
  color: var(--alpha-red) !important;
}

/* === BLOG CARDS GRID === */
.alpha-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .alpha-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .alpha-blog-grid { grid-template-columns: 1fr; }
}

/* === EPISODE EMBED CONTAINERS === */
.alpha-embed-container {
  background: var(--alpha-dark-surface);
  border: 1px solid var(--alpha-border-subtle);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.alpha-embed-container .embed-label {
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--alpha-white);
  border-bottom: 1px solid var(--alpha-border-subtle);
}
.alpha-embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.alpha-embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === COMING SOON CARDS === */
.alpha-coming-soon {
  background: var(--alpha-dark-surface);
  border: 2px dashed var(--alpha-border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  transition: border-color 0.3s ease;
}
.alpha-coming-soon:hover {
  border-color: var(--alpha-red);
}
.alpha-coming-soon-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--alpha-text-muted);
}
.alpha-coming-soon-sub {
  font-size: 13px;
  color: var(--alpha-text-muted);
  margin-top: 8px;
}

/* === BRANDED PAGE PLAYER === */
.alpha-page-player {
  background: var(--alpha-dark-surface);
  border: 1px solid var(--alpha-border-subtle);
  border-radius: 16px;
  overflow: hidden;
}
.alpha-pp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--alpha-border-subtle);
}
.alpha-pp-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.alpha-pp-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--alpha-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* Now playing bar */
.alpha-pp-now-playing {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(212, 32, 39, 0.08);
  border-bottom: 1px solid var(--alpha-border-subtle);
}
.alpha-pp-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--alpha-red);
  border: none;
  color: var(--alpha-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.alpha-pp-play-btn:hover { background: var(--alpha-red-hover); }
.alpha-pp-now-info { flex: 1; min-width: 0; }
.alpha-pp-now-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--alpha-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}
.alpha-pp-seek-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.alpha-pp-time {
  font-size: 12px;
  color: var(--alpha-text-muted);
  min-width: 36px;
  font-variant-numeric: tabular-nums;
}
.alpha-pp-time:last-child { text-align: right; }
.alpha-pp-seek {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 8px;
  background: var(--alpha-border-subtle);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  margin: 0;
}
.alpha-pp-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--alpha-red);
  cursor: pointer;
  border: none;
}
.alpha-pp-seek::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--alpha-red);
  cursor: pointer;
  border: none;
}
.alpha-pp-seek::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; }
.alpha-pp-seek::-moz-range-track { height: 8px; background: var(--alpha-border-subtle); border-radius: 4px; }
/* Episode list */
.alpha-pp-list {
  max-height: 500px;
  overflow-y: auto;
}
.alpha-pp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(42,42,42,0.5);
}
.alpha-pp-item:last-child { border-bottom: none; }
.alpha-pp-item:hover { background: rgba(255,255,255,0.03); }
.alpha-pp-item.active { background: rgba(212, 32, 39, 0.1); }
.alpha-pp-item-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--alpha-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--alpha-white);
  transition: background 0.2s;
}
.alpha-pp-item:hover .alpha-pp-item-play,
.alpha-pp-item.active .alpha-pp-item-play {
  background: var(--alpha-red);
}
.alpha-pp-item-info { flex: 1; min-width: 0; }
.alpha-pp-item-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--alpha-white);
  margin-bottom: 4px;
}
.alpha-pp-item-meta {
  font-size: 12px;
  color: var(--alpha-text-muted);
}
/* Scrollbar inside player */
.alpha-pp-list::-webkit-scrollbar { width: 6px; }
.alpha-pp-list::-webkit-scrollbar-track { background: transparent; }
.alpha-pp-list::-webkit-scrollbar-thumb { background: var(--alpha-border-subtle); border-radius: 3px; }

/* Platform buttons */
.alpha-platform-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 20px !important;
  font-size: 7px !important;
  letter-spacing: 0.5px !important;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}
.alpha-platform-btn svg {
  width: 44px !important;
  height: 44px !important;
}
@media (max-width: 640px) {
  .alpha-platform-btns {
    flex-direction: column !important;
  }
  .alpha-platform-btn {
    flex: none;
    width: 100%;
  }
}

/* Video grid responsive */
@media (max-width: 768px) {
  .alpha-embed-container + .alpha-embed-container,
  .alpha-coming-soon + .alpha-coming-soon,
  .alpha-embed-container + .alpha-coming-soon {
    /* handled by parent grid */
  }
  div[style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* === HERO SECTION === */
.alpha-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: visible;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.alpha-hero img {
  max-width: 90vw;
  object-fit: contain;
}
@media (max-height: 800px) {
  .alpha-hero img { height: 250px !important; }
  .alpha-hero { padding: 60px 20px; }
}
@media (max-height: 600px) {
  .alpha-hero img { height: 180px !important; }
  .alpha-hero { padding: 40px 20px; min-height: auto; }
}
.alpha-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.7) 0%, rgba(13,13,13,0.9) 100%);
  z-index: 1;
}
.alpha-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.alpha-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  margin-bottom: 16px;
}
.alpha-hero .tagline {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 24px);
  color: var(--alpha-red);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-top: 0 !important;
  margin-bottom: 20px;
}
/* Restore normal spacing for description and buttons */
.alpha-hero p:not(:first-child):not(.tagline) {
  margin: 0 auto 36px auto !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  line-height: 1.7 !important;
}
/* Collapse the wpautop <p> wrapper around the hero image only */
.alpha-hero-content > p:first-child,
.alpha-hero-content > p:has(img) {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}
.alpha-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--alpha-text-on-dark);
  max-width: 600px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}
.alpha-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
@media (max-width: 640px) {
  .alpha-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .alpha-hero-buttons a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* === SECTION UTILITY CLASSES === */
.alpha-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.alpha-section-dark {
  background: var(--alpha-dark-surface);
}
.alpha-section-title {
  text-align: center;
  margin-bottom: 48px;
}
.alpha-section-title .overline {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--alpha-text-muted);
  margin-bottom: 12px;
  display: block;
}

/* === SOCIAL ICONS === */
.alpha-social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.alpha-social-icons a {
  color: var(--alpha-text-muted);
  font-size: 20px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.alpha-social-icons a:hover {
  color: var(--alpha-red);
  transform: scale(1.1);
  text-decoration: none;
}

/* === SCROLLBAR (WebKit) === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--alpha-near-black); }
::-webkit-scrollbar-thumb { background: var(--alpha-red); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--alpha-red-hover); }

/* === HIDE DEFAULT PAGE TITLES (we use custom hero titles) === */
.entry-title, .page-title { display: none !important; }
.entry-header { display: none !important; }

/* === GP OVERRIDES — full width, no sidebar === */
.site-content { padding: 0 !important; }
.content-area { width: 100% !important; max-width: 100% !important; }
.inside-article { padding: 0 !important; margin: 0 !important; }
.article-holder { max-width: 100% !important; }
body:not(.single-post) .entry-content { max-width: 100% !important; margin: 0 !important; }
.ast-container, .container { max-width: 100% !important; }

/* === IMAGE RESET === */
img { border: none !important; outline: none !important; }

/* === TABLES === */
table, table td, table th {
  background-color: var(--alpha-dark-surface) !important;
  color: var(--alpha-text-on-dark) !important;
  border-color: var(--alpha-border-subtle) !important;
}

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px solid var(--alpha-red);
  outline-offset: 2px;
}

/* === HEADER SOCIAL ICONS === */
.alpha-header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding: 0 12px;
}
.alpha-header-social a {
  color: var(--alpha-text-muted) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: color 0.2s ease;
  text-decoration: none !important;
}
.alpha-header-social a:hover {
  color: var(--alpha-red) !important;
}
@media (max-width: 768px) {
  .alpha-header-social { display: none; }
}

/* === CUSTOM FOOTER === */
.alpha-footer-content {
  background: var(--alpha-near-black);
  border-top: none;
  padding: 60px 20px 8px;
}
.alpha-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.alpha-footer-brand {
  text-align: left;
}
.alpha-footer-links {
  text-align: center;
}
.alpha-footer-links ul {
  display: inline-block;
  text-align: left;
}
.alpha-footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.alpha-footer-social .alpha-social-icons {
  justify-content: center;
}
.alpha-footer-email {
  margin-top: 12px;
  font-size: 13px;
}
.alpha-footer-email a {
  color: var(--alpha-text-muted) !important;
  text-decoration: none;
}
.alpha-footer-email a:hover {
  color: var(--alpha-red) !important;
}
@media (max-width: 768px) {
  .alpha-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .alpha-footer-brand,
  .alpha-footer-links,
  .alpha-footer-social { text-align: center; }
  .alpha-footer-links ul { display: block; text-align: center; }
  .alpha-footer-social .alpha-social-icons { justify-content: center; }
}
.alpha-footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 12px;
}
.alpha-footer-tagline {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--alpha-red);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.alpha-footer-col h4 {
  font-family: var(--font-heading) !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--alpha-white) !important;
  margin-bottom: 16px;
}
.alpha-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 24px;
}
.alpha-footer-links ul li {
  margin-bottom: 8px;
  break-inside: avoid;
}
.alpha-footer-links ul li a {
  color: var(--alpha-text-muted) !important;
  font-size: 14px;
  transition: color 0.2s;
}
.alpha-footer-links ul li a:hover {
  color: var(--alpha-red) !important;
  text-decoration: none;
}
.alpha-footer-social .alpha-social-icons a {
  color: var(--alpha-text-muted);
}
.alpha-footer-social .alpha-social-icons a:hover {
  color: var(--alpha-red);
}

/* Hide GP default copyright text only, keep the container visible */
.inside-site-info > .copyright-bar { display: none !important; }

/* Force the footer content container to be a block so copyright sits below the grid */
.alpha-footer-content {
  display: block !important;
}

/* Custom copyright — full width, centered, bottom of footer */
.alpha-footer-copyright {
  text-align: center;
  color: #888;
  font-size: 12px;
  padding: 12px 20px 24px;
  white-space: nowrap;
  width: 100%;
  margin-top: 0;
  clear: both;
}

/* Make sure GP site-info doesn't use grid/flex that captures our footer */
.inside-site-info {
  display: block !important;
  background: var(--alpha-near-black) !important;
  padding: 0 !important;
  border: none !important;
}

/* === FLOATING LISTEN NOW BUTTON === */
.alpha-listen-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  transition: opacity 0.3s ease;
  background: var(--alpha-red);
  color: var(--alpha-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(212, 32, 39, 0.4);
  transition: background 0.2s, transform 0.2s;
  user-select: none;
}
.alpha-listen-btn:hover {
  background: var(--alpha-red-hover);
  transform: translateY(-2px);
}

/* Hide on mobile until scrolled past hero */
@media (max-width: 768px) {
  .alpha-listen-btn.alpha-hero-visible {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Pulse animation */
@keyframes alphaPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(212, 32, 39, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(212, 32, 39, 0.7), 0 0 40px rgba(212, 32, 39, 0.3); }
}
.alpha-pulse {
  animation: alphaPulse 1s ease-in-out 2;
}

/* === AUDIO PLAYER BAR === */
.alpha-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--alpha-dark-surface);
  border-top: 2px solid var(--alpha-red);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  max-height: 64px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.alpha-player-bar.alpha-player-expanded {
  max-height: 60vh;
  overflow-y: auto;
}
@media (max-width: 640px) {
  .alpha-player-bar.alpha-player-expanded { max-height: 75vh; }
  .alpha-np-volume { display: none !important; }
}
.alpha-player-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}
.alpha-player-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--alpha-white);
}
.alpha-player-close {
  background: none;
  border: none;
  color: var(--alpha-text-muted);
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s;
}
.alpha-player-close:hover { color: var(--alpha-white); }

/* Episode list */
.alpha-episode-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.alpha-episode-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.alpha-episode-item:hover {
  background: rgba(255,255,255,0.05);
}
.alpha-episode-item.active {
  background: rgba(212, 32, 39, 0.15);
  border-left: 3px solid var(--alpha-red);
}
.alpha-ep-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--alpha-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--alpha-white);
  transition: background 0.2s;
}
.alpha-episode-item:hover .alpha-ep-play,
.alpha-episode-item.active .alpha-ep-play {
  background: var(--alpha-red);
}
.alpha-ep-info {
  flex: 1;
  min-width: 0;
}
.alpha-ep-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--alpha-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alpha-ep-meta {
  font-size: 12px;
  color: var(--alpha-text-muted);
  margin-top: 2px;
}

/* Now-playing bar at bottom of list */
.alpha-now-playing {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--alpha-border-subtle);
  margin-top: 4px;
}
.alpha-now-playing .alpha-player-play {
  background: var(--alpha-red);
  border: none;
  color: var(--alpha-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alpha-now-playing .alpha-player-play:hover { background: var(--alpha-red-hover); }
.alpha-np-info {
  flex: 1;
  min-width: 0;
}
.alpha-np-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--alpha-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 4px;
}
.alpha-now-playing .alpha-player-progress {
  height: 4px;
  background: var(--alpha-border-subtle);
  border-radius: 2px;
  overflow: hidden;
}
.alpha-now-playing .alpha-player-progress-fill {
  height: 100%;
  background: var(--alpha-red);
  width: 0%;
  transition: width 0.3s linear;
  border-radius: 2px;
}
.alpha-np-volume {
  width: 70px;
  accent-color: var(--alpha-red);
  flex-shrink: 0;
}

/* === MINI PLAYER BAR (collapsed after selecting episode) === */
.alpha-mini-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .alpha-mini-player { height: 56px; gap: 10px; padding: 0 14px; }
  .alpha-mini-time { display: none; }
}
.alpha-mini-play {
  background: var(--alpha-red);
  border: none;
  color: var(--alpha-white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.alpha-mini-play:hover { background: var(--alpha-red-hover); }
.alpha-mini-info {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.alpha-mini-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--alpha-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 6px;
}
.alpha-mini-title {
  cursor: pointer;
}
.alpha-mini-title:hover {
  color: var(--alpha-red) !important;
}
.alpha-mini-seek-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.alpha-mini-time {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--alpha-text-muted);
  flex-shrink: 0;
  min-width: 32px;
}
.alpha-mini-time:last-child {
  text-align: right;
}

/* Seek bar — styled range input */
.alpha-mini-seek {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 12px;
  background: var(--alpha-border-subtle);
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 8px 0;
  box-sizing: content-box;
}
.alpha-mini-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--alpha-red);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
  transition: transform 0.15s;
}
.alpha-mini-seek::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}
.alpha-mini-seek::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--alpha-red);
  cursor: pointer;
  border: none;
}
.alpha-mini-seek::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 3px;
}
.alpha-mini-seek::-moz-range-track {
  height: 12px;
  background: var(--alpha-border-subtle);
  border-radius: 3px;
}
@media (max-width: 640px) {
  .alpha-mini-time { font-size: 10px; min-width: 28px; }
}

/* === GP MOBILE NAV OVERRIDES === */
.menu-toggle, .menu-toggle:hover, .menu-toggle:focus,
button.menu-toggle, button.menu-toggle:hover {
  background: transparent !important;
  color: var(--alpha-white) !important;
  border: none !important;
  padding: 10px !important;
}
.main-navigation.toggled .main-nav > ul,
.main-navigation .main-nav > ul[style] {
  background-color: var(--alpha-near-black) !important;
}
.main-navigation.toggled .main-nav li a,
.main-navigation.toggled .menu-item > a {
  color: var(--alpha-white) !important;
  border-color: var(--alpha-border-subtle) !important;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.main-navigation.toggled .main-nav li a:hover,
.main-navigation.toggled .current-menu-item > a {
  color: var(--alpha-red) !important;
}
.main-navigation .main-nav ul ul.toggled-on {
  background: var(--alpha-dark-surface) !important;
}

/* === WPFORMS DARK STYLING === */
.wpforms-container {
  background: transparent !important;
}
.wpforms-form .wpforms-field-label {
  color: var(--alpha-white) !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form select,
.wpforms-form textarea {
  background: var(--alpha-near-black) !important;
  color: var(--alpha-text-on-dark) !important;
  border: 1px solid var(--alpha-border-subtle) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  font-family: var(--font-body) !important;
}
.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  border-color: var(--alpha-red) !important;
  box-shadow: 0 0 0 3px rgba(212, 32, 39, 0.15) !important;
  outline: none;
}
.wpforms-form .wpforms-field-sublabel {
  color: var(--alpha-text-muted) !important;
}
.wpforms-form button[type="submit"],
.wpforms-form .wpforms-submit {
  background: var(--alpha-red) !important;
  color: var(--alpha-white) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  padding: 14px 40px !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer;
  width: 100%;
}
.wpforms-form button[type="submit"]:hover {
  background: var(--alpha-red-hover) !important;
}
.wpforms-confirmation-container-full {
  background: var(--alpha-dark-surface) !important;
  color: var(--alpha-white) !important;
  border: 1px solid var(--alpha-red) !important;
  border-radius: 8px !important;
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* === BLOG ARCHIVE — CARD GRID === */
.blog .site-main,
.archive .site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .blog .site-main, .archive .site-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog .site-main, .archive .site-main { grid-template-columns: 1fr; }
}
/* Full-width elements inside the grid (pagination, etc) */
.blog .site-main > nav,
.blog .site-main > .page-header,
.archive .site-main > nav,
.archive .site-main > .page-header {
  grid-column: 1 / -1;
}

/* Blog post cards */
.blog article, .archive article {
  background: var(--alpha-dark-surface) !important;
  border: 1px solid var(--alpha-border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.blog article:hover, .archive article:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 20px rgba(212, 32, 39, 0.1);
  border-color: rgba(212, 32, 39, 0.3);
}
.blog article .post-image, .archive article .post-image,
.blog article .featured-image, .archive article .featured-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog article .post-image img, .archive article .post-image img,
.blog article .featured-image img, .archive article .featured-image img,
.blog article img.attachment-post-image, .archive article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog article .inside-article, .archive article .inside-article {
  background: var(--alpha-dark-surface) !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog article .entry-summary, .archive article .entry-summary {
  padding: 20px 24px;
  flex: 1;
}
.blog article .entry-header, .archive article .entry-header {
  display: block !important;
  padding: 20px 24px 0;
}
.blog article .entry-title, .archive article .entry-title {
  display: block !important;
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  font-weight: 700;
  color: var(--alpha-white) !important;
  line-height: 1.3;
}
.blog article .entry-title a, .archive article .entry-title a {
  color: var(--alpha-white) !important;
  text-decoration: none;
}
.blog article .entry-title a:hover, .archive article .entry-title a:hover {
  color: var(--alpha-red) !important;
}
.blog article .entry-meta, .archive article .entry-meta {
  padding: 0 24px 8px;
  font-size: 13px;
  color: var(--alpha-text-muted) !important;
}
.blog article .entry-meta a { color: var(--alpha-text-muted) !important; }
.blog article .entry-meta a:hover { color: var(--alpha-red) !important; }

/* Single blog post */
.single-post .inside-article {
  background: var(--alpha-near-black) !important;
  max-width: 100%;
  padding: 0 !important;
}
.single-post .entry-header {
  display: block !important;
  text-align: center;
  padding: 60px 20px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.single-post .entry-title {
  display: block !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--alpha-white) !important;
}
.single-post .entry-meta {
  color: var(--alpha-text-muted) !important;
  text-align: center;
  padding-bottom: 20px;
}
.single-post .featured-image {
  max-width: 800px;
  margin: 0 auto 32px;
  border-radius: 12px;
  overflow: hidden;
}
.single-post .featured-image img {
  width: 100%;
  height: auto;
}
.single-post .entry-content {
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* Center the entry-meta footer that contains post nav */
.single-post .entry-meta {
  max-width: 800px;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
}

/* Post navigation — previous left | divider | next right, centered */
.post-navigation {
  background: var(--alpha-near-black) !important;
  width: 100%;
  padding: 32px 20px 40px;
  border-top: 1px solid var(--alpha-border-subtle);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
/* Hide GP's SVG arrows */
.post-navigation .gp-icon { display: none; }

/* Previous post — left column */
.post-navigation > .nav-label:first-of-type,
.post-navigation > .nav-previous {
  grid-column: 1;
  text-align: left;
  padding-right: 24px;
}

/* Center divider */
.post-navigation::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / 3;
  width: 1px;
  background: var(--alpha-border-subtle);
  align-self: stretch;
}

/* Next post — right column */
.post-navigation > .nav-label:last-of-type,
.post-navigation > .nav-next {
  grid-column: 3;
  text-align: right;
  padding-left: 24px;
}

/* Label styling */
.post-navigation > .nav-label {
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--alpha-text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.post-navigation > .nav-label:first-of-type { grid-row: 1; }
.post-navigation > .nav-label:last-of-type { grid-row: 1; }
.post-navigation > .nav-previous { grid-row: 2; }
.post-navigation > .nav-next { grid-row: 2; }

/* Link styling */
.post-navigation a {
  color: var(--alpha-text-on-dark) !important;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}
.post-navigation a:hover {
  color: var(--alpha-red) !important;
}
.post-navigation .nav-previous .prev a::before {
  content: "← ";
  color: var(--alpha-red);
}
.post-navigation .nav-next .next a::after {
  content: " →";
  color: var(--alpha-red);
}

@media (max-width: 640px) {
  .post-navigation {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .post-navigation > .nav-label:first-of-type,
  .post-navigation > .nav-previous,
  .post-navigation > .nav-label:last-of-type,
  .post-navigation > .nav-next {
    grid-column: 1;
    text-align: center;
    padding: 0;
  }
  .post-navigation > .nav-label:first-of-type { grid-row: 1; }
  .post-navigation > .nav-previous { grid-row: 2; }
  .post-navigation > .nav-label:last-of-type { grid-row: 3; }
  .post-navigation > .nav-next { grid-row: 4; }
  .post-navigation::after { display: none; }
}

/* Pagination (blog archive) */
.paging-navigation a, .paging-navigation span {
  color: var(--alpha-red) !important;
}
.paging-navigation a:hover {
  color: var(--alpha-white) !important;
}
