/*
	Theme Name: Amethyst Insurance
	Theme URI: https://www.amethystinsurance.co.uk/
	Description: Custom WP Theme for Amethyst Insurance
	Version: 0.1
	Author: Creative Direction
	Author URI: https://creativedirection.info
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: "halyard-text", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size:17px;
	letter-spacing: -0.01em;
	line-height:1.4;
	color:#2B1639;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#FF9100;
	text-decoration:none;
	transition:0.6s all;
}
a:hover {
	color:#ffb14a;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
mark {
	font-family: "halyard-micro", sans-serif;
	text-transform: uppercase;
	margin-right:100px;
	font-size:1.7rem;
	vertical-align: super;
	background: transparent;
	font-weight: 500;
}

h1, h2, h3, h4 {
	margin-top: 0;
}
h1 {
	font-family: "halyard-display", sans-serif;
	font-size: 6.21em;
	font-weight: 300;
	line-height: 0.81;
	letter-spacing: -0.02em;
}
h2 {
	font-family: "halyard-display", sans-serif;
	font-size: 3.68em;
	font-weight: 300;
	line-height: 0.88571428571429;
	letter-spacing: -0.02em;
}
h3 {
	font-family: "halyard-micro", sans-serif;
	text-transform: uppercase;
	font-size:1em;
	font-weight: 500;
}
ul {
	margin-left: 0;
	padding-left: 0;
}
ul li:not(.nav li, .footer li, .wp-admin li) {
	list-style:none;
	position: relative;
	padding-left:1.2em;
	margin-bottom: 1em;
}
ul li:not(.nav li, .footer li, .wp-admin li):before {
	position: absolute;
	content:'';
	height:17px;
	width:10px;
	top:0.3em;
	left:0;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2LjgyIiBoZWlnaHQ9IjEzLjY0MSIgdmlld0JveD0iMCAwIDYuODIgMTMuNjQxIj4KICA8cGF0aCBpZD0iSWNvbl9pb24tbWQtYXJyb3ctZHJvcHJpZ2h0IiBkYXRhLW5hbWU9Ikljb24gaW9uLW1kLWFycm93LWRyb3ByaWdodCIgZD0iTTEzLjUsOWw2LjgyLDYuODItNi44Miw2LjgyWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEzLjUgLTkpIiBmaWxsPSIjNzYyY2Q2Ii8+Cjwvc3ZnPgo=");
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	position:relative;
	z-index:1;
}
.inner-wide {
	width:90%;
	margin:0 auto;
	position: relative;
	max-width:1920px;
}
.inner {
	width:80%;
	margin:0 auto;
	position: relative;
	max-width:1600px;
}
.inner-narrow {
	width:70%;
	margin:0 auto;
	position: relative;
	max-width:1280px;
}
/* header */
.header {
	display: flex;
	justify-content: space-between;
	z-index:10;
	position: fixed;
	width: 90%;
	max-width: 1920px;
	left:50%;
	transform: translateX(-50%);
	background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30.417699813842773px);
	padding:0.5em 2em;
	border-radius:5px;
	margin-top:2em;
	align-items: center;
	box-shadow: 0px 3px 20px rgba(43, 22, 57, 0.15);
}

.header-right {
	display: flex;
	justify-content: space-between;
	width:50%;
	align-items: center;
}

.scrolled .header {
	background-color: rgba(255, 255, 255, 0.7);
}
/* logo */
.logo svg {
	width:200px;
	height:auto;
}
/* footer */
.footer {
    z-index: 0;
/*    position: sticky;*/
    bottom: 0;
    left: 0;
    width: 100%;
	background-color: #2B1639;
	color:#fff;
	background-image: url(img/footer.svg);
	background-repeat: no-repeat;
	background-position: bottom 2em left 2em;
	line-height:1.6em;
	font-size:1.05em;
	padding-top: 50px;
}

.footer .inner {
	display: grid;
	grid-template-columns: 0.6fr 1fr 1fr 1fr;
	gap:2em;
	padding:2em;
}

.footer .menu-title {
	color:#D9C7B9;
	text-transform: uppercase;
	margin-top: 1.3em;
	margin-bottom: 0.8em;
	font-size:0.9em;
	letter-spacing: 0.04em;
}

.footer .menu-item a {
	padding: 0;
}

.footer ul {
	margin: 0;
	padding: 0;
}
.footer ul li {
	margin: 0;
	padding: 0;
	margin-bottom: 0.8em;
}

