/* ==========================================================================
   Hockey Decoded — Global Stylesheet (style.css)
   TOC
   01. TOKENS (CSS variables)
   02. BASE (element defaults: html/body, type, links, images)
   03. LAYOUT (sitewide structure: header, nav, wrappers, grids)
   04. COMPONENTS (cards, buttons, tooltips, shot bar, scoreboard)
   05. PAGES (markdown/deep-dives, blog, about, dashboard)
   06. UTILITIES (helpers)
   07. MEDIA QUERIES (responsive tweaks)


   To find my structure example search for CSS file structure
   ========================================================================== */

/* ==========================================================================
   01) TOKENS
  ========================================================================== */

:root {
    /* Root Website Colors */
    --blue: #3B4B64; /* Pale blue */
    --orange: #E76F2B; /* Pale orange */
    --bg-cream: #fbf8f1ff;
    --white: #ffffff;
    /* Edmonton Oilers */
    --oil-orange: #FF4C00; /* Oilers orange */
    --blue-dark: #041E42; /* Oilers blue */
}

/* ==========================================================================
   02) BASE
  ========================================================================== */

/* ==========================================================================
   03) LAYOUT (sitewide scaffolding)
  ========================================================================== */

/* ==========================================================================
   04) COMPONENTS
   ========================================================================== */

/* ==========================================================================
   05) PAGES
   ========================================================================== */

.depth-link {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: right;  
  font-size: 0.9rem;
}

.depth-link a {
  color: var(--blue);
  text-decoration: none;
  font-style: italic;
}

.depth-link a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.tdi-explainer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--blue);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.explainer-card {
  background: var(--bg-cream);
  width: 1250px !important;
  margin: 0 auto;
  padding: 1rem 2rem;  /* Less vertical padding */
}

.explainer-card h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.explainer-card h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.explainer-card p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;  /* Tighter line spacing */
}

.explainer-card ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: .9rem;
}

.explainer-card li {
  margin-bottom: 0.25rem;  /* Tighter list spacing */
  font-size: .9rem;
}

.note {
  margin-top: 1rem;  /* Less space before note */
  padding: 0.75rem;  /* Less padding inside */
  background: #f0f4f8;
  border-radius: 6px;
  font-size: 0.9rem;
}

.small-note {
  width: 200px;
  margin-top: 1rem;  /* Less space before note */
  padding: 0.75rem;  /* Less padding inside */
  background: #f0f4f8;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* Depth page - side-by-side cards */
.depth-cards-container {
      display: flex;
      flex-direction: row;  /* Add this explicitly */
      justify-content: center;
      align-items: flex-start;
      gap: 2rem;
      padding: 2rem;
      flex-wrap: nowrap;  /* Change from wrap to nowrap */
      margin: 0 auto;
      width: 100%;
  }

.depth-cards-container .game-card {
    flex: 0 0 auto;
    margin: 0 auto;
}

 /* ==========================================================================
     BREADCRUMB SCOREBOARD - STACKED VERSION (for depth page)
     ========================================================================== */

.breadcrumb-scoreboard-stacked {
      max-width: 900px;
      margin: 2rem auto 0 auto;
      padding: 1.5rem 2rem;
      background: var(--white);
      border: 1px solid var(--blue-light);
      border-radius: 6px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .back-link-row {
      margin-bottom: 0.5rem;
    }

    .back-link-row a {
      color: var(--blue);
      text-decoration: none;
      font-size: 1.1rem;
      font-style: italic;
    }

    .back-link-row a:hover {
      color: var(--orange);
      text-decoration: underline;
    }

    .score-info-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      font-size: 1.5rem;
      color: var(--blue-dark);
    }

    .inline-score {
      font-weight: 600;
    }

    .divider {
      color: #999;
      font-weight: 300;
    }

    .game-time {
      font-weight: 400;
      color: var(--blue);
    }

/* ==========================================================================
   06) UTILITIES
   ========================================================================== */

/* (Add small helpers here later, e.g., .sr-only, .text-center, .flow) */

/* ==========================================================================
   07) MEDIA QUERIES
   ========================================================================== */



/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */

a {
  color: var(--oil-orange);
  text-decoration: underline; /* optional */
}

a:hover,
a:focus {
  color: var(--oil-orange);
  opacity: 0.8; /* optional: gives a hover effect */
  text-decoration: underline;
}

sup {
  font-size: 0.75em;
  vertical-align: super;
  line-height: 1;
}

/* FOOTER */
.site-footer {
    text-align: center;
    padding: 1rem 1rem; /* Adds vertical + horizontal padding */
    background-color: var(--bg-cream); 
    font-size: 1.3rem; /* Optional, adjust for readability */
    color: var(--blue-dark); /* Optional, for consistency */
}

.markdown-body {
  line-height: 1.2;
  font-size: 1rem;
  max-width: 60%;
  margin: 0 auto;
  text-align: left;
}

.post-title {
  width: 75vw;
  margin: 3rem auto 0.25rem auto;
  font-size: 3.5rem;
  color: var(--blue-dark);
  text-align: center;
}

.date {
    text-align: center;
    font-size: 1.5rem;
    color: var(--blue-dark);
    margin-top: 0.25rem;
}

.markdown-body h1 {
  font-size: 2.5rem;
  margin-top: 2rem;
  color: var(--blue-dark);
  text-align: center;
}

.markdown-body h2 {
  font-size: 2rem;
  margin-top: 1rem;
  color: var(--blue-dark);
  text-align: center;
}

.markdown-body h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: var(--blue-dark);
  text-align: center;
}

