.custom-content-class #block-young-promotionalbar {
    display: none;
}
.blog-img img {
    width : 440px;
}
.blog-body img.align-left {
    padding-right: 20px;
    width: auto;
    max-width: 100%;
    height: revert-layer;
  }
.product-child.product-message-type {
    display: none;
}
.product-child-yi-message {
    display: none;
}

#make_switch.icon-with-text .slider-container .slider .slide .slide-wrap .text-wrapper p {
    line-height: 1.5;       /* ✅ better readability */
    max-height: none;       /* ✅ remove artificial cut-off */
    overflow: visible;      /* ✅ stop cutting text */
    display: block;         /* ✅ no forced truncation */
    text-overflow: unset;
}
#make_switch.icon-with-text .slider-container .slider .slide .slide-wrap .text-wrapper {
    width: 60%;
    padding: 20px;
    align-self: flex-start; /* ✅ ensures text starts at top */
}
#make_switch.icon-with-text .slider-container .slider {
    display: flex;
    align-items: flex-start; /* ✅ align content to top instead of center */
    overflow: hidden;
}
#make_switch.icon-with-text .slider-container .slider .slide {
    flex: 0 0 100%;
    display: flex;
    align-items: flex-start; /* ✅ align to top */
    justify-content: center;
    height: fit-content;
}
#make_switch.icon-with-text .slider-container .slider .slide .slide-wrap {
    display: flex;
    align-items: flex-start; /* ✅ align to top */
    width: 100%;
    border: 2px solid #cacfd6;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: visible; /* ✅ avoid text cutting */
    margin: auto 10px;
}
/*
* Custom styles for Product Landing Page
*/
.page-node-292 .card-wrapper {
    width: calc(100% + 20px);
}

.page-node-292 .ais-Hits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
   overflow-x: hidden;
}

.page-node-292 .ais-Hits-item {
  width: calc(20% - 20px); /* 5 columns */
      min-width: 0;
}

.page-node-292 .product-grid .card {
  width: auto !important;
}

.page-node-292 .product-grid .card {
  width: auto !important;
}

.page-node-292 .algolia-pagination.search-filter {
    margin-top: 60px;
}
@media (min-width: 1366px) and (max-width: 1450px) { 
    .page-node-292 .product-grid .card {
  width: auto !important;
}
    }
    @media (max-width: 1366px) {
      .product-grid .card {
        width: calc(25% - 20px); } 
    .page-node-292 .product-grid .card {
            width: auto !important;
     }
    
    }
      @media (min-width: 768px) and (max-width: 991px) {
        
        }
      @media (min-width: 596px) and (max-width: 767px) {
        
    }
      @media (max-width: 595px) {
        
    }
    @media (min-width: 768px) and (max-width: 1024px) {
      .ais-Hits-item {
        width: calc(33.33% - 20px); } }
    @media (max-width: 767px) {
      .ais-Hits-item {
        width: calc(50% - 20px); } }
    @media (max-width: 480px) {
      .ais-Hits-item {
        width: calc(100% - 20px); } }
@media (max-width: 1200px) {
  header .nav .main-nav ul.desktop-nav li a {
    font-size: 16px;
  }
  header .nav .main-nav ul.desktop-nav li a.arrow::after {
    top: 4px;
  }
}
@media (max-width: 1400px) {
  header .nav .main-nav ul.desktop-nav li {
    margin-right: 40px;
  }
}

.column-highlight-with-image.has-text-color .col-right .text-wrap h2,
.column-highlight-with-image.has-text-color .col-right .text-wrap p,
.column-highlight-with-image.has-text-color .col-right .text-wrap h6,
.column-highlight-with-image.has-text-color .col-right .text-wrap h3,
.column-highlight-with-image.has-text-color .col-right .text-wrap h4,
.column-highlight-with-image.has-text-color .col-right .text-wrap h5 {
  color: var(--section-text);
}

.column-highlight-with-image .wrapper.has-img-bg-color .img-wrap::before {
  background-color: var(--img-bg-color);
}

/*
* Custom styles for Newsletter Paragraph
*/
.newsletter .wrapper {
    align-items: center !important;
}

@media (min-width: 992px) {
  .newsletter .col-right {
      padding-left: 40px;
  }
}

/* Custom styles for Team Carousel Paragraph specific for this page : 
https://younginnovations.com/about-us/core-values
*/
#award .card {
  width: calc(25% - 20px);
}
#award.team-carousel .slider.loaded .card {
  border: 0px none;
  padding: 0;
}
#award.team-carousel .small-wrapper .slider .card .img-wrap {
  border: 0;
  max-width: none;
}