.footer a {
	color:#F1EBFA;
}
.footer a:hover {
	color:#FF9100;
}

.footer-1 {
/*	display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2em;*/
}
.footer-3-item {
	display: block;
	margin-bottom: 1em;
}
.lcfc-partner {
	margin-top: 2em;
}
.biba-member {
	margin-top: 2em;
	/*max-width:200px;*/
	display: flex;
	gap:2em;
	align-items: center;
}
.biba-member img {
	max-width:200px;
	height:auto;
}
.footer-social-link {
	margin-right: 2em;
}

.footer-divider {
	margin-top: 0;
	border-top:1px solid rgba(255, 255, 255, 0.2);
	grid-column:2 / 5;
}
.footer-terms {
	grid-column:2 / 5;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:1em;
}
.footer-terms a {
/*	margin-right:2em;*/
}
.footer .current_page_item {
	text-decoration: none;
}
.design-credit {
	grid-column:2 / 5;
/*	display: block;*/
/*	font-size:0.8em;*/
/*	text-align: right;*/
text-align: right;
}

.footer-subfooter {
}
.footer-subfooter.inner {
	grid-template-columns: 0.6fr 3fr;
	gap:0 !important;
	padding-top:0 !important;
}

.footer-subfooter div:nth-of-type(2) {
/*	border-top:1px solid rgba(255, 255, 255, 0.2);*/
	padding:0 1em 2em 1em;
	line-height:1em;
}
.footer-subfooter div:nth-of-type(2) p {
	font-size:0.8em;
}
.footer-subfooter div:nth-of-type(2) p:first-of-type {
	padding-top:2em;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/
.home-hero-image {
	position: relative;
	margin-right: -18%;
	z-index:1;
}

.green-cta {
/*	background-image: url('img/green-cta-after.svg');*/
	background-position: top right;
	background-repeat: no-repeat;
}

.about-main {
/*	background:linear-gradient(180deg, rgb(239, 233, 228) 0%, rgb(255, 255, 255) 69%, rgb(255, 255, 255) 100%) 0 0 / 100% 100% no-repeat, url(img/about-main-bg.webp)  right top / 50% no-repeat !important;*/
/*	background:linear-gradient(180deg, rgb(239, 233, 228) 0%, rgb(255, 255, 255) 69%, rgb(255, 255, 255) 100%) 0 0 / 100% 100% no-repeat, url(img/about-main-bg.webp)  right top / 50% no-repeat !important;*/
	background-blend-mode: multiply;
}

.policy-features {
	position: relative;
}
.policy-features * {
	position: relative;
	z-index:1;
}

.policy-features:before {
	position: absolute;
	display: block;
	content:'';
	height:100%;
	width:80%;
	background: linear-gradient(#e2d8f5 0%, #fff 100%);
	z-index:0;
	right:0;
}

.services-hero, .services-hero-title-group, .services-hero-title-columns {
	height:70vh;
	gap:0;
}

.services-hero-title-columns-test {
	gap:0;
}

@media only screen and (min-width: 1024px) {
/*	.services-hero-title-columns-test {
		gap:0;
	}*/
}
@media only screen and (max-width: 1024px) {
	.services-hero-title-column-test {
		padding:0 5%;
	}
}


.about-hero {
	position: relative;
}
.about-hero:before {
	content: '';
    display: block;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3ODIuMjIiIGhlaWdodD0iNzgyIiB2aWV3Qm94PSIwIDAgNzgyLjIyIDc4MiI+CiAgPGcgaWQ9Ikdyb3VwXzciIGRhdGEtbmFtZT0iR3JvdXAgNyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSI+CiAgICA8cGF0aCBpZD0iUGF0aF8yMiIgZGF0YS1uYW1lPSJQYXRoIDIyIiBkPSJNMCwyNzkuMTM2VjUzOS44SDI2MC44NzhMNTIxLjU1OSwyNzkuMzQ3bC0yNjAuODkyLS4yMTJWMTguNDU1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAyNDEuOTg2KSIgZmlsbD0iI2ZmZiIvPgogICAgPHBhdGggaWQ9IlBhdGhfMjMiIGRhdGEtbmFtZT0iUGF0aCAyMyIgZD0iTTI3OS4xNjYsMCwxOC40ODYsMjYwLjY2N0gyNzkuMTY2Vjc4Mkw1MzkuODMzLDUyMS4zMzNWMFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0Mi4zODcpIiBmaWxsPSIjZmZmIi8+CiAgPC9nPgo8L3N2Zz4K");
    height: 100%;
    width: 54%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-size: cover;
}
@media only screen and (max-width:1024px) {
	.about-hero:before {
		position:relative;
		height:50vh;
		width:100%;
	}
}

.about-hero h1 {
	z-index:1;
}

.intro-text {
	font-size:3em;
	line-height:1.15em;
}


/*------------------------------------*\
    BITS N BOBS
\*------------------------------------*/
.hide-desktop {
	display: none;
}
.hide-mobile {
	display: block;
}
.header-button {
	position: relative;
	width: 150.139px;
	height: 58.289px;
	display: block;
	overflow: hidden;
	transition:all 0.6s ease;
	font-weight:500;
	text-transform: uppercase;
	color:#2B1639;
}

.header-button svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.header-button span {
  position: absolute;
  width: 100%;
  top: 50%;
  text-align: center;
  transform: translateY(-50%);
}

/* Initial clip-path */
.header-button svg rect {
  clip-path: polygon(12.9% 0%, 0% 33.2%, 0% 100%, 100% 100%, 100% 0%);
  transition: all 0.5s ease;
}

/* Hover state clip-path */
.header-button:hover svg rect {
	fill:#2B1639;
	clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 100% 100%, 100% 0%);
}
.header-button:hover {
	color:#D1FFA0;
}


/*.test {
	clip-path:path("M1439,728H3a3,3,0,0,1-3-3V3A3,3,0,0,1,3,0H1371.215L1442,70.787V725A3,3,0,0,1,1439,728Z");
}*/
.home-services {
	position: relative;
	background-size: auto !important;
}
.home-services:after {
	height:100px;
	width:100px;
	position: absolute;
	top:0;
	right:0;
	content:'';
	display: block;
	background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjguMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA3MC44IDcwLjgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDcwLjggNzAuODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGMUVCRkE7fQo8L3N0eWxlPgo8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjAsMCA3MC44LDcwLjggNzAuOCwwICIvPgo8L3N2Zz4K");
}

.green-cta {
	background-size: unset !important;
}

.services-hero-container h1 {
	font-size:5em;
}

.services-intro {
	padding-left:5%;
}
.services-intro:after {
	height:100px;
	width:100px;
	position: absolute;
	top:0;
	right:0;
	content:'';
	display: block;
	background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjguMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA3MC44IDcwLjgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDcwLjggNzAuODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMyQjE2Mzk7fQo8L3N0eWxlPgo8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjAsMCA3MC44LDcwLjggNzAuOCwwICIvPgo8L3N2Zz4K");
}

.cta-title em {
	font-style: normal;
	color:#762CD6;
	display: block;
}

.testimonials-block {
	position: relative;
	display: block;
}
.testimonials-block:before {
	position: absolute;
	content:'';
	display: block;
	bottom:0;
	left:0;
	height:100%;
	width:30%;
	background-size: contain;
	background: no-repeat;
	background-position: bottom left;
	pointer-events: none;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTQuNzA3IiBoZWlnaHQ9IjI5NC41ODUiIHZpZXdCb3g9IjAgMCAyOTQuNzA3IDI5NC41ODUiPgogIDxnIGlkPSJHcm91cF8xNSIgZGF0YS1uYW1lPSJHcm91cCAxNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC41IC0xMzYuOTczKSI+CiAgICA8cGF0aCBpZD0iUGF0aF80NCIgZGF0YS1uYW1lPSJQYXRoIDQ0IiBkPSJNMCwxNzAuMzc2VjMxNi44MTVIMTQ2LjU2MUwyOTMsMTcwLjVsLTE0Ni41NjEtLjEyMlYyMy45MzhaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDExNC4yNDIpIiBmaWxsPSJub25lIiBzdHJva2U9IiNhNzg4ZTEiIHN0cm9rZS13aWR0aD0iMSIvPgogIDwvZz4KPC9zdmc+Cg==");
}

/*------------------------------------*\
	NAV STUFF
\*------------------------------------*/
.mobile-nav-button {
	display: none;
}
.menu-modal {
	position: fixed;
    top: 0;
    left: 0;
    background: rgba(43, 22, 57, 0.2);
    min-height: 100vh;
    min-width: 100vw;
    z-index: 3;
    overflow: hidden;
    transition: .3s background-color;
    backdrop-filter: blur(30px);
    display: none;
}
.nav > ul {
	margin-left: 0;
	padding-left: 0;
}
/* Basic styles for the menu */
.nav > ul > li > a {
	text-transform: uppercase;
	color:#544460;
	font-weight: 400;
	letter-spacing: 0.04em;
}
.nav > ul > li > a:hover {
/*	border-bottom:1px solid #2B1639;*/
	text-decoration: underline;
	text-underline-offset: 8px;
}
.menu-item {
    position: relative;
    list-style: none;
}

.menu-item a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.current-menu-item, .current-menu-ancestor {
	text-decoration: underline;
	text-underline-offset: 8px;
}

.nav-panel {
    position: absolute;
    left: 50%; /* Start positioning from center */
    top: 100%;
    display: none;
    padding-top:75px;
    width:50vw;
    transform:translateX(-50%);
    transition:0.4s all;
    border-radius: 3px;
    min-width:700px;
}
.nav-panel .current_page_item {
	text-decoration: none;
}
.nav-panel .current_page_item a {
	background-color: #fff;
}
.nav-panel > ul {
	position:relative;
}
.nav-panel > ul::before {
    content: "";
    position: absolute;
    display: block;
    top: -30px; /* Adjust the position above the nav-panel */
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 30px 30px 30px; /* Create the triangle */
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.8) transparent; /* Adjust the color */
    z-index:999;
    backdrop-filter: blur(30.417699813842773px);
}


