/**
 * EGC Theme - Custom Styles
 */

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-egc-green {
	color: #07632e !important;
}

/* ========================================
   HIDE HEADER CTA ON CONTACT PAGE
   ======================================== */
.page-slug-contact-eng .header-right .wp-block-button,
.page-template-page-contact-eng .header-right .wp-block-button,
body[class*="contact-eng"] .header-right .wp-block-button {
	display: none !important;
}

/* ========================================
   CONTACT PAGE - BALANCED SPACING
   ======================================== */
.contact-page-content .wp-block-columns {
	margin-bottom: 0 !important;
}

/* Hide header CTA initially on home page (JS will show when hero button scrolls out) */
body.home .header-right .wp-block-button,
body.page-template-front-page .header-right .wp-block-button {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Disable dead links on desktop submenu parents (About Us, Services) */
@media (min-width: 1025px) {
	.wp-block-navigation-submenu > .wp-block-navigation-item__content[href="#"] {
		pointer-events: none;
		cursor: default;
	}
}

/* ========================================
   CONTACT FORM SUBMIT BUTTON - GREEN (contact page only)
   ======================================== */
body[class*="contact-eng"] .wpforms-submit,
body[class*="contact-eng"] .wpcf7-submit,
body[class*="contact-eng"] input[type="submit"],
body[class*="contact-eng"] button[type="submit"] {
	background-color: #07632e !important;
}

body[class*="contact-eng"] .wpforms-submit:hover,
body[class*="contact-eng"] .wpcf7-submit:hover,
body[class*="contact-eng"] input[type="submit"]:hover,
body[class*="contact-eng"] button[type="submit"]:hover {
	background-color: #065426 !important;
}

/* ========================================
   TERRACOTTA CTA BUTTONS
   ======================================== */
.wp-block-button.btn-terracotta .wp-block-button__link,
.wp-block-button.btn-terracotta .wp-block-button__link.has-background,
.btn-terracotta.wp-block-button a,
.wp-block-button.primary-btn.btn-terracotta .wp-block-button__link {
	background-color: #883120 !important;
	color: #fff !important;
}

.wp-block-button.btn-terracotta .wp-block-button__link:hover,
.btn-terracotta.wp-block-button a:hover,
.wp-block-button.primary-btn.btn-terracotta .wp-block-button__link:hover {
	background-color: #6F2818 !important;
}

/* ========================================
   FRANCHISE BUTTON (Green) - Romania site
   ======================================== */
.wp-block-button.btn-franchise .wp-block-button__link {
	background-color: #07632e !important;
	color: #fff !important;
}

.wp-block-button.btn-franchise .wp-block-button__link:hover {
	background-color: #065426 !important;
}

/* RO header - franchise button always visible */
.header-right-ro .btn-franchise {
	opacity: 1 !important;
	visibility: visible !important;
}

/* RO header - pre-hide terracotta on home (prevents JS jump) */
body.home .header-right-ro .btn-terracotta,
body.page-template-front-page .header-right-ro .btn-terracotta {
	opacity: 0;
	visibility: hidden;
	width: 0;
	overflow: hidden;
	margin: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease, width 0.3s ease, margin 0.3s ease;
}

/* RO header buttons - identical size at all viewports */
.header-right-ro .btn-franchise .wp-block-button__link,
.header-right-ro .btn-terracotta .wp-block-button__link {
	min-width: 160px !important;
	text-align: center !important;
}

/* RO header - larger gap between buttons on desktop only */
@media (min-width: 1025px) {
	.header-right-ro .wp-block-buttons {
		gap: 20px !important;
	}
}

@media (max-width: 1024px) {
	/* Square-ish buttons with text wrapping for easier tapping */
	.header-right-ro .btn-franchise .wp-block-button__link,
	.header-right-ro .btn-terracotta .wp-block-button__link {
		padding: 15px 15px !important;
		font-size: 14px !important;
		white-space: normal !important;
		min-width: 95px !important;
		max-width: 95px !important;
		text-align: center !important;
		line-height: 1.2 !important;
	}

	/* Keep buttons side-by-side always with gap */
	.header-right-ro .wp-block-buttons {
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 15px !important;
	}
}

/* ========================================
   LANGUAGE SWITCHER - Romania Header
   ======================================== */
.language-switcher {
	display: flex;
	align-items: center;
	gap: 12px;
}

.language-switcher .lang-link {
	display: flex;
	align-items: center;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.language-switcher .lang-link:hover,
.language-switcher .lang-link.active {
	opacity: 1;
}

.language-switcher .lang-flag {
	width: 24px;
	height: 16px;
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Mobile: hide language switcher to save space */
@media (max-width: 768px) {
	.language-switcher {
		display: none;
	}
}

/* ========================================
   PREVENT HORIZONTAL SCROLL
   ======================================== */
html, body {
	overflow-x: hidden !important;
	max-width: 100vw !important;
}

/* ========================================
   WORDPRESS COLUMN FLEX-BASIS FIX
   WordPress sets flex-basis:0 which breaks Tailwind width classes
   ======================================== */

/* Fix columns in flex containers with is-not-stacked-on-mobile */
.wp-block-columns.is-not-stacked-on-mobile > .wp-block-column {
	flex-basis: auto !important;
}

/* When using Tailwind !w-full class */
.wp-block-column.\!w-full {
	width: 100% !important;
	flex-basis: 100% !important;
}

/* Responsive width overrides - must use flex-basis too */
@media (min-width: 640px) {
	.wp-block-column.sm\:\!w-\[calc\(50\%-10px\)\] {
		width: calc(50% - 10px) !important;
		flex-basis: calc(50% - 10px) !important;
	}
	.wp-block-column.sm\:\!w-\[calc\(50\%-12px\)\] {
		width: calc(50% - 12px) !important;
		flex-basis: calc(50% - 12px) !important;
	}
	.wp-block-column.sm\:\!w-\[calc\(50\%-16px\)\] {
		width: calc(50% - 16px) !important;
		flex-basis: calc(50% - 16px) !important;
	}
}

@media (min-width: 1024px) {
	.wp-block-column.lg\:\!w-1\/3 {
		width: 33.333333% !important;
		flex-basis: 33.333333% !important;
	}
	.wp-block-column.lg\:\!w-1\/4 {
		width: 25% !important;
		flex-basis: 25% !important;
	}
}

/* ========================================
   GLOBAL LAYOUT FIXES
   ======================================== */

/* Full-width sections */
.team-section,
.about-section,
.broader-team-section,
.services-section,
.green-title-section {
	max-width: none !important;
	width: 100% !important;
}

/* Achievement cards grid - override WordPress column stacking */
.wp-block-columns.achievements-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 1rem !important;
}

.wp-block-columns.achievements-grid > .wp-block-column {
	flex-basis: calc(50% - 8px) !important;
	flex-grow: 0 !important;
}

@media (min-width: 1024px) {
	.wp-block-columns.achievements-grid > .wp-block-column {
		flex-basis: auto !important;
		flex-grow: 1 !important;
	}
}

/* Remove block gap between sections */
.site-content > * + * {
	margin-top: 0 !important;
}

/* ========================================
   HEADER & TOPBAR
   Extracted from reference: 2025-12-21
   ======================================== */

/* Topbar - exact values from reference */
.topbar {
	font-family: 'Roboto', sans-serif;
	background-color: rgb(7, 99, 46);
	padding: 15px 0;
	/* height: 54px (15px padding top + 24px content + 15px padding bottom) */
}

.topbar-container {
	display: flex !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 30px;
	gap: 30px;
	height: 24px;
}

.topbar-left {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 60px !important;
}

.topbar-right {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 30px !important;
}

/* Topbar text - exact values */
.topbar a,
.topbar p {
	color: rgb(255, 255, 255) !important;
	font-size: 14px !important;
	font-weight: 300 !important;
	line-height: 24px;
	white-space: nowrap;
}

/* Topbar responsive - stack and allow wrapping */
@media (max-width: 1075px) {
	.topbar-container {
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 10px;
	}

	.topbar-left,
	.topbar-right {
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 15px !important;
		width: 100%;
	}

	.topbar-mail::after {
		display: none;
	}

	.topbar-whatsapp {
		padding-right: 0 !important;
	}
}

/* Mobile - simplify topbar, hide address */
@media (max-width: 768px) {
	.topbar-address {
		display: none !important;
	}

	.topbar-contact p,
	.topbar-contact a {
		font-size: 12px;
		white-space: nowrap !important;
	}
}

/* Mobile/Tablet - icons only topbar (matches hamburger menu breakpoint) */
@media (max-width: 1024px) {
	.topbar {
		display: block !important;
		padding: 10px 0 !important;
	}

	.topbar-container {
		display: flex !important;
		flex-wrap: nowrap !important;
		justify-content: space-evenly !important;
		align-items: center !important;
		gap: 0 !important;
		padding: 0 15px !important;
	}

	.topbar-left,
	.topbar-right {
		display: contents !important;
	}

	/* Hide all text, show only icons */
	.topbar-contact p,
	.topbar-contact > p,
	.topbar-contact a:not(:has(img)) {
		display: none !important;
	}

	/* Show address section (was hidden at 768px) */
	.topbar-address {
		display: flex !important;
	}

	/* Flatten contact items so icons are direct children of container */
	.topbar-contact {
		display: contents !important;
	}

	/* Make icons clickable links */
	.topbar-contact figure {
		cursor: pointer;
	}

	/* All icons same spacing */
	.topbar-left .topbar-contact,
	.topbar-right .topbar-contact {
		padding: 0 12px !important;
	}

	/* Hide mail divider */
	.topbar-mail::after {
		display: none !important;
	}

	/* Remove whatsapp extra padding */
	.topbar-whatsapp {
		padding-right: 12px !important;
	}

	/* Social icons inline with other icons */
	.topbar-social {
		display: contents !important;
	}

	.topbar-social figure,
	.topbar-social .topbar-icon {
		padding: 0 5px !important;
		margin: 0 !important;
		width: auto !important;
		max-width: 30px !important;
		flex-shrink: 0 !important;
	}

	/* Consistent icon size - 20px for all, override inline styles */
	.topbar img,
	.topbar-contact img,
	.topbar-social img,
	.topbar figure img,
	.topbar-icon img {
		width: 20px !important;
		height: 20px !important;
		min-width: 20px !important;
		max-width: 20px !important;
		min-height: 20px !important;
		max-height: 20px !important;
	}

	/* Force all topbar figures to have consistent width */
	.topbar figure,
	.topbar .wp-block-image {
		width: auto !important;
		max-width: 40px !important;
		padding: 0 5px !important;
	}
}

/* Note: Base topbar styles (.topbar-left, .topbar-right, .topbar-contact, .topbar-social) are defined earlier in this file (lines 120-200 area) */

.topbar-contact figure,
.topbar-location figure {
	display: flex !important;
	align-items: center !important;
	margin: 0 !important;
}

.topbar-contact a {
	font-weight: 300;
	text-decoration: none;
}

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

.topbar-social img {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	min-height: 16px !important;
	display: block !important;
}

/* Divider line after email */
.topbar-mail {
	position: relative;
}

.topbar-mail::after {
	content: "";
	height: calc(100% + 32px);
	width: 2px;
	background-color: rgba(255, 255, 255, 0.3);
	position: absolute;
	right: -30px;
	top: -16px;
	transform: rotate(17deg);
}

/* RO topbar - separator after Cluj location */
.topbar-cluj {
	position: relative;
}

.topbar-cluj::after {
	content: "";
	height: calc(100% + 32px);
	width: 2px;
	background-color: rgba(255, 255, 255, 0.3);
	position: absolute;
	right: -30px;
	top: -16px;
	transform: rotate(17deg);
}

/* RO topbar mobile labels - hidden on desktop */
.topbar-mobile-label {
	display: none;
}

/* RO topbar mobile separator - hidden on desktop */
.topbar-separator-mobile {
	display: none;
}

@media (max-width: 1024px) {
	/* Keep location groups as flex containers */
	.site-topbar .topbar-location {
		display: flex !important;
		align-items: center;
		gap: 0;
	}

	/* Show the HTML labels */
	.site-topbar .topbar-mobile-label {
		display: inline !important;
		color: white;
		font-size: 11px;
		font-weight: 600;
		margin-left: 0 !important;
		margin-right: 3px !important;
	}

	/* Remove figure padding for tighter spacing */
	.site-topbar .topbar-location figure {
		padding: 0 !important;
	}

	/* Hide address/phone text */
	.topbar-cluj p,
	.topbar-bucuresti p {
		display: none !important;
	}

	/* Hide mail text */
	.site-topbar .topbar-mail p {
		display: none !important;
	}

	/* Hide desktop separator on mobile */
	.topbar-cluj::after {
		display: none !important;
	}

	/* Mobile separator - flex item between Cluj and București */
	.topbar-separator-mobile {
		display: block;
		width: 2px;
		background-color: rgba(255, 255, 255, 0.3);
		height: 54px;
		margin-top: -15px;
		margin-bottom: -15px;
		transform: rotate(17deg);
	}
}

/* WhatsApp spacing */
.topbar-whatsapp {
	padding-right: 50px;
}

/* Social icons in topbar */
.topbar-social .wp-social-link {
	margin: 0 !important;
}

.topbar-social .wp-social-link a {
	padding: 0 !important;
}

.topbar-social svg {
	width: 20px !important;
	height: 20px !important;
}

/* Main Header - Sticky behavior via JS */
.site-header {
	background: #fff !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 9999998 !important;
	font-family: 'Poppins', sans-serif;
	transition: box-shadow 0.2s ease;
}

/* When header becomes sticky (via JS) */
.site-header.is-sticky {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

/* Placeholder to prevent content jump when header becomes fixed */
.header-placeholder {
	display: none;
	height: 96px;
}

.header-placeholder.is-active {
	display: block;
}

/* Header Container - padding: 5px 30px, flex, space-between */
.header-container {
	font-family: 'Poppins', sans-serif;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 5px 30px !important;
}

/* Logo - Extracted from reference: 220px x 76px */
.logo-container {
	display: flex;
	align-items: center;
}

.logo-container figure {
	margin: 0;
	display: flex;
	align-items: center;
}

.logo-container img {
	width: 220px;
	height: auto;
	max-height: 76px;
	display: block;
}

/* Header Menu */
.header-menu-container {
	gap: 50px !important;
}

.main-navigation {
	gap: 50px !important;
}

/* Nav Items - color: rgb(7, 99, 46), fontSize: 14px, fontWeight: 400 */
.main-navigation .wp-block-navigation-item a {
	color: rgb(7, 99, 46) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	font-family: 'Poppins', sans-serif;
	text-transform: none;
	text-decoration: none;
}

.main-navigation .wp-block-navigation-item a {
	padding: 8px 12px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
}

.main-navigation .wp-block-navigation-item a:hover {
	background: rgba(7, 99, 46, 0.1);
	text-decoration: none;
}

/* ========================================
   DESKTOP DROPDOWN MENU
   ======================================== */
.wp-block-navigation__submenu-container {
	background: #fff !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
	padding: 10px 0 !important;
	min-width: 200px !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item {
	background: transparent !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item a {
	color: rgb(7, 99, 46) !important;
	padding: 10px 20px !important;
	display: block !important;
	background: transparent !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item a:hover {
	background: rgba(7, 99, 46, 0.1) !important;
	text-decoration: none !important;
}

/* ========================================
   MOBILE MENU - Dropdown style (grows from hamburger)
   ======================================== */
@media (max-width: 1024px) {
	/* Navigation wrapper - relative positioning for menu */
	.site-header .wp-block-navigation {
		position: relative !important;
	}

	/* Menu container - aligned with top of header (top: -15px to compensate for parent offset) */
	.wp-block-navigation__responsive-container,
	.wp-block-navigation__responsive-container.is-menu-open,
	.wp-block-navigation__responsive-container.has-modal-open {
		position: fixed !important;
		inset: unset !important;
		top: -15px !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		bottom: unset !important;
		right: unset !important;
		width: 250px !important;
		max-width: 70vw !important;
		height: auto !important;
		max-height: 50vh !important;
		margin: 0 !important;
		background: #fff !important;
		border-radius: 0 0 12px 12px !important;
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25) !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		padding: 0 !important;
		z-index: 999999 !important;
	}

	.wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
	}

	.wp-block-navigation__responsive-container.is-menu-open {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Fix WordPress modal overlay affecting cover blocks */
	.has-modal-open .wp-block-cover__inner-container {
		z-index: 1 !important;
	}

	.has-modal-open .wp-block-cover {
		z-index: auto !important;
	}

	/* Allow page scrolling when menu is open */
	html.has-modal-open {
		overflow: auto !important;
	}

	/* Remove WordPress overlay/dialog wrapper styling */
	.wp-block-navigation__responsive-close,
	.wp-block-navigation__responsive-dialog {
		all: unset !important;
		display: block !important;
	}

	/* Menu content wrapper - 55px top padding for hamburger area */
	.wp-block-navigation__responsive-container-content {
		background: #fff !important;
		padding: 55px 15px 15px 15px !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
	}

	/* Remove excessive gap between menu items */
	.wp-block-navigation__responsive-container-content ul {
		gap: 2px !important;
	}

	/* Mobile menu links - green text on white background, compact spacing */
	.wp-block-navigation__responsive-container .wp-block-navigation-item a,
	.wp-block-navigation__responsive-container .wp-block-navigation-item a:visited {
		color: rgb(7, 99, 46) !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		font-family: 'Poppins', sans-serif !important;
		padding: 8px 12px !important;
		display: block !important;
		border-radius: 4px !important;
		background: transparent !important;
		text-decoration: none !important;
	}

	.wp-block-navigation__responsive-container .wp-block-navigation-item a:hover,
	.wp-block-navigation__responsive-container .wp-block-navigation-item a:focus {
		background: rgba(7, 99, 46, 0.08) !important;
		text-decoration: none !important;
	}

	/* Mobile submenu styling - centered items */
	.wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		box-shadow: none !important;
		border: none !important;
		padding: 0 !important;
		margin: 0 !important;
		background: transparent !important;
		border-radius: 0 !important;
		min-width: auto !important;
	}

	.wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item a {
		text-align: center !important;
		color: rgb(7, 99, 46) !important;
	}

	/* Override WordPress white text color on submenu */
	.wp-block-navigation__responsive-container .wp-block-navigation__submenu-container.has-white-color {
		color: rgb(7, 99, 46) !important;
	}

	/* Hide submenus by default on mobile - collapsed state */
	.wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}

	/* Show submenu when parent is expanded (via custom JS toggle or WordPress Interactivity API) */
	.wp-block-navigation__responsive-container .wp-block-navigation-item.is-submenu-open > .wp-block-navigation__submenu-container,
	.wp-block-navigation__responsive-container .wp-block-navigation-item[aria-expanded="true"] > .wp-block-navigation__submenu-container,
	.wp-block-navigation__responsive-container .wp-block-navigation-submenu[aria-expanded="true"] > .wp-block-navigation__submenu-container,
	.wp-block-navigation__responsive-container .wp-block-navigation-item.is-menu-open > .wp-block-navigation__submenu-container {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		overflow: visible !important;
	}

	/* Show the submenu toggle button on mobile */
	.wp-block-navigation__responsive-container .wp-block-navigation__submenu-icon {
		display: inline-flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		background: transparent !important;
		border: none !important;
		cursor: pointer !important;
		padding: 8px !important;
		margin-left: auto !important;
		align-items: center !important;
		justify-content: center !important;
		transition: transform 0.2s ease !important;
	}

	/* Style the toggle arrow/icon - prevent flex collapse */
	.wp-block-navigation__responsive-container .wp-block-navigation__submenu-icon svg {
		width: 12px !important;
		min-width: 12px !important;
		height: 12px !important;
		flex-shrink: 0 !important;
		transition: transform 0.2s ease !important;
	}

	.wp-block-navigation__responsive-container .wp-block-navigation__submenu-icon svg path {
		stroke: rgb(7, 99, 46) !important;
	}

	/* Rotate arrow when submenu is open */
	.wp-block-navigation__responsive-container .wp-block-navigation-item.is-submenu-open > .wp-block-navigation__submenu-icon,
	.wp-block-navigation__responsive-container .wp-block-navigation-item[aria-expanded="true"] > .wp-block-navigation__submenu-icon {
		transform: rotate(180deg) !important;
	}

	/* Wrapper for menu item link + toggle button to appear on same row */
	.wp-block-navigation__responsive-container .has-child {
		position: relative !important;
	}

	/* Position toggle button to the right of the link text - fixed top position */
	.wp-block-navigation__responsive-container .has-child > .wp-block-navigation__submenu-icon {
		position: absolute !important;
		right: 8px !important;
		top: 10px !important;
		margin: 0 !important;
	}

	/* Add padding to the right of menu items with children to make room for arrow */
	.wp-block-navigation__responsive-container .has-child > .wp-block-navigation-item__content {
		padding-right: 30px !important;
	}

	/* Mobile header layout - all elements absolutely positioned */
	.site-header .header-container {
		position: relative !important;
		display: block !important;
		min-height: 60px !important;
	}

	/* Logo at 15% from left, scaled to 80% */
	.site-header .logo-container {
		position: absolute !important;
		left: 15% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) scale(0.8) !important;
	}

	/* Hamburger centered at 50% - high z-index to stay on top */
	.site-header .header-menu-container {
		position: absolute !important;
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
		z-index: 1000 !important;
	}

	/* Button at 85% from left, scaled to 80% */
	.site-header .header-right {
		position: absolute !important;
		left: 85% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) scale(0.8) !important;
	}

	/* Force hamburger to show up to 1024px - always on top */
	.wp-block-navigation__responsive-container-open {
		display: flex !important;
		background: transparent !important;
		border: none !important;
		padding: 8px !important;
		cursor: pointer !important;
		z-index: 10000000 !important;
		position: relative !important;
		width: 40px !important;
		height: 40px !important;
	}

	/* Hide default WordPress hamburger SVG */
	.wp-block-navigation__responsive-container-open svg {
		display: none !important;
	}

	/* Custom "=" icon using pseudo-elements with transformation */
	.wp-block-navigation__responsive-container-open::before,
	.wp-block-navigation__responsive-container-open::after {
		content: '' !important;
		position: absolute !important;
		left: 50% !important;
		width: 22px !important;
		height: 3px !important;
		background: rgb(7, 99, 46) !important;
		border-radius: 2px !important;
		transition: all 0.3s ease !important;
	}

	.wp-block-navigation__responsive-container-open::before {
		top: 14px !important;
		transform: translateX(-50%) rotate(0deg) !important;
	}

	.wp-block-navigation__responsive-container-open::after {
		top: 24px !important;
		transform: translateX(-50%) rotate(0deg) !important;
	}

	/* Transform "=" to "X" when menu is open */
	.wp-block-navigation:has(.is-menu-open) .wp-block-navigation__responsive-container-open::before {
		top: 19px !important;
		transform: translateX(-50%) rotate(45deg) !important;
	}

	.wp-block-navigation:has(.is-menu-open) .wp-block-navigation__responsive-container-open::after {
		top: 19px !important;
		transform: translateX(-50%) rotate(-45deg) !important;
	}

	/* Close button - visually hidden but clickable by JS */
	.wp-block-navigation__responsive-container-close {
		opacity: 0 !important;
		pointer-events: none !important;
	}

	/* Override WordPress preset colors */
	.wp-block-navigation__responsive-container.has-primary-background-color,
	.wp-block-navigation__responsive-container.has-background {
		background: #fff !important;
	}

	.wp-block-navigation__responsive-container.has-white-color .wp-block-navigation-item a {
		color: rgb(7, 99, 46) !important;
	}
}

/* Header Right */
.header-right {
	gap: 30px !important;
}

/* Header Search */
.header-search .wp-block-search__button {
	background: transparent;
	border: none;
	padding: 5px;
}

.header-search .wp-block-search__button svg {
	fill: var(--wp--preset--color--primary);
}

/* Primary Button (CTA) - Extracted from reference
   padding: 5px 30px, bg: rgb(7, 99, 46), color: white
   fontSize: 14px, fontWeight: 400, borderRadius: 15px */
.primary-btn .wp-block-button__link {
	padding: 5px 30px !important;
	background-color: rgb(7, 99, 46) !important;
	color: rgb(255, 255, 255) !important;
	font-size: 14px !important;
	font-weight: 400;
	font-family: 'Poppins', sans-serif;
	border-radius: 15px !important;
	line-height: 21px;
	white-space: nowrap;
}

/* ========================================
   TAILWIND BUTTON FIXES
   WordPress buttons have wrapper div + link
   Tailwind classes go on wrapper, but need
   to style the inner link
   ======================================== */

/* Reset wrapper styles - make it transparent container */
.wp-block-button[class*="bg-"],
.wp-block-button[class*="text-"],
.wp-block-button[class*="rounded"] {
	background: transparent !important;
	padding: 0 !important;
	border: none !important;
}

/* White button with green text */
.wp-block-button.bg-white .wp-block-button__link {
	background-color: white !important;
	color: #07632e !important;
}

/* Green button with white text */
.wp-block-button.bg-egc-green .wp-block-button__link {
	background-color: #07632e !important;
	color: white !important;
}

/* Rounded styles */
.wp-block-button.rounded-full .wp-block-button__link {
	border-radius: 9999px !important;
}

.wp-block-button.rounded-2xl .wp-block-button__link {
	border-radius: 1rem !important;
}

/* Text styles for buttons */
.wp-block-button.text-sm .wp-block-button__link {
	font-size: 0.875rem !important;
}

.wp-block-button.uppercase .wp-block-button__link {
	text-transform: uppercase !important;
}

.wp-block-button.tracking-wide .wp-block-button__link {
	letter-spacing: 0.025em !important;
}

.wp-block-button.font-bold .wp-block-button__link {
	font-weight: 700 !important;
}

/* Padding styles */
.wp-block-button.px-10 .wp-block-button__link {
	padding-left: 2.5rem !important;
	padding-right: 2.5rem !important;
}

.wp-block-button.py-3 .wp-block-button__link {
	padding-top: 0.75rem !important;
	padding-bottom: 0.75rem !important;
}

/* Hover styles */
.wp-block-button.hover\:opacity-90:hover .wp-block-button__link {
	opacity: 0.9 !important;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

/* Services Section - Green Title Bar */
.services-section {
	padding: 0 !important;
}

.green-title-section {
	padding: 30px 0 60px;
	text-align: center;
	background-color: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 36px;
	font-weight: 700;
}

.green-title-section h2 {
	color: #fff !important;
	margin: 0;
}

/* Services Section - no overlap */
.front-page-content > .wp-block-group:first-child {
	margin-top: 0 !important;
	position: relative;
	z-index: 10;
}

/* Services Grid */
.services-grid {
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 0 15px 30px 15px;
	gap: 25px !important;
}

.services-grid .wp-block-column {
	flex: 1 1 30% !important;
}

/* Service Cards - Extracted from reference: 2025-12-21
   Card: 383px wide, 400px height, no border-radius, overflow hidden
   Overlay: rgba(7, 99, 46, 0.62)
   Title: 28.8px, 700 weight, white, uppercase, margin-bottom 10px */
.service-card {
	min-height: 400px !important;
	border-radius: 0 !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
	transform: scale(1.03);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-card .wp-block-cover__background {
	background-color: #07632e9e !important;
	opacity: 1 !important;
}

.service-card .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.service-card h3 {
	font-size: 1.8rem !important;
	font-weight: bold;
	margin-bottom: 10px;
	letter-spacing: 0.02em;
}

.services-grid a,
.services-grid a:hover,
.services-grid a:focus,
.categories-grid a,
.categories-grid a:hover,
.categories-grid a:focus {
	text-decoration: none !important;
}

.categories-grid .service-card .wp-block-cover__background {
	background-color: rgba(0, 0, 0, 0.3) !important;
	opacity: 1 !important;
}

.categories-grid {
	margin-bottom: 0 !important;
}

.service-card p {
	font-size: 1rem;
	line-height: 1.5;
}

/* Hide Learn More buttons on service cards - use whole card as link */
.service-card .wp-block-buttons {
	display: none;
}

/* ========================================
   ABOUT SECTION - Extracted from reference: 2025-12-21
   Background: rgba(165, 183, 156, 0.2)
   Padding: 100px 0px 150px
   H2: 55px/66px, 700 weight, green rgb(7, 99, 46)
   P: 16px/24px, rgb(30, 30, 30)
   ======================================== */

.about-section {
	background: rgba(165, 183, 156, 0.2) !important;
	padding: 100px 30px 150px !important;
}

.about-section > .wp-block-columns {
	max-width: 1200px;
	margin: 0 auto;
}

.about-section .wp-block-columns.is-layout-flex {
	align-items: flex-start !important;
}

.about-section h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 55px !important;
	font-weight: 700;
	line-height: 66px;
	color: rgb(7, 99, 46) !important;
	margin: 0;
	text-align: left;
}

.about-section p {
	font-family: 'Poppins', sans-serif;
	color: rgb(30, 30, 30) !important;
	font-size: 16px !important;
	line-height: 24px;
	margin-bottom: 16px;
}

/* ========================================
   COMPANY PAGE STYLES - Mobile First (375px)
   ======================================== */

/* Our Company section - match reference bg and padding */
.company-page-content .bg-gray-100 {
	background: rgba(165, 183, 156, 0.2) !important;
	padding: 80px 15px 60px !important;
	position: relative;
}


/* Stats cards in Our Company */
.company-page-content .bg-white.rounded-xl {
	background: rgb(249, 249, 249) !important;
	border-radius: 20px !important;
	padding: 15px 12px !important;
	box-shadow: none !important;
}

.company-page-content .bg-white.rounded-xl .text-5xl {
	font-size: 32px !important;
}

/* MVV Section - Mission/Vision/Values rows */
.company-page-content .bg-gray-50 {
	background: rgb(249, 249, 249) !important;
	padding: 40px 15px !important;
}

.company-page-content .bg-egc-green {
	padding: 40px 15px !important;
}

/* ========================================
   MVV Section Decorative Curves - Mobile (375px)
   ======================================== */

/* MVV Row 1 (Mission) - curve above */
.mvv-row-1 {
	position: relative;
}

.mvv-row-1::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 4.6vw;
	top: -4.5vw;
	left: 0;
	background-image: url('/wp-content/themes/egc-theme/assets/images/decorative/mvv-1-curve.svg');
	background-size: cover;
	background-position: 0% 0%;
	z-index: 1;
}

/* MVV Row 2 (Vision) - curve above AND below */
.mvv-row-2 {
	position: relative;
}

.mvv-row-2::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 1.1vw;
	top: -1vw;
	left: 0;
	background-image: url('/wp-content/themes/egc-theme/assets/images/decorative/mvv-2-curve-top.svg');
	background-size: cover;
	background-position: 0% 0%;
	z-index: 1;
}

