/* Theme Name: Pogon Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of pogon
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: pogon
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  pogon-child
*/
/* =========================================================
   SOUTH PASADENA ARTS & MUSIC CRAWL
   COLOR REFRESH
========================================================= */

.sp-crawl-template {
	width: 100%;
	overflow: hidden;
	color: #2c2c2c;
	background: #f7fafc;
}

.sp-festival-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 38px 20px 64px;
}

.sp-festival-section {
	margin: 0 0 56px;
}

.sp-section-header {
	margin-bottom: 20px;
}

.sp-section-header h2 {
	margin: 0 0 8px;
	font-size: 32px;
	line-height: 1.15;
	color: #123b67;
}

.sp-section-header p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: #556170;
	max-width: 760px;
}

/* =========================================================
   HERO
========================================================= */

.sp-festival-hero-full {
	position: relative;
	width: 100%;
	min-height: 430px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
}

.sp-festival-hero-full::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(8,35,67,0.88) 0%, rgba(20,83,136,0.62) 55%, rgba(0,0,0,0.30) 100%);
}

.sp-festival-hero-inner-wrap {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 52px 20px;
}

.sp-festival-hero-card {
	max-width: 760px;
	color: #fff;
}

.sp-eyebrow {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #ffd166;
}

.sp-festival-hero-card h1 {
	margin: 0 0 14px;
	font-size: 48px;
	line-height: 1.05;
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.sp-festival-lead {
	margin: 0 0 22px;
	font-size: 18px;
	line-height: 1.65;
	color: #ffffff;
	max-width: 680px;
}

.sp-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0 0 22px;
}

.sp-event-meta-item {
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.22);
	padding: 10px 14px;
	border-radius: 10px;
	min-width: 150px;
	backdrop-filter: blur(3px);
}

.sp-event-meta-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: rgba(255,255,255,0.8);
	margin-bottom: 3px;
}

.sp-event-meta-value {
	display: block;
	font-size: 15px;
	line-height: 1.4;
	color: #fff;
}

.sp-festival-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sp-festival-nav a {
	display: inline-block;
	padding: 9px 15px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	color: #ffffff;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.34);
	border-radius: 999px;
	transition: all .2s ease;
}

.sp-festival-nav a:hover {
	background: #ffd166;
	border-color: #ffd166;
	color: #123b67;
}

/* =========================================================
   MAP
========================================================= */

.sp-crawl-map-section {
	width: 100%;
	margin: 0;
	padding: 0;
}

.sp-crawl-map-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	transform: translateY(-22px);
	position: relative;
	z-index: 4;
}

.sp-crawl-map-wrap iframe {
	display: block;
	width: 100%;
	height: 340px;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 10px 26px rgba(18,59,103,0.16);
	background: #fff;
}

/* =========================================================
   INTRO
========================================================= */

.sp-festival-intro {
	margin-top: 0;
}

.sp-festival-intro-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 24px;
	align-items: start;
}

.sp-festival-intro-copy h2 {
	margin: 0 0 12px;
	font-size: 32px;
	line-height: 1.15;
	color: #123b67;
}

.sp-festival-intro-copy p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.75;
	color: #425466;
}

.sp-festival-highlight-card {
	background: linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
	border: 1px solid #d7e4f0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 6px 18px rgba(18,59,103,0.06);
}

.sp-festival-highlight-card h3 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	color: #123b67;
}

.sp-festival-highlight-card ul {
	margin: 0;
	padding-left: 18px;
}

.sp-festival-highlight-card li {
	margin-bottom: 8px;
	font-size: 15px;
	line-height: 1.55;
	color: #425466;
}

/* =========================================================
   STAGES
========================================================= */

.sp-stage-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.sp-stage-card {
	background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
	border: 1px solid #d7e4f0;
	border-top: 4px solid #2b7bbb;
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 4px 12px rgba(18,59,103,0.05);
	transition: transform .18s ease, box-shadow .18s ease;
}