.sub-menu {
    list-style: none;
    padding: 0;
    margin: 8px;
    border-radius:5px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30.417699813842773px);
}

/*.sub-menu .menu-item:first-of-type {
	margin-top:8px;
}*/
.sub-menu .menu-item:first-of-type {
    padding-top:8px;
}
.sub-menu .menu-item {
    margin: 0;
    padding:0 8px 0 8px;
}
.sub-menu .menu-item:last-of-type {
    padding-bottom:8px;
}

.sub-menu a {
	font-size:1.1em;
	font-weight: 500;
	color:#2B1639;
	transition:0.3s background-color ease;
    border-radius:5px;
    padding:1.1em;
}

.menu-item-caption {
    display: block;
/*    margin-top: 5px;*/
    font-weight: 300;
}

.sub-menu a {
	background-position:top 3em right 3em;
	transition: 0.3s all;
}
.sub-menu a:hover {
	background-color: #fff;
	background-image: url(img/icon-arrow-up-right.svg);
	background-position:top 1.6em right 1.6em;
	background-repeat: no-repeat;
}

.menu-item:hover > .nav-panel {
    display: block;
}



/*------------------------------------*\
	BLOG	
\*------------------------------------*/
.blog-container {
	padding-top:200px;
	min-height:100vh;
/*	background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(226, 216, 245) 100%);*/
background-color: #fff;
	padding-bottom:5em;
}
    .blog-container article {
        transition:0.6s all;
        color:#1A1818;
        position: relative;
        display:grid;
        grid-template-columns: 1fr 1fr;
        gap:3%;
        margin-bottom:2em;
    }

    .blog-container article:hover {
        background-color: #2B1639;
    }
    .blog-container article .news-article > .news-article-meta {
        display: block;
        position: relative;
        margin-top: 0;
        transition:0.1s all ease;
    }
    .blog-container article .news-article > .news-article-meta, .blog-container article > a  {
        transform: 0.1s all;
    }
    .blog-container article:hover .news-article > .news-article-meta {
        margin-top:1em;
    }
    .blog-container article:hover .news-article > a {
        margin-bottom:1em;
    }

    .news-block-image {
/*        aspect-ratio: 800 / 650;*/
        object-fit: cover;
        transition: 0.3s width;
        height:500px;
        width: 100%;
    }


    .blog-container article:hover .news-block-image {
/*        aspect-ratio: 800 / 650;*/
        width:90%;
        height:500px;
    }

    .news-article-meta {
        padding-top:2em;
    }

    .blog-container h3 {
        margin-bottom: 0;
    }   


    .blog-container a h2 {
        color:#2B1639;
        margin-top: 15px;
        font-size:3.18em;
    }

    .blog-container article:hover h2 {
        color:#A788E1;
    }

    .news-image-container {
        position: relative;
    }

    .news-article {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 80%;
    }


    .blog-container .article-inner {
        padding:3em;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .blog-container .news-block-meta {
        margin-bottom:1em;
    }
    .blog-container .date, .blog-container .category {
        padding:0.5em 1em;
        text-transform: uppercase;
        border-radius:3px;
        font-family: "halyard-micro", sans-serif;
        font-size:14px;
        font-weight:500;
    }
    .blog-container .date {
        color:#2B1639;
        background-color: #F1EBFA;
        margin-right: 1em;
    }
    .blog-container .category {
        background-color: #E2D8F5;
    }
    .blog-container .category a {
        color:#2B1639;
    }
/* pagination */

.pagination {
	margin:10px 0px;
	padding:10px 0px;
	display:flex;
	position:relative;
	justify-content: center;
	margin:3em auto;
	text-align:center;
}

.page-numbers {
	display:flex;
	justify-content: center;
	align-items: center;
	width:75px;
	height:50px;
	font-size:0.8em;
	color:#fff;
	line-height:66px;
	text-align:center;
	text-decoration:none;
	font-weight:bold;
	transition:0.6s all;
  position: relative;
  overflow:visible;
}

.page-numbers span {
  z-index:2;
}

.page-numbers::before {
  display:block;
  content:'';
  height:100%;
  width:100%;
  position:absolute;
  transform:skew(-45deg);
  background-color: inherit;
  z-index:0;
  border-right:1px solid #fff;
	background:#762CD6;
	transition:0.3s all;
}

.page-numbers.current::before {
	background-color: #2B1639;
}
.page-numbers.current {
	color:#fff;
}

.page-numbers:hover:before {
	color:#fff;
	text-decoration:none;
	background:#D1FFA0;
	color:#2B1639;
} 

.page-numbers:hover span {
	color:#2B1639;
} 
/*------------------------------------*\
	GUTENBERG STUFF
\*------------------------------------*/
.wp-block-separator {
	border-top: 1px solid;
}
.wp-element-button, .wp-block-button__link {
	border-radius: 0;
	background-color: #2B1639;
	text-transform: uppercase;
	font-weight: 500;
	position: relative;
	transition:0.3s all;
}

.wp-block-button__link::after {
	content:'';
	display: block;
	height:100%;
	width:50px;
	background-color: inherit;
	position: absolute;
	right:-51px;
	top:0;
}

.wp-block-button__link:hover {
	background-color: green;
}
.wp-block-button__link:hover::after {
/*	background-color: #fff !important;*/
}

:where(.wp-block-columns) {
    margin-bottom: 0;
}

[class*="wp-elements-"] a:where(:not(.wp-element-button, .button-container)) {
  color: #ff9100 !important;
}


blockquote.wp-block-quote {
	position: relative;
	margin-left: 0;
	padding-left: 2em;
}

blockquote.wp-block-quote::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #762CD5;
}

