/* === J.LIVE Talk page styles === */

/* Hero section */
.jlive-hero {
    max-width: 1100px;
    margin: 2.5rem auto 1.5rem;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
  }
  
  .jlive-hero .hero-photo {
    width: 360px;
    max-width: 45%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65);
  }
  
  .jlive-hero .hero-text {
    max-width: 520px;
  }
  
  .jlive-hero .hero-text h1 {
    font-size: 2.1rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
  }
  
  .jlive-hero .hero-text .subtitle {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
  }
  
  /* Main content wrapper */
  .jlive-content {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem 3rem;
  }

  .award-button-wrapper {
    margin-top: 1.25rem;
    display: flex;
    justify-content: flex-start; /* or center, if you want */
}

.button.primary2 {
    background-color: #f0e68c;
    color: #101010;
    text-decoration: none;
    padding: 0.75em 1.5em;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.gallery-hint {
    grid-column: 1 / -1;     /* span both columns */
    text-align: center;
    font-size: 0.85rem;
    color: #aaaaaa;
    margin-top: 0.25rem;
  }

  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1000;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: min(1000px, 90vw);
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.6);
    cursor: zoom-out;
    transform: scale(.95);
    transition: transform .3s ease;
}

.lightbox.open img {
    transform: scale(1);
}

  
  /* Generic sections */
  .section {
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
  }
  
  .section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
  }
  
  .section p {
    font-size: 1rem;
    color: #d0d0d0;
    line-height: 1.7;
  }
  
  /* Gallery */
  .gallery-section {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
  }
  
  .gallery-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #ffffff;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .gallery-grid img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  }
  
  /* Award highlight box */
  .award-box {
    margin-top: 2.5rem;
    padding: 1.75rem 1.5rem;
    background: #141414;
    border-radius: 12px;
    border: 1px solid #333333;
  }
  
  .award-box h2 {
    color: #f0e68c;
    margin-bottom: 0.75rem;
  }
  
  .award-box p {
    color: #e0e0e0;
  }

/* Back-to-top button (same style as other pages) */
#backToTop {
    position: fixed;
    right: 24px;
    bottom: 90px;                 /* clears the footer */
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    cursor: pointer;
  
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
    z-index: 950;
  }
  
  #backToTop:hover {
    background: rgba(255,255,255,0.15);
  }
  
  #backToTop.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  
  /* Shared fade-in animation (in case it's not already in portfolio.css) */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Mobile / tablet responsiveness */
  @media (max-width: 900px) {
    .jlive-hero {
      flex-direction: column;
      text-align: center;
    }
  
    .jlive-hero .hero-photo {
      max-width: 80%;
    }
  
    .jlive-hero .hero-text {
      max-width: 100%;
    }
  
    .jlive-hero .hero-text h1 {
      font-size: 1.8rem;
    }
  }
  
  @media (max-width: 640px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }
  
    .gallery-grid img {
      aspect-ratio: 3 / 2;
    }
  
    .jlive-content {
      padding: 0 1rem 3rem;
    }
  }
  