/* Greater Geelong Projects — Elementor widget */
.ggi-projects-widget {
	width: 100%;
}

.ggi-project-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 34px;
}

.ggi-project-filter {
	appearance: none;
	border: 1px solid transparent;
	cursor: pointer;
	font: inherit;
	line-height: 1.2;
	transition: all .25s ease;
}

.ggi-project-filter:hover,
.ggi-project-filter.is-active {
	border-color: currentColor;
}

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

.ggi-project-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 16px;
	box-shadow: 0 12px 35px rgba(0,0,0,.07);
	transform: translateY(0);
	transition-property: transform, box-shadow, background-color, border-color;
	transition-timing-function: cubic-bezier(.2,.7,.2,1);
	will-change: transform;
}

.ggi-project-card:hover {
	box-shadow: 0 20px 48px rgba(0,0,0,.12);
}

.ggi-project-card__image-wrap {
	position: relative;
	display: block;
	height: 320px;
	overflow: hidden;
	text-decoration: none;
	background: #eee;
}

.ggi-project-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition-property: transform;
	transition-timing-function: cubic-bezier(.2,.7,.2,1);
}

.ggi-project-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg,#eeeeee,#dddddd);
	color: #666;
	font-weight: 600;
}

.ggi-project-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.22);
	transition: background-color .35s ease;
	pointer-events: none;
}

.ggi-project-card__view {
	position: absolute;
	left: 24px;
	bottom: 22px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255,255,255,.94);
	color: #111;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .3s ease, transform .3s ease;
}

.ggi-project-card:hover .ggi-project-card__view {
	opacity: 1;
	transform: translateY(0);
}

.ggi-project-card__content {
	position: relative;
	padding: 24px;
}

.ggi-project-card__accent {
	display: block;
	width: 34px;
	height: 3px;
	margin: 0 0 15px;
	background: #111;
	border-radius: 999px;
}

.ggi-project-card__category {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.ggi-project-card__title {
	margin: 0 0 10px;
	font-size: 23px;
	line-height: 1.18;
}

.ggi-project-card__title a {
	color: inherit;
	text-decoration: none;
}

.ggi-project-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 13px;
	color: #777;
	font-size: 13px;
	line-height: 1.45;
}

.ggi-project-card__excerpt {
	margin: 0 0 18px;
	color: #666;
	font-size: 15px;
	line-height: 1.65;
}

.ggi-project-card__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #111;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.ggi-project-card__button span {
	transition: transform .25s ease;
}

.ggi-project-card:hover .ggi-project-card__button span {
	transform: translate(3px,-3px);
}

.ggi-projects-empty {
	padding: 40px;
	text-align: center;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 12px;
}

.ggi-projects-grid .ggi-project-card.ggi-fade-up,
.ggi-projects-grid .ggi-project-card.ggi-fade,
.ggi-projects-grid .ggi-project-card.ggi-zoom,
.ggi-projects-grid .ggi-project-card.ggi-slide-up {
	animation-delay: var(--ggi-delay);
	animation-fill-mode: both;
	animation-duration: .7s;
	animation-timing-function: cubic-bezier(.2,.7,.2,1);
}

.ggi-projects-grid .ggi-project-card.ggi-fade-up { animation-name: ggiFadeUp; }
.ggi-projects-grid .ggi-project-card.ggi-fade { animation-name: ggiFade; }
.ggi-projects-grid .ggi-project-card.ggi-zoom { animation-name: ggiZoom; }
.ggi-projects-grid .ggi-project-card.ggi-slide-up { animation-name: ggiSlideUp; }