blockquote.wp-block-quote::after {
	content: '';
    display: block;
    height: 3em;
    width: 3em;
    background-image: url(https://www.amethystinsurance.co.uk/wp-content/themes/amethyst-inurance/img/quote.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    position: absolute;
    left: 1em;
    top:-1em;
    opacity:0.05;
}



/* Blog single */

.single .inner {
	width: 90%;
}

.single-article-container {
	background-color: #fff;
	padding-top:115px;
	min-height:100vh;
	padding-bottom: 100px;
}
.single-article-container h1 {
	font-size: 4.4em;
}

a.blog-category {
	display: block;
	color:#F31C4E;
	font-size:0.7em;
	text-transform: uppercase;
	margin-bottom:1rem;
}


.blog-single-category {
	color:#F31C4E;
	text-transform: uppercase;
	font-size:0.9em;
	margin-bottom:1em;
	border-radius: 3px;
}

.blog-single-category-separator {
	color:#FFD387;
}

.single-blog-title {
	line-height:1.4em;
	font-size:4.4em;
}

.single h2 {
	font-size:2.4em;
}
.single h3 {
	text-transform: unset;
	font-size:1.8em;
	font-family: "halyard-display", sans-serif;
    font-weight: 300;
    letter-spacing: -0.02em;
}
.single-article-top {
	margin-top:75px;
	display: grid;
	grid-template-columns: 45% 50%;
	grid-gap: 5%;
	max-width:100%;
	margin-bottom:75px;
}
.single-article-top-left {
	display:flex;
	justify-content: space-between;
	flex-direction: column;
}
.single-article-category, .single-article-top-left .knowledge-base-date  {
	background-color: #E2D8F5;
	color:#2B1639;
	border-radius: 3px;
    padding: 0.5em 1em;
    text-transform: uppercase;
    border-radius: 3px;
    font-family: "halyard-micro", sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin:10px 0;
    margin-right: 5px;
    display: inline-block;
}
.single-article-top-right img {
	max-width:100%;
}

.single-article-top-left .knowledge-base-country {
	margin-bottom:3em;
	display: inline-block;
}

.single-article-top-left h6 {
	color:#C0B8B4;
	margin-bottom:0;
}

.single-article-top-left .knowledge-base-date {
	color:#2B1639;
	background-color: #F1EBFA;
	margin-right: 1em;
	display: inline;
}

.single-article-top-right img {
/*	box-shadow: 0px 3px 10px rgba(105, 92, 81, 0.2);*/
}


.single-article-footer {
	background-color: #F8F4F1;
	padding:75px 0;
}

.single-article-footer .inner {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-gap: 2em;
}

#single-article-left .single-article-featured-image {
	margin:4rem 0;
	display: block;
}