.markdown-body p {
    color: var(--blue-dark);
    text-align: justify;
    font-size: 1.5rem;
    line-height: 1.2;
}

.markdown-body img {
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  display: block
}

/* ==========================================================================
   SITE NAV HEADER STYLES
   ========================================================================== */
.site-nav-header {
    background-color: var(--blue); 
    color: white;
    padding: 1rem 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.site-title a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
}

.site-nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 1.1rem;
}


/* ==========================================================================
   INDEX PAGE STYLES
   ========================================================================== */

body {
    margin: 0;
    padding: 0;
    font-family: "Charter", "Bitstream Charter", "Sitka Text", Cambria, serif;
    background-color: var(--bg-cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.site-header {
    background-color: var(--blue); /* Oilers blue */
    color: white;
    padding-top: 2rem;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 3.5rem;
}

.site-header p {
    margin-top: 2rem;
    font-size: 1.5rem;
    padding-bottom: 2rem;
}

/* MAIN CONTENT CENTERING */
.center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* <-- adds vertical space between boxes */
    padding: 2rem 0;
}

/* CONTENT BOX */
.card-row {
    display: flex;
    justify-content: center;
    align-items: center; /* Centers cards vertically */
    gap: 2rem; /* space between the cards */
    padding: 2rem;
    flex-wrap: wrap; /* allows them to stack on small screens */
    flex: 1; /* Makes it grow to fill space */
}

.card {
    width: 200px;         /* fixed width */
    height: 250px;        /* fixed height (optional) */
    padding: 2rem;
    background-color: white;
    color: var(--blue-dark); 
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* optional: spreads out content evenly */
}

.card p {
  margin-top: 1.5rem;   /* bring it closer to the title */
  margin-bottom: auto;  /* push remaining space down to the button */
  line-height: 1.5;
}

.card-button {
  background-color: var(--orange);
  color: white !important;
  padding: 10px 32px;
  border: none;
  border-radius: 8px; 
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  line-height: 1.2;
  margin-top: 0.5rem;
  align-self: flex-start; /* Ensures it aligns left if .card is flex-column */
  transition: all 0.2s ease-in-out;
  text-decoration: none !important;
  align-self: flex-start;
}

.card-button a {
    color: white;
    text-decoration: none;
    font-family: Charter;
}

.card-button:hover,
  .card-button:focus,
  .card-button:active,
  .card-button:visited {
    color: white !important;
    text-decoration: none !important;
    background-color: var(--orange);  /* Keep same orange, no change */
    outline: none;
  }

/* Clickable card wrappers */
.card-wrapper,
  .game-card-wrapper {
      text-decoration: none !important;
      display: block;
      color: inherit;
  }

.card-wrapper *,
  .game-card-wrapper * {
      text-decoration: none !important;
  }

/* Hover effect - lift the card */
.card-wrapper:hover .card {
      transform: translateY(-4px);
      box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }

.game-card-wrapper:hover .game-card {
      transform: translateY(-4px);
      box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }

  /* Add transition to cards */
.card {
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: pointer;
  }

.game-card {
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: pointer;
  }

  /* Keep button styling, but as non-interactive */
.card-button,
  .game-button {
      background-color: var(--orange);
      color: white;
      padding: 10px 32px;
      border-radius: 8px;
      font-size: 1rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      display: inline-block;
      font-family: Charter;
  }

/* Only disable pointer events inside clickable wrappers */
.card-wrapper .card-button,
  .game-card-wrapper .game-button {
      pointer-events: none;
  }

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

.about-image-container {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.about-image {
  width: 400px;          /* Adjust size as needed */
  height: 400px;
  object-fit: cover;
  border-radius: 50%;    /* Makes it circular */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Optional: soft shadow */
}

/* HEADER */
.sub-header {
    background-color: var(--blue); /* Oilers blue */
    color: white;
    padding: 2rem;
    text-align: left;
}

.sub-header h1 {
    margin: 0;
    font-size: 3.5rem;
}

.sub-header p {
    margin-top: 3rem;
    font-size: 1.5rem;
    padding-bottom: 2rem;
}

.sub-main {
      padding-bottom: 1rem;
  }

.sub-main h1 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--blue-dark); 
    font-size: 3.5rem;
    text-align: center;
}

