/* Location page hero (markup: resources/views/partials/locations/single-location/
   location; background set inline from src/LocationHero.php). Text sits on the
   darkest green (#053527): gold >= 5.6:1, white 13:1. */

.gm-loc-hero {
	background-color: var(--bs-secondary);
}

/* Short gold bar under the title */
.gm-loc-hero__rule {
	width: 3.5rem;
	height: 4px;
	margin: 1.5rem 0;
	border-radius: 2px;
	background: var(--gm-gold);
}

/* Address / phone / hours */
.gm-loc-hero__info {
	font-size: 1.0625rem;
}

.gm-loc-hero__info i {
	flex: 0 0 1.25rem;
	width: 1.25rem;
	text-align: center;
}

.gm-loc-hero__info a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(var(--bs-accent-rgb), .6);
	text-underline-offset: .2em;
}

.gm-loc-hero__info a:hover,
.gm-loc-hero__info a:focus-visible {
	color: var(--bs-accent);
	text-decoration: underline;
	text-decoration-color: var(--bs-accent);
}

/* Amenity chips */
.gm-loc-hero__chip {
	border: 1px solid rgba(var(--bs-accent-rgb), .55);
	background: rgba(var(--bs-accent-rgb), .12);
	color: #fff;
}

/* Buttons: gold pill (dark text) + white outline pill */
.gm-loc-hero .btn.gm-loc-hero__order,
.gm-loc-hero .btn.gm-loc-hero__directions {
	padding: .8rem 1.5rem;
	border-radius: 999px;
	font-weight: 700;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.gm-loc-hero .btn.gm-loc-hero__order::before,
.gm-loc-hero .btn.gm-loc-hero__directions::before {
	display: none;
}

.gm-loc-hero .btn.gm-loc-hero__order {
	border: 0 !important;
	background: var(--gm-gold) !important;
	color: var(--bs-dark) !important;
	box-shadow: 0 10px 24px -12px rgba(var(--bs-accent-rgb), .9);
}

.gm-loc-hero .btn.gm-loc-hero__order svg {
	transition: transform .15s ease;
}

.gm-loc-hero .btn.gm-loc-hero__order:hover,
.gm-loc-hero .btn.gm-loc-hero__order:focus-visible {
	background: var(--gm-gold-hover) !important;
	transform: translateY(-1px);
}

.gm-loc-hero .btn.gm-loc-hero__order:hover svg,
.gm-loc-hero .btn.gm-loc-hero__order:focus-visible svg {
	transform: translateX(3px);
}

.gm-loc-hero .btn.gm-loc-hero__directions {
	border: 2px solid rgba(255, 255, 255, .45) !important;
	background: transparent !important;
	color: #fff !important;
}

.gm-loc-hero .btn.gm-loc-hero__directions:hover,
.gm-loc-hero .btn.gm-loc-hero__directions:focus-visible {
	border-color: #fff !important;
	background: rgba(255, 255, 255, .08) !important;
}

/* Social icons, as in the footer */
.gm-loc-hero__social .social-media-icons {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
}

.gm-loc-hero__social .social-icon-single a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	color: #fff;
	font-size: 1rem;
	transition: border-color .15s, color .15s;
}

.gm-loc-hero__social .social-icon-single a:hover,
.gm-loc-hero__social .social-icon-single a:focus-visible {
	border-color: var(--bs-accent);
	color: var(--bs-accent) !important; /* theme sets color: inherit (green) */
}

/* Phones: the two buttons share a row */
@media (max-width: 575.98px) {
	.gm-loc-hero .btn.gm-loc-hero__order,
	.gm-loc-hero .btn.gm-loc-hero__directions {
		flex: 1 1 0;
		justify-content: center;
		padding-inline: 1rem;
	}

	.gm-loc-hero__social {
		flex-basis: 100%;
	}
}

/* Storefront photo with a gold rule along the bottom */
.gm-loc-hero__photo {
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.gm-loc-hero__photo::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 5px;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--bs-accent) 45%, #fff) 0%,
		var(--bs-accent) 50%,
		color-mix(in srgb, var(--bs-accent) 80%, #000) 100%);
}

@media (min-width: 992px) {
	.gm-loc-hero__photo {
		aspect-ratio: 4 / 3;
	}
}

@media (min-width: 1400px) {
	.gm-loc-hero__photo {
		aspect-ratio: 16 / 10;
	}
}