.article-recent-post {

}

#single-article-left p:first-of-type {
	margin-top:0;
}

#single-article-right {
	padding-left:3em;
/*	width:30%;*/
}

#single-article-right a {
	margin-bottom:3px;
	padding:2em;
	width:66%;
	display:block;
	color:#6C5B4F;
	background-color:#F7F4F1;
}
#single-article-right a:last-of-type {
	border:0;
}

.single-article-main {
	display: grid;
	grid-template-columns: 55% 40%;
	grid-gap: 5%;
	margin-bottom:75px;
}


/*------------------------------------*\
	FORMS
\*------------------------------------*/
.gfield_label { 
	color:#2B1639 !important;
	font-family: "halyard-micro", sans-serif;
	text-transform: uppercase;
	font-size:1em;
	font-weight: 700 !important;
	margin-bottoom:0.8em !important;
}
.gfield_required {
	font-style: normal !important;
	color:#FF9103 !important;
	font-size:1em !important;
	font-weight: 300 !important;
	margin-left:3px;
}
.gform_wrapper.gravity-theme .gfield input, 
.gform_wrapper.gravity-theme .gfield input[type="text"],
.gform_wrapper.gravity-theme .gfield input[type="email"], 
.gform_wrapper.gravity-theme .gfield input[type="tel"], 
.gform_wrapper.gravity-theme .gfield select, 
.gform_wrapper.gravity-theme .gfield textarea, 
.gform_wrapper.gravity-theme .gfield number {
	padding:1.3em !important;
	border-radius:3px;
	resize: none;
	box-shadow: 0px 3px 20px rgba(43, 22, 57, 0.1);
	border:none;
	min-height:60px;
	margin-bottom: 1em;
	position: relative;
}


