/*
 Theme Name:   Timms
 Author:       Greendog X Gravity
 Author URI:   https://www.greendogmedia.co.uk/
 Version:      2.0.0
*/

/* --------------------
	Global
-------------------- */

.admin-bar #header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar #header {
		top: 46px;
	}
}

:root {
	--maroon: #751545;
	--mulberry: #5b0430;
	--pink: #f565ad;
	--rose: #eeaece;
	--raspberry: #B80C4B;
	--mustard: #C0AF2C;
	--purple: #5A3F99;
	--navy: #171946;
	--teal: #0090A1;
	--blue: #00A4E4;
	--green: #00B283;
	--white: #ffffff;
	--light: #f4f4f5;
	--dark: #2c2d37;
	--black: #1a1a1a;
	--body: #6D6E71;
    --lightgrey: #A7A9AC;

}

html {
	font-size: 16px;
	scroll-behavior: auto !important;
}

body {
	font-family: 'Raleway', sans-serif;
    font-weight: 400;
	line-height: 1.5;
	color: var(--body);
}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.2;
	color: var(--maroon);
	margin-bottom: 1rem;
}

.h1,h1 {
    font-size: calc(1.86rem + 1.5vw);
}

.h2,h2 {
    font-size: calc(1.8rem + 0.9vw);
}

.h3,h3 {
    font-size: calc(1.54rem + .6vw);
}

.h4,h4 {
    font-size: calc(1.5rem + .3vw);
}

.h5,h5 {
    font-size: 1.25rem;
}

.h6,h6 {
    font-size: 1rem;
}

@media (min-width: 1200px) {
    .h1,h1 {
        font-size: 3rem;
    }
    .h2,h2 {
        font-size: 2.5rem;
    }
    .h3,h3 {
        font-size: 2rem;
    }
    .h4,h4 {
        font-size: 1.75rem;
    }
}

a {
    color: var(--maroon);
	text-decoration: none;
}

a:hover {
	color: var(--mulberry);
    text-decoration: none;
}

ol, ul {
    padding-left: 1.1rem;
}

.bg-maroon {background-color: var(--maroon)!important;}
.bg-mulberry {background-color: var(--mulberry)!important;}
.bg-pink {background-color: var(--pink)!important;}
.bg-rose {background-color: var(--rose)!important;}
.bg-raspberry {background-color: var(--raspberry)!important;}
.bg-mustard {background-color: var(--mustard)!important;}
.bg-purple {background-color: var(--purple)!important;}
.bg-navy {background-color: var(--navy)!important;}
.bg-teal {background-color: var(--teal)!important;}
.bg-blue {background-color: var(--blue)!important;}
.bg-green {background-color: var(--green)!important;}
.bg-white {background-color: var(--white)!important;}
.bg-light {background-color: var(--light)!important;}
.bg-dark {background-color: var(--dark)!important;}
.bg-black {background-color: var(--black)!important;}
.bg-body {background-color: var(--body)!important;}

.bg-blue,
.bg-green,
.bg-maroon,
.bg-mustard,
.bg-navy,
.bg-purple,
.bg-raspberry,
.bg-teal {color: var(--white)!important;}

.bg-blue h2,
.bg-green h2,
.bg-maroon h2,
.bg-mustard h2,
.bg-navy h2,
.bg-purple h2,
.bg-raspberry h2,
.bg-teal h2 {color: var(--white)!important;}

