/*
Theme Name: Songwriters Festival
Theme URI: https://github.com/batteryTrackerProject/Wordpress-templates-
Author: Lcsworld.com
Author URI: https://lcsworld.com
Description: A bold, high-contrast WordPress theme for music festivals and songwriter showcases. Features a red/black/white palette, a top ticket announcement bar, a hero with pre-sale CTA, a songwriter/artist lineup grid, a partners strip, a "plan your trip" travel section, and an email sign-up block. Content editors manage everything through the Customizer plus two lightweight custom post types (Performers and Partners) — no page builder or third-party plugin required.
Version: 1.0.13
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: songwriters-festival
Tags: music, festival, non-profit, event, black, red, one-column, custom-menu, featured-images, footer-widgets, theme-options, translation-ready
Update URI: https://github.com/batteryTrackerProject/Wordpress-templates-
*/

/* ==========================================================================
   0. Design tokens
   ========================================================================== */
:root {
	--sfest-black: #0a0a0a;
	--sfest-white: #ffffff;
	--sfest-red: #e30613;
	--sfest-red-dark: #b40510;
	--sfest-gray-100: #f4f3f1;
	--sfest-gray-200: #e7e5e1;
	--sfest-gray-600: #6b6b6b;
	--sfest-gray-800: #222222;

	--sfest-font-display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
	--sfest-font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--sfest-font-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--sfest-container: 1200px;
	--sfest-gutter: 24px;
}

/* ==========================================================================
   1. Reset / base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--sfest-white);
	color: var(--sfest-black);
	font-family: var(--sfest-font-body);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-family: var(--sfest-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.1;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--sfest-red);
	color: var(--sfest-white);
	padding: 12px 20px;
	z-index: 10000;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
}

.sfest-container {
	max-width: var(--sfest-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sfest-gutter);
	padding-right: var(--sfest-gutter);
}

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.sfest-btn {
	display: inline-block;
	font-family: var(--sfest-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 16px;
	padding: 16px 34px;
	border: 2px solid transparent;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sfest-btn--red {
	background: var(--sfest-red);
	color: var(--sfest-white);
}

.sfest-btn--red:hover,
.sfest-btn--red:focus {
	background: var(--sfest-red-dark);
	color: var(--sfest-white);
}

.sfest-btn--black {
	background: var(--sfest-black);
	color: var(--sfest-white);
}

.sfest-btn--black:hover,
.sfest-btn--black:focus {
	background: var(--sfest-gray-800);
}

.sfest-btn--outline {
	background: transparent;
	border-color: currentColor;
}

/* ==========================================================================
   3. Announcement bar
   ========================================================================== */
.sfest-announcement {
	background: var(--sfest-red);
	color: var(--sfest-white);
	text-align: center;
	padding: 10px var(--sfest-gutter);
}

.sfest-announcement a {
	display: inline-block;
	font-family: var(--sfest-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 14px;
	text-decoration: underline;
}

.sfest-announcement a:hover {
	text-decoration: none;
}

/* ==========================================================================
   4. Site header
   ========================================================================== */
.sfest-header {
	background: var(--sfest-black);
	color: var(--sfest-white);
	padding: 20px 0 28px;
}

.sfest-header__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.sfest-header__social {
	display: flex;
	gap: 14px;
	padding-top: 6px;
}

.sfest-header__social a {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sfest-header__social a:hover {
	background: var(--sfest-white);
	color: var(--sfest-black);
}

.sfest-header__social svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.sfest-header__brand {
	flex: 1;
	text-align: center;
}

.sfest-header__logo {
	max-width: 260px;
	width: 100%;
	margin: 0 auto 14px;
}

/* max-height + width:auto (rather than a fixed width) lets a wide banner
   logo and a square/badge logo both size themselves correctly: whichever
   of the container's width or this height cap is hit first wins, so
   neither shape ends up tiny or blown out. */
.sfest-header__logo img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	max-height: 90px;
	width: auto;
	height: auto;
}

@media (max-width: 480px) {
	.sfest-header__logo {
		max-width: 200px;
	}

	.sfest-header__logo img {
		max-height: 60px;
	}
}

.sfest-header__title {
	font-family: var(--sfest-font-display);
	font-size: clamp(22px, 4vw, 34px);
	letter-spacing: 0.03em;
	line-height: 1.15;
	margin: 0;
}

.sfest-header__title a {
	display: block;
}

.sfest-header__dates {
	font-family: var(--sfest-font-heading);
	font-weight: 600;
	letter-spacing: 0.2em;
	font-size: 14px;
	margin-top: 8px;
	color: var(--sfest-red);
}

.sfest-header__nav {
	margin-top: 18px;
	text-align: center;
}

.sfest-header__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
}

