.gsc-hero {
	position: relative;
	isolation: isolate;
	min-height: 100svh !important;
	color: #fff;
	overflow: hidden;
}

.gsc-hero .wp-block-cover__image-background {
	z-index: -1;
	filter: grayscale(1);
	transform: scale(1.02);
	animation: gsc-hero-drift 18s ease-in-out infinite alternate;
	transition: opacity 420ms ease;
}

.gsc-hero::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(90deg, rgba(10, 10, 10, 0.58) 0%, rgba(10, 10, 10, 0.13) 72%),
		linear-gradient(0deg, rgba(10, 10, 10, 0.45) 0%, transparent 48%);
	content: "";
	pointer-events: none;
}

.gsc-hero__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	opacity: 0;
	pointer-events: none;
	transition: opacity 420ms ease;
}

.gsc-hero.has-hero-video .gsc-hero__video {
	opacity: 1;
}

.gsc-hero.has-hero-video .wp-block-cover__image-background {
	opacity: 0;
	animation: none;
}

.gsc-hero .wp-block-cover__background {
	z-index: 1;
}

.gsc-hero::after {
	z-index: 1;
}

.gsc-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	display: flex;
	width: min(calc(100% - clamp(2.5rem, 8vw, 9rem)), 1280px);
	min-height: 100svh;
	margin-inline: auto;
	padding-block: clamp(10rem, 19vh, 13rem) clamp(3rem, 7vh, 5rem);
	align-items: flex-end;
}

.gsc-hero .wp-block-cover__inner-container > .wp-block-group {
	width: 100%;
}

