@font-face {
	font-family: 'Oswald';
	src: url('../webfonts/Oswald-VariableFont_wght.ttf') format('truetype');
	font-weight: 200 700;
	font-style: normal;
	font-display: swap;
}

body {
	margin: 0;
	padding: 0;
	/*font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/
	font-family: 'Oswald', sans-serif;
	background-color: #2B2B2B;
	color: #111;
	line-height: 1.6;
}

header {
	background-color: #FAFAFA;
	padding: 1rem;
	text-align: center;
	border-bottom: 3px solid transparent;
	border-image: linear-gradient(to bottom, #FAFAFA, #2B2B2B) 1;
}

footer {
	background-color: #FAFAFA;
	color: #333;
	padding: 1rem;
	text-align: center;
	border-top: 3px solid transparent;
	border-image: linear-gradient(to top, #FAFAFA, #2B2B2B) 1;
	margin-top: 3rem;
}

footer a {
	color: #333;
}

h1, h2, h3 {
	color: #FAFAFA;
	font-weight: 600;
}

a {
	color: #D6D6D6;
}

a:hover {
	color: #FAFAFA;
}

nav ul {
	list-style: none;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
}

nav ul li a {
	color: #222;
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
	transition: color 0.2s ease;
	font-size: 1rem;
}

nav ul li a:hover {
	color: #000;
}

.language-switch {
	margin-top: 0.5rem;
	font-size: 0.9rem;
}

.language-switch a {
	color: #fff;
	text-decoration: underline;
}

main, section {
	padding: 2rem;
	text-align: center;
	color: #FAFAFA;
}

button, input[type="submit"] {
	background-color: #222;
	color: #fff;
	border: none;
	padding: 0.7rem 1.5rem;
	font-size: 1rem;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

button:hover, input[type="submit"]:hover {
	background-color: #000;
}

.styled-link {
	color: #FAFAFA;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.styled-link:hover {
	border-bottom: 1px solid #FAFAFA;
}

.crypt {
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
	border: 0;
	background-color: transparent;
}

form input, form textarea {
	width: 100%;
	max-width: 600px;
	padding: 0.5rem;
	margin-bottom: 1rem;
	border: none;
	border-radius: 5px;
	font-size: 1rem;
}

/* The wrapper around the iframe will help with responsive sizing */
.video-wrapper {
	display: flex;
	justify-content: center;
}

.video-wrapper iframe {
	display: block;
	width: 100%;
	max-width: 900px;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}

.video-block {
	margin: 2rem auto;
	text-align: center;
}

.video-block figcaption {
	margin-top: 0.5rem;
}

@media (min-width: 1025px) {
	.video-wrapper iframe {
		max-width: 50%;
	}
}

/* Optional: Additional responsiveness for very small devices */
@media (max-width: 600px) {

	main, section {
		padding: 1rem;
	}

	/* Tour dates styles on mobile */
	.tour-section {
		padding: 1rem 0.75rem;
	}

	.tour-dates {
		width: 100%;
		margin: 1rem 0;
	}

	.tour-dates thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.tour-dates tbody,
	.tour-dates tr {
		display: block;
	}

	.tour-dates tr {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.15rem;
		padding: 0.9rem 1rem;
		margin-bottom: 0.75rem;
		border: none;
		border-left: 3px solid #FAFAFA;
		background-color: rgba(250, 250, 250, 0.06);
		border-radius: 4px;
		text-align: left;
	}

	.tour-dates td {
		display: inline;
		padding: 0;
		border: none;
		width: auto;
		text-align: left;
	}

	.tour-dates td:nth-child(1) {
		order: 1;
		font-size: 0.85rem;
		font-weight: 600;
		color: #FAFAFA;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	.tour-dates td:nth-child(2) {
		order: 2;
		font-size: 1.1rem;
		font-weight: 600;
		color: #FAFAFA;
	}

	.tour-dates td:nth-child(3) {
		order: 3;
		font-size: 0.9rem;
		opacity: 0.75;
	}

	.tour-dates td:nth-child(4) {
		order: 4;
		font-size: 0.85rem;
		margin-top: 0.25rem;
	}

	.tour-dates td:nth-child(4) a {
		color: #FAFAFA;
		text-decoration: underline;
		opacity: 0.85;
	}

	.tour-dates td:nth-child(4):empty {
		display: none;
	}

	.tour-dates td[colspan] {
		width: 100%;
		text-align: center;
		border: none;
		background: none;
		opacity: 0.6;
	}
}

.tour-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 2rem;
}

.tour-dates {
	border-collapse: collapse;
	margin: 1rem auto;
}

