.horizontal-items-block {
    padding: 30px 0;
}

.horizontal-items-block .block-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.horizontal-items-block .block-content {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Flex container for items */
.horizontal-items {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping of items */
}

/* Item Styles */
.horizontal-items-block .horizontal-item {
    width: 100%; /* Default to 100% width (1 item per row) */
    background-color: #fff;
    border-top-left-radius: 108px;
    border-top-right-radius: 108px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Background for item */
.horizontal-items-block .item-bg {
    height: 85px;
   /* background-size: cover;
    background-position: center;*/
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-repeat: no-repeat;
}

.horizontal-items-block .item-bg {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
}

/* Icon and Title inside item */
.horizontal-items-block .item-icon {
    max-width: 40px;
    padding-right: 10px;
}

.horizontal-items-block .item-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.horizontal-items-block .item-description {
    font-size: 14px;
    color: #555;
}

/* Wrapper for item description */
.item_description-wrapper {
    padding: 14px;
}

/* Center content (icon + title) inside item */
.item-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media (max-width: 767px) {
    .wp-block-acf-header-banner picture.cp_img-wrap, .wp-block-acf-header-banner img.cp_img {
       object-position: bottom right;
    }      
} 
@media (min-width: 500px) {
    .horizontal-items-block .horizontal-item {
        width: 48%; 
    }
}

@media (min-width: 1024px) {
    .horizontal-items-block .horizontal-item {
        width: 48%; 
    }
}
