.news-archive-list .card {
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
}

.news-archive-list .card-img-top.card-img-top__large {
  border-radius: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
}

.news-archive-list .card-img-top.card-img-top__large .ratio,
.news-archive-list .card-img-top.card-img-top__large img {
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  display: block;
}

.card-img-top.card-img-top__large {
  padding: 0 !important;
}

/* Southern Spirit CMS Stories Grid Upgrade */
.news-archive-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1.5rem;
  margin: 0 auto 2.5rem auto;
  padding: 0;
}

.news-archive-list .card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: none;
  background: #fff;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.news-archive-list .card:hover {
  box-shadow: 0 6px 24px rgba(176, 30, 32, 0.13);
  transform: translateY(-2px) scale(1.02);
}

.news-archive-list .card-img-top__large {
  min-height: 180px;
  background: #f7f8fa;
  border-bottom: 1px solid #eee;
}

.news-archive-list .card-title {
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0.5rem 0 0.2rem 0;
}

.news-archive-list .card-text {
  color: #555;
  font-size: 1rem;
  margin: 0.5rem 0 0.5rem 0;
}

.news-archive-list .btn {
  margin-top: 0.7rem;
}

@media (max-width: 1200px) {
  .news-archive-list .card {
    width: 46% !important;
    min-width: 280px;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .news-archive-list {
    gap: 1.2rem 0.7rem;
  }

  .news-archive-list .card {
    width: 98vw !important;
    min-width: 0;
    max-width: 100vw;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .news-archive-list {
    gap: 0.7rem 0;
  }

  .news-archive-list .card {
    width: 100vw !important;
    min-width: 0;
    max-width: 100vw;
    margin: 0 auto;
  }

  .news-archive-list .card-img-top__large {
    min-height: 110px;
  }
}

/* Southern Spirit Articles Grid (2026) */
.southernspirit-articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 0 auto 2rem auto;
  max-width: 1100px;
}

.southernspirit-articles-grid .story-listItem {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1.2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: box-shadow 0.18s, transform 0.18s;
}

.southernspirit-articles-grid .story-listItem:hover {
  box-shadow: 0 6px 24px rgba(176, 30, 32, 0.13);
  transform: translateY(-2px) scale(1.02);
}

.southernspirit-articles-grid img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.southernspirit-articles-grid .story-title {
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0.5rem 0 0.2rem 0;
  text-align: center;
}

.southernspirit-articles-grid .story-description {
  color: #555;
  font-size: 1rem;
  margin: 0.5rem 0 0.5rem 0;
  text-align: center;
}

.southernspirit-articles-grid .btn {
  margin-top: 0.7rem;
}

@media (max-width: 900px) {
  .southernspirit-articles-grid {
    gap: 1rem;
    max-width: 98vw;
  }

  .southernspirit-articles-grid img {
    max-width: 98vw;
    height: 160px;
  }
}

@media (max-width: 600px) {
  .southernspirit-articles-grid {
    gap: 0.7rem;
    padding: 0.2rem 0 0.7rem 0;
  }

  .southernspirit-articles-grid img {
    height: 110px;
    border-radius: 8px;
  }
}

/* Add left and right margin to section-card-row for consistent spacing */
.section-card-row {
  margin-left: 1rem;
  margin-right: 1rem;
}

/* Add left and right margin to nav-dropdown for consistent spacing */
.nav-dropdown {
  margin-left: 1rem;
  margin-right: 1rem;
}

/* Add left and right margin to all main event sections for better spacing */
.container-registration,
.container-schedule {
  margin-left: 1rem;
  margin-right: 1rem;
}

/* Modern Mobile-First Gallery Masonry */
.gallery-modern-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  padding: 0.5rem 0 0.5rem 0;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .gallery-modern-masonry {
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
  }
}

@media (min-width: 1000px) {
  .gallery-modern-masonry {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}

.gallery-modern-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s;
  cursor: pointer;
  padding: 0.25rem;
}

.gallery-modern-item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(176, 30, 32, 0.13);
}

