/*!
Theme Name: Gliffen 2026
Theme URI: http://Gliffen.com/
Author: Gliffen Designs
Author URI: http://gliffen.com/
Description: Under Gliffen is the base wordpress theme created by Gliffen Designs that is setup for customization. The theme requires that Advanced Custom Fields be installed on the website. 
Version: 2025.6.12
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: under_gliffen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Footer
# Custom Block Styles
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
	--color-primary: #091D36;
	--color-secondary: #b1742a;
	--color-accent: #b1742a;
	--color-accent-light: #b67d38;
	--color-bg: #091D36;
	--color-bg-light: #102743;
	--color-text: #ffffff;
	--color-text-muted: #b8c1cc;
	--color-surface: #102743;
	--color-border: #404040;
	
	--font-heading: 'Montserrat', sans-serif;
	--font-body: 'Montserrat', sans-serif;
	
	--fw-light: 300;
	--fw-regular: 400;
	--fw-semibold: 600;
	--fw-bold: 700;
	
	--radius-card: 8px;
	--radius-btn: 4px;

	--container-max: 1600px;
	--container-wide: 1600px;
	
	--transition: 0.3s ease;

	--header-height: 110px;
	--white: #ffffff;
	--black: #000000;
	--x-margin: 20px;
	--content-width: 1200px;
	--base-font-size: 14px;
	--wp--preset--font-size--small: .75rem;
	--wp--preset--font-size--medium: 1.5rem;
	--wp--preset--font-size--large: clamp(2rem, 5vw, 2.5rem);
	--wp--preset--font-size--x-large: clamp(2.7rem, 11vw, 4rem);
	
	/* Gradient Overlays */
	--gradient-hero-overlay: linear-gradient(90deg, rgba(9, 29, 54, .96) 0%, rgba(9, 29, 54, .76) 48%, rgba(9, 29, 54, .48) 100%);
	--gradient-blue-orange: linear-gradient( 135deg, rgba(177,116,42,.24), rgba(9,29,54,.98) );
}
@media (max-width: 786px) {
	:root {
		--base-font-size: 14px;
	  	--x-margin: 20px;
		--wp--preset--font-size--medium: 1.3rem;
	}
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {
	font-size: var(--base-font-size);
	scroll-behavior: smooth;
}
body,
select,
optgroup,
textarea {
	color: var(--color-text);
	background-color: var(--color-bg);
	font-size: var(--base-font-size);
	line-height: 1.6;
	font-weight: var(--fw-light);
}

body {
	font-family: var(--font-body);
	font-weight: var(--fw-light);
	font-style: normal;	
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: var(--fw-semibold);
	font-style: normal;
	margin: .5rem 0;
	margin-block-start: 0;
	line-height: 1.2;
	letter-spacing: -0.5px;
}
h1 {
	font-size: var(--wp--preset--font-size--x-large);
}
h2 {
	font-size: var(--wp--preset--font-size--large);
}
h3 {
	font-size: var(--wp--preset--font-size--medium);
}
h4, h5, h6 {
	font-size: var(--base-font-size);
}
strong, b {
	font-weight: 700;
}

p {
	margin: 0 auto 1.5em auto;
	color: var(--color-text-muted);
	font-size: 0.95rem;
	letter-spacing: 0.3px;
}

.text-small {
	font-size: 0.85rem;
	letter-spacing: 0.5px;
}

.text-muted {
	color: var(--color-text-muted);
}

dfn, cite, em, i {
	font-style: italic;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
	scroll-padding-top: calc(var(--header-height) + 30px);
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	overflow-x: hidden!important;
	max-width: 100vw;
}

hr {
	background-color: transparent;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	border-top: 2px var(--yellow) solid;

}

ul, ol {
	margin: 0 0 1em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 0;
}
figure.wp-block-image  {
/*	text-align: center*/
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}
figcaption {
	text-align: center;
	font-size: 1em;
	display: block !important;
}
sup{
	top:0;
	vertical-align: middle;
	font-size: .4em;
}
/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
.button a,
.wp-block-button__link {
	font-family: var(--font-heading);
	font-weight: var(--fw-semibold);
	font-size: 0.9rem;
	padding: 12px 30px;
	border-radius: var(--radius-btn);
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all var(--transition);
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border: 1px solid var(--color-accent);
	background-color: var(--color-accent);
	color: var(--white);
}

button:hover,
button:active,
button:focus,
input[type="button"]:hover,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus,
a.button:visited,
a.button:hover,
.button a:visited,
.button a:hover,
.wp-block-button__link:hover {
	background-color: var(--white);
	color: var(--black);
	text-decoration: none;
}

/* Outline Button Style */
.wp-block-button.is-style-outline > .wp-block-button__link,
.button-outline {
	background-color: transparent;
	padding: 12px 30px;
	font-size: 0.9rem;
	text-decoration: none;
	display: inline-block;
	border-radius: var(--radius-btn);
	transition: all var(--transition);
	border: 1px solid var(--color-accent);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.button-outline:hover {
	background-color: var(--color-accent);
	color: var(--white);
}


/* Icons */
.icon-container {
	font-size: 3rem;
	color: var(--color-accent);
	margin-bottom: 1.5rem;
	transition: transform var(--transition);
	text-align: center;
}



/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	text-decoration: none;
	color: var(--color-accent);
}
a:hover, a:active {
	color: var(--color-accent-light);
	transition: all .5s;
}
:where(p.has-text-color:not(.has-link-color)) a{
	color: inherit !important;
}
/*--------------------------------------------------------------
## Primary Header
--------------------------------------------------------------*/
#masthead,
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: linear-gradient(180deg, #091D36, #091d3630);
	z-index: 1000;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: all 0.3s ease;
	overflow: visible;
}

.main-header {
	position: relative;
	width: 100%;
	background-color: transparent;
	z-index: 1001;
}

/* Adjust for WordPress Admin Bar */
.admin-bar #masthead,
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	#masthead,
	.site-header {
		position: absolute;
	}

	.admin-bar #masthead,
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header.scrolled,
#masthead.scrolled {
	background-color: #091d36a1;
}

