/*
 * ACTRA 2025 Theme Stylesheet
 * Custom styles including basic layout, responsive design, and custom fonts.
 */

/* ==========================================================================
   Fonts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@import url(https://db.onlinewebfonts.com/c/6e3bdf768c0dc5b08f0198a7243fbe21?family=Acier+BAT+Text+Solid);

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

@import url('https://fonts.cdnfonts.com/css/peckham-press');

/*
 * Registering Dunbar Tall Custom Fonts /wp-content/themes/actra-2025/fonts/dunbar-tall/regular/dunbar-tall-regular.woff
 */

@font-face {
    font-family: 'DunbarTall Regular';
    src: url('/wp-content/themes/actra-2025/fonts/dunbar-tall/regular/dunbar-tall-regular.woff2') format('woff2'),
         url('/wp-content/themes/actra-2025/fonts/dunbar-tall/regular/dunbar-tall-regular.woff') format('woff');
    font-weight: 300; /* Book */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DunbarTall Book';
    src: url('/wp-content/themes/actra-2025/fonts/dunbar-tall/book/dunbar-tall-book.woff2') format('woff2'),
         url('/wp-content/themes/actra-2025/fonts/dunbar-tall/book/dunbar-tall-book.woff') format('woff');
    font-weight: 400; /* Regular */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DunbarTall Medium';
    src: url('/wp-content/themes/actra-2025/fonts/dunbar-tall/medium/dunbar-tall-medium.woff2') format('woff2'),
         url('/wp-content/themes/actra-2025/fonts/dunbar-tall/medium/dunbar-tall-medium.woff') format('woff');
    font-weight: 500; /* Medium */
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

:root {
	--alert-color:       #dffd1b;
	
  	--base-color-1:      #011633;
	--long-night:        #010c1c;
	
  	--base-color-2:	     #f8f7ef;
	--polar:		     #fbfdfd;
	
	--primary-color-1:   #9ad0b5;
	--aurora: 		     #9ad0b5;
	
	--primary-color-2:   #3d606d;
	--borealis: 	     #3d606d;
	
	--primary-color-3:   #950b5e;
/* 	--crowberry:         #950b5e; */
	--crowberry:         #7d2d52;
	
	--grayscale-color-1: #d5d5d5;
	--inukshuk-light:    #d5d5d5;
	
	--grayscale-color-2: #9e9e9e;
	--inukshuk-prime:    #9e9e9e;
	
	--grayscale-color-3: #5e5e5e;
	--inukshuk-dark:     #5e5e5e;

	--chroma: #f7f5ed;
}
body.light #g-page-surround,
body.light #g-page-surround > *:not(footer),
body.light #g-page-surround main#g-mainbar,
body.light #g-page-surround > *:not(footer) main#g-mainbar{
	background: var(--chroma) !important;
}

#g-page-surround:has(article.tag-aurora),
#g-page-surround:has(article.tag-aurora) > *:not(footer){
	background: var(--aurora);
	padding: 0;
}

#g-page-surround:has(article.tag-borealis),
#g-page-surround:has(article.tag-borealis) > *:not(footer){
	background: var(--borealis);
	padding: 0;
}

#g-page-surround:has(article.tag-crowberry),
#g-page-surround:has(article.tag-crowberry) > *:not(footer){
	background: var(--crowberry);
	padding: 0;
}

#g-page-surround:has(article.tag-aurora) blockquote{
	border-color: var(--aurora);
}

#g-page-surround:has(article.tag-borealis) blockquote{
	border-color: var(--borealis);
}

#g-page-surround:has(article.tag-crowberry) blockquote{
	border-color: var(--crowberry);
}

body.error404 #g-page-surround main#g-mainbar, 
body.error404 #g-page-surround > *:not(footer) main#g-mainbar{
    background: var(--long-night) !important;
}

body.error404 #g-page-surround main#g-mainbar h1, 
body.error404 #g-page-surround > *:not(footer) main#g-mainbar h1{
    color: var(--polar) !important;
}

#g-page-surround,
#g-page-surround > *:not(footer){
	background: var(--long-night);
	padding: 0;
}

#g-page-surround main#g-mainbar,
#g-page-surround > *:not(footer) main#g-mainbar{
	background: var(--chroma);
	padding: 0 2rem;
}

body.single
#g-page-surround,
#g-page-surround > *:not(footer){
	background: var(--article-color);
	padding: 0;
}
body.single section.entry-content p {
    line-height: 1.5;
}

body.single
#g-page-surround main#g-mainbar,
#g-page-surround > *:not(footer) main#g-mainbar{
	background: var(--chroma);
/* 	background: var(--article-color); */
	padding: 0 2rem;
}

body.single div.meta-categories{
    width: 100%;
    display: flex !important;
    align-items: center;
}
body.single span.categories {
    display: flex;
    justify-content: space-between;
    width: 100%;
	font-size: 1rem;
	margin-top: 1rem;
}

body.single span.categories:has(.article-author) {
/*     flex-direction: row-reverse; */
/* 	   margin: 1rem 0; */
}

body.single span.categories p{
	margin: 0;
    padding: 0;
}

p.article-author {
    text-transform: capitalize;
}

section.entry-content li {
    line-height: 1.5;
}

/* 
body.light
#g-page-surround,
body.light #g-page-surround > *:not(footer){
	background: var(--polar) !important;
} */

/* #g-page-surround,
#g-page-surround > *:not(footer){
	background: var(--polar);
	padding: 0;
}
 */
/* #g-page-surround main#g-mainbar,
#g-page-surround > *:not(footer) main#g-mainbar {
    background: var(--polar);
	padding: 0;
} */

article .img-banner{
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0rem;
    height: 100%; /* Taller banner */
    max-height: 100%;
    overflow: hidden;
}

article img.featured-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    filter: brightness(1.1);
	position: relative;
	z-index: 99;
}

main#g-mainbar .normal-page .g-content {
    margin: 0;
    padding: 0;
}

body.page
#g-page-surround,
body.page
#g-page-surround > *:not(footer),
body.category 
#g-page-surround,
body.category
#g-page-surround > *:not(footer){
	background: var(--chroma);
/* 	background: var(--polar); */
}


body {
	font-family: "Inter", sans-serif;
/*     font-family: 'Roboto', sans-serif; */
    background-color: #f4f4f4;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #3498db;
    text-decoration: underline;
}



