/*
Theme Name: Bez Leda
Theme URI: https://bezledastudios.com
Author: Bez Leda Studios
Author URI: https://bezledastudios.com
Description: A calm, modern theme with a customizable homepage, colour scheme, and type. Designed by Bez Leda Studios.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
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: bez-leda
Tags: one-column, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, block-styles, wide-blocks, threaded-comments, translation-ready, blog, sticky-post
*/

:root {
	--bl-bg: #f3f6f7;
	--bl-surface: #ffffff;
	--bl-ink: #12181c;
	--bl-muted: #4a5b63;
	--bl-accent: #0c7390;
	--bl-accent-soft: #d7eef3;
	--bl-on-accent: #f4fcfd;
	--bl-header: #f3f6f7;
	--bl-footer: #10181c;
	--bl-footer-text: #d5e2e7;
	--bl-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--bl-font: "Manrope", "Segoe UI", sans-serif;
	--bl-size: 17px;
	--bl-line: color-mix(in srgb, var(--bl-ink) 10%, transparent);
	--bl-radius: 1.35rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: var(--bl-size);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	max-width: 100%;
	overflow-x: clip;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(920px 420px at 100% -8%, var(--bl-accent-soft), transparent 62%),
		var(--bl-bg);
	color: var(--bl-ink);
	font-family: var(--bl-font);
	font-size: 1rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

body.admin-bar {
	min-height: calc(100vh - 32px);
}

img,
svg {
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
	color: inherit;
}

button,
input[type="submit"] {
	cursor: pointer;
}

a {
	color: inherit;
}

p {
	margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
	font-family: var(--bl-display);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

::selection {
	background: var(--bl-accent);
	color: var(--bl-on-accent);
}

:focus-visible {
	outline: 2px solid var(--bl-accent);
	outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
	outline: none;
}

[hidden] {
	display: none !important;
}

.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;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100000;
	background: var(--bl-ink);
	color: var(--bl-bg);
	padding: 0.6rem 0.9rem;
	border-radius: 999px;
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
}

.container {
	width: min(1120px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.narrow {
	width: min(42rem, 100%);
	margin-inline: auto;
}

.site-header,
.site-main,
.site-footer {
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.site-main {
	flex: 1 0 auto;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0 1rem;
	font-family: var(--bl-font);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bl-accent);
}

.eyebrow::before {
	content: "";
	width: 1.6rem;
	height: 1px;
	background: currentColor;
}

.eyebrow:empty {
	display: none;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.85rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--bl-accent);
	color: var(--bl-on-accent);
	text-decoration: none;
	font-weight: 650;
	font-size: 0.95rem;
	letter-spacing: -0.01em;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
	background: color-mix(in srgb, var(--bl-accent) 78%, var(--bl-ink));
	color: var(--bl-on-accent);
	transform: translateY(-1px);
}

.button-small {
	padding: 0.68rem 0.95rem;
	font-size: 0.88rem;
}

.button-ghost {
	background: var(--bl-surface);
	color: var(--bl-ink);
	border-color: var(--bl-line);
}

.button-ghost:hover {
	background: var(--bl-surface);
	color: var(--bl-accent);
	border-color: var(--bl-accent);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--bl-header);
	background: color-mix(in srgb, var(--bl-header) 86%, transparent);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--bl-line);
}

body.admin-bar .site-header {
	top: 32px;
}

.header-inner {
	display: flex;
	align-items: center;
	min-height: 4.5rem;
	gap: 1rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
	color: var(--bl-ink);
	text-decoration: none;
}

.brand-mark,
.hero-panel-mark {
	display: inline-flex;
	color: var(--bl-accent);
	flex: 0 0 auto;
}

.brand-mark {
	width: 0.85rem;
	height: 1.15rem;
}

.brand-mark .mark-svg,
.hero-panel-mark .mark-svg,
.hero-panel-watermark .mark-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.custom-logo {
	width: auto;
	max-height: 42px;
	display: block;
}

.brand-name {
	font-family: var(--bl-display);
	font-weight: 600;
	font-size: 1.28rem;
	letter-spacing: -0.04em;
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nav-toggle {
	display: none;
	appearance: none;
	width: 2.6rem;
	height: 2.6rem;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--bl-line);
	border-radius: 999px;
	background: var(--bl-surface);
	color: var(--bl-ink);
	align-items: center;
	justify-content: center;
}

.nav-toggle-box {
	width: 1rem;
	height: 0.7rem;
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
}

.nav-toggle-box span {
	display: block;
	height: 1.5px;
	background: currentColor;
	border-radius: 1px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.35rem;
	margin-left: auto;
}

