body {
    font-family: Arial, Helvetica, sans-serif;
    background: white;
    color: black;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
  }

  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
  }
  
  .navbar {
    display: inline-block;
    border: 1px solid black;
    margin: 20px auto;
    padding: 0;
    position: relative;
  }
  
  .navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .navbar li {
    border: 1px solid #000;
    padding: 3px 10px;
    margin: 2px;
  }
  
  .navbar a {
    text-decoration: none;
    color: blue;
    font-size: 14px;
  }
  
  /* --- Burger icon --- */
  .burger {
    width: 30px;
    height: 30px;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1001;
  }
  
  .burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: black;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  /* Animate to X */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
  }
  
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
  }
  
  /* --- Mobile nav overlay --- */
  @media (max-width: 768px) {
    .navbar {
      width: 100%;
      border: none;
    }
  
    .burger {
      display: flex;
      width: 40px;
      height: 40px;
      justify-content: center;
      align-items: center;
      position: absolute;
      right: 20px;
      top: 20px;
      z-index: 1001;
      background: none;
      border: none;
      cursor: pointer;
    }
  
    .burger span {
      width: 24px;
      height: 2px;
      background: black;
      transition: all 0.3s ease;
      transform-origin: center;
    }
  
    .burger.active span:nth-child(1) {
      transform: rotate(45deg);
      position: absolute;
    }
  
    .burger.active span:nth-child(2) {
      opacity: 0;
    }
  
    .burger.active span:nth-child(3) {
      transform: rotate(-45deg);
      position: absolute;
    }
  
    .navbar .nav-links {
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 100vw;
      background: white;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      transform: translateY(-100%);
      transition: transform 0.4s ease;
      z-index: 1000;
      padding-top: 50px; /* space for burger */
      padding-bottom: 20px;
      overflow-y: auto; /* enable scrolling */
      -webkit-overflow-scrolling: touch;
    }
  
    .navbar .nav-links.active {
      transform: translateY(0);
    }
  
    .navbar .nav-links li {
      width: 100%;
      text-align: center;
      padding: 12px 0;
      border: none;
      margin: 0;
    }
  
    .navbar .nav-links li a {
      font-size: 16px;
      font-weight: 500;
      color: blue;
      text-decoration: none;
    }
  
    .navbar ul:not(.nav-links) {
      display: none;
    }
  }

  

  .site-title {
    font-size: 48px;
    margin: 50px 0 30px;
  }
  
  .notice {
    color: #CC0000;
    font-size: 14px;
    margin-bottom: 50px;
  }
  
  .hover-image {
    position: relative;
    width: 100%;
    max-width: 300px;
  }
  
  .hover-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .hover-image:hover .hover-img {
    opacity: 1;
  }
  
  .hover-image:hover .default-img {
    opacity: 0;
  }
  
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 30px auto;
    max-width: 1000px;
  }
  
  .gallery div {
    max-width: 300px;
  }
  
  .gallery img,
  .gallery video {
    max-width: 100%;
    height: auto;
  }
  
  .caption {
    font-size: 12px;
    margin-top: 5px;
  }
  
  .scroll-finger {
    position: absolute;
    bottom: -70px; 
    left: 0;
    width: 40px;
    animation: fingerScroll 6s linear infinite;
    z-index: 1;
    pointer-events: none;
  }
  
  .scroll-finger img {
    width: 40px;
    height: auto;
  }
  
  @keyframes fingerScroll {
    0%   { left: 0; }
    50%  { left: calc(100% - 40px); }
    100% { left: 0; }
  }

  @media (max-width: 768px) {
    .scroll-finger {
      display: none;
    }
  }
  

  .footer-note {
    margin: 40px auto;
    padding: 0 20px;
    max-width: 850px;
    color: #CC0000;
    font-size: 13px;
  }

  .footer-note-home {
    display: none;
  }


