/* =========================================
   FULL-WIDTH LAYOUT
   Section backgrounds run edge to edge; the
   content stays inside the centred .container
   (max 1265px). Loaded after style.css,
   pages.css and mobile.css so it overrides
   the older "boxed" rules, where the colour
   sat on .container instead of the section.
========================================= */

/* -----------------------------------------
   One content width everywhere: header,
   theme sections, Elementor pages and the
   footer all line up on the same edges as a
   Bootstrap .container (1265px box with 12px
   side padding, so content is 1241px wide).
----------------------------------------- */

.footer-container {
	width: 100%;
	max-width: 1265px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 12px;
	padding-right: 12px;
}

@media (min-width: 768px) {
	.header-container {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* Homepage bands that set their own side padding: keep the shared edges. */
.latest-blog-section .container,
.practice-areas-section .practice-areas-container {
	padding-left: 12px !important;
	padding-right: 12px !important;
}

/* Elementor pages (About, Careers, calculators, legal): boxed content
   was 1140px with 10px side padding; match the theme instead. */
.e-con {
	--container-max-width: 1241px;
}

.e-con.e-parent {
	--container-default-padding-left: 12px;
	--container-default-padding-right: 12px;
}

.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1241px;
}

/* Homepage hero: the slide images fill the full width. */
.hero-slider > .container {
	max-width: none !important;
}

/* -----------------------------------------
   Grey and dark bands: colour on the section
----------------------------------------- */

.about-info-section {
	position: relative;
	margin-top: 35px;
	padding-top: 0;
	background-color: #606060;
	overflow: hidden;
}

.value-proposition-section,
.practice-areas-section,
.team-banner-section,
.single-team-section,
.contact-section {
	background-color: #f9f9f9;
}

.latest-blog-section {
	position: relative;
	background-color: #eaeaea;
	overflow: hidden;
}

.blog-home-section {
	background-color: #e5e5e5;
}

.about-info-section .container,
.value-proposition-section .container,
.latest-blog-section .container,
.practice-areas-section .container,
.team-banner-section .container,
.single-team-section .container,
.blog-home-section .container,
.contact-section .container {
	width: 100%;
	background: transparent;
	background-color: transparent;
}

/*
 * Straight edges between the bands: the diagonal
 * cuts are gone, so the blog band needs less top
 * padding (it used to leave room for the slope).
 */
.latest-blog-section .container {
	padding-top: 60px;
}

@media (max-width: 767px) {
	.latest-blog-section .container {
		padding-top: 45px;
	}
}

/* -----------------------------------------
   Credentials (grid + single): the dark title
   band and the grey list share one <section>,
   so each container paints its colour out to
   the viewport edges instead.
----------------------------------------- */

.credentials-grid-section {
	overflow-x: clip;
}

.credentials-grid-section .container {
	width: 100%;
}

.credentials-grid-section .team-top-container {
	box-shadow: 0 0 0 100vmax #282828;
	clip-path: inset(0 -100vmax);
}

.credentials-grid-section .oa-container {
	box-shadow: 0 0 0 100vmax #e8e8e8;
	clip-path: inset(0 -100vmax);
}

/* -----------------------------------------
   Blog page: the featured-post banner image
   runs edge to edge; its title stays lined
   up with the content below.
----------------------------------------- */

.blog-banner-section > .container {
	max-width: none !important;
	padding: 0;
}

.blog-banner-section > .container > .row {
	margin: 0;
}

.blog-banner-section > .container > .row > .col-md-12 {
	padding: 0;
}

.blog-banner-section .blog-banner-image img {
	height: 420px;
	object-fit: cover;
}

.blog-banner-section .blog-banner-content {
	left: max(30px, calc((100% - 1265px) / 2 + 30px));
	width: min(811px, calc(100% - 60px));
}