/* Header Content Container */
.site-header,
#masthead {
	padding: 0;
}

.main-header {
	padding: 0;
}

.site-header .row,
.main-header .row,
.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	padding: 20px 40px;
	margin: 0 !important;
	width: 100%;
	max-width: 100%;
	flex-wrap: nowrap;
}

.site-header .logo,
.main-header .logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}

.site-header .logo img,
.main-header .logo img,
.custom-logo {
	height: 70px;
	width: auto;
}

.logo-text {
	font-size: 1.1rem;
	font-weight: var(--fw-bold);
	color: var(--color-secondary);
	text-transform: uppercase;
	letter-spacing: 2px;
}


/* Mobile Menu Styles */
.mobile-toggle {
	padding: 15px;
	cursor: pointer;
	color: #ffffff;
	font-size: 1.5rem;
	border: none;
	background: none;
}

.mobile-toggle:focus {
	outline: none;
}

.mobile-menu {
	width: 100%;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	background: var(--color-surface);
	padding: 20px var(--x-margin);
	z-index: 9999;
	display: flex;
	flex-direction: column;
}
.mobile-menu .menu-container{
	border-top: 1px solid var(--color-border);
	flex-grow: 1;
	overflow-y: auto;
	padding-top: 30px;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.menu-primary-container {
	padding:0;
}
#primary-menu{
	list-style:none;	
	margin:0;
	display: flex;
	justify-content: end;
}
#primary-menu a:link, #primary-menu a:visited, #primary-menu a:active{
	position: relative;
	padding: 10px 20px;
	text-decoration:none;
	display:block;
	color:var(--white);
}
#primary-menu > li > a::after {
	content: "";
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 3px;
	height: 2px;
	background: var(--color-secondary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition);
}
#primary-menu > li:hover > a::after,
#primary-menu > li:focus-within > a::after {
	transform: scaleX(1);
}
#primary-menu a:hover{
	color: var(--color-accent);
	text-decoration: none;
	transition: all .5s;
}

#primary-menu > li{
	display: inline-block;
    position: relative;
    font-size: 16px;
}
#primary-menu > li:last-of-type a {
	background: var(--color-accent);
	margin-left: 20px;
	border-radius: var(--radius-btn);
}
#primary-menu > li:last-of-type a:after {
	display: none;
}