/* FILMS PAGE */
.films-intro {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
  }
  
  .films-intro h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .films-intro p {
    font-size: 1rem;
    color: #666;
  }

  .films-grid-wrapper {
    /* display: flex;
    justify-content: center; */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* page edge padding */
  }
  
  
  .films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;  
    /* background-color: #444; */
  }
  
  @media (min-width: 768px) {
    .films-grid {
      grid-template-columns: repeat(2, 1fr); /* tablets = 2 per row */
  }
}
  
  @media (min-width: 1024px) {
    .films-grid {
      grid-template-columns: repeat(3, 1fr); /* desktops = 3 per row */
    }
  }
  
  .film-card {
    padding: 5px;
    background: #fff;
    margin: 0 auto;  
  }

  .film-card img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    display: block;
  }

  .film-card-image-wrapper {
    position: relative; /* add this line */
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    overflow: hidden;
  }
  
  
  .film-card-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  @media (max-width: 768px) {
    .film-card-image-wrapper {
      height: auto;           
      aspect-ratio: auto; 
      padding: 0;             
    }
  
    .film-card-image-wrapper img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  
    .film-card {
      padding: 10px 0; 
    }
  }
  
  .aspect-16-9 {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    display: block;
  }  
  
  .film-info {
    text-align: center;
    margin-top: 10px;
  }
  
  .film-info h2 {
    font-size: 0.8rem;
    margin: 2px 0;
  }
  
  .film-info p {
    font-size: 0.7rem;
    color: #444;
    margin: 0;
  }

  .film-card a {
    text-decoration: none;
    color: inherit; /* Optional: keeps the link text the same color as surrounding text */
  }
  
  .film-card a h2 {
    text-decoration: none;
    transition: text-decoration 0.2s ease;
  }
  
  .film-card a:hover h2 {
    text-decoration: underline;
  }

  /* Mobile-only image sizing */
@media (max-width: 768px) {
  .film-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .film-card {
    max-width: 100%;
  }

  .hover-image .hover-img {
    display: none; /* Optional: hides hover image on mobile if it's causing layout issues */
  }
}


  /* KG PAGE */
  .frameset-top img {
    max-width: 100%;
    height: auto;
    margin-top: 2.5em;
  }

  .frameset-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .frameset-nav a {
    text-decoration: none;
    color: blue;
    font-size: 14px;
    padding: 4px 10px;
    border: 1px solid black;
  }

  .frameset-main {
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
  }

  .press-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    box-sizing: border-box;
    padding: 0 1rem; /* Optional: adds spacing on small screens */
  }  
  
  .kg-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
  }
  
  /* gallery gets its own 2-column grid */
  .kg-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .kg-gallery figure {
    margin: 0;
    text-align: center;
  }
  
  .kg-gallery img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  .kg-gallery figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #FF00CC;
    font-weight: bold;
  }
  
  .screenings {
    text-align: center;
    font-size: 14px;
    align-self: start;
  }
  
  /* .screenings img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  } */

  .screenings img {
    width: 270px; /* or whatever size looks right */
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto; /* centers the image and adds spacing */
  }
  
  .screenings h2 {
    font-size: 18px;
    color: #FF00CC;
    margin-top: 0;
    padding-top: 0;
  }
  
  .screenings h3 {
    font-size: 12px;
    color: #FF00CC;
    margin-top: 20px;
  }
  
  .screening-info {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
  }

  @media (max-width: 768px) {
    .video-gallery {
      padding: 0 1rem; /* or increase to 1.5rem / 2rem as needed */
    }
  }
  
