/*.wpzoom-blocks_portfolio-block {margin-top: 0;}

@media screen and (max-width: 800px) {
	.hero {
		font-size: 50px !important;
	}
	
}


@media screen and (max-width: 500px) {
	.hero {
		font-size: 30px !important;
	}
	
*/
/*Stretch row width beyond Default Container Width set by theme, desktop only */
/* Center the row container on desktops and prevent JS overrides */
@media (min-width: 992px) {
    
    .wide-desktop-text {
        max-width: 80% !important;
        width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: 0 !important;
        float: none !important;
        display: block !important;
    }

    /* Force the inner column engine to stay in a horizontal row layout */
    .wide-desktop-text > .vc_row, 
    .wide-desktop-text .wpb_row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        left: 0 !important;
    }

    /* Ensure both columns split the space evenly (50% each) side-by-side */
    .wide-desktop-text .wpb_column.vc_col-sm-6 {
        width: 50% !important;
        float: left !important;
    }
}
/* Optimise page loading by disabling some fonts as recommended by WP */
/* Font Awesome loaded by WPBakery */
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-display: swap;
}

/* Montserrat uploaded by WPBakery */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
}

/* Libre Baskerville uploaded by WPBakery */
@font-face {
  font-family: 'Libre Baskerville';
  font-display: swap;
}

/* Hover over image zoom effect */
/* Container to keep the zoomed image from spilling over */
.hover-zoom-img {
    overflow: hidden;
    display: block;
}

/* Smooth transition for the image */
.hover-zoom-img img {
    transition: transform 0.4s ease-in-out;
    width: 100%; /* Ensures the image fills its container */
    height: auto;
}

/* The zoom effect triggered on hover */
.hover-zoom-img:hover img {
    transform: scale(1.05); /* Scales the image by 5% */
}
/* Style the headings in the Recent News grid */
.custom-news-grid .vc_gitem-post-data-source-post_title h2,
.custom-news-grid .vc_gitem-post-data-source-post_title h3,
.custom-news-grid .vc_gitem-post-data-source-post_title h4,
.custom-news-grid .vc_gitem-post-title h2,
.custom-news-grid .vc_gitem-post-title h3,
.custom-news-grid .vc_gitem-post-title h4,
.custom-news-grid .vc_gitem-post-data-source-post_title a,
.custom-news-grid .vc_custom_heading {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a365d !important; 
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    display: block !important;
}

/* Hover effect */
.custom-news-grid .vc_gitem-post-data-source-post_title a:hover,
.custom-news-grid .vc_gitem-post-title a:hover,
.custom-news-grid .vc_custom_heading a:hover {
    color: #00509e !important;
    text-decoration: underline !important;
}
/* Style the post snippet/excerpt text to separate it from the heading */
.custom-news-grid .vc_gitem-post-data-source-post_excerpt,
.custom-news-grid .vc_gitem-post-data-source-post_excerpt p,
.custom-news-grid .vc_gitem-post-data-source-post_excerpt strong,
.custom-news-grid .vc_gitem-post-data-source-post_excerpt b,
.custom-news-grid .vc_gitem-post-excerpt p {
    font-size: 15px !important;       /* Smaller text for the snippet */
    font-weight: 400 !important;      /* Forces normal weight (un-bolds the text) */
    color: #4a4a4a !important;        /* Dark grey to contrast with the blue headings */
    line-height: 1.5 !important;
    margin-top: 8px !important;
}