.gallery-modern-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: block;
  transition: box-shadow 0.18s;
}

@media (max-width: 600px) {
  .gallery-modern-item img {
    height: 120px;
    border-radius: 10px;
  }
}

/* Commissioning 2026 Gallery: Modern 2-Column Responsive Grid */
.comm26-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0.5rem 0 1.2rem 0;
  justify-items: center;
  align-items: stretch;
  background: none;
  overflow-x: hidden;
}

.comm26-gallery-grid .comm26-scroll-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  transition: transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s;
  cursor: pointer;
}

.comm26-gallery-grid .comm26-scroll-item:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(176, 30, 32, 0.13);
}

.comm26-gallery-grid .comm26-scroll-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: block;
}

@media (max-width: 900px) {
  .comm26-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .comm26-gallery-grid .comm26-scroll-item img {
    max-width: 98vw;
    height: 160px;
  }
}

@media (max-width: 600px) {
  .comm26-gallery-grid {
    gap: 0.7rem;
    padding: 0.2rem 0 0.7rem 0;
  }

  .comm26-gallery-grid .comm26-scroll-item img {
    height: 110px;
    border-radius: 8px;
  }
}

/* Commissioning 2026 Gallery: Modern Horizontal Scroll & Modal */
.comm26-gallery-scroll-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
}

.comm26-gallery-scroll-row::-webkit-scrollbar {
  height: 8px;
  background: #f7f8fa;
}

.comm26-gallery-scroll-row::-webkit-scrollbar-thumb {
  background: #c8102e;
  border-radius: 4px;
}

.comm26-gallery-scroll-row .comm26-scroll-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  transition: transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s;
  cursor: pointer;
}

.comm26-gallery-scroll-row .comm26-scroll-item:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(176, 30, 32, 0.13);
}

.comm26-gallery-scroll-row .comm26-scroll-item img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: block;
}

@media (max-width: 900px) {
  .comm26-gallery-scroll-row {
    gap: 10px;
    padding: 6px 0 14px 0;
  }

  .comm26-gallery-scroll-row .comm26-scroll-item img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
  }
}

@media (max-width: 600px) {
  .comm26-gallery-scroll-row {
    gap: 7px;
    padding: 3px 0 8px 0;
  }

  .comm26-gallery-scroll-row .comm26-scroll-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
  }
}

/* Modal/Lightbox Styles */
#comm26-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  transition: background 0.3s;
}

#comm26-lightbox.active {
  display: flex;
}

#comm26-lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: #fff;
}

#comm26-lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  padding: 12px 18px;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  color: #c8102e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  opacity: 0.92;
}

#comm26-lightbox button:active {
  background: #c8102e;
  color: #fff;
}

#comm26-close {
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  padding: 8px 12px;
  border-radius: 8px;
}

#comm26-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

#comm26-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* Modern Responsive Gallery for 2026 */
.comm26-gallery-responsive {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  padding: 0.5rem 0 1.2rem 0;
  justify-items: center;
  align-items: stretch;
  background: none;
}

.comm26-gallery-responsive .comm26-scroll-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  transition: transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s;
  cursor: pointer;
}

.comm26-gallery-responsive .comm26-scroll-item:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(176, 30, 32, 0.13);
}

.comm26-gallery-responsive .comm26-scroll-item img {
  width: 100%;
  max-width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: block;
}

@media (max-width: 900px) {
  .comm26-gallery-responsive {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 1.2rem 0;
  }

  .comm26-gallery-responsive .comm26-scroll-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    min-width: 120px;
    max-width: 140px;
    padding: 0.25rem 0.1rem;
  }

  .comm26-gallery-responsive .comm26-scroll-item img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    min-width: 100px;
    border-radius: 10px;
  }
}