#primary-menu > li:last-of-type a:hover {
	opacity: 0.8;
	color: var(--black);
	background-color: var(--white);
}
#primary-menu > li .sub-menu {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #102743d5;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    min-width: 200px;
    z-index: 1000;
    text-align: left;
	text-transform: none;
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
#primary-menu > li:hover .sub-menu,
#primary-menu > li:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
#primary-menu > li .sub-menu > li a {
    font-size: 16px; 
	color: var(--white);
	padding: 8px 15px ;
}
#primary-menu > li:hover .sub-menu li a:hover {
    background: #173657;
    color: #d29a58;
}

#mobile-menu{
	list-style:none;	
	margin:0;
	padding: 0;
	width:100%;
	overflow: auto;
	display:block;
	font-size:18px;
	z-index: 1000;
    text-align: center;
}
#mobile-menu ul {
	margin: 0;
	list-style: none;
	padding: 0;
}
#mobile-menu > li {
	border-bottom: 1px solid var(--color-border);
}
#mobile-menu .children{
	list-style:none;
	margin: 0;
	padding-left: 0;
	display: none;
	border-left: 3px solid var(--color-accent);
}
#mobile-menu .children.hidden-submenu {
	display: none;
}
#mobile-menu .children li {
	border-bottom: 1px solid var(--color-border);
}
#mobile-menu > li .sub-menu{
	padding-left: 0;
	display: none;
	border-left: 3px solid var(--color-accent);
}
#mobile-menu > li .sub-menu li {
	border-bottom: 1px solid var(--color-border);
}
/* Show submenu when parent is expanded */
#mobile-menu > li.expanded > .sub-menu,
#mobile-menu > li.expanded > .children {
	display: block;
}
/* Remove current page highlighting from mobile menu */
#mobile-menu .current-menu-item > a,
#mobile-menu .current-page-ancestor > a {
	color: var(--white) !important;
	background: none !important;
}
#mobile-menu a:link, #mobile-menu a:visited, #mobile-menu a:active{
	padding:12px 10px;
	color:var(--white);	 
	text-decoration:none;
	display:block;
	text-align: center;
	transition: background-color 0.2s ease;
}
#mobile-menu a:hover {
	background-color: var(--color-bg-light);
}
/* Visual indicator for menu items with children */
#mobile-menu .menu-item-has-children > a::after {
	content: ' ▼';
	font-size: 10px;
	display: inline-block;
	margin-left: 8px;
	transition: transform 0.2s ease;
}
#mobile-menu > li.expanded > a::after {
	transform: rotate(180deg);
}
/* Styling for sub-menu items */
#mobile-menu .sub-menu a,
#mobile-menu .children a {
	padding: 10px 10px 10px 25px;
	font-size: 16px;
	text-align: left;
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
body:not(.wp-admin) .alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

body:not(.wp-admin) .alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

body:not(.wp-admin) .aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
body:not(.wp-admin) .alignwide {
	margin-left: calc( -75vw / 2 + 100% / 2 );
	margin-right: calc( -75vw / 2 + 100% / 2 );
	width: 75vw;
	max-width: 100vw;
}
body:not(.wp-admin)  .alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
	margin-right : calc( -100vw / 2 + 100% / 2 );
	max-width    : 100vw;
	width 		 : 100vw;
}
@media (max-width: 500px){
	body:not(.wp-admin) .alignleft,
	body:not(.wp-admin) .alignright {
		display: block;
		float: none !important;
		text-align: center;
	}
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,header
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#content {
	padding-top: var(--header-height);
	overflow: hidden !important;
	max-width: 100vw;
}
.page-template-fullheight-template #content{
	padding-top: 0;
}
#content .container{
	max-width: var(--content-width);
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}
.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.single-post .entry-title, .archive .entry-title {
	display: block;
}
.page-header{
	text-align: center;
	color: var(--white);
	padding-top: 100px;
	padding-bottom: 100px;
	background-size: cover;
	background-position: center;
	position: relative;
	z-index: 0;
}
.page-header .entry-title{
	position: relative;
	z-index: 2;
}
.page-header::after,
.background_video::after{
	position: absolute;
	content: '';
	bottom: 0;
	left: 0;
	width: 100%;
	height: 85%;
	pointer-events: none;
	background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 1)));
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	z-index: 1;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
object {
	max-width: 100%;
}

