/*
Theme Name: TLOD Foundation
Theme URI: https://tlodfoundation.org
Author: TLOD Foundation
Author URI: https://tlodfoundation.org
Description: A modern, customizable block theme for non-government organizations. Built with Gutenberg and Full Site Editing, allowing editors to customize every aspect of the site with ease.
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tlodfoundation
Tags: block-theme, full-site-editing, custom-colors, custom-menu, editor-style, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready, wide-blocks, block-patterns, block-styles, custom-background, custom-logo, custom-header, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, accessibility-ready

TLOD Foundation WordPress Theme, (C) 2024 TLOD Foundation
TLOD Foundation is distributed under the terms of the GNU GPL
*/

/* Base styles are handled by theme.json and block styles */

/* Custom font declarations */
@font-face {
	font-family: 'Letter Gothic Std';
	src: local('Letter Gothic Std Bold'), local('LetterGothicStd-Bold');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Apply fonts globally */
body {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	letter-spacing: normal;
	font-kerning: normal;
	color: #213c4c;
	background-color: #fafafa;
	overflow-x: clip;
}

html {
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Unbounded', sans-serif;
	color: #213c4c;
	font-weight: 400;
}

/* ============================================
   Site Structure
   ============================================ */
.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
}

/* Skip Link */
.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999999;
}

.skip-link:focus {
	left: 6px;
	top: 7px;
	text-decoration: none;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
	background-color: #f7ebe6;
	padding: 0;
	position: relative;
	z-index: 100;
	box-shadow: 0 4px 12px rgba(33, 60, 76, 0.15);
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	min-height: 120px;
	position: relative;
}

/* Site Branding */
.site-branding {
	display: flex;
	align-items: center;
}

.site-logo-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.site-logo-link:hover {
	opacity: 0.8;
}

.site-logo {
	height: 100px;
	width: auto;
	display: block;
}

.site-title {
	margin: 0;
	font-family: 'Unbounded', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
}

.site-title a {
	color: #213c4c;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.site-title a:hover {
	opacity: 0.8;
}

.site-description {
	margin: 0;
	font-size: 0.875rem;
	color: #213c4c;
	opacity: 0.8;
}

/* Main Navigation */
.main-navigation {
	position: relative;
}

/* WordPress Navigation Block Styles */
.wp-block-navigation,
.wp-block-navigation__responsive-container,
.wp-block-navigation ul,
.wp-block-navigation__container {
	font-size: 17px !important;
}

.wp-block-navigation a,
.wp-block-navigation__responsive-container a,
.wp-block-navigation-item__content,
.wp-block-navigation-link__content {
	font-size: 17px !important;
}

