:root {
  --text: black;
  --background: white;
  --primary: #222;
  --secondary: #eda07f;
  --accent: #f6c243;
}

/* UNIVERSAL SETTINGS */
* {
  box-sizing: border-box;
  font-family: Hershey;
  /*background-color: var(--background);*/
}

#container {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
  background-color: var(--background);
  align-items: center !important;
}

#container a {
  color: var(--text);
  font-weight: bold;
  background-color: var(--background);
}

#header {
  width: 100%;
  background-color: var(--secondary);
  height: 150px;
  background-image: var(--header-image);
  background-size: cover;
  padding-top: 10%;
  padding-bottom: 5px;
}

@font-face {
  font-family: Hershey;
  src: url(Hershey-Noailles-Futura-Duplex-Bold.woff);
}

.main {
  margin-left: 50px;
  padding: 10px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}
/* container for film genres on landing page */
.film-genre-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  padding-top: 0.1rem; /* Further reduced spacing */
  padding-bottom: 0.1rem;
  margin-bottom: 0.1rem; /* Further reduced spacing */
}

/* ALL SECTION TITLES - HIGHLIGHTS, RECENT EVENTS, VOICES OF TRENTON, OUR FILMS */
.our-films-main-title,
h2.our-films-main-title {
  font-size: 1.8rem !important;
  font-weight: 900 !important;
  color: #222 !important;
  letter-spacing: 1px !important;
  margin-top: 2rem !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

/* NEW MAIN TITLE STYLING - Clean and consistent */
.main-title {
  font-size: 1.8rem !important;
  font-weight: 900 !important;
  color: #222 !important;
  letter-spacing: 1px !important;
  margin-top: 2rem !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

/* Override Bootstrap and make it super specific */
h2.main-title,
.main-title,
h2[class*="main-title"] {
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  color: #222 !important;
  letter-spacing: 1px !important;
  margin-top: 2rem !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

/* Override the film-genre-container h2 rule specifically */
.film-genre-container h2.main-title {
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  color: #222 !important;
  letter-spacing: 1px !important;
  margin-top: 2rem !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

/* Left-align the OUR FILMS title specifically */
.main-title-left {
  text-align: left !important;
}

/* Film category titles - smaller than main titles */
.film-category-title {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #222 !important;
  letter-spacing: 0.5px !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

/* Films introduction text - larger than regular paragraphs */
.films-intro-text {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
  color: #333 !important;
}

/* Past events link - small and subtle */
.past-events-link {
  font-size: 0.9rem !important;
  color: #666 !important;
  text-decoration: none !important;
  font-style: italic !important;
  transition: all 0.3s ease !important;
  padding: 6px 12px !important;
  border: 1px solid #ddd !important;
  border-radius: 20px !important;
  background-color: #fafafa !important;
  display: inline-block !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.past-events-link:hover {
  color: #222 !important;
  background-color: #f0f0f0 !important;
  border-color: #ccc !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
  transform: translateY(-1px) !important;
}

/* CODE FOR CARDS */
.testimonial-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Align cards from left to right */
  gap: 10px !important; /* Space between cards */
  width: auto;
}

.testimonial-card {
  border-radius: 16px;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 12px !important; /* Reduced from 20px */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.13);
  transition: 0.3s, box-shadow 0.3s, transform 0.3s;
  flex: 1 1 auto;
  margin: 8px auto; /* Slightly reduced margin */
  width: 240px; /* Reduced from 300px */
  min-height: auto;
  position: relative;
  overflow: hidden;
}
.testimonial-card:hover {
  background-color: #444;
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.18);
  transform: translateY(-6px) scale(1.03);
}

@media (max-width: 991px) {
  .testimonial-card-container {
    justify-content: flex-start; /* Align cards to the start on smaller screens */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
  }

  .testimonial-card {
    padding: 10px !important; /* Reduced from 20px */
    width: auto;
    max-width: 180px; /* Reduced from 250px */
    min-width: 0;
    min-height: auto;
  }
}
@media (max-width: 768px) {
  .testimonial-card {
    width: 140px;
    padding: 8px !important;
  }
}

/* On mouse-over, add a deeper shadow */
.testimonial-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
  flex: 1;
  width: 100%;
  color: #fff;
  font-weight: normal;
  font-size: 1.25rem;
  font-style: italic;
  background: transparent;
  border-radius: 10px;
  margin: 5px 0 10px 0;
  opacity: 0.92;
  transition: opacity 0.3s, filter 0.3s;
  filter: blur(0.5px);
}
.testimonial-card:hover .testimonial-quote {
  opacity: 1;
  filter: blur(0);
}

.avatar-block {
  display: flex;
  margin-top: 24px;
  width: 139px;
  max-width: 100%;
  align-items: flex-start;
  gap: 12px;
  justify-content: flex-start;
}

.avatar-image {
  aspect-ratio: 1;
  object-fit: contain;
  width: 40px;
  border-radius: 50%;
}

.avatar-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

.avatar-name {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.avatar-description {
  color: white;
  font-weight: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-image {
  /* background-color: #1e1e1e; */
  display: flex;
  margin: 0;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  justify-content: center;
  padding: 5px;
  object-fit: contain;
}

.film-container {
  display: flex;
  margin: auto;
  width: 100%;
  height: 500px;
  justify-content: center;
  padding: 5px;
  object-fit: contain;
}

.search-bar {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.filters {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.filters select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: var(--primary);
  color: var(--text);
}

.filters .dropdown-label {
  font-weight: bold;
  margin-right: 10px;
}

.btn {
  background-color: var(--accent);
  font-weight: bold;
  color: #222;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #444;
  color: #fff;
}

/* CSS for buttons on Browse Page */

.btn-group-toggle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.img-thumbnail {
  display: block;
  margin-top: -8px;
  width: auto;
  max-width: 270px !important;
  /* hover animation for video thumbnails */
  transition: transform 0.3s ease-in-out;
}
.img-thumbnail:hover {
  transform: scale(1.05);
  border: 2px solid var(--primary);
}

.in-line-image {
  display: inline-block;
  margin: 10px;
  width: 50%;
}
.grid-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 5px;
}
.resize {
  width: 150px;
  height: auto;
  text-align: left;
}

.about-us-paragraph {
  font-size: larger;
}

.about-us-paragraph a {
  color: var(--primary);
}
/* navbar */
.navbar {
  font-size: 16px;
}
.nav-link {
  font-size: 1rem;
}

.nav-item:hover {
  font-size: 22px;
}

.navbar-brand {
  max-height: 150px;
}

.navbar-custom {
  background-color: black;
}
.nav-link {
  color: var(--background) !important;
}

.scrolled-down {
  transform: translateY(-100%);
  transition: all 0.3s ease-in-out;
}
.scrolled-up {
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}

.film-body {
  background-color: white;
  padding: 10px;
  text-align: center;
  max-width: 50%;
  align-content: center;
  margin-right: auto;
  margin-left: auto;
}

/* mobile responsive */
@media (max-width: 768px) {
  .film-body {
    max-width: 90%;
    padding: 15px;
  }
}

.comment-section {
  background-color: #e7effd;
  border-radius: 8px;
}

.card {
  max-width: 100%;
  background-color: var(--primary) !important;
  color: var(--text);
}

.card:hover {
  background-color: var(--secondary) !important;
}

.comment-thumbnail {
  display: block;
  width: auto;
}

/* horizontal-scrollable boxes*/
.horizontal-scrollable > .row {
  overflow-x: auto;
  white-space: nowrap;
}

.horizontal-scrollable > .row > .col-xs-4 {
  display: inline-block;
  float: none;
}

/* Horizontal Scroll Styles */
.horizontal-scroll-container {
  position: relative;
  width: 100%;
  overflow: visible;
  min-height: 180px;
  margin-bottom: 10px;
  padding: 0;
}

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  gap: 20px;
  padding: 10px 0;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.horizontal-scroll .testimonial-card {
  flex: 0 0 auto;
  width: 300px;
  margin: 0;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease;
  color: var(--accent);
  font-size: 1.2rem;
  padding: 0.5rem;
}

.scroll-btn:hover {
  background: transparent;
  color: var(--secondary);
  transform: translateY(-50%);
}

.scroll-left {
  left: -18px;
}

.scroll-right {
  right: -18px;
}

.scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scroll-btn {
    width: auto;
    height: auto;
    font-size: 1rem;
    padding: 0.4rem;
  }
  
  .horizontal-scroll .testimonial-card {
    width: 250px;
  }
}

/* Netflix-style Film Cards - Fixed width to prevent shrinking */
.film-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.film-row::-webkit-scrollbar {
  display: none;
}

.film-card {
  position: relative;
  width: 250px;
  height: 140px;
  min-width: 250px; /* Prevent shrinking */
  flex-shrink: 0; /* Prevent flex shrinking */
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  background: var(--primary);
  margin: 0;
  padding: 0;
  transition: transform 0.35s cubic-bezier(.23,1.02,.32,1), box-shadow 0.35s cubic-bezier(.23,1.02,.32,1), z-index 0.2s;
  z-index: 1;
}
.film-card:hover {
  transform: scale(1.13) translateY(-12px);
  z-index: 10;
  box-shadow: 0 12px 32px 0 rgba(0,0,0,0.45);
}
.film-card .img-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.film-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent; /* Removed dark gradient */
  opacity: 1 !important;
  transition: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  overflow: visible !important;
  border-radius: 0;
  z-index: 2;
  pointer-events: auto !important;
}
.film-card:hover .film-overlay {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.film-info {
  color: #fff;
  text-align: center;
  width: 100%;
  z-index: 3;
  box-sizing: border-box;
  padding: 0 !important;
  overflow: visible !important;
  position: relative;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  gap: 0.7em;
}
.film-title {
  font-family: 'Montserrat', 'Hershey', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.7em 0 0 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  padding: 0 !important;
  letter-spacing: 0.5px;
  text-align: center;
  pointer-events: auto;
}
.film-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  font-size: 2.2rem;
  color: #fff;
  background: rgba(0,0,0,0.38);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin-bottom: 0.25em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  border: 2px solid #f6c243;
  /* Remove absolute positioning */
  position: static;
  top: unset;
  left: unset;
  transform: none;
  z-index: 10;
  pointer-events: auto;
}
@media (max-width: 900px) {
  .film-play-btn {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    margin-bottom: 0.18em;
  }
}
.film-title {
  font-size: 0.82rem;
  margin-top: 1.2em;
}
@media (max-width: 900px) {
  .film-title {
    font-size: 0.7rem;
    margin-top: 1em;
  }
}
.film-description {
  font-family: 'Montserrat', 'Hershey', sans-serif;
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.93;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  line-height: 1.3;
  color: #eee;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  padding: 0 !important;
}

/* Enhanced scroll buttons for film sections */
.horizontal-scroll-container .scroll-btn {
  background: transparent !important;
  color: var(--accent) !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  font-size: 1.2rem !important;
  opacity: 1 !important;
  z-index: 100 !important;
  transition: color 0.2s ease;
  padding: 0.5rem !important;
}
.horizontal-scroll-container .scroll-btn:hover {
  background: transparent !important;
  color: var(--secondary) !important;
  box-shadow: none !important;
  border: none !important;
}
.horizontal-scroll-container .scroll-left,
.horizontal-scroll-container .scroll-right {
  top: 50% !important;
  transform: translateY(-50%) !important;
}
@media (max-width: 900px) {
  .horizontal-scroll-container .scroll-btn {
    width: auto !important;
    height: auto !important;
    font-size: 1rem !important;
    padding: 0.4rem !important;
  }
}

/* Film genre container styling */
.film-genre-container h2 {
  color: var(--text);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Remove extra margin between film sections */
.film-row + .film-genre-container {
  margin-top: 0.5rem !important;
}

/* Responsive film cards */
@media (max-width: 1200px) {
  .film-card {
    width: 200px;
    height: 120px;
    min-width: 200px; /* Prevent shrinking */
    flex-shrink: 0;
  }
}
@media (max-width: 900px) {
  .film-card {
    width: 180px;
    height: 108px;
    min-width: 180px; /* Prevent shrinking */
    flex-shrink: 0;
  }
  .film-row {
    gap: 12px;
    padding: 0;
  }
  .our-films-title {
    font-size: 1.3rem;
  }
}
@media (max-width: 600px) {
  .film-card {
    width: 160px;
    height: 96px;
    min-width: 160px; /* Prevent shrinking */
    flex-shrink: 0;
  }
  .film-row {
    gap: 10px;
    padding: 0;
  }
  .our-films-title {
    font-size: 1.1rem;
  }
  .horizontal-scroll-container .scroll-btn {
    width: auto;
    height: auto;
    font-size: 0.9rem;
    padding: 0.3rem;
  }
}
@media (max-width: 480px) {
  .film-card {
    width: 140px;
    height: 84px;
    min-width: 140px; /* Prevent shrinking */
    flex-shrink: 0;
  }
  .film-row {
    gap: 8px;
    padding: 0;
  }
}
@media (max-width: 360px) {
  .film-card {
    width: 120px;
    height: 72px;
    min-width: 120px; /* Prevent shrinking */
    flex-shrink: 0;
  }
  .film-row {
    gap: 6px;
    padding: 0;
  }
}

/* Recent Highlights Card Styles */
.horizontal-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 16px;
  justify-content: flex-start;
}
.testimonial-card-container.horizontal-scroll {
  justify-content: flex-start;
}
.highlight-card {
  flex: 0 0 320px;
  width: 320px;
  height: 380px;
  border: 6px solid #FFB300; /* Darker orange-yellow border */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  background: #fff;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}
.highlight-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.highlight-card-overlay {
  width: 100%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  padding: 18px 16px 16px 16px;
  border-radius: 0 0 8px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.highlight-card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 8px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.highlight-card-blurb {
  font-size: 1rem;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .highlight-card {
    width: 220px;
    height: 260px;
  }
}
@media (max-width: 600px) {
  .highlight-card {
    width: 140px;
    height: 180px;
  }
  .highlight-card-title {
    font-size: 1rem;
  }
  .highlight-card-blurb {
    font-size: 0.8rem;
  }
}

/* New Recent Highlights Card Styles */
.horizontal-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 16px;
}
/* Final Recent Highlights Card Styles */
.highlight-card-v2 {
  flex: 0 0 260px;
  width: 260px;
  height: 320px;
  background: #FFB300;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 8px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.highlight-card-v2:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}
.highlight-card-v2-img-inset {
  height: 65%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  background: transparent;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.highlight-img-inset {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: block;
}
.highlight-card-v2-text {
  height: 35%;
  width: 100%;
  background: transparent;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 12px 10px 8px 10px;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.highlight-card-v2-blurb {
  font-size: 0.85rem;
  line-height: 1.3;
  overflow: visible;
  word-wrap: break-word;
  hyphens: auto;
  margin: 0;
  padding: 0;
  color: #111;
  font-weight: normal;
}
.highlight-card-v2-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}
.highlight-card-v2-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 24px;
  background: #eda07f;
  border-radius: 4px;
  margin-right: 10px;
}
.recent-highlights-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #222;
  letter-spacing: 1px;
  margin-top: 0.1rem; /* Minimal space above title */
  margin-bottom: 0; /* No space below title */
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .highlight-card-v2 {
    width: 180px;
    height: 220px;
  }
  .highlight-img-inset {
    border-radius: 8px;
  }
  .highlight-card-v2-blurb {
    font-size: 0.75rem;
    line-height: 1.2;
  }
}
@media (max-width: 600px) {
  .highlight-card-v2 {
    width: 120px;
    height: 140px;
  }
  .highlight-card-v2-title {
    font-size: 0.85rem;
  }
  .highlight-card-v2-blurb {
    font-size: 0.65rem;
    line-height: 1.2;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
  }
  .highlight-img-inset {
    border-radius: 5px;
  }
}

/* Event Card Styles (from about page) */
.events-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) transparent;
  background: transparent;
}

.events-scroll::-webkit-scrollbar {
  height: 6px;
}

.events-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.events-scroll::-webkit-scrollbar-thumb {
  background-color: var(--secondary);
  border-radius: 3px;
}

.event-card {
  width: 320px;
  height: 450px;
  background: #e8e8e8;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.event-image {
  width: calc(100% - 20px);
  height: 280px;
  object-fit: contain;
  background: #e8e8e8;
  flex-shrink: 0;
  margin: 10px;
}

.event-content {
  padding: 20px;
  background: #e8e8e8;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 170px;
  overflow: visible;
}

.event-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
  line-height: 1.3;
}