.sub-main h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--blue-dark); 
    font-size: 1.5rem;
    text-align: center;
}

/* CONTENT BOX */
.about-card-meta {
    display: flex;
    justify-content: center;
    padding-bottom: 6rem;
}

.about-card {
    width: 800px;
    font-size: 18px;
    gap: 0rem;
    padding: 2rem;
    background-color: white;
    color: var(--blue-dark);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.about-card p {
  margin-top: 0;
  margin-bottom: 0.75rem; /* or 0.5rem for tighter spacing */
  line-height: 1.; /* optional: adjusts vertical rhythm */
}

.social-icons {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center; /* centers under photo */
}

.social-icons img {
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.15);
}

.filter-blue{
    filter: invert(10%) sepia(44%) saturate(2344%) hue-rotate(191deg) brightness(98%) contrast(101%);
}

/* ==========================================================================
   BLOG PAGE STYLES
   ========================================================================== */
   
.blog-card-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      padding: 2rem;
      max-width: 1200px;
      margin: 0 auto;
  }

  .blog-card-wrapper {
      text-decoration: none !important;
      display: block;
      color: inherit;
  }

  .blog-card {
      background-color: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      transition: transform 0.2s, box-shadow 0.2s;
      display: flex;
      flex-direction: column;
      height: 100%;
  }

  .blog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .blog-card-wrapper:hover .blog-card {
      text-decoration: none;
      transform: translateY(-4px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .blog-card-image {
      width: 100%;
      height: 200px;
      object-fit: contain;
      /* padding-bottom: 0.5rem;*/ 
  }

  .blog-card-content {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      /* box-shadow: 0 -1px 0 0 var(--blue-dark);  Top shadow = line */
  }

  .blog-card-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      font-size: 0.875rem;
  }

  .blog-tag {
      background-color: var(--blue);
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }

  .blog-date {
      color: #666;
      font-size: 0.875rem;
  }

  .blog-card-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--blue-dark);
      margin: 0 0 0.75rem 0;
      line-height: 1.4;
  }

  .blog-card-summary {
      color: #666;
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 1rem;
      flex-grow: 1;
  }

  .blog-card-link {
      background-color: var(--orange);
      color: white;
      text-decoration: none !important;
      font-weight: 600;
      font-size: 0.85rem;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      align-self: flex-start;
      transition: background-color 0.2s;
      display: inline-block;
  }

  .blog-card-link:hover {
      background-color: #d65a1f;
      text-decoration: none !important;  /* Add this too */
  }