.site-nav .menu,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav .menu {
	display: flex;
	align-items: center;
	gap: 1.15rem;
}

.site-nav .menu a {
	color: var(--bl-ink);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current-menu-ancestor > a {
	color: var(--bl-accent);
}

.site-nav .menu > li {
	position: relative;
}

.site-nav .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 0.55rem);
	left: 0;
	min-width: 12.5rem;
	padding: 0.45rem;
	background: var(--bl-surface);
	border: 1px solid var(--bl-line);
	border-radius: 0.9rem;
	box-shadow: 0 18px 40px color-mix(in srgb, var(--bl-ink) 8%, transparent);
}

.site-nav .sub-menu a {
	display: block;
	padding: 0.45rem 0.65rem;
	border-radius: 0.55rem;
}

.site-nav .sub-menu a:hover {
	background: var(--bl-accent-soft);
}

.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu {
	display: block;
}

.hero {
	padding: clamp(3.2rem, 8vw, 6.5rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.78fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: stretch;
}

.hero-grid > *,
.band-card > *,
.footer-grid > *,
.feature-card,
.post-card {
	min-width: 0;
}

.hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 0.5rem 0;
}

.hero-title,
.band-title,
.features-title,
.hero-text,
.band-text,
.feature-card p,
.footer-blurb,
.hero-panel-text {
	white-space: pre-line;
}

.hero-title {
	margin: 0;
	max-width: 100%;
	font-size: clamp(3.4rem, 7.2vw, 6.35rem);
	font-weight: 560;
	line-height: 0.9;
	letter-spacing: -0.05em;
}

.hero-text {
	max-width: 36rem;
	margin: 1.25rem 0 0;
	color: var(--bl-muted);
	font-size: 1.12rem;
}

.hero-text:empty,
.hero-panel-text:empty,
.footer-blurb:empty {
	display: none;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1.7rem 0 0;
}

.hero-panel {
	position: relative;
	overflow: hidden;
	min-height: 28rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	padding: 1.6rem;
	border-radius: 1.8rem;
	color: var(--bl-on-accent);
	background:
		radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--bl-on-accent) 30%, transparent), transparent 52%),
		linear-gradient(165deg, var(--bl-accent), color-mix(in srgb, var(--bl-accent) 38%, var(--bl-footer)));
	box-shadow: 0 30px 60px color-mix(in srgb, var(--bl-accent) 18%, transparent);
}

.hero-panel-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hero-panel-mark {
	width: 1rem;
	height: 1.35rem;
	color: var(--bl-on-accent);
}

.hero-panel-label,
.hero-panel-text {
	position: relative;
	z-index: 1;
	margin: 0;
}

.hero-panel-label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hero-panel-text {
	max-width: min(12ch, 100%);
	font-family: var(--bl-display);
	font-size: clamp(2.2rem, 4vw, 3.3rem);
	font-weight: 560;
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.hero-panel-watermark {
	position: absolute;
	width: 14rem;
	height: 18rem;
	right: -2rem;
	bottom: -3.5rem;
	color: var(--bl-on-accent);
	opacity: 0.16;
	pointer-events: none;
}

.home-section {
	padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.section-intro {
	max-width: 40rem;
	margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.features-title,
.posts-title {
	margin: 0.2rem 0 0;
	max-width: min(14ch, 100%);
	font-size: clamp(2.15rem, 4vw, 3.45rem);
}

.feature-grid,
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
	gap: 1rem;
}

.feature-card,
.post-card,
.post-navigation a {
	background: var(--bl-surface);
	border: 1px solid var(--bl-line);
	box-shadow: 0 1px 2px color-mix(in srgb, var(--bl-ink) 4%, transparent);
}

.feature-card {
	min-height: 100%;
	padding: 1.45rem 1.4rem 1.55rem;
	border-radius: var(--bl-radius);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
	border-color: color-mix(in srgb, var(--bl-accent) 48%, transparent);
	transform: translateY(-2px);
}

.feature-index {
	display: block;
	font-family: var(--bl-display);
	font-size: 1.7rem;
	letter-spacing: -0.04em;
	color: var(--bl-accent);
}

.feature-card h3 {
	margin: 1.15rem 0 0.55rem;
	font-size: 1.7rem;
}

.feature-card p {
	margin: 0;
	color: var(--bl-muted);
}

.band-card {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: end;
	padding: clamp(1.8rem, 5vw, 3.6rem);
	border-radius: 1.8rem;
	background: var(--bl-ink);
	color: var(--bl-bg);
}

.band-card .eyebrow {
	color: var(--bl-accent-soft);
}

.band-title {
	margin: 0.25rem 0 0;
	max-width: min(12ch, 100%);
	font-size: clamp(2.2rem, 4.4vw, 3.7rem);
}

.band-text {
	margin: 0;
	max-width: 36rem;
	font-size: 1.08rem;
	color: color-mix(in srgb, var(--bl-bg) 82%, transparent);
}

.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 1.35rem;
}

.text-link {
	color: var(--bl-accent);
	font-weight: 700;
	text-decoration: none;
}

.text-link:hover {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 1.2rem;
}

.card-media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--bl-accent-soft);
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-body {
	padding: 1.1rem 1.15rem 1.3rem;
}