.event-description {
  font-size: 14px;
  color: #666666;
  line-height: 1.4;
  flex: 1;
}

.event-link {
  display: inline-block;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  text-align: center;
  width: fit-content;
}

.event-link:hover {
  background-color: #0056b3;
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {
  .event-card {
    width: 280px;
    height: 400px;
  }
  
  .event-image {
    height: 240px;
  }
  
  .event-content {
    min-height: 160px;
  }
  
  .event-title {
    font-size: 14px;
  }
  
  .event-description {
    font-size: 12px;
  }
  
  .event-link {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media (max-width: 600px) {
  .event-card {
    width: 240px;
    height: 350px;
  }
  
  .event-image {
    height: 200px;
  }
  
  .event-content {
    min-height: 150px;
    padding: 15px;
  }
  
  .event-title {
    font-size: 13px;
  }
  
  .event-description {
    font-size: 11px;
  }
  
  .event-link {
    font-size: 10px;
    padding: 5px 10px;
  }
}

/* Highlight Event Card Styles (same structure as event-card but with yellow theme) */
.highlight-event-card {
  width: 320px;
  height: 450px;
  background: #FFB300;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.highlight-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.highlight-event-image {
  width: calc(100% - 20px);
  height: 280px;
  object-fit: cover;
  background: #FFB300;
  flex-shrink: 0;
  margin: 10px;
}

.highlight-event-content {
  padding: 20px;
  background: #FFB300;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 170px;
  overflow: visible;
}

.highlight-event-description {
  font-size: 14px;
  color: #111;
  line-height: 1.4;
  flex: 1;
  font-weight: normal;
}

@media (max-width: 768px) {
  .highlight-event-card {
    width: 280px;
    height: 400px;
  }
  
  .highlight-event-image {
    height: 240px;
  }
  
  .highlight-event-content {
    min-height: 160px;
  }
  
  .highlight-event-description {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .highlight-event-card {
    width: 240px;
    height: 350px;
  }
  
  .highlight-event-image {
    height: 200px;
  }
  
  .highlight-event-content {
    min-height: 150px;
    padding: 15px;
  }
  
  .highlight-event-description {
    font-size: 11px;
  }
}

/* Voice Event Card Styles (same structure as event-card but with original testimonial theme) */
.voice-event-card {
  width: 320px;
  height: 450px;
  background: var(--primary);
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.voice-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.voice-event-image {
  width: calc(100% - 20px);
  height: 280px;
  object-fit: cover;
  background: var(--primary);
  flex-shrink: 0;
  margin: 10px;
}

.voice-event-content {
  padding: 20px;
  background: var(--primary);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 170px;
  overflow: visible;
}

.voice-event-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.3;
}

.voice-event-quote {
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
  flex: 1;
  font-style: italic;
}

/* Clickable voice card styles */
.voice-event-card.clickable {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.voice-event-card.clickable:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  background-color: #333;
}

.voice-event-card.clickable:active {
  transform: translateY(-4px);
}

/* Film link indicator */
.voice-film-link {
  font-size: 12px;
  color: var(--secondary);
  font-weight: bold;
  margin-top: 8px;
  padding: 4px 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s ease;
}

.voice-event-card.clickable:hover .voice-film-link {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--accent);
}

@media (max-width: 768px) {
  .voice-event-card {
    width: 280px;
    height: 400px;
  }
  
  .voice-event-image {
    height: 240px;
  }
  
  .voice-event-content {
    min-height: 160px;
  }
  
  .voice-event-name {
    font-size: 14px;
  }
  
  .voice-event-quote {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .voice-event-card {
    width: 240px;
    height: 350px;
  }
  
  .voice-event-image {
    height: 200px;
  }
  
  .voice-event-content {
    min-height: 150px;
    padding: 15px;
  }
  
  .voice-event-name {
    font-size: 13px;
  }
  
  .voice-event-quote {
    font-size: 11px;
  }
}

/* Event Ticker Styles */
.event-ticker-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7; /* subtle light gray */
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  max-width: 1200px;
  width: 95vw;
  overflow: hidden;
}
.event-ticker-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;
  width: 90vw;
  max-width: 1100px;
  padding: 0.5rem 0;
}
.event-ticker-item {
  white-space: nowrap;
  background: #fff;
  color: #222;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  margin: 0 0.2rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid #ececec;
  transition: all 0.3s ease;
}

.event-ticker-item.clickable {
  cursor: pointer;
}

.event-ticker-item.clickable:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.event-ticker-link {
  margin-left: 0.7rem;
  color: var(--accent);
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s;
}
.event-ticker-link:hover {
  color: var(--primary);
}

/* Event details styling */
.event-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.event-details strong {
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
}
.event-ticker-btn {
  background: var(--accent);
  color: #222;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1.3rem;
  cursor: pointer;
  margin: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.event-ticker-btn:hover {
  background: #fff8e1;
  color: var(--accent);
}
@media (max-width: 600px) {
  .event-ticker-scroll {
    width: 95vw;
    gap: 1rem;
  }
  .event-ticker-item {
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
  }
  .event-ticker-btn {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
  }
}

.hero-bg-section {
  background: #111;
  padding: 2rem 0 1.5rem 0;
  width: 100%;
}
.event-ticker-margin {
  margin: 1.5rem auto 1.5rem auto;
  max-width: 950px;
}
@media (max-width: 600px) {
  .hero-bg-section {
    padding: 1rem 0 1rem 0;
  }
  .event-ticker-margin {
    margin: 1rem 0 1rem 0;
    max-width: 100vw;
  }
}

/* VOICES OF TRENTON Testimonial Card v2 Styles */
.testimonial-card-v2 {
  flex: 0 0 240px;
  width: 240px;
  height: 320px;
  background: var(--primary);
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 8px;
  transition: box-shadow 0.3s, transform 0.3s;
  color: #fff;
}
.testimonial-card-v2:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}
.testimonial-card-v2-img-inset {
  height: 60%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  background: transparent;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.testimonial-img-inset {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensure full image is visible */
  border-radius: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: block;
}
.testimonial-card-v2-text {
  height: 40%;
  width: 100%;
  background: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 12px 10px 8px 10px;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}
.testimonial-card-v2-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}
.testimonial-card-v2-quote {
  font-size: 0.85rem;
  line-height: 1.3;
  color: #fff;
  opacity: 0.92;
  margin-bottom: 0;
  word-break: break-word;
}
@media (max-width: 900px) {
  .testimonial-card-v2 {
    width: 160px;
    height: 200px;
  }
  .testimonial-img-inset {
    border-radius: 8px;
  }
}
@media (max-width: 600px) {
  .testimonial-card-v2 {
    width: 110px;
    height: 120px;
  }
  .testimonial-card-v2-name {
    font-size: 0.85rem;
  }
  .testimonial-card-v2-quote {
    font-size: 0.7rem;
  }
  .testimonial-img-inset {
    border-radius: 5px;
  }
}

.film-duration {
  position: absolute;
  top: 10px;
  right: 16px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 12;
  pointer-events: none;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
@media (max-width: 900px) {
  .film-duration {
    font-size: 0.75rem;
    padding: 2px 7px;
    top: 6px;
    right: 8px;
  }
}

.our-films-title {
  font-size: 0.95rem !important;
  margin-bottom: 0.05rem !important;
  margin-top: 0.05rem !important;
}
.film-genre-container h2 {
  font-size: 0.85rem !important;
  margin-bottom: 0.05rem;
  margin-top: 0.05rem;
}
.about-us-paragraph {
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
  margin-top: 0.15rem;
}
.film-title {
  font-size: 0.6rem !important;
  margin-top: 0.5em !important;
}
.film-description {
  font-size: 0.6rem !important;
}
.film-duration {
  font-size: 0.6rem !important;
  padding: 1px 4px !important;
  top: 4px !important;
  right: 4px !important;
}

/* Floating Contact Us Icon - Updated for smaller size and bounce */
.floating-contact-icon {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #f6c243;
  color: #222;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  animation: bounce 1.4s infinite;
}
.floating-contact-icon:hover {
  background: #eda07f;
  color: #fff;
  box-shadow: 0 6px 18px rgba(246,194,67,0.25);
  transform: scale(1.12);
}
@media (max-width: 600px) {
  .floating-contact-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    bottom: 10px;
    right: 10px;
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-8px);
  }
  40% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(-4px);
  }
  80% {
    transform: translateY(0);
  }
}