.blog-content h1 {
    margin: 3rem auto;           /* centers the block horizontally */
    color: var(--blue-dark); 
    font-size: 3.5rem;
    text-align: center;          /* centers the text inside */
    max-width: 75%;              /* limits the width of the heading block */
}

.blog-content p {
    color: var(--blue-dark);
    text-align: justify;
    font-size: 1.5rem;
}
/* ==========================================================================
   DASHBOARD PAGE STYLES
   ========================================================================== */

/* GAME LIST HOME PAGE - TODAY'S GAMES */

.game-card-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem; /* space between the cards */
    padding: 2rem;
    flex-wrap: wrap; /* allows them to stack on small screens */
    max-width: 1400px;     /* ADD THIS */
    margin: 0 auto;
}


/*.game-card {
/*   width: 1000px;         /* fixed width */
/*    height: 75px;        /* fixed height (optional) */
/*    padding: 2rem;
/*    background-color: white;
/*    color: var(--blue-dark); 
/*    border-radius: 8px;
/*    box-shadow: 0 0 10px rgba(0,0,0,0.1);
/*    text-align: center;
/*    display: flex;
/*    flex-direction: column;
/*    justify-content: space-between; /* optional: spreads out content evenly */
/*    align-items: center;
/*} */ 

.game-card {
  width: 750px;
  min-height: 75px;       /* let it expand if content needs */
  padding: 1rem 2rem 1.5rem 2rem;  /* less padding on top, keep sides */
  margin: 0 auto;
  background-color: white;
  color: var(--blue-dark);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;    /* align stack to top */
}

.game-card h2 {
    margin-top: 0;
    margin-bottom: .25;
    font-size: 1.5rem;
    color: var(--blue-dark);
}

.game-card h3 {
    margin: 0;
    margin-top: .5rem;
    font-size: 1.25rem;
    color: var(--blue-dark);
}

.game-card ul {
  list-style-type: none;
  text-align: center;
  padding: 1rem;
  color: var(--blue-dark);
  font-size: 1.5rem;
}

.game-card li {
  margin-bottom: 1rem;
}

.game-button {
  background-color: var(--orange);
  color: white !important;
  padding: 10px 72px;
  border: none;
  border-radius: 8px; 
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  line-height: 1.2;
  margin-top: 0.5rem;
  align-self: center; /* Ensures it aligns left if .card is flex-column */
  transition: all 0.2s ease-in-out;
  text-decoration: none !important;
  align-self: center;
}

.game-button a {
    color: white;
    text-decoration: none;
    font-family: Charter;
}

.game-button:hover,
  .game-button:focus,
  .game-button:active,
  .game-button:visited {
    color: white !important;
    text-decoration: none !important;
    background-color: var(--orange);  /* Keep same orange, no change */
    outline: none;
  }


.cal-button {
    background-color: var(--orange);
    color: white;
    padding: 10px 20px;
    font-family: Charter;
    border: none;
    border-radius: 8px;
    line-height: 1.2;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.cal-button:hover {
    background-color: var(--orange);
    color: white;
  }

.cal-input {
  font-family: Charter;              
  font-size: 1rem;                    
  color: var(--blue-dark);            
  background-color: var(--white);
  padding: 10px 12px;                 
  border: 1px solid var(--orange);    
  border-radius: 8px;                 
  line-height: 1.2;                   
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);  
  outline: none;
  appearance: none;                   
  -webkit-appearance: none;
  -moz-appearance: none;
}



/* 3-column layout inside the card */
.game-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | center | right */
  align-items: center;                  /* vertical centering of all three */
  column-gap: 1.25rem;                  /* space between columns */
}

