.hp-listing__image {
    overflow: hidden;
}

.hp-listing__image img {
    transition: transform 0.3s ease-in-out;
}

.hp-listing__image:hover img {
    transform: scale(1.1);
}
.hp-listing--view-block .hp-listing__created-date, 
.hp-listing--view-page .hp-listing__created-date {
    display: none !important;
}.hp-menu--site-header .hp-menu__item--listing-submit {
    display: none !important;
}
.hp-menu--site-header .hp-menu__item--listing-submit {
    display: none !important;
}
/* Make HivePress listing images zoom smoothly on hover */
.hivepress .hp-listing__image img, 
.hivepress .hp-vendor__image img {
    transition: transform 0.3s ease-in-out;
}

.hivepress .hp-listing__image img:hover, 
.hivepress .hp-vendor__image img:hover {
    transform: scale(1.05); /* Adjust 1.05 to zoom more or less */
}
/* Style all individual values under the Faith attribute */
.hp-listing__attribute .faith-attribute-box {
    border: 2px solid #05f70d;    /* Color and thickness of the border */
    border-radius: 6px;           /* Rounded corners */
    padding: 6px 14px;            /* Inner spacing around the text */
    display: inline-block;        /* Keeps the border tightly fitted around the text */
    background-color: #f8fafc;    /* Optional background tint */
    font-weight: 500;             /* Slight text weight adjustment */
    margin-top: 4px;              /* Spacing adjustment if needed */
}
/* Style all individual values under the Service Category attribute */
.hp-listing__attribute .service-attribute-box {
    border: 2px solid #05f70d;    /* Color and thickness of the border */
    border-radius: 6px;           /* Rounded corners */
    padding: 6px 14px;            /* Inner spacing around the text */
    display: inline-block;        /* Keeps the border tightly fitted around the text */
    background-color: #f8fafc;    /* Optional background tint */
    font-weight: 500;             /* Slight text weight adjustment */
    margin-top: 4px;              /* Spacing adjustment if needed */
}
/* Style all individual values under the Activity Category attribute */
.hp-listing__attribute .activity-attribute-box {
    border: 2px solid #05f70d;    /* Color and thickness of the border */
    border-radius: 6px;           /* Rounded corners */
    padding: 6px 14px;            /* Inner spacing around the text */
    display: inline-block;        /* Keeps the border tightly fitted around the text */
    background-color: #f8fafc;    /* Optional background tint */
    font-weight: 500;             /* Slight text weight adjustment */
    margin-top: 4px;              /* Spacing adjustment if needed
*/															
}
/* Target vendor/listing images to force identical sizing */
.hp-vendor__image img, 
.hp-listing__image img {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
}
/* Change listings layout from grid columns to vertical rows */
.hp-listings {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px; 
}

/* Adjust the individual listing card to stretch horizontally */
.hp-listings .hp-grid__item {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
}

/* Make internal listing components line up side-by-side */
.hp-listing--view-block {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    text-align: left;
}

/* Constrain the image size so it sits neatly on the left side */
.hp-listing__image {
    width: 250px !important;
    flex-shrink: 0;
}

.hp-listing__image img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
}

/* Allow the text and content area to fill the remaining space */
.hp-listing__content {
    flex-grow: 1;
    padding: 20px;
}
/* Responsive Listings: Row layout for desktop, auto-stack for mobile */
@media screen and (min-width: 768px) {
    
    /* Change listings layout from grid columns to vertical rows */
    .hp-listings {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px; 
    }

    /* Adjust the individual listing card to stretch horizontally */
    .hp-listings .hp-grid__item {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }

    /* Make internal listing components line up side-by-side */
    .hp-listing--view-block {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        text-align: left;
    }

    /* Constrain the image size so it sits neatly on the left side */
    .hp-listing__image {
        width: 250px !important;
        flex-shrink: 0;
    }

    .hp-listing__image img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
    }

    /* Allow the text and content area to fill the remaining space */
    .hp-listing__content {
        flex-grow: 1;
        padding: 20px;
    }
/*/* Keep the Price From and Price To attributes inline on the sidebar */
.hp-listing__attribute--price-min, 
.hp-listing__attribute--price-max {
    display: inline !important;
    margin-right: 4px;
}

}

/* Make sure the image fills the curved shape cleanly */
.wpcom-ai-rounded-listing-images img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
	/* Smooth curves for listing images on the Things to do in Harare page */
.wpcom-ai-rounded-listing-images .hp-listing__image,
.wpcom-ai-rounded-listing-images .hp-listing__images,
.wpcom-ai-rounded-listing-images picture,
.wpcom-ai-rounded-listing-images img {
    border-radius: 16px;
    overflow: hidden;
}

/* Make sure the image fills the curved shape cleanly */
.wpcom-ai-rounded-listing-images img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-section h1, .hero__heading {
  font-size: 48px;
  color: #ffffff;
  font-family: 'Your-Chosen-Font', sans-serif;
}
/* Change HivePress form text, labels, and descriptions to pure black */
.hp-form label, 
.hp-form .hp-field__label,
.hp-form .hp-field__description,
.hp-form input,
.hp-form span,
.hp-field {
    color: #000000 !important;
}
/* Universal Zoom Effect for Added Images and Blocks */
.hp-listing__images .hp-listing__image,
.hp-listing__images .slick-slide,
.wp-block-image,
.wp-block-column {
    overflow: hidden !important;
    position: relative;
}

.hp-listing__images .hp-listing__image img,
.hp-listing__images .slick-slide img,
.wp-block-image img,
.wp-block-column img {
    transition: transform 0.4s ease-in-out !important;
    transform: scale(1);
}

/* Smooth zoom when hovering directly over any of these image wrappers */
.hp-listing__images .hp-listing__image:hover img,
.hp-listing__images .slick-slide:hover img,
.wp-block-image:hover img,
.wp-block-column:hover img {
    transform: scale(1.1) !important;
}

/* Force vertical layout and custom ordering on mobile */
@media only screen and (max-width: 768px) {
    /* 1. Set the container to Flex and arrange children in a vertical column */
    .hp-listing--view-block,
    .editor-visual-editor {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 15px !important;
    }

    /* 2. Place the Category (WORLD FAMOUS HOTELS) at the very top */
    .hp-listing__categories,
    .hp-listing__category {
        order: 1 !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }

    /* 3. Place the Company Logo below the category (REDUCED GAP BELOW LOGO) */
    .hp-listing__image,
    .hp-listing__header,
    .wp-block-image {
        order: 2 !important;
        margin-bottom: 2px !important; /* Shrunk from 15px to 2px */
        display: flex !important;
        justify-content: center !important;
    }

    /* 4. Place the Title/Text content below the logo (REDUCED GAP ABOVE TEXT) */
    .hp-listing__content,
    .hp-listing__title,
    h1, h2, h3 {
        order: 3 !important;
        font-size: 1.5rem !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        text-align: center !important;
        margin-top: 0 !important; /* Forces any default top spacing away */
    }

    /* 5. Place any remaining elements (like the green button array) at the bottom */
    .hp-listing__attributes,
    .hp-listing__footer {
        order: 4 !important;
        width: 100% !important;
    }