.footer, .footer span {
  font-size: 0.85rem;
}
@media (max-width: 600px) {
  .footer, .footer span {
    font-size: 0.7rem;
  }
}

/* --- Ensure 5 film cards per row, consistent size --- */
@media (min-width: 900px) {
  .film-row {
    width: 100%;
    max-width: 1250px;
    min-width: 0;
    margin: 0 auto;
    gap: 20px;
    padding: 0;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
  }
  .film-card {
    flex: 0 0 240px;
    width: 240px;
    height: 140px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}

.film-nav-btns {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 0.2rem;
}
.film-nav-btns .scroll-btn {
  position: static;
  top: unset;
  left: unset;
  right: unset;
  transform: none;
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  width: auto !important;
  height: auto !important;
  font-size: 1.2rem !important;
  background: transparent !important;
  color: var(--accent) !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none;
  opacity: 1 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  clip-path: none;
  padding: 0.5rem;
}
.film-nav-btns .scroll-btn:hover {
  background: transparent !important;
  color: var(--secondary) !important;
  box-shadow: none;
}

@media (min-width: 900px) {
  .testimonial-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .testimonial-card-container .img-thumbnail {
    flex: 0 0 260px;
    width: 260px !important;
    height: 155px !important;
    object-fit: cover;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}

.horizontal-scroll-container,
.testimonial-card-container.horizontal-scroll {
  justify-content: flex-start !important;
}

.horizontal-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 16px;
  justify-content: flex-start !important;
  align-items: stretch;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.testimonial-card-container.horizontal-scroll {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start !important;
  align-items: stretch;
  gap: 20px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.highlight-card-v2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 900px) {
  .horizontal-scroll-container {
    gap: 16px;
    padding-bottom: 10px;
  }
  .testimonial-card-container.horizontal-scroll {
    gap: 12px;
  }
}

/* iPhone-specific improvements */
@media (max-width: 480px) {
  .film-card {
    width: 140px;
    height: 84px;
    min-width: 140px; /* Prevent shrinking */
    flex-shrink: 0;
  }
  .film-row {
    gap: 8px;
  }
  .recent-highlights-title {
    font-size: 1.8rem;
  }
  .our-films-main-title {
    font-size: 1.8rem;
  }
  .film-genre-container h2 {
    font-size: 1.2rem;
  }
}
@media (max-width: 600px) {
  .horizontal-scroll-container {
    gap: 8px;
    padding-bottom: 6px;
  }
  .testimonial-card-container.horizontal-scroll {
    gap: 6px;
  }
}

.event-date {
  color: #666;
  font-size: 0.85rem;
  font-style: italic;
}

.event-location {
  color: #666;
  font-size: 0.85rem;
}

/* Learn More button styling */
.learn-more-btn {
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 8px;
  transition: background 0.3s ease;
}

.learn-more-btn:hover {
  background: var(--primary);
}

/* Pure text styling - no background */
.pure-text {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #222 !important;
}

/* Centered text styling */
.centered {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
}
