
body {
	color: #0e0e0e;
	word-break: auto-phrase;
}

.box {
	padding: 1em;
	background: none;
	overflow-x: visible !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #fe723d;
    font-weight: 700;
    /* text-transform: uppercase; */
}

#main {
    padding: 0;
}

/* BUILD STYLES */
#main header {
	background: linear-gradient(135deg, #7f391e 0%, #fe723d 55%, #feb496 100%);
	color: #fff;
	padding: 6rem 4rem 3rem;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
}

#main header::before {
	content: '';
    position: absolute;
    top: 50%;
    left: 2rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(225, 255, 255, 0.06);
    pointer-events: none;
    background-image: url(https://beta.mansfield.gov.uk/images/Enjoy_logo_removebg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    filter: brightness(10) invert(0);
    z-index: 1;
    transform: translateY(-50%);
    overflow: hidden;
}

#main > header {
    text-align: center;
    margin: 3em 0 0 0;
	border-radius: 10px;
}

#main > header h1 {
	color: #fff;
}

#header .logo > * {
    padding-left: 4em;
}

.intro-lead {
	/*font-size: 1.15rem; */
	line-height: 1.7;
	color: #1a1a1a;
	font-weight: 600;
	margin-bottom: 0.75rem;
	border-left: 4px solid #fe723d;
	padding-left: 1rem;
}

.section-heading--build {
    color: #295ca8;
}

.section-heading {
	font-size: 1.4rem;
    font-weight: 800;
    margin: 2.5rem 0 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}
.section-heading::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(to right, rgba(254, 114, 61, 0.4) 0%, #fe723d 15%, #fe723d 85%, rgba(254, 114, 61, 0.4) 100%);
}

img {
    border-radius: 10px;
}

/* Parallax window - slightly wider than container */
.js__parallax-window {
    width: 80vw !important;
    position: relative;
    left: 50%;
    margin-left: -40vw !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center 0 !important;
    min-height: 300px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
	padding: 4rem 2rem;
}

/* Break out of widget constraints */
.widget-width--100 .js__parallax-window {
    width: 80vw !important;
    margin-left: -40vw !important;
}

/* Ensure parent containers don't constrain it */
.widget-width--100,
.widget-content,
.editor {
    width: 100% !important;
    max-width: none !important;
}

/* Overlay for text contrast */
.js__parallax-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    border-radius: 7px;
}

/* Parallax content - centered */
.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 20px;
}

/* Text wrapper for vertical centering */
.parallax-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Text styling */
.js__parallax-window h2 {
    color: #ffffff !important;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.js__parallax-window p {
    color: #ffffff !important;
    margin: 0 0 30px 0;
    max-width: 600px;
}

/* Button styling */
.js__parallax-window .s-btn {
    background-color: #fe723d !important;
    color: #ffffff !important;
    border: 2px solid #fe723d !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.js__parallax-window .s-btn:hover {
    background-color: #1e4580 !important;
    border-color: #1e4580 !important;
}



/* Prevent horizontal scroll on body */
/* Reset body and main container styles */

.list--breadcrumb a {
	color: #fff;
	border-bottom-width: 0px;
}

.list--breadcrumb a:hover {
	border-bottom-width: 1px;
}


/* Build Case study theme */
/* Build theme intro section styling */
/* Build theme intro section styling */

.widget-row:nth-of-type(odd) {
	background-color: #f5f8fe;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;	
}

.widget-row:nth-of-type(even) {
	background-color: #fff;
    padding: 2rem 2.5rem;
    margin-bottom: 0.5rem;	
}


/* "Our Vision" label */
.intro-section-content > p:first-child {
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-align: center;    
}

/* Main headings */
.intro-section-content h2 {
    margin: 1.5rem 0;
    line-height: 1.2;
    text-align: center;
    font-size: 2rem;        /* Increase from default */
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.intro-section-content h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #7f391e, #fe723d);
	border-radius: 2px;
}
    

/* Body paragraphs */
.intro-section-content > p:not(:first-child) {
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

/* Intro section - center aligned */
.intro-section-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    position: relative;
    width: 100%;
}

.intro-section-content {
    flex: 0 0 100%;
    text-align: left;
}



.intro-section-logo {
    position: absolute;
    top: 0;
    right: 0;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.intro-section-logo img {
    width: auto;
    height: 100px;
}

/* Ambitions sections with images */
.ambitions-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.ambitions-section img {
    width: 260px;
    height: 240px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(254, 114, 61, 0.18);
}

.ambitions-section ul {
    flex: 1;
}

.ambitions-list {
	list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ambitions-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	background: #f0f5ff;
	border: 1px solid #d0dff5;
	border-left: 4px solid #fe723d;
	border-radius: 6px;
	padding: 0.7rem 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #1a1a1a;
	transition: background 0.2s ease, transform 0.2s ease;
	font-weight: 400;
}

.ambitions-list li:hover {
	background: #e3ecff;
    transform: translateX(3px);
}

.ambitions-list__icon {
	flex-shrink: 0;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: #fe723d;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.05rem;
}

.resulting-in-callout {
	background: linear-gradient(135deg, #7f391e 0%, #fe723d 100%);
	border-radius: 10px;
	padding: 1.75rem 2rem;
	margin: 2.5rem 0 1rem;
	color: #fff;
	position: relative;
	overflow: hidden;
}





/* Mobile responsive */
@media screen and (max-width: 759px) {
    .intro-section-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .intro-section-logo {
        position: static;
        justify-content: center;
    }
    
    /* .widget-row:nth-of-type(1) {
        padding: 2rem 1.5rem;
    }*/
    
    .intro-section-content h2 {
        font-size: 1.75rem;
    }

    .ambitions-section img {
        width: 100%;
        max-width: 300px;
        order: 2;		
    }

    .ambitions-section ul {
        order: 1;
    }
}

@media screen and (max-width: 1288px) {
    #main header::before {
        width: 160px;
        height: 160px;
        left: 1rem;     
    }
	#main header h1{
		margin: 0 0 1.5em 0
	}	
}

@media screen and (max-width: 1000px) {
    #main header::before {
        width: 120px;
        height: 120px;
        left: 0.5rem;
        right: auto;        
    }
	/* Ambitions sections responsive */
    .ambitions-section.left-image, .ambitions-section.right-image {
		flex-direction: column;
	}
}

@media screen and (max-width: 870px) {
    #main header::before {
        width: 80px;
        height: 80px;
        left: 0.5rem;
        right: auto;       
    }
}

@media screen and (max-width: 840px) {
	#js-menu-toggle > li:first-child {
        display: none;
    }
	
	#header {
		display:block;
	}
	#main > header {
        margin-top: 0;
    }

    @media screen and (max-width: 736px) {
    .box {
        margin:0;
    }
	
}

	
	 
}


@media screen and (max-width: 700px) {
    /* #main header::before {
        display: none;
    }*/
	#main header::before {
		width: 80px;
        height: 80px;
        left: 0.5rem;
        right: auto;  
	}	
	#main > header h1 {
		font-size: 2em;
	}
	
}


@media screen and (max-width: 600px) {	
	#main header::before {
		width:80px;
		height:80px;
		left:2.5rem;
		right: auto;
	}
	
	
}

@media screen and (max-width: 580px) {    	
	#main header::before {
		width:50px;
		height:50px;
		left:1rem;
		right: auto;
	}
	
	
}