.card-meta,
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.45rem;
	color: var(--bl-muted);
	font-size: 0.86rem;
}

.card-cat,
.entry-terms a,
.edit-link a {
	color: var(--bl-accent);
	text-decoration: none;
}

.card-cat:hover,
.entry-terms a:hover,
.edit-link a:hover {
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.card-flag {
	padding: 0.12rem 0.45rem;
	border-radius: 999px;
	background: var(--bl-accent-soft);
	color: var(--bl-accent);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.5rem;
}

.post-card h3 a {
	color: inherit;
	text-decoration: none;
}

.post-card h3 a:hover {
	color: var(--bl-accent);
}

.card-excerpt {
	color: var(--bl-muted);
	font-size: 0.98rem;
}

.card-excerpt p {
	margin: 0;
}

.page-hero {
	padding: clamp(2.8rem, 7vw, 5rem) 0 1.25rem;
}

.page-hero h1 {
	margin: 0.2rem 0 0;
	max-width: min(14ch, 100%);
	font-size: clamp(2.7rem, 6vw, 4.8rem);
	line-height: 0.96;
	letter-spacing: -0.045em;
}

.page-hero-text {
	max-width: 38rem;
	margin-top: 0.9rem;
	color: var(--bl-muted);
	font-size: 1.08rem;
}

.page-hero-text p:last-child {
	margin-bottom: 0;
}

.loop-wrap,
.entry-layout {
	padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.entry-media {
	margin: 0.5rem 0 1.8rem;
}

.entry-media img {
	width: 100%;
	border-radius: 1.25rem;
}

.entry-content > * + * {
	margin-top: 1.05em;
}

.entry-content h2,
.entry-content h3 {
	margin: 1.6em 0 0.4em;
}

.entry-content h2 {
	font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.entry-content a {
	color: var(--bl-accent);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.2rem;
}

.entry-content li + li {
	margin-top: 0.35rem;
}

.entry-content blockquote {
	margin: 1.5rem 0;
	padding-left: 1rem;
	border-left: 2px solid var(--bl-accent);
	font-family: var(--bl-display);
	font-size: 1.45rem;
	line-height: 1.35;
	letter-spacing: -0.03em;
}

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: 1rem;
}

.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.entry-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
	margin-top: 1.8rem;
	color: var(--bl-muted);
}

.edit-link {
	margin-top: 1rem;
	font-size: 0.9rem;
}

.post-navigation {
	margin-top: 2.2rem;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-height: 100%;
	padding: 1rem 1.05rem;
	border-radius: 1rem;
	text-decoration: none;
	color: var(--bl-ink);
}

.post-navigation .nav-next a {
	text-align: right;
}

.post-navigation .nav-label {
	color: var(--bl-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.post-navigation .nav-title {
	font-family: var(--bl-display);
	font-size: 1.25rem;
	letter-spacing: -0.03em;
}

.pagination {
	margin-top: 1.8rem;
}

.pagination .nav-links,
.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.pagination .page-numbers,
.page-links a,
.page-links > span {
	display: inline-flex;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.7rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--bl-surface);
	color: var(--bl-ink);
	text-decoration: none;
	border: 1px solid var(--bl-line);
}

.pagination .page-numbers.current,
.page-links > span:not(.post-page-numbers) {
	background: var(--bl-accent);
	border-color: var(--bl-accent);
	color: var(--bl-on-accent);
}

.empty-state {
	max-width: 36rem;
	padding: 1rem 0 2rem;
}

.empty-state h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(2rem, 4vw, 2.8rem);
}

.empty-state p {
	color: var(--bl-muted);
}

.comments-wrap {
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.comments-title {
	margin: 0 0 1rem;
	font-size: 1.8rem;
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	padding-left: 1.25rem;
}

.comment-body {
	padding: 1rem 0;
	border-top: 1px solid var(--bl-line);
}

.comment-author .avatar {
	border-radius: 999px;
	margin-right: 0.55rem;
}

.comment-reply-link,
.comment-metadata a {
	color: var(--bl-accent);
	text-decoration: none;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form input[type="search"] {
	width: 100%;
	border: 1px solid color-mix(in srgb, var(--bl-ink) 16%, transparent);
	background: var(--bl-surface);
	border-radius: 0.9rem;
	padding: 0.8rem 0.95rem;
	color: var(--bl-ink);
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
	max-width: 32rem;
	margin-top: 1.2rem;
}

.search-form input[type="search"] {
	flex: 1 1 14rem;
	width: auto;
}

.search-form button,
.comment-form .submit {
	border: 0;
	border-radius: 999px;
	background: var(--bl-accent);
	color: var(--bl-on-accent);
	padding: 0.8rem 1.15rem;
	font-weight: 700;
}

.search-form button:hover,
.comment-form .submit:hover {
	background: color-mix(in srgb, var(--bl-accent) 78%, var(--bl-ink));
}

::placeholder {
	color: color-mix(in srgb, var(--bl-muted) 75%, transparent);
}

.site-footer {
	margin-top: auto;
	padding: clamp(3rem, 6vw, 4.5rem) 0 0;
	background: var(--bl-footer);
	color: var(--bl-footer-text);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.9fr;
	gap: 2.2rem;
}

.footer-name {
	margin: 0 0 0.45rem;
	font-family: var(--bl-display);
	font-size: 1.85rem;
	letter-spacing: -0.04em;
	line-height: 1;
}

.footer-tagline,
.footer-blurb {
	max-width: 28rem;
	color: color-mix(in srgb, var(--bl-footer-text) 82%, transparent);
}

.footer-label,
.widget-title {
	margin: 0 0 0.8rem;
	font-family: var(--bl-font);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--bl-footer-text) 68%, transparent);
}

.footer-menu {
	display: grid;
	gap: 0.4rem;
}

.footer-menu a,
.site-footer .widget a {
	color: inherit;
	text-decoration: none;
}

.footer-menu a:hover,
.site-footer .widget a:hover,
.footer-studio:hover,
.footer-domain:hover,
.footer-credit a:hover {
	color: var(--bl-on-accent);
}

.footer-studio {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: inherit;
	text-decoration: none;
	font-family: var(--bl-display);
	font-size: 1.45rem;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.footer-domain,
.footer-credit a {
	color: inherit;
}

.footer-domain {
	display: inline-block;
	margin-top: 0.45rem;
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--bl-footer-text) 45%, transparent);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
	margin-top: 2.2rem;
}