.bg-blue a:not(.btn, .hoowla-quote-button) {color: #82e6fd!important;}
.bg-green a:not(.btn, .hoowla-quote-button) {color: #b7f15d!important;}
.bg-maroon a:not(.btn, .hoowla-quote-button) {color: var(--rose)!important;}
.bg-mustard a:not(.btn, .hoowla-quote-button) {color: #ffe247!important;}
.bg-navy a:not(.btn, .hoowla-quote-button) {color: #8dd7f5!important;}
.bg-purple a:not(.btn, .hoowla-quote-button) {color: var(--rose)!important;}
.bg-raspberry a:not(.btn, .hoowla-quote-button) {color: #ff98af!important;}
.bg-teal a:not(.btn, .hoowla-quote-button) {color: #62dcff!important;}
.bg-dark a:not(.btn, .hoowla-quote-button) {color: #ffffff!important; text-decoration: underline!important;}

.text-maroon {color: var(--maroon)!important;}
.text-mulberry {color: var(--mulberry)!important;}
.text-pink {color: var(--pink)!important;}
.text-rose {color: var(--rose)!important;}
.text-raspberry {color: var(--raspberry)!important;}
.text-mustard {color: var(--mustard)!important;}
.text-purple {color: var(--purple)!important;}
.text-navy {color: var(--navy)!important;}
.text-teal {color: var(--teal)!important;}
.text-blue {color: var(--blue)!important;}
.text-green {color: var(--green)!important;}
.text-white {color: var(--white)!important;}
.text-light {color: var(--light)!important;}
.text-dark {color: var(--dark)!important;}
.text-black {color: var(--black)!important;}
.text-body {color: var(--body)!important;}

.text-faded {
  color: oklch(from currentColor l calc(c * 1.3) h / 65%);
}

.surtitle {
    font-weight: 600;
    color: var(--maroon);
    display: inline-block;
    position: relative;
    padding: 0 40px;
    line-height: 1;
}

.surtitle::before, .surtitle::after {
    content: "";
    position: absolute;
    display: block;
    height: 2px;
    width: 30px;
    background: var(--maroon);
    vertical-align: middle;
    top: 50%;
    left: 0;
}

.surtitle::after {
    left: auto;
    right: 0;
}

.surtitle.text-white::before, .surtitle.text-white::after {
	background: var(--white);
}

.lead {
    font-size: 1.35rem;
    font-weight: 400;
}

.large {
    font-size: 1.25em;
}

.btn {
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: 'Raleway', sans-serif;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 600;
    --bs-btn-line-height: 1.5;
    --bs-btn-border-width: 1px;
    --bs-btn-border-radius: 0;
}

.btn-primary {
    --bs-btn-color: var(--maroon);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--maroon);
    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: var(--maroon);
    --bs-btn-hover-border-color: var(--maroon);
    --bs-btn-active-color: var(--white);
    --bs-btn-active-bg: var(--maroon);
    --bs-btn-active-border-color: var(--maroon);
    --bs-btn-disabled-color: var(--maroon);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--maroon);
}

.btn-secondary {
    --bs-btn-color: var(--white);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--white);
    --bs-btn-hover-color: var(--maroon);
    --bs-btn-hover-bg: var(--white);
    --bs-btn-hover-border-color: var(--white);
    --bs-btn-active-color: var(--maroon);
    --bs-btn-active-bg: var(--white);
    --bs-btn-active-border-color: var(--white);
    --bs-btn-disabled-color: var(--white);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--white);
}

.btn-white {
	background-color: var(--white) !important;
	border-color: var(--white) !important;
	transition: background-color .15s ease-in-out;
}

.btn-white:hover,
.btn-white:focus,
.btn-white:active {
	background-color: #ffffffe6 !important;
}

hr {
    opacity: 0.5;
}

section {
	position: relative;
	overflow-x: hidden;
	z-index: 1;
}

section.text-box {
    overflow: visible;
}

.opacity-10 {opacity: .1!important}
.opacity-20 {opacity: .2!important}
.opacity-30 {opacity: .3!important}
.opacity-40 {opacity: .4!important}
.opacity-60 {opacity: .6!important}
.opacity-70 {opacity: .7!important}
.opacity-80 {opacity: .8!important}
.opacity-90 {opacity: .9!important}

.pb-100 {
    padding-bottom: 100%!important;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-right: 15px;
    padding-left: 15px;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

.row>* {
    padding-right: 15px;
    padding-left: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

img.alignright {
	display: table;
    float: right;
    margin: 0.5em 0 0.5em 1em;
}

img.alignleft {
	display: table;
    float: left;
    margin: 0.5em 1em 0.5em 0;
}

img.aligncenter {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

blockquote {
    position: relative;
    border: 1px solid #b6b8b9;
    border-left: 5px solid #b6b8b9;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 1px;
    background: #fafafb;
}

blockquote :last-child {
    margin-bottom: 0;
}

.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal!important
}

.screen-reader-text:focus {
    background-color: #ddd;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

.grecaptcha-badge {
	bottom: 96px !important;
    z-index: 1000;
	visibility: hidden;
}

.hoowla-quote-button {
    display: inline-block !important;
    color: var(--teal) !important;
    border: none !important;
    margin: 0.5rem 0 0 0 !important;
    padding: 10px 16px 12px !important;
    text-transform: none !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: 'Raleway', sans-serif !important;
    line-height: 1 !important;
}

.wysiwyg a.hoowla-quote-button.small {
    display: inline !important;
    border: none !important;
    color: var(--maroon) !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wysiwyg a.hoowla-quote-button.small:hover,
.wysiwyg a.hoowla-quote-button.small:focus {
    color: var(--mulberry) !important;
    opacity: 1 !important;
}

/* --- cookie yes --- */

.video-placeholder-normal {
    background: #f4f4f5!important;
}

.video-placeholder-text-normal {
    margin: 0!important;
    width: 100%!important;
    background: var(--maroon)!important;
    border: none!important;
    border-radius: 0!important;
}

/* --- tablepress --- */

.tablepress caption {
    display: none;
}

/* --------------------
	Forms
-------------------- */

input,
button,
select,
optgroup,
textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

input[type=text],
input[type=email],
input[type=number],
input[type=tel],
textarea,
select {
    display: block;
    width: 100%;
    height: auto;
    border: solid 1px var(--maroon);
    color: var(--maroon);
	background: var(--white);
    padding: 12px 20px;
    outline: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
}

select {
	padding: 12px 48px 12px 20px;
    background-image: url(./images/select.png);
	background-repeat: no-repeat;
	background-size: auto 12px;
	background-position: right center;
}

select::-ms-expand {
    display: none;
}

textarea {
	height: 100px;
	overflow: auto;
	resize: none;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=tel]:focus,
textarea:focus {
    border-color: var(--body);
    outline: none;
}

[type="submit"] {
    display: inline-block;
	height: auto;
	border: 1px solid var(--maroon);
	color: var(--maroon);
	background: var(--white);
	padding: 0.375rem 1rem;
	font-weight: 600;
    overflow: hidden;
    cursor: pointer;
	outline: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
	transition: color .15s ease-in-out,background-color .15s ease-in-out;
    -moz-appearance: none;
    -webkit-appearance: none;
}

button:hover,
[type="button"]:hover,
[type="reset"]:hover,
[type="submit"]:hover {
	color: var(--white);
    background: var(--maroon);
}

input[type="radio"],
input[type="checkbox"] {
	padding: 0;
}

fieldset {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

::-webkit-input-placeholder {
    color: var(--maroon);
}

:-moz-placeholder {
    color: var(--maroon);
}

/* --- wpcf7 --- */

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.5rem;
}

.wpcf7 form.wpcf7-form .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 0 15px;
    border: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	color: var(--teal);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	color: var(--raspberry);
}

.wpcf7 .wpcf7-not-valid-tip {
	color: var(--raspberry);
	font-size: 14px;
	margin-bottom: -10px;
}

.wpcf7 .wpcf7-spinner {
    background-color: var(--maroon);
    opacity: 1;
    vertical-align: top;
    margin: 6px 0 0 16px;
}

/* --- gform --- */

.gform-theme--framework input,
.gform-theme--framework textarea,
.gform-theme--framework select {
    outline: none !important;
}

.gform-theme--framework label.gfield_consent_label {
    color: #666666 !important;
    margin-top: 0 !important;
}

/* --------------------
	Tables
-------------------- */

table {
	width: auto;
	background: white;
	margin-bottom: 1.5rem;
	border: solid 1px #dddddd;
}

	.table-wrap table {
		margin-bottom: 0;
	}

.table-wrap {
	overflow-x: auto;
	margin-bottom: 1.5rem;
}

table caption {
    background: transparent;
    font-size: 1rem;
    font-weight: bold;
}

table thead,
table tfoot {
    background: var(--light);
}

table thead tr th, table thead tr td,
table tfoot tr th, table tfoot tr td {
    padding: .75rem 1rem;
    font-weight: bold;
	border-top-width: 1px;
	border-right-width: 1px;
}

table tr td {
    padding: .75rem 1rem;
    text-align: left;
	border-top-width: 1px;
	border-right-width: 1px;
}

table tr.even, table tr.alt, table tr:nth-of-type(even) {
}

table thead tr th, table tfoot tr th, table tfoot tr td, table tbody tr th, table tbody tr td, table tr td {
    display: table-cell;
}

/* --------------------
	Header
-------------------- */

#header {
	position: fixed;
    width: 100%;
	z-index: 100;
    transition: background .3s ease;
}

@media (min-width: 1400px) {
    #header .container {
        max-width: 1420px;
    }
}

#header.solid,
#header.scrolled,
#header.nav-open {
	background: var(--accent, var(--maroon));
}

#header .header-ctas a,
#header .header-ctas a.hoowla-quote-button {
    display: inline-block !important;
    background: rgb(255 255 255 / 30%) !important;
    color: var(--white) !important;
    border: none !important;
    margin: 0 0 0 10px !important;
    padding: 10px 15px !important;
    text-transform: none !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: 'Raleway', sans-serif !important;
    line-height: 1 !important;
}

#header .header-ctas a,
#header .header-ctas a.hoowla-quote-button:hover {
    opacity: 1;
}

#header .header-logo {
    display: inline-block;
	margin: 15px 0;
}