.tour-dates th,
.tour-dates td {
	padding: 0.75rem 1.5rem;
	border: 1px solid #ccc;
	/*text-align: left;*/
	text-align: center;
}

.tour-dates th {
	background-color: #333;
	color: #fff;
}

.tour-dates.past {
	opacity: 0.7;
}

/*nav a.active {*/
nav ul li a.active {
	background-color: #2B2B2B;
	color: #FAFAFA;
	border-radius: 4px;
}

/* Submenu */
nav li {
	position: relative;
}

.has-submenu > a::after {
	content: "▾";
	display: inline-block;
	margin-left: 0.35rem;
	font-size: 0.75em;
}

.submenu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 20;
	min-width: 11rem;
	padding: 0.5rem;
	margin: 0;
	display: block;
	background-color: #FAFAFA;
	border-radius: 4px;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 0.5rem);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.submenu li {
	width: 100%;
}

nav ul li .submenu a {
	display: block;
	color: #222;
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	line-height: 1.6;
	text-align: center;
	white-space: nowrap;
	border-radius: 4px;
	transition: color 0.2s ease, background-color 0.2s ease;
}

nav ul li .submenu a:hover,
nav ul li .submenu a:focus {
	color: #000;
	background-color: rgba(43, 43, 43, 0.08);
}

nav ul li .submenu a.active {
	background-color: #2B2B2B;
	color: #FAFAFA;
	border-radius: 4px;
}
/*
@media (max-width: 768px) {
	.submenu {
		position: static;
		min-width: 0;
		padding: 0.25rem 0 0;
		background-color: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.has-submenu:hover .submenu,
	.has-submenu:focus-within .submenu {
		transform: none;
	}

	nav ul li .submenu a {
		display: inline-block;
		padding: 0.5rem 1rem;
		font-size: 1rem;
	}

	.has-submenu > a::after {
		content: "";
	}
}
*/

/* Mobile off-canvas nav */
.nav-toggle,
.nav-close {
	display: none;
	background-color: transparent;
	color: #222;
	border: none;
	padding: 0.5rem;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease;
}

.nav-toggle:hover,
.nav-close:hover {
	background-color: transparent;
	color: #000;
}

.nav-overlay {
	display: none;
}

.logo-badge {
	width: 20%;
	max-width: 200px;
	margin: 0 auto 1rem;
}

.logo-badge img {
	width: 100%;
	height: auto;
	display: block;
}

.photo-wrapper {
	text-align: center;
	margin: 2rem 0;
}

.band-photo-home {
	max-width: 50%;
	height: auto;
	border-radius: 12px;
}

.band-photo-theband {
	max-width: 50%;
	height: auto;
	border-radius: 12px;
}

.band-photo-bandmember {
	max-width: 25%;
	height: auto;
	border-radius: 12px;
}

/* Band member page (desktop only) */
@media (min-width: 769px) {
	.bandmember-bio {
		display: flex;
		/*align-items: center;*/
		align-items: flex-start;
		/*justify-content: center;*/
		/*text-align: left;*/
		text-align: justify;
		hyphens: auto;
		gap: 3rem;
		max-width: 1100px;
		margin: 2rem auto 0;
	}

	.bandmember-bio .photo-wrapper {
		flex: 0 0 40%;
		order: -1;
		margin: 0;
		text-align: center;
	}

	.bandmember-bio .band-photo-bandmember {
		max-width: 100%;
	}

	/* Photo right, bio left */
	.bandmember-bio.photo-right .photo-wrapper {
		order: 1;
	}

	.bandmember-bio p {
		flex: 1 1 auto;
		max-width: 40rem;
		margin: 0;
	}
}

