/*!
Theme Name: kevins-on-penn-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Custom ACF Flexible Content theme for Kevin's on Penn, Scranton PA.
Version: 1.0.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kevins-on-penn-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

kevins-on-penn-theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic (normalize, box sizing)
# Design System (tokens)
# Base
# Layout
# Utilities
# Eyebrow label
# Buttons
# Locations bar
# Site header
# Site footer
# Forms (global + Gravity Forms + search form)
# Search results
# Responsive
# Components (posts, comments, widgets, media, captions, galleries)
# Plugins
# Utilities (accessibility, alignments)
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Design System
--------------------------------------------------------------*/
:root {
	/* Font families */
	--font-heading: "DM Serif Text", Georgia, "Times New Roman", serif;
	--font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--font-label: "Geist", "Archivo", Arial, sans-serif;

	/* Colors */
	--color-dark: #1a1a18;
	--color-white: #ffffff;
	--color-gold: #c39d62;
	--color-gold-dark: #9b7337;
	--color-muted: #a39f95;
	--color-cream: #faf8f5;
	--color-olive: #4c5844;
	--color-body: #5c5850;
	--color-border: #eae6df;
	--color-burgundy: #4a1a1a;
	--color-charcoal: #221e1e;
	--color-card-dark: #262622;
	--color-ivory: #f5efe4;
	--color-taupe: #a8998a;
	--color-espresso: #1a0e06;
	--color-error: #a12c2c;
	--color-line-light: rgba(255, 255, 255, 0.15);
	--color-overlay: rgba(26, 26, 24, 0.55);

	/* Font sizes (fluid: 390px mobile → 1024px tablet → 1920px desktop) */
	--font-size-80: clamp(44px, calc(26.8px + 4.416vw), 80px);
	--font-size-72: clamp(44px, calc(31.7px + 3.155vw), 72px);
	--font-size-44: clamp(36px, calc(33.96px + 0.523vw), 44px);
	--font-size-40: clamp(32px, calc(27.08px + 1.262vw), 40px);
	--font-size-36: clamp(28px, calc(23.08px + 1.262vw), 36px);
	--font-size-28: clamp(24px, calc(21.54px + 0.631vw), 28px);
	--font-size-22: clamp(20px, calc(18.77px + 0.315vw), 22px);
	--font-size-18: 18px;
	--font-size-16: 16px;
	--font-size-15: 15px;
	--font-size-14: 14px;
	--font-size-13: 13px;
	--font-size-12: 12px;
	--font-size-11: 11px;
	--font-size-10: 10px;
	--font-size-9: 9px;

	/* Font weights */
	--fw-400: 400;
	--fw-500: 500;
	--fw-600: 600;
	--fw-700: 700;

	/* Layout */
	--container-width: 1440px;
	--container-gutter: 48px;
	--section-padding: clamp(64px, calc(44.32px + 5.047vw), 96px);
	--radius-4: 4px;
	--radius-6: 6px;
	--radius-8: 8px;
	--radius-12: 12px;

	/* Motion */
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--transition: 0.35s var(--ease-out);
	--shadow-card: 0 18px 40px rgba(0, 0, 0, 0.18);
	--shadow-card-light: 0 18px 40px rgba(26, 26, 24, 0.08);
}

@media (max-width: 1199px) {
	:root {
		--container-gutter: 32px;
	}
}

@media (max-width: 991px) {
	:root {
		--container-gutter: 24px;
	}
}

@media (max-width: 767px) {
	:root {
		--container-gutter: 15px;
	}
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html {
	scroll-behavior: smooth;
}

html.menu-open {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--color-cream);
	color: var(--color-body);
	font-family: var(--font-body);
	font-size: var(--font-size-16);
	font-weight: var(--fw-400);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: var(--fw-400);
	color: var(--color-dark);
	line-height: 1.2;
}

h1,
.font-72 {
	font-size: var(--font-size-72);
	line-height: 1.1;
}

.font-80 {
	font-size: var(--font-size-80);
	line-height: 0.95;
}

.font-44 {
	font-size: var(--font-size-44);
}

h2,
.font-40 {
	font-size: var(--font-size-40);
}

.font-36 {
	font-size: var(--font-size-36);
}

h3,
.font-28 {
	font-size: var(--font-size-28);
}

h4,
.font-22 {
	font-size: var(--font-size-22);
}

h5,
.font-18 {
	font-size: var(--font-size-18);
}

h6,
.font-16 {
	font-size: var(--font-size-16);
}

p {
	margin: 0;
}

.entry-content p + p,
.page-content p + p {
	margin-top: 1em;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition), background-color var(--transition), border-color var(--transition), opacity var(--transition);
}