.gform_wrapper.gravity-theme .gfield select {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
}

.ginput_container_select {
	position: relative;
}

.gform_wrapper.gravity-theme .ginput_container_select::after {
	display: block;
	content:'';
	height:20px;
	width: 17px;
	background-image: url(img/select.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	right:1.3em;
	top:50%;
	transform: translateY(-80%);	
	z-index:1;
	pointer-events: none;
}

.gform_wrapper.gravity-theme .gfield input[required] {
  background-image: radial-gradient(red 15%, transparent 16%);
  background-size: 1em 1em;
  background-position: top right;
  background-repeat: no-repeat
}

.submit-container {
	width: 100%;
}
.gform_footer input[type="submit"], .gform-footer input[type="submit"] {
	background-color: #762CD6;
	color:#fff;
	border:0;
	height:60px;
	text-transform: uppercase;
	font-size:1em;
	transition:0.3s all;
	letter-spacing: -0.02em;
	width: 100%;
}

.gform_footer input[type="submit"]:hover, .gform-footer input[type="submit"]:hover {
	background-color: #2B1639;
}




/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

.has-halyard-text-font-family {
	font-family: "halyard-text", sans-serif;
}

.has-halyard-display-font-family {
	font-family: "halyard-display", sans-serif;
}
.has-halyard-micro-font-family {
	font-family: "halyard-micro", sans-serif;
}



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1460px) {
	.header-right {
		width:75%;
	}
}
@media only screen and (max-width:1400px) {
	h1, .services-hero-container h1 {
		font-size: 5.5em;
	}
}