.mvv-row-2::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2.1vw;
	bottom: -2vw;
	left: 0;
	background-image: url('/wp-content/themes/egc-theme/assets/images/decorative/mvv-2-curve-bottom.svg');
	background-size: cover;
	background-position: 50% 100%;
	z-index: 1;
}


/* Quality section - uses unique class to differentiate from MVV */
.about-quality-section {
	background: rgb(249, 249, 249) !important;
	padding: 75px 15px 50px !important;
}

/* Values section and cards - Mobile First (375px) */
.values-section {
	padding: 75px 15px !important;
	background: rgb(249, 249, 249) !important;
}

.values-section > .wp-block-columns {
	margin-bottom: 0 !important;
}

.values-cards-wrapper {
	display: flex !important;
	flex-direction: column !important;
	gap: 30px !important;
}

.value-card,
.value-card.bg-gray-50 {
	background: #fff !important;
	background-color: #fff !important;
	border-radius: 15px !important;
	box-shadow: 3px 4px 15px 0px rgba(0, 0, 0, 0.3) !important;
	padding: 30px 25px 25px !important;
	width: 100% !important;
	max-width: 345px !important;
	margin: 0 auto !important;
}

/* Partners section on company page */
.company-page-content .partners-section {
	padding: 40px 15px 40px !important;
}

