/* ========================================================================
   GM Projects — Front End
   ======================================================================== */

:root {
	--gmp-accent: #ed252c;
	--gmp-text: #222;
	--gmp-muted: #5b5b5b;
	--gmp-border: #e2e2e2;
	--gmp-container: 1180px;
}

html.gmp-lightbox-open,
body.gmp-lightbox-open {
	overflow: hidden;
}

.gmp-single-project,
.gmp-carousel {
	font-family: inherit;
	color: var(--gmp-text);
}

.gmp-single-project *,
.gmp-carousel * {
	box-sizing: border-box;
}

/* Single hero */

.single-gm_project .site.grid-container {max-width:none;}

.gmp-project-hero {
	position: relative;
	width: 100%;
	min-height: clamp(360px, 48vw, 600px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
	isolation: isolate;
}

.gmp-project-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(0,0,0,.58) 0%, rgba(0,0,0,.13) 55%, rgba(0,0,0,.08) 100%);
}

.gmp-project-hero-inner {
	width: min(var(--gmp-container), calc(100% - 48px));
	margin: 0 auto;
	padding: 54px 0;
}

.gmp-project-hero h1 {
	color: #fff;
	font-size: clamp(2.4rem, 5vw, 4.7rem);
	line-height: .98;
	font-weight: 400;
	letter-spacing: -.035em;
	margin: 0;
}

/* Main project content */
.gmp-project-container {
	width: min(var(--gmp-container), calc(100% - 48px));
	margin: 0 auto;
	padding: 72px 0 88px;
}

.gmp-project-details {
	padding-bottom: 32px;
	border-bottom: 1px solid var(--gmp-border);
}
.gmp-project-details-primary {
	display: grid;
	grid-template-columns: repeat(var(--gmp-primary-columns, 4), minmax(0, 1fr));
	gap: 30px;
}
.gmp-project-details-scope {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 30px;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--gmp-border);
}
.gmp-project-details-scope-single { grid-template-columns: 1fr; }
.gmp-project-detail { font-size: 15px; line-height: 1.55; min-width: 0; overflow-wrap: anywhere; }
.gmp-project-detail-label { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.gmp-project-products { line-height: 1.7; }

.gmp-project-description {
	padding: 32px 0 48px;
}

.gmp-project-description h2 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
}

.gmp-project-description-content {
	font-size: 16px;
	line-height: 1.75;
}

.gmp-project-description-content > *:first-child {
	margin-top: 0;
}

.gmp-project-description-content > *:last-child {
	margin-bottom: 0;
}

/* Gallery */
.gmp-project-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
	margin-bottom: 82px;
}

.gmp-gallery-item {
	appearance: none;
	border: 0;
	padding: 0;
	margin: 0;
	background: #eee;
	aspect-ratio: 1.5 / 1;
	cursor: zoom-in;
	overflow: hidden;
}

.gmp-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.gmp-gallery-item:hover img {
	transform: scale(1.025);
}

/* Project testimonial */
.gmp-project-testimonial {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
	align-items: stretch;
	margin: 0 0 82px;
}

.gmp-project-testimonial-image {
	min-height: 300px;
	background: #eee;
	overflow: hidden;
}

.gmp-project-testimonial-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gmp-project-testimonial-card {
	position: relative;
	border: 1px solid var(--gmp-border);
	padding: 38px 48px 34px;
	background: #fff;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.gmp-project-testimonial-card h3 {
	font-size: 24px;
	line-height: 1.15;
	margin: 0 0 3px;
}

.gmp-project-testimonial-company {
	font-size: 16px;
	margin-bottom: 13px;
}

.gmp-project-testimonial-text {
	font-size: 15px;
	line-height: 1.6;
	padding-right: 42px;
}

.gmp-project-testimonial-text p {
	margin: 0;
}

.gmp-project-testimonial-quote {
	position: absolute;
	top: 22px;
	right: 30px;
	color: var(--gmp-accent);
	width: 48px;
	height: 34px;
}

.gmp-project-testimonial-quote svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.gmp-project-stars {
	display: flex;
	gap: 5px;
	margin-top: 18px;
}

.gmp-project-stars svg {
	width: 19px;
	height: 19px;
	fill: #d7d7d7;
}

.gmp-project-stars svg.is-on {
	fill: var(--gmp-accent);
}