a:hover {
	color: var(--color-gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--color-gold);
	outline-offset: 3px;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

.site-main {
	display: block;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.container {
	width: 100%;
	max-width: calc(var(--container-width) + (var(--container-gutter) * 2));
	margin-inline: auto;
	padding-inline: var(--container-gutter);
}

.flexible-section {
	position: relative;
	padding-block: var(--section-padding);
	overflow: hidden;
}

.flexible-section > .container {
	position: relative;
	z-index: 2;
}

.section-bg-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Image wrapper used for hover zoom. */
.media-zoom {
	overflow: hidden;
}

.media-zoom img {
	transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

/*--------------------------------------------------------------
# Utilities (use these classes in markup instead of repeating CSS)
--------------------------------------------------------------*/
.d-flex {
	display: flex;
}

.d-inline-flex {
	display: inline-flex;
}

.d-block {
	display: block;
}

.flex-row {
	flex-direction: row;
}

.flex-column {
	flex-direction: column;
}

.flex-wrap {
	flex-wrap: wrap;
}

.flex-1 {
	flex: 1 1 0;
	min-width: 0;
}

.flex-shrink-0 {
	flex-shrink: 0;
}

.align-items-start {
	align-items: flex-start;
}

.align-items-center {
	align-items: center;
}

.align-items-end {
	align-items: flex-end;
}

.align-items-stretch {
	align-items: stretch;
}

.justify-content-start {
	justify-content: flex-start;
}

.justify-content-center {
	justify-content: center;
}

.justify-content-end {
	justify-content: flex-end;
}

.justify-content-between {
	justify-content: space-between;
}

.gap-2 {
	gap: 2px;
}

.gap-6 {
	gap: 6px;
}

.gap-8 {
	gap: 8px;
}

.gap-12 {
	gap: 12px;
}

.gap-16 {
	gap: 16px;
}

.gap-20 {
	gap: 20px;
}

.gap-24 {
	gap: 24px;
}

.gap-28 {
	gap: 28px;
}

.gap-32 {
	gap: 32px;
}

.gap-36 {
	gap: 36px;
}

.gap-40 {
	gap: clamp(24px, 2.084vw, 40px);
}

.gap-48 {
	gap: clamp(24px, 2.5vw, 48px);
}

.gap-64 {
	gap: clamp(32px, 3.334vw, 64px);
}

.w-100 {
	width: 100%;
}

.list-unstyled {
	list-style: none;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.text-uppercase {
	text-transform: uppercase;
}

.flexible-section.pt-0,
.pt-0 {
	padding-top: 0;
}

.flexible-section.pb-0,
.pb-0 {
	padding-bottom: 0;
}

.bg-cream {
	background-color: var(--color-cream);
}

.bg-dark {
	background-color: var(--color-dark);
}

.bg-burgundy {
	background-color: var(--color-burgundy);
}

.bg-white {
	background-color: var(--color-white);
}

/* Default templates (page.php, single.php, archive.php, search.php, 404.php, index.php). */
.site-main.container {
	padding-block: var(--section-padding);
}

.widget-area.container {
	padding-bottom: var(--section-padding);
}

/*--------------------------------------------------------------
# Eyebrow label
--------------------------------------------------------------*/
.eyebrow {
	margin: 0;
	font-family: var(--font-mono);
	font-size: var(--font-size-11);
	font-weight: var(--fw-600);
	line-height: 1.27;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-olive);
}

.eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 24px; /* Explicit width: Safari/Firefox ignore flex-basis when sizing the label, which made it wrap. */
	height: 1px;
	background-color: currentColor;
}

.eyebrow-gold {
	color: var(--color-gold);
}

/*--------------------------------------------------------------
# Buttons (fill slides in on hover)
--------------------------------------------------------------*/
.btn {
	position: relative;
	z-index: 0;
	overflow: hidden;
	padding: 16px 28px;
	border: 0;
	border-radius: var(--radius-4);
	font-size: var(--font-size-13);
	font-weight: var(--fw-700);
	line-height: 1.08;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	isolation: isolate;
	transition: color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: var(--btn-hover-bg, var(--color-ivory));
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 0.5s var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn:hover::before,
.btn:focus-visible::before {
	transform: scaleX(1);
	transform-origin: left center;
}

.btn:active {
	transform: translateY(0);
	box-shadow: none;
}

.btn-primary {
	--btn-hover-bg: var(--color-ivory);
	background-color: var(--color-gold);
	color: var(--color-dark);
}

.btn-primary:hover,
.btn-primary:focus-visible {
	color: var(--color-dark);
}

.btn-outline-light,
.btn-outline-dark {
	padding: 15px 28px;
	border: 1px solid currentColor;
	background-color: transparent;
	font-weight: var(--fw-600);
}

.btn-outline-light {
	--btn-hover-bg: var(--color-white);
	color: var(--color-white);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
	border-color: var(--color-white);
	color: var(--color-dark);
}

.btn-outline-dark {
	--btn-hover-bg: var(--color-dark);
	color: var(--color-dark);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
	color: var(--color-white);
}

/* Animated text link with arrow (e.g. "Learn More"). */
.text-link {
	position: relative;
	min-height: 24px;
	padding-top: 8px;
	font-family: var(--font-label);
	font-size: var(--font-size-12);
	font-weight: var(--fw-600);
	line-height: 1.33;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--color-gold);
}

.text-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: calc(100% - 20px);
	height: 1px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--transition);
}

.text-link svg {
	width: 12px;
	height: 12px;
	transition: transform var(--transition);
}

.text-link:hover,
.text-link:focus-visible {
	color: var(--color-white);
}

.text-link:hover::after,
.text-link:focus-visible::after {
	transform: scaleX(1);
}