#g-navigation .g-main-nav .g-toplevel > li > .g-menu-item-container > .g-menu-item-content{
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 100;
    font-family: "Acier BAT Text Solid" !important;   
}

#g-navigation .g-main-nav .g-toplevel > li > .g-menu-item-container .g-menu-parent-indicator{
    margin: 1% 0;
    line-height: 1;
}

#g-navigation .g-main-nav .g-toplevel > li.active > 
.g-menu-item-container > .g-menu-item-content,

#g-navigation .g-main-nav .g-toplevel > li.active > 
.g-menu-item-container > .g-menu-parent-indicator{
    color: var(--polar) !important;
}


#g-navigation .g-main-nav .g-toplevel > li.active {
    background: #000;
}

body.page section#g-container-main .g-container {
    width: 90%;
}

article.type-post h2.entry-title {
    font-family: 'DunbarTall Regular', sans-serif !important;
	font-size: 2.75rem;
    font-weight: 900;
}

.entry-meta > *{
    font-family: 'DunbarTall Book', sans-serif !important;
}

section.entry-content{
    /* font-family: 'DunbarTall Medium', sans-serif !important; */
}

body.single
section#g-container-main .g-container {
    width: 75%;
}

h1.wp-block-heading,
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading{
    line-height: 1.25;
}

blockquote p{
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1 !important;
	color: var(--article-quote);
	font-style: italic;
	padding-left: 5vw;
	position: relative;
	border-left: 5px solid var(--article-quote);
}

/*
body.single article.post blockquote p::before{
    content: '\201c';
    font-size: 5vw;
    position: absolute;
    left: 0;
    bottom: 70%;
    width: 100%;
    height: auto;
}
*/
body.single article.post
h2.wp-block-heading + p.qa {
    border-left: none;
    border-top: none;
/*     margin-right: -10%; */
    padding: 0 2rem;    
    margin-left: 10%;
	border-radius: 25px 0;
	margin-bottom: 3rem;
}
body.single article.post
p.qa + h2.wp-block-heading,
body.single article.post
blockquote  + h2.wp-block-heading{
    border-top: none;
    border-right: none;
/*     margin-left: -10%; */
    padding: 1rem 2rem;
    margin-right: 10%;
	line-height: 1.25;
	font-size: 1.25rem;
	font-weight: 800 !important;
	border-radius: 0 25px;
/* 	margin-bottom: 4rem; */
}
body.single article.post
blockquote{
/*     margin-left: -10%; */
/*     margin-right: -10%; */
	border: none;
    margin-top: 2vw;
    margin-bottom: 2vw;
}
body.single
blockquote cite{
	margin-top:-2vw;
}
body.single 
h2.wp-block-heading,
body.single 
h2.wp-block-heading + p.qa {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

/* Odd pairs (1st, 3rd, 5th, 7th) - align left */
body.single 
h2.wp-block-heading:nth-of-type(odd),
body.single 
h2.wp-block-heading:nth-of-type(odd) + p.qa {
  margin-left: 0;
  margin-right: auto;
	border: 3px solid var(--article-qa-1);
}

/* Even pairs (2nd, 4th, 6th, 8th) - align right */
body.single 
h2.wp-block-heading:nth-of-type(even),
body.single 
h2.wp-block-heading:nth-of-type(even) + p.qa {
  margin-left: auto;
  margin-right: 0;
    border: 3px solid var(--article-qa-2);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

/* Header */
#g-navigation {
    text-align: center;
    border-bottom: .5rem solid #000;
}

header img {
    max-height: 100% !important;
/* 	width: 250px; */
	width: 100%;
	padding-left: 0rem;
	transition: 2s;
}

.wp-block-image.noBorder img {
    border: none !important;
}

header img:hover {
/*     margin-left: 50vw; */
}

.g-main-nav .g-sublevel>li {
    /* margin: .25rem 0; */
    margin: 0 8px;
}

@media only all and (min-width: 48rem) {
  .g-home-particles.g-helium-style #g-header {
    /* margin-top: -9.5rem; */
    margin-top: 0;
  }
  .contact-section{

  }
}

@media only all and (max-width: 48rem) {
	.contact-section {
		display: flex;
		flex-direction: column;
		align-content: center;
		align-items: center;
	}
  	.social-footer {
    	display: grid !important;
    	grid-template-columns: repeat(3, 1fr);
    	/*grid-template-columns: repeat(auto-fill, 150px);*/
    	justify-items: center;
    	justify-content: space-evenly;
  	}
  	ul.g-horizontalmenu.sub-footer-list  {
        flex-direction: column;
	}   
	.articleFooter ul {
		margin: 0;
	}
	
	header img{
		width: 100%;
		margin: 0;
		padding: 0;
	}
	.chromaIssue h1{
		
	}
}
.articleFooter ul{
	margin: 0;
}
.articleFooter .wp-block-post-featured-image img{
    border: 1px solid #000;
    border-radius: 25px;
}
#g-navigation .g-search {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

#g-navigation .g-search input[type="text"], .g-search input[type="search"] {
    width: 100%;
    padding: .5rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
#g-navigation .g-search input[type="text"]:focus, .g-search input[type="search"]:focus {
    border-color: #2980b9;
    outline: none;
}
/* Footer */
footer {
	background-color: var(--long-night) !important;
    color: #fff;
    padding: 10px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}


/* ACTRA Logo */
.actra-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.actra-logo div{
    margin: 0;
    padding: 0;
}

.actra-logo img {
    margin: auto;
    max-width: 100%;
    max-height: 100% !important;
}

a.chromaLogo {
    margin: 0;
}

.chromaLogo {
	display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}


.chromaIssue{
	display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.menu{
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.search{
    display: flex;
    align-items: center;
    justify-content: center;
}


.menu div.g-content.g-particle{
    padding: 0 !important;
}

.menu div.g-content.g-particle,
.search div.g-content.g-particle{
    margin: 0;
    padding: 1rem 0 0.5rem 0;
}

.menu nav ul {
    line-height: 1 !important;
}

.g-main-nav .g-standard > .g-dropdown, .g-main-nav .g-fullwidth > .g-dropdown {
    /* margin-top: 15px; */
}

li.g-parent.g-selected:has(ul.g-active) {
    background: #000;
    color: #fff;
}

li.g-parent.g-selected:has(ul.g-active) span.g-menu-item-title,
li.g-parent.g-selected:has(ul.g-active) span.g-menu-parent-indicator {
    color: #fff;
}

li.g-menu-item > ul.g-dropdown{
    width: 100%;
    max-width: 100%;
    position: absolute !important;
    
}

body.light
#g-navigation .g-container{
	background: var(--polar);
}

#g-navigation .g-container{
    width: 100%;
}

