.equipment-main {
    background-color: #f5f7f9;
    padding-top: var(--wp--preset--spacing--x-large);
    padding-bottom: var(--wp--preset--spacing--x-large);
}

.equipment-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.equipment-title {
    color: #1a4669;
    margin-bottom: var(--wp--preset--spacing--small);
}

.equipment-category-tag {
    display: inline-flex;
    background-color: #d2edff;
    border-radius: 16px;
    padding: 8px 16px;
    margin-bottom: var(--wp--preset--spacing--medium);
    box-shadow: 0 2px 4px rgba(26, 70, 105, 0.1);
}

.equipment-category-label {
    color: #1a4669;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}


.equipment-category-value {
    color: #1a4669;
    font-size: 14px;
    font-weight: 600;
    cursor: default;
    user-select: none;
}
 
.equipment-category-value a {
    color: #1a4669;
    cursor: pointer;
    text-decoration: none;
}

.equipment-category-value a:hover {
    text-decoration: underline;
    color: #14334d; /* Keep the same color on hover */
}

.equipment-featured-image {
    border-radius: 8px;
    margin: var(--wp--preset--spacing--medium) 0;
}


.equipment-content {
    display:flex;
    flex-direction:column;
    padding-top: var(--wp--preset--spacing--medium);
    border-top: 1px solid #e5e7eb;
    gap:100px,
}
.contact-button{
  flex-wrap:wrap;  
  align-self:end;  
  width:160px;
  background:#3498DB;
  text-align:center;  
  font-size: 16px;
  font-weight: 600;
}

/* gallery */
.equipment-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-link {
    display: block;
    height: 100%;
}

/* Additional styles for block gallery */
.wp-block-gallery {
    margin: 2rem 0;
}

.wp-block-gallery .blocks-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wp-block-gallery figure {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.wp-block-gallery figure:hover {
    transform: scale(1.05);
}

.wp-block-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-gallery-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    margin: 2rem 0;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.equipment-gallery-row .gallery-item {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.equipment-gallery-row .gallery-item:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.equipment-gallery-row .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-gallery-row .gallery-link {
    display: block;
    height: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.equipment-gallery-row::-webkit-scrollbar {
    height: 6px;
}

.equipment-gallery-row::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.equipment-gallery-row::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.equipment-gallery-row::-webkit-scrollbar-thumb:hover {
    background: #555;
}