/* Nav for mobile devices */
@media (max-width: 768px) {
	.nav-toggle {
		display: block;
		position: absolute;
		top: 1rem;
		right: 1rem;
		z-index: 30;
	}

	.nav-close {
		display: block;
		position: absolute;
		top: 1rem;
		right: 1rem;
		color: #FAFAFA;
		font-size: 1.75rem;
	}

	.nav-close:hover {
		color: #FAFAFA;
	}

	.nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 40;
		background-color: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s ease, visibility 0.2s ease;
	}

	nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		width: min(20rem, 82vw);
		padding: 5rem 1.5rem 2rem;
		background-color: #2B2B2B;
		box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.18);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.2s ease, visibility 0.2s ease;
	}

	nav ul {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 0.25rem;
	}

	nav ul li a {
		display: block;
		color: #FAFAFA;
		font-size: 1.25rem;
		padding: 0.75rem 1rem;
		text-align: left;
		border-radius: 4px;
		transition: color 0.2s ease, background-color 0.2s ease;
	}

	nav ul li a:hover {
		color: #FAFAFA;
		background-color: rgba(250, 250, 250, 0.08);
	}

	nav ul li a.active {
		background-color: #FAFAFA;
		color: #2B2B2B;
	}

	.has-submenu > a::after {
		content: "";
	}

	.submenu {
		position: static;
		min-width: 0;
		max-height: 0;
		padding: 0 0 0 1rem;
		margin: 0;
		background-color: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}

	.has-submenu.submenu-open .submenu {
		max-height: 30rem;
	}

	.has-submenu > a::after {
		content: "▾";
		transition: transform 0.2s ease;
	}

	.has-submenu.submenu-open > a::after {
		transform: rotate(180deg);
	}

	.has-submenu:hover .submenu,
	.has-submenu:focus-within .submenu {
		transform: none;
	}

	nav ul li .submenu a {
		display: block;
		color: #FAFAFA;
		font-size: 1rem;
		padding: 0.5rem 1rem;
		text-align: left;
		opacity: 0.75;
	}

	nav ul li .submenu a:hover,
	nav ul li .submenu a:focus {
		color: #FAFAFA;
		background-color: rgba(250, 250, 250, 0.08);
		opacity: 1;
	}

	nav ul li .submenu a.active {
		background-color: #FAFAFA;
		color: #2B2B2B;
		opacity: 1;
	}

	body.nav-open {
		overflow: hidden;
	}

	body.nav-open nav {
		transform: translateX(0);
		visibility: visible;
	}

	body.nav-open .nav-overlay {
		opacity: 1;
		visibility: visible;
	}

	.logo-badge {
		max-width: 180px;
	}

	.band-photo-home {
		max-width: 100%;
	}

	.band-photo-theband {
		max-width: 100%;
	}

	.band-photo-bandmember {
		max-width: 75%;
	}
}

/* Contact page */
.contact-list {
	font-style: normal;
	display: inline-block;
	text-align: left;
	padding: 2rem 2.5rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0.75rem;
	max-width: 90vw;
}

.contact-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1.5rem 6rem auto;
	align-items: baseline;
	row-gap: 1rem;
	column-gap: 0.75rem;
}

.contact-list li {
	display: contents;
}

.contact-icon {
	grid-column: 1;
	font-size: 1.1rem;
}

.contact-label {
	grid-column: 2;
	font-weight: 600;
}

.contact-list li > a,
.contact-address {
	grid-column: 3;
}

.contact-address {
	line-height: 1.4;
}

.styled-link {
	font-style: italic;
}

/* Social networks page */
.socials-intro {
	max-width: 600px;
	margin: 0 auto;
}

.social-list ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 600px;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.social-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	color: #FAFAFA;
	text-decoration: none;
	text-align: left;
	background-color: rgba(250, 250, 250, 0.06);
	border: 1px solid rgba(250, 250, 250, 0.12);
	border-left: 4px solid #FAFAFA;
	border-radius: 4px;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-card:hover,
.social-card:focus-visible {
	background-color: rgba(250, 250, 250, 0.12);
	transform: translateX(0.25rem);
}

.social-card:focus-visible {
	outline: 2px solid #FAFAFA;
	outline-offset: 2px;
}

.social-icon {
	flex-shrink: 0;
	width: 2.5rem;
	font-size: 1.75rem;
	text-align: center;
	color: #FAFAFA;
}

.social-text {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	line-height: 1.3;
}

.social-name {
	font-size: 1.1rem;
	font-weight: 600;
}

.social-handle {
	font-size: 0.9rem;
	opacity: 0.75;
}

.social-external {
	font-size: 0.9rem;
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.social-card:hover .social-external,
.social-card:focus-visible .social-external {
	opacity: 1;
}

/* Brand accents (icon + left border only, text stays #FAFAFA) */
.social-card.instagram { border-left-color: #E1306C; }
.social-card.instagram .social-icon { color: #E1306C; }

.social-card.facebook { border-left-color: #1877F2; }
.social-card.facebook .social-icon { color: #1877F2; }

.social-card.youtube { border-left-color: #FF0000; }
.social-card.youtube .social-icon { color: #FF0000; }

.social-card.linktree { border-left-color: #43E660; }
.social-card.linktree .social-icon { color: #43E660; }

/* Image Gallery */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	padding: 16px;
}
.gallery img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	cursor: pointer;
	transition: transform 0.2s;
}
.gallery img:hover {
	transform: scale(1.03);
}