#g-navigation .g-container > .g-grid{
    width: 80%;
    margin: auto;
}

#g-navigation .g-main-nav .g-toplevel > li{
    padding: 0.5rem 1rem;
    margin: 0;
    border-radius: 15px 15px 0 0;
}

.g-main-nav .g-fullwidth .g-dropdown .g-block{
    background: #000;
    padding-left: 2rem;
}

.g-main-nav .g-fullwidth .g-dropdown .g-block *{
    color: #fff;
}

.g-main-nav .g-fullwidth .g-dropdown .g-block:first-of-type{
    padding-left: 2rem;
}

.g-main-nav .g-fullwidth .g-dropdown .g-block:last-of-type{
    background: #da3838;
    padding-left: 0rem;
}


li.bold > div.g-menu-item-container > span.g-menu-item-content > span.g-menu-item-title,
li.bold > a.g-menu-item-container > span.g-menu-item-content > span.g-menu-item-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transition-property: opacity, transform;
    transition-duration: 0.3s, 0.3s;
    transition-timing-function: ease-out, ease-out;
    transition-delay: 0s, 0s;
}

li.indent > div.g-menu-item-container > span.g-menu-item-content > span.g-menu-item-title,
li.indent > a.g-menu-item-container > span.g-menu-item-content > span.g-menu-item-title {
    font-size: small;
    padding-left: 20px;
    color: #ffffff;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transition-property: opacity, transform;
    transition-duration: 0.3s, 0.3s;
    transition-timing-function: ease-out, ease-out;
    transition-delay: 0s, 0s;
    display: block;
}

li.bold.g-parent > div:hover.g-menu-item-container > span.g-menu-item-content > span.g-menu-item-title,
li.indent > div:hover.g-menu-item-container > span.g-menu-item-content > span.g-menu-item-title,
li.bold > a:hover.g-menu-item-container > span.g-menu-item-content > span.g-menu-item-title,
li.indent > a:hover.g-menu-item-container > span.g-menu-item-content > span.g-menu-item-title {
    color: #bebebe;
}

li.indent > div.g-menu-item-container,
li.indent > a.g-menu-item-container {
    padding: 0.35rem 0.775rem !important;
}

.space-base {
    margin-bottom: 25px !important;
}

/* Footer Border */
footer .g-grid:has(.actra-logo) {
    border-bottom: 1px solid;
}


.g-search form:before {
    color: rgba(76, 76, 76, 0.64) !important;
}

.g-search input[type="text"], .g-search input[type="search"] {
    background: rgba(76, 76, 76, 0.14) !important;
}

.g-search form:before {
  /* content: "\f002"; */
  position: absolute;
  left: 0.625rem;
  width: 20px;
  height: 20px;
  top: 30%;
  color: rgba(0, 0, 0, 0.24);
  font: normal normal normal 16px/1 FontAwesome;
}

#g-navigation .g-main-nav .g-dropdown,
#g-navigation .g-main-nav .g-dropdown > .g-dropdown-column{
    border: 0 !important;
}

li.g-level-2.g-go-back a {
    color: #fff !important;
    padding: 1rem 0 0 0 !important;
}

li.g-level-2.g-go-back a:hover{
    text-decoration: none;
}

.g-go-back a:before{
    color: #fff;
}

.g-main-nav .g-fullwidth .g-dropdown .g-block:last-of-type:has(.g-level-2){
    background-color: #000;    
}
/* ==========================================================================
   Navigation Menu (Horizontal Menu)
   ========================================================================== */

.g-horizontalmenu li + li {
    margin-top: 1rem;
    padding-left: 0;
}

.g-horizontalmenu li {
    width: 100%;
	border-bottom: 1px solid var(--inukshuk-dark);
    font-size: 1.125rem; /* 18px */
    font-weight: 500;
    padding: 0;
    transition: background-color 0.2s ease-in-out;
}
.g-horizontalmenu li:last-child {
    /* padding-right: 1rem !important; */
}

#g-footer .g-horizontalmenu a:hover {
    background-color: #fff;
    color: #000;
    box-shadow: none !important;    
}

.g-horizontalmenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
/*     padding-top: 0.5rem;  */
/*     padding-bottom: 0.5rem;  */
/*     padding-left: 1rem; */
/* 	padding: 0 0 0 1rem; */
	margin: 0;
    text-decoration: none;
    color: inherit;
}
.g-horizontalmenu li a:hover::after{
    filter: invert(0);
}

.g-horizontalmenu li a:hover {
    
}

/* Chevron icon using CSS pseudo-element */
.g-horizontalmenu li a::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 0.5rem; /* 8px */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(1); /* Invert color for better visibility */
}

ul.g-horizontalmenu.sub-footer-list {
    display: flex;
    align-items: flex-end;
    gap: 1rem
}

ul.g-horizontalmenu.sub-footer-list li{
    border: none;
    margin: 0;
    padding: 0;
}

ul.g-horizontalmenu.sub-footer-list li a {
    justify-content: center;
	padding: 0;
}

.footer-links li a {
    font-family: 'Roboto';
    font-size: 1.5rem;
}

.footer-links li a: {
    font-family: 'Roboto';
    font-size: 1.5rem;
}

.footer-links li:last-child a {
    color: var(--alert-color) !important;
	display: flex;
	justify-content: flex-start;
}
/*
.footer-links li:last-child a::before {
    content: 'HAVEN';
    font-weight: 900;
    font-size: 2rem;
    margin: 0;
    padding: 0;
	color: var(--borealis) !important;
}

*/

/* HAVEN Online Navigation Styling */
.footer-links li:last-child {
	list-style: none;
	background-color: var(--long-night);
	margin: 0;
	margin-top: 1rem;
	padding: 0;
}