@keyframes ggiFadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes ggiFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes ggiZoom {
	from { opacity: 0; transform: scale(.96); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes ggiSlideUp {
	from { opacity: 0; transform: translateY(45px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.ggi-projects-widget[data-reduced-motion="yes"] *,
	.ggi-projects-widget[data-reduced-motion="yes"] *::before,
	.ggi-projects-widget[data-reduced-motion="yes"] *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

@media (max-width: 767px) {
	.ggi-projects-grid {
		grid-template-columns: 1fr;
	}
	.ggi-project-card__image-wrap {
		height: 260px;
	}
}

/* ---------------------------------------------------------
   GGI SINGLE PROJECT DETAILS — PREMIUM PRESENTATION
   --------------------------------------------------------- */
.ggi-project-details-frontend {
	width: 100%;
	margin: 0;
}

.ggi-project-details-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ggi-project-detail {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-height: 118px;
	padding: 26px;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 18px;
	box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
	overflow: hidden;
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ggi-project-detail::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: currentColor;
	opacity: .9;
}

.ggi-project-detail:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
	border-color: rgba(15, 23, 42, 0.13);
}

.ggi-project-detail-icon {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 13px;
	background: #f4f7f9;
	color: #1f2937;
	font-size: 19px;
}

.ggi-project-detail-copy {
	min-width: 0;
	flex: 1;
}

.ggi-project-detail-label {
	margin: 1px 0 7px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: #667085;
}

.ggi-project-detail-value {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.55;
	color: #101828;
	word-break: break-word;
}

.ggi-project-detail-services .ggi-project-detail-value {
	font-weight: 500;
}

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

@media (max-width: 767px) {
	.ggi-project-details-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ggi-project-detail {
		min-height: 0;
		padding: 21px;
		border-radius: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ggi-project-detail {
		transition: none;
	}
	.ggi-project-detail:hover {
		transform: none;
	}
}

/* Dynamic project title widget */
.ggi2-project-title-wrap {
	width: 100%;
}

.ggi2-project-title {
	margin: 0;
	color: #ffffff;
}

.ggi2-project-title-category {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
	color: rgba(255,255,255,.82);
}


/* GGI 2.3 premium glass details */
.ggi-project-details-frontend .ggi-project-detail {
  background: linear-gradient(135deg, rgba(20,22,27,.78), rgba(12,14,18,.58));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 14px 36px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.ggi-project-details-frontend .ggi-project-detail::before { background:#EC4D37; width:3px; }
.ggi-project-details-frontend .ggi-project-detail:hover { border-color:rgba(236,77,55,.38); box-shadow:0 20px 48px rgba(0,0,0,.24), 0 0 0 1px rgba(236,77,55,.06); }
.ggi-project-details-frontend .ggi-project-detail-icon { background:rgba(236,77,55,.12); color:#EC4D37; border:1px solid rgba(236,77,55,.22); box-shadow:0 8px 22px rgba(236,77,55,.12); }
.ggi-project-details-frontend .ggi-project-detail-label { color:rgba(255,255,255,.62); }
.ggi-project-details-frontend .ggi-project-detail-value { color:#fff; }
.ggi2-project-title-focus { color:#EC4D37; }
.ggi2-project-content { width:100%; color:#333; }
.ggi2-project-content p:last-child { margin-bottom:0; }
.ggi2-project-content img { max-width:100%; height:auto; }


/* ---------------------------------------------------------------------------
   GGI 2.3.1 - Project Content (paragraphs + bullet lists)
   Appended only. Every rule above this block is untouched.
   Scoped to .ggi2-project-content so nothing else on the site is affected.
   The stylesheet now actually loads for this widget, because the widget
   declares get_style_depends() for the first time.
---------------------------------------------------------------------------- */
.ggi2-project-content { width: 100%; }
.ggi2-project-content > *:first-child { margin-top: 0; }
.ggi2-project-content > *:last-child { margin-bottom: 0; }

.ggi2-project-content p { margin: 0 0 18px; }

.ggi2-project-content h1,
.ggi2-project-content h2,
.ggi2-project-content h3,
.ggi2-project-content h4,
.ggi2-project-content h5,
.ggi2-project-content h6 { margin: 1.6em 0 .6em; line-height: 1.25; }

/* Many themes reset lists inside builder content, which killed the bullets. */
.ggi2-project-content ul,
.ggi2-project-content ol { margin: 0 0 18px; padding-left: 1.35em; list-style-position: outside; }
.ggi2-project-content ul { list-style-type: disc; }
.ggi2-project-content ol { list-style-type: decimal; }
.ggi2-project-content li { margin: 0 0 10px; }
.ggi2-project-content li:last-child { margin-bottom: 0; }
.ggi2-project-content li > ul,
.ggi2-project-content li > ol { margin-top: 10px; margin-bottom: 0; }
.ggi2-project-content li::marker { color: #EC4D37; }

.ggi2-project-content strong,
.ggi2-project-content b { font-weight: 700; }
.ggi2-project-content a { color: #EC4D37; text-decoration: underline; text-underline-offset: 2px; }
.ggi2-project-content a:hover { opacity: .82; }

.ggi2-project-content img { max-width: 100%; height: auto; }
.ggi2-project-content figure { margin: 0 0 18px; max-width: 100%; }
.ggi2-project-content iframe,
.ggi2-project-content video { max-width: 100%; }

.ggi2-project-content blockquote { margin: 0 0 18px; padding: .2em 0 .2em 1.1em; border-left: 3px solid #EC4D37; }
.ggi2-project-content table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.ggi2-project-content th,
.ggi2-project-content td { border: 1px solid rgba(0,0,0,.12); padding: .6em .7em; text-align: left; }

/* Editor-only preview affordance. */
.ggi2-project-content-sample { outline: 1px dashed rgba(236,77,55,.45); outline-offset: 6px; }
.ggi2-project-content-note { margin-top: 14px; font-size: 12px; line-height: 1.5; color: #EC4D37; opacity: .9; }
