/* Holiday Cafe: states Bricks settings can't express. Everything else is tokens and Style Manager. */

::selection {
	color: var(--white);
	background: var(--selection);
}

a:hover {
	color: var(--brand-primary);
}

:focus-visible {
	outline: 3px solid var(--brand-primary);
	outline-offset: 3px;
	/* Light band inside the navy ring, so focus shows on navy bars and photos too. */
	box-shadow: 0 0 0 3px var(--surface);
}

.skip-link {
	position: fixed;
	top: var(--space-2xs);
	left: var(--space-2xs);
	z-index: 100000;
	padding: var(--space-2xs) var(--space-xs);
	border-radius: 0;
	background: var(--brand-primary);
	color: var(--white);
}


/* Check-circle bullets for rule lists (live used Elementor icon lists). */
.u-checklist ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.u-checklist li {
	position: relative;
	margin-bottom: var(--space-3xs);
	padding-left: calc(1.4rem + var(--space-2xs));
	font-size: 1.5rem;
	line-height: 2.4rem;
	color: var(--ink);
}

.u-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.4rem;
	height: 1.4rem;
	color: var(--ink-muted);
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M4.8 8.2l2.1 2.1 4.3-4.4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M4.8 8.2l2.1 2.1 4.3-4.4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Bricks forms: the submit button has no padding control. */
.brxe-form .submit-button-wrapper .bricks-button {
	padding: var(--space-xs) var(--space-md);
}

/* Formidable (order forms): restyled on tokens to match the live forms. Formidable's own style is generic. */
.frm_forms.with_frm_style {
	/* Formidable's own sheet reads these variables and outranks plain selectors. */
	--description-font-size: 1.4rem;
	--section-font-size: 2.5rem;
	--section-color: var(--ink-muted);
	--section-pad: 1.5rem 0 0.3rem;
	--section-mar-bottom: 3rem;
	--section-border-width: var(--line-thick);
	--section-border-color: var(--border);
	font-family: var(--font-body);
}

.frm_forms.with_frm_style .frm_primary_label {
	font-size: var(--text-base);
	color: var(--ink-muted);
}

.frm_forms.frm_forms.with_frm_style :is(.frm_description, .frm_help) {
	font-size: var(--description-font-size);
	color: var(--ink-muted);
}

/* Formidable hardcodes the section rule, so this outranks it by one class. */
.frm_forms.frm_forms.with_frm_style .frm-show-form .frm_section_heading h3[class*="frm_pos_"] {
	border-top: var(--line-thick) solid var(--border);
}

.frm_forms.with_frm_style .frm_form_field input:not([type=checkbox]):not([type=radio]):not([type=file]),
.frm_forms.with_frm_style .frm_form_field select,
.frm_forms.with_frm_style .frm_form_field textarea {
	min-height: 4.6rem;
	padding: 0.8rem 1rem;
	font-size: 1.6rem;
	color: var(--ink);
	background-color: var(--white);
	border: var(--line-hairline) solid var(--border);
	border-radius: var(--radius-sm);
	box-shadow: none;
}

.frm_forms.with_frm_style .frm_form_field :is(input, select, textarea):focus {
	border-color: var(--brand-primary);
	box-shadow: none;
}

.frm_forms.with_frm_style .frm_checkbox label,
.frm_forms.with_frm_style .frm_radio label {
	font-size: 1.5rem;
	color: var(--ink);
}

.frm_forms.with_frm_style :is(.frm_blank_field input, .frm_blank_field select, .frm_blank_field textarea) {
	border-color: var(--danger);
}

.frm_forms.with_frm_style .frm_error,
.frm_forms.with_frm_style .frm_error_style {
	color: var(--danger);
}

.frm_forms.with_frm_style .frm_submit :is(button, input[type=submit]),
.frm_forms.with_frm_style :is(.frm_add_form_row, .frm_remove_form_row) {
	padding: 1.6rem 3rem;
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
	text-transform: capitalize;
	color: var(--white);
	background: var(--brand-accent);
	border: 0;
	border-radius: var(--radius-none);
	box-shadow: none;
}