iframe {
	width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link img {
	width: 200px;
	height: auto;
}

/*--------------------------------------------------------------
## Featured Project Image Style (Custom Block Style)
--------------------------------------------------------------*/
.wp-block-image.is-style-featured-project {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	cursor: pointer;
	margin: 0 !important;
}
.category-editing  .wp-block-image.is-style-featured-project {
	aspect-ratio: 16/9;
}


.wp-block-image.is-style-featured-project::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: var(--gradient-overlay-light);
	opacity: 0;
	transition: opacity var(--transition);
	z-index: 10;
	pointer-events: none;
}

.wp-block-image.is-style-featured-project:hover::before {
	opacity: 1;
	background: var(--gradient-overlay-dark);
}

.wp-block-image.is-style-featured-project img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
	display: block;
	position: relative;
	z-index: 1;
}

.wp-block-image.is-style-featured-project:hover img {
	transform: scale(1.05);
}

.wp-block-image.is-style-featured-project figcaption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	color: var(--color-secondary);
	padding: 20px;
	margin: 0;
	font-size: 1rem;
	font-weight: var(--fw-semibold);
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0;
	transition: opacity var(--transition);
	text-align: left;
	z-index: 11;
}

.wp-block-image.is-style-featured-project:hover figcaption {
	opacity: 1;
}


/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.blocks-gallery-item {
	padding: 0px 16px 16px 0px;
}

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gal-container {
	margin-bottom: 20px;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.editor-styles-wrapper[data-widget-area-id="footer_area_one"],
.editor-styles-wrapper[data-widget-area-id="mobile_footer"],
.site-footer,
#site-footer {
	background-color: var(--color-primary);
	color: var(--color-text);
	font-size: 16px;
	padding: 30px;;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 60px;
	margin-bottom: 50px;
	max-width: var(--container-wide);
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--x-margin);
}

.footer-logo-section {
	flex-shrink: 0;
}

.footer-logo-section img,
.site-footer .custom-logo-link img {
	height: 40px;
	width: auto;
	margin-bottom: 1rem;
}

.footer-logo-section p,
.site-footer p {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px;
	margin-left: auto;
}