.footer-links li:last-child a {
	display: block;
	padding: 1rem 0 1rem 1rem;
	background-color: var(--long-night);
	text-decoration: none;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
/* 	border-left: 4px solid #7dd321; */
	border-left: 4px solid var(--alert-color);
	transition: all 0.3s ease;
	text-align: left;
	float: left;
	line-height: 1;
/* 	background-image: url(http://dev.actra.ca/wp-content/uploads/2025/09/HAVEN_ButtonV2-e1758565323811.png); */
/* 	background-image: url(http://dev.actra.ca/wp-content/uploads/2025/09/HAVEN_ButtonV2-nobg.png); */
/* 	background-image: url(http://dev.actra.ca/wp-content/uploads/2025/09/HAVEN_ButtonV3-e1758567585156.png); */
    background-repeat: no-repeat;
    background-size: contain;
}

.footer-links li:last-child a:hover {
/*     background-color: var(--long-night) !important; */
/* 	color: var(--polar); */
/* 	border-left: 4px solid #9ef441; */
	border-left: 4px solid var(--alert-color);
}
.footer-links li:last-child a:hover {
    /* filter: invert(1); */
	border-top: 1px solid;
	border-bottom: 1px solid;
	margin-top: 1px;
	margin-bottom: 1px;
}


.footer-links li:last-child a:active,
li a:focus {
/*   background-color: #0a1b3a; */
  outline: none;
}

/* Optional: If this is part of a larger navigation */
ul {
  /* margin: 0;
  padding: 0;
  background-color: #1a2b4a; */
}

/* Additional styling to match the HAVEN branding */
/* li a::before {
  content: ">";
  color: #7dd321;
  font-weight: bold;
  margin-right: 8px;
  font-size: 16px;
} */

.footer-links li:last-child a{
	background-color: var(--long-night) !important;
}

.footer-links li:last-child a::after{
	float: right;
	margin-top: .25rem;
	filter: invert(1);
  /* line-height: 1; */
}

.footer-links li a:hover::after{
	
}

footer#g-footer .g-horizontalmenu li {
    font-size: 1rem
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    flex: 1 1 0%;
    text-align: left;
}

.contact-section .contact-title {
    font-size: 2.25rem; /* 36px */
    font-weight: 600;
    margin-bottom: 2rem; /* 32px */
    margin-top: 0;
    color: #fff;
	font-family: "Acier BAT Text Solid" !important;
    letter-spacing: 2px;
}

.contact-section .contact-address {
    font-size: 1.5rem; /* 30px */
    margin: 0;
    line-height: 1;
}

.contact-address.last-address{
    margin-bottom: 2rem;
}

.contact-group {
    display: flex;
    gap: 1rem; /* 16px */
    margin-bottom: 2rem; /* 32px */
}

.contact-section .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* 8px */
    font-weight: 500;
    /* margin-bottom: 0.5rem; */
}

.contact-section .contact-item p{
    margin: 0;
    line-height: 1.5;
}

.contact-section .contact-item.with-margin {
    
}

.contact-section .contact-icon {
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
    stroke: currentColor; 
    fill: none;
}

.contact-section .contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-section .contact-item a:hover {
    text-decoration: underline;
}

.contact-section .contact-logo {
    width: 35%;
    filter: invert(1);
	margin-bottom: 1rem;
	animation: hue-rotate-forever 1s linear infinite;
}

.contact-section .contact-logo:hover {
    animation: none;
    cursor: pointer;
}

@keyframes hue-rotate-forever {
	0% {
    	filter: invert(1) hue-rotate(0deg);
  	}
	25% {
    	filter: invert(1) hue-rotate(360deg);
  	}
  	50% {
    	filter: invert(1) hue-rotate(180deg);
  	}
	75% {
	    filter: invert(1) hue-rotate(90deg);
  	}
	100% {
    	filter: invert(1) hue-rotate(0deg);
  	}
}

/* ==========================================================================
   Social Media Links
   ========================================================================== */

.social-footer {
    display: flex;
	justify-content: flex-start;
    align-items: center;
    gap: 0.5rem; /* 8px */
    flex-wrap: wrap;
    margin: 0; /* 16px top and bottom */
}

.social-footer a {
    display: flex;
    padding: 0.5rem 2rem 0.5rem 0; 
    /* background-color: #ffffff; */
    border-radius: 0.5rem; /* 8px */
    border: 1px solid rgb(209, 213, 219);
    transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* font-size: xxx-large; */
    color: #979797;
    background: transparent;
    border: none;
    text-decoration: none !important;
}

.social-footer a:hover {
    /* border-color: rgb(243, 244, 246);
    background-color: rgb(243, 244, 246); */
}

.social-footer a svg {
    width: 50px;
    height: 50px;
	border: 1px solid;
	border-radius: 25px;
	padding: .25rem;
}

.social-footer a:hover svg{
    background: var(--alert-color) !important;
}

.social-footer a:hover svg path {
    fill: var(--long-night);
}


/* ==========================================================================
   Utility Classes
   ========================================================================== */

.invert {
    filter: invert(1);
}
.invert img {
    filter: grayscale(1);
}
.g-grid .g-block:has(.center-block) {
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-block{
    text-align: center;
    margin: auto;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    body {
        
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.25em;
    }

    #g-navigation {
        margin-top: 2rem;
    }
    .actra-logo {
        padding: 0;
        margin-left: 2rem;
    }

    .contact-group{
        flex-direction: column;
        align-items: center;
    }
	
	.footer-content .g-simplecontent{
    	flex-direction: column;
	}

	.footer-content .g-simplecontent .g-simplecontent-item{
		width: 100% !important;
	}


    article .img-banner{
        height: 100%;
		max-height: 100%;
    }
   
	article section.entry-header {
    padding: 0 2rem;
	}

	article section.entry-content {
		padding: 0 1rem;
	}
	
	blockquote p{
		font-size: 2rem;
	}
	
	body.single
	section#g-container-main .g-container {
		width: 100%;
	}
	
	body.single article.post
	h2.wp-block-heading + p.qa {
		border-right: none;
		border-bottom: none;
	/*     margin-right: -10%; */
		padding: 0 2rem;    
		margin-left: 0%;
	}
	body.single article.post
	p.qa + h2.wp-block-heading,
	body.single article.post
	blockquote  + h2.wp-block-heading{
		border-bottom: none;
		border-left: none;
	/*     margin-left: -10%; */
		padding: 0 2rem;
		margin-right: 0%;
		font-size: 1.5rem;
	}
	body.single article.post
	blockquote{
	/*     margin-left: -10%; */
	/*     margin-right: -10%; */
		margin-top: 2rem;
		margin-bottom: 2rem;
	}
	body.single span.categories:has(.article-author){
		flex-direction: column-reverse;
		gap: 1rem;
	}
}

