@charset "utf-8";
/* CSS Document
   Layout helpers + featured/media grids + fancy links
*/

/* =========================
   Containers
========================= */
.container{
  max-width: var(--g73-maxw);
  margin: 0 auto;
  padding: 0 1rem;
}
.container-article{
  max-width: var(--g73-maxw);
  margin: 0 auto;
  padding: 1rem;
}

/* =========================
   Featured grid
========================= */
.featured-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 1.5rem;
}

.featured-item img{
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.featured-item p{
  margin-top: .5rem;
  text-align: center;
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 1.2rem;
  color: #FFD700;
}

/* =========================
   Intro fancy links
========================= */
.intro-text a{
  color: #FFD700;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: color .3s ease, text-shadow .3s ease, transform .3s ease;
  text-shadow: 0 0 8px rgba(255,215,0,.7);
  animation: linkGlow 2s infinite alternate;
}
.intro-text a:hover{
  color: #fff;
  text-shadow:
    0 0 10px rgba(255,215,0,1),
    0 0 20px rgba(255,215,0,.9),
    0 0 40px rgba(255,215,0,.8);
  transform: scale(1.05);
}

/* =========================
   Go back button area
========================= */
.goback{
  text-align: center;
  margin: .75rem 0 0; /* tight top, no extra bottom */
}
#buy-john{ margin-bottom: .5rem; }

.goback-link img{
  display: inline-block;
  border: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.goback-link:hover img{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
}

/* =========================
   Sitewide gold links
========================= */
a.gold-link{
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 1.25rem;
  color: #FFD700;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(255,215,0,.5);
  transition: color .25s ease, text-shadow .25s ease, transform .25s ease;
  animation: goldGlow 2s infinite alternate;
}
a.gold-link:hover,
a.gold-link:focus{
  color: #fff;
  text-decoration: underline;
  text-shadow:
    0 0 10px rgba(255,215,0,1),
    0 0 20px rgba(255,215,0,.9),
    0 0 40px rgba(255,215,0,.7);
  transform: scale(1.05);
  outline: none;
}

/* =========================
   Two-column artwork layout
========================= */
.artwork-two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px){
  .artwork-two-col{ grid-template-columns: 1fr; }
}
.artwork-col-left,
.artwork-col-right{ min-width: 0; }

/* Video sizing to match image column */
.artwork-video{
  width: 100%;
  max-width: 500px; /* matches imgw-500 concept */
}
.artwork-video iframe,
.artwork-video video{
  width: 100%;
  aspect-ratio: 4 / 3; /* adjust if needed */
  height: auto;
  display: block;
}

/* =========================
   Welcoming video block
========================= */
.welcoming-video{
  text-align: center;
  margin: 2rem 0;
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 2rem;
}
.welcoming-video a{
  color: #FFD700;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(255,215,0,.7);
  animation: linkGlow 2s infinite alternate;
  transition: color .3s ease, text-shadow .3s ease, transform .3s ease;
}
.welcoming-video a:hover{
  color: #fff;
  text-shadow:
    0 0 10px rgba(255,215,0,1),
    0 0 20px rgba(255,215,0,.9),
    0 0 40px rgba(255,215,0,.8);
  transform: scale(1.05);
}

/* =========================
   Media grid (3-col responsive)
========================= */
.media-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  justify-items: center;
  margin: 2rem auto;
}
@media (max-width: 900px){
  .media-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .media-grid{ grid-template-columns: 1fr; }
}

.media-item{
  text-align: center;
  max-width: 260px; /* keeps the cell narrow even on huge screens */
}
.media-item img{
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  margin: 0 auto;
}
.media-item a:hover img{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.media-item figcaption{
  margin-top: .5rem;
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 1.15rem;
  color: #FFD700;
}
.media-item a:focus-visible img{
  outline: 2px solid #FFD700;
  outline-offset: 3px;
}

/* =========================
   Animations
========================= */
@keyframes goldGlow{
  from{ text-shadow: 0 0 6px rgba(255,215,0,.5); }
  to  { text-shadow: 0 0 14px rgba(255,215,0,.9); }
}
@keyframes linkGlow{
  from{ text-shadow: 0 0 6px rgba(255,215,0,.5); }
  to  { text-shadow: 0 0 16px rgba(255,215,0,.9); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}