.sp-stage-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(18,59,103,0.10);
}

.sp-stage-card h3 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	color: #123b67;
}

.sp-stage-card p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.6;
	color: #425466;
}

.sp-stage-card a {
	color: #1f6fb2;
	text-decoration: none;
	font-weight: 700;
}

.sp-stage-card a:hover {
	color: #0f4f85;
	text-decoration: underline;
}

/* =========================================================
   ACCORDION / SCHEDULE
========================================================= */

.sp-accordion-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sp-accordion-item {
	border: 1px solid #d7e4f0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(18,59,103,0.04);
}

.sp-accordion-toggle {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 16px 18px;
	background: linear-gradient(90deg, #123b67 0%, #1f5d96 100%);
	border: 0;
	cursor: pointer;
	text-align: left;
}

.sp-accordion-title {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}

.sp-accordion-icon {
	position: relative;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.sp-accordion-icon::before,
.sp-accordion-icon::after {
	content: "";
	position: absolute;
	background: #ffffff;
	border-radius: 2px;
	transition: all .2s ease;
}

.sp-accordion-icon::before {
	top: 8px;
	left: 0;
	width: 18px;
	height: 2px;
}

.sp-accordion-icon::after {
	top: 0;
	left: 8px;
	width: 2px;
	height: 18px;
}

.sp-accordion-item.is-open .sp-accordion-icon::after {
	opacity: 0;
	transform: scaleY(0);
}

.sp-accordion-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height .28s ease;
	background: #ffffff;
}

.sp-accordion-panel-inner {
	padding: 6px 18px 18px;
}

.sp-schedule-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sp-schedule-card {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid #e3edf5;
}

.sp-schedule-card:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sp-schedule-time {
	font-size: 14px;
	line-height: 1.6;
	font-weight: 700;
	color: #123b67;
}

.sp-schedule-content h3 {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.2;
	color: #123b67;
}

.sp-schedule-meta {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #607285;
}

.sp-schedule-excerpt p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.7;
	color: #425466;
}

.sp-schedule-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sp-schedule-links a {
	font-size: 14px;
	font-weight: 700;
	color: #1f6fb2;
	text-decoration: none;
}

.sp-schedule-links a:hover {
	color: #0f4f85;
	text-decoration: underline;
}

/* =========================================================
   MERCHANTS / ARTISANS
========================================================= */

.sp-artisan-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.sp-artisan-card {
	background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
	border: 1px solid #d7e4f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(18,59,103,0.05);
	transition: transform .18s ease, box-shadow .18s ease;
}

.sp-artisan-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(18,59,103,0.10);
}

.sp-artisan-image img {
	display: block;
	width: 100%;
	height: auto;
}

.sp-artisan-content {
	padding: 16px;
}

.sp-artisan-content h3 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	color: #123b67;
}

.sp-artisan-content p {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.6;
	color: #425466;
}

.sp-artisan-excerpt p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.68;
	color: #425466;
}

.sp-artisan-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.sp-artisan-links a {
	font-size: 14px;
	font-weight: 700;
	color: #1f6fb2;
	text-decoration: none;
}

.sp-artisan-links a:hover {
	color: #0f4f85;
	text-decoration: underline;
}

/* =========================================================
   SPONSORS
========================================================= */

.sp-sponsor-logo-wrap {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #d7e4f0;
	border-radius: 12px;
	padding: 22px;
	box-shadow: 0 4px 12px rgba(18,59,103,0.04);
}

/* =========================================================
   CTA
========================================================= */

.sp-festival-cta {
	margin-top: 20px;
}

