  body {
    min-height: max(884px, 100dvh);
  }

  .largerFont {
    font-size: 1.8rem !important;
  }

  .listStyle {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  /* Hero image sizing: default small, ~50vh on viewports >=480px */
  .hero-image {
    height: 10rem;
    background-position: center;
    width: 100%;
  }

  /* Event card image: 80vh below 480px, 50vh above */
  .event-card-image {
    height: auto;
    background-position: center;
    width: 100%;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  /* Photo Gallery Styles */
  .gallery-image {
    height: 400px;
    object-fit: cover;
    width: 100%;
    cursor: pointer;
    border-radius: 0.5rem;
  }

  .carousel-item img {
    max-height: 80vh;
    object-fit: contain;
    width: 100%;
  }

  .thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .thumbnail:hover {
    transform: scale(1.05);
  }

  .thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  .fullscreen-modal {
    background-color: rgba(0, 0, 0, 0.95);
  }

  .fullscreen-modal .modal-dialog {
    max-width: 95vw;
    margin: 1.75rem auto;
  }

  .fullscreen-modal .carousel-control-prev,
  .fullscreen-modal .carousel-control-next {
    width: 10%;
    background-color: transparent !important;
  }

  .fullscreen-modal .carousel-control-prev-icon,
  .fullscreen-modal .carousel-control-next-icon {
    filter: brightness(0) invert(1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    padding: 1rem !important;
  }

  .fullscreen-modal .carousel-control-prev:hover .carousel-control-prev-icon,
  .fullscreen-modal .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.2) !important;
  }

  .year-section {
    scroll-margin-top: 100px;
  }

  /* Custom class for menu title responsive sizing */
  .menu-title-responsive {
    font-size: 1.25rem;
  }

  /* Ensure eventDetails grid stacks on small screens and is two columns at >=480px */
  @media (min-width: 480px) {
    .hero-image {
      height: 50vh;
      width: 100%;
    }

    .one-third {
      width: 33.333%;
      flex: 0 0 33.333%;
    }

    .event-card-image {
      height: 50vh;
      width: 100%;
    }

    #eventDetails>.grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #additionalInfo>.grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hero-title {
      font-size: 5rem;
    }
  }

  @media (max-width: 816px) {
    .largerFont {
      font-size: 1.2rem !important;
    }

    .listStyle {
      font-size: 1rem;
      line-height: 1.6rem;
    }
  }

  @media (max-width: 660px) {
    .largerFont {
      font-size: 1.1rem !important;
    }

    .listStyle {
      font-size: 1.0rem;
      line-height: 1.4rem;
    }
  }

  @media (max-width: 480px) {
    .listStyle {
      font-size: 1rem;
      line-height: 2rem;
    }

    #eventDetails>.grid {
      grid-template-columns: 1fr !important;
    }

    #additionalInfo>.grid {
      grid-template-columns: 1fr !important;
    }

    .largerFont {
      font-size: 1.4rem !important;
    }
  }

  @media (max-width: 767px) {
    .menu-title-responsive {
      font-size: 0.95rem !important;
    }
  }

  @media (max-width: 1200px) {
    .listStyle {
      font-size: 1.1rem;
      line-height: 2rem;
    }
  }

  /* Bootstrap Orange Theme Override */
  :root {
    --bs-primary: #ff6b00;
    --bs-primary-rgb: 255, 107, 0;
    --bs-btn-bg: #ff6b00;
    --bs-btn-border-color: #ff6b00;
    --bs-btn-hover-bg: #e65f00;
    --bs-btn-hover-border-color: #e65f00;
    --bs-btn-active-bg: #cc5500;
    --bs-btn-active-border-color: #cc5500;
  }

  .btn-primary {
    background-color: #ff6b00 !important;
    border-color: #ff6b00 !important;
  }

  .btn-primary:hover {
    background-color: #e65f00 !important;
    border-color: #e65f00 !important;
  }

  .btn-primary:active,
  .btn-primary:focus {
    background-color: #cc5500 !important;
    border-color: #cc5500 !important;
  }

  .text-primary {
    color: #ff6b00 !important;
  }

  .bg-primary {
    background-color: #ff6b00 !important;
  }

  .border-primary {
    border-color: #ff6b00 !important;
  }

  .bg-primary.bg-opacity-20 {
    background-color: rgba(255, 107, 0, 0.2) !important;
  }

  .bg-primary.bg-opacity-75 {
    background-color: rgba(255, 107, 0, 0.75) !important;
  }

  /* Hero section background image */
  .hero-section-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/ManorHouseSketch.jpg');
    background-size: cover;
    background-position: center;
    min-height: 400px;
  }

  /* About section hero image */
  .about-hero-image {
    background-image: url('../images/DroneView.jpg');
    background-size: cover;
    background-position: center;
  }

  /* Event gallery background image */
  .event-gallery-bg {
    background-image: url('../images/MVAgusta.png');
    background-size: cover;
    background-position: center;
  }

  /* Ensure event features card height fits content on all screen sizes */
  .event-features-card.event-card-image {
    height: auto !important;
    min-height: auto !important;
  }

  /* Carousel indicator styling for photo gallery */
  .carousel-indicators [data-bs-target] {
    background-color: #ff6b00 !important;
    opacity: 0.3 !important;
  }

  .carousel-indicators .active {
    opacity: 1 !important;
  }
  /* Cookie banner z-index to ensure it appears on top */
  .cookie-banner {
    z-index: 9999 !important;
  }

  /* Center cookie banner content on large screens */
  .cookie-banner-content {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
  }  