/* WordPress Navigation Block Submenu */
.wp-block-navigation__submenu-container,
.wp-block-navigation .wp-block-navigation__submenu-container {
	background-color: #ffffff !important;
	border: 1px solid rgba(33, 60, 76, 0.15) !important;
	border-radius: 6px !important;
	box-shadow: 0 8px 16px rgba(33, 60, 76, 0.15) !important;
	padding: 0.5rem 0 !important;
	min-width: 220px !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.wp-block-navigation__submenu-container .wp-block-navigation-link__content {
	font-size: 15px !important;
	font-weight: 400 !important;
	color: #213c4c !important;
	padding: 0.625rem 1.25rem !important;
	transition: all 0.2s ease !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation__submenu-container .wp-block-navigation-link__content:hover {
	background-color: #f7ebe6 !important;
	padding-left: 1.5rem !important;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 2px solid #213c4c;
	color: #213c4c;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
	transition: all 0.3s ease;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background-color: #213c4c;
	color: #BDA4AF;
}

.menu-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 24px;
}

.menu-toggle-icon span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: currentColor;
	transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.nav-menu li {
	position: relative;
}

.nav-menu a {
	display: block;
	color: #213c4c;
	text-decoration: none;
	padding: 0.75rem 1.25rem;
	position: relative;
	transition: color 0.3s ease;
	font-weight: 700;
	font-size: 17px !important;
	letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu a:focus {
	color: #BDA4AF;
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
	font-weight: 700;
	color: #BDA4AF;
}

/* Submenu */
.nav-menu .sub-menu,
.nav-menu .children {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #ffffff;
	border: 1px solid rgba(33, 60, 76, 0.15);
	border-radius: 6px;
	min-width: 220px;
	box-shadow: 0 8px 16px rgba(33, 60, 76, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 999;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:hover > .children,
.nav-menu li.focus > .sub-menu,
.nav-menu li.focus > .children {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-menu .sub-menu a,
.nav-menu .children a {
	padding: 0.625rem 1.25rem;
	white-space: nowrap;
	color: #213c4c;
	font-size: 15px !important;
	font-weight: 400;
	letter-spacing: 0.3px;
	transition: all 0.2s ease;
	display: block;
	border-bottom: 1px solid rgba(33, 60, 76, 0.05);
}

.nav-menu .sub-menu li:last-child > a,
.nav-menu .children li:last-child > a {
	border-bottom: none;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus,
.nav-menu .children a:hover,
.nav-menu .children a:focus {
	background-color: #f7ebe6;
	color: #213c4c;
	padding-left: 1.5rem;
}

.nav-menu .sub-menu .current-menu-item > a,
.nav-menu .children .current-menu-item > a {
	background-color: #f7ebe6;
	color: #213c4c;
	font-weight: 500;
}

/* Mobile Navigation */
@media (max-width: 767px) {
	.header-container {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		min-height: 80px;
		padding: 1rem 1.5rem;
		position: relative;
	}

	.site-branding {
		flex: 0 0 auto;
	}

	.site-logo {
		height: 60px;
	}

	.site-header {
		position: relative;
		overflow: visible;
	}

	.header-container {
		overflow: visible;
	}

	.main-navigation {
		flex: 0 0 auto;
		position: static;
	}

	.menu-toggle {
		display: flex;
		position: relative;
		z-index: 10;
	}

	.nav-menu {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		margin-top: calc(85px + 3rem);
		background-color: #ffffff;
		border-bottom: 2px solid #213c4c;
		flex-direction: column;
		align-items: stretch;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		box-shadow: 0 4px 12px rgba(33, 60, 76, 0.15);
		z-index: 998;
		box-sizing: border-box;
	}

	.nav-menu.toggled {
		max-height: 1000px;
		opacity: 1;
		visibility: visible;
	}

	.nav-menu li {
		width: 100%;
		border-bottom: 1px solid rgba(33, 60, 76, 0.1);
		margin: 0;
	}

	.nav-menu li:last-child {
		border-bottom: none;
	}

	.nav-menu a {
		width: 100%;
		padding: 1rem 1.5rem;
		text-align: left;
		font-size: 17px !important;
		color: #213c4c;
	}

	.nav-menu a:hover,
	.nav-menu a:focus {
		background-color: #f7ebe6;
		color: #213c4c;
	}

	.nav-menu .sub-menu,
	.nav-menu .children {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		border-top: 1px solid rgba(33, 60, 76, 0.1);
		margin: 0;
		padding-left: 0;
		background-color: #fafafa;
	}

	.nav-menu .sub-menu a,
	.nav-menu .children a {
		padding-left: 2.5rem;
		font-size: 15px !important;
	}
}

/* Desktop Navigation - Centered */
@media (min-width: 1025px) {
	.header-container {
		justify-content: center;
	}
	
	.site-branding {
		position: absolute;
		left: 1.5rem;
	}
	
	.main-navigation {
		margin: 0 auto;
	}
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
	.nav-menu {
		gap: 0.25rem;
	}

	.nav-menu a {
		padding: 0.5rem 0.75rem;
		font-size: 17px !important;
	}
	
	.header-container {
		justify-content: space-between;
	}
	
	.site-branding {
		position: static;
	}
}

/* ============================================
   Site Structure
   ============================================ */
.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
}

/* Skip Link */
.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999999;
}

.skip-link:focus {
	left: 6px;
	top: 7px;
	text-decoration: none;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
	background-color: #f7ebe6;
	padding: 0;
	margin-top: 3rem;
	box-shadow: 0 -4px 12px rgba(33, 60, 76, 0.15);
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.5rem 0.5rem;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
	margin-bottom: 1rem;
}

.footer-logo-column {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-logo-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
	opacity: 0.8;
}

.footer-logo {
	height: 80px;
	width: auto;
	display: block;
}

.footer-column h3.footer-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	margin: 0 0 1.25rem;
	font-weight: 500;
	text-align: right;
	letter-spacing: 0.5px;
	text-transform: capitalize;
	line-height: 1.4;
}

.footer-description {
	color: #213c4c;
	margin: 0;
	opacity: 0.8;
	line-height: 1.6;
}

/* Social Icons */
.footer-social-column {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-end;
	text-align: right;
}

.social-icons {
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #213c4c;
	text-decoration: none;
	border-radius: 50%;
	transition: all 0.3s ease;
	background-color: transparent;
}

.social-icon:hover {
	color: #BDA4AF;
	transform: translateY(-2px);
}

.social-icon svg {
	width: 24px;
	height: 24px;
}

/* Contact Info - Centered */
.footer-contact-info {
	text-align: center;
	padding: 0.25rem 0;
	margin-top: -0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.footer-contact-link {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.9375rem;
	color: #213c4c;
	text-decoration: none;
	transition: all 0.3s ease;
	opacity: 0.8;
}

.footer-contact-link:hover {
	color: #BDA4AF;
	opacity: 1;
}

.footer-contact-separator {
	color: #213c4c;
	opacity: 0.4;
	margin: 0 0.5rem;
}

.site-info {
	text-align: center;
	padding-top: 0.75rem;
	color: #213c4c;
	font-size: 0.875rem;
}

.site-info p {
	margin: 0;
}

/* Footer Responsive */
@media (max-width: 767px) {
	.footer-widgets {
		gap: 2rem;
	}

	.footer-logo {
		height: 60px;
	}

	.footer-social-column {
		align-items: center;
		text-align: center;
	}

	.footer-contact-info {
		flex-direction: column;
		gap: 0.5rem;
	}

	.footer-contact-separator {
		display: none;
	}

	.footer-column h3.footer-title {
		text-align: center;
	}

	.social-icons {
		justify-content: center;
	}
}

/* ============================================
   Content Area
   ============================================ */
.site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
}

.entry-header {
	margin-bottom: 1.5rem;
}

.entry-title {
	font-family: 'Unbounded', sans-serif;
	color: #213c4c;
	margin: 0 0 0.5rem;
	line-height: 1.2;
}

.entry-title a {
	color: #213c4c;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.entry-title a:hover {
	opacity: 0.8;
}

.entry-meta {
	color: #213c4c;
	opacity: 0.7;
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

.entry-content {
	color: #213c4c;
	line-height: 1.8;
}

.entry-content p {
	margin-bottom: 1.5rem;
}

.entry-content a {
	color: #213c4c;
	text-decoration: underline;
}

.entry-content a:hover {
	opacity: 0.8;
}

.post-thumbnail {
	margin-bottom: 1.5rem;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-footer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(33, 60, 76, 0.1);
}

.read-more {
	display: inline-block;
	color: #213c4c;
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border: 2px solid #213c4c;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.read-more:hover {
	background-color: #213c4c;
	color: #fad2e4;
}

/* Post Navigation */
.post-navigation {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(33, 60, 76, 0.1);
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.nav-previous,
.nav-next {
	flex: 1;
}

.nav-subtitle {
	display: block;
	font-size: 0.875rem;
	color: #213c4c;
	opacity: 0.7;
	margin-bottom: 0.25rem;
}

.nav-title {
	display: block;
	color: #213c4c;
	text-decoration: none;
	font-weight: 500;
}

.nav-title:hover {
	opacity: 0.8;
}

/* Page Links */
.page-links {
	margin: 2.5rem 0;
	padding: 2rem 0;
	border-top: 1px solid rgba(33, 60, 76, 0.1);
	border-bottom: 1px solid rgba(33, 60, 76, 0.1);
	text-align: center;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.page-links > span {
	font-weight: 600;
	color: #213c4c;
	margin-right: 0.5rem;
}

.page-links a,
.page-links > span {
	display: inline-block;
	color: #213c4c;
	text-decoration: none;
	padding: 0.5rem 0.75rem;
	margin: 0 0.25rem;
	border: 2px solid rgba(33, 60, 76, 0.2);
	border-radius: 4px;
	transition: all 0.3s ease;
	min-width: 2.5rem;
	text-align: center;
}

.page-links a:hover {
	background-color: #213c4c;
	color: #ffffff;
	border-color: #213c4c;
}

.page-links > .page-links-title {
	border: none;
	padding: 0.5rem 0.75rem 0.5rem 0;
	margin-right: 0.75rem;
	font-weight: 600;
}

body.single-post .page-links,
body.single .page-links {
	margin: 2rem 0;
	padding: 1.5rem 0;
}

/* No Results */
.no-results {
	text-align: center;
	padding: 3rem 1rem;
}

.page-header {
	margin-bottom: 2rem;
}

.page-title {
	font-family: 'Unbounded', sans-serif;
	color: #213c4c;
	margin: 0;
}

.page-content {
	color: #213c4c;
	line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 767px) {
	.site-main {
		padding: 1.5rem 1rem;
	}

	.nav-links {
		flex-direction: column;
	}

	.nav-previous,
	.nav-next {
		width: 100%;
	}
}

/* ============================================
   Blog Page Styles
   ============================================ */

/* Blog Header */
.blog-header {
	background: linear-gradient(135deg, #f7ebe6 0%, #ffffff 100%);
	padding: 4rem 0 3rem;
	margin: -2rem -1.5rem 3rem;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	border-bottom: 1px solid rgba(33, 60, 76, 0.1);
	text-align: center;
}

.blog-header-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	text-align: center;
}

.blog-header .page-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 3rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0 auto 1rem;
	line-height: 1.2;
	text-align: center;
	display: block;
}

.blog-header .page-description {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	opacity: 0.8;
	margin: 0 auto;
	line-height: 1.6;
	max-width: 700px;
	text-align: center;
	display: block;
}

/* Blog Posts Container */
.blog-posts-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2.5rem;
	margin-bottom: 3rem;
}

/* Post Article Styles for Blog Listing */
.site-main article:not(.single-post-article) {
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(33, 60, 76, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.site-main article:not(.single-post-article):hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(33, 60, 76, 0.15);
}

/* Post Thumbnail on Blog Listing - Archive Cards Only */
.site-main article:not(.single-post-article) .post-thumbnail {
	margin: 0;
	width: 100%;
	height: 250px;
	overflow: hidden;
	background-color: #f7ebe6;
	position: relative;
}

.site-main article:not(.single-post-article) .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.site-main article:not(.single-post-article):hover .post-thumbnail img {
	transform: scale(1.05);
}

.site-main article:not(.single-post-article) .post-thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

/* Entry Header on Blog Listing */
.site-main article .entry-header {
	padding: 2rem 2rem 1rem;
	margin: 0;
}

.site-main article .entry-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.site-main article .entry-title a {
	color: #213c4c;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
}

.site-main article .entry-title a:hover {
	color: #BDA4AF;
}

/* Entry Meta on Blog Listing */
.site-main article .entry-meta {
	padding: 0 2rem;
	margin: 0 0 1rem;
	color: #213c4c;
	opacity: 0.7;
	font-size: 0.875rem;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.site-main article .entry-meta .posted-on {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-main article .entry-meta .posted-on::before {
	content: '📅';
	font-size: 0.875rem;
}

/* Entry Content on Blog Listing */
.site-main article .entry-content {
	padding: 0 2rem;
	margin: 0 0 1.5rem;
	flex: 1;
}

/* Override for single post articles */
.site-main article.single-post-article .entry-content {
	padding: 0;
	margin: 0;
	flex: none;
}

.site-main article .entry-content p {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: #213c4c;
	line-height: 1.7;
	margin: 0 0 1rem;
}

.site-main article .entry-content p:last-child {
	margin-bottom: 0;
}

/* Entry Footer on Blog Listing */
.site-main article .entry-footer {
	padding: 0 2rem 2rem;
	margin: 0;
	border: none;
}

.site-main article .read-more {
	display: inline-block;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #213c4c;
	text-decoration: none;
	padding: 0.75rem 1.5rem;
	border: 2px solid #213c4c;
	border-radius: 4px;
	transition: all 0.3s ease;
	background-color: transparent;
}

.site-main article .read-more:hover {
	background-color: #213c4c;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(33, 60, 76, 0.2);
}

/* Posts Navigation (Pagination) */
.posts-navigation {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(33, 60, 76, 0.1);
}

.posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.posts-navigation .nav-previous,
.posts-navigation .nav-next {
	flex: 1;
	min-width: 200px;
}

.posts-navigation .nav-previous a,
.posts-navigation .nav-next a {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: #213c4c;
	text-decoration: none;
	padding: 1rem 1.5rem;
	border: 2px solid #213c4c;
	border-radius: 4px;
	transition: all 0.3s ease;
	background-color: transparent;
}

.posts-navigation .nav-previous a:hover,
.posts-navigation .nav-next a:hover {
	background-color: #213c4c;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(33, 60, 76, 0.2);
}

.posts-navigation .nav-previous a::before {
	content: '←';
	font-size: 1.25rem;
}

.posts-navigation .nav-next a::after {
	content: '→';
	font-size: 1.25rem;
}

.posts-navigation .nav-subtitle {
	display: block;
	font-size: 0.875rem;
	color: #213c4c;
	opacity: 0.7;
	margin-bottom: 0.25rem;
	font-weight: 400;
}

.posts-navigation .nav-title {
	display: block;
	color: #213c4c;
	text-decoration: none;
	font-weight: 600;
}

/* ============================================
   Single Post Page Styles
   ============================================ */

body.single-post .site-main,
body.single .site-main {
	max-width: 100%;
	padding: 0;
	background-color: #fafafa;
}

body.single-post article,
body.single article {
	background-color: transparent;
	padding: 0;
	margin: 0;
}

/* Hero Image - Fullwidth (Single Post Only) */
body.single-post .single-post-hero,
body.single .single-post-hero,
body.single-post .post-thumbnail.single-post-hero,
body.single .post-thumbnail.single-post-hero {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow: hidden;
	background-color: #f7ebe6;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
	height: 70vh;
	min-height: 500px;
	max-height: 800px;
}

body.single-post .single-post-hero img,
body.single .single-post-hero img,
body.single-post .post-thumbnail.single-post-hero img,
body.single .post-thumbnail.single-post-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	transition: none !important;
	transform: none !important;
}

/* Overlay/Tint */
body.single-post .single-post-hero-overlay,
body.single .single-post-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(33, 60, 76, 0.4) 0%, rgba(33, 60, 76, 0.7) 100%);
	z-index: 1;
}

/* Entry Header - Positioned over hero image */
body.single-post .single-post-hero .single-post-header,
body.single .single-post-hero .single-post-header {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 900px;
	padding: 0 2rem;
	z-index: 2;
	text-align: center;
	background: transparent;
	border: none;
	margin: 0;
}

body.single-post .single-post-hero .entry-header-content,
body.single .single-post-hero .entry-header-content {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

/* Entry Header - Fallback when no image */
body.single-post .single-post-header:not(.single-post-hero .single-post-header),
body.single .single-post-header:not(.single-post-hero .single-post-header) {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 4rem 0;
	background-color: #ffffff;
	border-bottom: 1px solid rgba(33, 60, 76, 0.1);
}

body.single-post .entry-header-content:not(.single-post-hero .entry-header-content),
body.single .entry-header-content:not(.single-post-hero .entry-header-content) {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Prevent any hover effects on single post hero */
body.single-post .single-post-hero:hover img,
body.single .single-post-hero:hover img,
body.single-post article:hover .single-post-hero img,
body.single article:hover .single-post-hero img {
	transform: none !important;
	scale: 1 !important;
	transition: none !important;
}

body.single-post .entry-title,
body.single .entry-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 2.75rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0 0 1.5rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-align: left;
	max-width: 100%;
}

/* Title on hero image - white text */
body.single-post .single-post-hero .entry-title,
body.single .single-post-hero .entry-title {
	color: #ffffff;
	text-align: center;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	margin-bottom: 1.5rem;
}

body.single-post .entry-meta,
body.single .entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.9375rem;
	color: #213c4c;
	opacity: 0.8;
	justify-content: center;
}

/* Meta on hero image - white text */
body.single-post .single-post-hero .entry-meta,
body.single .single-post-hero .entry-meta {
	color: #ffffff;
	opacity: 0.95;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

body.single-post .entry-meta .posted-on,
body.single .entry-meta .posted-on {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

body.single-post .entry-meta .posted-on time,
body.single .entry-meta .posted-on time {
	color: #213c4c;
}

/* Date on hero image - white and readable */
body.single-post .single-post-hero .entry-meta .posted-on,
body.single .single-post-hero .entry-meta .posted-on {
	color: #ffffff;
}

body.single-post .single-post-hero .entry-meta .posted-on time,
body.single .single-post-hero .entry-meta .posted-on time {
	color: #ffffff;
	font-size: 1rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	font-weight: 500;
}

body.single-post .entry-meta .cat-links,
body.single .entry-meta .cat-links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

body.single-post .entry-meta .cat-links a,
body.single .entry-meta .cat-links a {
	color: #BDA4AF;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

body.single-post .entry-meta .cat-links a:hover,
body.single .entry-meta .cat-links a:hover {
	color: #213c4c;
}

/* Category links on hero - white text */
body.single-post .single-post-hero .entry-meta .cat-links a,
body.single .single-post-hero .entry-meta .cat-links a {
	color: #ffffff;
}

body.single-post .single-post-hero .entry-meta .cat-links a:hover,
body.single .single-post-hero .entry-meta .cat-links a:hover {
	color: #f7ebe6;
	opacity: 0.9;
}

body.single-post .entry-meta .byline,
body.single .entry-meta .byline {
	display: flex;
	align-items: center;
}

body.single-post .entry-meta .author-name,
body.single .entry-meta .author-name {
	font-weight: 600;
	color: #213c4c;
}

/* Author name on hero - white text */
body.single-post .single-post-hero .entry-meta .author-name,
body.single .single-post-hero .entry-meta .author-name {
	color: #ffffff;
}

/* Content Area - Centered with proper width */
/* Wrapper for single post content */
.site-main article.single-post-article .single-post-content-wrapper,
body.single-post .single-post-content-wrapper,
body.single .single-post-content-wrapper {
	max-width: 1200px;
	margin: 4rem auto 0;
	padding: 0;
	background-color: #ffffff;
	width: 100%;
	box-sizing: border-box;
	box-shadow: 0 8px 30px rgba(33, 60, 76, 0.15);
	border-radius: 8px;
	overflow: hidden;
}

/* Override general article styles for single posts */
.site-main article.single-post-article .entry-content.single-post-content,
.site-main article.single-post-article .single-post-content-wrapper .entry-content,
body.single-post .site-main article .entry-content.single-post-content,
body.single .site-main article .entry-content.single-post-content,
body.single-post article .entry-content.single-post-content,
body.single article .entry-content.single-post-content,
body.single-post .single-post-content,
body.single .single-post-content {
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 4rem 3rem !important;
	background-color: transparent !important;
	box-sizing: border-box;
	display: block;
	width: 100%;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
	font-size: 1.125rem !important;
	color: #213c4c !important;
	line-height: 1.8 !important;
	text-align: left !important;
}

/* Ensure content wrapper contains everything */
body.single-post .single-post-content *,
body.single .single-post-content * {
	max-width: 100%;
	box-sizing: border-box;
}

/* Ensure WordPress blocks and content are properly contained */
body.single-post .single-post-content .wp-block-group,
body.single .single-post-content .wp-block-group,
body.single-post .single-post-content .wp-block-columns,
body.single .single-post-content .wp-block-columns,
body.single-post .single-post-content .wp-block-cover,
body.single .single-post-content .wp-block-cover {
	max-width: 100%;
}

/* Ensure iframes and embeds are responsive */
body.single-post .single-post-content iframe,
body.single .single-post-content iframe,
body.single-post .single-post-content embed,
body.single .single-post-content embed,
body.single-post .single-post-content object,
body.single .single-post-content object,
body.single-post .single-post-content video,
body.single .single-post-content video {
	max-width: 100%;
	height: auto;
}

body.single-post .entry-content p,
body.single .entry-content p {
	margin-bottom: 1.5rem;
	font-size: 1.125rem;
	line-height: 1.8;
	color: #213c4c;
	text-align: left;
}

body.single-post .entry-content p:last-child,
body.single .entry-content p:last-child {
	margin-bottom: 0;
}

body.single-post .entry-content h2,
body.single .entry-content h2 {
	font-family: 'Unbounded', sans-serif;
	font-size: 2rem;
	font-weight: 600;
	color: #213c4c;
	margin: 2.5rem 0 1rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-align: left;
}

body.single-post .entry-content h2:first-of-type,
body.single .entry-content h2:first-of-type {
	margin-top: 2rem;
}

body.single-post .entry-content h3,
body.single .entry-content h3 {
	font-family: 'Unbounded', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: #213c4c;
	margin: 2rem 0 0.75rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-align: left;
}

body.single-post .entry-content h4,
body.single .entry-content h4 {
	font-family: 'Unbounded', sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: #213c4c;
	margin: 2rem 0 0.75rem;
	line-height: 1.3;
	text-align: left;
}

body.single-post .entry-content a,
body.single .entry-content a {
	color: #213c4c;
	text-decoration: underline;
	text-decoration-color: #BDA4AF;
	text-underline-offset: 3px;
	transition: all 0.3s ease;
	font-weight: 500;
}

body.single-post .entry-content a:hover,
body.single .entry-content a:hover {
	color: #BDA4AF;
	text-decoration-color: #213c4c;
}

body.single-post .entry-content a:visited,
body.single .entry-content a:visited {
	color: #213c4c;
}

body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single .entry-content ul,
body.single .entry-content ol {
	margin: 2rem 0;
	padding-left: 2rem;
}

body.single-post .entry-content ul,
body.single .entry-content ul {
	list-style-type: disc;
}

body.single-post .entry-content ol,
body.single .entry-content ol {
	list-style-type: decimal;
}

body.single-post .entry-content li,
body.single .entry-content li {
	margin-bottom: 0.75rem;
	line-height: 1.7;
}

body.single-post .entry-content li ul,
body.single-post .entry-content li ol,
body.single .entry-content li ul,
body.single .entry-content li ol {
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
}

body.single-post .entry-content blockquote,
body.single .entry-content blockquote {
	border-left: 4px solid #BDA4AF;
	padding: 1.5rem 1.5rem 1.5rem 2rem;
	margin: 2rem 0;
	font-style: italic;
	color: #213c4c;
	background-color: #fafafa;
	border-radius: 0 8px 8px 0;
	font-size: 1.0625rem;
	line-height: 1.7;
}

body.single-post .entry-content blockquote p:last-child,
body.single .entry-content blockquote p:last-child {
	margin-bottom: 0;
}

body.single-post .entry-content img,
body.single .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 2rem auto;
	display: block;
}

body.single-post .entry-content .wp-caption,
body.single .entry-content .wp-caption {
	max-width: 100%;
	margin: 2rem 0;
}

body.single-post .entry-content .wp-caption-text,
body.single .entry-content .wp-caption-text {
	font-size: 0.875rem;
	color: #213c4c;
	opacity: 0.7;
	margin-top: 0.5rem;
	text-align: center;
	font-style: italic;
}

body.single-post .entry-content code,
body.single .entry-content code {
	background-color: #f7ebe6;
	padding: 0.125rem 0.375rem;
	border-radius: 4px;
	font-size: 0.9375rem;
	font-family: 'Courier New', monospace;
}

body.single-post .entry-content pre,
body.single .entry-content pre {
	background-color: #f7ebe6;
	padding: 1.5rem;
	border-radius: 8px;
	overflow-x: auto;
	margin: 2rem 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

body.single-post .entry-content pre code,
body.single .entry-content pre code {
	background-color: transparent;
	padding: 0;
}

body.single-post .entry-content table,
body.single .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
}

body.single-post .entry-content table th,
body.single-post .entry-content table td,
body.single .entry-content table th,
body.single .entry-content table td {
	padding: 0.75rem;
	border: 1px solid rgba(33, 60, 76, 0.1);
	text-align: left;
}

body.single-post .entry-content table th,
body.single .entry-content table th {
	background-color: #f7ebe6;
	font-weight: 600;
}

/* Tags section - properly contained */
body.single-post .single-post-tags,
body.single .single-post-tags {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 3rem 4rem;
	background-color: #ffffff;
	width: 100%;
	box-sizing: border-box;
	border-top: 1px solid rgba(33, 60, 76, 0.1);
}

body.single-post .entry-tags .tags-label,
body.single .entry-tags .tags-label {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #213c4c;
	margin-right: 0.75rem;
}

body.single-post .entry-tags a,
body.single .entry-tags a {
	display: inline-block;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.875rem;
	color: #213c4c;
	text-decoration: none;
	padding: 0.375rem 0.75rem;
	margin: 0.25rem 0.5rem 0.25rem 0;
	background-color: #f7ebe6;
	border-radius: 4px;
	transition: all 0.3s ease;
}

body.single-post .entry-tags a:hover,
body.single .entry-tags a:hover {
	background-color: #BDA4AF;
	color: #ffffff;
	transform: translateY(-2px);
}

/* No Posts Message */
.no-results {
	text-align: center;
	padding: 4rem 2rem;
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(33, 60, 76, 0.1);
}

.no-results .page-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 2rem;
	color: #213c4c;
	margin-bottom: 1rem;
}

.no-results .page-content {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	opacity: 0.8;
}

/* ============================================
   404 Error Page
   ============================================ */

.error-404 {
	padding: 4rem 1.5rem;
	background-color: #fafafa;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.error-404-container {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	background-color: #ffffff;
	padding: 4rem 3rem;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(33, 60, 76, 0.1);
}

.error-404 .page-header {
	margin-bottom: 2rem;
}

.error-404 .page-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 6rem;
	font-weight: 700;
	color: #BDA4AF;
	margin: 0 0 1rem;
	line-height: 1;
}

.error-404 .error-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 2rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0 0 2rem;
	line-height: 1.3;
}

.error-404 .page-content {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	line-height: 1.8;
}

.error-404 .page-content p {
	margin-bottom: 1.5rem;
}

.error-404 .page-content a {
	color: #213c4c;
	text-decoration: underline;
	text-decoration-color: #BDA4AF;
	transition: all 0.3s ease;
}

.error-404 .page-content a:hover {
	color: #BDA4AF;
	text-decoration-color: #213c4c;
}

.error-404-actions {
	margin: 2.5rem 0;
}

.error-404-button {
	display: inline-block;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
	background-color: #213c4c;
	padding: 1rem 2rem;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.error-404-button:hover {
	background-color: #BDA4AF;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(33, 60, 76, 0.2);
}

.error-404 .search-form {
	margin-top: 2.5rem;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767px) {
	.error-404 {
		padding: 3rem 1.5rem;
		min-height: 50vh;
	}

	.error-404-container {
		padding: 3rem 2rem;
	}

	.error-404 .page-title {
		font-size: 4rem;
	}

	.error-404 .error-title {
		font-size: 1.5rem;
	}

	.error-404 .page-content {
		font-size: 1rem;
	}

	.error-404-button {
		padding: 0.875rem 1.5rem;
		font-size: 0.9375rem;
	}
}

/* Blog Responsive Styles */
@media (max-width: 1024px) {
	.blog-posts-container {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: 2rem;
	}
}

@media (max-width: 767px) {
	.blog-header {
		padding: 3rem 0 2rem;
		margin: -1.5rem -1rem 2rem;
		width: 100vw;
		left: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
	}

	.blog-header-content {
		padding: 0 1.5rem;
	}

	.blog-header .page-title {
		font-size: 2rem;
		text-align: center;
	}

	.blog-header .page-description {
		font-size: 1rem;
	}

	.blog-posts-container {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.site-main article:not(.single-post-article) .post-thumbnail {
		height: 200px;
	}

	.site-main article .entry-header,
	.site-main article .entry-content,
	.site-main article .entry-meta,
	.site-main article .entry-footer {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.site-main article .entry-header {
		padding-top: 1.5rem;
	}

	.site-main article .entry-footer {
		padding-bottom: 1.5rem;
	}

	body.single-post .site-main,
	body.single .site-main {
		padding: 0;
	}

	body.single-post .single-post-hero,
	body.single .single-post-hero,
	body.single-post .post-thumbnail.single-post-hero,
	body.single .post-thumbnail.single-post-hero {
		height: 50vh;
		min-height: 400px;
		max-height: 600px;
	}

	body.single-post .single-post-hero .single-post-header,
	body.single .single-post-hero .single-post-header {
		padding: 0 1.5rem;
	}

	body.single-post .single-post-hero .entry-title,
	body.single .single-post-hero .entry-title {
		font-size: 2rem;
		margin-bottom: 1rem;
	}

	body.single-post .single-post-hero .entry-meta,
	body.single .single-post-hero .entry-meta {
		flex-direction: column;
		gap: 0.75rem;
		font-size: 0.875rem;
	}

	body.single-post .single-post-header,
	body.single .single-post-header {
		padding: 3rem 0;
	}

	body.single-post .entry-header-content,
	body.single .entry-header-content {
		padding: 0 1.5rem;
		max-width: 100%;
	}

	body.single-post .entry-title,
	body.single .entry-title {
		font-size: 1.75rem;
		margin-bottom: 1rem;
		line-height: 1.3;
	}

	body.single-post .entry-meta,
	body.single .entry-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
		font-size: 0.875rem;
	}

	.site-main article.single-post-article .single-post-content-wrapper,
	body.single-post .single-post-content-wrapper,
	body.single .single-post-content-wrapper {
		max-width: 100%;
		padding: 0;
		margin: 2rem 1rem 0;
		box-shadow: 0 4px 20px rgba(33, 60, 76, 0.12);
		border-radius: 4px;
	}

	body.single-post .single-post-content,
	body.single .single-post-content,
	.site-main article.single-post-article .entry-content.single-post-content {
		padding: 3rem 1.5rem !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		text-align: left !important;
	}

	body.single-post .single-post-tags,
	body.single .single-post-tags {
		max-width: 100%;
		padding: 2rem 1.5rem 3rem;
		margin-left: 1rem;
		margin-right: 1rem;
	}

	body.single-post .entry-content,
	body.single .entry-content {
		font-size: 1rem;
		line-height: 1.75;
	}

	body.single-post .entry-content h2,
	body.single .entry-content h2 {
		font-size: 1.5rem;
		margin: 2rem 0 0.75rem;
	}

	body.single-post .entry-content h2:first-of-type,
	body.single .entry-content h2:first-of-type {
		margin-top: 1.5rem;
	}

	body.single-post .entry-content h3,
	body.single .entry-content h3 {
		font-size: 1.25rem;
		margin: 1.5rem 0 0.75rem;
	}

	body.single-post .entry-content h4,
	body.single .entry-content h4 {
		font-size: 1.125rem;
		margin: 1.25rem 0 0.5rem;
	}

	body.single-post .entry-content blockquote,
	body.single .entry-content blockquote {
		padding: 1.25rem 1.25rem 1.25rem 1.5rem;
		margin: 1.5rem 0;
		font-size: 1rem;
	}

	body.single-post .single-post-tags,
	body.single .single-post-tags {
		padding: 2rem 1.5rem 4rem;
		max-width: 100%;
	}

	.posts-navigation .nav-links {
		flex-direction: column;
	}

	.posts-navigation .nav-previous,
	.posts-navigation .nav-next {
		width: 100%;
	}

	.posts-navigation .nav-previous a,
	.posts-navigation .nav-next a {
		width: 100%;
		justify-content: center;
	}
}

/* ============================================
   Hero Carousel
   ============================================ */

.site-main-homepage {
	padding: 0;
	max-width: 100%;
}

.hero-carousel-section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	overflow: visible;
	background-color: #fafafa;
	display: flex;
	flex-direction: column;
}

.hero-intro {
	text-align: center;
	padding: 3rem 1.5rem 2rem;
	background-color: #ffffff;
	border-bottom: 1px solid rgba(33, 60, 76, 0.1);
	position: relative;
	z-index: 1;
}

.hero-label {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.75rem;
	color: #213c4c;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin: 0 0 0.75rem;
	opacity: 0.7;
	font-weight: 600;
}

.hero-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 2rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0 0 1rem;
	line-height: 1.2;
}

.hero-tagline {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #213c4c;
	letter-spacing: 2px;
	margin: 0 0 1.5rem;
}

.hero-description {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: #213c4c;
	line-height: 1.6;
	margin: 0;
	font-weight: 400;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.hero-carousel-wrapper-inner {
	position: relative;
	width: 100%;
	height: calc(100vh - 240px);
	min-height: 700px;
}

.hero-carousel {
	position: relative;
	width: 100%;
	height: 100%;
	margin-top: 0;
}

.hero-carousel-section {
	position: relative;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
	opacity: 1;
	z-index: 1;
}

.slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.slide-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
	display: block;
	filter: brightness(0.85);
}

.carousel-slide.slide-2 .slide-bg img,
.carousel-slide.slide-3 .slide-bg img {
	object-position: 50% 35%;
}

.slide-bg::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(33, 60, 76, 0.4) 0%, rgba(33, 60, 76, 0.7) 100%);
}

.slide-content {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem;
}

.slide-text {
	max-width: 900px;
	text-align: center;
	color: #ffffff;
}

.slide-emojis {
	font-size: 3.5rem;
	display: block;
	margin-bottom: 2rem;
	line-height: 1;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.slide-text p {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.5rem;
	color: #ffffff;
	line-height: 1.7;
	margin: 0;
	font-weight: 400;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Carousel Navigation */
.carousel-nav {
	position: absolute;
	background-color: #ffffff;
	border: none;
	color: #213c4c;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	top: 50%;
	transform: translateY(-50%);
}

.carousel-nav:hover,
.carousel-nav:focus {
	background-color: #213c4c;
	color: #ffffff;
	transform: translateY(-50%) scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.carousel-nav:active {
	transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
	left: 2rem;
}

.carousel-next {
	right: 2rem;
}

.carousel-nav svg {
	width: 20px;
	height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 10;
}

.carousel-indicators .indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background-color: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	padding: 0;
	transition: all 0.3s ease;
}

.carousel-indicators .indicator:hover {
	background-color: rgba(255, 255, 255, 0.7);
	transform: scale(1.3);
}

.carousel-indicators .indicator.active {
	background-color: #ffffff;
	width: 24px;
	border-radius: 4px;
	transform: scale(1);
}

/* Carousel Responsive */
@media (max-width: 767px) {
	.hero-carousel-section {
		min-height: auto;
		overflow-x: hidden;
		width: 100%;
		max-width: 100%;
	}

	.hero-intro {
		padding: 1.5rem 0.75rem 1rem;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}

	.hero-label {
		font-size: 0.625rem;
		letter-spacing: 1.5px;
		margin-bottom: 0.5rem;
	}

	.hero-title {
		font-size: 1.25rem;
		margin-bottom: 0.5rem;
		line-height: 1.3;
	}

	.hero-tagline {
		font-size: 0.75rem;
		letter-spacing: 1px;
		margin-bottom: 0.75rem;
	}

	.hero-description {
		font-size: 0.875rem;
		line-height: 1.5;
	}

	.hero-carousel-wrapper-inner {
		height: auto;
		min-height: 480px;
		max-height: 70vh;
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	.hero-carousel {
		height: 100%;
		min-height: 400px;
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	.carousel-slide {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	.slide-bg {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	.slide-bg img {
		width: 100%;
		max-width: 100%;
		object-fit: cover;
	}

	.slide-content {
		padding: 1.5rem 0.75rem;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}

	.slide-text {
		max-width: 100%;
		width: 100%;
		word-wrap: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
		box-sizing: border-box;
	}

	.slide-emojis {
		font-size: 2rem;
		margin-bottom: 1rem;
	}

	.slide-text p {
		font-size: 0.875rem;
		line-height: 1.6;
		word-wrap: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
		padding: 0;
		margin: 0;
	}

	.carousel-nav {
		display: none;
	}

	.carousel-indicators {
		bottom: 1.5rem;
		gap: 0.375rem;
	}

	.carousel-indicators .indicator {
		width: 6px;
		height: 6px;
	}

	.carousel-indicators .indicator.active {
		width: 20px;
	}
}

/* ============================================
   About Section
   ============================================ */

/* ============================================
   What We Do Section
   ============================================ */

.wp-block-image {
	text-align: center;
}

.home-what-we-do-section {
	padding: 5rem 2rem;
	background-color: #ffffff;
}

.what-we-do-container {
	max-width: 1200px;
	margin: 0 auto;
}

.what-we-do-list {
	list-style: none;
	padding: 0;
	margin: 3rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.what-we-do-list li {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	line-height: 1.9;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
	position: relative;
}

.what-we-do-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #BDA4AF;
	font-weight: 600;
	font-size: 1.25rem;
}

/* ============================================
   Our Approach Section
   ============================================ */

.home-approach-section {
	padding: 5rem 2rem;
	background-color: #f7ebe6;
}

.approach-container {
	max-width: 1200px;
	margin: 0 auto;
}

.approach-intro {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	line-height: 1.8;
	margin: 3rem 0 1.5rem;
	font-weight: 600;
}

.approach-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.75rem;
}

.approach-list li {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: #213c4c;
	line-height: 1.8;
	padding-left: 0;
	margin-bottom: 0.5rem;
}

/* ============================================
   Why We Exist Section
   ============================================ */

.home-why-section {
	padding: 5rem 2rem;
	background-color: #ffffff;
}

.why-container {
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.why-content {
	margin-top: 3rem;
}

.why-content p {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.25rem;
	color: #213c4c;
	line-height: 2;
	margin: 2rem 0;
	font-weight: 400;
	font-style: italic;
}

/* ============================================
   About Section
   ============================================ */

.home-about-section {
	padding: 4rem 1.5rem 3rem;
	margin-bottom: 2rem;
	background-color: #ffffff;
}

.about-content {
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.about-content p {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	line-height: 1.8;
	margin: 0;
	font-weight: 400;
}

@media (max-width: 767px) {
	.home-what-we-do-section,
	.home-approach-section,
	.home-why-section {
		padding: 3rem 1.5rem;
	}

	.what-we-do-list {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-top: 2rem;
	}

	.what-we-do-list li {
		font-size: 1rem;
		line-height: 1.8;
		margin-bottom: 0.75rem;
		padding-left: 1.25rem;
	}

	.approach-intro {
		margin: 2rem 0 1.25rem;
	}

	.approach-list {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-top: 1.25rem;
	}

	.approach-list li {
		font-size: 0.9375rem;
		line-height: 1.7;
		margin-bottom: 0.5rem;
	}

	.why-content {
		margin-top: 2rem;
	}

	.why-content p {
		font-size: 1.125rem;
		line-height: 1.9;
		margin: 1.5rem 0;
	}

	.home-about-section {
		padding: 3rem 1.5rem 3rem;
		margin-bottom: 1.5rem;
	}

	.about-content p {
		font-size: 1rem;
		line-height: 1.7;
	}
}

/* ============================================
   Statistics Section
   ============================================ */

.home-statistics-section {
	padding: 4rem 1.5rem;
	background-color: #f7ebe6;
}

.statistics-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	align-items: center;
}

.statistic-item {
	text-align: center;
}

.statistic-number {
	font-family: 'Unbounded', sans-serif;
	font-size: 3.5rem;
	font-weight: 700;
	color: #213c4c;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.statistic-label {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	line-height: 1.6;
	font-weight: 400;
}

@media (max-width: 1024px) {
	.statistics-container {
		gap: 2rem;
	}

	.statistic-number {
		font-size: 3rem;
	}

	.statistic-label {
		font-size: 1rem;
	}
}

@media (max-width: 767px) {
	.home-statistics-section {
		padding: 3rem 1.5rem;
	}

	.statistics-container {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.statistic-number {
		font-size: 2.5rem;
	}

	.statistic-label {
		font-size: 0.9375rem;
	}
}

/* ============================================
   Latest Posts Section
   ============================================ */

.latest-posts-section {
	padding: 4rem 1.5rem;
	background-color: #fafafa;
}

.latest-posts-container {
	max-width: 1200px;
	margin: 0 auto;
}

.section-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 2rem;
	font-weight: 600;
	color: #213c4c;
	text-align: center;
	margin: 0 0 3rem;
	position: relative;
	display: inline-block;
	width: 100%;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #BDA4AF 0%, #213c4c 100%);
	border-radius: 2px;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2.5rem;
	align-items: start;
}

.post-card {
	background-color: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid rgba(33, 60, 76, 0.1);
	box-shadow: 0 2px 8px rgba(33, 60, 76, 0.06);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.post-card:hover {
	border-color: #213c4c;
	box-shadow: 0 6px 20px rgba(33, 60, 76, 0.12);
	transform: translateY(-2px);
}

.post-thumbnail {
	width: 100%;
	height: 220px;
	overflow: hidden;
	background-color: #f7ebe6;
	position: relative;
}

.post-thumbnail::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(33, 60, 76, 0.05) 100%);
	pointer-events: none;
}

.post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.post-card:hover .post-thumbnail img {
	transform: scale(1.08);
}

.post-content {
	padding: 2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.post-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 1.375rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0;
	line-height: 1.4;
}

.post-title a {
	color: #213c4c;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
}

.post-title a:hover {
	color: #BDA4AF;
}

.post-meta {
	margin: 0;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(33, 60, 76, 0.1);
}

.post-meta time {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.8125rem;
	color: #213c4c;
	opacity: 0.6;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.post-excerpt {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.9375rem;
	color: #213c4c;
	line-height: 1.7;
	margin: 0;
	flex: 1;
	opacity: 0.85;
}

.post-link {
	display: inline-flex;
	align-items: center;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	color: #213c4c;
	text-decoration: none;
	padding: 0.625rem 1.25rem;
	border: 2px solid #213c4c;
	border-radius: 4px;
	transition: all 0.3s ease;
	align-self: flex-start;
	margin-top: auto;
}

.post-link:hover {
	background-color: #213c4c;
	color: #ffffff;
	transform: translateX(4px);
}

.no-posts {
	text-align: center;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #213c4c;
	opacity: 0.7;
	grid-column: 1 / -1;
}

/* Latest Posts Responsive */
@media (max-width: 767px) {
	.latest-posts-section {
		padding: 3rem 1rem;
	}

	.section-title {
		font-size: 1.75rem;
		margin-bottom: 2rem;
	}

	.section-title::after {
		width: 60px;
		height: 3px;
		bottom: -0.75rem;
	}

	.posts-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.post-thumbnail {
		height: 200px;
	}

	.post-content {
		padding: 1.5rem;
		gap: 0.875rem;
	}

	.post-title {
		font-size: 1.25rem;
	}

	.post-excerpt {
		font-size: 0.875rem;
	}

	.post-link {
		font-size: 0.8125rem;
		padding: 0.5rem 1rem;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	.post-content {
		padding: 1.75rem;
	}

	.proekti-hero-content {
		padding: 2.5rem 3rem;
	}

	.proekti-hero-title {
		font-size: 3rem;
	}

	.proekti-hero-text {
		font-size: 1.0625rem;
	}
}

/* ============================================
   About Page Styles
   ============================================ */

.site-main-about {
	padding: 0 !important;
	max-width: 100% !important;
}

/* About Hero Section */
.site-main-about .about-hero {
	position: relative;
	width: 100%;
	height: 65vh;
	min-height: 550px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.site-main-about .about-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.site-main-about .about-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: brightness(0.7);
}

.site-main-about .about-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(33, 60, 76, 0.75) 0%, rgba(189, 164, 175, 0.6) 100%);
	z-index: 2;
}

.site-main-about .about-hero-content {
	position: relative;
	z-index: 3;
	text-align: center;
	max-width: 1200px;
	padding: 0 1.5rem;
}

.site-main-about .about-hero-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 5rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0;
	line-height: 1.2;
	text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* About Intro Section */
.site-main-about .about-intro-section {
	padding: 4rem 1.5rem;
	background-color: #ffffff;
}

.site-main-about .about-intro-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.site-main-about .about-intro-content {
	padding-right: 2rem;
}

.site-main-about .about-intro-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 2rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0 0 2rem;
	line-height: 1.3;
	position: relative;
	display: inline-block;
	width: 100%;
}

.site-main-about .about-intro-title::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 0;
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #BDA4AF 0%, #213c4c 100%);
	border-radius: 2px;
}

.site-main-about .about-intro-text {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	line-height: 1.8;
}

.site-main-about .about-intro-text p {
	margin: 0 0 1.5rem;
}

.site-main-about .about-intro-text p:last-child {
	margin-bottom: 0;
}

.site-main-about .about-intro-image {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(33, 60, 76, 0.15);
}

.site-main-about .about-intro-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Team Section */
.site-main-about .team-section {
	padding: 4rem 1.5rem;
	background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
	position: relative;
}

.site-main-about .team-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(33, 60, 76, 0.1) 50%, transparent 100%);
}

.site-main-about .team-container {
	max-width: 1400px;
	margin: 0 auto;
}

.site-main-about .team-section-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 2rem;
	font-weight: 600;
	color: #213c4c;
	text-align: center;
	margin: 0 0 3rem;
	position: relative;
	display: inline-block;
	width: 100%;
}

.site-main-about .team-section-title::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #BDA4AF 0%, #213c4c 100%);
	border-radius: 2px;
}