.frm_forms.with_frm_style .frm_submit :is(button, input[type=submit]):is(:hover, :focus-visible),
.frm_forms.with_frm_style :is(.frm_add_form_row, .frm_remove_form_row):is(:hover, :focus-visible) {
	color: var(--white);
	background: var(--brand-primary);
}

/* Instagram strip on phones: first photo and the follow tile run full width, then a row of three (live layout). */
@media (max-width: 767px) {
	.u-insta-grid > :nth-child(-n+2) {
		grid-column: 1 / -1;
	}
}

/* Links inside body text are underlined so they stand apart from the words around them. */
.brxe-text a:not([class]) { text-decoration: underline; text-underline-offset: 0.15em; }

/* Instagram strip tiles are size containers so the follow card's contents scale with the tile (cqi units). */
.u-insta-grid > * { container-type: inline-size; }
/* The whole strip is one link; its ring is drawn inside so the screen edges don't cut it off. */
.u-insta-grid:focus-visible { outline-offset: -3px; box-shadow: inset 0 0 0 6px var(--surface); }

/* Dot-circle bullets: the variant some live lists use instead of check circles. */
.u-checklist--dot li::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.6'/%3E%3Ccircle cx='8' cy='8' r='3.2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.6'/%3E%3Ccircle cx='8' cy='8' r='3.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Live headings wrap normally; the kit's balanced wrap changes where lines break. */
h1, h2, h3, h4, h5, h6,
.u-display {
	text-wrap: wrap;
}

/* Marquee: a full-width row that drifts right to left on a loop and can be swiped or dragged. site.js repeats the items and moves it. */
.u-marquee {
	--marquee-speed: 12; /* pixels per second */
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	cursor: grab;
}
.u-marquee::-webkit-scrollbar { display: none; }
.u-marquee.is-dragging { cursor: grabbing; user-select: none; }
.u-marquee:focus-visible { outline: 2px solid var(--surface); outline-offset: -2px; box-shadow: none; }
.u-marquee__track {
	display: flex;
	flex: 0 0 auto;
	align-items: flex-start;
	gap: var(--space-md);
	width: max-content;
}
.u-marquee__track > * {
	flex: 0 0 min(var(--marquee-item, 38rem), 82vw);
	margin: 0 !important;
}
.u-marquee__track { align-items: stretch; }
/* Phones: long quotes stop at 9 lines with a Read more toggle, so every card is the same height. */
.u-marquee__more {
	display: none;
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--brand-primary);
	font: inherit;
	font-size: var(--text-sm);
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
@media (max-width: 767px) {
	.u-marquee__track > :not(.is-expanded) > .brxe-text {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 9;
		overflow: hidden;
	}
	.u-marquee__track > .is-clamped .u-marquee__more { display: block; }
}

/* Bento: a 3-column grid (2 on tablets, 1 on phones) of cards that fills every row. site.js makes the longest
   items span two columns, just enough of them to leave no gaps, and alternates their side. */
.u-bento {
	--bento-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--bento-cols), minmax(0, 1fr));
	gap: var(--space-md);
}
.u-bento > * { margin: 0 !important; }
.u-bento > .is-wide { grid-column: span 2; background-color: var(--surface); }
.u-bento > .is-wide > .brxe-text { font-size: var(--text-lede); line-height: 1.5; }
@media (max-width: 991px) { .u-bento { --bento-cols: 2; } }
@media (max-width: 767px) { .u-bento { --bento-cols: 1; } }

/* Order forms on phones: two-column choice lists stack, so long options don't run off the edge. */
@media (max-width: 478px) {
	.frm_forms.with_frm_style .frm_two_col .frm_opt_container {
		grid-template-columns: 1fr;
	}
}