.gsc-eyebrow {
	margin-block: 0 1.2rem;
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.gsc-hero h1 {
	max-width: 10ch;
	margin-block: 0;
	font-size: clamp(4rem, 8.1vw, 8.5rem);
	line-height: 0.86;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.gsc-hero__lead {
	max-width: 46ch;
	margin-block: clamp(1.75rem, 4vh, 3rem) clamp(2rem, 4vh, 3rem);
	font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
	line-height: 1.55;
}

.gsc-hero .gsc-property-search--hero {
	max-width: 76rem;
	padding: 0;
	border-block: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 0;
	background: rgba(16, 16, 16, 0.54);
	box-shadow: none;
	color: #fff;
	backdrop-filter: blur(12px);
}

.gsc-hero .gsc-property-search__primary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(9rem, 0.72fr);
	gap: 0;
}

.gsc-hero .gsc-property-search__field {
	gap: 0.35rem;
	padding: 1.1rem 1.25rem;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.28);
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gsc-hero .gsc-property-search :is(select, input) {
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 650;
	letter-spacing: 0;
	text-transform: none;
	color-scheme: dark;
}

.gsc-hero .gsc-property-search option {
	background: #171717;
	color: #fff;
}

.gsc-hero .gsc-property-search__submit {
	min-height: 100%;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #171717;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.gsc-hero .gsc-property-search__advanced {
	margin: 0;
	padding: 0.75rem 1.25rem;
	border-color: rgba(255, 255, 255, 0.24);
}

.gsc-hero .gsc-property-search__advanced summary {
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gsc-hero--light {
	color: #fff;
}

.gsc-hero--light::after {
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.gsc-hero--light .wp-block-cover__inner-container {
	z-index: 3 !important;
}

.gsc-hero--light :is(.gsc-eyebrow, h1, .gsc-hero__lead, .gsc-hero__scroll) {
	position: relative;
	z-index: 4;
	color: #fff;
}

.gsc-hero--light .wp-block-cover__background {
	background: transparent !important;
	opacity: 0 !important;
}

.gsc-hero--light .gsc-property-search--hero {
	position: relative;
	z-index: 4;
	border-color: rgba(23, 23, 23, 0.25);
	background: rgba(255, 255, 255, 0.97);
	color: #171717;
	box-shadow: 0 1.25rem 4rem rgba(23, 23, 23, 0.1);
	backdrop-filter: none;
}

.gsc-hero--light .gsc-property-search__field {
	border-color: rgba(23, 23, 23, 0.16);
}

.gsc-hero--light .gsc-property-search :is(select, input) {
	color: #171717;
	color-scheme: light;
}

.gsc-hero--light .gsc-property-search option {
	background: #fff;
	color: #171717;
}

.gsc-hero--light .gsc-property-search__submit {
	background: var(--wp--preset--color--brand-red, #9b1c31);
	color: #fff;
}

.gsc-hero--light .gsc-property-search__advanced {
	border-color: rgba(23, 23, 23, 0.16);
}

.gsc-hero__scroll {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin: 1.25rem 0 0;
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.8;
}

.gsc-hero__scroll span {
	display: inline-block;
	width: 2.75rem;
	height: 1px;
	background: currentcolor;
}

.gsc-home-section {
	margin-block-start: 0;
	padding-block: var(--wp--preset--spacing--80, clamp(5rem, 8vw, 7.5rem));
	padding-inline: clamp(1.25rem, 5vw, 4.5rem);
	overflow-x: clip;
}

.gsc-home-section > .wp-block-group.alignwide,
.gsc-home-section > .wp-block-columns.alignwide {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
}

.gsc-home-section h2 {
	max-width: 14ch;
	margin-block: 0;
	font-size: clamp(2.75rem, 5.6vw, 5.75rem);
	line-height: 0.96;
	letter-spacing: -0.035em;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.gsc-section-intro {
	max-width: 52ch;
	margin-block: 2rem 0;
	font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.gsc-featured-properties {
	background: #fff;
}

.gsc-featured-properties .gsc-property-grid {
	margin-block-start: clamp(2.5rem, 6vw, 5rem);
	gap: clamp(1.25rem, 2.4vw, 2rem);
}

.gsc-featured-properties .wp-block-grupscasa-property-collection {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.gsc-featured-properties .gsc-property-card {
	min-width: 0;
	width: 100%;
	border: 0;
	background: #fff;
	box-shadow: 0 1px 0 rgba(23, 23, 23, 0.16);
	transform: none;
}

.gsc-featured-properties .gsc-property-card {
	position: relative;
	cursor: pointer;
}

.gsc-featured-properties .gsc-property-card__title a::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
}

.gsc-featured-properties .gsc-property-card__media,
.gsc-featured-properties .gsc-property-card__link {
	position: relative;
	z-index: 2;
}

.gsc-featured-properties .gsc-property-card__title a:focus-visible::after {
	outline: 2px solid currentcolor;
	outline-offset: -2px;
}
.gsc-featured-properties .gsc-property-card__media {
	min-width: 0;
}

.gsc-featured-properties .gsc-property-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

.gsc-featured-properties .gsc-property-card__title {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.gsc-featured-properties .gsc-property-card__price {
	color: var(--wp--preset--color--brand-red, #9b1c31);
	font-family: var(--wp--preset--font-family--editorial);
	font-weight: 400;
}

.gsc-featured-carousel {
	--gsc-featured-carousel-gap: clamp(1rem, 2vw, 1.5rem);

	position: relative;
	width: 100%;
	max-width: none;
	margin-block-start: clamp(2.5rem, 6vw, 5rem);
}

.gsc-featured-carousel__viewport {
	container-type: inline-size;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
	touch-action: auto;
	overscroll-behavior-inline: contain;
}

.gsc-featured-carousel.is-enhanced .gsc-featured-carousel__viewport {
	touch-action: pan-y;
}

.gsc-featured-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.gsc-featured-properties .gsc-featured-carousel__track {
	display: flex;
	width: max-content;
	margin: 0;
	gap: var(--gsc-featured-carousel-gap);
}

.gsc-featured-carousel .gsc-property-card {
	display: flex;
	width: calc((100cqw - var(--gsc-featured-carousel-gap) - var(--gsc-featured-carousel-gap)) / 3);
	min-width: 0;
	flex: 0 0 calc((100cqw - var(--gsc-featured-carousel-gap) - var(--gsc-featured-carousel-gap)) / 3);
	flex-direction: column;
	scroll-snap-align: start;
}

.gsc-featured-carousel .gsc-property-card__media {
	width: 100%;
	aspect-ratio: 4 / 3;
}

.gsc-featured-carousel .gsc-property-card__media img,
.gsc-featured-carousel .gsc-property-card__media-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gsc-featured-carousel .gsc-property-card__body {
	display: flex;
	min-height: 22rem;
	padding: 1.5rem;
	flex: 1;
	flex-direction: column;
}

.gsc-featured-carousel .gsc-property-card__link {
	margin-block-start: auto;
}

.gsc-featured-carousel__controls {
	display: none;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-block-end: 1rem;
}

.gsc-featured-carousel.is-enhanced .gsc-featured-carousel__controls {
	display: flex;
}

.gsc-featured-carousel__controls button {
	display: grid;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid rgba(23, 23, 23, 0.4);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	place-items: center;
}

.gsc-carousel-arrow {
	width: 1.2rem;
	height: 1.2rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

@media (max-width: 899px) {
	.gsc-featured-carousel .gsc-property-card {
		width: calc((100cqw - var(--gsc-featured-carousel-gap)) / 2);
		flex-basis: calc((100cqw - var(--gsc-featured-carousel-gap)) / 2);
	}
}

@media (max-width: 599px) {
	.gsc-featured-carousel .gsc-property-card {
		width: min(82cqw, 21rem);
		flex-basis: min(82cqw, 21rem);
	}

	.gsc-featured-carousel .gsc-property-card__body {
		min-height: 20rem;
	}
}

.gsc-home-local-story {
	background: #fff;
}

.gsc-home-local-story .wp-block-columns {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(18rem, 5fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}

.gsc-home-local-story__media,
.gsc-home-local-story__media figure {
	width: 100%;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.gsc-home-local-story__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
}

.gsc-home-local-story__copy {
	padding-block-start: 1.5rem;
	border-block-start: 1px solid rgba(23, 23, 23, 0.35);
}

.gsc-home-local-story__copy::before {
	display: block;
	width: 3rem;
	height: 0.2rem;
	margin-block: -1.65rem 2.5rem;
	background: var(--wp--preset--color--brand-red, #9b1c31);
	content: "";
}

.gsc-home-local-story__copy > p:last-child {
	max-width: 40rem;
	margin-block: clamp(2rem, 4vw, 3rem) 0;
	font-size: clamp(1rem, 1.35vw, 1.18rem);
	line-height: 1.75;
}

.gsc-territorial-media {
	position: relative;
	width: 100%;
	margin: 0;
	overflow: visible;
	background: transparent;
}

.gsc-territorial-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: grayscale(1) contrast(0.92);
	transition: filter 320ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.gsc-territorial-media figcaption {
	margin: 0;
	padding: 0.55rem 0.15rem 0;
	background: transparent;
	color: #5d5a56;
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.68rem;
	line-height: 1.35;
	letter-spacing: 0.04em;
}

.gsc-territorial-media:is(:hover, :focus-within) img {
	filter: grayscale(0.25) contrast(0.96);
	transform: scale(1.018);
}

.gsc-home-services {
	background: #f2f2f2;
}

.gsc-home-services .gsc-section-intro {
	margin-block-end: clamp(2.5rem, 5vw, 4.5rem);
}

.gsc-services-intro {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(18rem, 5fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	margin-block-end: clamp(3rem, 6vw, 5rem);
	align-items: end;
}

.gsc-services-intro > * {
	min-width: 0;
}

.gsc-services-intro .gsc-section-intro {
	margin-block-end: 0;
}

.gsc-services-intro .gsc-territorial-media {
	aspect-ratio: auto;
}

.gsc-home-services .gsc-services-index {
	gap: 0;
	margin-block: 0;
	border-block-start: 1px solid rgba(23, 23, 23, 0.28);
	border-block-end: 0;
}

.gsc-services-index__item {
	display: grid;
	width: 100%;
	max-width: none !important;
	margin-inline: 0 !important;
	grid-template-columns: minmax(3.5rem, 0.35fr) minmax(10rem, 0.9fr) minmax(14rem, 1.35fr) minmax(9rem, auto);
	gap: 1.25rem clamp(1.25rem, 3vw, 3rem);
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
	border-block-end: 1px solid rgba(23, 23, 23, 0.28);
	align-items: baseline;
}

.gsc-services-index__item > * {
	min-width: 0;
	margin: 0;
}

.gsc-home-services .gsc-services-index__item > p,
.gsc-home-services .gsc-services-index__item > p + p {
	padding: 0;
	border: 0;
	flex: none;
}

.gsc-home-services .gsc-services-index__item span {
	margin: 0;
	color: inherit;
}

.gsc-home-services .gsc-services-index__item.gsc-service-card {
	padding-inline: 0;
	border: 0;
	border-block-end: 1px solid rgba(23, 23, 23, 0.28);
	box-shadow: none;
	transform: none;
}

.gsc-services-index__number {
	color: var(--wp--preset--color--brand-red, #9b1c31);
	font-family: var(--wp--preset--font-family--editorial);
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.gsc-services-index__item h3 {
	font-size: clamp(1.5rem, 2.3vw, 2.2rem);
	line-height: 1.05;
}

.gsc-services-index__item > p:not(.gsc-services-index__number) {
	line-height: 1.65;
}

.gsc-services-index__item > p:last-child {
	justify-self: end;
}

.gsc-services-index__item a {
	display: inline-flex;
	min-height: 44px;
	padding: 0;
	align-items: center;
	color: inherit;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-underline-offset: 0.3em;
	text-transform: uppercase;
	transition: color 180ms ease;
}

.gsc-services-index__item a::after {
	display: block;
	width: 0.55rem;
	height: 0.55rem;
	margin-inline-start: 0.45rem;
	border-block-start: 1.5px solid currentcolor;
	border-inline-end: 1.5px solid currentcolor;
	content: "";
	transform: translateY(0.1rem);
	transition: transform 180ms ease;
}

.gsc-services-index__item a:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 4px;
}

.gsc-services-index__item a:is(:hover, :focus-visible)::after {
	transform: translate(0.2rem, -0.1rem);
}

.gsc-home-capture {
	background: #171717 !important;
	color: #fff;
}

.gsc-capture-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
	gap: 1.5rem clamp(3rem, 9vw, 9rem);
	min-height: 28rem;
	padding: clamp(2.5rem, 6vw, 6rem);
	border: 1px solid rgba(255, 255, 255, 0.3);
	align-items: end;
}

.gsc-capture-panel h2 {
	grid-row: 1 / span 3;
	max-width: 10ch;
	margin: 0;
	font-size: clamp(3.2rem, 6vw, 6.5rem);
	line-height: 0.92;
}

.gsc-capture-panel > .gsc-territorial-media {
	aspect-ratio: auto;
}

.gsc-capture-panel > .gsc-territorial-media img {
	aspect-ratio: 16 / 9;
}

.gsc-capture-panel > .gsc-territorial-media figcaption {
	color: rgba(255, 255, 255, 0.72);
}

.gsc-capture-panel > p {
	max-width: 38rem;
	margin: 0;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.7;
}

.gsc-capture-panel .wp-block-buttons {
	gap: 0.75rem;
}

.gsc-capture-panel .wp-element-button {
	display: inline-flex;
	min-height: 44px;
	padding: 0.85rem 1.35rem;
	border: 1px solid #fff;
	border-radius: 0;
	background: #fff;
	color: #171717;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gsc-capture-panel .is-style-outline .wp-element-button {
	background: transparent;
	color: #fff;
}

.gsc-home-trust {
	background: var(--wp--preset--color--bone, #f2f2f2);
	color: #171717;
}

.gsc-home-trust > .wp-block-group {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(20rem, 7fr);
	gap: 2rem clamp(3rem, 8vw, 8rem);
	align-items: start;
}

.gsc-home-trust h2 {
	grid-row: 1 / span 2;
	grid-column: 1;
}

.gsc-home-trust > .wp-block-group > p,
.gsc-home-trust__facts {
	grid-column: 2;
}

.gsc-home-trust > .wp-block-group > .gsc-territorial-media {
	grid-column: 1;
	grid-row: 3;
	aspect-ratio: auto;
}

.gsc-home-trust > .wp-block-group > p {
	max-width: 38rem;
	margin: 0;
	padding-block-start: 1.25rem;
	border-block-start: 1px solid rgba(23, 23, 23, 0.35);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	line-height: 1.7;
}

.gsc-home-trust__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	max-width: none !important;
	gap: 0;
	margin-inline: 0 !important;
	margin-block-start: 0;
	border-block-start: 1px solid rgba(23, 23, 23, 0.25);
}

.gsc-home-trust__facts p {
	margin: 0;
	padding: 1.2rem clamp(0.8rem, 1.5vw, 1.35rem);
	border-block-end: 1px solid rgba(23, 23, 23, 0.25);
	line-height: 1.55;
}

.gsc-home-trust__facts p + p {
	border-inline-start: 1px solid rgba(23, 23, 23, 0.18);
}

.gsc-home-trust__facts strong {
	font-family: var(--wp--preset--font-family--editorial);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 500;
}

.gsc-home-trust__facts a,
.gsc-home-contact-brief a {
	color: inherit;
	text-underline-offset: 0.25em;
}

.gsc-home-contact-brief {
	padding-block-end: var(--wp--preset--spacing--80, clamp(5rem, 8vw, 7.5rem));
	background: #fff !important;
	color: #171717 !important;
}

.gsc-home-contact-brief > .wp-block-group {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 2rem clamp(3rem, 7vw, 7rem);
	align-items: start;
}

.gsc-home-contact-brief h2,
.gsc-home-contact-brief > .wp-block-group > p {
	grid-column: 1;
}

.gsc-home-contact-brief > .wp-block-group > p {
	max-width: 34rem;
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.18rem);
	line-height: 1.75;
}

.gsc-home-contact-brief .wp-block-grupscasa-lead-form {
	grid-row: 1 / span 2;
	grid-column: 2;
	width: 100%;
	max-width: none;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-block-start: 3px solid var(--wp--preset--color--brand-red, #9b1c31);
	background: var(--wp--preset--color--bone, #f2f2f2);
}

.gsc-home-contact-brief .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.gsc-home-contact-brief .wpcf7-form > label,
.gsc-home-contact-brief .wpcf7-form > p:has(> label) {
	min-width: 0;
}

.gsc-home-contact-brief .wpcf7-form > p:first-of-type {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
}

.gsc-home-contact-brief .wpcf7-form > p:first-of-type > br {
	display: none;
}

.gsc-home-contact-brief .wpcf7-form > :is(.gsc-privacy-layer, .wpcf7-acceptance, input[type="submit"], .wpcf7-response-output),
.gsc-home-contact-brief .wpcf7-form > p:not(:has(> label)) {
	grid-column: 1 / -1;
}

.gsc-home-contact-brief .gsc-privacy-layer {
	margin: 0;
	background: #fff;
	font-size: 0.8rem;
}

.gsc-home-contact-brief .wpcf7-submit {
	min-height: 44px;
	padding: 0.85rem 1.4rem;
	border: 1px solid #171717;
	border-radius: 0;
	background: #171717;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.gsc-home-contact-brief :is(a, input, button):focus-visible,
.gsc-capture-panel .wp-element-button:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 4px;
}

@keyframes gsc-hero-drift {
	from {
		transform: scale(1.02) translate3d(0, 0, 0);
	}

	to {
		transform: scale(1.08) translate3d(-0.8%, -0.5%, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gsc-hero .wp-block-cover__image-background {
		animation: none;
	}

	.gsc-services-index__item a,
	.gsc-services-index__item a::after {
		transition: none;
	}
}

@media (max-width: 899px) {
	.gsc-hero {
		min-height: 780px !important;
	}

	.gsc-hero .wp-block-cover__inner-container {
		width: min(calc(100% - 2.5rem), 42rem);
		min-height: 780px;
		padding-block: 8rem 2.25rem;
	}

	.gsc-hero h1 {
		font-size: clamp(3.6rem, 13vw, 6.5rem);
	}

	.gsc-hero .gsc-property-search__primary {
		grid-template-columns: 1fr 1fr;
	}

	.gsc-hero .gsc-property-search__submit {
		grid-column: 1 / -1;
		min-height: 3.4rem;
	}

	.gsc-capture-panel,
	.gsc-home-local-story .wp-block-columns,
	.gsc-services-intro,
	.gsc-home-trust > .wp-block-group,
	.gsc-home-contact-brief > .wp-block-group {
		grid-template-columns: 1fr;
	}

	.gsc-home-local-story__media {
		grid-row: 1;
	}

	.gsc-services-index__item {
		grid-template-columns: 4rem minmax(0, 1fr);
	}

	.gsc-services-index__item > p:not(.gsc-services-index__number) {
		grid-column: 2;
	}

	.gsc-services-index__item > p:last-child {
		justify-self: start;
	}

	.gsc-capture-panel h2,
	.gsc-home-trust h2,
	.gsc-home-trust > .wp-block-group > p,
	.gsc-home-trust > .wp-block-group > .gsc-territorial-media,
	.gsc-home-trust__facts,
	.gsc-home-contact-brief h2,
	.gsc-home-contact-brief > .wp-block-group > p,
	.gsc-home-contact-brief .wp-block-grupscasa-lead-form {
		grid-row: auto;
		grid-column: 1;
	}

	.gsc-capture-panel h2 {
		grid-row: auto;
	}

	.gsc-capture-panel > .gsc-territorial-media {
		grid-row: auto;
	}

	.gsc-home-trust > .wp-block-group > .gsc-territorial-media {
		aspect-ratio: 16 / 9;
	}

}

@media (max-width: 599px) {
	.gsc-home-trust__facts {
		grid-template-columns: 1fr;
	}

	.gsc-home-trust__facts p {
		padding-inline: 0;
	}

	.gsc-home-trust__facts p + p {
		border-inline-start: 0;
	}

	.gsc-hero {
		min-height: clamp(700px, 100svh, 760px) !important;
	}

	.gsc-hero .wp-block-cover__inner-container {
		min-height: clamp(700px, 100svh, 760px);
		padding-block-start: 7.2rem;
	}

	.gsc-hero h1 {
		font-size: clamp(3rem, 14vw, 5.25rem);
	}

	.gsc-hero__lead {
		max-width: 38ch;
		margin-block: 1.35rem 1.75rem;
	}

	.gsc-hero .gsc-property-search__primary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gsc-hero .gsc-property-search__field {
		padding-block: 0.78rem;
		border-inline-end: 0;
		border-block-end: 1px solid rgba(255, 255, 255, 0.22);
	}

	.gsc-hero--light::after {
		background:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 100%);
	}

	.gsc-hero--light .gsc-property-search__field {
		border-color: rgba(23, 23, 23, 0.16);
	}

	.gsc-hero .gsc-property-search__primary select {
		min-height: 44px;
	}

	.gsc-hero .gsc-property-search__advanced {
		display: block;
		margin: 0;
		padding: 0.45rem 1rem 0.7rem;
		border-block-start: 1px solid rgba(255, 255, 255, 0.26);
	}

	.gsc-hero--light .gsc-property-search__advanced {
		border-color: rgba(23, 23, 23, 0.16);
	}

	.gsc-hero .gsc-property-search__advanced summary {
		display: flex;
		min-height: 44px;
		align-items: center;
		font-size: 0.8rem;
		font-weight: 750;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.gsc-hero .gsc-property-search__advanced summary:focus-visible {
		outline: 2px solid currentcolor;
		outline-offset: 3px;
	}

	.gsc-hero .gsc-property-search__advanced-fields {
		grid-template-columns: 1fr;
		gap: 0;
		margin-block-start: 0.35rem;
		border-block-start: 1px solid rgba(255, 255, 255, 0.18);
	}

	.gsc-hero--light .gsc-property-search__advanced-fields {
		border-color: rgba(23, 23, 23, 0.12);
	}

	.gsc-hero .gsc-property-search__advanced-fields :is(input, select) {
		min-height: 2.75rem;
	}

	/* WebKit does not reliably honour min-height on a native select. */
	.gsc-hero .gsc-property-search__advanced-fields select {
		height: 2.75rem;
	}

	.gsc-hero__scroll {
		display: none;
	}

	.gsc-home-section {
		padding-block: clamp(4rem, 18vw, 5rem);
	}

	.gsc-capture-panel {
		min-height: 0;
		padding: 2rem 1.25rem;
	}

	.gsc-capture-panel .wp-block-buttons {
		align-items: stretch;
	}

	.gsc-capture-panel .wp-block-button,
	.gsc-capture-panel .wp-element-button {
		width: 100%;
	}

	.gsc-services-index__item {
		grid-template-columns: 3rem minmax(0, 1fr);
		gap: 0.85rem 1rem;
	}

	.gsc-services-index__item h3 {
		font-size: 1.45rem;
	}

	.gsc-home-contact-brief .wpcf7-form {
		grid-template-columns: 1fr;
	}

	.gsc-home-contact-brief .wpcf7-form > p:first-of-type {
		grid-template-columns: 1fr;
	}

	.gsc-home-contact-brief .wpcf7-form > * {
		grid-column: 1 / -1;
	}
}