.site-main-about .team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3rem;
	width: 100%;
}

.site-main-about .team-member {
	background-color: #ffffff;
	border-radius: 20px;
	padding: 0;
	text-align: center;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
	box-shadow: 0 4px 20px rgba(33, 60, 76, 0.1);
	overflow: hidden;
	position: relative;
}

.site-main-about .team-member::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #BDA4AF 0%, #213c4c 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.site-main-about .team-member:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(33, 60, 76, 0.15);
}

.site-main-about .team-member:hover::before {
	opacity: 1;
}

.site-main-about .team-member-image {
	position: relative;
	width: 100%;
	height: 450px;
	overflow: hidden;
	margin-bottom: 0;
}

.site-main-about .team-member-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-main-about .team-member:hover .team-member-image img {
	transform: scale(1.1);
}


.site-main-about .team-member-info {
	padding: 2rem 2rem 2.5rem;
	text-align: center;
}

.site-main-about .team-member-name {
	font-family: 'Unbounded', sans-serif;
	font-size: 1.75rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0 0 1rem;
	line-height: 1.3;
}

.site-main-about .team-member-role {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: #BDA4AF;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.site-main-about .team-member-details {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: #213c4c;
	margin: 0 0 1rem;
	line-height: 1.7;
	opacity: 0.9;
}