#header .header-logo .header-logo-image {
    width: 182px;
	height: 65px;
    margin: 15px 0;
}

#header nav {
}

#header nav ul.menu {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

#header nav ul.menu > li {
    position: relative;
    padding: 0 0 10px;
}

#header nav ul.menu > li:last-child {
    margin-right: -16px;
}

#header nav ul.menu > li > a {
    display: block;
    margin: 0;
    padding: 16px;
    font-size: 16px;
    line-height: 20px;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

#header nav ul.menu > li > a[href]:hover {
    color: color-mix(in oklch, var(--accent, var(--maroon)) 40%, white);
    text-decoration: none;
}

#header nav ul.menu > li > a:not([href]):hover {
	cursor: default;
}

#header nav ul.menu > li.current-menu-item {
}

#header nav ul.menu > li.current-menu-item > a {
    color: var(--white);
}

#header nav ul.menu > li > .sub-menu-wrap {
	position: absolute;
	top: 100%;
	left: 0;
	width: auto;
    background: color-mix(in srgb, var(--accent, var(--maroon)) 80%, black);	visibility: hidden;
	opacity: 0;
	transition: all .3s linear;
}

	#header nav ul.menu > li:hover > .sub-menu-wrap {
		visibility: visible;
		opacity: 1;
		z-index: 10;
		transition: all .3s linear;
	}
	
#header nav ul.menu > li > .sub-menu-wrap > ul.sub-menu {
    max-width: 1320px;
    list-style: none;
    padding: 8px 0;
    margin: auto;
}

@media (max-width: 1399px) {
    #header nav ul.menu > li > .sub-menu-wrap > ul.sub-menu {
        max-width: 1140px
    }
}

@media (max-width: 1199px) {
    #header nav ul.menu > li > .sub-menu-wrap > ul.sub-menu {
        max-width: 960px
    }
}

@media (max-width: 991px) {
    #header nav ul.menu > li > .sub-menu-wrap > ul.sub-menu {
        max-width: 720px
    }
}

#header nav ul.menu > li > .sub-menu-wrap > ul.sub-menu > li {
	padding: 4px 8px;
	margin: 0;
}

#header nav ul.menu > li > .sub-menu-wrap > ul.sub-menu > li > a {
	display: block;
	margin: 0;
	padding: 8px 16px;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--white);
	text-decoration: none;
	text-align: left;
	white-space: nowrap;
	-webkit-transition: color 0.3s ease, background 0.3s ease;
	-moz-transition: color 0.3s ease, background 0.3s ease;
	transition: color 0.3s ease, background 0.3s ease;
}

#header nav ul.menu > li > .sub-menu-wrap > ul.sub-menu > li > a:hover {
    color: color-mix(in oklch, var(--accent, var(--maroon)) 40%, white);
}

.slicknav_menu {
	display: none;
}

@media screen and (min-width: 992px) {
	#header:hover {
		background: var(--accent, var(--maroon));
	}
}

@media screen and (max-width: 991px) {
	
	#menu {
		display: none;
	}
	
	.slicknav_menu {
		display: block;
	}
	
	#header .header-logo {
	    margin: 15px 0 15px 8px;
	}
		
	#header .header-logo .header-logo-image {
	    width: 146px;
	    height: 50px;
	    margin: 5px 0;
	}
}

/* --------------------
	Content
-------------------- */

main.header-bump {
    padding-top: 120px;
}

@media screen and (max-width: 991px) {
	main.header-bump {
		padding-top: 90px;
	}
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: #06060666;
}

.overlay.overlay-plain {
	background: transparent;
}

.overlay div {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay-maroon div {background-color: var(--maroon);}
.overlay-mulberry div {background-color: var(--mulberry);}
.overlay-pink div {background-color: var(--pink);}
.overlay-rose div {background-color: var(--rose);}
.overlay-raspberry div {background-color: var(--raspberry);}
.overlay-mustard div {background-color: var(--mustard);}
.overlay-purple div {background-color: var(--purple);}
.overlay-navy div {background-color: var(--navy);}
.overlay-teal div {background-color: var(--teal);}
.overlay-blue div {background-color: var(--blue);}
.overlay-green div {background-color: var(--green);}

.overlay.blend-multiply div {
	mix-blend-mode: multiply;
}

.overlay.blend-overlay div {
	mix-blend-mode: overlay;
}

.overlay.blend-hard-light div {
	mix-blend-mode: hard-light;
}

.overlay.overlay-slant div {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(10%) skewX(49deg);
    transform-origin: left bottom;
    width: 500%;
    height: 100%;
}

.overlay.overlay-gradient div {
	-webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%);
	mask-image: linear-gradient(to left, #000 30%, transparent 100%);
}


@media (min-width: 768px) {
	.overlay.overlay-slant div {
		transform: translateX(360px) skewX(49deg);
	}
}

.overlay.overlay-cover div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	z-index: 0;
}

@media (min-width: 768px) {
	.overlay.overlay-slant::before,
	.overlay.overlay-slant::after,
	.overlay.overlay-cover::before,
	.overlay.overlay-cover::after {
		content: "";
		position: absolute;
		bottom: 0;
		transform-origin: left bottom;
		width: 500%;
		height: 100px;
		height: 80px;
		background: var(--white);
		z-index: 1;
	}

	.overlay.overlay-slant::before,
	.overlay.overlay-cover::before{
		right: 50%;
		transform: translateX(360px) skewX(49deg);
	}

	.overlay.overlay-slant::after,
	.overlay.overlay-cover::after{
		left: 50%;
		transform: translateX(360px);
	}
}

/* --- hero --- */

.page-hero {
    padding: 90px 0 0 0;
}

@media (min-width: 768px) {
	.page-hero {
		padding: 90px 0 0 0;
		margin: 0;
	}
}