@media only screen and (max-width:1280px) {
	.logo svg {
		width: 200px;
	}
	h1, .services-hero-container h1, .single-article-container h1 {
		font-size: 4em;
	}
	h2 {
		font-size: 2.6em;
	}
	h3 {
		font-family: "halyard-micro", sans-serif;
		text-transform: uppercase;
	}
}
@media only screen and (max-width:1024px) {
	.hide-desktop {
		display: block;
	}
	.hide-mobile {
		display: none;
	}
	.services-intro :where(.wp-block-columns.is-layout-flex) {
		gap:0;
	}
	.intro-text {
		font-size:2em;
		line-height:1.15em;
	}


	mark {
		display: block;
		margin-right: 0;
		margin-bottom: 1em;
	}
	.inner, .inner-narrow, .inner-wide {
		width:90%;
	}
	.inner:has(.inner) .inner, .inner-wide:has(.inner) .inner {
		width:100%;
	}

	.header {
		position: fixed;
		width: 100%;
		margin-top: 0;
		background-color: transparent;
		backdrop-filter: none;
		box-shadow:none;
		padding:0.5em 5%;
		border-radius: 0;
	}
	.scrolled .header {
		backdrop-filter: blur(30.417699813842773px);
		box-shadow: 0px 3px 20px rgba(43, 22, 57, 0.15);
	}
	.logo {
		display: block;
		z-index:999;
	}
	.hamburger {
    	padding: 15px 15px 10px 15px !important;
	}
	.mobile-nav-button {
		display: block;
		background-color: #fff;
	}
	.nav-container {
		position: fixed;
		top:0;
		left:0;
		width:100vw;
		min-height:100vh;
		min-height: -webkit-fill-available;
		height:100dvh;
		background: url(img/mobile-nav-bg.svg), linear-gradient(#fff 0%, #c4b0ec 90%);
		background-repeat: no-repeat;
		background-position: bottom center;
		background-blend-mode: color-burn;
		overflow:scroll;
		display: none;
		margin-left: 0;
		padding-left: 0;
	}
	.nav {
		height:auto;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		text-align: left;
		padding:5%;
		margin-top: 85px;
		position: relative;
	}
	.nav ul {
		margin-left: 0;
		padding-left: 0;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}
	.nav ul:before {
		content:'';
		display: block;
		background-color: #EFE9E4;
		height:1px;
		width:calc(100% - 4em);
		position: absolute;
		top:15px;
	}
	.nav > ul > li {
/*		margin-bottom: 1em;*/
	}
	.nav > ul > li > a, .sub-menu a {
		font-weight:500;
		letter-spacing: 0.015em;
		font-size:20px;
	}
	.nav ul li a[href="#"] {
		color:#762CD6;
		font-size:20px;
	}
	.nav > ul > li > a:hover {
		text-decoration: none;
		text-underline-offset: 0;
	}
	.nav ul li a[href="#"]:hover {
		text-decoration: none;
	}
	.nav-panel {
		position: relative;
		display: block;
		left:auto;
		width: 100%;
		transform: none;
		padding-top: 0;
		top:auto;
		margin-bottom: 1em;
		background-color: transparent;
		min-width:unset;
	}
	.mobile-nav-specialisms {
		margin-top:2em;
	}
	.current-menu-item, .current-menu-ancestor {
		text-decoration: none;
	}

	.nav-panel .current_page_item a {
		background-color: unset;
	}
	.menu-item-caption {
		display: none;
	}

	.nav .menu-item a {
		padding:0;
		color:#2B1639;
		text-transform: uppercase;
		line-height:1em;
		margin-bottom:0.6em;
	}
	.nav-panel > ul::before {
		display: none;
	}
	.sub-menu {
		background-color: transparent;
		backdrop-filter:none;
		margin-top: 0;
	}
	.sub-menu .menu-item {
		padding:0;
	}
	.sub-menu a, .nav > ul > li > a {
	    color: #2B1639;
	}

	.sub-menu a:hover {
		background: none;
	}

	.wp-block-cover {
		min-height:30vh !important;
	}

	.services-intro {
		padding-left:0;
		padding-right:5%;
	}
	.testimonials-block, .orange-testimonial-bg, .testimonial-bg-img {
		background-size: cover !important;
	}

	.testimonials-block::before {
		width:100%;
		mix-blend-mode: hard-light;
	}

	.testimonials-block:has(.orange-testimonial-bg)::before {

		mix-blend-mode: color-burn;
	}

	.testimonials-block .wp-block-columns {
		gap:0;
	}

	.menu-modal {
		display: none !important;
	}
	.home-hero-image {
		margin-right: 0;
	}
	.green-cta {
		background-image: none;
	}
	.green-cta .wp-block-columns {
		gap:0;
	}
	.business-insurance {
		background-blend-mode: multiply;
	}
	.footer {
		position: relative;
/*		background-blend-mode: saturation;*/
		background-size:200px;
		padding-bottom:200px;
	}
	.footer .inner {
		grid-template-columns: 1fr;
		padding:0 0 1em 0;
	}
	.footer-divider, .footer-terms, .footer-bottom {
		grid-column: unset;
		margin-top: 0;
	}

	/* BLOG */
	.blog-container {
		padding-top:125px;
	}
	.blog-container article {
        display: flex;
        flex-direction:column-reverse;
		border-top:1px solid #E2D8F5;
	}
	.blog-container article:first-of-type {
		border-top:none;
	}
	.blog-container .news-article {
        padding:0;
        width: 100%;
    }
	.blog-container article .news-block-image,
	.blog-container article:hover .news-block-image {
        height:auto;
    }

	.blog-container article:hover {
        background-color: transparent;
    }

    .blog-container a h2 {
    	font-size:2.6em;
    }

	.blog-container .category, .blog-container .date {
        margin-bottom:1em;
        display:table;
    }

	.blog-container article:hover .news-block-image {
        width:100%;
    }
}

@media only screen and (max-width:980px) {
	.single-article-container {
		padding-top:50px;
	}
	.single-article-top {
		display: flex;
		flex-direction: column-reverse;
	}
	.single-article-main {
		display: flex;
		flex-direction: column;
	}
	.single-article-top-right img {
		margin-bottom:50px;
	}
	.single-article-categories {
		margin-top:30px;
		margin-bottom:50px;
	}
	.single-article-footer .inner {
		display: flex;
		flex-direction: column;
	}
	#single-article-right h3 {
		margin-bottom:30px;
	}
	#single-article-right a {
		width:100%;
	}
	.services-intro:after {
		height:50px;
		width: 50px;
	}
	.home-services {
		padding-right:2em;
	}
	.home-services:after {
		height: 50px;
		width: 50px;
	}
}