.site-footer .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .widget li + li {
	margin-top: 0.35rem;
}

.footer-bar {
	margin-top: 2.4rem;
	border-top: 1px solid color-mix(in srgb, var(--bl-footer-text) 18%, transparent);
}

.footer-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.8rem 1.4rem;
	flex-wrap: wrap;
	padding: 1rem 0 1.15rem;
	font-size: 0.92rem;
}

.footer-credit {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.55rem;
	align-items: center;
	margin: 0;
}

.footer-credit a {
	text-decoration: none;
}

.ice {
	font-style: normal;
}

#highlights,
#studio,
#content {
	scroll-margin-top: 5.5rem;
}

@media (min-width: 900px) {
	.hero-title {
		max-width: 16ch;
	}

	.hero-panel-text {
		max-width: 12ch;
	}

	.features-title,
	.posts-title,
	.page-hero h1 {
		max-width: 14ch;
	}

	.band-title {
		max-width: 12ch;
	}
}

@media (max-width: 960px) {
	.hero-grid,
	.band-card,
	.footer-grid,
	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-panel {
		min-height: 22rem;
	}

	.post-navigation .nav-next a {
		text-align: left;
	}
}

@media (max-width: 880px) {
	.js .nav-toggle {
		display: inline-flex;
	}

	.js .site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.8rem;
		margin: 0;
		padding: 0.85rem 1.25rem 1.15rem;
		background: var(--bl-surface);
		border-bottom: 1px solid var(--bl-line);
	}

	.js .site-nav.is-open {
		display: flex;
	}

	.site-nav .menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.site-nav .sub-menu {
		display: block;
		position: static;
		min-width: 0;
		padding: 0.2rem 0 0.2rem 0.8rem;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.header-cta {
		align-self: flex-start;
	}
}

@media (max-width: 782px) {
	body.admin-bar {
		min-height: calc(100vh - 46px);
	}

	body.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	.container {
		width: min(1120px, calc(100% - 1.5rem));
	}

	.hero-title {
		font-size: clamp(2.7rem, 12vw, 3.6rem);
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