img.chroma-logo {
    filter: invert(1);
	width: 250px;
}

body.light
img.chroma-logo {
    filter: invert(0);
}


/* --aurora: #9bd5b8 (Light mint green) */
.logo-aurora img{
    filter: invert(88%) sepia(21%) saturate(541%) hue-rotate(97deg) brightness(92%) contrast(89%);
}

/* --borealis: #3d606d (Dark teal) */
.logo-borealis img{
    filter: invert(36%) sepia(10%) saturate(1987%) hue-rotate(149deg) brightness(95%) contrast(89%);
}

/* --alert: #dffd1b (Bright lime) */
.logo-alert img{
    filter: invert(86%) sepia(76%) saturate(1450%) hue-rotate(14deg) brightness(108%) contrast(101%);
}

/* --inukshuk: #d2d2d2 (Light gray) */
.logo-inukshuk img{
    filter: invert(93%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(89%) contrast(91%);
}

/* --polar: #fdfdfc (Off-white) */
.logo-polar img{
    filter: invert(100%) sepia(1%) saturate(1210%) hue-rotate(3deg) brightness(104%) contrast(98%);
}

/* --crowberry: #7d2d52 */
.logo-crowberry {
    filter: invert(21%) sepia(35%) saturate(3474%) hue-rotate(299deg) brightness(96%) contrast(92%);
}

/* chroma-1: #4b2373 (Deep Royal Purple) */
.logo-chroma-1 {
    filter: invert(15%) sepia(35%) saturate(5435%) hue-rotate(256deg) brightness(94%) contrast(106%);
}

/* chroma-2: #fd008f (Electric Magenta/Pink) */
.logo-chroma-2 {
    filter: invert(13%) sepia(99%) saturate(6392%) hue-rotate(320deg) brightness(101%) contrast(110%);
}

.chroma-logo-container {
    display: flex;
    width: 100%;
}

section#g-navigation .g-grid:has(.chroma-logo-container) {
    width: 100%;
}

.footer-content
.g-simplecontent-item{
    text-align: left;
	font-size: .85rem;
	margin-bottom: 1rem;
}

.footer-content
.g-simplecontent-item:nth-of-type(2){
/*     text-align: right; */
}

.footer-content
.g-simplecontent-item .g-simplecontent-item-content-title{
    font-size: 1.25rem;
    font-weight: 900;
/* 	text-transform: uppercase; */
	color: var(--alert-color);
}

.footer-content .g-simplecontent{
/*     display: flex; */
}

.footer-content .g-simplecontent .g-simplecontent-item{
	width: 100%;
}

.footer-content .g-simplecontent .g-simplecontent-item-main-content span {
    font-style: italic;
    font-weight: 900;
    text-decoration: underline;
}

/* Logo and search adjustments to work with full-width menu */
.actra-logo, .search {
    z-index: 10000;
    position: relative;
}

/* Ensure proper stacking context */
#g-navigation {
    z-index: 999;
    position: relative;
}

/* Home Page Classes */
#g-features .g-grid {
    /* border: 1px solid; */
/*     margin-bottom: 4rem; */
    align-items: center;
}

#g-features .g-grid:last-of-type {
    margin: 0;
}

#g-features .g-grid .g-content{
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

#g-features .g-grid .g-content > div{
    /* display: flex;
    height: 100%;     */
}

#g-features .g-grid img {
    max-height: 100%;
	width: 100%;
    /* padding: 1rem; */
}

#g-features .g-grid .g-simplecontent {
    padding: 0 1rem;
}

.home-welcome {
    padding: 5rem !important;
    border-bottom: 1px solid;
	/* width: 75%; */
    margin: auto;
}
.home-welcome .g-container {
    width: 80%;
}
.home-welcome .g-container .g-grid {
    background: #fff;
    padding: 1rem;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}
.home-welcome .g-container .g-grid .g-block:first-of-type .g-content,
.home-welcome .g-container .g-grid .g-block:nth-of-type(2) .g-content{
    /* margin: 0 !important; */
    padding: 0 !important;
}