/* SVG icons (Font Awesome replacements): keep their size in tight flex rows, and their own width where Bricks sets a square box. */
svg.brxe-icon,
.brxe-text-link .icon > svg { flex-shrink: 0; }
:is(#brx-header, #brx-content, #brx-footer) .brxe-text-link .icon > svg { width: auto; }
/* Icon in a baseline-aligned row: sits like a font glyph, 1/8 em below the baseline. */
svg.u-icon-baseline { margin-top: -0.125em; position: relative; top: 0.125em; }
/* Map credit: Leaflet's default light-blue links on a see-through strip fall below 4.5:1 over the map. */
.leaflet-container .leaflet-control-attribution { background: var(--white); color: var(--ink); }
.leaflet-container .leaflet-control-attribution a { color: var(--brand-primary); }
/* Pause/Play for moving content: under the review strip, and on the corner of photo slideshows. */
.u-motion-toggle { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 4.4rem; padding: 0.8rem 1.6rem; border: 1px solid currentColor; background: transparent; font-size: var(--text-sm); font-weight: 600; line-height: 1; cursor: pointer; }
.u-motion-toggle svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
/* Both words share one grid cell so the button keeps the width of the longer one. */
.u-motion-toggle__label { display: grid; }
.u-motion-toggle__label > span { grid-area: 1 / 1; }
.u-motion-toggle:not(.is-paused) .u-motion-toggle__label > span:last-child,
.u-motion-toggle.is-paused .u-motion-toggle__label > span:first-child { visibility: hidden; }
.u-motion-toggle--on-dark { align-self: flex-end; margin-top: var(--space-md); margin-right: var(--space-sm); color: var(--white); }
.u-motion-toggle--overlay { position: absolute; right: var(--space-sm); bottom: var(--space-sm); z-index: 2; border-color: transparent; background: var(--white); color: var(--brand-primary); }
/* Phone menu icon morphs between hamburger and X (0.5s). Bricks toggles .is-active on both buttons.
   Closing: the nav-bar button transitions back to a hamburger. Opening: the close button inside the menu uses keyframes,
   because transitions on its bars don't start inside the Bricks menu panel. */
:is(#brxe-hh0097, #brxe-hh0098) { -webkit-tap-highlight-color: transparent; }
#brxe-hh0098 .brxa-inner, #brxe-hh0098 .brxa-inner::before, #brxe-hh0098 .brxa-inner::after { transition: transform 0.5s ease, background-color 0.5s ease; }
:is(#brxe-hh0097, #brxe-hh0098).is-active .brxa-inner { background-color: transparent; }
#brxe-hh0097.is-active .brxa-inner::before, #brxe-hh0098.is-active .brxa-inner::before { transform: translate3d(0, 10px, 0) rotate(45deg); }
#brxe-hh0097.is-active .brxa-inner::after, #brxe-hh0098.is-active .brxa-inner::after { transform: translate3d(0, -10px, 0) rotate(-45deg); }
@keyframes hc-menu-x-mid { from { background-color: currentColor; } to { background-color: transparent; } }
@keyframes hc-menu-x-top { from { transform: none; } to { transform: translate3d(0, 10px, 0) rotate(45deg); } }
@keyframes hc-menu-x-bottom { from { transform: none; } to { transform: translate3d(0, -10px, 0) rotate(-45deg); } }
#brxe-hh0097.is-active .brxa-inner { animation: hc-menu-x-mid 0.5s ease; }
#brxe-hh0097.is-active .brxa-inner::before { animation: hc-menu-x-top 0.5s ease; }
#brxe-hh0097.is-active .brxa-inner::after { animation: hc-menu-x-bottom 0.5s ease; }
@media (prefers-reduced-motion: reduce) {
	#brxe-hh0098 .brxa-inner, #brxe-hh0098 .brxa-inner::before, #brxe-hh0098 .brxa-inner::after { transition: none; }
	#brxe-hh0097.is-active .brxa-inner, #brxe-hh0097.is-active .brxa-inner::before, #brxe-hh0097.is-active .brxa-inner::after { animation: none; }
}

