/** Shopify CDN: Minification failed

Line 323:2 Expected "}" to go with "{"

**/
/* ===================================
   IMAGE GALLERY SECTION
   =================================== */

.image-gallery .title {
  margin: 0;
}

.image-gallery.no-heading .title {
  display: none;
}




.image-gallery .title-wrapper-with-link {
  margin-top: 0;
}

.image-gallery .subtitle {
  margin-top: 1rem;
  margin-bottom: 0;
}
    

@media screen and (min-width: 750px) and (max-width: 989px) {
  .image-gallery .title-wrapper-with-link {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

.image-gallery-list {
  margin-top: 0;
  padding-bottom: 1.5rem;
}

.image-gallery-list__item:only-child {
  max-width: 72rem;
}

.image-gallery:not(.background-none) .image-gallery-item {
  height: 100%;
}

.image-gallery.background-primary .image-gallery-item {
  background: rgb(var(--color-background))
    linear-gradient(rgba(var(--color-foreground), 0.04), rgba(var(--color-foreground), 0.04));
}

.image-gallery-list h3,
.image-gallery-list p {
  margin: 0;
}

.image-gallery-item__image-wrapper {
  margin-bottom: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.image-gallery-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Image Shape Styles - using global shape classes from base.css */
.image-gallery .shape--square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0 !important;
}

.image-gallery .shape--square .media {
  border-radius: 0 !important;
}

.image-gallery .shape--square .media img {
  border-radius: 0 !important;
}

.image-gallery .shape--rounded {
  border-radius: 12px;
  overflow: hidden;
}



/* Placeholder image styling - make it highly visible */
.image-gallery .image-gallery-item__image-wrapper .placeholder-svg {
  background-color: #f8f8f8;
  width: 100%;
  height: 100%;
  color: #666;
  font-size: 14px;
  text-align: center;
}

/* Style the placeholder container for better visibility */
.image-gallery .image-gallery-item__image-wrapper .media--adapt {


  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure placeholders are visible in different image ratio settings */
.image-gallery .image-gallery-item__image-wrapper .media--square .placeholder-svg,
.image-gallery .image-gallery-item__image-wrapper .media--portrait .placeholder-svg,
.image-gallery .image-gallery-item__image-wrapper .media--circle .placeholder-svg {
  aspect-ratio: var(--ratio-percent, 1);
}

.image-gallery .image-gallery-item__image-wrapper .media--adapt .placeholder-svg {
  aspect-ratio: auto;
}

/* ===================================
   IMAGE GALLERY ITEM CONTENT
   =================================== */

.image-gallery-item__content {
  padding: 0 1.5rem 0;
  text-align: var(--text-alignment, left);
}

.image-gallery-item__title {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  line-height: 1.3;
  color: rgb(var(--color-foreground));
}

.image-gallery-item__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.image-gallery-item__title-link:hover {
  color: rgba(var(--color-foreground), 0.7);
}

.image-gallery-item__description {
  margin: 0;
  color: rgba(var(--color-foreground), 0.9);
  line-height: 1.4;
}

/* Center alignment adjustments */
.image-gallery-list__item.center .image-gallery-item__content {
  text-align: center;
}

/* Background style adjustments */
.image-gallery.background-primary .image-gallery-item__content {
  background: rgb(var(--color-background));
  border-radius: 0 0 var(--border-radius, 0.4rem) var(--border-radius, 0.4rem);
}

/* ===================================
   IMAGE GALLERY ITEM LINK
   =================================== */

.image-gallery-item__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.image-gallery-item__link:hover {
  text-decoration: none;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

@media screen and (max-width: 749px) {
 
  
  .image-gallery-item__content {
    padding: 0 .5rem 0;
  }
  
  .image-gallery-item__title {
    font-size: 1.2rem;

  
  /* Mobile-specific image container adjustments */
  .image-gallery-item__image-container {
    min-height: 150px;
  }

  
  /* Fix mobile content overflow */
  .image-gallery-item__content {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media screen and (min-width: 750px) {
  .image-gallery-item__content {
    padding: 0 1rem 0;
  }
  
  .image-gallery-item__title {
    font-size: 1.6rem;
  }
}

@media screen and (min-width: 990px) {
  .image-gallery-item__content {
    padding: 2.5rem 2.5rem 0;
  }
  
  .image-gallery-item__title {
    font-size: 1.8rem;
  }
}

/* ===================================
   SLIDER SPECIFIC STYLES
   =================================== */

.image-gallery-list.slider .image-gallery-item__content {
  padding: 1.5rem 1.5rem 0;
}

@media screen and (min-width: 750px) {
  .image-gallery-list.slider .image-gallery-item__content {
    padding: 2rem 2rem 0;
  }
}

/* Mobile/Tablet slider content padding */
@media screen and (max-width: 989px) {
  .image-gallery-list.slider .image-gallery-item__content {
    padding: 1.5rem 1.5rem 0;
  }
}

/* Desktop: Normal content padding even when slider is enabled */
@media screen and (min-width: 990px) {
  .image-gallery-list.slider .image-gallery-item__content {
    padding: 2rem 2rem 0;
  }


/* ===================================
   RESPONSIVE BLOCK DISPLAY
   =================================== */

/* Responsive block display based on max blocks settings */
@media screen and (max-width: 749px) {
  .image-gallery-list {
    /* Mobile: limit blocks based on mobile setting */
  }
  
  .image-gallery-list__item:nth-child(n+7) {
    display: none; /* Hide blocks beyond 6 on mobile by default */
  }
}

@media screen and (min-width: 750px) {
  .image-gallery-list {
    /* Desktop: limit blocks based on desktop setting */
  }
}

/* Specific max blocks rules */
.image-gallery-list[data-max-blocks="2"] .image-gallery-list__item:nth-child(n+3) { display: none; }
.image-gallery-list[data-max-blocks="3"] .image-gallery-list__item:nth-child(n+4) { display: none; }
.image-gallery-list[data-max-blocks="4"] .image-gallery-list__item:nth-child(n+5) { display: none; }
.image-gallery-list[data-max-blocks="5"] .image-gallery-list__item:nth-child(n+6) { display: none; }
.image-gallery-list[data-max-blocks="6"] .image-gallery-list__item:nth-child(n+7) { display: none; }
.image-gallery-list[data-max-blocks="8"] .image-gallery-list__item:nth-child(n+9) { display: none; }
.image-gallery-list[data-max-blocks="10"] .image-gallery-list__item:nth-child(n+11) { display: none; }

/* Mobile specific max blocks */
@media screen and (max-width: 749px) {
  .image-gallery-list[data-max-blocks-mobile="1"] .image-gallery-list__item:nth-child(n+2) { display: none; }
  .image-gallery-list[data-max-blocks-mobile="2"] .image-gallery-list__item:nth-child(n+3) { display: none; }
  .image-gallery-list[data-max-blocks-mobile="3"] .image-gallery-list__item:nth-child(n+4) { display: none; }
  .image-gallery-list[data-max-blocks-mobile="4"] .image-gallery-list__item:nth-child(n+5) { display: none; }
  .image-gallery-list[data-max-blocks-mobile="5"] .image-gallery-list__item:nth-child(n+6) { display: none; }
}

/* ===================================
   ANIMATION SUPPORT
   =================================== */

.image-gallery-item__content {
  transition: opacity 0.3s ease;
}

.image-gallery-item:hover .image-gallery-item__content {
  opacity: 1;
}

/* ===================================
   ACCESSIBILITY IMPROVEMENTS
   =================================== */

.image-gallery-item__title-link:focus {
  outline: 2px solid rgba(var(--color-foreground), 0.5);
  outline-offset: 2px;
}

.image-gallery-item__link:focus {
  outline: 2px solid rgba(var(--color-foreground), 0.5);
  outline-offset: 2px;
} 