/* mobile responsive: stack gallery and screenings */
@media (max-width: 768px) {
  .kg-layout {
    grid-template-columns: 1fr;
  }

  .kg-gallery {
    grid-template-columns: 1fr;
  }
}
  

  /* KG */
  .kg-trailer {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
  }
  
  .kg-trailer h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .kg-trailer p {
    font-size: 13px;
    margin: 0.4em 0;
    line-height: 1.5;
  }
  
  .trailer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
  }
  
  .buy-option {
    width: 200px;
    font-size: 12px;
    color: #ff00ff;
  }
  
  .buy-option img {
    margin-top: 10px;
    width: 126px;
    height: auto;
  }
  
  .buy-option p {
    margin: 0.6em 0 0.4em;
    font-size: 13px;
  }
  
  .buy-option a {
    font-size: 11px;
    text-decoration: underline;
    color: blue;
  }
  
  .trailer-video {
    flex: 1;
    min-width: 300px;
  }
  
  
  .trailer-video video {
    max-width: 100%;
    height: auto;
  }
  
  .trailer-video p {
    font-size: 12px;
    color: #0000ff;
    margin-top: 0.4em;
    font-style: italic;
  }
  
  .trailer-video a {
    color: #0000ff;
  }

  .kg-dvd-info {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
  }
  
  .kg-dvd-info h2 {
    font-size: 18px;
    font-weight: bold;
  }
  
  .kg-dvd-info p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 0.5em;
  }
  
  .dvd-purchase-options {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
  }
  
  .dvd-option {
    width: 180px;
    text-align: center;
    font-size: 11px;
    color: #ff00ff;
  }
  
  .dvd-option img {
    margin: 10px auto;
    width: 126px;
    height: auto;
  }
  
  .dvd-option p {
    margin-top: 0.6em;
  }
  
  .dvd-option a {
    font-size: 11px;
    color: blue;
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .dvd-purchase-options {
      flex-direction: column;
      align-items: center;
    }
  
    .dvd-option {
      margin: 0 auto;
    }
  }  
  
  .trailer-video {
    flex: 1;
    min-width: 320px;
    text-align: center;
  }
  
  .trailer-video iframe {
    max-width: 100%;
  }
  
  .trailer-video p {
    font-size: 12px;
    color: #0000ff;
    margin-top: 5px;
    font-style: italic;
  }
  
  .dvd-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .dvd-section h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .dvd-section p {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  
  .dvd-item {
    margin-top: 20px;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 1em auto;
    border: none;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* COMMERCIAL */

  .commercial-gallery {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .commercial-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: stretch;
    margin-bottom: 4rem; 
  }

  @media (min-width: 640px) {
    .commercial-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 900px) {
    .commercial-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .commercial-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .commercial-item img {
    max-width: 400px;
    width: auto;
    height: 280px;
    object-fit: contain;
    display: block;
  }

  .commercial-meta {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .commercial-image-wrapper {
    width: 100%;
    height: 250px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
  }
  
  .commercial-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
  

  /* PRINTS */
  
  .prints-gallery {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  .page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .page-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .prints-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: stretch;
  }
  
  .print-item.full-width {
    grid-column: span 2;
    justify-self: center; 
  }
  
  .print-item.full-width img {
    width: 100%;
    height: 270px;
    display: block;
  }  

  .print-item.wide {
    grid-column: 1 / -1;
  }  

  .print-item.wide img {
    width: 100%;
    height: auto;
    max-width: 1000px; /* or whatever fixed max size you prefer */
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }  
  
  .print-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .print-item img {
    max-width: 400px;
    width: auto;
    height: 280px;
    object-fit: contain;
    display: block;
  }
  
  .print-meta {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .print-meta p {
    margin-top: 0;
  }
  
  
  .print-meta h2 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0.3em 0;
  }
  
  @media (min-width: 640px) {
    .prints-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 900px) {
    .prints-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  

  @media (max-width: 768px) {

    .print-item img {
      width: 100%;
      height: auto;
      display: block;
    }
  
    .print-item figcaption {
      padding: 0 1rem;
      text-align: center;
    }
  }

  @media (max-width: 768px) {
    .print-item {
      padding: 0 1rem;
      box-sizing: border-box;
    }
  
    .hover-wrapper {
      width: 100%;
    }
  
    .hover-wrapper img {
      width: 100%;
      height: auto;
      display: block;
    }
  }
  
  .print-detail img {
    height: 640px;       
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .back-link {
    text-align: center;
    margin: 1em 0;
  }
  
  /* .print-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 3em;
    text-align: center; 
  }
  
  .print-detail figure {
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .print-detail figcaption {
    margin-top: 0.5em;
    font-size: 1rem;
    font-weight: bold;
    text-align: center; 
    max-width: 90%;
  } */

  .print-detail {
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }
  
  .print-detail img {
    max-width: 100%;
    height: 550px;
    display: block;
    margin: 0 auto;
    background: #fff;
  }
  
  .print-detail figcaption {
    margin-top: 0.5em;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    max-width: 100%;
    line-height: 1.4;
  }

  @media (max-width: 768px) {
    .print-detail {
      padding: 2rem 1rem;
    }
  
    .print-detail figcaption {
      font-size: 1.1rem;
    }

    .print-detail img {
      height: auto;
    }
  }  
  
  .photo-carousel {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    gap: 1rem;
  }
  
  .carousel-frame {
    width: 500px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid white;
    padding: 10px;
    background-color: #fff;
  }

  .carousel-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .carousel-btn img {
    width: 70px;
    height: auto;
  }


  .carousel-controls {
    display: flex;
    justify-content: space-between;
    width: 350px; 
  }

  
  .books .carousel-frame {
    width: 800px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 4px solid white;
    padding: 10px;
    background-color: #fff;
  }  

  .carousel-frame img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .carousel-caption {
    margin-top: 0.5em;
    font-size: 0.9rem;
    color: #222;
    text-align: center;
    max-width: 100%;
  }
  
  .found-photos img {
    width: 85%;
  }

  .books img {
    width: auto;
    height: 600px;
  }

  .the-box {
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem; /* adds margin on sides for small screens */
    box-sizing: border-box;
  }
  
  .the-box img {
    margin-top: 1em;
    width: 100%;
    max-width: 675px;
    object-fit: contain;
    display: block;
  }  

  figure {
    margin: 0;
    text-align: center;
  }
  
  figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-style: italic;
  }

  @media (max-width: 768px) {
    .carousel-frame {
      width: 90vw;
    }
  
    .carousel-btn img {
      width: 60px;
    }

    .carousel-controls {
      display: flex;
      width: 300px; 
    }
  }

  .hover-swap .hover-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
  }
  
  /* All images stack in the same place */
  .hover-swap img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
  }
  
  /* Only show hover image on hover */
  .hover-swap .hover-img {
    opacity: 0;
    z-index: 1;
  }
  
  .hover-swap:hover .hover-img {
    opacity: 1;
    z-index: 2;
  }
  
  .hover-swap .main-img {
    z-index: 2;
  }
  
  
/* Shared block styling */
.media-block,
.video-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2em;
}

.media-block img,
.video-block video,
.video-block iframe {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain; 
}

/* Wide image */
.media-block.wide img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Caption styling */
figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #444;
  max-width: 700px;
  margin-bottom: 1rem;
}

/* Layout for 3 side-by-side figures */
.row-of-three,
.video-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 1em;
}