.footer-section h4,
.site-footer h4,
.site-footer h3,
.site-footer h2 {
	color: var(--color-text);
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.footer-section p,
.site-footer p {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.footer-links,
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links li,
.site-footer li {
	margin-bottom: 0.8rem;
}

.footer-links a,
.site-footer a,
.site-footer a:visited {
	color: var(--color-text-muted);
	text-decoration: none;
	transition: all var(--transition);
}

.footer-links a:hover,
.site-footer a:hover {
	color: var(--color-accent);
	padding-left: 5px;
}

.social-links {
	display: flex;
	gap: 15px;
}

.footer-bottom,
.site-info {
	border-top: 1px solid var(--color-border);
	padding-top: 30px;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin-top: 30px;
}

@media (max-width: 768px) {
	.footer-content {
		flex-direction: column;
		gap: 40px;
	}

	.footer-columns {
		grid-template-columns: 1fr;
		gap: 30px;
		margin-left: 0;
	}
}
/*--------------------------------------------------------------
# Custom Block Styles
--------------------------------------------------------------*/

@media (min-width:786px){
	.is-style-hover-reveal .wp-block-cover__inner-container,
	.is-style-hover-reveal .has-background-dim{
		opacity:0 !important;
		transition: all 200ms;
	}
	.is-style-hover-reveal:hover .wp-block-cover__inner-container{
		opacity:1 !important;
	}
	.is-style-hover-reveal:hover .has-background-dim{
		opacity: 0.8 !important;
	}
}

.is-style-blocked{
	position: relative;
	padding: 60px 0;
}
.is-style-blocked::before{
	content: '';
	display: block;
	border:2px solid var(--accent-1);
	border-right: none;
	position: absolute;
	left: -100px;
	top: 0;
	bottom: 0;
	width: 100px;
}
.is-style-blocked::after{
	content: '';
	display: block;
	border:2px solid var(--accent-1);
	border-left: none;
	position: absolute;
	right: -100px;
	top: 0;
	bottom: 0;
	width: 100px;	
}
@media (max-width:1200px){
	.is-style-blocked{
		padding: 30px 20px;
	}
	.is-style-blocked::before{
		left:  0;
	}
	.is-style-blocked::after{
		right: 0;
	}
}

.wp-block-columns:has(> .wp-block-column .is-style-highlight-card),
.wp-block-columns:has(> .wp-block-column.is-style-highlight-card){
	align-items: stretch;
}

.is-style-highlight-card{
	position: relative;
	z-index: 2;
	padding: 35px 30px;
	background: rgba(255,255,255,.035);
	border: 1px solid rgba(177,116,42,.28);
	transition: .3s ease;
}
.is-style-highlight-card:hover{
	transform: translateY(-7px);
	border-color: var(--color-secondary);
	background: rgba(177,116,42,.10);
}
.is-style-highlight-card i{
	display: block;
	color: var(--color-secondary);
	font-size: 2.3rem;
	margin-bottom: 25px;
}
.is-style-highlight-card h3{
	font-size: 1.25rem;
	margin-bottom: 12px;
}

/*--------------------------------------------------------------
# Portfolio Grid & Cards
--------------------------------------------------------------*/
.portfolio-grid {
	position: relative;
	z-index: 2;
}

.portfolio-card {
	position: relative;
	display: block;
	height: 500px;
	overflow: hidden;
	background: var(--color-surface, #102743);
	border: 1px solid rgba(177, 116, 42, 0.3);
	text-decoration: none;
	color: inherit;
	transition: border-color var(--transition, 0.3s ease), transform var(--transition, 0.3s ease);
}

.portfolio-card:hover {
	border-color: var(--color-secondary, #b1742a);
	color: inherit;
}

.portfolio-image {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.portfolio-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-image img {
	transform: scale(1.05);
}

.portfolio-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #102743, #091d36);
	position: relative;
}

.portfolio-image-placeholder::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 70% 25%, rgba(177, 116, 42, 0.38), transparent 35%);
}

.portfolio-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 35px;
	background: linear-gradient(
		180deg,
		transparent 30%,
		rgba(9, 29, 54, 0.15) 45%,
		rgba(9, 29, 54, 0.95) 100%
	);
	z-index: 1;
}

.portfolio-number {
	color: var(--color-secondary, #b1742a);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.portfolio-overlay h3,
.portfolio-overlay .portfolio-title {
	font-size: 1.6rem;
	font-weight: var(--fw-bold, 700);
	color: var(--color-text, #ffffff);
	margin-top: 0;
	margin-bottom: 8px;
	line-height: 1.25;
}

.portfolio-overlay p,
.portfolio-overlay .portfolio-excerpt {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--color-text-muted, #b8c1cc);
}

.portfolio-link {
	position: absolute;
	right: 30px;
	top: 30px;
	width: 45px;
	height: 45px;
	display: grid;
	place-items: center;
	color: #ffffff;
	background: rgba(9, 29, 54, 0.75);
	border: 1px solid rgba(177, 116, 42, 0.6);
	border-radius: 50%;
	transition: background var(--transition, 0.3s ease), border-color var(--transition, 0.3s ease), transform var(--transition, 0.3s ease), color var(--transition, 0.3s ease);
	z-index: 3;
}

.portfolio-card:hover .portfolio-link {
	background: var(--color-secondary, #b1742a);
	border-color: var(--color-secondary, #b1742a);
	color: #ffffff;
	transform: scale(1.05);
}

@media (max-width: 991px) {
	.portfolio-card {
		height: 430px;
	}

	.portfolio-overlay {
		padding: 25px;
	}

	.portfolio-overlay h3,
	.portfolio-overlay .portfolio-title {
		font-size: 1.35rem;
	}

	.portfolio-link {
		right: 20px;
		top: 20px;
		width: 40px;
		height: 40px;
	}
}