.home-welcome ul.g-horizontalmenu li a {
    /* display: inline-block; */
    font-weight: 700;
    color: #fff;
	/* font-size: 0.8vw; */
    background: #000;
    text-align: left;
    margin: 0 0 0.5rem 0;
    padding: 0.4rem 1.5rem;
    padding-bottom: 0.45rem;
    border-radius: 0.4rem;
    border: 2px solid transparent;
    vertical-align: middle;
    text-shadow: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.home-welcome ul.g-horizontalmenu li a:hover{
    background: #fff;
    color: #000;
    border-color: #000;
    cursor: pointer;
    text-decoration: none;
}

.hpcContent:has(+ .hpcImage) {
	padding: 0 2rem 0 2rem;
}

.hpcImage + .hpcContent {
	padding: 0 2rem 0 2rem;
}

.hpcContent * {
    color: var(--polar);
}

/* Custom ACTRA Button */
.actra-button {
    display: inline-block;
    font-weight: 700;
    color: #fff;
/*     font-size: 0.8vw; */
    background: #000;
    text-align: center;
    margin: 0 0 0.5rem 0;
    padding: 0.4rem 1.5rem;
    padding-bottom: 0.45rem;
    border-radius: 0.4rem;
    border: 2px solid transparent;
    vertical-align: middle;
    text-shadow: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.actra-button:hover{
    background: #fff;
    color: #000;
    border-color: #000;
    cursor: pointer;
    text-decoration: none;
}

/* Quick Links */
.quick-links ul {
    margin: 0 !important;
}

.quick-links ul.g-contenttabs-content-wrapper-container{
    /* border: 1px solid red; */
    padding: 0;
}

.quick-links ul.g-contenttabs-content-wrapper-container li:has([aria-hidden="true"]){
    display: none;
}

.quick-links ul.g-contenttabs-content-wrapper-container li{
    /* max-width: 100%;
    width: 100%;
    border: 1px solid green; */
    padding: 1rem;
}

.quick-links ul li{
    width: 100%;
    text-align: center;
}

.qlContent {
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    display: flex;
    /* flex: 1 1 auto; */
    /* flex-direction: column; */
    padding: 1rem;
    /* height: 450px; */
    /* float: left; */
    /* clear: both; */
    /* height: auto; */
    /* border: 1px solid red; */
    align-items: center;
}

.qlContent img {
    filter: grayscale(1);
}
.qlContent img {
    width: 25%;
    float: left;
    margin: 15px;
}

.qlContent div{
    text-align: left;
}

div.quick-links h2.g-title,
div.g-simplecontent h2.g-title {
    font-size: 2rem;
    font-weight: 700;
	line-height: 1;
}

.rounded > img {
    border-radius: 15px;
}

.rounded-corner img {
    border-radius: 15px;
}


/* Details - WordPress Accordion */
details.wp-block-details {
    border: 1px solid;
    margin: 1rem auto;
    border-radius: 15px;
    padding: 1rem;
}

details.wp-block-details summary{
	display: flex;
	justify-content: space-between;
}

details.wp-block-details summary::after {
	content: '+';
	transform: rotate(0deg);	
	font-size: 2rem;
	font-weight: 900;
}

details.wp-block-details[open] summary::after {
	transform: rotate(-45deg);
}

details.wp-block-details[open] .wp-block-details summary::after {
    transform: rotate(0deg);
}

details.wp-block-details[open] .wp-block-details[open] summary::after {
    transform: rotate(-45deg);
}

.branch-grid .wp-block-group{
    border: 1px solid;
    border-radius: 25px;
    padding: 0 0 0 10px;
    text-align: left;
    transition: .4s;
    display: flex;
/*     justify-content: center; */
/*     align-items: center; */
}

.branch-grid .wp-block-group:hover{
/*     cursor: pointer; */
    background: #fff;
    color: #000 !important;
}

.branch-grid .wp-block-group:hover *{
    color: #000 !important;
}
	
/* 404 Error Page Styles */
body.error404 main{
    padding: 0 !important;
}
.error-logo {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -2rem;
    margin-bottom: -2rem;
    max-height: 100%;
    overflow: hidden;
    background-size: cover; /* Ensures the image covers the area */
    background-position: center center; /* Default background position */
    display: flex; /* Use flex to easily center the wrapper */
    justify-content: center;
    align-items: center;
}
.error-logo img{
    width: 100%;
    object-fit: cover;
}
/* Category Presidents Message */
body.category article.category-presidents-messages {
    position: relative;
}
body.category article.category-presidents-messages section.entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
/*     border: 1px solid; */
    border-radius: 25px 0;
    padding: 1rem;
    margin-bottom: 1rem;    
/*     background: var(--grayscale-color-1); */
    color: var(--base-color-1);
/*     box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1); */
	box-shadow: 5px 5px 0px var(--grayscale-color-1);
    transition: .5s ease-in-out;
}
body.category article.category-presidents-messages section.entry-header h2.entry-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    z-index: 2; /* Ensures the title is above the overlay */
	width: 80%;
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
body.category article.category-presidents-messages section.entry-header .entry-meta {
    font-size: 0.875rem;
    margin-bottom: 0 !important;
    z-index: 2; /* Ensures the meta is above the overlay */
}
body.category article.category-presidents-messages section.entry-header:hover {
/*     background: #011633; */
	background: var(--base-color-1);
    color: #f8f7ef;
}
body.category article.category-presidents-messages section.entry-header:hover h2.entry-title a,
body.category article.category-presidents-messages section.entry-header h2.entry-title a:hover{
    color: #f8f7ef;
    text-decoration: none;
}
body.category article.category-presidents-messages section.entry-header h2.entry-title a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1; /* Ensures the overlay is on top of other content */
}
/* Category Media Releases */
body.category article.category-media-releases {
    position: relative;
}
body.category article.category-media-releases section.entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid;
    border-radius: 25px;
    padding: 1rem;
    margin-bottom: 1rem;    
    background: #f8f7ef;
    color: #011633;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: .5s ease-in-out;
}
body.category article.category-media-releases section.entry-header h2.entry-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    z-index: 2; /* Ensures the title is above the overlay */
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
body.category article.category-media-releases section.entry-header .entry-meta {
    font-size: 0.875rem;
    margin-bottom: 0 !important;
    z-index: 2; /* Ensures the meta is above the overlay */
}
body.category article.category-media-releases section.entry-header:hover {
    background: #011633;
    color: #f8f7ef;
}
body.category article.category-media-releases section.entry-header:hover h2.entry-title a,
body.category article.category-media-releases section.entry-header h2.entry-title a:hover{
    color: #f8f7ef;
    text-decoration: none;
}
body.category article.category-media-releases section.entry-header h2.entry-title a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1; /* Ensures the overlay is on top of other content */
}
/* Indent months in the category archive widget */
.category-archive-yearly ul.archive-months {
    margin-left: 20px;
}
/* Optional: Style the year heading */
.category-archive-yearly li.archive-year {
    list-style-type: none; /* Removes the bullet from the year */
    font-weight: bold;
    margin-top: 10px;
}
/* --- Category Archive Accordion --- */
/* Style for the main year trigger button */
.archive-year-trigger {
    background: none;
    border: none;
    padding: 0 1rem !important;
    font-weight: bold;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 1em; /* Adjust as needed */
    color: inherit; /* Inherit color from theme */
    position: relative; /* Needed for the icon */
    border: 1px solid;
    border-radius: 25px;
}
/* Remove default list styles from the year item */
li.archive-year {
    list-style: none;
    margin-left: 0;
}
/* Style for the plus/minus icon */
.archive-year-trigger::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    font-weight: bold;
}
/* Change icon to minus when the section is active */
.archive-year-trigger.active::after {
    content: '−'; /* This is a minus sign, not a hyphen */
}
/* The list of months, hidden by default */
.archive-months {
    display: none;
    padding-left: 20px; /* Indent the months */
    list-style: disc; /* Or your preferred bullet style */
}
.widget_category_archive_widget,
.archive-year-trigger{
    margin: 0;
    padding: 0;
}
a.category-link {
    text-decoration: underline;
}