@media (max-width: 600px) {
  .comm26-gallery-responsive {
    gap: 7px;
    padding: 0.2rem 0 0.7rem 0;
  }

  .comm26-gallery-responsive .comm26-scroll-item {
    min-width: 90px;
    max-width: 100px;
    padding: 0.15rem 0.05rem;
  }

  .comm26-gallery-responsive .comm26-scroll-item img {
    width: 80px;
    height: 80px;
    max-width: 90px;
    min-width: 70px;
    border-radius: 8px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


.eventDetails {
  display: none !important;
}

.eventTitle {
  display: none !important;
}

.mainImage {
  padding-top: 20px;
  padding-bottom: 15px;
}

.mainImage img {
  border-radius: 15px;
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.globalFooter {
  background: #284382;
}

.globalFooter-input {
  background-color: #333333;
}

.givingToolbar-toolbar {
  background: #284382;
}

.flyoutNav {
  background: #284382;
}

.col-sm-8 {
  width: 100%;
}

body .col-sm-8:not(footer .col-sm-8) {
  width: 100%;
}

.col-sm-8.col-sm-offset-2 {
  margin: 0px;
}

.col-sm-10.col-sm-offset-1 {
  width: 90%;
}

@media only screen and (min-width: 761px) {
  .span .accordionGroup {
    padding-left: 30px;
    padding-right: 30px
  }
}

/*@media only screen and (min-width: 971px) {
    .col-sm-offset-2 {
    padding-right: 35%
    }
    }	
    */
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  /*background-color: #eee;
    color: #444; */
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.row.padding-top-xl {
  display: none;
  padding-bottom: 20px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.accordion-item:hover {
  background-color: #fffffc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

.youtube-video-container {
  position: relative;
  overflow: hidden;
  background: #091861;
  color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.youtube-video-container::after {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.youtube-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.center {
  margin: auto;
  padding: 10px;
}

.framed-image {
  width: 380px;
  border-radius: 15px;
  padding: 10px;
  background: white;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 20px auto;
}

.container-youtube-video {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: 0fr 12fr 0fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.container-registration {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.middle-column-registration {
  color: #000000;
  padding: 20px;
  border-radius: 15px;
}

.container-live-streams {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-live-streams {
  background: #070C14;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.middle-column-event-guides {
  background: #444444;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-event-guides {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.container-guests-1 {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-guests-1 {
  background: #446A77;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-schedule {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-schedule {
  background: #ffffff;
  color: #000000;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-champion {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-champion {
  background: #AF2022;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-stories {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-stories {
  background: #A0C878;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-young-adults {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-young-adults {
  background: #3742A8;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-youth-conference {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-youth-conference {
  background: #17A2B8;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-lodging {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-lodging {
  background: #F39F5A;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-promo-materials {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-promo-materials {
  background: #3B5998;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-recordings {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-recordings {
  background: #EB2533;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-bibleconference {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-bibleconference {
  background: #F2C75D;
  color: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.container-southernspirit {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.middle-column-southernspirit {
  background: #d5d6d6;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  /* Ensures inline content like text is centered */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-share-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -30px;
  margin-bottom: -30px;
}

.countdown-timer-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px;
  padding-bottom: 5px;
}

.countdown-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 5px;
}

.countdown-container-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 5px;
}

@media (max-width: 838px) {

  /* Adjusted breakpoint from 768px to 838px */
  .countdown-timer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .circle {
    width: 115px;
    /* Adjusted from 45px to 115px */
    height: 115px;
    font-size: 15px;
    /* Adjust font size accordingly */
  }

  .time-remaining {
    font-size: 14px;
  }

  .time-description {
    font-size: 11px;
  }
}

@media (max-width: 550px) {

  /* Adjusted breakpoint from 480px to 550px */
  .countdown-timer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Lock to two equal columns */
    grid-auto-flow: column;
    gap: 3px;
    /* Reduced gap */
    justify-content: center;
  }

  .circle {
    width: 110px;
    /* Adjusted from 40px to 110px */
    height: 110px;
  }
}

@media (max-width: 380px) {

  /* Adjusted breakpoint from 310px to 380px */
  .countdown-timer-container {
    grid-template-columns: 1fr;
    /* Single column */
  }
}

.accordion-button {
  background-color: #F2F2F2;
  color: #B01E20;
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  background-color: #DDDDDD;
  color: #B01E20;
}

.accordion-button:focus {
  box-shadow: none;
}

/* Utility background color for Navy */
.u-sa-navyBg {
  background-color: #001F3F;
  /* Example Salvation Army navy shade */
}

/* Light blue border */
.u-borderBlueLight {
  border: 4px solid #7FDBFF;
  /* Light blue */
}

/* White text */
.u-textWhite {
  color: #ffffff;
}

/* Countdown container alignment */
.countdown-timer-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Circle style for each time unit */
.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Numbers styling */
.time-remaining {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

/* Label text under numbers */
.time-description {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0;
}

@media (max-width: 500px) {
  .circle {
    width: 70px;
    height: 70px;
  }

  .time-remaining {
    font-size: 1.5rem;
  }

  .time-description {
    font-size: 0.75rem;
  }
}

/* ===== Commencement 2025 Gallery Styles ===== */

/* Section container */
.comm25-gallery-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}


@media (min-width: 1001px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(5, 1fr);
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 1000px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(3, 1fr);
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 800px) {
  .scroll-hint {
    display: block;
  }
}

@media (max-width: 800px) {
  .comm25-gallery-wrapper {
    width: 70vw !important;
    max-width: 80vw !important;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: auto;
    padding-left: 0;
    padding-right: 50px;
  }

  .comm25-gallery-section {
    width: max-content;
    max-width: none !important;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
    margin: 0;
    grid-template-columns: 1fr;
  }

  .comm25-card {
    flex: 0 0 70vw;
    max-width: 260px;
    scroll-snap-align: center;
    flex-shrink: 0;
    margin: 0;
  }

  body {
    overflow-x: hidden;
  }

  .container-champions {
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  .middle-column-champions {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .container-champions {
    overflow-x: hidden;
  }

  .scroll-hint {
    text-align: center;
    font-size: 0.6rem;
    color: #fff;
    padding-top: 0.2rem;
    display: block;
  }

  .scrollable-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 0 12.5%;
    /* Shrinks width to simulate 75% */
    box-sizing: content-box;
    user-select: none;
    -ms-overflow-style: auto;
    /* IE/Edge */
    scrollbar-color: gold white;
    /* Firefox */
    scrollbar-width: thin;
    /* Firefox */
  }

  /* Chrome, Edge, Safari (WebKit) */
  .scrollable-container::-webkit-scrollbar {
    height: 8px;
    background-color: white;
  }

  .scrollable-container::-webkit-scrollbar-thumb {
    background-color: gold;
    border-radius: 4px;
  }

  .scrollable-container::-webkit-scrollbar-track {
    background-color: white;
  }

  #expandAll:checked~.gallery .comm25-details {
    display: block;
  }

  /* Optional: basic styling for button */
  .expand-button {
    display: inline-block;
    background: #444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin: 1rem auto;
  }
}

/* End of media query */


.comm25-gallery-section::before,
.comm25-gallery-section::after {
  content: "";
  flex: 0 0 1rem;
}


/* Horizontal scroll wrapper for mobile */
/*.comm25-gallery-wrapper {
  width: 100%;
}
@media (min-width: 1200px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(5, 1fr); /* Max 5 columns */
/*  }
}*/

/* Card styles */
.comm25-card {
  display: flex;
  flex-direction: column;
  background-color: #1c1f3d;
  /* medium navy */
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  margin: 0px;
  width: 100%;
  box-sizing: border-box;
}

/* Title below image */
.comm25-title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 10px 0 15px;
  line-height: 1.3;
}

/* Hide native checkbox toggle */
.comm25-toggle {
  display: none;
}

/* Label that triggers toggle */
.comm25-image-wrapper {
  display: block;
  cursor: pointer;
  width: 100%;
  padding-top: 10px;
}

/* Image styles */
.comm25-image-wrapper img {
  width: 85%;
  height: auto;
  background: white;
  padding: 10px;
  border-radius: 30px;
  border-bottom: 2px solid #ddd;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* Bio/details panel (initially hidden) */
.comm25-details {
  display: none;
  max-height: 0;
  min-height: 217px;
  margin-top: auto;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  color: white;
  background-color: #001F3F;
  /* navy blue */
  border-top: 1px solid #124273;
  border-radius: 30px;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    padding 0.3s ease;
}

/* Reveal panel when checkbox is checked */
.comm25-toggle:checked~.comm25-card-body .comm25-details {
  display: block;
  max-height: 500px;
  opacity: 1;
  padding: 15px 20px 20px;
  transform: scaleY(1);
  transition: max-height 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.comm25-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.comm25-toggle:checked~.comm25-card-body .comm25-details {
  max-height: 500px;
  /* adjust if needed for longer bios */
  overflow: visible;
}

/* Detail text formatting */
.comm25-details p {
  margin: 8px 0;
  line-height: 1.4;
}

.comm25-details strong {
  font-weight: 600;
}

/* Accessibility focus/hover effect */
.comm25-image-wrapper img:hover,
.comm25-image-wrapper img:focus {
  outline: 2px solid #c00;
  outline-offset: 3px;
}

/* Instructions above the gallery */
.comm25-instructions {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: #555;
}

/* ========== Live Stream Video Gallery ========== */
/* Section container */
.comm25-thumbnails-section {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: gold white;
  -webkit-overflow-scrolling: touch;
}

/* Optional: WebKit scrollbar styling */
.comm25-thumbnails-section::-webkit-scrollbar {
  height: 8px;
}

.comm25-thumbnails-section::-webkit-scrollbar-thumb {
  background: gold;
  border-radius: 10px;
}

.comm25-thumbnails-section::-webkit-scrollbar-track {
  background: white;
}

.comm25-thumbnail {
  flex: 0 0 auto;
  width: 160px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.2s ease;
}

.comm25-thumbnail img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}


/* Featured video */
.comm25-featured-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

@media (max-width: 800px) {
  .scroll-hint {
    display: block;
  }
}

@media (max-width: 800px) {
  .comm25-thumbnails-wrapper {
    width: 70vw !important;
    max-width: 80vw !important;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: auto;
    padding-left: 0;
    padding-right: 50px;
  }

  .comm25-thumbnails-section {
    width: max-content;
    max-width: none !important;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
    margin: 0;
    grid-template-columns: 1fr;
  }

  body {
    overflow-x: hidden;
  }

  .container-thumbnails {
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  .middle-column-thumbnails {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .container-thumbnails {
    overflow-x: hidden;
  }

}

/* End of media query */


.comm25-thumbnails-section::before,
.comm25-thumbnails-section::after {
  content: "";
  flex: 0 0 1rem;
}




/* Event Program Guides */
.comm25-toggle-buttons .comm25-toggle-btn {
  padding: 0.5rem 1.25rem;
  background-color: #f2f2f2;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comm25-toggle-buttons .comm25-toggle-btn:hover {
  background-color: #e6e6e6;
}

.comm25-toggle-buttons .comm25-active {
  background-color: #c8102e;
  color: #fff;
  border-color: #c8102e;
  box-shadow: 0 0 0 2px white;
}

.comm25-program-embed {
  display: none;
}

.comm25-program-embed.comm25-visible {
  display: block;
}

.comm25-embed-frame {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background: #000;
}

.comm25-embed-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Carousel */
#carouselExampleCaptions .carousel-inner {
  border-radius: 1rem;
  overflow: hidden;
}

#carouselExampleCaptions .carousel-item img {
  border-radius: 0;
}


#carouselExampleCaptions .carousel-control-prev,
#carouselExampleCaptions .carousel-control-next,
#carouselExampleCaptions .carousel-indicators {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

#carouselExampleCaptions:hover .carousel-control-prev,
#carouselExampleCaptions:hover .carousel-control-next,
#carouselExampleCaptions:hover .carousel-indicators {
  opacity: 1;
  pointer-events: auto;
}

/* 26 Gallery */

/* Horizontal scroll strip */
.comm26-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-behavior: smooth;
}

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

.comm26-scroll-row::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

/* Image tiles */
.comm26-scroll-item {
  flex: 0 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.comm26-scroll-item img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.comm26-scroll-item:hover {
  transform: scale(1.04);
}

/* Lightbox */
#comm26-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#comm26-lightbox img {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 14px;
}

/* Controls */
#comm26-lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 8px 12px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

#comm26-close {
  top: 20px;
  right: 20px;
  font-size: 16px;
}

#comm26-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#comm26-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-dropdown,
.nav-cards,
.nav-tabs {
  display: none;
}

.main-content {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 2.5rem 1rem 2rem 1rem;
}

section.tab-section {
  display: none;
  padding: 2rem 0 0.5rem 0;
  margin-bottom: 2rem;
  box-shadow: none;
  background: none;
  border-radius: 0;
}

section.tab-section.active {
  display: block;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.nav-tabs button {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px 8px 0 0;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nav-tabs button.active,
.nav-tabs button:hover {
  background: #f2e6e6;
  color: #B01E20;
  border-bottom: 2px solid #B01E20;
}

.nav-dropdown {
  display: block;
  width: 100%;
  margin: 3.5rem auto 1.2rem auto;
  max-width: 500px;
  padding: 0 1rem;
}

.nav-dropdown select {
  width: 100%;
  padding: 1.1rem 0.8rem;
  font-size: 1.25rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  font-weight: 700;
  background: #f7f8fa;
  color: #2c3e50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

@media (max-width: 900px) {
  .main-content {
    padding: 1.2rem 0.5rem;
  }

  .nav-tabs {
    display: none;
  }

  .nav-dropdown {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .nav-dropdown select {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
  }
}

/* Responsive modal for special guests */
@media (max-width: 600px) {
  #guest-modal .modal-dialog {
    max-width: 98vw;
    margin: 0.5rem auto;
  }

  #guest-modal .modal-content {
    border-radius: 12px;
    padding: 0.5rem 0.2rem;
  }

  #guest-modal .modal-header,
  #guest-modal .modal-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #guest-modal .guest-photo {
    width: 90px !important;
    height: 90px !important;
  }
}

#guest-modal .modal-content {
  border-radius: 18px;
}

#guest-modal .modal-header {
  border-bottom: 1px solid #eee;
  background: #f7f8fa;
}

#guest-modal .modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #B01E20;
}

#guest-modal .modal-body {
  text-align: center;
}

#guest-modal .guest-photo {
  margin-bottom: 1rem;
  border: 4px solid #f7f8fa;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

.guests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.guest-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.2rem;
  max-width: 340px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.guest-card:hover {
  box-shadow: 0 6px 24px rgba(176, 30, 32, 0.13);
  transform: translateY(-2px) scale(1.02);
}

.guest-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid #f7f8fa;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

.guest-info h5 {
  margin: 0.5rem 0 0.7rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #B01E20;
}

.guest-info p {
  font-size: 1rem;
  color: #2c3e50;
  margin: 0;
}

@media (max-width: 700px) {
  .guests-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .comm25-card {
    flex: 0 0 70vw;
    max-width: 260px;
    scroll-snap-align: center;
    flex-shrink: 0;
    margin: 0;
  }

  body {
    overflow-x: hidden;
  }
  .container-champions {
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  .middle-column-champions {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
   .container-champions {
     overflow-x: hidden;
  }
  .scroll-hint {
  text-align: center;
  font-size: 0.6rem;
  color: #fff;
  padding-top: 0.2rem;
  display: block;
}
.scrollable-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0 12.5%; /* Shrinks width to simulate 75% */
  box-sizing: content-box;
  user-select: none;
  -ms-overflow-style: auto;         /* IE/Edge */
  scrollbar-color: gold white;      /* Firefox */
  scrollbar-width: thin;            /* Firefox */
}

/* Chrome, Edge, Safari (WebKit) */
.scrollable-container::-webkit-scrollbar {
  height: 8px;
  background-color: white;
}

.scrollable-container::-webkit-scrollbar-thumb {
  background-color: gold;
  border-radius: 4px;
}

.scrollable-container::-webkit-scrollbar-track {
  background-color: white;
}
   #expandAll:checked ~ .gallery .comm25-details {
    display: block;
  }

  /* Optional: basic styling for button */
  .expand-button {
    display: inline-block;
    background: #444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin: 1rem auto;
  }
  }
/* End of media query */


.comm25-gallery-section::before,
.comm25-gallery-section::after {
  content: "";
  flex: 0 0 1rem;
}


/* Horizontal scroll wrapper for mobile */
/*.comm25-gallery-wrapper {
  width: 100%;
}
@media (min-width: 1200px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(5, 1fr); /* Max 5 columns */
/*  }
}*/

/* Card styles */
.comm25-card {
  display: flex;
  flex-direction: column;
  background-color: #313986; /* medium navy */
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  margin: 0px;
  width: 100%;
  box-sizing: border-box;
}

/* Title below image */
.comm25-title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 10px 0 15px;
  line-height: 1.3;
}

/* Hide native checkbox toggle */
.comm25-toggle {
  display: none;
}

/* Label that triggers toggle */
.comm25-image-wrapper {
  display: block;
  cursor: pointer;
  width: 100%;
  padding-top: 10px;
}

/* Image styles */
.comm25-image-wrapper img {
  width: 85%;
  height: auto;
  background: white;
  padding: 10px;
  border-radius: 30px;
  border-bottom: 2px solid #ddd;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* Bio/details panel (initially hidden) */
.comm25-details {
  display: none;
  max-height: 0;
  min-height: 217px;
  margin-top: auto;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  color: white;
  background-color: #001F3F; /* navy blue */
  border-top: 1px solid #124273;
  border-radius: 30px;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    padding 0.3s ease;
}

/* Reveal panel when checkbox is checked */
.comm25-toggle:checked ~ .comm25-card-body .comm25-details {
  display: block;
  max-height: 500px;
  opacity: 1;
  padding: 15px 20px 20px;
 transform: scaleY(1);
              transition: max-height 1s cubic-bezier(0.22, 1, 0.36, 1), 
                          opacity 0.7s ease, 
                          transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.comm25-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.comm25-toggle:checked ~ .comm25-card-body .comm25-details {
  max-height: 500px; /* adjust if needed for longer bios */
  overflow: visible;
}

/* Detail text formatting */
.comm25-details p {
  margin: 8px 0;
  line-height: 1.4;
}

.comm25-details strong {
  font-weight: 600;
}

/* Accessibility focus/hover effect */
.comm25-image-wrapper img:hover,
.comm25-image-wrapper img:focus {
  outline: 2px solid #c00;
  outline-offset: 3px;
}

/* Instructions above the gallery */
.comm25-instructions {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: #555;
}

/* ========== Live Stream Video Gallery ========== */
/* Section container */
.comm25-thumbnails-section {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: gold white;
  -webkit-overflow-scrolling: touch;
}

/* Optional: WebKit scrollbar styling */
.comm25-thumbnails-section::-webkit-scrollbar {
  height: 8px;
}
.comm25-thumbnails-section::-webkit-scrollbar-thumb {
  background: gold;
  border-radius: 10px;
}
.comm25-thumbnails-section::-webkit-scrollbar-track {
  background: white;
}

.comm25-thumbnail {
  flex: 0 0 auto;
  width: 160px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.2s ease;
}

.comm25-thumbnail img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}


/* Featured video */
.comm25-featured-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

@media (max-width: 800px) {
  .scroll-hint {
    display: block;
  }
}

@media (max-width: 800px) {
  .comm25-thumbnails-wrapper {
    width: 70vw !important;
    max-width: 80vw !important;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: auto;
    padding-left: 0;
    padding-right: 50px;
  }

  .comm25-thumbnails-section {
    width: max-content;
    max-width: none !important;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
    margin: 0;
    grid-template-columns: 1fr;
  }

  body {
    overflow-x: hidden;
  }
  .container-thumbnails {
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  .middle-column-thumbnails {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
   .container-thumbnails {
     overflow-x: hidden;
  }

  }
/* End of media query */


.comm25-thumbnails-section::before,
.comm25-thumbnails-section::after {
  content: "";
  flex: 0 0 1rem;
}




/* Event Program Guides */
.comm25-toggle-buttons .comm25-toggle-btn {
  padding: 0.5rem 1.25rem;
  background-color: #f2f2f2;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comm25-toggle-buttons .comm25-toggle-btn:hover {
  background-color: #e6e6e6;
}

.comm25-toggle-buttons .comm25-active {
  background-color: #c8102e;
  color: #fff;
  border-color: #c8102e;
  box-shadow: 0 0 0 2px white;
}

.comm25-program-embed {
  display: none;
}

.comm25-program-embed.comm25-visible {
  display: block;
}

.comm25-embed-frame {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  background: #000;
}

.comm25-embed-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Carousel */
#carouselExampleCaptions .carousel-inner {
  border-radius: 1rem;
  overflow: hidden;
}
#carouselExampleCaptions .carousel-item img {
  border-radius: 0;
}


#carouselExampleCaptions .carousel-control-prev,
#carouselExampleCaptions .carousel-control-next,
#carouselExampleCaptions .carousel-indicators {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

#carouselExampleCaptions:hover .carousel-control-prev,
#carouselExampleCaptions:hover .carousel-control-next,
#carouselExampleCaptions:hover .carousel-indicators {
  opacity: 1;
  pointer-events: auto;
}

/* 26 Gallery */

/* Horizontal scroll strip */
.comm26-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-behavior: smooth;
}

