/*
Theme Name: Leave Custom
Theme URI: https://letsallleave.com/
Author: Leave
Description: A standalone theme for the Chicago band Leave. Shared styling and site structure for pages containing their own native HTML. No page builder required.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leave-custom
Tags: custom-logo, custom-menu, featured-images, full-width-template
*/

:root {
	--lal-ink: #20242b;
	--lal-green: #378a43;
	--lal-pink: #f2295b;
	--lal-purple: #5d3194;
	--lal-paper: #fff;
	--lal-width: 1650px;
	--lal-gap: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--lal-paper); color: var(--lal-ink); font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
video, iframe { max-width: 100%; }
a { color: #194f88; text-underline-offset: .16em; overflow-wrap: anywhere; }
a:hover { color: var(--lal-purple); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #116a9b; outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.18; overflow-wrap: break-word; }
h1 { font-size: clamp(36px, 6vw, 80px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: clamp(24px, 2.5vw, 32px); }
p { margin: 0 0 1.1em; }
figure { margin: 0; }
.lal-skip-link { position: absolute; z-index: 10000; top: 12px; left: 16px; padding: 10px 18px; background: white; color: black; transform: translateY(-160%); }
.lal-skip-link:focus { transform: none; }
.lal-site-header { position: relative; z-index: 20; background: white; border-bottom: 1px solid #e7e7e7; }
.lal-header-inner { width: min(var(--lal-width), 96%); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding: 18px 0; }
.lal-wordmark { font-family: Georgia, 'Times New Roman', serif; font-size: 40px; font-weight: 800; line-height: 1; color: var(--lal-green); letter-spacing: .06em; text-decoration: none; }
.lal-brand img { width: auto; max-width: 230px; max-height: 85px; }
.lal-site-navigation { flex: 1 1 900px; }
.lal-menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; margin: 0; padding: 0; }
.lal-menu li { position: relative; }
.lal-menu a { display: block; padding: 7px 0; color: #292d34; font-size: 15px; line-height: 1.4; font-weight: 600; text-decoration: none; }
.lal-menu a:hover, .lal-menu .current-menu-item > a, .lal-menu .current_page_item > a { color: #2b7437; text-decoration: underline; text-decoration-thickness: 2px; }
.lal-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; list-style: none; padding: 12px 18px; margin: 0; background: white; box-shadow: 0 7px 20px #0002; }
.lal-menu .sub-menu .sub-menu { left: 100%; top: 0; }
.lal-menu li:hover > .sub-menu, .lal-menu li:focus-within > .sub-menu { display: block; }
.lal-menu-toggle { display: none; color: #20242b; background: white; border: 1px solid #777; border-radius: 4px; padding: 8px 14px; }
.lal-page-content { min-height: 55vh; }
.lal-container { position: relative; width: min(var(--lal-width), 94%); margin: 0 auto; min-width: 0; }
.lal-section { position: relative; padding: 40px 0; isolation: isolate; }
.lal-section-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lal-section > .lal-container { z-index: 1; }
.lal-row { display: flex; gap: var(--lal-gap); align-items: flex-start; }
.lal-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lal-column { flex: 1 1 0; min-width: 0; }
.lal-column[style*="--lal-column-width"] { flex-basis: var(--lal-column-width); }
.lal-grid { display: grid; grid-template-columns: repeat(var(--lal-grid-columns, 2), minmax(0, 1fr)); gap: var(--lal-gap); min-width: 0; }
.lal-align-center { text-align: center; }
.lal-align-left { text-align: left; }
.lal-align-right { text-align: right; }
.lal-heading { margin-bottom: 0; }
.lal-prose { overflow-wrap: anywhere; }
.lal-prose > :last-child { margin-bottom: 0; }
.lal-prose img { height: auto; }
.lal-prose blockquote { margin: 20px 0; padding-left: 24px; border-left: 4px solid var(--lal-purple); }
.lal-button-wrap { text-align: center; }
.lal-button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 48px; padding: 20px; border: 4px double var(--lal-purple); border-radius: 1px; background: linear-gradient(120deg, var(--lal-pink), #b82681); color: white; font-size: clamp(18px, 1.6vw, 26px); font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; transition: filter .18s ease; }
.lal-button:hover { color: white; filter: brightness(.88); }
.lal-image img { width: 100%; }
.lal-image figcaption, .lal-gallery-item figcaption { margin-top: 8px; color: #454545; font-size: 15px; line-height: 1.4; }
.lal-gallery { columns: 3; column-gap: 20px; }
.lal-gallery-item { display: inline-block; width: 100%; margin: 0 0 20px; break-inside: avoid; }
.lal-gallery-item img { width: 100%; height: auto; }
[data-lal-lightbox] { display: block; }
[data-lal-lightbox] img { transition: filter .18s ease; }
[data-lal-lightbox]:hover img { filter: brightness(.9); }
.lal-card { background: #f7f7f7; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.lal-card > img { width: 100%; object-fit: cover; }
.lal-card-content { padding: 22px; }
.lal-card-content h3 { font-size: 24px; }
.lal-card-content p { font-size: 16px; }
.lal-video { margin: 0 auto; width: 100%; }
.lal-video video { width: 100%; height: auto; display: block; background: #151515; }
.lal-video iframe { display: block; border: 0; width: 100%; aspect-ratio: 16 / 9; }
.lal-standard-page { max-width: 1100px; padding: 60px 0 80px; }
.lal-standard-page h1 { margin-bottom: 32px; }
.lal-post-summary { padding: 28px 0; border-bottom: 1px solid #ddd; }
.lal-pagination, .navigation { margin: 28px 0; }
.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; width: 1px; white-space: nowrap; }
.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; }
.search-form { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
input[type="search"], input[type="text"], input[type="email"], input[type="url"], textarea { max-width: 100%; padding: 10px; border: 1px solid #888; background: white; color: #20242b; }
.search-submit, input[type="submit"] { padding: 10px 18px; border: 1px solid #20242b; background: #20242b; color: white; }
.lal-comments { margin-top: 40px; }
.comment-list { padding-left: 24px; }
.lal-site-footer { padding: 40px 16px; text-align: center; background: #f6f6f6; border-top: 1px solid #e7e7e7; font-size: 15px; color: #3b3b3b; }
.lal-site-footer p { margin: 0 0 5px; }
.lal-lightbox:not([open]) { display: none; }
.lal-lightbox { position: fixed; inset: 0; margin: auto; width: min(96vw, 1600px); max-width: 96vw; max-height: 96vh; padding: 12px; border: 1px solid #ffffff44; background: #111; color: white; overflow: auto; }
.lal-lightbox::backdrop { background: #000e; }
.lal-lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lal-lightbox-toolbar p { margin: 0; }
.lal-lightbox button { background: #252525; color: white; border: 1px solid #ffffff66; min-width: 48px; min-height: 48px; border-radius: 4px; font-size: 32px; line-height: 1; }
.lal-lightbox button:focus-visible { outline-color: #61ce70; }
.lal-lightbox-stage { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 12px; }
.lal-lightbox-stage figure { min-width: 0; text-align: center; }
.lal-lightbox-image { margin: 0 auto; width: auto; max-width: 100%; max-height: 78vh; object-fit: contain; }
.lal-lightbox-caption { padding: 12px 0 4px; font-size: 16px; }
.lal-viewer-open { overflow: hidden; }
@media (max-width: 1099px) {
	.lal-header-inner { width: 94%; }
	.lal-js .lal-menu-toggle { display: inline-flex; gap: 10px; }
	.lal-site-navigation { flex-basis: 100%; }
	.lal-js .lal-site-navigation { display: none; }
	.lal-js .lal-site-navigation.is-open { display: block; }
	.lal-menu { justify-content: flex-start; flex-direction: column; gap: 0; }
	.lal-menu a { padding: 11px 0; font-size: 17px; }
	.lal-menu .sub-menu, .lal-menu .sub-menu .sub-menu { display: block; position: static; box-shadow: none; padding: 0 0 0 20px; }
	.lal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lal-grid[style*="--lal-grid-columns:1"] { grid-template-columns: minmax(0, 1fr); }
	.lal-row { flex-wrap: wrap; }
	.lal-row > .lal-column { flex-basis: calc(50% - 12px); }
	.lal-gallery { columns: 2; }
}
@media (max-width: 600px) {
	body { font-size: 17px; }
	.lal-wordmark { font-size: 34px; }
	.lal-section { padding: 28px 0; }
	.lal-row { flex-direction: column; gap: 20px; }
	.lal-row > .lal-column { width: 100%; flex-basis: auto; }
	.lal-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.lal-gallery { columns: 1; }
	.lal-button { padding: 16px; }
	.lal-standard-page { padding: 40px 0 60px; }
	.lal-lightbox-stage { grid-template-columns: 1fr 1fr; gap: 8px; }
	.lal-lightbox-stage figure { grid-column: 1 / -1; grid-row: 1; }
	.lal-lightbox-prev { justify-self: start; }
	.lal-lightbox-next { justify-self: end; }
	.lal-lightbox-image { max-height: 65vh; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