.page-hero .page-hero-content {
    padding: 100px 8px;
}

@media (min-width: 768px) {
	.page-hero .page-hero-content {
		min-height: 480px;
	}
}

@media (min-width: 992px) {
	.page-hero .page-hero-content {
		padding: 100px 0;
		min-height: 600px;
	}
}

.page-hero h1 {
    font-size: calc(2rem + 0.9vw);
}

@media (min-width: 1200px) {
	.page-hero h1 {
	    font-size: 2.8rem;
	}
}

/* --- banner --- */

.page-banner {
    padding: 90px 0 0 0;
}

@media (min-width: 768px) {
	.page-banner {
		padding: 90px 0 0 0;
		margin: 0;
	}
}

.page-banner .page-banner-content {
    padding: 100px 8px;
}

@media (min-width: 768px) {
	.page-banner .page-banner-content {
		min-height: 340px;
	}
}

@media (min-width: 992px) {
	.page-banner .page-banner-content {
		min-height: 480px;
	    padding: 100px 0;
	}
}

.page-banner h1,
.page-banner-small h1 {
    font-size: calc(2rem + 0.9vw);
	text-wrap-style: balance;
}

@media (min-width: 1200px) {
	.page-banner h1,
	.page-banner-small h1 {
	    font-size: 2.8rem;
	}
}

/* --- wysiwyg --- */

.wysiwyg-content .h1, .wysiwyg-content .h2, .wysiwyg-content .h3, .wysiwyg-content .h4, .wysiwyg-content .h5, .wysiwyg-content .h6, .wysiwyg-content h1, .wysiwyg-content h2, .wysiwyg-content h3, .wysiwyg-content h4, .wysiwyg-content h5, .wysiwyg-content h6 { margin-top: 1.5rem; }

.wysiwyg-content-no-title :first-child {
    margin-top: 0;
}

.wysiwyg-content p img {
    margin-bottom: 3px;
}

/* --- faq links --- */

.faq-link {
    display: block;
    position: relative;
    background: var(--white);
    border: 1px solid #ddd;
    margin-top: 1.5rem;
    padding: 1rem 3.5rem 1rem 1.5rem;
    box-shadow: none;
    transition: box-shadow 0.2s ease;
}

.faq-link:hover,
.faq-link:focus {
	box-shadow: 0px 0px 10px 0px #0000001f;
}

.faq-link::after {
	content: "";
	display: block;
	position: absolute;
	right: 16px;
	top: 50%;
	width: 16px;
	height: 20px;
	margin-top: -10px;
	background: var(--maroon);
	mask-image: url(./images/curved-arrow-left-icon.svg);
	-webkit-mask-image: url(./images/curved-arrow-left-icon.svg);
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-position: center left;
	-webkit-mask-position: center left;
	mask-size: contain;
	-webkit-mask-size: contain;
}

/* --- locations --- */

.office-location:not(:last-child) {
    margin-bottom: 3rem;
}

.location-content,
.location-map {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

.location-content {
    padding: 2rem 1.5rem;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 400px;
}

@media (min-width: 768px) {
    .location-content {
        flex: 0 0 auto;
        width: 300px;
    }

    .location-map {
        flex: 1 0 0%;
        width: auto;
    }
}

/* --- testimonials --- */

.testimonials {
	padding: 72px 0;
}

@media (min-width: 768px) {
	@supports (clip-path: shape(from 0 0, line to 1px 1px)) {
		.testimonials {
			clip-path: shape(
				from 0 0,
				line to 100% 0,
				line to 100% calc(100% - 80px),
				line to calc(50% + 360px) calc(100% - 80px),
				line to calc(50% + 360px) calc(100% - 30px),
				curve to calc(50% + 337px) calc(100% - 20px) with calc(50% + 360px) 100%,
				line to calc(50% + 268px) calc(100% - 80px),
				line to 0 calc(100% - 80px),
				close
			);
		}

		.testimonials .overlay-cover::before,
		.testimonials .overlay-cover::after {
			display: none;
		}
	}
}


@media (min-width: 768px) {
	.testimonials {
	    padding: 72px 0 172px;
	    margin: 0 0 -100px;
	}
}

.testimonial-slider .testimonial {
    color: var(--white);
}

.quote {
    max-width: 600px;
    padding: 0 0 32px;
}

.attribution {
    max-width: 600px;
    font-weight: 600;
}

/* --- downloads --- */

.dl {
    display: block;
    position: relative;
    padding: 1rem;
    padding-right: 52px;
	color: var(--body);
    border: 1px solid var(--body);
	transition: color .3s ease, background .3s ease;
}

.dl-icon {
	display: block;
	position: absolute;
	right: 16px;
	top: 50%;
	margin-top: -10px;
	width: 20px;
	height: 20px;
	background: var(--body);
	mask-image: url(./images/download-file-icon.svg);
	-webkit-mask-image: url(./images/download-file-icon.svg);
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-position: center left;
	-webkit-mask-position: center left;
	mask-size: contain;
	-webkit-mask-size: contain;
	transition: background .3s ease;
}

.dl:hover {
	color: var(--white);
	background: var(--maroon);
	border-color: var(--maroon);
}

.dl:hover .dl-icon {
	background: var(--white);
}

.dl-name {
    font-size: 18px;
}

.dl-desc {
    font-size: 14px;
}

/* --- vacancies --- */

.vacancy-card {
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-direction: column!important;
    flex-direction: column!important;
    height: 100%!important;
    background: #ffffff;
    box-shadow: 0px 0px 10px -2px rgb(0, 0, 0, 0.15);
}

.vacancy-detail {
    -ms-flex-positive: 1!important;
    flex-grow: 1!important;
}

.vacancy-heading {
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-direction: column!important;
    flex-direction: column!important;
    -ms-flex-pack: center!important;
    justify-content: center!important;
    min-height: 120px;
    padding: 20px 24px;
    background-size: cover;
    background-position: center;
}

.vacancy-heading.team-commercial {
    background-color: var(--navy);
}

.vacancy-heading.team-wills-probate {
    background-color: var(--purple);
}

.vacancy-heading.team-clinical-negligence {
    background-color: var(--blue);
}

.vacancy-heading.team-family {
    background-color: var(--mustard);
}

.vacancy-heading.team-conveyancing {
    background-color: var(--teal);
}

.vacancy-heading.team-personal-injury {
    background-color: var(--raspberry);
}

.vacancy-heading.team-employment {
    background-color: var(--green);
}

.vacancy-heading.team-hr {
    background-color: var(--maroon);
}

.vacancy-heading h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
    padding: 0;
}