.sp-festival-cta-inner {
	background: linear-gradient(135deg, #123b67 0%, #1c5b93 65%, #2b7bbb 100%);
	border-radius: 14px;
	padding: 26px;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
	align-items: center;
	box-shadow: 0 12px 26px rgba(18,59,103,0.16);
}

.sp-festival-cta-copy h2 {
	margin: 0 0 10px;
	font-size: 30px;
	line-height: 1.15;
	color: #ffffff;
}

.sp-festival-cta-copy p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255,255,255,0.92);
}

.sp-festival-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
}

.sp-btn {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	transition: all .2s ease;
}

.sp-btn-primary {
	background: #ffd166;
	color: #123b67;
	border: 1px solid #ffd166;
}

.sp-btn-primary:hover {
	background: #ffbf2f;
	border-color: #ffbf2f;
	color: #123b67;
}

.sp-btn-secondary {
	background: rgba(255,255,255,0.10);
	color: #ffffff;
	border: 1px solid rgba(255,255,255,0.30);
}

.sp-btn-secondary:hover {
	background: #ffffff;
	color: #123b67;
	border-color: #ffffff;
}

/* =========================================================
   EMPTY STATES
========================================================= */

.sp-empty-message {
	font-size: 15px;
	line-height: 1.6;
	color: #607285;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
	.sp-stage-grid,
	.sp-artisan-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sp-festival-intro-grid,
	.sp-festival-cta-inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.sp-festival-page {
		padding: 28px 16px 48px;
	}

	.sp-festival-hero-full {
		min-height: 340px;
	}

	.sp-festival-hero-inner-wrap {
		padding: 36px 16px;
	}

	.sp-festival-hero-card h1 {
		font-size: 34px;
	}

	.sp-festival-lead {
		font-size: 16px;
	}

	.sp-event-meta {
		flex-direction: column;
		gap: 10px;
	}

	.sp-event-meta-item {
		min-width: 0;
	}

	.sp-crawl-map-wrap {
		padding: 0 16px;
		transform: translateY(-12px);
	}

	.sp-crawl-map-wrap iframe {
		height: 260px;
	}

	.sp-section-header h2,
	.sp-festival-intro-copy h2,
	.sp-festival-cta-copy h2 {
		font-size: 28px;
	}

	.sp-stage-grid,
	.sp-artisan-grid {
		grid-template-columns: 1fr;
	}

	.sp-schedule-card {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.sp-schedule-time {
		font-size: 13px;
	}

	.sp-accordion-toggle {
		padding: 14px 16px;
	}

	.sp-accordion-title {
		font-size: 18px;
	}

	.sp-stage-card h3,
	.sp-artisan-content h3,
	.sp-schedule-content h3 {
		font-size: 20px;
	}
}
/* =========================================================
   MODAL / READ MORE
========================================================= */

.sp-open-modal-btn {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	color: #123b67;
	background: #ffd166;
	border: 1px solid #ffd166;
	border-radius: 999px;
	cursor: pointer;
	transition: all .2s ease;
}

.sp-open-modal-btn:hover {
	background: #ffbf2f;
	border-color: #ffbf2f;
	color: #123b67;
}

.sp-crawl-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.sp-crawl-modal.is-active {
	display: flex;
}

.sp-crawl-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 24, 42, 0.72);
}

.sp-crawl-modal-dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 760px;
	max-height: 85vh;
	overflow-y: auto;
	background: #ffffff;
	border-radius: 14px;
	padding: 26px 24px 24px;
	box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

.sp-crawl-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #123b67;
}

.sp-crawl-modal-title {
	margin: 0 0 16px;
	padding-right: 34px;
	font-size: 30px;
	line-height: 1.15;
	color: #123b67;
}

.sp-crawl-modal-body {
	font-size: 16px;
	line-height: 1.75;
	color: #425466;
}

.sp-crawl-modal-body p {
	margin: 0 0 14px;
}

body.sp-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.sp-crawl-modal-dialog {
		padding: 22px 18px 18px;
		max-height: 88vh;
	}

	.sp-crawl-modal-title {
		font-size: 24px;
	}
}