/* CTA */
.gmp-project-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	background: var(--gmp-accent);
	color: #fff;
	padding: 36px 42px;
	margin-bottom: 46px;
}

.gmp-project-cta h2 {
	color: #fff;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	font-weight: 400;
	line-height: 1.05;
	margin: 0 0 7px;
}

.gmp-project-cta p {
	margin: 0;
	font-size: 15px;
}

.gmp-project-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	padding: 15px 26px;
	background: #fff;
	color: var(--gmp-accent);
	text-decoration: none;
	font-weight: 700;
	border-radius: 3px;
	transition: opacity .2s ease, transform .2s ease;
}

.gmp-project-cta-button:hover {
	color: var(--gmp-accent);
	opacity: .92;
	transform: translateY(-1px);
}

/* Back link */
.gmp-project-back {
	border-top: 1px solid var(--gmp-border);
	padding-top: 22px;
	margin-bottom: 72px;
}

.gmp-project-back a {
	color: inherit;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
}

.gmp-project-back a:hover {
	color: var(--gmp-accent);
}

/* Shared project card */
.gmp-card {
	position: relative;
	display: block;
	background-color: #273341;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
}

.gmp-card:hover,
.gmp-card:focus {
	color: #fff;
}

.gmp-card-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.12) 62%, rgba(0,0,0,.05) 100%);
	transition: background .25s ease;
}

.gmp-card:hover .gmp-card-overlay {
	background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.18) 62%, rgba(0,0,0,.08) 100%);
}

.gmp-card-content {
	position: absolute;
	left: 34px;
	right: 90px;
	bottom: 34px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gmp-card-title {
	font-size: clamp(2rem, 3.2vw, 3.8rem);
	line-height: .96;
	font-weight: 400;
	letter-spacing: -.035em;
}

.gmp-card-category {
	font-size: clamp(1rem, 1.35vw, 1.45rem);
	line-height: 1.2;
	font-weight: 600;
}

.gmp-card-button {
	position: absolute;
	right: 32px;
	bottom: 32px;
	width: 68px;
	height: 68px;
	background: var(--gmp-accent);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease, filter .2s ease;
}

.gmp-card:hover .gmp-card-button {
	transform: translateX(3px);
	filter: brightness(1.05);
}

.gmp-card-button svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: #fff;
	stroke-width: 2.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Related projects */
.gmp-related-projects h2 {
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 400;
	margin: 0 0 22px;
}

.gmp-related-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
}

.gmp-card-related {
	min-height: 325px;
}

.gmp-card-related .gmp-card-content {
	left: 20px;
	right: 62px;
	bottom: 22px;
}

.gmp-card-related .gmp-card-title {
	font-size: clamp(1.7rem, 2.2vw, 2.55rem);
}

.gmp-card-related .gmp-card-category {
	font-size: 14px;
}

.gmp-card-related .gmp-card-button {
	right: 18px;
	bottom: 18px;
	width: 48px;
	height: 48px;
	border-radius: 4px;
}

.gmp-card-related .gmp-card-button svg {
	width: 21px;
	height: 21px;
}

/* Featured-project infinite carousel */
.gmp-carousel {
	position: relative;
	width: 100%;
}

.gmp-carousel-viewport {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	touch-action: pan-y;
}

.gmp-carousel-track {
	display: flex;
	gap: 2px;
	will-change: transform;
	cursor: grab;
}

.gmp-carousel.is-dragging .gmp-carousel-track {
	cursor: grabbing;
}

.gmp-carousel-slide {
	flex: 0 0 36vw;
	min-width: 0;
}

.gmp-card-carousel {
	height: clamp(480px, 52vw, 650px);
}

.gmp-carousel-arrow {
	position: absolute;
	z-index: 5;
	top: 50%;
	transform: translateY(-50%);
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	width: 60px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	filter: drop-shadow(0 1px 4px rgba(0,0,0,.35));
}

.gmp-carousel-arrow svg {
	width: 48px;
	height: 48px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gmp-carousel-prev {
	left: 8px;
}

.gmp-carousel-next {
	right: 8px;
}

/* Lightbox */
.gmp-lightbox[hidden] {
	display: none !important;
}

.gmp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gmp-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.92);
}

.gmp-lightbox-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr) 90px;
	align-items: center;
}

