/**
 * Theme Name: Hello Elementor Child
 * Description: Custom child theme for Hello Elementor
 * Author: Ahmad Hussain
 * Template: hello-elementor
 * Version: 1.0.0
 * Text Domain: your-hello-elementor-child
 */

/* ==========================================================================
   The Midway: site CSS (moved from Appearance > Customize > Additional CSS)
   Only what Elementor controls cannot express lives here.
   ========================================================================== */

/* ---------- Hero title: outlined words ---------- */
.midway-hero-title .soft {
	color: transparent;
	-webkit-text-stroke: 1.5px var(--e-global-color-primary);
}

/* ---------- Circle-arrow text links
   (hero "What's on Tap?", home "See the Full Schedule") ---------- */
.midway-hero-link .elementor-button { line-height: 1; }
.midway-hero-link .elementor-button-content-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.midway-hero-link .elementor-button-text { line-height: 1; }
.midway-hero-link .elementor-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	margin: 0;
	color: var(--e-global-color-primary);
	border: 1.5px solid var(--e-global-color-creamln);
	border-radius: 50%;
	transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.midway-hero-link .elementor-button-icon svg { width: 16px; height: 16px; }
.midway-hero-link .elementor-button-icon i { font-size: 16px; line-height: 1; }

/* Arrow always follows the circle's text colour. Elementor's own per-widget
   hover/focus fill rule otherwise paints it cream on the cream circle. */
.elementor-widget-button.midway-hero-link .elementor-button .elementor-button-icon svg,
.elementor-widget-button.midway-hero-link .elementor-button .elementor-button-icon i {
	fill: currentColor !important;
	color: inherit !important;
}
.elementor-widget-button.midway-hero-link .elementor-button:hover .elementor-button-icon,
.elementor-widget-button.midway-hero-link .elementor-button:active .elementor-button-icon,
.elementor-widget-button.midway-hero-link .elementor-button:focus-visible .elementor-button-icon {
	background: var(--e-global-color-primary);
	color: var(--e-global-color-secondary);
	border-color: var(--e-global-color-primary);
	transform: translateX(4px);
}
.elementor-widget-button.midway-hero-link .elementor-button:focus-visible {
	outline: 2px solid var(--e-global-color-primary);
	outline-offset: 4px;
}

/* ---------- Forms (Private Events, Contact) ---------- */
.midway-form ::placeholder {
	color: var(--e-global-color-creamln);
	opacity: 1;
}
.midway-form input[type=date]::-webkit-calendar-picker-indicator,
.midway-form input[type=time]::-webkit-calendar-picker-indicator {
	filter: invert(1);
	opacity: .7;
	cursor: pointer;
}

/* ---------- Contact map: dark tone ---------- */
.midway-map iframe {
	filter: grayscale(1) invert(.9) contrast(.9);
	display: block;
}

/* ---------- Footer links ---------- */
.midway-footer-link a {
	display: inline-block;
	transition: color .25s ease, transform .25s ease;
}
.midway-footer-link a:hover { transform: translateX(4px); }

/* Quick links: two columns, arrow slides in on hover */
.midway-footer-menu .elementor-nav-menu--main .elementor-nav-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 12px;
}
.midway-footer-menu .elementor-nav-menu--main .elementor-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color .25s ease;
}
.midway-footer-menu .elementor-nav-menu--main .elementor-item::after {
	content: "\2192";
	position: static;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .25s ease, transform .25s ease;
	background: none;
	height: auto;
	width: auto;
}
.midway-footer-menu .elementor-nav-menu--main .elementor-item:hover::after,
.midway-footer-menu .elementor-nav-menu--main .elementor-item:focus-visible::after {
	opacity: 1;
	transform: none;
}

/* ---------- Drinks page: name tags + coming-soon text ---------- */
.midway-chips ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.midway-chips li {
	margin: 0;
	padding: 9px 16px;
	border: 1px solid rgba(250, 241, 222, .18);
	border-radius: 20px;
	font-size: 15px;
	line-height: 1.3;
	color: var(--e-global-color-primary);
	background: rgba(250, 241, 222, .03);
	transition: border-color .2s ease, background .2s ease;
}
.midway-chips li:hover {
	border-color: var(--e-global-color-creamln);
	background: rgba(250, 241, 222, .08);
}
.midway-soon p { margin: 0; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	.midway-hero-link .elementor-button-icon,
	.midway-footer-link a,
	.midway-chips li { transition: none; }
	.elementor-widget-button.midway-hero-link .elementor-button:hover .elementor-button-icon,
	.midway-footer-link a:hover { transform: none; }
}

/* ---------- Drinks page: BeerMenus panel ----------
   Lay the On Tap panel out as a plain block. As a flex column it over-measures
   the embedded menu (container queries inside its shadow DOM) and leaves a
   large empty gap under the list. */
.e-con.midway-beermenu { display: block; }