.site-main-about .team-member-divider {
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, #BDA4AF 50%, transparent 100%);
	margin: 1.25rem auto;
}

.site-main-about .team-member-position {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.9375rem;
	color: #213c4c;
	margin: 0;
	opacity: 0.7;
	font-style: italic;
}

/* About Content Section */
.site-main-about .about-content-section {
	padding: 4rem 1.5rem;
	background-color: #fafafa;
}

.site-main-about .about-content-container {
	max-width: 900px;
	margin: 0 auto;
}

.site-main-about .about-content {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	line-height: 1.8;
}

.site-main-about .about-content p {
	margin-bottom: 1.5rem;
}

/* About Page Responsive */
@media (max-width: 767px) {
	.site-main-about .about-hero {
		height: auto;
		min-height: 600px;
		padding: 4rem 0;
	}

	.site-main-about .about-hero-title {
		font-size: 3rem;
	}

	.site-main-about .about-intro-section {
		padding: 3rem 1.5rem;
	}

	.site-main-about .about-intro-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.site-main-about .about-intro-content {
		padding-right: 0;
	}

	.site-main-about .about-intro-title {
		font-size: 1.75rem;
		margin-bottom: 1.5rem;
	}

	.site-main-about .about-intro-title::after {
		width: 60px;
		height: 3px;
		bottom: -0.75rem;
	}

	.site-main-about .about-intro-text {
		font-size: 1rem;
	}

	.site-main-about .team-section {
		padding: 3rem 1.5rem;
	}

	.site-main-about .team-section-title {
		font-size: 1.75rem;
		margin-bottom: 2rem;
	}

	.site-main-about .team-section-title::after {
		width: 60px;
		height: 3px;
		bottom: -0.75rem;
	}

	.site-main-about .team-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.site-main-about .team-member-image {
		height: 350px;
	}

	.site-main-about .team-member-info {
		padding: 1.5rem 1.5rem 2rem;
	}

	.site-main-about .team-member-name {
		font-size: 1.5rem;
	}

	.site-main-about .team-member-role {
		font-size: 1.125rem;
	}

	.site-main-about .team-member-details {
		font-size: 0.9375rem;
	}

	.site-main-about .about-content-section {
		padding: 3rem 1.5rem;
	}

	.site-main-about .about-content {
		font-size: 1rem;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.site-main-about .about-hero {
		height: 70vh;
		min-height: 550px;
	}

	.site-main-about .about-hero-title {
		font-size: 4rem;
	}

	.site-main-about .about-intro-container {
		gap: 3rem;
	}

	.site-main-about .about-intro-title {
		font-size: 1.875rem;
	}

	.site-main-about .about-intro-text {
		font-size: 1.0625rem;
	}

	.site-main-about .team-section-title {
		font-size: 1.875rem;
	}

	.site-main-about .team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.5rem;
	}

	.site-main-about .team-member-image {
		height: 400px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.hero-title {
		font-size: 1.75rem;
	}

	.hero-tagline {
		font-size: 0.9375rem;
	}

	.slide-text p {
		font-size: 1.375rem;
	}

	.slide-emojis {
		font-size: 3rem;
	}
}

/* ============================================
   Contact Page
   ============================================ */

.site-main-contact {
	padding: 0;
	max-width: 100%;
	background-color: #fafafa;
}

/* Contact Hero Section */
.contact-hero {
	padding: 5rem 2rem 3rem;
	background-color: #ffffff;
	text-align: center;
	border-bottom: 1px solid rgba(33, 60, 76, 0.1);
}

.contact-hero-content {
	max-width: 800px;
	margin: 0 auto;
}

.contact-hero-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 3rem;
	font-weight: 600;
	color: #213c4c;
	margin: 0 0 1.5rem;
	line-height: 1.2;
}