/* center column holds your stacked content */
.center-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 275px;        /* ADD THIS - constrains the width */
  overflow: hidden;
}

/* logos */
.team-logo {
  justify-self: center;      /* centers within left/right column */
  width: 200px;               /* tweak size to taste */
  height: 200px;
  object-fit: contain;       /* keep aspect ratio */
}

/* optional: shrink logos on small screens */
@media (max-width: 1000px) {
  .team-logo { width: 100px; height: 100px; }
}

/* Shot share bar */
.shot-bar {
  display: flex;  
  margin-top: 1rem;           
  width: 100%;
  height: 60px;               
  border-radius: 12px;
  overflow: hidden;
  background: #eee;           /* faint track/background */
  position: relative;         /* allows future 50% divider if you want */
}

/* Shot/Depth bar always-on 50% dashed divider */
.shot-bar.depth-bar { position: relative; }

.shot-bar.depth-bar::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  border-left: 3px dashed rgba(0,0,0,.35); /* or var(--blue-dark) with opacity */
  pointer-events: none;    /* don’t block tooltip hover */
  z-index: 2;              /* above segments, below tooltip */
}

.away-segment {
  height: 100%;
  background: var(--orange);
}

.home-segment {
  height: 100%;
  background: var(--blue);
}

#shot-tooltip {
  position: fixed;              /* follows cursor */
  z-index: 9999;
  padding: 6px 8px;
  font-size: 22px;
  line-height: 1;
  background: var(--bg-cream);
  color: var(--blue-dark);
  border-radius: 6px;
  pointer-events: none;
  font-family: Charter;
  opacity: 0;
  transform: translate(-50%, -120%); /* above cursor */
  transition: opacity 120ms ease;
}
#shot-tooltip.show { opacity: 1; }

/* ==========================================================================
   SCOREBOARD STYLES
   ========================================================================== */

.scoreboard h1 {
  margin-top: 0;
  font-size: 6.5rem;
}

/* ==========================================================================
     07) MEDIA QUERIES - Mobile Optimization
     ========================================================================== */

/* Hide hamburger on desktop */
.hamburger {
  display: none;
}