.sfest-header__nav a {
	font-family: var(--sfest-font-heading);
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.05em;
	border-bottom: 2px solid transparent;
	padding-bottom: 2px;
}

.sfest-header__nav a:hover {
	border-color: var(--sfest-red);
}

.sfest-header__cta {
	padding-top: 2px;
	min-width: 30px;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.sfest-hero {
	position: relative;
	background: var(--sfest-black);
	color: var(--sfest-white);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.sfest-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.sfest-hero__inner {
	position: relative;
	padding: 90px var(--sfest-gutter) 100px;
	max-width: 760px;
}

.sfest-hero__heading {
	font-family: var(--sfest-font-display);
	font-size: clamp(30px, 5vw, 54px);
	/* The heading is wrapped in a single <mark> with box-decoration-break:
	   clone below, giving each wrapped line its own highlight box. At 1.08
	   those boxes were taller than the line-height spacing between them
	   (measured ~1-2px of vertical overlap at every width from 375px to
	   1440px), so consecutive lines' white highlight boxes overlapped and
	   text bled across the boundary. 1.2 gives each line's box a few pixels
	   of clearance from its neighbors. */
	line-height: 1.2;
	margin-bottom: 34px;
}

.sfest-hero__heading mark {
	background: var(--sfest-white);
	color: var(--sfest-black);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	padding: 0 6px;
}

/* ==========================================================================
   6. Generic section spacing
   ========================================================================== */
.sfest-section {
	padding: 70px 0;
}

.sfest-section--tight {
	padding: 50px 0;
}

.sfest-section--black {
	background: var(--sfest-black);
	color: var(--sfest-white);
}

.sfest-section--gray {
	background: var(--sfest-gray-100);
}

.sfest-section--center {
	text-align: center;
}

.sfest-eyebrow {
	font-family: var(--sfest-font-heading);
	letter-spacing: 0.3em;
	font-size: 13px;
	font-weight: 600;
	color: var(--sfest-red);
	margin-bottom: 10px;
	display: block;
}

.sfest-section__heading {
	font-size: clamp(24px, 3.4vw, 38px);
	margin-bottom: 18px;
}

.sfest-section__lede {
	max-width: 640px;
	margin: 0 auto 20px;
	color: var(--sfest-gray-600);
}

.sfest-section--black .sfest-section__lede {
	color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   7. Submissions status
   ========================================================================== */
.sfest-submissions__icon {
	width: 46px;
	height: 46px;
	margin: 0 auto 18px;
	fill: var(--sfest-black);
}

/* ==========================================================================
   8. Partners
   ========================================================================== */
.sfest-partners__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 48px;
	margin-top: 36px;
}

.sfest-partners__grid a,
.sfest-partners__grid span {
	display: block;
}

.sfest-partners__grid img {
	max-height: 60px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.85;
	transition: opacity 0.15s ease, filter 0.15s ease;
}

.sfest-partners__grid a:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

/* ==========================================================================
   9. Featured lineup (image + copy split)
   ========================================================================== */
.sfest-featured {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}

.sfest-featured__media {
	background-size: cover;
	background-position: center;
	min-height: 360px;
}

.sfest-featured__copy {
	padding: 60px var(--sfest-gutter);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sfest-featured__status {
	color: var(--sfest-red);
}

.sfest-featured__copy p {
	color: rgba(255, 255, 255, 0.75);
	max-width: 460px;
}

/* ==========================================================================
   10. Performer / alumni grid
   ========================================================================== */
.sfest-performers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 42px 24px;
	margin-top: 40px;
}

.sfest-performer {
	text-align: center;
}

.sfest-performer__photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 16px;
	background: var(--sfest-gray-200);
}

.sfest-performer__name {
	font-family: var(--sfest-font-heading);
	font-weight: 700;
	letter-spacing: 0.04em;
	font-size: 18px;
	margin: 0;
}

/* ==========================================================================
   11. Plan your trip
   ========================================================================== */
.sfest-trip {
	position: relative;
	background-color: var(--sfest-gray-800);
	background-size: cover;
	background-position: center;
	color: var(--sfest-white);
	text-align: center;
}

.sfest-trip::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.sfest-trip__inner {
	position: relative;
	padding: 90px var(--sfest-gutter);
	max-width: 620px;
	margin: 0 auto;
}

.sfest-trip__inner p {
	margin-bottom: 28px;
}

/* ==========================================================================
   12. Newsletter
   ========================================================================== */
.sfest-newsletter__form {
	display: flex;
	max-width: 480px;
	margin: 28px auto 0;
	gap: 0;
}

.sfest-newsletter__form input[type="email"] {
	flex: 1;
	border: 2px solid var(--sfest-black);
	border-right: none;
	padding: 14px 16px;
	font-family: var(--sfest-font-body);
	font-size: 16px;
	border-radius: 2px 0 0 2px;
}

.sfest-newsletter__form button {
	border-radius: 0 2px 2px 0;
	border: 2px solid var(--sfest-red);
}

.sfest-newsletter__note {
	font-size: 13px;
	color: var(--sfest-gray-600);
	margin-top: 12px;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.sfest-footer {
	background: var(--sfest-black);
	color: var(--sfest-white);
	padding: 50px 0 26px;
	text-align: center;
}

.sfest-footer__statement {
	max-width: 640px;
	margin: 0 auto 26px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 15px;
}

.sfest-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
	margin-bottom: 26px;
}

.sfest-footer__nav a {
	font-family: var(--sfest-font-heading);
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-decoration: underline;
}

.sfest-footer__nav a:hover {
	color: var(--sfest-red);
	text-decoration: none;
}

.sfest-footer__social {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-bottom: 22px;
}

.sfest-footer__social a {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
}

.sfest-footer__social svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.sfest-footer__copyright {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   14. Basic page / single content (non-front-page templates)
   ========================================================================== */
.sfest-content {
	padding: 70px 0;
	max-width: 820px;
	margin: 0 auto;
}

.sfest-content .entry-title {
	font-size: clamp(28px, 4vw, 44px);
	margin-bottom: 24px;
}

.sfest-content .entry-content > * + * {
	margin-top: 1.2em;
}

.sfest-pagination {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
	font-family: var(--sfest-font-heading);
	text-transform: uppercase;
}

.sfest-page__content {
	max-width: 720px;
	margin: 30px auto 0;
	text-align: left;
}

.sfest-page__content > * + * {
	margin-top: 1.2em;
}

/* ==========================================================================
   15. Artist bio page (festival-manager-core)
   ========================================================================== */
.fmc-artist__layout {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 40px;
	align-items: start;
	text-align: left;
}

.fmc-artist__photo img {
	width: 100%;
	border-radius: 6px;
	object-fit: cover;
}

.fmc-artist__name {
	font-size: clamp(28px, 4vw, 44px);
	margin-bottom: 16px;
}

.fmc-artist__content > * + * {
	margin-top: 1.2em;
}

.fmc-artist__schedule {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fmc-artist__schedule-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	background: var(--sfest-white);
	border-radius: 6px;
}

.fmc-artist__schedule-info span {
	display: block;
	color: var(--sfest-gray-600);
	font-size: 0.9em;
	margin-top: 2px;
}

@media (max-width: 700px) {
	.fmc-artist__layout {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   16. Mobile menu toggle
   ========================================================================== */
.sfest-menu-toggle {
	display: none;
}

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.sfest-featured {
		grid-template-columns: 1fr;
	}

	.sfest-featured__media {
		min-height: 260px;
	}

	.sfest-performers {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.sfest-header__row {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}

	.sfest-header__social {
		order: 2;
	}

	.sfest-header__cta {
		order: 3;
	}

	.sfest-performers {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px 16px;
	}

	.sfest-newsletter__form {
		flex-direction: column;
	}

	.sfest-newsletter__form input[type="email"] {
		border-right: 2px solid var(--sfest-black);
		border-radius: 2px;
		margin-bottom: 10px;
	}

	.sfest-newsletter__form button {
		border-radius: 2px;
	}
}