.text-link:hover svg,
.text-link:focus-visible svg {
	transform: translateX(5px);
}

/* Underline that grows from the left on hover (footer & inline links). */
.hover-underline {
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: background-size var(--transition), color var(--transition);
}

.hover-underline:hover,
.hover-underline:focus-visible {
	background-size: 100% 1px;
}
.pum .pum-container{
	max-width: 700px !important;
}
/*--------------------------------------------------------------
# Locations bar
--------------------------------------------------------------*/
.locations-bar {
	background-color: var(--color-charcoal);
	border-bottom: 1px solid var(--color-line-light);
}

.locations-bar-inner {
	min-height: 76px;
	padding-block: 12px 11px;
}

.locations-bar-label {
	margin: 0;
	font-family: var(--font-mono);
	font-size: var(--font-size-12);
	line-height: 1.25;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--color-gold);
}

.locations-list li + li::before {
	content: "\2022";
	font-family: var(--font-body);
	font-size: var(--font-size-16);
	line-height: 1.08;
	color: var(--color-gold);
}

.location-name {
	position: relative;
	font-family: var(--font-heading);
	font-size: var(--font-size-22);
	line-height: 1.3;
	color: var(--color-white);
	transition: opacity var(--transition);
}

.location-name::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 1px;
	background-color: var(--color-gold);
	transform: scaleX(0);
	transition: transform var(--transition);
}

.location-item.is-other .location-name {
	opacity: 0.8;
}

.location-item.is-current .location-name::after,
a.location-item:hover .location-name::after,
a.location-item:focus-visible .location-name::after {
	transform: scaleX(1);
}

a.location-item:hover .location-name,
a.location-item:focus-visible .location-name {
	opacity: 1;
	color: var(--color-white);
}

.location-tagline {
	margin-top: 6px;
	font-family: var(--font-mono);
	font-size: var(--font-size-11);
	line-height: 1.27;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--color-gold);
	transition: letter-spacing var(--transition);
}

a.location-item:hover .location-tagline {
	letter-spacing: 1.6px;
}

/*--------------------------------------------------------------
# Site header
--------------------------------------------------------------*/
.site-header {
	position: relative;
	z-index: 100;
	background-color: var(--color-dark);
	border-bottom: 1px solid var(--color-line-light);
}

.site-header-inner {
	min-height: 94px;
	padding-block: 24px 23px;
}

.site-branding {
	position: relative;
	z-index: 3;
	margin: 0;
	text-decoration: none;
}

.site-branding:hover {
	color: inherit;
}

.site-logo {
	color: var(--color-white);
	transition: color var(--transition);
}

.site-logo svg {
	display: block;
	width: auto;
	height: 56px;
}

.site-branding:hover .site-logo,
.site-branding:focus-visible .site-logo {
	color: var(--color-gold);
}

.site-tagline {
	font-family: var(--font-mono);
	font-size: var(--font-size-9);
	line-height: 1.33;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--color-gold);
	transition: letter-spacing var(--transition);
}

.site-branding:hover .site-tagline {
	letter-spacing: 4px;
}

/* Sticky header: fixed + compact after scrolling past it (placeholder keeps its space). */
html {
	scroll-padding-top: 115px;
}

/* The wrap only reserves space while the header is actually fixed. Unstuck it has no height of
   its own, so the header is always sized by its own padding and content — remove the tagline (or
   any other element) and it simply gets shorter, with no leftover gap. */
.site-header-wrap.is-stuck {
	min-height: var(--header-height, auto);
}

.site-header.is-sticky {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	background-color: rgba(26, 26, 24, 0.94);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(10px);
	animation: kop-header-in 0.45s var(--ease-out);
	transition: transform 0.4s var(--ease-out);
}

.site-header.is-sticky .site-header-inner {
	min-height: 0;
	padding-block: 14px;
}

/* Mobile "headroom": hide while scrolling down, show on scroll up. */
.site-header.is-sticky.is-hidden {
	transform: translateY(-100%);
	box-shadow: none;
}

@keyframes kop-header-in {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

/* Desktop menu */
.main-navigation .header-menu > li {
	position: relative;
}

.main-navigation .header-menu a {
	position: relative;
	display: block;
	font-size: var(--font-size-14);
	font-weight: var(--fw-500);
	line-height: 1.07;
	color: var(--color-muted);
}

.main-navigation .header-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: 1px;
	background-color: var(--color-gold);
	transform: scaleX(0);
	transition: transform var(--transition);
}

.main-navigation .header-menu a:hover,
.main-navigation .header-menu a:focus-visible,
.main-navigation .header-menu .current-menu-item > a {
	color: var(--color-white);
}

.main-navigation .header-menu > li > a:hover::after,
.main-navigation .header-menu > li > a:focus-visible::after,
.main-navigation .header-menu > li:hover > a::after,
.main-navigation .header-menu > .current-menu-item > a::after {
	transform: scaleX(1);
}

.submenu-toggle {
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-muted);
	cursor: pointer;
	transition: color var(--transition), transform var(--transition);
}

.submenu-toggle svg {
	width: 10px;
	height: 10px;
}

