/*
Theme Name: Another 1 Barbershop
Description: A responsive child theme for the shop's Elementor pages and shared templates.
Template: hello-elementor
Version: 1.0.0
Text Domain: another1
*/

@font-face { font-family: Staatliches; src: url(fonts/staatliches.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
	--a1-ink: #0a0a0a;
	--a1-paper: #faf5ea;
	--a1-quiet: #5e5b55;
	--a1-line: #414141;
	--a1-gold: #ff8442;
	--a1-display: Staatliches, Impact, sans-serif;
	--a1-width: 78rem;
	--a1-gutter: clamp(1.2rem, 4.5vw, 4rem);
}

body { color: var(--a1-ink); background: var(--a1-paper); font: 1rem/1.6 Arial, Helvetica, sans-serif; }
img { height: auto; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid #2679cb; outline-offset: 4px; }
:where([id]) { scroll-margin-top: 1.5rem; }
.skip-link:focus { left: 1rem; top: 1rem; padding: .6rem 1rem; background: white; color: black; z-index: 99999; }
.a1-masthead, .a1-site-footer { color: #faf8f4; background: var(--a1-ink); }
.a1-masthead { position: relative; z-index: 5; }
.a1-masthead :where(a), .a1-site-footer :where(a) { color: inherit; }
.a1-header-inner.e-con, .a1-footer-inner.e-con {
	max-width: var(--a1-width);
	margin-inline: auto;
	--padding-left: var(--a1-gutter);
	--padding-right: var(--a1-gutter);
}
.a1-header-inner.e-con {
	--flex-direction: row;
	--align-items: center;
	--justify-content: space-between;
	--gap: clamp(.75rem, 2vw, 2rem);
	--padding-top: .8rem;
	--padding-bottom: .8rem;
}
.a1-brand { flex-shrink: 0; }
.a1-brand img { display: block; max-height: 4.3rem; width: auto; }
.a1-nav.e-con {
	--width: auto;
	--flex-direction: row;
	--align-items: center;
	--justify-content: center;
	--padding-top: 0;
	--padding-right: 0;
	--padding-bottom: 0;
	--padding-left: 0;
	--gap: clamp(.7rem, 1.6vw, 1.7rem);
}
.a1-nav .elementor-widget, .a1-book { width: auto; }
.a1-nav :where(a) { text-decoration: none; white-space: nowrap; }
.a1-nav :where(a:hover), .a1-site-footer :where(a:hover) { text-decoration: underline; text-underline-offset: .3em; }
.a1-menu-toggle { display: none; }
.a1-footer-inner.e-con { --padding-top: clamp(2.5rem, 7vw, 6rem); --padding-bottom: 2.5rem; }

.a1-section.e-con {
	--padding-top: clamp(3.5rem, 7.7vw, 7rem);
	--padding-bottom: clamp(3.5rem, 7.7vw, 7rem);
	--padding-left: var(--a1-gutter);
	--padding-right: var(--a1-gutter);
	--container-max-width: var(--a1-width);
}
.a1-wrap.e-con { max-width: var(--a1-width); margin-inline: auto; }
.a1-hero.e-con {
	--min-height: clamp(26rem, 65vh, 46rem);
	--justify-content: center;
	background-position: center;
	background-size: cover;
}
.a1-eyebrow :is(.elementor-heading-title, p) {
	font-size: .875rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .13em;
}
.a1-display .elementor-heading-title {
	font-family: var(--a1-display); font-weight: 400; font-size: clamp(2.9rem, 7.4vw, 7rem);
	line-height: .99; letter-spacing: -.055em; text-wrap: balance;
}
.a1-grid.e-con, .a1-gallery.e-con {
	--display: grid;
	grid-template-columns: var(--e-con-grid-template-columns, repeat(auto-fit, minmax(min(100%, 17rem), 1fr)));
	gap: clamp(1rem, 2vw, 2rem);
}
.a1-card.e-con { --padding-top: 0; --padding-left: 0; --padding-bottom: 0; --padding-right: 0; min-width: 0; }
.a1-card img, .a1-gallery img { display: block; width: 100%; }
.a1-gallery .elementor-widget-image img { aspect-ratio: 4 / 5; object-fit: cover; }
.a1-prices.e-con { --gap: 0; }
.a1-price-row.e-con {
	--flex-direction: row; --align-items: baseline; --justify-content: space-between;
	--padding-top: 1rem; --padding-bottom: 1rem; --padding-right: 0; --padding-left: 0;
	border-bottom: 1px solid var(--a1-line);
}
.a1-article :where(p, li) { line-height: 1.75; }
.a1-article .a1-wrap { max-width: 52rem; }
.a1-article .elementor-widget-text-editor :is(h2,h3,h4) { font-family: var(--a1-display); line-height: 1.15; margin-top: 1.4em; }
.a1-nav .elementor-widget, .a1-header-inner > .a1-book { flex: 0 0 auto; }
.a1-card .elementor-widget-image img { max-height: 35rem; object-fit: cover; }
.a1-section .elementor-widget-wp-widget-recent-posts ul { margin: 0; padding: 0; list-style: none; }
.a1-section .elementor-widget-wp-widget-recent-posts li { margin: 0 0 1rem; color: #ddd; }
.a1-section .elementor-widget-wp-widget-recent-posts a { color: #faf5ea; }
.a1-section .elementor-widget-shortcode { color: #fff; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.wpcf7 form :where(label) { display: block; font-size: .94rem; font-weight: 600; }
.wpcf7 form :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select) {
	width: 100%; display: block; font: inherit; padding: .85rem 1rem; margin-top: .35rem;
	color: var(--a1-ink); background: white; border: 1px solid #868077; border-radius: .2rem;
}
.wpcf7 textarea { min-height: 8rem; resize: vertical; }
.wpcf7 form p { margin: 0 0 1rem; }
.wpcf7 input[type=submit] {
	padding: .9rem 1.75rem; color: var(--a1-ink); background: var(--a1-gold);
	border: 1px solid var(--a1-ink); border-radius: .2rem; cursor: pointer; font-weight: 700;
}
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: .75rem; }

@media (max-width: 1024px) {
	.a1-header-inner.e-con { --flex-wrap: wrap; }
	.a1-nav.e-con { --width: 100%; --flex-wrap: wrap; order: 4; }
	.has-menu-toggle .a1-menu-toggle {
		display: inline-flex; align-items: center; justify-content: center; align-self: center;
		gap: .55rem; min-height: 2.75rem; padding: .4rem .65rem; margin-left: auto;
		font: inherit; line-height: 1; color: inherit; border: 1px solid currentColor; border-radius: .2rem; background: transparent;
	}
	.has-menu-toggle .a1-menu-toggle::before {
		content: ""; width: .95rem; height: .7rem; border-block: 1.5px solid currentColor;
		background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
	}
	.has-menu-toggle:not(.menu-open) .a1-nav { display: none; }
	.has-menu-toggle.menu-open .a1-nav.e-con {
		display: flex; --width: 100%; --flex-direction: column; --align-items: stretch;
		--gap: .25rem; --padding-top: .5rem; --padding-bottom: .5rem;
	}
	.has-menu-toggle.menu-open .a1-nav a { display: block; padding-block: .55rem; }
	.a1-book { flex-shrink: 0; }
}
@media (max-width: 600px) {
	.a1-brand img { max-height: 3.2rem; }
	.a1-header-inner.e-con { --gap: .55rem; }
	.a1-hero.e-con { --min-height: 28rem; }
	.a1-grid.e-con { grid-template-columns: 1fr; }
	.a1-gallery.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
}