body.outline-related_posts .g-wordpress-posts {
    border-top: 1px solid;
    padding-top: 2rem;
}
body.outline-related_posts .g-wordpress-posts > .g-grid > .g-block:nth-of-type(2){
    text-align: right;
}
body.outline-related_posts .g-wordpress-posts > .g-grid > .g-block .g-array-item-title h3 {
    /* border: 1px solid; */
    /* width: 90%; */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: clip;
}

section#g-navigation .lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

section#g-navigation .lang-toggle .g-content {
    padding: 0;
    margin: 0;
}

section#g-navigation .lang-toggle .g-content 
.widget_polylang ul {
    list-style: none;
    margin: 0;
}

section#g-navigation .lang-toggle .g-content 
.widget_polylang ul li a {
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 900;
/*     font-family: "Acier BAT Text Solid" !important; */
	font-family: system-ui;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .g-dropdown .g-block.size-25 {
        flex: 0 0 calc(50% - 20px);
    }
	
	.search,
    .menu{
        display: flex;
        justify-content: flex-start;
        width: 100%;
        flex: 1;
    }
	.home-welcome{
		border: 1px solid;
		padding: 2rem 0 !important;
	}
	
}

@media (max-width: 767px) {
	#g-navigation .g-container > .g-grid{
        width: 100%;
    }
	
	header a{
/*         background: #000; */
    }
        
    section#g-intro {
        width: 100%;
        padding: 2rem 1rem !important;
    }
	
	section#g-features {
        padding: 1rem;
    }
	
	section#g-features.chroma-home{
		padding: 0 !important;
	}
	
	
	.home-branch-map{
		display: none;	
	}
	.search{
		/* justify-content: center; */
		/* margin-left: 2rem; */
		
		display: block;
        padding: 0;
        margin: 0;
        width: 100%;
	}
	
	.actra-logo,
	.actra-logo img{
		width: 75%;
		margin-left: 2.5rem;
	}
	
	
}


@media (max-width: 768px) {
	/* Home Page Content */
	.hpc{
		border: 1px solid;
		border-radius: 25px;
		padding: 1rem;
		display: flex;
		box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
	}

	.hpc:has(> .hpcContent:first-child) {
	  flex-direction: column-reverse;
	}

	.hpc:has(> .hpcImage:first-child) {
	  flex-direction: column;
	}
	
	.hpcContent {		
	  padding: 0 !important;
	}
	
	.hpcContent,
	.hpcImage{
		width: 100%;
	}
	
    /* Mobile: Convert back to standard dropdown behavior */
    .g-main-nav .g-dropdown {
        position: absolute;
        width: auto;
        min-width: 250px;
        margin-left: 0;
        left: 0;
        padding: 20px;
    }
    
    .g-dropdown .g-block.size-25 {
        flex: 1 1 100%;
    }
    
    .g-dropdown .g-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .g-main-nav .g-toplevel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .g-main-nav .g-toplevel > li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    /* Show back button on mobile */
    .g-dropdown .g-go-back {
        display: block;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
    }
	
	section#g-features.chroma-home .g-container{
		
	}
	section#g-features.chroma-home .g-container a{
		padding: 0 !important;
		margin: 0 !important;
	}
	section#g-features.chroma-home .g-container a img {
        width: 100%;
        aspect-ratio: 3/4;
    }
}
.g-owlcarousel .g-owlcarousel-item-wrapper .g-owlcarousel-item-img:after{
    display: none;
}

.g-owlcarousel.has-color-overlay .owl-stage > .owl-item:nth-child(even) .g-owlcarousel-item-img:after{
    display: none;
}

.g-owlcarousel .owl-nav button.owl-prev, .g-owlcarousel .owl-nav button.owl-next{
/* 	color: var(--alert-color) !important; */
	color: var(--crowberry) !important;
}


.quick-links .ui-tabs .ui-tabs-nav li:hover{
    background: var(--polar);
}

.quick-links .ui-tabs .ui-tabs-nav li:hover .g-contenttabs-tab-title{
    color: var(--long-night);
}

.quick-links .ui-tabs .ui-tabs-nav li{
    background: var(--long-night);
    border: 1px solid var(--long-night);
}

.quick-links .ui-tabs .ui-tabs-nav li.ui-tabs-active{
    background: var(--alert);
}

.quick-links .ui-tabs .ui-tabs-nav li.ui-tabs-active
.g-contenttabs-tab-title{
    color: var(--long-night);
}

.g-contenttabs-tab-title{
    color: var(--polar);
}

#g-features .g-grid .g-block.right .hpc::after,
#g-features .g-grid .g-block.left .hpc::after,
#g-features .g-grid:has(.welcome-badge)::after{
/* 	background-color: var(--borealis) !important; */
	background-color: var(--aurora) !important;
	
}


#g-features .g-container:has(.hpc){
    margin: 0;
    width: 100%;
}

#g-features .g-grid .hpc{
	background: var(--polar);
}

#g-features .g-grid .hpc {
    border: 1px solid;    
	padding: 0rem;
	position: relative;
}

#g-features .g-grid .g-block.right .hpc {
    margin-left: 25%;
	border-radius: 25px 0 0 25px;
	border-right: none;
	box-shadow: -20px 10px 15px 5px rgb(0 0 0 / 20%)	
}

#g-features .g-grid .g-block.left .hpc {
	margin-right: 25%;
    border-radius: 0 25px 25px 0;
    border-left: none;
	box-shadow: 20px 10px 15px 5px rgb(0 0 0 / 20%)
}

#g-features .g-grid .g-block.right .hpc::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    border-left: 1px solid;
    padding: 0;
    background-color: var(--aurora);
    height: 1.25rem;
    left: 0;
    border-radius: 0 0 0 25px;
}


#g-features .g-grid .g-block.right .hpc::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    border-left: 1px solid;
    padding: 0;
/*     background-color: var(--alert-color); */
    height: 1.25rem;
    left: 0;
    border-radius: 25px 0;
}

#g-features .g-grid .g-block.left .hpc::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    border-right: 1px solid;
    padding: 0;
/*     background-color: var(--alert-color); */
    height: 1.25rem;
    right: 0;
    border-radius: 0 25px;
    padding-bottom: 1rem;
}