/* Company page typography fixes */
.company-page-content .bg-gray-100 h2 {
	font-size: 34px !important;
}

.company-page-content .bg-gray-100 p {
	font-size: 16px !important;
	line-height: 24px !important;
}

/* ========================================
   COMPANY PAGE - Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
	.company-page-content .bg-gray-100 {
		padding: 200px 0px 150px !important;
	}

	.company-page-content .bg-gray-50,
	.company-page-content .bg-egc-green {
		padding: 64px 30px !important;
	}

	.about-quality-section {
		padding: 75px 30px 50px !important;
	}

	.values-section {
		padding: 75px 40px !important;
	}

	.values-section > .is-layout-constrained {
		max-width: 100% !important;
	}

	.values-cards-wrapper {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: center !important;
		gap: 24px !important;
		max-width: 1300px !important;
		margin: 0 auto !important;
	}

	.value-card {
		flex: 1 1 0 !important;
		max-width: none !important;
		min-width: 0 !important;
		aspect-ratio: 1 / 1 !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-start !important;
		padding: 25px 20px !important;
	}

	.value-card p {
		font-size: 13px !important;
		line-height: 1.4 !important;
	}

	.company-page-content .partners-section {
		padding: 40px 0px 40px !important;
	}
}

/* ========================================
   TEAM PAGE STYLES - Mobile First (375px)
   ======================================== */

/* Main team page content wrapper */
.team-page-content {
	background: rgba(165, 183, 156, 0.2) !important;
	padding-bottom: 40px !important;
}

/* Homepage team section title - white text on green background */
.team-section-title {
	color: #fff !important;
	font-size: 34px !important;
	font-weight: 700 !important;
}

/* Team grid section for our-team page */
.team-careers-section {
	background: transparent !important;
	padding: 60px 0 55px !important;
}

/* Team careers title - green text on our-team page */
.team-careers-title {
	color: #07632e !important;
	font-size: 34px !important;
	font-weight: 700 !important;
	margin-bottom: 16px !important;
	padding-top: 20px !important;
}

/* Team careers subtext - black text on our-team page */
.team-careers-subtext {
	color: #212529 !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	max-width: 700px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 55px !important;
}

/* Team member cards wrapper - wrap for 2x2 layout */
.wp-block-columns.team-careers-cards {
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 20px !important;
	margin-bottom: 0 !important;
}

.team-careers-cards {
	flex-direction: column !important;
	align-items: center !important;
}

.team-careers-cards .wp-block-column {
	width: calc(50% - 10px) !important;
	flex-basis: calc(50% - 10px) !important;
	max-width: 460px !important;
}

/* Team member cards - square on mobile */
.team-member-card {
	min-height: 150px !important;
	aspect-ratio: 1 / 1 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	width: 100% !important;
}

.team-member-card .wp-block-cover__inner-container {
	padding: 10px !important;
}

.team-member-card p {
	font-size: 14px !important;
	margin-bottom: 5px !important;
}

.team-member-card .wp-block-separator {
	margin: 5px auto !important;
	width: 80% !important;
	height: 1px !important;
	border: none !important;
}

/* Careers intro section */
.team-page-content > .bg-white {
	background: transparent !important;
	padding: 0 15px 50px !important;
}

.team-page-content > .bg-white h2.wp-block-heading {
	font-size: 34px !important;
	font-weight: 700 !important;
	margin-bottom: 30px !important;
}