.vacancy-detail {
    padding: 20px 24px 4px;
}

.vacancy-term {
    display: inline-block;
    background: #e8e8e9;
    font-size: 14px;
    line-height: 1;
    padding: 8px 16px;
    margin-bottom: 16px;
}

.vacancy-read-more {
    padding: 0 24px 24px;
}

/* --- related content --- */

.rc {
    display: block;
    position: relative;
    padding-left: 30px;
	color: var(--body);
}

.rc-icon {
	display: block;
	position: absolute;
	left: 0;
	top: 1px;
	width: 16px;
	height: 24px;
	background: var(--maroon);
	mask-image: url(./images/chevron-bullet.svg);
	-webkit-mask-image: url(./images/chevron-bullet.svg);
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-position: center left;
	-webkit-mask-position: center left;
	mask-size: contain;
	-webkit-mask-size: contain;
}

/* --- page links with images --- */

.pl {
    display: flex;
}

.pl-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 180px;
    margin-right: 2rem;
}

.pl-image > div {
	position: relative;
	overflow: hidden;
	aspect-ratio: 6 / 5;
}

	.pl-image > div::before,
	.pl-image > div::after {
		content: "";
		position: absolute;
		bottom: -5px;
		transform-origin: left bottom;
		width: 150px;
		height: 35px;
		background: #ffffff;
		z-index: 1;
	}
	
		section.bg-light .pl-image > div::before,
		section.bg-light .pl-image > div::after {
			background: var(--light);
		}

	.pl-image > div::before {
		right: 50%;
		transform: translateX(58px) skewX(49deg);
	}

	.pl-image > div::after {
		left: 50%;
		transform: translateX(50px);
	}
	
.pl-image img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 6 / 5;
}

@media (max-width: 575px) {
	.pl {
	    display: block;
	}

	.pl-image {
	    max-width: 90px;
	    margin-right: 1.5rem;
	    margin-bottom: 0.5rem;
	    float: left;
	}
	
	.pl-image > div::before,
	.pl-image > div::after {
		width: 75px;
		height: 20px;
	}

	.pl-image > div::before {
		transform: translateX(30px) skewX(49deg);
	}

	.pl-image > div::after {
		transform: translateX(25px);
	}
}

@supports (clip-path: shape(from 0 0, line to 1px 1px)) {
	.pl-image > div {
		clip-path: shape(
			from 16px 0,
			line to calc(100% - 16px) 0,
			curve to 100% 16px with 100% 0,
			line to 100% calc(80% - 16px),
			curve to calc(100% - 16px) 80% with 100% 80%,
			line to 78% 80%,
			line to 78% calc(100% - 6px),
			curve to calc(78% - 5px) calc(100% - 4px) with 78% 100%,
			line to 59% 80%,
			line to 16px 80%,
			curve to 0 calc(80% - 16px) with 0 80%,
			line to 0 16px,
			curve to 16px 0 with 0 0,
			close
		);
	}

	.pl-image > div::before,
	.pl-image > div::after {
		display: none;
	}
}

/* --- accordion section --- */

.accordion-section .accordion-section-title {
    cursor: pointer;
    position: relative;
    font-weight: 500;
    padding: 16px 48px 16px 20px;
    background: var(--light);
    border-bottom: 1px solid var(--body);
    font-size: 1.1rem;
    color: var(--maroon);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    margin: 1rem 0 0 0;
}

.accordion-section .accordion-section-title::after {
    content: "";
    display: block;
    position: absolute;
    height: 16px;
    width: 16px;
    right: 16px;
    top: 50%;
    margin: -8px 0 0 0;
    background-image: url(./images/accordion-toggle.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .2s ease;
}

.accordion-section .accordion-section-title.open::after {
    transform: rotate(45deg);
}

.accordion-section .accordion-section-content {
    position: relative;
    padding: 16px 16px 0;
}

/* --- video library --- */

.vimeo-embed {
    position: relative;
    aspect-ratio: 16 / 9;
}

/* --- text box --- */

.tb-image {
	display: none;
}

.tb-content {
	position: relative;
	padding: 40px;
	margin: 0 0 60px 0;
}

.tb-content::after {
	content: "";
	display: block;
	position: absolute;
	background-color: inherit;
	top: 100%;
	right: 20%;
	width: 60px;
	aspect-ratio: 1 / 1;
	/* clip-path: polygon(0% 0%, 100% 0%, 100% 100%); */
    clip-path: shape(
    from 0% 0%,
    line to 100% 0%,
    line to 100% 65%,
    curve to 75.25% 75.25% with 100% 100%,
    close
);
	transform: translateY(-1px);
}

@media (min-width: 576px) {
	.tb-content {
		padding: 60px;
	}
}

@media (min-width: 767px) {
	.tb-image {
		display: block;
		position: relative;
	}

	.tb-content {
		width: 90%;
		padding: 40px;
		margin: -10% 0 60px 10%;
	}
}

@media (min-width: 992px) {
	.text-box-container {
	    padding-top: 60px;
	}

	.tb-image {
		position: absolute;
	    top: 0;
	}
	
	.tb-content {
	    width: 60%;
	    padding: 100px;
		margin: 0 0 60px auto;
	}
	
	.tb-content::after {
	    width: 80px;
	}
}

/* --- maps --- */

.map-container {
    position: relative;
    height: 460px;
}

.map {
    position: absolute !important;
    height: 100%;
    width: 100%;
    opacity: 0;
	visibility: hidden;
}

.map.active {
    opacity: 1;
	visibility: visible;
}

.map-select {
    position: relative;
    width: 100%;
	max-width: 860px;
    margin: 12px auto 10px;
    padding: 22px 0;
    background: var(--white);
    box-shadow: 2px 2px 10px 0px #d7d7d7;
    z-index: 1;
}

@media (min-width: 768px) {
	.map-select {
		margin: -86px auto 10px;
		padding: 30px 0;
	}
	.map-select > div:not(:last-child) {
	    border-right: 1px solid #dfdfdf;
	}
}

.map-select .map-trigger {
    cursor: pointer;
}

.map-select .map-trigger .h4 {
    line-height: 1;
    color: #b2b2b2;
}

.map-select .map-trigger.active .h4 {
    color: var(--maroon);
}



/* --- statements --- */

.statement-image {
    width: 750px;
    height: 600px;
    margin-left: 50px;
}

.statement-content {
    position: absolute;
    top: 110px;
    right: 50px;
    width: 640px;
    height: 380px;
}

.statement-content .statement-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.95;
    border-radius: var(--bs-border-radius-2xl);
    background-image: linear-gradient(to bottom, color-mix(in srgb, var(--maroon) 75%, white), var(--maroon));
}