#g-features .g-grid:has(.welcome-badge){
	background: var(--polar);
    border: 1px solid;
	padding: 1rem;
    margin-left: 25%;
    border-radius: 25px 0 0 25px;
    border-right: none;
    box-shadow: -20px 10px 15px 5px rgb(0 0 0 / 20%);
	position: relative;
}
#g-features .g-grid:has(#actra-map-container) {
    margin: 0;
}

#g-features .g-grid:has(.welcome-badge) ul.g-horizontalmenu li a {
    /* display: inline-block; */
    font-weight: 700;
    color: #fff;
	/* font-size: 0.8vw; */
    background: #000;
    text-align: left;
    margin: 0 0 0.5rem 0;
    padding: 0.4rem 1.5rem;
    padding-bottom: 0.45rem;
    border-radius: 0.4rem;
    border: 2px solid transparent;
    vertical-align: middle;
    text-shadow: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

#g-features .g-grid:has(.welcome-badge) ul.g-horizontalmenu li a:hover{
    background: #fff;
    color: #000;
    border-color: #000;
    cursor: pointer;
    text-decoration: none;
}

#g-features .g-grid:has(.welcome-badge)::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    border-left: 1px solid;
    padding: 0;
/*     background-color: var(--alert-color); */
    height: 1.25rem;
    left: 0;
    border-radius: 25px 0;
    padding-bottom: 1rem;
}


#g-navigation{
    background: var(--long-night) !important;
}

#g-navigation .actra-logo img{
    filter: invert(1);
}

#g-navigation .g-main-nav .g-toplevel > li > .g-menu-item-container > .g-menu-item-content,
#g-navigation .g-main-nav .g-toplevel > li > .g-menu-item-container .g-menu-parent-indicator{
    color: var(--polar);
}

#g-navigation .g-search input[type="text"], .g-search input[type="search"]{
    background: var(--polar) !important;
}

body.light
#g-navigation{
    background: var(--polar) !important;
}

body.light
#g-navigation .actra-logo img{
    filter: invert(0);
}
body.light
#g-navigation .g-main-nav .g-toplevel > li > .g-menu-item-container > .g-menu-item-content,
body.light
#g-navigation .g-main-nav .g-toplevel > li > .g-menu-item-container .g-menu-parent-indicator{
    color: var(--long-night);
}
body.light
#g-navigation .g-search input[type="text"], .g-search input[type="search"]{
    background: var(--inukshuk-light) !important;
}
section#g-features.chroma-home .g-container {
    width: 100%;
}

footer#g-footer .g-container {
    width: 90%;
}
footer#g-footer .g-content{
    margin: 0.625rem;
    padding: 0 3rem;
}


/* Bottom Right Curl */

/* Add delay to hover effect to prevent accidental curls */
.book-curl-right {
	position: relative;
    display: inline-block;
    transition: .4s ease-in-out;
	clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 100% 85%, 100% 100%, 90% 100%, 85% 100%, 80% 100%, 0% 100%);
}

.book-curl-right:hover {
    position: relative;
    display: inline-block;
	clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 98% 85%, 95% 90%, 90% 95%, 85% 98%, 80% 100%, 0% 100%);
/*     clip-path: polygon(0 0,
            100% 0,
            100% 80%,
            98% 85%,
            95% 90%,
            90% 95%,
            85% 98%,
            80% 100%,
            0 100%); */
}

.book-curl-right2:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25%;
    height: 25%;
    background: linear-gradient(225deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(240, 240, 245, 0.8) 30%,
            rgba(200, 200, 210, 0.4) 60%,
            rgba(150, 150, 160, 0.2) 80%,
            transparent 95%);
    clip-path: polygon(100% 0,
            0 100%,
            100% 100%);
    pointer-events: none;
}

.book-curl-right2:hover::before {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 22%;
    height: 22%;
    background: radial-gradient(ellipse at top left,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.25) 30%,
            rgba(0, 0, 0, 0.1) 60%,
            transparent 80%);
    clip-path: polygon(100% 0,
            0 100%,
            100% 100%);
    pointer-events: none;
    z-index: -1;
    filter: blur(3px);
}

/* Bottom Left Curl */

/*Background for hover*/
.g-grid:has(.book-curl-left) {
    background-color: var(--polar);
}

/* Add delay to hover effect to prevent accidental curls */
.book-curl-left {
    transition: .4s ease-in-out;
}
.book-curl-left:hover {
    position: relative;
    display: inline-block;
/* 	clip-path: polygon(0% 0%, 100% 0, 100% 100%, 80% 100%, 85% 98%, 90% 95%, 95% 90%, 98% 85%, 100% 80%); */
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 20% 100%, 15% 98%, 10% 95%, 5% 90%, 2% 85%, 0% 80%);        
/*     clip-path: polygon(0 0,
            100% 0,
            100% 100%,
            80% 100%,
            85% 98%,
            90% 95%,
            95% 90%,
            98% 85%,
            100% 80%); */

/* clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 46% 100%, 24% 100%, 13% 97%, 8% 93%, 5% 88%, 3% 80%); */
}
.book-curl-left {
    position: relative;
    display: inline-block;
/* 	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 20% 100%, 15% 98%, 10% 95%, 5% 90%, 2% 85%, 0% 80%);         */
/* 	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 20% 100%, 15% 98%, 10% 95%, 5% 90%, 2% 85%, 0% 80%);         */
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 20% 100%, 15% 100%, 0% 100%, 0% 90%, 0% 85%, 0% 80%);
/*     clip-path: polygon(0 0,
            100% 0,
            100% 100%,
            20% 100%,
            15% 98%,
            10% 95%,
            5% 90%,
            2% 85%,
            0 80%); */
}

.book-curl-left2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 25%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(240, 240, 245, 0.8) 30%,
            rgba(200, 200, 210, 0.4) 60%,
            rgba(150, 150, 160, 0.2) 80%,
            transparent 95%);
    clip-path: polygon(0 0,
            100% 100%,
            0 100%);
    pointer-events: none;
}

.book-curl-left2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: -3px;
    width: 22%;
    height: 22%;
    background: radial-gradient(ellipse at top right,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.25) 30%,
            rgba(0, 0, 0, 0.1) 60%,
            transparent 80%);
    clip-path: polygon(0 0,
            100% 100%,
            0 100%);
    pointer-events: none;
    z-index: -1;
    filter: blur(3px);
}