.row-of-three .media-block,
.video-row .video-block {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Responsive stacking */
@media (max-width: 768px) {
  .row-of-three,
  .video-row {
    flex-direction: column;
    align-items: center;
  }

  .row-of-three .media-block,
  .video-row .video-block {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .media-block img {
    max-width: 90%;
  }
}

.video-wrapper {
  width: 100%;
  padding: 0 1rem; 
  box-sizing: border-box;
}


.large-media-block {
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
}

.large-media-block img {
  width: 100%;
  max-height: 600px;
  display: block;
  object-fit: contain;
  border: none;
}

.large-media-block figcaption {
  margin-top: 0.5em;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .large-media-block {
    padding: 0 1rem;
  }

  .large-media-block img {
    max-width: 100%;
  }

  .large-media-block figcaption {
    font-size: 0.95rem;
  }
}


.media-block img {
  max-height: 320px;
  object-fit: contain; 
}

.essay-content {
  display: flex;
  flex-direction: column;
  max-width: fit-content;
  margin: auto;
  padding: 2em;
}

.video-block iframe {
  width: 100%;
  max-width: 100%;
  height: 320px;
}


/*  BOOKS */
.shop-options {
  margin-top: 3em;
  text-align: center;
}

.shop-title {
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 1em;
}

.shop-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.shop-item {
  max-width: 250px;
}

.shop-item img {
  width: 100%;
  height: 50%;
  margin-bottom: 1em;
}

.price-label {
  font-weight: bold;
  margin-bottom: 0.5em;
}


/* COMMERCIAL */
.video-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.video-item {
  flex: 1 1 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-item iframe,
.video-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: none;
}


.video-item img {
  width: 100%;
  height: auto;
}

.video-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.mini-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 1em;
}


@media (max-width: 768px) {
  .mini-gallery {
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .mini-gallery .top-row img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}


.top-row,
.bottom-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-row {
  justify-content: center;
}

.bottom-row {
  justify-content: center;
}

.mini-gallery img {
  height: 270px;
  width: auto;
  object-fit: contain;
}

video {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  background: #000;
}

.carousel-image {
  max-height: 500px; /* Adjust this to control the height */
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.carousel-track a {
  display: contents;
}

.book-carousel .carousel-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}

.book-carousel .carousel-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 100%;
}

.book-carousel #carouselImage {
  max-width: 100%;
  height: auto;
  display: block;
}

.contact-info {
  margin-top: 8em;
  padding: 2rem 1rem 1rem 1rem;
}

.intro {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem 1rem;
}

.intro-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.intro-row.reverse {
  flex-direction: row-reverse;
}

.intro-img {
  flex-shrink: 0;
  width: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.intro-text {
  flex: 1;
}

.intro .caption {
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-heading {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 2rem;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .intro-row,
  .intro-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .intro-img {
    width: 100%;
  }
}