.statement-content .statement-slant {
    position: absolute;
    top: 0;
    left: 0;
    width: 82%;
    height: 123%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
    clip-path: shape(
        from 0% 0%,
        line to 100% 0%,
        line to 100% calc(100% - 30px),
        curve to calc(100% - 22px) calc(100% - 20px) with 100% 100%,
        close
    );
}

@media (min-width: 992px) {
	.statement-content {
		clip-path: shape(
			from 32px 0,
			line to calc(100% - 32px) 0,
			curve to 100% 32px with 100% 0,
			line to 100% calc(100% - 32px),
			curve to calc(100% - 32px) 100% with 100% 100%,
			line to 82% 100%,
			line to 82% calc(123% - 30px),
			curve to calc(82% - 22px) calc(123% - 20px) with 82% 123%,
			line to 66.67% 100%,
			line to 32px 100%,
			curve to 0 calc(100% - 32px) with 0 100%,
			line to 0 32px,
			curve to 32px 0 with 0 0,
			close
		);
	}

	.statement-content .statement-background {
		height: 123%;
	}

	.statement-content .statement-slant {
		display: none;
	}
}

.statement-number {
    position: absolute;
    left: 40px;
    top: 20px;
}

.statement-text {
    position: relative;
    height: 100%;
    padding: 0 16% 0 20%;
}

@media (max-width: 1199px) {
	.statement-image {
	    width: 675px;
	    height: 540px;
	    margin-left: 0;
	}
	
	.statement-content {
	    top: 100px;
	    right: 0;
	    width: 580px;
	    height: 340px;
	}
}

@media (max-width: 991px) {
	.statement-image {
	    width: 80%;
	    height: auto;
	    padding-bottom: 64%;
	}
	
	.statement-content {
	    position: relative;
	    top: auto;
	    right: auto;
	    margin: -10% 0 0 auto;
	    width: 80%;
	    height: auto;
	    padding: 80px 25px 30px;
	}

	.statement-content .statement-background {
	    opacity: 1;
	}

	.statement-content .statement-slant {
		top: 100%;
		left: auto;
		right: 30px;
		width: 60px;
		height: 60px;
		transform: translateY(-1px);
	}

	.statement-number {
	    left: 25px;
	    top: 10px;
	}

	.statement-text {
	    padding: 0;
	}
}

/* --- box link --- */

.box-link {
    display: block;
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.box-link .box-link-content {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    transition: all 0.4s ease;
}

.box-link:hover .box-link-content {
    height: 100% !important;
}

.box-link .box-link-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: color-mix(in srgb, var(--maroon) 90%, transparent);    
}

.box-link .box-link-title,
.box-link .box-link-text {
    position: relative;
    color: var(--white);
}

.box-link .box-link-title {
    margin: 0;
    padding: 10px 0;
    line-height: 1.25;
	transition: all 0.4s ease;
}

.box-link:hover .box-link-title {
    margin-top: 0 !important;
}

.box-link .box-link-text {
	padding: 0 0 10px 0;
}

/* --- get in touch --- */

.get-in-touch .get-in-touch-content,
.get-in-touch .form-container {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

.get-in-touch .get-in-touch-content {
    padding: 2rem 1.5rem;
}

.get-in-touch .get-in-touch-content h2 {
    font-size: 3rem;
    line-height: 1;
}
.get-in-touch .form-container {
    border: 1px solid var(--maroon);
	padding: 2rem 1rem;
}

.get-in-touch .your-enquiry {
    background: var(--maroon);
    color: var(--white);
    padding: 12px 20px;
    text-transform: uppercase;
    text-align: center;
}

@media (min-width: 992px) {
    .get-in-touch .get-in-touch-content {
        flex: 0 0 auto;
        width: 300px;
    }
	
	.get-in-touch .get-in-touch-content h2 {
		font-size: 4rem;
	}

    .get-in-touch .form-container {
        flex: 1 0 0%;
        width: auto;
    }
}

/* --- teams --- */

.teams-grid {
    display: flex;
    flex-wrap: wrap;
}

.teams-item {
	position: relative;
    flex: 0 0 auto;
    width: 48%;
	margin-bottom: 1.33333%;
}

.teams-item > div {
	padding-bottom: 100%;
}

.teams-item::after {
	content: "";
	position: absolute;
	opacity: 0;
	left: 1.5rem;
	bottom: 2rem;
	width: 10%;
	height: 20%;
	background: center bottom / contain no-repeat url(./images/double-down.svg);
	transition: opacity .3s ease, bottom .3s ease;
}

.teams-item:hover::after {
	opacity: 1;
	bottom: 1.5rem;
}

.team-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 1.5rem;
    color: var(--white);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    font-size: 2rem;
}

@media (max-width: 1399px) {
    .team-name {
	    font-size: 1.8rem;
	}
}

@media (max-width: 1199px) {
    .team-name {
	    font-size: 1.5rem;
	}
}

@media (min-width: 992px) {
    .teams-item:not(:nth-child(4n+4)) {
        margin-right: 1.33333%;
    }
}

@media (max-width: 991px) {
    .teams-item {
	    width: 49%;
		margin-bottom: 2%;
	}
	
	.teams-item:not(:nth-child(2n+2)) {
        margin-right: 2%;
    }

	.teams-item::after {
		width: 8%;
	}

	.teams-item > div {
		padding-bottom: 50%;
	}
}

@media (max-width: 767px) {
	.teams-item::after {
		width: 10%;
	}
	
	.teams-item > div {
		padding-bottom: 70%;
	}
}

@media (max-width: 575px) {
	.teams-item > div {
		padding-bottom: 100%;
	}

	.teams-item::after {
		width: 12%;
		height: 12%;
	}

	.team-name {
		padding: 1rem 1.2rem;
	    font-size: 1.2rem;
	}
}

.department {
    display: none;
}

.department-title {
    border-bottom: 2px solid;
}

.team-member {
    position: relative;
    padding-bottom: 100%;
    background: var(--white);
}

.team-member-image {
    position: absolute;
    top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-member-blurb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
}

.team-member:hover .team-member-blurb {
	visibility: visible;
    opacity: 1;
}

.tmb-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	opacity: 0.9;
}

