ul.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1em;
    background-color: transparent !important;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
}
li.grid-post {
    display: flex;
    flex-flow: column;
    gap:2%;
    background-color: #fff;
   color:#fff;
    margin: 0;
    padding:25px;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 95% 100%, 0% 100%);
  background: linear-gradient(to bottom, rgba(45,45,45,1.00), rgba(77,77,77,1.00) 90%);

}

.equipment-gallery-slider{
    /*width:32%;*/
}
.equipment-copy{
    /*width: 66%;*/
}
.equipment-copy ul.wp-block-list,
:root :where(.is-layout-flow) > *{
    margin:0 0 20px 0 !important;
}
.equipment-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
    background-color:#fff;
    margin:0 0 10px 0;
}
.equipment-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left bottom;
  z-index: 2;
  pointer-events: none;
}
.equipment-title h3{
    color:#fff;
    margin:0 0 10px 0;
    line-height: 100%;
}
.equipment-title h3 a{
    color:#fff;
}
.equipment-excerpt {
    margin-bottom: 10px;
}

.cont-reading {
    margin-left: 10px;
    display: inline !important;
}
.equipment-row {
    display: flex;
    flex-flow: column nowrap;
    gap: 2%;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.03);
    padding: 0;
    align-items: flex-start;
    margin-bottom: 5px;
}

div.accordion-header {
    position: relative;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    line-height: 100%;
    cursor: pointer;
	color: white;
	background-color: #333333 !important;
	padding: 10px 50px 10px 20px;
    border-radius:0 !important;
}
        div.accordion-header h3 {
            margin:0 !important;
            font-weight: 600;
            font-size: 22px;
        }
.accordion-header:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion-header.expanded:after {
    content: "-";
}

.accordion-header h3,
.equipment-content h3,
.equipment-content h4,
.equipment-contenth5 {
    margin: 0;
    line-height: 100%;
}

.equipment-content {
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 10px 20px;
    margin:0;
}
.equipment-content.active {
    display: block;
    width: 100%;
}
.toggle-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Slider */

.equipment-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Ensure .swiper-wrapper is flexbox and properly aligned */
.swiper-wrapper {
    display: flex;
    transition-timing-function: ease-in-out;
    align-items: center;
}

/* Ensure slides take full width */
.swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
    text-align: center;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    text-align: center;
}

.equipment-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}


/* Ensure arrows and pagination are visible */
.swiper-button-next,
.swiper-button-prev {
    display: flex;
    width: 40px;
    height: 40px;
   
    align-items: center;
    justify-content: center;
  
}

/* Use Font Awesome Unicode for navigation icons */
.swiper-button-prev::after {
    content: "\f137"; /* Left arrow */
    font-family: "Font Awesome 6 Free"; /* Ensure correct font is used */
    font-weight: 900;
    font-size: 40px;
    color: white;
}

.swiper-button-next::after {
    content: "\f138"; /* Right arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 40px;
    color: white;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    text-align: center;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007bff;
}
/* Thumbnail Scroller */
.equipment-thumbnails {
    width: 100%;
   
    margin: 10px auto 0;
    overflow: hidden;
    position: relative;
    
}
.equipment-thumbnails .swiper-wrapper {
    display: flex;
    transition-timing-function: ease-in-out;
    justify-content: center;
    align-items: center;
    
}

/* Thumbnail slide width */
.equipment-thumbnails .swiper-slide {
    width: 75px !important;
    height: 75px !important;
    cursor: pointer;
    border-radius: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure thumbnail images fit properly */
.equipment-thumbnails .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

/* Make active thumbnails stand out */
.equipment-thumbnails .swiper-slide.swiper-slide-thumb-active img{
    opacity: 1;
    border: 2px solid #007bff;
}
/* Use Font Awesome Unicode for navigation icons */
.equipment-thumbnails .swiper-button-prev::after {
    content: "\f137"; /* Left arrow */
    font-family: "Font Awesome 6 Free"; /* Ensure correct font is used */
    font-weight: 900;
    font-size: 20px;
    color: white;
}

.equipment-thumbnails .swiper-button-next::after {
    content: "\f138"; /* Right arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
    color: white;
}




@media only screen and (max-width: 768px) {
    ul.equipment-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
       gap: 2em;
      background-color: transparent !important;
      list-style: none;
      margin: 0;
      padding: 0;
      max-width: 100%;
}
    li.grid-post {
  background-color: #fff;
  padding: 15px;
  box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.3);
  margin: 0;
}
}
@media only screen and (max-width: 600px) {
    ul.equipment-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2em;
  background-color: transparent !important;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
}