/* Hide small inline logos on desktop */
.team-logo-small {
  display: none;
}

  /* Mobile phones (up to 768px) */
  @media (max-width: 768px) {

    /* Force proper box model and remove all default spacing */
    * {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      overflow-x: hidden;   /* Prevent horizontal scroll */
      width: 100%;
    }

    .site-nav-header {
      padding: 1rem 0;   /* Remove left/right padding */
      position: relative;
      width: 100%;
    }

    .nav-container {
      max-width: 100%;
      padding: 0 1rem;   /* Keep some padding for hamburger */
    }

    /* Blog cards mobile */
    .blog-card-row {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }

    .blog-card-image {
        height: 180px;
    }

    /* Shrink the banner */
    .site-header {
      padding-top: 1rem;
    }

    .site-header h1 {
      font-size: 2rem;  /* Much smaller on mobile */
      margin: 0.25rem 0;  /* Reduce spacing between the two h1s */
    }

    .site-header p {
      margin-top: 0.5rem;  /* Less space above tagline */
      font-size: 1rem;  /* Smaller tagline */
      padding-bottom: 1rem;  /* Less padding at bottom */
    }

    /* Index page cards - stack vertically and take full width */
    .card-row {
      flex-direction: column;
      align-items: center;
      padding: 1rem;
      gap: 1.5rem;
    }

    .card-wrapper {
      width: 100%;  /* Full width wrapper */
      display: flex;
      justify-content: center;  /* Center the card inside */
    }

    .card {
      width: 95%;
      max-width: 95%;  /* Allow full width */
      height: auto;     /* Let content determine height */
      padding: 1.5rem;
      text-align: center;  /* Center text horizontally */
      align-items: center;  /* Center button horizontally */
      justify-content: center;  /* Center content vertically */
    }

    .card h1 {
      font-size: 1.5rem;  /* Slightly smaller on mobile */
      margin-top: 0.5rem;
      margin-bottom: 0.5rem;
    }

    .card p {
    margin-top: auto;
    margin-bottom: auto;
    }

    .card-button {
      width: 95%;  /* Make button full width on mobile */
      text-align: center;
      align-self: center;
    }

    /* Hamburger menu button */
    .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 24px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 10;
    }

    .hamburger span {
      width: 30px;
      height: 3px;
      background: white;
      border-radius: 2px;
      transition: all 0.3s;
    }

    /* Hamburger animation when open */
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

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

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

    /* Hide nav links by default on mobile */
    .site-nav {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--blue);
      flex-direction: column;
      padding: 1rem 0;
      display: none;
    }

    /* Show nav when active */
    .site-nav.active {
      display: flex;
    }

    .site-nav a {
      margin: 0;
      padding: 1rem 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      font-size: 1.2rem;
    }

    .site-nav a:hover {
      background: rgba(255,255,255,0.1);
    }

    /* Fix header to span full width */
    .site-nav-header {
      padding: 1rem;
      position: relative;
    }

    .nav-container {
      max-width: 100%;
      padding: 0;
    }

    /* About page specific styles */
    .about-card {
      width: 95%;  /* Leave some margin on edges */
      margin: 0 auto;
    }

    .about-image-container {
      margin: 1rem 0;
    }

    .about-image {
      max-width: 95%;
    }

    .sub-main h1 {
      font-size: 2rem;
      margin-top: 1.5rem;
    }

    .social-icons {
      gap: 0.75rem;
    }

    .social-icons img {
      width: 40px;
      height: 40px;
    }

    /* Deep dive post mobile optimization */
    .post-title {
      font-size: 2rem !important;
      width: 95%;
      margin: 1.5rem auto 0.5rem auto;
    }

    .date {
      font-size: 1rem;
      margin-top: 0.5rem;
    }

    .markdown-body {
      max-width: 95% !important;  /* Was 60%, too narrow on mobile */
      padding: 0 1rem;
      font-size: 1rem;
    }

    .markdown-body h1 {
      font-size: 1.75rem !important;
      margin-top: 1.5rem;
    }

    .markdown-body h2 {
      font-size: 1.5rem !important;
      margin-top: 1.25rem;
    }

    .markdown-body h3 {
      font-size: 1.25rem !important;
      margin-top: 1rem;
    }

    .markdown-body p {
      font-size: 1rem !important;  /* Was 1.5rem, way too big */
      line-height: 1.5;
      margin-bottom: 1rem;
    }

    .markdown-body img {
      margin: 1rem 0;
    }

    /* Dashboard game cards - fix centering and text wrapping */
    .game-card-row {
      padding: 1rem;
      align-items: center;
    }

    .game-card-wrapper {
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .game-card {
      width: 95%;
      max-width: 95%;
      margin: 0 auto;
    }

    /* Force text wrapping */
    .matchup {
      word-wrap: break-word;
      overflow-wrap: break-word;
      max-width: 100%;
    }

    .center-stack {
      max-width: 100%;
      overflow: hidden;
    }

  /* Depth page mobile adjustments */
  .breadcrumb-scoreboard-stacked {
    width: 95%;
    max-width: 95%;
    margin: 1rem auto;   /* ADD THIS - centers it */
  }

  .explainer-card {
    width: 95% !important;
    max-width: 95% !important;
    margin: 1rem auto;
  }

  .depth-cards-container {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    width: 100%;   /* ADD THIS */
  }

  .depth-cards-container .game-card {
    width: 95%;
    max-width: 95%;
    margin: 0 auto;   /* ADD THIS - centers each card */
  }

  body {
    margin: 0;
    padding: 0;
  }

  .sub-main {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
  }

  .game-card-row {
    padding: 1rem 0;   /* Remove left/right padding, keep top/bottom */
    margin: 0 auto;
  }

  }