.tmb-name {
    position: relative;
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.tmb-position,
.tmb-location {
	position: relative;
}

@media (max-width: 1199px) {
   .team-member-blurb {
	    padding: 1.2rem;
	}

	.tmb-name {
	    font-size: 1.25rem;
	}
}

.profile-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8rem;
}

@media (min-width: 1200px) {
	.profile-content {
		padding-bottom: 11rem;
	}
}

.profile-section.profile-no-image .profile-ribbon {
	height: 3rem;
}

.profile-section.profile-no-image .profile-content {
	padding-bottom: 6rem;
}

/* --- personal --- */

.personal-services-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 950px;
    margin: auto;
}

.psg-item {
	position: relative;
	flex: 0 0 auto;
	width: 48%;
	margin-bottom: 2%;
}

.psg-item > div {
	padding-bottom: 100%;
}

.service-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 1.5rem;
    color: var(--white);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    font-size: 2rem;
}

.service-cta {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 1.5rem;
    color: var(--white);
}

.psg-item .service-cta span {
	border-bottom: 1px solid transparent;
	transition: border .3s ease;
}

.psg-item:hover .service-cta span {
    border-color: var(--white);
}

@media (min-width: 992px) {
    .psg-item {
        margin-right: 2%;
    }
}

@media (max-width: 991px) {
    .psg-item {
	    width: 49%;
		margin-bottom: 2%;
	}
	
	.psg-item:not(:nth-child(2n+2)) {
        margin-right: 2%;
    }

	.psg-item > div {
		padding-bottom: 50%;
	}

	.service-name {
	    font-size: 1.5rem;
	}
}

@media (max-width: 767px) {
	.psg-item > div {
		padding-bottom: 70%;
	}
}

@media (max-width: 575px) {
	.psg-item > div {
		padding-bottom: 100%;
	}

	.service-name {
		padding: 1rem 1.2rem;
	    font-size: 1.2rem;
	}

	.service-cta {
		padding: 1rem 1.2rem;
	}
}

/* --- commercial --- */

.expertise-link img {
    transition: transform .3s ease;
}

.expertise-link:hover img {
    transform: scale(1.05);
}

@media (min-width: 1200px) {
	.approach-line {
	    border-right: 1px solid var(--white);
	}
}

.commercial-link {
    padding-bottom: 100%;
}

.commercial-link div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    color: var(--white);
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

.commercial-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    background: color-mix(in srgb, var(--navy) 90%, transparent);
    opacity: 0.6;
    transition: opacity .3s ease;
}

.commercial-link:hover::before {
    opacity: 0.9;
}

@media (min-width: 576px) {
	.commercial-link div {
	    padding: 1.5rem;
	    font-size: 1.5rem;
	}
}

@media (min-width: 768px) {
	.commercial-link div {
	    font-size: 2rem;
	}
}

@media (min-width: 992px) {
	.commercial-link div {
	    font-size: 1.5rem;
	}
}

@media (min-width: 1200px) {
	.commercial-link div {
	    font-size: 2rem;
	}
}

/* --------------------
	Posts
-------------------- */

.excerpt {
    font-size: 1.25rem;
}

@media (min-width: 992px) {
	.meta {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.meta div:not(:last-child)::after{
		content: "\2022";
		display: inline-block;
		margin-left: 8px;
		margin-right: 8px;
		color: var(--body);
	}
}

.post-content-wrap .col.post-content,
.post-archive-wrap .col.post-list {
    margin-right: 40px;
}

.post-content-wrap .post-content > *:first-child {
    margin-top: 1.5rem;
}

.post-content-wrap .h1, .post-content-wrap .h2, .post-content-wrap .h3, .post-content-wrap .h4, .post-content-wrap .h5, .post-content-wrap .h6, .post-content-wrap h1, .post-content-wrap h2, .post-content-wrap h3, .post-content-wrap h4, .post-content-wrap h5, .post-content-wrap h6 { margin-top: 1.5rem; }

.post-content-wrap .h1, .post-content-wrap h1 { font-size: 2rem; }
.post-content-wrap .h2, .post-content-wrap h2 { font-size: 1.75rem; }
.post-content-wrap .h3, .post-content-wrap h3 { font-size: 1.5rem; }
.post-content-wrap .h4, .post-content-wrap h4 { font-size: 1.2rem; }
.post-content-wrap .h5, .post-content-wrap h5 { font-size: 1.1rem; }
.post-content-wrap .h6, .post-content-wrap h6 { font-size: 1rem; }

@media (min-width: 1200px) {
    .post-content-wrap .h1, .post-content-wrap h1 { font-size: 2.5rem; }
    .post-content-wrap .h2, .post-content-wrap h2 { font-size: 2.1rem; }
    .post-content-wrap .h3, .post-content-wrap h3 { font-size: 1.75rem; }
    .post-content-wrap .h4, .post-content-wrap h4 { font-size: 1.4rem; }
}

.post-content-wrap .col.sidebar,
.post-archive-wrap .col.sidebar {
    min-width: 330px;
    max-width: 330px;
}

.post-content-banner-image {
	display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
	margin-bottom: 3rem;
}

.author-bio img {
	width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid #e7e7e7;
    background: var(--light);
}

aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

aside ul li {
	padding: 0;
	margin: 0 0 0.75rem 0;
	font-size: 1rem;
}

@media (max-width: 767px) {
	.post-content-banner-image {
		margin-bottom: 2rem;
	}
}

@media (max-width: 991px) {
	.post-content-wrap .col.post-content,
	.post-archive-wrap .col.post-list,
	.post-content-wrap .col.sidebar,
	.post-archive-wrap .col.sidebar {
	    min-width: 100%;
	    max-width: none;
	    margin: 0;
	}
	
	.author-bio {
		margin-top: 1.5rem;
		padding-top: 1rem;
		border-top: 1px solid #ddd;
	}
}

/* --- vacancy --- */

.post-content.vacancy li {
    margin-bottom: 0.5rem;
}

/* --- post list --- */

article.post .post-date {
	font-size: 14px;
	font-style: italic;
	margin-bottom: 0.5rem;
}
	
@media (min-width: 992px) {
	section:not(.latest-posts) article.post {
		position: relative;
		padding-left: 150px;
	}
	
	section:not(.latest-posts) article.post:before {
		content: "";
		height: 100%;
		position: absolute;
		width: 1px;
		left: 99px;
		top: 20px;
		display: block;
		background: rgba(68,68,68,0.2);
	}
	
	section:not(.latest-posts) article.post .post-date {
		position: absolute;
		font-style: normal;
		margin: 0;
		top: 8px;
		left: 0;
		text-align: center;
		width: 75px;
	}
	
	section:not(.latest-posts) article.post .post-date-day{
		color: var(--maroon);
		display: block;
		font-size: 60px;
		line-height: 46px;
		font-weight: 400;
		text-align: center;
		padding-bottom: 0.25rem;
	}
	
	section:not(.latest-posts) article.post .post-date-month {
		font-weight: 700;
		font-size: 13px;
		line-height: 30px;
	}

	section:not(.latest-posts) article.post .post-date-year {
		font-weight: 700;
		font-size: 13px;
		line-height: 30px;
	}

	section:not(.latest-posts) article.post .post-date:after {
		content: "";
		position: absolute;
		height: 11px;
		width: 11px;
		display: block;
		border-radius: 50%;
		left: 94px;
		top: 22px;
		z-index: 2;
		background: var(--maroon);
	}
}

.post-list-title {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--maroon);
    font-size: 1.25rem;
}

