/** Shopify CDN: Minification failed

Line 14:14 Expected identifier but found whitespace
Line 14:16 Unexpected "{"
Line 14:25 Expected ":"
Line 14:51 Expected ":"
Line 15:17 Expected identifier but found whitespace
Line 15:19 Unexpected "{"
Line 15:28 Expected ":"
Line 15:57 Expected ":"

**/
.custom-featured-content {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
}

.custom-featured-content__header {
  margin-bottom: 40px;
  text-align: center;
}

.custom-featured-content__title {
  margin-bottom: 10px;
}

/* --- Subtitle Button Styles --- */
.custom-featured-content__subtitle {
  font-size: 1.6rem;
  margin: 20px auto 0;
  max-width: 70rem;
}

.custom-featured-content__subtitle a {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid rgba(var(--color-foreground), 0.8);
  border-radius: var(--card-corner-radius, 4px);
  text-decoration: none;
  color: var(--color-foreground);
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 1.4rem;
}

.custom-featured-content__subtitle a:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
  text-decoration: none;
}
/* --- End Subtitle Button Styles --- */

.custom-featured-content__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.custom-featured-content__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-corner-radius, 4px);
  text-align: center;
  min-height: 220px;
  text-decoration: none;
  border: 1px solid rgba(var(--color-foreground), 0.1);
  background-color: var(--color-background);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  flex: 1 1 calc(50% - 0.75rem);
  box-sizing: border-box;
}

.custom-featured-content__hover-image {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.custom-featured-content__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: opacity 0.3s ease-in-out;
}

.custom-featured-content__item-static-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
}

.custom-featured-content__item-static-content .h4 {
  color: #FFFFFF;
}

.custom-featured-content__item-hover-wrapper {
  display: none;
}

/* --- Desktop Styles --- */
@media screen and (min-width: 750px) {
  .custom-featured-content__grid {
    gap: 2rem;
  }
  .custom-featured-content__item {
    color: var(--color-foreground);
    min-height: 200px;
    padding: 2.5rem 2rem;
    flex: 1 1 calc(25% - 1.5rem);
  }

  .custom-featured-content__hover-image,
  .custom-featured-content__item::before {
    display: none;
  }

  .custom-featured-content__item-static-content {
    color: var(--color-foreground);
    transition: opacity 0.3s ease-in-out;
  }
  .custom-featured-content__item-static-content .h4 {
    color: var(--color-foreground);
  }

  .custom-featured-content__item-hover-wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  }
  .custom-featured-content__hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12;
    background-color: transparent;
  }
  .custom-featured-content__hover-overlay--no-image {
    background-color: rgba(var(--color-foreground-rgb), 0.4);
  }
  .custom-featured-content__hover-view-all .button {
    color: #FFFFFF;
    border-color: #FFFFFF;
  }
  .custom-featured-content__hover-view-all .button:hover {
    background-color: #FFFFFF;
    color: #000000;
  }
  .custom-featured-content__item-hover-wrapper .custom-featured-content__hover-image {
    display: block;
  }

  .custom-featured-content__item:not(.imageless-hover):hover {
    transform: translateY(-5px);
  }
  .custom-featured-content__item:not(.imageless-hover):hover .custom-featured-content__item-static-content {
    opacity: 0;
  }
  .custom-featured-content__item:not(.imageless-hover):hover .custom-featured-content__item-hover-wrapper {
    opacity: 1;
    visibility: visible;
  }

  .custom-featured-content__item.imageless-hover:hover {
    transform: translateY(-5px);
  }
}