.contact-hero-description {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	color: #213c4c;
	line-height: 1.8;
	margin: 0 0 2.5rem;
	opacity: 0.8;
}

.contact-hero-info {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.contact-hero-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: #213c4c;
	text-decoration: none;
	padding: 0.75rem 1.5rem;
	background-color: #f7ebe6;
	border-radius: 8px;
	transition: all 0.3s ease;
	opacity: 0.9;
}

.contact-hero-link:hover {
	background-color: #BDA4AF;
	color: #ffffff;
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(33, 60, 76, 0.15);
}

.contact-hero-link-icon {
	font-size: 1.25rem;
	line-height: 1;
}

.contact-hero-link-text {
	font-weight: 500;
}

/* Contact Form Section */
.contact-form-section {
	padding: 4rem 2rem;
	background-color: #ffffff;
}

.contact-form-container {
	max-width: 800px;
	margin: 0 auto;
}

.contact-form-wrapper {
	background-color: #fafafa;
	padding: 3rem;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(33, 60, 76, 0.1);
}

/* Contact Form 7 Styling */
.contact-form-wrapper .wpcf7-form {
	margin: 0;
}

.contact-form-wrapper .wpcf7-form p {
	margin-bottom: 1.5rem;
}

.contact-form-wrapper .wpcf7-form label {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: #213c4c;
	font-weight: 500;
	display: block;
	margin-bottom: 0.5rem;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form input[type="url"],
.contact-form-wrapper .wpcf7-form textarea,
.contact-form-wrapper .wpcf7-form select {
	width: 100%;
	padding: 0.875rem 1rem;
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: #213c4c;
	background-color: #ffffff;
	border: 2px solid rgba(33, 60, 76, 0.1);
	border-radius: 4px;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.contact-form-wrapper .wpcf7-form input[type="text"]:focus,
.contact-form-wrapper .wpcf7-form input[type="email"]:focus,
.contact-form-wrapper .wpcf7-form input[type="tel"]:focus,
.contact-form-wrapper .wpcf7-form input[type="url"]:focus,
.contact-form-wrapper .wpcf7-form textarea:focus,
.contact-form-wrapper .wpcf7-form select:focus {
	outline: none;
	border-color: #BDA4AF;
	box-shadow: 0 0 0 3px rgba(189, 164, 175, 0.1);
}

.contact-form-wrapper .wpcf7-form textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form-wrapper .wpcf7-form input[type="submit"] {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
	background-color: #213c4c;
	padding: 1rem 2.5rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-block;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
	background-color: #BDA4AF;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(33, 60, 76, 0.2);
}

.contact-form-wrapper .wpcf7-form .wpcf7-not-valid-tip {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.875rem;
	color: #d32f2f;
	margin-top: 0.25rem;
	display: block;
}

.contact-form-wrapper .wpcf7-form .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-form .wpcf7-mail-sent-ok {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.9375rem;
	padding: 1rem;
	border-radius: 4px;
	margin-bottom: 1.5rem;
}

.contact-form-wrapper .wpcf7-form .wpcf7-validation-errors {
	background-color: #ffebee;
	color: #d32f2f;
	border: 1px solid #ffcdd2;
}

.contact-form-wrapper .wpcf7-form .wpcf7-mail-sent-ok {
	background-color: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
}

/* Contact Page Responsive */
@media (max-width: 767px) {
	.contact-hero {
		padding: 3rem 1.5rem 2rem;
	}

	.contact-hero-title {
		font-size: 2rem;
	}

	.contact-hero-description {
		font-size: 1rem;
	}

	.contact-form-section {
		padding: 3rem 1.5rem;
	}

	.contact-form-wrapper {
		padding: 2rem 1.5rem;
	}

	.contact-hero-info {
		flex-direction: column;
		gap: 1rem;
	}

	.contact-hero-link {
		width: 100%;
		justify-content: center;
		max-width: 300px;
	}
}

/* ============================================
   Projects Archive Page (Проекти)
   ============================================ */

.site-main-proekti {
	padding: 0 !important;
	max-width: 100% !important;
}

/* Projects Hero Section */
.proekti-hero-section {
	padding: 5rem 2rem;
	background-color: #ffffff;
	position: relative;
}

.proekti-hero-container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}

.proekti-hero-content {
	text-align: center;
	position: relative;
	padding: 3rem 4rem;
	border: 3px solid #213c4c;
	border-radius: 8px;
	background-color: #ffffff;
	box-shadow: 0 4px 20px rgba(33, 60, 76, 0.08);
}

.proekti-hero-title {
	font-family: 'Unbounded', sans-serif;
	font-size: 3.5rem;
	font-weight: 700;
	color: #213c4c;
	margin: 0 0 2.5rem;
	line-height: 1.2;
	letter-spacing: 1px;
	position: relative;
	display: inline-block;
	padding-bottom: 1.5rem;
}

.proekti-hero-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, #BDA4AF 0%, #213c4c 100%);
	border-radius: 2px;
}

.proekti-hero-text {
	font-family: 'Nunito Sans', 'Century Gothic', CenturyGothic, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	line-height: 1.8;
	color: #213c4c;
	max-width: 900px;
	margin: 0 auto;
}

.proekti-hero-text p {
	margin: 0;
}

/* Projects Posts Section */
.proekti-posts-section {
	padding: 4rem 1.5rem;
	background-color: #fafafa;
}

.proekti-posts-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Projects Page Responsive */
@media (max-width: 767px) {
	.proekti-hero-section {
		padding: 3rem 1rem;
	}

	.proekti-hero-content {
		padding: 2rem 1.5rem;
		border-width: 2px;
	}

	.proekti-hero-title {
		font-size: 2rem;
		margin-bottom: 1.5rem;
		letter-spacing: 0.5px;
		padding-bottom: 1rem;
	}

	.proekti-hero-title::after {
		width: 60px;
		height: 3px;
	}

	.proekti-hero-text {
		font-size: 0.9375rem;
		line-height: 1.7;
	}

	.proekti-posts-section {
		padding: 3rem 1rem;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.proekti-hero-title {
		font-size: 3.5rem;
	}

	.proekti-hero-text {
		font-size: 1.125rem;
	}
}