.gmp-lightbox-image-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-height: 100vh;
	padding: 40px 0;
}

.gmp-lightbox-image-wrap img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 100px);
	object-fit: contain;
	box-shadow: 0 8px 40px rgba(0,0,0,.35);
}

.gmp-lightbox-count {
	margin-top: 12px;
	color: #fff;
	font-size: 14px;
}

.gmp-lightbox-close,
.gmp-lightbox-arrow {
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.gmp-lightbox-close {
	position: absolute;
	z-index: 2;
	top: 18px;
	right: 24px;
	width: 52px;
	height: 52px;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;

	font-size: 50px;
	font-family: Arial, sans-serif;
	font-weight: 300;
	line-height: 1;

	cursor: pointer;
}

.gmp-lightbox-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 120px;
}

.gmp-lightbox-arrow svg {
	width: 52px;
	height: 52px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Standalone card shortcode */
.gmp-card-standalone {
	min-height: 420px;
}

@media (max-width: 1024px) {
	.gmp-project-details-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.gmp-project-testimonial {
		grid-template-columns: 1fr 1fr;
	}

	.gmp-carousel-slide {
		flex-basis: 54vw;
	}

	.gmp-card-carousel {
		height: 520px;
	}
}

@media (max-width: 767px) {
	.gmp-project-hero-inner,
	.gmp-project-container {
		width: min(100% - 32px, var(--gmp-container));
	}

	.gmp-project-hero {
		min-height: 360px;
	}

	.gmp-project-hero-inner {
		padding: 36px 0;
	}

	.gmp-project-container {
		padding: 46px 0 60px;
	}

	.gmp-project-details-primary, .gmp-project-details-scope { grid-template-columns: 1fr; gap: 18px; }
	.gmp-project-details-scope { margin-top: 24px; padding-top: 22px; }

	.gmp-project-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 52px;
	}

	.gmp-project-testimonial {
		grid-template-columns: 1fr;
		margin-bottom: 52px;
	}

	.gmp-project-testimonial-image {
		min-height: 250px;
	}

	.gmp-project-testimonial-card {
		min-height: 0;
		padding: 30px 28px;
	}

	.gmp-project-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 30px 28px;
	}

	.gmp-project-cta-button {
		min-width: 150px;
	}

	.gmp-related-projects-grid {
		grid-template-columns: 1fr;
	}

	.gmp-card-related {
		min-height: 310px;
	}

	.gmp-carousel-slide {
		flex-basis: 86vw;
	}

	.gmp-card-carousel {
		height: 430px;
	}

	.gmp-card-content {
		left: 22px;
		right: 74px;
		bottom: 24px;
	}

	.gmp-card-title {
		font-size: 2.25rem;
	}

	.gmp-card-category {
		font-size: 1rem;
	}

	.gmp-card-button {
		right: 20px;
		bottom: 20px;
		width: 52px;
		height: 52px;
	}

	.gmp-carousel-arrow {
		width: 44px;
	}

	.gmp-lightbox-dialog {
		grid-template-columns: 48px minmax(0, 1fr) 48px;
	}

	.gmp-lightbox-arrow svg {
		width: 34px;
		height: 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gmp-carousel-track,
	.gmp-gallery-item img,
	.gmp-card-button {
		transition: none !important;
	}
}

/* Projects grid shortcode */
.gmp-projects-grid-wrap,
.gmp-projects-grid-wrap * {
	box-sizing: border-box;
}

.gmp-projects-filter {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(200px, 300px) auto auto;
	gap: 10px;
	align-items: stretch;
	margin: 0 0 28px;
}

.gmp-projects-search-wrap,
.gmp-projects-category-wrap {
	min-width: 0;
}

.gmp-projects-search-wrap input {
	border: 0px solid;
	border-bottom:2px solid #D73B33;
	border-radius: 0px;
	background: #FAFAFA !important; color:#242424;
}

.gmp-projects-search-wrap input::placeholder {
	color:#242424 !important;
}

.gmp-projects-search,
.gmp-projects-category {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 15px;
	border: 0px solid;
	border-bottom:2px solid #D73B33;
	border-radius: 0px;
	background: #FAFAFA !important;
	color: #242424;
	font: inherit;
	font-size: 15px;
	line-height: 1.2;
}

.gmp-projects-category {
	padding-right: 38px;
}