@media only screen and (max-width:768px) {
	.about-main-bottom {
		background-image: none !important;
	}
	.header {
		padding:1em 5%;
	}
	.scrolled .header {
		background-color: transparent;
		filter: none;
		backdrop-filter: none;
        box-shadow: none;
	}
	.scrolled .logo, .nav-open .logo {
		display: none;
	}
	.green-cta {
		background-image: none !important;
	}
	.policy-features:before {
		display: none;
	}
	.footer-terms {
		display: flex;
		flex-direction: column;
	}
	.design-credit {
/*		text-align: right;*/
	}
	.footer-subfooter div:nth-of-type(2) {
		padding:0;
		margin-bottom:50px;
	}
	.footer-subfooter div:nth-of-type(2) p:first-of-type {
		padding-top: 0;
	}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5) and (max-height:1450px) {
	   	.footer {
	   		position:relative;
	   	}

}
@media only screen and (min-width:1025px) {
	.nav-container {
		display: block !important;
	}
}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#2B1639;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#2B1639;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#2B1639;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

.nav > ul {
	display: flex;
	justify-content: space-between;
}





.splash	{
	position: fixed;
	top:0;
	left:0;
	z-index:99;
	height:100vh;
	width: 100vw;
	background-color: rgba(255,255,255,0.6);
	backdrop-filter:blur(30.417699813842773px);
	-webkit-backdrop-filter:blur(30.417699813842773px);
	transition: 0.6s all ease-in-out;
}
.splash-logo {
	transition: 0.6s all ease-in-out;
	margin-top:50px;
	width:70px;
}

#logo-icon {
	z-index:100;
	position: relative;
	display: block;
}

.hide:not(.wp-admin .hide) {
	display: none;
}
.editor-styles-wrapper .hide {
	display: block;
	border:1px dashed red;
	position: relative;
}


.editor-styles-wrapper .hide:before {
	display: block;
	position: absolute;
	top:10px;
	left:10px;
	padding:0.8em;
	font-size:0.7em;
	content:'hidden on all viewports with class "hide"';
	border:1px dashed red;
	color:red;
}

.editor-editor-canvas__post-title-wrapper h1 {
	font-size:1.3em;
	padding-left: 2em;
}


#wpbody-content h2 {
	font-size:1.8em;
	margin-top: 0;
}