.comm26-scroll-row::-webkit-scrollbar {
  height: 6px;
}
.comm26-scroll-row::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

/* Image tiles */
.comm26-scroll-item {
  flex: 0 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.comm26-scroll-item img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.comm26-scroll-item:hover {
  transform: scale(1.04);
}

/* Lightbox */
#comm26-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#comm26-lightbox img {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 14px;
}

/* Controls */
#comm26-lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 8px 12px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

#comm26-close {
  top: 20px;
  right: 20px;
  font-size: 16px;
}

#comm26-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#comm26-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

 .nav-dropdown, .nav-cards, .nav-tabs { display: none; }
  .main-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 2.5rem 1rem 2rem 1rem;
  }
  section.tab-section { display: none; padding: 2rem 0 0.5rem 0; margin-bottom: 2rem; box-shadow: none; background: none; border-radius: 0; }
  section.tab-section.active { display: block; }
  .nav-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
  .nav-tabs button { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px 8px 0 0; padding: 0.7rem 1.2rem; font-size: 1rem; color: #2c3e50; font-weight: 500; cursor: pointer; transition: background 0.2s, color 0.2s; }
  .nav-tabs button.active, .nav-tabs button:hover { background: #f2e6e6; color: #B01E20; border-bottom: 2px solid #B01E20; }
  .nav-dropdown {
    display: block;
    width: 100%;
    margin: 3.5rem auto 1.2rem auto;
    max-width: 500px;
    padding: 0 1rem;
  }
  .nav-dropdown select {
    width: 100%;
    padding: 1.1rem 0.8rem;
    font-size: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-weight: 700;
    background: #f7f8fa;
    color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  }
  @media (max-width: 900px) {
    .main-content { padding: 1.2rem 0.5rem; }
    .nav-tabs { display: none; }
    .nav-dropdown { display: block; width: 100%; margin-bottom: 1.5rem; }
    .nav-dropdown select { width: 100%; padding: 0.8rem; font-size: 1.1rem; border-radius: 8px; border: 1px solid #e0e0e0; }
  }