.gmp-projects-search:focus,
.gmp-projects-category:focus {
	outline: none;
    box-shadow: none;
	border-bottom:2px solid #D73B33 !important;
}

.gmp-projects-filter-button,
.gmp-projects-reset-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	min-width: 112px;
	padding: 0 20px;
	border: 1px solid var(--gmp-accent);
	border-radius: 3px;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.gmp-projects-filter-button {
	background: var(--gmp-accent);
	color: #fff;
}

.gmp-projects-filter-button:hover,
.gmp-projects-filter-button:focus {
	background: #fff;
	color: var(--gmp-accent);
}

.gmp-projects-reset-button {
	background: #fff;
	color: var(--gmp-accent);
}

.gmp-projects-reset-button:hover,
.gmp-projects-reset-button:focus {
	background: var(--gmp-accent);
	color: #fff;
}

.gmp-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
}

.gmp-card-grid {
	min-height: 360px;
}

.gmp-card-grid .gmp-card-content {
	left: 22px;
	right: 66px;
	bottom: 24px;
}

.gmp-card-grid .gmp-card-title {
	font-size: clamp(1.7rem, 2.2vw, 2.65rem);
}

.gmp-card-grid .gmp-card-category {
	font-size: 14px;
}

.gmp-card-grid .gmp-card-button {
	right: 18px;
	bottom: 18px;
	width: 50px;
	height: 50px;
	border-radius: 4px;
}

.gmp-card-grid .gmp-card-button svg {
	width: 22px;
	height: 22px;
}

.gmp-projects-no-results {
	padding: 36px 0;
	text-align: center;
}

.gmp-projects-no-results p {
	margin: 0 0 18px;
}

.gmp-projects-no-results .gmp-projects-reset-button {
	display: inline-flex;
}

@media (max-width: 900px) {
	.gmp-projects-filter {
		grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr) auto auto;
	}

	.gmp-projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.gmp-projects-filter {
		grid-template-columns: 1fr;
	}

	.gmp-projects-filter-button,
	.gmp-projects-reset-button {
		width: 100%;
	}

	.gmp-projects-grid {
		grid-template-columns: 1fr;
	}

	.gmp-card-grid {
		min-height: 320px;
	}
}

/* Projects grid pagination */
.gmp-projects-pagination {
	margin-top: 32px;
}

.gmp-projects-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gmp-projects-pagination .page-numbers li {
	margin: 0;
	padding: 0;
}

.gmp-projects-pagination a.page-numbers,
.gmp-projects-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--gmp-border);
	border-radius: 3px;
	background: #fff;
	color: var(--gmp-text);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.gmp-projects-pagination a.page-numbers:hover,
.gmp-projects-pagination a.page-numbers:focus,
.gmp-projects-pagination span.page-numbers.current {
	border-color: var(--gmp-accent);
	background: var(--gmp-accent);
	color: #fff;
}

.gmp-projects-pagination span.page-numbers.dots {
	min-width: 28px;
	padding: 0 4px;
	border-color: transparent;
	background: transparent;
	color: var(--gmp-text);
}