.post-list-title::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 50px;
    background: var(--body);
    bottom: 0;
    left: 50%;
    margin-left: -25px;
    opacity: 0.3;
}

.post-list .post {
    margin-bottom: 4rem;
}

.meta-item {
    font-size: 14px;
    color: #888888;
    display: inline-block;
    vertical-align: top;
    margin-right: 15px;
}

.meta-item:after {
    content: "/";
    right: -8px;
    position: relative;
}

.meta-item:last-child:after{
    display:none
}

.entry-footer {
    margin-top: 1.5rem;
}

.latest-posts .entry-title {
    font-size: 1.5rem;
}

/* --- pagination --- */

.navigation {
    font-size: 0;
}

.navigation ul {
    padding: 0;
    margin: 0;
}

.navigation li {
    display: inline-block;
	font-size: 16px;
	margin: 0 1px;
}

.navigation li::before {
    display: none;
}

.navigation li a {
	position: relative;
    width: 37px;
    height: 37px;
	color: var(--body);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: table-cell !important;
    vertical-align: middle;
    border: 1px solid #dadada;
    border-radius: 0px;
    transition: border-color .2s ease;
}
 
.navigation li a:hover {
    text-decoration: none;
    border-color: var(--maroon);
}

.navigation li.active a {
    color: var(--white);
    pointer-events: none;
    border-color: var(--maroon);
    background: var(--maroon);
}

.navigation li span.gap {
    width: 27px;
    height: 37px;
    text-align: center;
    display: table-cell !important;
    vertical-align: middle;
}

.navigation li.nav-next a::before,
.navigation li.nav-prev a::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    border-style: solid;
    border-width: 1px 1px 0 0;
    height: 8px;
    width: 8px;
    transform: translate(-6px,-4px) rotate(45deg);
}

.navigation li.nav-prev a::before {
    transform: translate(-3px,-4px) rotate(-135deg);
}

@media (max-width: 991px) {
	.navigation {
		padding-bottom: 1rem;
	    margin-bottom: 4rem;
		border-bottom: 1px solid #dadada;
	}
	
	.navigation li {
		font-size: 14px;
	}
	
	.navigation li span.gap {
		width: 17px;
		height: 31px;
	}

	.navigation li a {
		width: 33px;
		height: 33px;
	}
}

/* --- search --- */

.search-form {
	position: relative;
	width: 100%;
}

.search-form label {
	display: block;
	margin: 0;
}

.search-form input[type=search] {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--maroon);
	color: var(--maroon);
	margin: 0;
	padding: 12px 40px 12px 20px;
	outline: none;
	background: var(--white);
	outline: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
}

.search-form input[type=submit] {
	position: absolute;
	display: block;
	width: 40px;
	height: 100%;
	border: none;
	margin: 0;
	padding: 10px 12px;
	top: 0;
	right: 0;
	font-size: 0;
	background-color: var(--maroon);
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-position: center;
	mask-size: 16px;
	-webkit-mask-size: 16px;
	mask-image: url(./images/search.svg);
	-webkit-mask-image: url(./images/search.svg);
}

/* --------------------
	Pay Online
-------------------- */

.payment-form .error-msg {
    background: rgba(255,0,0,0.06);
    border: 1px solid #c30000;
    padding: 1rem 1.5rem;
    margin: 0 0 2em 0;
    color: var(--black);
}

.payment-form #form-errors:not(:empty) {
    background: rgba(255,0,0,0.06);
    border: 1px solid #c30000;
    padding: 1rem 1.5rem;
    margin: 1em 0;
}

.payment-form .error-msg ul {
    margin-bottom: 0;
    margin-top: 0.25rem;
}

.payment-form label {
	display: block;
	margin-bottom: 0.5rem;
	float: none;
	height: auto;
	color: #751545;
	font-weight: 400;
	cursor: default;
}

.payment-form .form-control-wrap {
	position: relative;
    display: block;
    margin: 0.25rem 0 1rem 0;
}

span.form-control-wrap.gbp-input::after {
    content: "\00A3";
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
}

span.form-control-wrap.gbp-input input {
    padding-left: 32px;
}

.payment-form textarea {
    height: 88px;
    overflow: auto;
    resize: vertical;
}

.sample-invoice {
    margin: 1.75rem 0 1rem;
}

#payment_confirmation fieldset {
    border: 1px solid #dddddd;
    padding: 1.25rem;
    margin: 1.25rem 0;
    padding-top: 0.5rem;
}

#payment_confirmation fieldset legend {
    float: none;
    width: auto;
    font-weight: 400;
    font-size: 1.25rem;
    background: white;
    padding: 0 0.5rem;
    margin: 0;
}

#confirmation .fieldName {
    font-weight: 600;
}

#confirmation .fieldValue {
    font-size: 1.25rem;
}

/* --------------------
	Footer
-------------------- */

.accreditation-logo {
    padding: 0 1rem;
}

.sra-digital-badge {
    max-height: 162px;
    aspect-ratio: 275 / 162;
}

.accreditation-logo img {
    max-height: 162px;
}

@media (max-width: 575px) {
	.accreditation-logo {
		width: 50%;
		text-align: center;
	}
	
	.accreditation-logo img {
		max-height: 110px;
	}
}

a.cky-banner-element {
    padding: 8px 30px;
    background: #751545 !important;
    color: #ffffff !important;
    border: 1px solid #751545;
    box-sizing: border-box;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 1rem !important;
    display: inline-block;
}