.team-page-content > .bg-white p.has-text-align-center {
	font-size: 16px !important;
	line-height: 1.6 !important;
}

/* Careers form section */
.team-page-content .bg-gray-50 {
	background: transparent !important;
	padding: 40px 15px 60px !important;
}

.team-page-content .bg-gray-50 h3 {
	font-size: 24px !important;
	font-weight: 700 !important;
	text-transform: lowercase !important;
}

.team-page-content .bg-gray-50 .bg-white {
	background: #fff !important;
	border-radius: 12px !important;
	padding: 25px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* File upload button styling - make it obvious */
.team-page-content input[type="file"] {
	display: none !important;
}

.team-page-content .upload-cv-cv,
.team-page-content .wpcf7-form-control-wrap.file-cv {
	position: relative !important;
}

.team-page-content input[type="button"]#mfcf7_zl_add_file,
.team-page-content .qbutton {
	display: inline-block !important;
	background: #07632e !important;
	color: #fff !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	border: none !important;
	cursor: pointer !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	width: 100% !important;
	text-align: center !important;
}

.team-page-content input[type="button"]#mfcf7_zl_add_file:hover,
.team-page-content .qbutton:hover {
	background: #065426 !important;
}

/* Reduce space before footer */
.team-page-content .bg-gray-50 {
	padding-bottom: 30px !important;
}

.team-page-content .bg-gray-50 > .wp-block-columns {
	margin-bottom: 0 !important;
}

/* Space before footer */
.team-page-content + footer {
	margin-top: 0 !important;
}

/* File upload button styling for Romania careers form */
.team-page-content .upload-cv-cv input[type="file"] {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
}

.team-page-content .file-upload-btn {
	display: block !important;
	background: #07632e !important;
	color: #fff !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	border: none !important;
	cursor: pointer !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	width: 100% !important;
	text-align: center !important;
	margin-bottom: 0 !important;
}

.team-page-content .file-upload-btn:hover {
	background: #065426 !important;
}

/* Hide CF7 auto-generated BR after file upload label */
.team-page-content .upload-cv-cv br {
	display: none !important;
}

/* File selection display - matches UK multilinefile plugin style */
.team-page-content .file-selection-display {
	display: block;
	margin-top: 12px;
	padding: 6px 0;
}

.team-page-content .selected-filename {
	display: inline;
	font-size: 16px;
	color: #333;
	word-break: break-all;
}

.team-page-content .delete-file-btn {
	display: inline;
	margin-left: 8px;
	cursor: pointer;
	text-decoration: none;
	color: #dc3545;
	font-size: 16px;
	vertical-align: middle;
}

.team-page-content .delete-file-btn:hover {
	color: #a71d2a;
}

.team-page-content .delete-icon {
	display: inline-block;
	font-style: normal;
}

/* ========================================
   TEAM PAGE - Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
	.team-careers-section {
		padding: 80px 30px 60px !important;
	}

	.wp-block-columns.team-careers-cards {
		flex-direction: row !important;
		flex-wrap: wrap !important;
	}

	.wp-block-columns.team-careers-cards .wp-block-column {
		width: calc(50% - 10px) !important;
		flex-basis: calc(50% - 10px) !important;
		max-width: 460px !important;
	}

	.team-member-card {
		min-height: 250px !important;
	}

	.team-member-card p {
		font-size: 18px !important;
	}

	.team-page-content > .bg-white {
		padding: 60px 30px !important;
	}

	.team-page-content .bg-gray-50 {
		padding: 60px 30px 80px !important;
	}

	.team-page-content .bg-gray-50 .bg-white {
		padding: 40px !important;
	}
}

/* ========================================
   CTA BUTTONS SECTION - Extracted from reference: 2025-12-21
   Section: margin 100px 0, flex center, gap 30px
   Button: 200px width, 47px height, padding 10px, bg green,
           white text, 18px font, borderRadius 50px (pill)
   ======================================== */

.cta-buttons-section {
	margin: 100px 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.cta-buttons-row {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 30px !important;
	flex-wrap: wrap;
}

.cta-primary-btn .wp-block-button__link {
	width: 200px !important;
	height: 47px !important;
	padding: 10px !important;
	background-color: rgb(7, 99, 46) !important;
	color: rgb(255, 255, 255) !important;
	font-family: 'Poppins', sans-serif;
	font-size: 18px !important;
	font-weight: 400;
	text-align: center;
	border-radius: 50px !important;
	line-height: 27px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.service-card h3,
.services-grid h3 {
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.section-title.green-title {
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* ========================================
   HERO SECTION
   ======================================== */

/* Hero Section - Extracted from reference: 2025-12-21
   Container height: 600px, overlay rgba(7,99,46,0.3) */
.wp-block-cover.is-dark {
	min-height: 600px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* Center hero content vertically */
.wp-block-cover.is-dark .wp-block-cover__inner-container {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	height: 100% !important;
	min-height: inherit !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Remove Tailwind padding on hero cover */
.wp-block-cover.is-dark.py-24 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* UK Homepage hero overlay - 60% green gradient, fading out on bottom 50% */
.hero-homepage-uk .wp-block-cover__background {
	background: linear-gradient(to bottom, rgba(7, 99, 46, 0.6) 50%, rgba(7, 99, 46, 0) 100%) !important;
}

/* H1: fontSize 60px, fontWeight 700, uppercase, letterSpacing 1px, lineHeight 72px, white */
.wp-block-cover.is-dark h1 {
	font-family: 'Poppins', sans-serif;
	font-size: 60px !important;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 72px;
	color: rgb(255, 255, 255);
}

/* Subtitle: fontSize 18px, lineHeight 27px */
.wp-block-cover.is-dark p {
	font-family: 'Poppins', sans-serif;
	font-size: 18px !important;
	line-height: 27px;
	font-weight: 400;
	color: rgb(255, 255, 255);
}

/* CTA Button: terracotta bg, white text */
.wp-block-cover.is-dark .wp-block-button__link {
	background: #883120 !important;
	color: #fff !important;
	padding: 7px 35px !important;
	border-radius: 99px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px !important;
}

.wp-block-cover.is-dark .wp-block-button__link:hover {
	background: #6F2818 !important;
}

/* Mobile hero adjustments - smaller text, shorter height to show more image */
@media (max-width: 768px) {
	.wp-block-cover.is-dark {
		min-height: 400px !important;
	}

	.wp-block-cover.is-dark h1 {
		font-size: 32px !important;
		line-height: 38px !important;
	}

	.wp-block-cover.is-dark p {
		font-size: 15px !important;
		line-height: 22px !important;
	}
}

/* Subpage hero - desktop 450px height */
.service-page-hero.wp-block-cover,
.blog-page-hero.wp-block-cover,
.portfolio-page-hero.wp-block-cover,
.single-page-hero.wp-block-cover,
.page-hero.wp-block-cover,
.company-hero-section.wp-block-cover {
	min-height: 450px !important;
	height: auto !important;
	padding: 60px 0 !important;
}

/* Desktop subpage titles - match /company/ style */
.service-page-hero h1,
.blog-page-hero h1,
.portfolio-page-hero h1,
.single-page-hero h1,
.page-hero h1,
.company-hero-section h1 {
	font-size: 48px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* Desktop subpage subtitles - match homepage style */
.service-page-hero p,
.blog-page-hero p,
.portfolio-page-hero p,
.page-hero p,
.company-hero-section p {
	font-size: 18px !important;
	text-transform: none !important;
}

/* Mobile subpage hero */
@media (max-width: 768px) {
	.service-page-hero.wp-block-cover,
	.blog-page-hero.wp-block-cover,
	.portfolio-page-hero.wp-block-cover,
	.single-page-hero.wp-block-cover,
	.page-hero.wp-block-cover,
	.company-hero-section.wp-block-cover {
		min-height: 300px !important;
	}

	/* Mobile titles - normal case like desktop */
	.service-page-hero h1,
	.blog-page-hero h1,
	.portfolio-page-hero h1,
	.single-page-hero h1,
	.page-hero h1,
	.company-hero-section h1 {
		font-size: 32px !important;
		line-height: 38px !important;
		text-transform: none !important;
	}

	/* Mobile subtitles */
	.service-page-hero p,
	.blog-page-hero p,
	.portfolio-page-hero p,
	.page-hero p,
	.company-hero-section p {
		font-size: 15px !important;
		line-height: 22px !important;
	}
}

/* Hero Video Responsive */
.hero-section .hero-video-desktop {
	display: block;
}

.hero-section .hero-video-mobile {
	display: none;
}

@media (max-width: 782px) {
	.hero-section .hero-video-desktop {
		display: none;
	}

	.hero-section .hero-video-mobile {
		display: block;
	}
}

/* Ensure cover block video fills container */
.hero-section .wp-block-cover__video-background {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* Hero Locations Row (Romanian site) */
.hero-locations {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 5rem;
	flex-wrap: wrap;
}

.hero-locations .location-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	min-width: 80px;
}

.hero-locations .location-dot {
	width: 16px;
	height: 16px;
	border: 2px solid white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	line-height: 0;
}

.hero-locations .location-dot::after {
	content: '';
	width: 4px;
	height: 4px;
	background: white;
	border-radius: 50%;
}

.hero-locations .location-name {
	color: white;
	font-size: 0.875rem;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.hero-locations,
	.hero-locations.wp-block-group {
		display: grid !important;
		grid-template-columns: auto auto !important;
		gap: 1rem 2.5rem !important;
		justify-content: center;
		justify-items: center;
	}

	.hero-locations .location-item {
		min-width: unset;
	}
}

/* Outline button for Portofoliu */
.btn-outline-white .wp-block-button__link {
	background: transparent !important;
	border: 2px solid white !important;
	color: white !important;
}

.btn-outline-white .wp-block-button__link:hover {
	background: white !important;
	color: #07632e !important;
}

/* Team Section */
.team-section {
	background: linear-gradient(180deg, rgba(7, 99, 46, 1) 0%, rgba(59, 175, 87, 1) 100%) !important;
	padding: 60px 0 100px 0 !important;
	margin-top: 0;
}

.team-section > .wp-block-group {
	max-width: 940px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.team-section h3.wp-block-heading {
	color: #fff !important;
	font-size: 36px !important;
	font-weight: 700 !important;
	padding: 0 !important;
	margin: 0 auto 60px auto !important;
	text-align: center !important;
	max-width: 100%;
}

.wp-block-columns.team-grid {
	max-width: 940px;
	margin: 0 auto;
	gap: 20px !important;
	flex-wrap: wrap !important;
}

.wp-block-columns.team-grid .wp-block-column {
	width: calc(50% - 10px) !important;
	flex-basis: calc(50% - 10px) !important;
	max-width: 460px !important;
}

/* Team Member Card - matches reference site exactly */
.team-member-card {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1 !important;
	min-height: unset !important;
}

/* Image zoom on hover */
.team-member-card .wp-block-cover__image-background {
	transition: transform 0.3s ease;
}

.team-member-card:hover .wp-block-cover__image-background {
	transform: scale(1.05);
}

/* Overlay - green tint with text */
.team-member-card .wp-block-cover__inner-container {
	opacity: 0;
	transition: 0.3s;
	background-color: rgba(7, 99, 46, 0.32);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px;
	z-index: 2;
}

.team-member-card:hover .wp-block-cover__inner-container {
	opacity: 1;
}

/* Hide WordPress default overlay */
.team-member-card .wp-block-cover__background {
	opacity: 0 !important;
}

/* Name text */
.team-member-card .wp-block-cover__inner-container p {
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	margin: 0;
}

/* Separator line */
.team-member-card .wp-block-separator {
	width: 80%;
	height: 1px;
	margin: 8px auto;
	border: none;
	background-color: #fff;
	opacity: 1;
}

/* Broader Team Section - Extracted from reference: 2025-12-21
   Background: rgba(165, 183, 156, 0.2)
   Padding: 75px 0 250px
   Title: 34px/40.8px, 700 weight, dark gray
   Big Number: 90px, 700 weight, green
   H5: 20px, 700 weight, green
   Description: 16px/24px, dark gray */
.broader-team-section {
	background: rgba(165, 183, 156, 0.2) !important;
	padding: 75px 30px !important;
}

.broader-team-section > .wp-block-columns {
	max-width: 1200px;
	margin: 0 auto;
}

.broader-team-section h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 34px !important;
	font-weight: 700;
	line-height: 40.8px;
	color: rgb(33, 37, 41) !important;
}

/* Romania site: larger heading to match values section */
.broader-team-section--ro h2 {
	font-size: 48px !important;
	line-height: 1.2;
}

/* 750 + subtitle row */
.broader-team-stat {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	gap: 20px !important;
}

/* Big number "750" */
.broader-team-number {
	font-family: 'Poppins', sans-serif;
	font-size: 90px !important;
	font-weight: 700;
	line-height: 1;
	color: rgb(7, 99, 46) !important;
	margin: 0 !important;
	flex-shrink: 0;
	white-space: nowrap;
}

/* Subtitle next to number */
.broader-team-subtitle {
	font-family: 'Poppins', sans-serif;
	font-size: 20px !important;
	font-weight: 700;
	color: rgb(7, 99, 46) !important;
	line-height: 1.4;
	margin: 0 !important;
	padding-top: 25px;
}

/* Description paragraph */
.broader-team-section .text-base,
.broader-team-section .mt-8:not(.wp-block-buttons) {
	font-family: 'Poppins', sans-serif;
	font-size: 16px !important;
	line-height: 24px;
	color: rgb(33, 37, 41) !important;
}

/* About Us CTA link with arrow */
.broader-team-cta {
	display: flex !important;
	align-items: center !important;
	gap: 15px !important;
	margin-top: 50px !important;
}

.broader-team-cta figure {
	margin: 0 !important;
	flex-shrink: 0;
	width: auto !important;
	max-width: 28px !important;
}

.broader-team-cta img {
	width: 28px !important;
	height: 29px !important;
}

.broader-team-link {
	margin: 0 !important;
}

.broader-team-link a {
	color: rgb(7, 99, 46) !important;
	font-family: 'Poppins', sans-serif;
	font-size: 20px !important;
	font-weight: 500;
	text-decoration: none;
}

.broader-team-link a:hover {
	text-decoration: underline;
}

/* ========================================
   GARDENPOINT SECTION (Romania)
   ======================================== */
.gardenpoint-section {
	background: #fff;
	padding: 80px 15px !important;
}

.gardenpoint-title {
	color: #07632e !important;
	font-family: 'Poppins', sans-serif !important;
	margin-bottom: 10px !important;
	line-height: 1.1 !important;
}

/* Sublink - large black text like reference (60px, black, bold) */
.gardenpoint-link {
	font-size: 60px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	margin-top: 0 !important;
}

.gardenpoint-link a {
	color: #000 !important;
	text-decoration: none;
}

.gardenpoint-link a:hover {
	text-decoration: underline;
}

.gardenpoint-text {
	color: #333;
	max-width: 600px;
}

.gardenpoint-leaf-icon {
	flex-shrink: 0;
}

/* Header row - border and spacing like reference */
.gardenpoint-header {
	border-bottom: 1px solid rgb(7, 99, 46) !important;
	padding-bottom: 40px !important;
	margin-bottom: 30px !important;
	align-items: flex-end !important;
}

/* Leaf link wrapper */
.gardenpoint-leaf-link {
	display: block;
	flex-shrink: 0;
}

.gardenpoint-leaf-link img {
	display: block;
}

.gardenpoint-buttons {
	gap: 15px !important;
}

/* Category buttons - pill shape like reference */
.gardenpoint-category-btn .wp-block-button__link {
	background: #07632e !important;
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 10px 14px !important;
	border-radius: 30px !important;
	transition: background 0.3s ease;
}

.gardenpoint-category-btn .wp-block-button__link:hover {
	background: #054d23 !important;
}

/* Button icons via ::before pseudo elements */
.gardenpoint-category-btn .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-right: 5px;
	vertical-align: middle;
}

.gardenpoint-btn-arbusti .wp-block-button__link::before {
	background-image: url('../images/icons/gardenpoint-arbusti.svg');
}
.gardenpoint-btn-conifere .wp-block-button__link::before {
	background-image: url('../images/icons/gardenpoint-conifere.svg');
}
.gardenpoint-btn-plante .wp-block-button__link::before {
	background-image: url('../images/icons/gardenpoint-plante.svg');
}
.gardenpoint-btn-ierburi .wp-block-button__link::before {
	background-image: url('../images/icons/gardenpoint-ierburi.svg');
}
.gardenpoint-btn-mobilier .wp-block-button__link::before {
	background-image: url('../images/icons/gardenpoint-mobilier.svg');
}
.gardenpoint-btn-rulouri .wp-block-button__link::before {
	background-image: url('../images/icons/gardenpoint-rulouri.svg');
}

/* CTA - plain text link, not button */
.gardenpoint-cta-link {
	color: #07632e !important;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.gardenpoint-cta-link:hover {
	text-decoration: underline;
}

/* Banner image - decorative row */
.gardenpoint-banner {
	height: 400px;
	background-image: url('../images/garden-center-home-bg-ecogarden.jpg');
	background-size: cover;
	background-position: center;
	border-radius: 25px;
}

/* Gardenpoint Mobile */
@media (max-width: 767px) {
	.gardenpoint-title {
		font-size: 45px !important;
	}

	.gardenpoint-link {
		font-size: 36px !important;
	}

	.gardenpoint-header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 20px !important;
	}

	.gardenpoint-content {
		flex-direction: column !important;
	}

	.gardenpoint-content .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
	}

	.gardenpoint-cta-wrap {
		text-align: left !important;
		margin-top: 20px;
	}

	.gardenpoint-buttons {
		justify-content: flex-start !important;
	}

	.gardenpoint-banner {
		height: 250px;
	}
}

/* ========================================
   NEWSLETTER SECTION - Extracted from reference: 2025-12-21
   Background: rgb(249, 249, 249)
   Padding: 80px 0 40px
   Box: white bg, 16px border-radius, 30px padding, box-shadow
   Title: 28px, 600 weight
   Input: 400px width, 44px height, 8px border-radius, 1px border
   Button: #3BAF57 bg, white text, 8px border-radius
   ======================================== */

.newsletter-section {
	background: rgb(249, 249, 249) !important;
	padding: 80px 30px 40px !important;
}

.newsletter-section > .wp-block-group {
	background: #fff !important;
	border-radius: 16px !important;
	padding: 30px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	text-align: center;
}

.newsletter-section h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 28px !important;
	font-weight: 600;
	margin-bottom: 20px;
}

.newsletter-section .text-egc-green {
	color: #3BAF57 !important;
}

.newsletter-section input[type="email"] {
	padding: 12px 16px;
	width: 100%;
	max-width: 400px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 16px;
	background-color: rgb(247, 247, 247);
}

.newsletter-section input[type="submit"] {
	background-color: #3BAF57 !important;
	color: #fff;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	border-radius: 8px;
	cursor: pointer;
}

.newsletter-section input[type="submit"]:hover {
	opacity: 0.9;
}

/* ========================================
   PARTNERS SECTION - Extracted from reference: 2025-12-21
   Padding: 120px 0 0
   H3: 28px, 500 weight, green rgb(6, 99, 46), center, margin-bottom 40px
   ======================================== */

.partners-section {
	padding: 40px 30px 40px !important;
	background: transparent !important;
}

.partners-section h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 28px !important;
	font-weight: 500;
	color: rgb(6, 99, 46) !important;
	text-align: center;
	margin-bottom: 40px !important;
	line-height: 33.6px;
}

/* Partners logos - flex wrap, centered rows */
.partners-logos {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center;
	align-items: center;
	gap: 30px 40px !important;
	max-width: 1000px;
	margin: 0 auto;
}

/* Override WordPress gallery defaults */
.partners-logos.wp-block-gallery {
	display: flex !important;
}

.partners-logos.wp-block-gallery.is-cropped .wp-block-image {
	aspect-ratio: unset !important;
}

/* Override WordPress gallery column widths */
.partners-logos.columns-5 .wp-block-image,
.partners-logos.columns-4 .wp-block-image,
.partners-logos.columns-3 .wp-block-image {
	width: auto !important;
	flex-basis: auto !important;
}

.partners-logos .wp-block-image,
.partners-logos figure.wp-block-image {
	margin: 0 !important;
	flex: 0 0 auto !important;
	flex-grow: 0 !important;
	width: auto !important;
	max-width: none !important;
}

.partners-logos .wp-block-image img,
.partners-logos figure img {
	height: 60px !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain !important;
}

/* Prevent last item from stretching to fill row */
.partners-logos .wp-block-image:last-child {
	flex-grow: 0 !important;
}

/* ========================================
   PARTNERS SECTION - ROMANIA
   Swiper carousel with drag functionality
   ======================================== */

.partners-section-ro {
	padding: 60px 30px 40px 30px;
	background: transparent;
}

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

.partners-title-ro {
	font-family: 'Poppins', sans-serif;
	font-size: 45px;
	font-weight: 700;
	color: #07632e;
	line-height: 1.2;
	text-align: left;
	margin: 0 0 40px 0;
}

/* Swiper container */
.partners-slider-ro {
	overflow: hidden;
	width: 100%;
}

.partners-slider-ro .swiper-container {
	overflow: visible;
}

.partners-slider-ro .swiper-wrapper {
	transition-timing-function: linear;
}

/* Individual logo slide */
.partners-slider-ro .swiper-slide.partner-logo-ro {
	width: 150px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.partner-logo-ro img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.partners-section-ro {
		padding: 40px 15px 30px 15px;
	}

	.partners-title-ro {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.partners-slider-ro .swiper-slide.partner-logo-ro {
		width: 120px;
		height: 80px;
	}
}

/* ========================================
   FOOTER - Extracted from reference: 2025-12-21
   Background: rgb(7, 99, 46)
   Padding: 20px 0
   Links: white, 14px, 300 weight
   Copyright: #ccc, 13.6px, center
   ======================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	background-color: rgb(7, 99, 46) !important;
}


.footer-logo img {
	width: 200px !important;
}

.col-logo p {
	font-weight: 300;
	padding-right: 35%;
}

.col-list {
	text-align: right;
}

.col-list p {
	font-weight: 300;
}

.footer-menu {
	justify-content: flex-end;
}

/* Footer links - 14px, 300 weight, white, underlined */
.footer-menu a {
	font-family: 'Poppins', sans-serif;
	font-size: 14px !important;
	font-weight: 300;
	color: rgb(255, 255, 255) !important;
	text-decoration: underline;
}

.footer-menu a:hover {
	opacity: 0.9;
}

/* Footer signature - 13.6px, #ccc, center */
.footer-signature {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 40px;
	margin-top: 15px;
}

.footer-signature p {
	font-family: 'Poppins', sans-serif;
	font-size: 13.6px !important;
	color: rgb(204, 204, 204) !important;
	text-align: center;
	margin: 0;
}

.footer-signature a {
	color: rgb(204, 204, 204) !important;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

/* Testimonials Grid */
.testimonials-section h2 {
	color: var(--wp--preset--color--primary);
	font-size: 36px;
	font-weight: 700;
}

.testimonials-grid {
	gap: 25px;
}

.testimonial-card {
	flex: 1 1 calc(33.333% - 20px);
	min-width: 280px;
	max-width: 380px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar img {
	border-radius: 50% !important;
	object-fit: cover;
	border: 3px solid var(--wp--preset--color--primary-light);
}

.testimonial-quote {
	color: #555;
	font-style: italic;
}

.testimonial-name {
	margin-bottom: 0;
}

/* Testimonial Slider */
.testimonial-slider-section h2 {
	font-size: 36px;
	font-weight: 700;
}

.testimonial-slider {
	position: relative;
}

.testimonial-slide {
	text-align: center;
}

.slide-avatar img {
	border-radius: 50% !important;
	object-fit: cover;
	border: 4px solid rgba(255, 255, 255, 0.3);
}

.slide-quote {
	font-style: italic;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.slider-navigation {
	gap: 20px;
	align-items: center;
}

.slider-prev,
.slider-next {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
	transition: background 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
	background: rgba(255, 255, 255, 0.3);
}

.slider-dots {
	gap: 10px;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: none;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dot:hover {
	background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
	background: #fff;
	transform: scale(1.2);
}

/* =====================================================
   Testimonials Slider Section (Romania - Swiper)
   ===================================================== */
.testimonials-slider-section {
	padding: 0;
}

.testimonials-slider-header {
	background: #07632e;
	padding: 50px 30px;
	text-align: center;
}

.testimonials-slider-title {
	color: #fff !important;
	font-size: 36px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin: 0 0 15px 0;
}

.testimonials-slider-subtitle {
	color: #fff;
	font-size: 16px;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Light variant - two-column layout matching Porto */
.testimonials-slider-header--light {
	background: transparent;
	padding: 0 0 40px 0;
	margin: 0 auto;
	max-width: 1200px;
	text-align: left;
}

.testimonials-header-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
}

.testimonials-header-col {
	flex: 1 1 45%;
	min-width: 300px;
}

.testimonials-slider-header--light .testimonials-slider-title {
	color: #07632e !important;
	font-size: 40px;
	font-weight: 700;
	line-height: 45px;
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
}

.testimonials-slider-header--light .testimonials-slider-subtitle {
	color: #000;
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
	max-width: none;
	margin: 0;
}

.testimonials-slider-header--light .testimonials-slider-subtitle strong {
	font-weight: 700;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
	.testimonials-slider-container {
		padding: 40px 15px;
	}

	.testimonials-slider-header--light {
		padding: 0 0 30px 0;
		margin: 0;
	}

	.testimonials-header-col {
		flex: 1 1 100%;
	}

	.testimonials-slider-header--light .testimonials-slider-title {
		font-size: 32px;
		line-height: 38px;
	}
}

.testimonials-slider-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 60px 30px;
	background: #f5f5f5;
}

.testimonials-slider-ro {
	position: relative;
	padding: 20px 20px 60px 20px;
	max-width: 1200px;
	margin: 0 auto -20px auto;
	overflow: hidden;
}

.testimonials-slider-ro .swiper-container {
	overflow: visible;
}

.testimonials-slider-ro .swiper-slide {
	height: auto;
}

/* Testimonial Card */
.testimonial-card-ro {
	background: #fff;
	border-radius: 15px;
	box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.15);
	padding: 20px 25px;
	text-align: left;
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 280px;
}

/* Author row: image + name/title side by side at TOP */
.testimonial-author-row-ro {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	flex-shrink: 0;
}

.testimonial-avatar-ro {
	flex-shrink: 0;
}

.testimonial-avatar-ro img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

/* Author info: name and title stacked */
.testimonial-author-info-ro {
	margin-left: 12px;
}

.testimonial-name-ro {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #020202;
	line-height: 1.2;
	margin-bottom: 2px;
}

.testimonial-role-ro {
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: #727272;
}

/* Quote text below author row */
.testimonial-quote-ro {
	color: #888;
	font-size: 14px;
	line-height: 1.5;
	font-style: italic;
	flex: 1;
}

/* Testimonials Slider Navigation (match portfolio slider) */
.testimonials-slider-ro .swiper-button-prev,
.testimonials-slider-ro .swiper-button-next {
	position: absolute;
	bottom: 0;
	top: auto;
	width: 40px;
	height: 40px;
	background: transparent;
	z-index: 10;
}

.testimonials-slider-ro .swiper-button-prev {
	left: calc(50% - 180px);
}

.testimonials-slider-ro .swiper-button-next {
	right: calc(50% - 180px);
}

.testimonials-slider-ro .swiper-button-prev::after,
.testimonials-slider-ro .swiper-button-next::after {
	display: none;
}

.testimonials-slider-ro .swiper-button-prev img,
.testimonials-slider-ro .swiper-button-next img {
	width: 40px;
	height: 40px;
}

/* Testimonials Slider Pagination */
.testimonials-slider-ro .swiper-pagination {
	position: absolute !important;
	bottom: 10px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: auto !important;
}

.testimonials-slider-ro .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(0, 0, 0, 0.25);
	opacity: 1;
	margin: 0 5px;
}

.testimonials-slider-ro .swiper-pagination-bullet-active {
	background: #07632e;
}

/* Testimonials Slider Mobile */
@media (max-width: 767px) {
	.testimonials-slider-title {
		font-size: 28px;
	}

	.testimonials-slider-subtitle {
		font-size: 14px;
	}

	.testimonials-slider-container {
		padding: 40px 15px;
	}

	.testimonial-card-ro {
		min-height: 280px;
	}

	.testimonials-slider-ro .swiper-button-prev {
		left: 10px;
	}

	.testimonials-slider-ro .swiper-button-next {
		right: 10px;
	}
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/*
 * Approach: Let flexbox handle wrapping naturally.
 * Only add CSS where WordPress defaults fail.
 * Minimal use of !important.
 */

/* -----------------------------------------
   TABLET (max-width: 768px)
   ----------------------------------------- */
@media (max-width: 768px) {
	/* Hero - override inline 60px */
	.hero-section h1 {
		font-size: 36px !important;
	}

	/* Services - stack */
	.services-grid {
		flex-direction: column;
	}

	/* Team - stack */
	.team-grid {
		flex-direction: column !important;
		align-items: center !important;
	}

	.team-grid .wp-block-column {
		max-width: 280px;
		width: 100%;
	}

	/* About - stack */
	.about-section > .wp-block-columns {
		flex-direction: column;
	}

	.about-section h2 {
		font-size: 32px;
		text-align: center;
	}

	/* Broader Team - stack */
	.broader-team-section > .wp-block-columns {
		flex-direction: column;
	}

	.broader-team-section .wp-block-group.is-layout-flex {
		flex-direction: column;
		text-align: center;
	}

	/* Footer - stack */
	.site-footer .wp-block-columns {
		flex-direction: column;
	}

	.site-footer .col-logo {
		flex-basis: 100% !important;
		width: 100% !important;
	}

	.col-list {
		text-align: left;
		margin-top: 20px;
	}

	.footer-menu {
		justify-content: flex-start;
	}
}

/* -----------------------------------------
   MOBILE (max-width: 480px)
   ----------------------------------------- */
@media (max-width: 480px) {
	/* Hero - force full width and smaller text */
	.hero-section,
	.hero-section .wp-block-cover__inner-container,
	.hero-section .wp-block-group {
		max-width: 100% !important;
		width: 100% !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		box-sizing: border-box !important;
	}

	.hero-section h1 {
		font-size: 22px !important;
		letter-spacing: 0 !important;
		word-break: break-word;
	}

	.hero-section p {
		font-size: 13px !important;
	}

	/* Team heading */
	.team-section h3.wp-block-heading {
		font-size: 22px !important;
	}

	/* Broader Team stat */
	.broader-team-section .has-primary-color {
		font-size: 48px;
	}

	/* Partners logos smaller */
	.partners-logos .wp-block-image img,
	.partners-logos figure img {
		height: 40px !important;
	}
}

/* ========================================
   PAGE HERO - responsive
   ======================================== */

@media (max-width: 480px) {
	.page-hero h1 {
		font-size: 28px !important;
		letter-spacing: 1px;
	}
}

/* ========================================
   CONTACT CTA FORM - input styling
   ======================================== */

.contact-cta-form input[type="text"],
.contact-cta-form input[type="email"],
.contact-cta-form input[type="tel"],
.contact-cta-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	margin-bottom: 15px;
}

.contact-cta-form textarea {
	min-height: 120px;
	resize: vertical;
}

.contact-cta-form input[type="submit"] {
	background: #07632e;
	color: #fff;
	border: none;
	padding: 5px 50px;
	border-radius: 15px;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
	display: block;
}

.contact-cta-form input[type="submit"]:hover {
	background: #065426;
}

@media (max-width: 768px) {
	.contact-cta-form input[type="submit"] {
		margin: 0 auto;
	}
}

/* ========================================
   BLOG GRID
   ======================================== */

.blog-grid {
	gap: 30px;
}

.blog-card {
	flex: 1 1 calc(33.333% - 30px);
	min-width: 300px;
	max-width: 380px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 12px 12px 0 0;
}

.blog-card h3 a {
	color: inherit;
	text-decoration: none;
}

.blog-card h3 a:hover {
	color: var(--wp--preset--color--primary);
}

.blog-pagination .page-numbers {
	display: inline-block;
	padding: 10px 15px;
	margin: 0 5px;
	border-radius: 5px;
	background: #fff;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	transition: background 0.3s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
	background: var(--wp--preset--color--primary);
	color: #fff;
}

/* ========================================
   RELATED POSTS
   ======================================== */

.related-posts-grid {
	gap: 25px;
}

.related-post-card {
	flex: 1 1 calc(33.333% - 25px);
	min-width: 280px;
	max-width: 350px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: transform 0.3s ease;
}

.related-post-card:hover {
	transform: translateY(-3px);
}

.related-post-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
}

.related-post-card h3 a {
	color: inherit;
	text-decoration: none;
}

.related-post-card h3 a:hover {
	color: var(--wp--preset--color--primary);
}

/* Related Posts Section Fixes */
.bg-gray-50 h2.text-egc-green {
	margin-bottom: 40px !important;
}

/* Ensure related post images fill their container */
.bg-gray-50 .wp-block-image img,
.bg-gray-50 figure img {
	width: 100% !important;
	height: 180px !important;
	object-fit: cover !important;
}

.bg-gray-50 .wp-block-image,
.bg-gray-50 figure.wp-block-image {
	margin: 0 !important;
}

/* Make entire related post card clickable */
.related-post-card {
	position: relative;
	cursor: pointer;
}

.related-post-card h3 a::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.related-post-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Related post cards - uniform height */
.related-post-card h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 56px;
}

.related-post-card p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Blog archive cards - uniform height + clickable */
.blog-card {
	position: relative;
	cursor: pointer;
}

.blog-card h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 56px;
}

.blog-card p.text-gray-600 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-card h3 a::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.blog-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ========================================
   ABOUT PAGE
   ======================================== */

/* Stats Grid */
.about-stats-grid {
	gap: 15px;
}

.about-stat-box {
	flex: 1 1 calc(50% - 15px);
	min-width: 120px;
	text-align: center;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
}

.about-map-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* MVV Section */
.about-mvv-section .mvv-row {
	margin: 0;
}

/* Values Grid */
.values-grid {
	gap: 30px;
}

.value-box {
	flex: 1 1 calc(25% - 30px);
	min-width: 220px;
	max-width: 280px;
	text-align: center;
	background: var(--wp--preset--color--background-alt);
	border-radius: 15px;
	transition: transform 0.3s ease;
}

.value-box:hover {
	transform: translateY(-5px);
}

.value-icon {
	margin: 0 auto;
}

.value-icon img {
	width: 60px;
	height: 60px;
}

/* About responsive */
@media (max-width: 768px) {
	.about-company-section .wp-block-columns,
	.about-quality-section .wp-block-columns {
		flex-direction: column;
	}

	.about-mvv-section .wp-block-columns {
		flex-direction: column;
		text-align: center;
	}

	.value-box {
		flex: 1 1 calc(50% - 20px);
	}
}

@media (max-width: 480px) {
	.value-box {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.about-stat-box {
		flex: 1 1 calc(50% - 10px);
	}
}

/* ========================================
   CONTACT PAGE STYLING
   ======================================== */

/* Contact section - NO background here, hero has it via cover block */
.contact-section-top {
	padding: 60px 0 80px;
}

.contact-top-left {
	width: 25%;
	padding-right: 50px;
}

.contact-top-right {
	width: 75%;
	padding-left: 50px;
}

.green-text {
	color: #1B5E20 !important;
}

.contact-info-list {
	margin-top: 50px;
}

.contact-info-list p {
	margin-bottom: 20px;
}

.contact-info-list a {
	color: #1E1E1E;
	text-decoration: none;
}

/* ========================================
   CONTACT FORM 7 STYLING
   ======================================== */

/* Bootstrap-style grid for CF7 */
.wpcf7-form .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.wpcf7-form [class*="col-"] {
	padding: 0 15px;
	margin-bottom: 15px;
	/* Base: 100% width (col-12 behavior) */
	flex: 0 0 100%;
	max-width: 100%;
}

/* col-sm-* kicks in at 576px+ */
@media (min-width: 576px) {
	.wpcf7-form .col-sm-4 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.wpcf7-form .col-sm-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.wpcf7-form .col-sm-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.wpcf7-form p {
	margin: 0;
}

/* Input styling - exact REF values */
.wpcf7-form-control:not([type="submit"]) {
	width: 100%;
	padding: 10px;
	border: 1px solid #e1e1e0;
	border-radius: 0;
	font-size: 13px;
	font-family: inherit;
	background: #fff;
}

.wpcf7-form-control:not([type="submit"]):focus {
	outline: none;
	border-color: #1B5E20;
}

.wpcf7-form textarea.wpcf7-form-control {
	min-height: 100px;
	resize: vertical;
}

/* Submit button - exact REF values */
.wpcf7-form [type="submit"] {
	background-color: #1B5E20;
	color: #fff;
	border: none;
	padding: 5px 50px;
	font-size: 14px;
	border-radius: 15px;
	cursor: pointer;
	display: block;
}

.wpcf7-form [type="submit"]:hover {
	background-color: #2E7D32;
}

@media (max-width: 768px) {
	.wpcf7-form [type="submit"] {
		margin: 0 auto;
	}
}

/* Responsive */
@media (max-width: 576px) {
	.wpcf7-form .col-sm-4 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.contact-top-left,
	.contact-top-right {
		width: 100%;
		padding: 0;
	}
}

/* ========================================
   SERVICE PAGES - Mobile First (375px)
   Design & Planning, Implementation, etc.
   ======================================== */

/* Service page content wrapper */
.service-page-content {
	background: #fff !important;
}

/* Service page hero - 400px height */
.service-page-content + footer {
	margin-top: 0 !important;
}

/* Override generic hero styles for service pages - now unified with other subpage heroes */
.service-page-hero.wp-block-cover {
	min-height: 450px !important;
	height: auto !important;
	padding: 60px 0 !important;
}

.service-page-hero h1 {
	font-size: 48px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* Mobile override for service page hero */
@media (max-width: 768px) {
	.service-page-hero.wp-block-cover {
		min-height: 300px !important;
	}

	.service-page-hero h1 {
		font-size: 32px !important;
		line-height: 38px !important;
	}

	.service-page-hero p {
		font-size: 15px !important;
		line-height: 22px !important;
	}
}

/* Service intro section */
.service-intro-section {
	padding: 75px 15px 80px !important;
	background: #fff !important;
}

.service-intro-row {
	max-width: 1380px !important;
	margin: 0 auto !important;
}

.service-intro-section h2 {
	font-size: 32px !important;
	font-weight: 600 !important;
	color: #212529 !important;
	margin-bottom: 30px !important;
	text-transform: uppercase !important;
}

.service-intro-section p {
	font-size: 16px !important;
	line-height: 24px !important;
	color: #212529 !important;
}

/* Service roadmap/design stages section */
.service-roadmap-section {
	background: #07632e !important;
	padding: 50px 15px !important;
	position: relative !important;
}

/* Curve 1: Top of roadmap section (green curve extending into white intro) */
.service-roadmap-section::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 4vw;
	top: -3.9vw;
	left: 0;
	background-image: url('/wp-content/themes/egc-theme/assets/images/decorative/service-roadmap-curve-top.svg');
	background-size: cover;
	background-position: 0% 0%;
	z-index: 1;
}

/* Curve 2: Bottom of roadmap section (green curve extending into benefits) */
.service-roadmap-section::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 4vw;
	bottom: -3.9vw;
	left: 0;
	background-image: url('/wp-content/themes/egc-theme/assets/images/decorative/service-roadmap-curve-bottom.svg');
	background-size: cover;
	background-position: 50% 100%;
	z-index: 1;
}

.service-roadmap-section h3 {
	font-size: 34px !important;
	font-weight: 700 !important;
	color: #fff !important;
	text-transform: none !important;
	text-align: center !important;
	margin-bottom: 40px !important;
}

/* Roadmap cards container - stack on mobile */
.service-roadmap-cards {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: wrap !important;
	gap: 20px !important;
	max-width: 345px !important;
	margin: 0 auto !important;
}

/* Individual roadmap card */
.service-roadmap-card {
	background: #fff !important;
	border-radius: 15px !important;
	padding: 30px 20px !important;
	text-align: center !important;
	width: 100% !important;
}

/* Fix WordPress layout class override */
.service-roadmap-card.is-layout-flow {
	display: block !important;
}

/* Icon figure container - override WordPress table display */
.service-roadmap-card .roadmap-icon {
	display: block !important;
	margin: 0 auto 20px !important;
	width: 80px !important;
	height: 80px !important;
}

.service-roadmap-card .roadmap-icon img {
	width: 80px !important;
	height: 80px !important;
	margin: 0 auto !important;
	display: block !important;
}

.service-roadmap-card h4 {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: #212529 !important;
	margin-bottom: 15px !important;
	text-align: center !important;
}

.service-roadmap-card p {
	font-size: 16px !important;
	line-height: 24px !important;
	color: #212529 !important;
	text-align: center !important;
	margin: 0 !important;
}

/* Service benefits section - light green bg */
.service-benefits-section {
	background: rgba(165, 183, 156, 0.2) !important;
	padding: 60px 15px !important;
}

.service-benefits-row {
	max-width: 1380px !important;
	margin: 0 auto !important;
}

.service-benefits-section h3 {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #212529 !important;
	margin-bottom: 30px !important;
}

/* Benefits list with checkmarks */
.service-benefits-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.service-benefits-list li {
	padding-left: 40px !important;
	margin-bottom: 20px !important;
	position: relative !important;
	font-size: 16px !important;
	line-height: 24px !important;
	color: #212529 !important;
}

.service-benefits-list li::before {
	content: '' !important;
	position: absolute !important;
	left: 0 !important;
	top: 2px !important;
	width: 24px !important;
	height: 24px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2307632e'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
}

.service-benefits-list li strong {
	display: block !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	margin-bottom: 5px !important;
}

/* Footer fix */
footer.wp-block-template-part {
	background: #07632e !important;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
	visibility: hidden !important;
	opacity: 0 !important;
}

/* Contact CTA section */
.contact-cta-section {
	background: #07632e !important;
	padding: 60px 15px 80px !important;
	text-align: center !important;
	overflow: hidden !important;
	margin-bottom: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
}

.contact-cta-section h2 {
	font-size: 34px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin-bottom: 15px !important;
}

.contact-cta-section > p {
	font-size: 16px !important;
	color: #fff !important;
	margin-bottom: 30px !important;
}

.contact-cta-form {
	background: #fff !important;
	border-radius: 15px !important;
	padding: 30px 15px !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	box-sizing: border-box !important;
}

.contact-cta-form .wpcf7-form {
	max-width: 100% !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

.contact-cta-form .wpcf7-form * {
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.contact-cta-form input,
.contact-cta-form textarea {
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* ========================================
   SERVICE PAGES - Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
	.service-page-hero.wp-block-cover {
		min-height: 450px !important;
		height: auto !important;
	}

	.service-page-hero h1 {
		font-size: 48px !important;
		text-transform: none !important;
	}

	.service-intro-section {
		padding: 100px 30px !important;
	}

	.service-intro-row {
		display: flex !important;
		flex-direction: row !important;
		gap: 0 !important;
	}

	.service-title-col {
		width: 50% !important;
		flex-shrink: 0 !important;
	}

	.service-desc-col {
		width: 50% !important;
		flex-shrink: 0 !important;
		min-height: 144px !important;
	}

	.service-intro-section h2 {
		font-size: 40px !important;
		margin-bottom: 0 !important;
	}

	.service-roadmap-section {
		padding: 80px 30px !important;
	}

	.service-roadmap-section h3 {
		text-align: left !important;
		max-width: 1300px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.service-roadmap-cards {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		justify-content: flex-start !important;
		gap: 50px !important;
		max-width: 1380px !important;
	}

	.service-roadmap-card {
		width: calc(25% - 38px) !important;
		min-width: 280px !important;
	}
	
	.service-benefits-section {
		padding: 80px 30px !important;
	}

	.service-benefits-row {
		display: flex !important;
		flex-direction: row !important;
		gap: 0 !important;
	}

	.service-benefits-title-col {
		width: 26.2% !important;
		flex-shrink: 0 !important;
	}

	.service-benefits-content-col {
		width: 73.8% !important;
		flex-shrink: 0 !important;
	}

	.service-benefits-section h3 {
		font-size: 34px !important;
		font-weight: 700 !important;
		line-height: 40.8px !important;
		margin-bottom: 8px !important;
	}
	
	.contact-cta-section {
		padding: 90px 30px !important;
	}
	
	.contact-cta-form {
		padding: 40px !important;
		max-width: 1000px !important;
	}
}

/* ========================================
   SERVICE PAGE HERO BUTTONS
   ======================================== */

/* Hero buttons container */
.service-page-hero .hero-buttons {
	gap: 15px !important;
	margin-top: 30px !important;
}

/* Secondary button (white outline) - "Request an offer" */
.hero-btn-secondary .wp-block-button__link {
	background: transparent !important;
	border: 2px solid #fff !important;
	color: #fff !important;
	padding: 10px 25px !important;
	border-radius: 50px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}

.hero-btn-secondary .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1) !important;
}

/* Primary button (solid green) - "Portfolio" */
.hero-btn-primary .wp-block-button__link {
	background: #07632e !important;
	border: 2px solid #07632e !important;
	color: #fff !important;
	padding: 10px 25px !important;
	border-radius: 50px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}

.hero-btn-primary .wp-block-button__link:hover {
	background: #065426 !important;
	border-color: #065426 !important;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
	background: #f9f9f9 !important;
	padding: 60px 15px 60px !important;
}

.newsletter-section .bg-white {
	background: #fff !important;
	border-radius: 15px !important;
	padding: 40px 20px !important;
	text-align: center !important;
}

.newsletter-section h3 {
	font-size: 24px !important;
	font-weight: 600 !important;
	color: #212529 !important;
	margin-bottom: 20px !important;
}

.newsletter-section h3 .text-egc-green {
	color: #07632e !important;
}

.newsletter-section form {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 15px !important;
}

.newsletter-section input[type="email"] {
	width: 100% !important;
	max-width: 400px !important;
	padding: 12px 16px !important;
	border: 1px solid #ddd !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	box-sizing: border-box !important;
}

.newsletter-section input[type="submit"] {
	background: #a5b79c !important;
	color: #fff !important;
	border: none !important;
	padding: 12px 30px !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	cursor: pointer !important;
}

.newsletter-section input[type="submit"]:hover {
	background: #8fa385 !important;
}

/* Desktop newsletter */
@media (min-width: 1024px) {
	.newsletter-section {
		padding: 80px 30px 80px !important;
	}

	.newsletter-section .bg-white {
		padding: 60px 40px !important;
	}
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

/* Portfolio Section Top - Intro */
.portfolio-section-top {
	padding: 80px 20px;
	background: #fff;
}

.portfolio-section-row {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	max-width: 1400px;
	margin: 0 auto;
}

.portfolio-section-title {
	flex: 0 0 100%;
}

.portfolio-section-title .section-title {
	font-size: 36px;
	line-height: 1.1;
	font-weight: 700;
	margin: 0;
}

.portfolio-section-title .section-title.green-text {
	color: #07632e;
}

.portfolio-section-desc {
	flex: 0 0 100%;
}

.portfolio-section-desc p {
	color: #666;
	line-height: 1.7;
	margin-bottom: 20px;
}

.portfolio-section-desc p:last-child {
	margin-bottom: 0;
}

@media (min-width: 1024px) {
	.portfolio-section-title {
		flex: 0 0 35%;
	}

	.portfolio-section-title .section-title {
		font-size: 48px;
	}

	.portfolio-section-desc {
		flex: 0 0 calc(65% - 40px);
	}
}

/* Portfolio Content Container */
.portfolio-content {
	padding: 30px 20px !important;
}

.portfolio-content.light-theme-bg {
	background: #f5f5f0;
}

/* Portfolio Items Grid */
.portfolio-items {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	max-width: 1400px;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.portfolio-items {
		gap: 50px;
	}
}

/* Portfolio Item Card */
.portfolio-item {
	position: relative;
	width: 100%;
	height: 350px;
	padding: 20px;
	border-radius: 15px;
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
	box-sizing: border-box;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.portfolio-item:hover {
	transform: scale(1.02);
}

@media (min-width: 768px) {
	.portfolio-item {
		height: 400px;
	}
}

@media (min-width: 1024px) {
	.portfolio-item {
		height: 450px;
	}

	.portfolio-item.layout60 {
		width: calc(60% - 25px);
	}

	.portfolio-item.layout40 {
		width: calc(40% - 25px);
	}
}

.portfolio-item.hidden {
	display: none;
}

/* Category Badge */
.portfolio-categories {
	position: absolute;
	top: 15px;
	right: 15px;
	padding: 5px 12px;
	background: #07632e;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
}

/* Info Overlay */
.portfolio-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	min-height: 100px;
	padding: 60px 20px 20px;
	background: linear-gradient(
		rgba(70, 189, 97, 0) 0%,
		rgba(54, 146, 75, 0.17) 18.5%,
		rgba(32, 87, 45, 0.4) 100%
	);
	border-radius: 0 0 15px 15px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

@media (min-width: 1024px) {
	.portfolio-info {
		padding: 60px 30px 30px;
	}
}

.portfolio-info h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
}

@media (min-width: 1024px) {
	.portfolio-info h2 {
		font-size: 32px;
		margin-bottom: 15px;
	}
}

.portfolio-info h2 a {
	color: #fff;
	text-decoration: none;
}

.portfolio-info h2 a:hover {
	text-decoration: none;
}

/* Stretch link to cover entire card */
.portfolio-info h2 a::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.portfolio-meta-items {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 0;
}

.portfolio-meta {
	font-size: 12px;
	opacity: 0.9;
}

/* Portfolio Filter */
.portfolio-filter-wrapper {
	padding: 0 20px;
	margin-top: 60px;
	margin-bottom: 60px;
	position: relative;
	z-index: 10;
}

.portfolio-filter {
	background: #fff;
	padding: 20px 30px;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	max-width: 1400px;
	margin: 0 auto;
}

.portfolio-filter a {
	display: inline-block;
	padding: 8px 16px;
	margin: 5px;
	color: #07632e;
	font-weight: 700;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.2s ease;
}

.portfolio-filter a:hover {
	background: rgba(7, 99, 46, 0.1);
}

.portfolio-filter a.active {
	background: #07632e;
	color: #fff;
}

/* ========================================
   PORTFOLIO SINGLE PAGE
   ======================================== */

/* Portfolio Single Section */
.portfolio-single-section {
	position: relative;
	font-family: 'Poppins', sans-serif;
}

/* Portfolio Gallery */
.portfolio-gallery {
	padding: 0 0 45px;
	margin: 0 auto;
	max-width: 1200px;
	overflow: hidden;
}

/* Portfolio Carousel */
.portfolio-carousel {
	padding: 10px 0 30px;
	position: relative;
}

/* Swiper Slides */
.portfolio-carousel .swiper-container {
	width: 100%;
	margin: 0 auto;
	padding: 0 0 25px;
}

.portfolio-carousel .swiper-slide {
	text-align: center;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.portfolio-carousel .swiper-slide a {
	width: 100%;
	display: block;
}

.portfolio-carousel .swiper-slide img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 10px;
}

@media (max-width: 767px) {
	.portfolio-carousel .swiper-slide img {
		height: auto;
		aspect-ratio: 3 / 2;
	}
}

/* Swiper Navigation */
.portfolio-carousel .swiper-button-prev,
.portfolio-carousel .swiper-button-next {
	position: absolute;
	top: auto;
	bottom: 0;
	height: auto;
	z-index: 10;
	width: 40px;
	margin-top: 0;
}

.portfolio-carousel .swiper-button-prev {
	left: calc(50% - 200px);
}

.portfolio-carousel .swiper-button-next {
	right: calc(50% - 200px);
}

.portfolio-carousel .swiper-button-prev::after,
.portfolio-carousel .swiper-button-next::after {
	display: none;
}

.portfolio-carousel .swiper-button-prev img,
.portfolio-carousel .swiper-button-next img {
	width: 40px;
	height: 40px;
}

@media (max-width: 767px) {
	.portfolio-carousel .swiper-button-prev {
		left: 15px;
	}
	.portfolio-carousel .swiper-button-next {
		right: 15px;
	}
}

/* Swiper Pagination */
.portfolio-carousel .swiper-pagination {
	position: absolute !important;
	bottom: 5px !important;
	left: 50% !important;
	transform: translateX(-50%);
	width: auto !important;
}

.portfolio-carousel .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(0, 0, 0, 0.25);
	opacity: 1;
	margin: 0 5px;
}

.portfolio-carousel .swiper-pagination-bullet-active {
	background: #07632e;
}

/* =====================================================
   Portfolio Slider Section (Homepage)
   ===================================================== */
.portfolio-slider-section {
	padding: 75px 30px 40px 30px;
	background: #f9f9f9;
}

.portfolio-slider-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.portfolio-slider-heading {
	font-family: 'Poppins', sans-serif;
	font-size: 48px;
	font-weight: 700;
	color: #07632e;
	margin: 0 0 40px 0;
}

.portfolio-slider {
	position: relative;
	padding-bottom: 50px;
}

.portfolio-slider .swiper-container {
	overflow: hidden;
	padding: 15px;
	margin: -15px;
}

.portfolio-slide-card {
	display: block;
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	height: 400px;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-slide-card:hover {
	transform: scale(1.03);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.portfolio-slide-card .slide-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.3s ease;
}

.portfolio-slide-card .slide-image--placeholder {
	background: linear-gradient(135deg, #07632e 0%, #0a8a3e 100%);
}

/* Image no longer scales separately - card scales instead */

.portfolio-slide-card .slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
	pointer-events: none;
}

.slide-categories {
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	z-index: 2;
}

.slide-category {
	background: #07632e;
	color: white;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.slide-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 25px;
	z-index: 2;
}

.slide-title {
	color: white;
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 5px 0;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.slide-location {
	color: rgba(255,255,255,0.8);
	font-size: 14px;
}

/* Portfolio Slider Navigation */
.portfolio-slider .swiper-button-prev,
.portfolio-slider .swiper-button-next {
	position: absolute;
	bottom: 0;
	top: auto;
	width: 40px;
	height: 40px;
	margin-top: 0;
	z-index: 10;
}

.portfolio-slider .swiper-button-prev {
	left: calc(50% - 180px);
}

.portfolio-slider .swiper-button-next {
	right: calc(50% - 180px);
}

.portfolio-slider .swiper-button-prev::after,
.portfolio-slider .swiper-button-next::after {
	display: none;
}

.portfolio-slider .swiper-button-prev img,
.portfolio-slider .swiper-button-next img {
	width: 40px;
	height: 40px;
}

/* Portfolio Slider Pagination */
.portfolio-slider .swiper-pagination {
	position: absolute !important;
	bottom: 10px !important;
	left: 50% !important;
	transform: translateX(-50%);
	width: auto !important;
}

.portfolio-slider .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(0, 0, 0, 0.25);
	opacity: 1;
	margin: 0 5px;
}

.portfolio-slider .swiper-pagination-bullet-active {
	background: #07632e;
}

/* Portfolio Slider CTA */
.portfolio-slider-cta {
	text-align: center;
	margin-top: 30px;
}

.portfolio-slider-link {
	display: inline-block;
	color: #07632e;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid #07632e;
	padding-bottom: 2px;
	transition: opacity 0.3s;
}

.portfolio-slider-link:hover {
	opacity: 0.7;
}

/* Portfolio Slider Mobile */
@media (max-width: 767px) {
	.portfolio-slider-heading {
		font-size: 36px;
		margin-bottom: 30px;
	}

	.portfolio-slide-card {
		height: 350px;
	}

	.portfolio-slider .swiper-button-prev {
		left: 10px;
	}

	.portfolio-slider .swiper-button-next {
		right: 10px;
	}
}

/* Mobile: Clip pagination to show only visible bullets */
@media (max-width: 1023px) {
	.portfolio-slider .swiper-pagination {
		max-width: 200px !important;
		overflow: hidden !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* Portfolio Description */
.portfolio-description {
	font-family: 'Poppins', sans-serif;
	line-height: 1.7;
}

.portfolio-description p {
	margin-bottom: 20px;
	color: #666;
}

.portfolio-description h2,
.portfolio-description h3 {
	color: #333;
	margin-bottom: 15px;
}

.portfolio-description ul,
.portfolio-description ol {
	padding-left: 30px;
	margin: 15px 0;
}

.portfolio-description ul {
	list-style-type: disc;
}

.portfolio-description ol {
	list-style-type: decimal;
}

.portfolio-description li {
	margin-bottom: 8px;
	color: #666;
}

.portfolio-description strong {
	font-weight: 600;
	color: #333;
}

/* Portfolio Details Sidebar */
.portfolio-details {
	background: #f5f5f0 !important;
}

/* Portfolio Meta List (Sidebar) */
.portfolio-meta-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.portfolio-meta-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.portfolio-meta-item .meta-label {
	font-size: 12px;
	text-transform: uppercase;
	color: #999;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.portfolio-meta-item .meta-value {
	font-size: 16px;
	color: #07632e;
	font-weight: 500;
}

/* Related Portfolios */
.related-portfolios-section {
	background: #f5f5f0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
}

.related-portfolios-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.portfolio-item.related-item {
	width: calc(50% - 15px);
	height: 350px;
	border-radius: 15px;
	box-shadow: 3px 4px 15px rgba(0, 0, 0, 0.15);
}

.portfolio-item.related-item h3 {
	margin: 0;
	font-size: 20px;
}

.portfolio-item.related-item h3 a {
	color: #fff;
	text-decoration: none;
}

.portfolio-item.related-item h3 a::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

@media (max-width: 768px) {
	.portfolio-item.related-item {
		width: 100%;
		height: 280px;
	}
}

/* FancyBox Overrides */

/* Hide header and topbar when lightbox is open */
body.fancybox-active .site-header,
body.fancybox-active .topbar,
body.fancybox-active .header-placeholder {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Navigation arrows - at screen edges */
.fancybox-navigation .fancybox-button--arrow_left {
	left: 10px !important;
}

.fancybox-navigation .fancybox-button--arrow_right {
	right: 10px !important;
}

/* Single Page Hero - full image display */
.single-page-hero {
	width: 100%;
}

.single-hero-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Single Post Content Typography */
.single-post-content p,
.portfolio-single-content p {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 16px;
	color: rgb(33, 37, 41);
}

.single-post-content h2,
.portfolio-single-content h2 {
	margin-top: 24px;
	margin-bottom: 16px;
}

.single-post-content h3,
.portfolio-single-content h3 {
	margin-top: 20px;
	margin-bottom: 12px;
}