.menu-item-has-children:hover > .submenu-toggle,
.menu-item-has-children.focus > .submenu-toggle,
.menu-item-has-children.submenu-open > .submenu-toggle {
	color: var(--color-white);
	transform: rotate(180deg);
}

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 18px);
	left: -20px;
	z-index: 10;
	min-width: 220px;
	padding: 12px 0;
	border: 1px solid var(--color-line-light);
	border-radius: var(--radius-6);
	background-color: var(--color-dark);
	box-shadow: var(--shadow-card);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

/* Hover bridge so the dropdown doesn't close when moving the pointer down. */
.main-navigation .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -20px;
	height: 20px;
}

.main-navigation .sub-menu .sub-menu {
	top: -13px;
	left: 100%;
}

.main-navigation .sub-menu .sub-menu::before {
	top: 0;
	left: -12px;
	width: 12px;
	height: 100%;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li.focus > .sub-menu,
.main-navigation li.submenu-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation .sub-menu li {
	position: relative;
	padding-inline: 20px 12px;
}

.main-navigation .sub-menu .menu-item-has-children {
	justify-content: space-between;
}

.main-navigation .sub-menu a {
	padding-block: 10px;
	font-size: var(--font-size-14);
	line-height: 1.3;
	transition: color var(--transition), transform var(--transition);
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus-visible {
	transform: translateX(4px);
}

.main-navigation .sub-menu .submenu-toggle {
	transform: rotate(-90deg);
}

.header-actions {
	position: relative;
	z-index: 3;
}

.btn-header {
	--btn-hover-bg: var(--color-gold);
	min-height: 43px;
	padding: 14px 29px;
	border-radius: 0;
	background-color: var(--color-gold-dark);
	color: var(--color-dark);
}

.btn-header:hover,
.btn-header:focus-visible {
	color: var(--color-dark);
}

/* Animated hamburger (morphs into an X). */
.menu-toggle {
	position: relative;
	z-index: 3;
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-white);
	cursor: pointer;
}

.menu-toggle-bar {
	position: absolute;
	right: 0;
	width: 18px;
	height: 2px;
	background-color: currentColor;
	transition: transform 0.45s var(--ease-out), opacity 0.3s ease, width 0.3s ease;
}

.menu-toggle-bar:nth-child(2) {
	top: 16px;
}

.menu-toggle-bar:nth-child(3) {
	top: 20px;
}

.menu-toggle-bar:nth-child(4) {
	top: 24px;
}

.menu-toggle:hover .menu-toggle-bar:nth-child(3) {
	width: 12px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	opacity: 0;
	transform: translateX(8px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(4) {
	transform: translateY(-4px) rotate(-45deg);
}

.menu-overlay {
	display: none;
}

/*--------------------------------------------------------------
# Site footer
--------------------------------------------------------------*/
.site-footer {
	padding-block: clamp(64px, calc(54.16px + 2.524vw), 80px) 40px;
	border-top: 1px solid var(--color-gold);
	background-color: var(--color-dark);
	color: var(--color-muted);
	font-size: var(--font-size-14);
	line-height: 1.07;
}

.footer-about {
	flex: 0 1 405px;
	min-width: 0;
}

/* Desktop: the about text gives up width first so link columns never wrap. */
@media (min-width: 1025px) {
	.footer-columns {
		flex: 0 0 auto;
	}

	.footer-links a,
	.footer-heading {
		white-space: nowrap;
	}

	.footer-social {
		flex-wrap: wrap;
		row-gap: 8px;
	}
}

@media (min-width: 1025px) and (max-width: 1199px) {
	.footer-top {
		gap: 40px;
	}

	.footer-columns {
		gap: 40px;
	}
}

.footer-brand {
	margin: 0;
	color: var(--color-white);
}

.footer-logo svg {
	display: block;
	width: auto;
	height: 48px;
}

.footer-description {
	line-height: 1.6;
}

.footer-heading {
	margin: 0;
	font-family: var(--font-mono);
	font-size: var(--font-size-12);
	line-height: 1.33;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--color-gold);
}

.footer-links a,
.footer-legal a,
.footer-contact a {
	padding-bottom: 2px;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-contact a:hover,
.footer-social a:hover,
.footer-social a:focus-visible {
	color: var(--color-white);
}

.footer-contact address {
	font-style: normal;
	line-height: 1.07;
}

.footer-social svg,
.footer-social-custom-icon {
	object-fit: contain;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	transition: transform var(--transition), color var(--transition);
}

.footer-social a:hover svg,
.footer-social a:focus-visible svg,
.footer-social a:hover .footer-social-custom-icon {
	color: var(--color-gold);
	transform: translateY(-3px);
}

.footer-bottom {
	margin-top: 64px;
	padding-top: 64px;
	border-top: 1px solid var(--color-line-light);
	font-size: var(--font-size-12);
	line-height: 1.08;
}

.footer-copyright {
	margin: 0;
}

/* Powered by enx2 */
.powered-by {
	padding-left: 24px;
	border-left: 1px solid var(--color-line-light);
	color: var(--color-muted);
}

.powered-by-label {
	font-size: var(--font-size-12);
	line-height: 1.08;
	letter-spacing: 0.72px;
}

.powered-by-link {
	padding-block: 2px;
	color: var(--color-muted);
}

.powered-by-link:hover,
.powered-by-link:focus-visible {
	color: var(--color-white);
}

.enx2-logo {
	width: 75px;
	height: auto;
	overflow: visible;
}

.enx2-logo path {
	transition: transform 0.3s ease, fill 0.3s ease;
}

.enx2-logo path:first-child {
	transform-box: fill-box;
	transform-origin: center;
}

/*------------------------------*/

.friedman-section{
	margin-top: 64px;
	padding-top: 64px;
	border-top: 1px solid var(--color-line-light);
	opacity: 0.6;
}
.friedman-logo {
	position: relative;
	max-width: 187px;
	margin: 0 auto 22px auto;
}
.friedman-logo img{
	transition: all 0.4s;
}
.friedman-logo:hover img{
	opacity: 0.8;
}
.friedman-section .full-link {
	position: absolute !important;
	inset: 0;
	width: 100%;
	height: 100%;
}
.friedman_tagline {
	text-align: center;
	font-size: 16px;
	color: #fff;
	display: flex; flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 7px;
}
.friedman_tagline span, .friedman_tagline .tagline-star {
	position: relative;
	top: 3px;
}

.friedman_group_logos {
	display: flex;
	gap: 32px;
	align-items: center;
	margin: 40px 0 0 0;
	justify-content: center;
}
.friedman_group_logos-wrap {
	position: relative;
	width: 130px;
	padding: 80px 0 0 0;
}
.friedman_group_logos-wrap img {
	position: absolute;
	inset: 0;
	margin: auto;
	object-fit: contain;
	object-position: center;
	transition: all 0.4s;
}
.friedman_group_logos-wrap:hover img{
	opacity: 0.8;
}

@media (max-width: 1300px) {
	.friedman_group_logos{
		flex-wrap: wrap;
	}
}

/*--------------------------------------------------------------
# The Events Calendar (brand colours & fonts)
--------------------------------------------------------------*/
.tribe-common,
.tribe-events,
.tribe-events-single,
#tribe-events-pg-template {
	--tec-font-family-sans-serif: var(--font-body);
	--tec-color-accent-primary: var(--color-gold);
	--tec-color-accent-primary-hover: var(--color-gold-dark);
	--tec-color-accent-primary-active: var(--color-gold-dark);
	--tec-color-accent-primary-background: rgba(195, 157, 98, 0.12);
	--tec-color-button-primary: var(--color-gold);
	--tec-color-button-primary-hover: var(--color-gold-dark);
	--tec-color-link-accent: var(--color-gold-dark);
	--tec-color-link-accent-hover: var(--color-dark);
	--tec-color-border-active: var(--color-gold);
	--tec-color-icon-active: var(--color-gold-dark);
	--tec-color-text-primary: var(--color-dark);
	--tec-color-text-events-title: var(--color-dark);
}

.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-common button.tribe-common-c-btn,
.tribe-events .tribe-events-c-search__button {
	border-radius: var(--radius-4);
	background-color: var(--color-gold);
	color: var(--color-dark);
	font-family: var(--font-body);
	font-weight: var(--fw-700);
	letter-spacing: 1px;
	text-transform: uppercase;
}

.tribe-common .tribe-common-c-btn:hover,
.tribe-common .tribe-common-c-btn:focus-visible,
.tribe-events .tribe-events-c-search__button:hover {
	background-color: var(--color-gold-dark);
	color: var(--color-dark);
}

.tribe-events .tribe-events-calendar-list__event-title,
.tribe-events .tribe-events-calendar-month__calendar-event-title,
.tribe-events .tribe-events-c-top-bar__datepicker-desktop,
.tribe-events-single .tribe-events-single-event-title,
.tribe-events .tribe-events-calendar-day__event-title {
	font-family: var(--font-heading);
	font-weight: var(--fw-400);
}

.tribe-events-single .tribe-events-single-event-title {
	font-size: var(--font-size-44);
	line-height: 1.2;
}

/*--------------------------------------------------------------
# Forms (global + Gravity Forms)
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
select,
textarea {
	width: 100%;
	padding: 13px 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-4);
	background-color: var(--color-white);
	color: var(--color-dark);
	font-family: var(--font-body);
	font-size: var(--font-size-14);
	line-height: 1.07;
	transition: border-color var(--transition), box-shadow var(--transition);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
select:hover,
textarea:hover {
	border-color: var(--color-muted);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
	border-color: var(--color-gold);
	outline: none;
	box-shadow: 0 0 0 3px rgba(195, 157, 98, 0.25);
}

::placeholder {
	color: var(--color-muted);
	opacity: 1;
}

.gform_wrapper .gform_fields {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gform_wrapper .gfield {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.gform_wrapper .gfield--width-half {
	width: calc(50% - 12px);
}

.gform_wrapper .gfield_label,
.gform_wrapper .gform-field-label {
	display: block;
	margin: 0;
	font-size: var(--font-size-12);
	font-weight: var(--fw-600);
	line-height: 1.08;
	color: var(--color-olive);
}

.gform_wrapper .gfield_required {
	display: none;
}

.gform_wrapper .ginput_container {
	margin: 0;
}

.gform_wrapper textarea {
	display: block;
	height: 160px;
	resize: none;
}

.gform_wrapper .gform_footer {
	margin: 24px 0 0;
	padding: 0;
}

.gform_wrapper .gform_button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	padding: 16px 28px;
	border: 0;
	border-radius: var(--radius-4);
	background-color: var(--color-gold);
	background-image: linear-gradient(var(--color-dark), var(--color-dark));
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 0 100%;
	color: var(--color-dark);
	font-size: var(--font-size-13);
	font-weight: var(--fw-700);
	line-height: 1.08;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-size 0.5s var(--ease-out), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_button:focus-visible {
	background-size: 100% 100%;
	color: var(--color-gold);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.gform_wrapper .gfield_description,
.gform_wrapper .validation_message {
	font-size: var(--font-size-12);
	line-height: 1.4;
}

.gform_wrapper .validation_message {
	color: var(--color-error);
}

/* Field-level errors stay visible; the top summary box is hidden. */
.gform_wrapper .gform_validation_errors {
	display: none;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea {
	border-color: var(--color-error);
}

.gform_confirmation_message {
	color: var(--color-dark);
}

.gform_wrapper .gform_validation_container,
.gform_wrapper .gform_hidden {
	display: none;
}

/* Search form (searchform.php): field and button joined into one bar. */
.search-form .search-field {
	min-height: 50px;
	padding-inline: 16px;
	border-right: 0;
	border-radius: var(--radius-4) 0 0 var(--radius-4);
}

.search-form .search-field:hover {
	border-color: var(--color-muted);
}

.search-form .search-field:focus {
	border-color: var(--color-gold);
	outline: none;
	box-shadow: 0 0 0 3px rgba(195, 157, 98, 0.25);
}

.search-form .search-submit {
	border-radius: 0 var(--radius-4) var(--radius-4) 0;
}

.search-form .search-submit:hover,
.search-form .search-submit:focus-visible {
	transform: none;
	box-shadow: none;
}

.search-form .search-submit svg {
	width: 16px;
	height: 16px;
}

/*--------------------------------------------------------------
# Search results (search.php)
--------------------------------------------------------------*/
.search-header {
	padding-block: clamp(56px, calc(36px + 3.5vw), 96px);
	border-top: 1px solid var(--color-line-light);
}

.search-header .message_block-eyebrow {
	color: var(--color-gold);
}

.search-header-title {
	max-width: 900px;
	color: var(--color-white);
	overflow-wrap: anywhere;
}

.search-header-count {
	color: var(--color-muted);
}

.search-header .search-form {
	width: 100%;
	max-width: 560px;
	padding-top: 8px;
}

.search-header .search-field {
	border-color: transparent;
}

.search-results-section {
	padding-block: var(--section-padding);
}

.search-results-list {
	max-width: 960px;
	margin-inline: auto;
}

/* _s gives article.page/article.post a bottom margin; the list's gap handles spacing. */
article.search-result {
	margin: 0;
}

.search-result-link {
	padding: clamp(20px, calc(12px + 1vw), 32px);
	border: 1px solid var(--color-border);
	background-color: var(--color-white);
	color: inherit;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.search-result-link:hover,
.search-result-link:focus-visible {
	color: inherit;
	border-color: var(--color-gold);
	box-shadow: var(--shadow-card-light);
	transform: translateY(-3px);
}

.search-result-meta {
	font-family: var(--font-mono);
	font-size: var(--font-size-11);
	font-weight: var(--fw-600);
	line-height: 1.27;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-gold-dark);
}

.search-result-date {
	color: var(--color-muted);
}

.search-result-date::before {
	content: "·";
	margin-right: 8px;
	color: var(--color-gold);
}

.search-result-title {
	transition: color var(--transition);
}

.search-result-link:hover .search-result-title,
.search-result-link:focus-visible .search-result-title {
	color: var(--color-gold-dark);
}

.search-result-arrow {
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	color: var(--color-gold-dark);
	transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.search-result-link:hover .search-result-arrow,
.search-result-link:focus-visible .search-result-arrow {
	border-color: var(--color-gold);
	background-color: var(--color-gold);
	color: var(--color-dark);
	transform: translateX(4px);
}

.search-pagination {
	max-width: 960px;
	margin: 40px auto 0;
}

.search-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.search-pagination .page-numbers {
	min-width: 44px;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	background-color: var(--color-white);
	color: var(--color-dark);
	font-size: var(--font-size-14);
	font-weight: var(--fw-600);
	line-height: 1.43;
	text-align: center;
}

.search-pagination .page-numbers.current,
.search-pagination a.page-numbers:hover,
.search-pagination a.page-numbers:focus-visible {
	border-color: var(--color-gold);
	background-color: var(--color-gold);
	color: var(--color-dark);
}

@media (hover: none) {
	.search-result-link:hover {
		transform: none;
	}
}

@media (max-width: 480px) {
	.search-result-arrow {
		display: none;
	}

	.search-form .search-submit span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.search-result-link,
	.search-result-arrow {
		transition: none;
	}

	.search-result-link:hover,
	.search-result-link:focus-visible,
	.search-result-link:hover .search-result-arrow {
		transform: none;
	}
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1440px) {
	.footer-columns {
		gap: 48px;
	}
}

@media (min-width: 1025px) {
	.menu-panel {
		display: contents;
	}

	.menu-panel-footer {
		display: none;
	}
}

@media (max-width: 1024px) {
	.menu-toggle {
		display: block;
	}

	.header-actions {
		order: 2;
		margin-left: auto;
	}

	.main-navigation {
		order: 3;
	}

	.site-header-inner {
		gap: 20px;
	}

	.site-logo svg {
		height: 48px;
	}

	/* Slide-in mobile panel */
	.menu-overlay {
		position: fixed;
		inset: var(--menu-offset, 0px) 0 0;
		z-index: 1;
		display: block;
		background-color: rgba(10, 10, 9, 0.6);
		opacity: 0;
		visibility: hidden;
		backdrop-filter: blur(4px);
		transition: opacity 0.4s ease, visibility 0.4s ease;
	}

	.menu-panel {
		position: fixed;
		top: var(--menu-offset, 0px);
		right: 0;
		z-index: 2;
		width: min(420px, 100%);
		height: calc(100vh - var(--menu-offset, 0px));
		height: calc(100dvh - var(--menu-offset, 0px));
		padding: 16px var(--container-gutter) 32px;
		overflow-y: auto;
		scrollbar-width: none;
		border-left: 1px solid var(--color-line-light);
		background-color: var(--color-dark);
		visibility: hidden;
		transform: translateX(100%);
		transition: transform 0.55s var(--ease-out), visibility 0.55s;
	}

	.menu-panel::-webkit-scrollbar {
		display: none;
	}

	.main-navigation.toggled .menu-overlay {
		opacity: 1;
		visibility: visible;
	}

	.main-navigation.toggled .menu-panel {
		visibility: visible;
		transform: translateX(0);
	}

	.main-navigation .header-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-navigation .header-menu > li {
		flex-wrap: wrap;
		justify-content: space-between;
		border-bottom: 1px solid var(--color-line-light);
		opacity: 0;
		transform: translateX(24px);
		transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
	}

	.main-navigation.toggled .header-menu > li {
		opacity: 1;
		transform: translateX(0);
	}

	.main-navigation.toggled .header-menu > li:nth-child(1) { transition-delay: 0.12s; }
	.main-navigation.toggled .header-menu > li:nth-child(2) { transition-delay: 0.17s; }
	.main-navigation.toggled .header-menu > li:nth-child(3) { transition-delay: 0.22s; }
	.main-navigation.toggled .header-menu > li:nth-child(4) { transition-delay: 0.27s; }
	.main-navigation.toggled .header-menu > li:nth-child(5) { transition-delay: 0.32s; }
	.main-navigation.toggled .header-menu > li:nth-child(6) { transition-delay: 0.37s; }
	.main-navigation.toggled .header-menu > li:nth-child(7) { transition-delay: 0.42s; }
	.main-navigation.toggled .header-menu > li:nth-child(n+8) { transition-delay: 0.47s; }

	.main-navigation .header-menu > li > a {
		flex: 1 1 0;
		padding-block: 18px;
		font-family: var(--font-heading);
		font-size: 26px;
		font-weight: var(--fw-400);
		line-height: 1.2;
		color: var(--color-white);
		transition: color var(--transition), transform var(--transition);
	}

	.main-navigation .header-menu > li > a::after {
		display: none;
	}

	.main-navigation .header-menu > li > a:focus-visible {
		color: var(--color-gold);
		transform: translateX(6px);
	}

	/* Mobile submenus = accordion (any depth). */
	.submenu-toggle {
		width: 44px;
		height: 44px;
		border: 1px solid var(--color-line-light);
		border-radius: 50%;
		color: var(--color-white);
	}

	.submenu-toggle svg {
		width: 12px;
		height: 12px;
	}

	.menu-item-has-children:hover > .submenu-toggle,
	.menu-item-has-children.focus > .submenu-toggle {
		transform: none;
	}

	.main-navigation .menu-item-has-children.submenu-open > .submenu-toggle,
	.main-navigation .sub-menu .menu-item-has-children.submenu-open > .submenu-toggle {
		border-color: var(--color-gold);
		color: var(--color-gold);
		transform: rotate(180deg);
	}

	.main-navigation .sub-menu,
	.main-navigation .sub-menu .sub-menu {
		position: static;
		display: none;
		flex: 0 0 100%;
		min-width: 0;
		margin: 0 0 16px;
		padding: 4px 0 4px 16px;
		border: 0;
		border-left: 1px solid var(--color-gold);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.main-navigation .sub-menu::before {
		display: none;
	}

	.main-navigation li:hover > .sub-menu,
	.main-navigation li.focus > .sub-menu {
		display: none;
	}

	.main-navigation li.submenu-open > .sub-menu {
		display: block;
		animation: kop-fade-down 0.35s var(--ease-out);
	}

	.main-navigation .sub-menu li {
		flex-wrap: wrap;
		padding: 0;
	}

	.main-navigation .sub-menu a {
		flex: 1 1 0;
		padding-block: 10px;
		font-size: var(--font-size-16);
		color: var(--color-muted);
	}

	.main-navigation .sub-menu .submenu-toggle {
		width: 36px;
		height: 36px;
		transform: none;
	}

	.menu-panel-footer {
		margin-top: auto;
		padding-top: 40px;
		opacity: 0;
		transition: opacity 0.4s ease 0.4s;
	}

	.main-navigation.toggled .menu-panel-footer {
		opacity: 1;
	}

	.menu-panel-footer .btn {
		width: 100%;
	}

	.menu-panel-contact {
		font-size: var(--font-size-14);
		color: var(--color-muted);
	}

	.footer-top {
		flex-direction: column;
		gap: 40px;
	}

	.footer-about {
		flex: none;
	}

	.footer-columns {
		width: 100%;
	}

	.footer-column {
		flex: 0 0 200px;
	}

	.footer-column:nth-child(2) {
		flex-basis: 280px;
	}

	.footer-column:last-child {
		flex: 1 1 auto;
	}

	.footer-bottom-links {
		flex: 1 1 50%;
		justify-content: space-between;
	}

	.footer-copyright {
		flex: 1 1 50%;
	}
}

@media (max-width: 991px) {
	.footer-columns {
		flex-wrap: wrap;
		gap: 32px 24px;
	}

	.footer-column,
	.footer-column:nth-child(2) {
		flex: 1 1 calc(50% - 12px);
	}

	.footer-column:last-child {
		flex-basis: 100%;
	}

	.footer-social {
		flex-wrap: wrap;
		row-gap: 12px;
	}

	.footer-bottom {
		flex-wrap: wrap;
	}
}

/* Readability: never smaller than 11px on tablet & mobile (design uses 8–10px labels on desktop).
   The locations bar is exempt — client asked for it larger, so it is already 11–22px everywhere. */
@media (max-width: 1024px) {
	.site-tagline {
		font-size: var(--font-size-11);
	}
}

/* Footer links: at least 24px tall tap targets on phones and touch tablets, same visual rhythm. */
@media (max-width: 767px), (pointer: coarse) {
	.footer-links,
	.footer-legal {
		gap: 4px;
	}

	.footer-links a,
	.footer-legal a,
	.footer-contact address a {
		display: inline-block;
		padding-block: 6px;
	}

	.footer-column {
		gap: 10px;
	}

	.footer-contact {
		gap: 4px;
	}

	.footer-contact .footer-heading {
		margin-bottom: 6px;
	}

	.footer-contact address {
		gap: 4px;
	}

	.footer-contact address > *,
	.footer-contact > p {
		display: inline-block;
		padding-block: 6px;
	}

	.footer-contact .footer-social {
		gap: 4px 20px;
	}

	.footer-social a {
		padding-block: 6px;
	}
}

@media (max-width: 767px) {

	.locations-bar-inner {
		flex-direction: column;
		gap: 10px;
		padding-block: 16px;
	}

	.locations-list,
	.locations-list li {
		flex-direction: column;
		gap: 12px;
	}

	.locations-list li + li::before {
		display: none;
	}

	.location-name {
		font-size: var(--font-size-18);
		line-height: 1.33;
	}

	.site-header-inner {
		min-height: 0;
		padding-block: 16px 15px;
	}

	.site-logo svg {
		height: 44px;
	}

	.site-header.is-sticky .site-header-inner {
		padding-block: 10px;
	}

	.header-actions {
		display: none;
	}

	.menu-panel {
		width: 100%;
		border-left: 0;
	}

	.site-footer {
		padding-top: 64px;
	}

	.footer-top {
		gap: 32px;
	}

	.footer-columns {
		flex-direction: column;
		gap: 32px;
	}

	.footer-column,
	.footer-column:nth-child(2) {
		flex-basis: auto;
	}

	/* Social links in one row (wraps on very small screens), like desktop. */
	.footer-social {
		flex-wrap: wrap;
	}

	/* One divider, then copyright, then legal links (grouped left) + "Powered by" (inline, right). */
	.footer-bottom {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		margin-top: 40px;
		padding-top: 32px;
	}

	.footer-bottom-links {
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		gap: 16px 24px;
	}

	.footer-bottom-links .footer-legal {
		justify-content: flex-start;
		gap: 4px 20px;
	}

	.footer-copyright {
		line-height: 1.5;
	}

	.powered-by {
		flex-direction: row;
		align-items: center;
		gap: 8px;
		padding: 0;
		border: 0;
	}
}

@media (hover: none) {
	.btn:hover {
		transform: none;
		box-shadow: none;
	}
}

/* Mobile-panel link hover only where a real pointer exists (no "stuck" hover after a tap). */
@media (max-width: 1024px) and (hover: hover) {
	.main-navigation .header-menu > li > a:hover {
		color: var(--color-gold);
		transform: translateX(6px);
	}
}

/* iOS Safari zooms the page when a focused field's text is < 16px: use 16px on touch devices. */
@media (pointer: coarse) {
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	input[type="number"],
	input[type="date"],
	input[type="search"],
	select,
	textarea {
		font-size: var(--font-size-16);
	}
}

@media (max-width: 1024px) and (max-height: 760px) {
	.main-navigation .header-menu > li > a {
		padding-block: 12px;
		font-size: 22px;
	}

	.menu-panel-footer {
		padding-top: 24px;
	}
}

@media (max-width: 600px) {
	.site-header.is-sticky {
		top: 0;
	}
}

@keyframes kop-fade-down {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

article.post,
article.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