/* Static homepage featured-project cards */
.gmp-featured-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.gmp-featured-projects .gmp-card-featured {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
    aspect-ratio: 1.075;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 4px;
}
.gmp-featured-projects .gmp-card-featured .gmp-card-content {
    left: 13px;
    right: 54px;
    bottom: 17px;
}
.gmp-featured-projects .gmp-card-featured .gmp-card-title {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.15;
    letter-spacing: -.02em;
}
.gmp-featured-projects .gmp-card-featured .gmp-card-category {
    font-size: 16px;
    line-height: 1.35;
}
.gmp-featured-projects .gmp-card-featured .gmp-card-button {
    right: 15px;
    bottom: 17px;
    width: 31px;
    height: 31px;
    border-radius: 0;
    background: transparent;
    transform: none;
    filter: none;
}
.gmp-featured-projects .gmp-card-featured:hover .gmp-card-button {
    transform: none;
    filter: none;
}
.gmp-featured-projects .gmp-card-featured .gmp-card-button svg { display: none; }
.gmp-featured-projects .gmp-card-featured .gmp-card-button::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("white-arrow.svg") center / contain no-repeat;
    transform: rotate(0deg);
    transition: transform .25s ease;
}
.gmp-featured-projects .gmp-card-featured:hover .gmp-card-button::after,
.gmp-featured-projects .gmp-card-featured:focus-visible .gmp-card-button::after {
    transform: rotate(45deg);
}
@media (max-width: 767px) {
    .gmp-featured-projects { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .gmp-featured-projects .gmp-card-featured { aspect-ratio: 1.15; }
}

/* v1.3.9 — Single project editorial 2/3 + 1/3 layout */
.gmp-project-overview { display:grid; grid-template-columns:minmax(0,2fr) minmax(270px,1fr); gap:clamp(28px,4vw,64px); align-items:start; margin-bottom:64px; }
.gmp-project-main-column { min-width:0; }
.gmp-project-sidebar { min-width:0; background:#f5f5f4; padding:clamp(24px,3vw,38px); border-left:3px solid var(--gmp-accent); }
.gmp-project-sidebar > h2 { font-size:clamp(20px,2vw,25px); line-height:1.2; margin:0 0 25px; font-weight:600; }
.gmp-project-sidebar .gmp-project-details { padding:0; border:0; }
.gmp-project-sidebar .gmp-project-details-primary,
.gmp-project-sidebar .gmp-project-details-scope { display:flex; flex-direction:column; gap:23px; margin:0; padding:0; border:0; }
.gmp-project-sidebar .gmp-project-details-scope { margin-top:23px; }
.gmp-project-sidebar .gmp-project-detail-label { text-transform:uppercase; font-size:12px; letter-spacing:.075em; font-weight:700; margin-bottom:5px; }
.gmp-project-sidebar .gmp-project-detail { font-size:15px; line-height:1.55; }
.gmp-project-main-column .gmp-project-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 30px; }
.gmp-project-main-column .gmp-gallery-item { border-radius:3px; aspect-ratio:1.45; }
.gmp-project-main-column .gmp-project-description { padding:0 0 35px; }
.gmp-project-main-column .gmp-project-description h2 { font-size:clamp(22px,2.4vw,30px); font-weight:500; margin-bottom:16px; }
.gmp-related-projects-grid.gmp-featured-projects { gap:30px; }
.gmp-related-projects-grid.gmp-featured-projects .gmp-card-related { min-height:0; }
@media(max-width:850px) { .gmp-project-overview { grid-template-columns:minmax(0,1fr); } .gmp-project-sidebar { order:2; } }
@media(max-width:767px) { .gmp-project-main-column .gmp-project-gallery { gap:10px; margin-bottom:25px; } .gmp-related-projects-grid.gmp-featured-projects { gap:18px; } }
@media(max-width:480px) { .gmp-project-main-column .gmp-project-gallery { grid-template-columns:1fr; } }

/* v1.3.10 — Related project arrows: transparent in every interaction state. */
.gmp-related-projects-grid.gmp-featured-projects .gmp-card-related .gmp-card-button,
.gmp-related-projects-grid.gmp-featured-projects .gmp-card-related:hover .gmp-card-button,
.gmp-related-projects-grid.gmp-featured-projects .gmp-card-related:focus-visible .gmp-card-button,
.gmp-related-projects-grid.gmp-featured-projects .gmp-card-related .gmp-card-button:hover {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    filter: none;
}

/* v1.3.11 — archive filters, consistent showcase cards and award badge */
.gmp-projects-category-pills {display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 34px;}
.gmp-projects-category-pills .gmp-filter-pill {display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:13px 17px;background:#e2e4e4;color:#242424;text-decoration:none;text-transform:uppercase;font-size:12px;font-weight:700;line-height:1.3;letter-spacing:.02em;border-radius:2px;transition:background .2s,color .2s;}
.gmp-projects-category-pills .gmp-filter-pill:hover,
.gmp-projects-category-pills .gmp-filter-pill:focus-visible {background:#303e4a;color:#fff;}
.gmp-projects-category-pills .gmp-filter-pill.is-active {background:var(--gmp-accent,#df3535);color:#fff;}
.gmp-projects-grid .gmp-card-grid {display:block;width:100%;max-width:100%;min-width:0;min-height:0;height:auto;box-sizing:border-box;aspect-ratio:1.075;border:1px solid rgba(255,255,255,.5);border-radius:4px;}
.gmp-projects-grid .gmp-card-grid .gmp-card-content {left:13px;right:54px;bottom:17px;}
.gmp-projects-grid .gmp-card-grid .gmp-card-title {font-size:clamp(22px,2vw,28px);line-height:1.15;letter-spacing:-.02em;}
.gmp-projects-grid .gmp-card-grid .gmp-card-category {font-size:16px;line-height:1.35;}
.gmp-projects-grid .gmp-card-grid .gmp-card-button,
.gmp-projects-grid .gmp-card-grid:hover .gmp-card-button,
.gmp-projects-grid .gmp-card-grid:focus-visible .gmp-card-button {right:15px;bottom:17px;width:31px;height:31px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;transform:none;filter:none;}
.gmp-projects-grid .gmp-card-grid .gmp-card-button svg {display:none;}
.gmp-projects-grid .gmp-card-grid .gmp-card-button::after {content:"";display:block;width:100%;height:100%;background:url("white-arrow.svg") center/contain no-repeat;transform:rotate(0deg);transition:transform .25s ease;}
.gmp-projects-grid .gmp-card-grid:hover .gmp-card-button::after,
.gmp-projects-grid .gmp-card-grid:focus-visible .gmp-card-button::after {transform:rotate(45deg);}
.gmp-award-badge {display:table;width:max-content;max-width:100%;margin:0 0 9px;padding:5px 9px;background:var(--gmp-accent,#df3535);color:#fff!important;border-radius:4px;font-size:11px;font-weight:700;line-height:1.3;letter-spacing:.07em;text-transform:uppercase;}
.gmp-award-badge-hero {margin:0 5px 14px;}
@media(max-width:767px){.gmp-projects-grid .gmp-card-grid{aspect-ratio:1.15}.gmp-projects-category-pills{gap:7px}.gmp-projects-category-pills .gmp-filter-pill{font-size:11px;padding:10px 12px}}

/* v1.4.3 — Commercial grid instant category filtering */
.gmp-projects-live-item[hidden], .gmp-projects-live-empty[hidden] { display: none !important; }
.gmp-projects-live-item { min-width:0; }
.gmp-projects-live-item .gmp-card-grid { height:100%; }
.gmp-projects-category-pills button.gmp-filter-pill { border:0; cursor:pointer; font-family:inherit; }
.gmp-projects-live-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin-top:32px; }
.gmp-projects-live-pagination .gmp-live-page { min-width:42px; height:42px; padding:0 12px; border:1px solid var(--gmp-border); border-radius:3px; background:#fff; color:var(--gmp-text); font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.gmp-projects-live-pagination .gmp-live-page.is-active, .gmp-projects-live-pagination .gmp-live-page:hover:not(:disabled) { background:var(--gmp-accent); color:#fff; border-color:var(--gmp-accent); }
.gmp-projects-live-pagination .gmp-live-page:disabled { opacity:.4; cursor:default; }

/* v1.4.4: consistent straight arrows on every commercial project card */
.gmp-card .gmp-card-button, .gmp-card:hover .gmp-card-button, .gmp-card:focus-visible .gmp-card-button { display:flex!important; align-items:center; justify-content:center; width:31px!important; height:31px!important; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; transform:none!important; filter:none!important; }
.gmp-card .gmp-card-button svg {display:none!important;}
.gmp-card .gmp-card-button::after, .gmp-card:hover .gmp-card-button::after, .gmp-card:focus-visible .gmp-card-button::after { content:"→"!important; display:block!important; width:auto!important; height:auto!important; background:none!important; color:#fff!important; font-family:Arial,sans-serif!important; font-size:29px!important; font-weight:400!important; line-height:1!important; transform:none!important; transition:none!important; }
.gmp-project-award-logo {display:block; width:100px; height:auto; max-width:100%; margin:0 0 14px; object-fit:contain;}
.gmp-project-awards {margin-top:23px;}

/* v1.4.7 — Featured projects: align to 1200px content grid, refined card proportions */
.gmp-featured-slider { width:100%; min-width:0; position:relative; padding-left:max(20px, calc((100vw - 1200px) / 2)); box-sizing:border-box; }
.gmp-featured-slider-viewport { overflow:hidden; width:100%; min-width:0; }
.gmp-featured-slider .gmp-featured-slider-track { display:flex; gap:22px; width:max-content; max-width:none; grid-template-columns:none; will-change:transform; transform:translate3d(0,0,0); }
.gmp-featured-slider .gmp-card-featured { flex:0 0 min(520px, 43vw); width:min(520px, 43vw); max-width:none; aspect-ratio:26 / 19; }
.gmp-featured-slider-controls { display:flex; justify-content:flex-end; gap:20px; padding:20px 28px 0 0; }
.gmp-featured-slider-controls button { display:inline-flex; justify-content:center; align-items:center; border:0; background:transparent; color:var(--gmp-accent, #ed252c); font-size:35px; line-height:1; cursor:pointer; padding:6px 10px; transition:opacity .2s; }
.gmp-featured-slider-controls button:hover { opacity:.65; }
.gmp-featured-slider-controls button:disabled { opacity:.3; cursor:default; }
@media(max-width:767px) {
 .gmp-featured-slider { padding-left:20px; }
 .gmp-featured-slider .gmp-card-featured { flex-basis:min(78vw, 420px); width:min(78vw, 420px); }
 .gmp-featured-slider .gmp-featured-slider-track { gap:14px; }
}

/* v1.4.8 — Rockford-inspired large, flush, square featured carousel only. */
.gmp-featured-slider { padding-left:max(20px, calc((100vw - 1200px) / 2)); }
.gmp-featured-slider .gmp-featured-slider-track { gap:0; }
.gmp-featured-slider .gmp-card-featured {
  flex:0 0 clamp(420px, 46vw, 690px); width:clamp(420px, 46vw, 690px);
  aspect-ratio:1 / 1; border:0; border-radius:0;
}
.gmp-featured-slider .gmp-card-featured .gmp-card-overlay {
  background:linear-gradient(180deg,rgba(0,0,0,.23),rgba(0,0,0,.34) 55%,rgba(0,0,0,.43));
}
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-overlay {
  background:linear-gradient(180deg,rgba(0,0,0,.29),rgba(0,0,0,.42) 55%,rgba(0,0,0,.50));
}
.gmp-featured-slider .gmp-card-featured .gmp-card-content {
  position:absolute; top:50%; bottom:auto; left:7%; right:7%;
  transform:translateY(-50%); display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:12px; text-align:center;
}
.gmp-featured-slider .gmp-card-featured .gmp-card-title {
  font-size:clamp(29px,3vw,58px); line-height:1.07; letter-spacing:-.025em;
  text-wrap:balance; color:#fff;
}
.gmp-featured-slider .gmp-card-featured .gmp-card-category {
  font-size:clamp(14px,1.1vw,18px); font-weight:500; line-height:1.3; color:#fff;
}
.gmp-featured-slider .gmp-card-featured .gmp-card-button,
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-button,
.gmp-featured-slider .gmp-card-featured:focus-visible .gmp-card-button {
  position:absolute; left:50%; right:auto; bottom:6%; transform:translateX(-50%)!important;
  width:auto!important; min-width:142px; height:auto!important; min-height:43px;
  padding:10px 17px; border:1px solid rgba(255,255,255,.9)!important;
  border-radius:0!important; background:rgba(0,0,0,.12)!important;
  color:#fff; white-space:nowrap; font-size:13px; font-weight:700;
  text-transform:uppercase; letter-spacing:.02em; line-height:1.2;
}
.gmp-featured-slider .gmp-card-featured .gmp-card-button::before {content:'View Project'; color:#fff;}
.gmp-featured-slider .gmp-card-featured .gmp-card-button::after,
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-button::after,
.gmp-featured-slider .gmp-card-featured:focus-visible .gmp-card-button::after {
  content:'→'!important; position:static; display:inline-block!important; width:auto!important;
  height:auto!important; margin-left:10px; background:none!important;
  font-family:Arial,sans-serif!important; font-size:18px!important; line-height:1!important;
  color:#fff!important; transform:none!important;
}
.gmp-featured-slider-footer { display:flex; align-items:center; justify-content:center; position:relative; min-height:64px; padding:12px 30px; }
.gmp-featured-slider-pagination { display:flex; align-items:center; justify-content:center; gap:5px; }
.gmp-featured-page-segment { display:block; width:54px; height:2px; background:rgba(255,255,255,.5); transition:background .25s; }
.gmp-featured-page-segment.is-active { background:#fff; height:3px; }
.gmp-featured-slider .gmp-featured-slider-controls { position:absolute; right:24px; top:50%; transform:translateY(-50%); padding:0; }
@media(max-width:767px) {
 .gmp-featured-slider {padding-left:20px;}
 .gmp-featured-slider .gmp-card-featured {flex-basis:82vw; width:82vw; aspect-ratio:4 / 5;}
 .gmp-featured-slider .gmp-card-featured .gmp-card-title {font-size:clamp(25px,6vw,38px);}
 .gmp-featured-slider-footer {justify-content:flex-start; padding-left:0; padding-right:105px;}
 .gmp-featured-page-segment {width:24px;}
 .gmp-featured-slider .gmp-featured-slider-controls {right:10px; gap:6px;}
}

/* v1.4.9 — Featured carousel: borderless CTA, red arrow, animated underline and visible pagination. */
.gmp-featured-slider .gmp-card-featured .gmp-card-button,
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-button,
.gmp-featured-slider .gmp-card-featured:focus-visible .gmp-card-button {
  min-width:0; min-height:0; padding:7px 0 8px;
  border:0!important; border-radius:0!important; background:transparent!important;
  box-shadow:none!important;
  background-image:linear-gradient(#ed3333,#ed3333)!important;
  background-repeat:no-repeat!important; background-position:left bottom!important;
  background-size:0 2px!important;
  transition:background-size .25s ease!important;
}
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-button,
.gmp-featured-slider .gmp-card-featured:focus-visible .gmp-card-button {
  background-size:100% 2px!important;
}
.gmp-featured-slider .gmp-card-featured .gmp-card-button::after,
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-button::after,
.gmp-featured-slider .gmp-card-featured:focus-visible .gmp-card-button::after {
  color:#ed3333!important;
}
.gmp-featured-slider .gmp-featured-slider-footer { min-height:70px; }
.gmp-featured-slider .gmp-featured-slider-pagination { min-height:12px; gap:5px; z-index:1; }
.gmp-featured-slider .gmp-featured-page-segment {
  flex:0 0 54px; width:54px; height:2px;
  background:#aeb7bd; opacity:1;
}
.gmp-featured-slider .gmp-featured-page-segment.is-active { height:3px; background:#ed3333; }
@media(max-width:767px) {
 .gmp-featured-slider .gmp-featured-page-segment {flex-basis:24px; width:24px;}
}

/* v1.4.10: Match existing hero CTA; no animated underline. */
.gmp-featured-slider .gmp-card-featured .gmp-card-button,
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-button,
.gmp-featured-slider .gmp-card-featured:focus-visible .gmp-card-button {
  font-family:Montserrat,sans-serif!important; font-size:17px!important;
  font-weight:600!important; text-transform:none!important; letter-spacing:normal!important;
  padding:0 0 3px!important; min-height:0!important;
  background:none!important; background-image:none!important;
  border:0!important; border-bottom:2px solid transparent!important;
  transition:none!important; color:#fff!important;
}
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-button,
.gmp-featured-slider .gmp-card-featured:focus-visible .gmp-card-button {
  border-bottom-color:#ed3333!important;
}
.gmp-featured-slider .gmp-card-featured .gmp-card-button::before {
  content:'View Project'; color:#fff!important;
}
.gmp-featured-slider .gmp-featured-page-segment {
  display:block; border:0; border-radius:0; padding:0; cursor:pointer;
  appearance:none; -webkit-appearance:none; transition:none;
}
.gmp-featured-slider .gmp-featured-page-segment:focus-visible {
  outline:2px solid #ed3333; outline-offset:5px;
}

/* v1.4.11 — Smooth only the featured card darkening; leave CTA hover immediate. */
.gmp-featured-slider .gmp-card-featured .gmp-card-overlay,
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-overlay {
  background:linear-gradient(180deg,rgba(0,0,0,.23),rgba(0,0,0,.34) 55%,rgba(0,0,0,.43));
}
.gmp-featured-slider .gmp-card-featured .gmp-card-overlay::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:rgba(0,0,0,.13); opacity:0; transition:opacity .25s ease;
}
.gmp-featured-slider .gmp-card-featured:hover .gmp-card-overlay::after,
.gmp-featured-slider .gmp-card-featured:focus-visible .gmp-card-overlay::after {
  opacity:1;
}
