/* mobile-styles.css */
/* -----------------------------------------------
   Game Day Recap – Mobile & Hamburger Navigation
   ----------------------------------------------- */

   @media (max-width: 768px) {
    
    .mobile-only {
      display: block;
    }
    
    /* General reset */
    body {
      overflow-x: hidden;
    }
  
    /* HEADER ----------------------------- */
    header {
      position: relative;
      padding: 16px 20px;
      text-align: left;
    }
  
    header h1 {
      font-size: 1.8rem;
    }
  
    header p {
      font-size: 0.9rem;
      color: #d1d5db;
    }
  
    /* Hide desktop auth links */
    .auth-links {
      display: none;
    }
  
    /* -------------------------------------------
       HAMBURGER BUTTON
       ------------------------------------------- */
    .hamburger {
      position: absolute;
      top: 22px;
      right: 20px;
      width: 32px;
      height: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      z-index: 2000; /* ABOVE menu */
    }
  
    .hamburger span {
      display: block;
      height: 4px;
      width: 100%;
      background: #fff;
      border-radius: 10px;
      transition: all 0.3s ease;
    }
  
    /* Animate hamburger into an X */
    .hamburger.active span:nth-child(1) {
      transform: translateY(12px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
      transform: translateY(-12px) rotate(-45deg);
    }
  
    /* -------------------------------------------
       MOBILE MENU (Corrected & expanded)
       ------------------------------------------- */
    nav {
      display: none; /* Hidden by default */
      flex-direction: column;
      background-color: #111827;
      position: absolute;
      top: 70px;
      right: 0;
      width: 100%;
      padding: 20px 0;
      z-index: 1500;
  
      /* ⭐ KEY FIX: allow full height so all menu items show */
      max-height: 100vh;
      overflow-y: auto;
    }
  
    nav.active {
      display: flex;
      animation: slideDown 0.3s ease forwards;
    }
  
    nav a {
      width: 100%;
      padding: 14px 22px;
      font-size: 1rem;
      text-align: left;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      color: white;
      text-decoration: none;
    }
  
    nav a:hover {
      background-color: rgba(255,255,255,0.08);
    }
  
    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  
    /* HERO SECTION ----------------------------- */
    .hero {
      flex-direction: column;
      text-align: center;
      padding: 20px;
      background-position: center;
    }
  
    .hero h2 {
      font-size: 1.3rem;
    }
  
    .hero p {
      font-size: 0.9rem;
    }
  
    /* CARDS SECTION ----------------------------- */
    .cards {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  
    .card {
      border-radius: 8px;
    }
  
    .card img {
      height: 160px;
    }
  
    .card-content h3 {
      font-size: 1.1rem;
    }
  
    .card-content p {
      font-size: 0.95rem;
    }
  
    /* ARTICLE DETAILS PAGE ----------------------------- */
    .article-details {
      padding: 10px;
    }
  
    #article-image {
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
    }
  
    #article-title {
      font-size: 1.5rem;
      margin-top: 15px;
    }
  
    #article-content {
      font-size: 1rem;
      line-height: 1.6;
    }
  
    .meta {
      font-size: 0.9rem;
      color: #555;
    }
  
    /* BACK BUTTON ----------------------------- */
    .back a {
      display: inline-block;
      margin-top: 15px;
      font-size: 0.9rem;
      padding: 8px 14px;
    }
  }
  