#featured-activities {
	margin: 1rem 0 3rem 0;
}

#venues-hosts {
	margin: 0 0 2rem 0;
}

.hero-section {
	position: relative;
	margin: -2rem -20px 0 -20px;
	color: white;
	text-align: center;
	overflow: hidden;
}

.hero-bg-image {
	width: 100%;
	height: auto;
	display: block;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.05) 0%,
		rgba(0, 0, 0, 0.15) 55%,
		rgba(0, 0, 0, 0.90) 100%
	);
}

.hero-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 0 2rem 0;
	z-index: 2;
	transition: padding-bottom 0.4s ease;
}

.hero-content h1 {
	font-size: clamp(1.75rem, 3.5vw + 0.5rem, 3.5rem);
	margin-bottom: 1rem;
	font-weight: 400;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	line-height: 1.2;
	transition: margin-bottom 0.4s ease;
}

.hero-subtitle {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	opacity: 0.95;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
	font-weight: 300;
}

.hero-dates {
	font-size: 2.2rem;
	margin-top: 1.5rem;
	margin-bottom: 2.5rem;
	font-weight: 500;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	letter-spacing: 0.02em;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.welcome-subtitle {
	font-size: clamp(1rem, 0.8vw + 0.75rem, 1.25rem);
	margin-bottom: 0.5rem;
	opacity: 0.95;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
	font-weight: 300;
	max-height: 5rem;
	overflow: hidden;
	transition: opacity 0.4s ease, max-height 0.4s ease, margin-bottom 0.4s ease;
}

.welcome-dates {
	font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.5rem);
	font-weight: 500;
	margin: 0 0 2rem 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 767px) {
	.welcome-subtitle {
		opacity: 0;
		max-height: 0;
		margin-bottom: 0;
	}
}

@media (max-width: 990px) {
	.hero-content h1 {
		margin-bottom: 0.25rem;
	}
}

@media (min-width: 1200px) {
	.hero-content {
		padding-bottom: 2rem;
	}
}

/* Fest Promo Row */
.fest-promo-row {
	background: var(--surface);
}

.fest-promo-image {
	display: block;
	height: 100%;
	min-height: 350px;
}

.fest-promo-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 350px;
}

.fest-promo-content {
	padding: 3rem;
}

.fest-promo-content h2 {
	color: var(--secondary-color);
	font-size: 2.5rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.fest-promo-content .fest-date {
	color: var(--primary-color);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.fest-promo-content .fest-description {
	font-size: 18px;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	color: var(--text-dark);
}

@media (max-width: 991px) {
	.fest-promo-image {
		min-height: 250px;
	}

	.fest-promo-image img {
		min-height: 250px;
	}

	.fest-promo-content {
		padding: 2rem;
		text-align: center;
	}

	.fest-promo-content h2 {
		font-size: 2rem;
	}
}

.features-section {
	margin: 3rem 0;
}


/* Featured Activities Horizontal Scroller */
.featured-scroller {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 1rem;
}

.featured-scroller > .col {
	flex: 0 0 calc(100vw - 3rem);
	max-width: calc(100vw - 3rem);
	scroll-snap-align: start;
}

@media (max-width: 767px) and (orientation: portrait) {
	.featured-scroller .card-title {
		white-space: normal !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		display: -webkit-box !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 3 !important;
	}
	.featured-scroller .card-text {
		display: none !important;
	}
	.featured-scroller div.card div.caption {
		min-height: 7rem;
	}
}

@media (min-width: 768px) {
	.featured-scroller > .col {
		flex: 0 0 380px;
		max-width: 380px;
	}
}

.featured-scroller::-webkit-scrollbar {
	height: 6px;
}

.featured-scroller::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 3px;
}

.featured-scroller::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

.featured-scroller::-webkit-scrollbar-thumb:hover {
	background: #EEA31B;
}

/* Venues & Hosts Logo Marquee */
.logo-scroller {
	overflow: hidden;
	touch-action: pan-y;
}

.logo-track {
	display: flex;
	gap: 1rem;
	width: max-content;
	animation: logo-scroll 60s linear infinite;
}

.logo-track:hover {
	animation-play-state: paused;
}

@keyframes logo-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

.logo-box {
	flex: 0 0 120px;
	width: 120px;
	height: 120px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.logo-box:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.logo-box img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.featured-section,
.activities-section {
	margin: 3rem 0;
}

.featured-section h2,
.activities-section h2 {
	color: var(--secondary-color);
	margin-bottom: 2rem;
	border-bottom: 2px solid var(--primary-color);
	padding-bottom: 0.5rem;
}

.activity-item {
	background: var(--surface);
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.activity-date {
	color: var(--primary-color);
	font-weight: bold;
	text-align: center;
	min-width: 80px;
}

.activity-details {
	flex: 1;
}

.activity-details h4 {
	margin: 0 0 0.5rem 0;
	color: var(--secondary-color);
}

/* Uppercase Buttons */
.btn {
	text-transform: uppercase;
}

/* Brew Deck Header */
.brewdeck-header {
	padding-top: 1rem;
	margin: 2rem 0 0.75rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.brewdeck-heading {
	color: var(--secondary-color);
	margin: 0;
	text-align: center;
}

.brewdeck-header .btn {
	position: absolute;
	right: 0;
}

.brewdeck-tagline {
	text-align: center;
	color: var(--text-light);
	font-size: 1.1rem;
	margin: 0.5rem 0 1.5rem 0;
}

@media (max-width: 768px) {
	.activity-item {
		flex-direction: column;
		text-align: center;
	}
}

/* IPA Collab + Pier 39 wrapper */
.collab-pier-row {
	margin: 0 -20px;
	overflow: hidden;
}

/* IPA Collab Promo Row */
.collab-promo-row {
	background: var(--secondary-color);
	color: white;
	height: 100%;
}

/* Pier 39 promo column */
.pier39-promo-link {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	width: 100%;
	background-color: #9CB6BB;
}

.pier39-promo-link img {
	width: 100%;
	max-width: 360px;
	height: auto;
	display: block;
}

.collab-promo-image {
	position: relative;
	height: 100%;
	min-height: 400px;
}

.collab-promo-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 400px;
}

.collab-image-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
	color: white;
	padding: 2rem 1rem 1rem 1rem;
	margin: 0;
	font-size: 0.9rem;
}

.collab-promo-content {
	padding: 3rem;
}

.collab-promo-content h2 {
	color: var(--primary-color);
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.collab-intro {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.collab-guild {
	color: white;
	font-size: 1.1rem;
	font-weight: 400;
	margin-bottom: 0.5rem;
	opacity: 0.9;
}

.collab-subtitle {
	color: var(--primary-color);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.collab-promo-content p {
	line-height: 1.7;
	margin-bottom: 1rem;
}

.collab-cta {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

/* Collab Beers Section */
.collab-beers-section {
	background: var(--surface);
	padding: 3rem 0 0 0;
	margin: 0 -20px;
}

.collab-beers-section .container-fluid {
	padding: 0 2rem;
}

.collab-beer-card {
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	height: 100%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border-left: 4px solid var(--primary-color);
}

.collab-beer-card h4 {
	color: var(--secondary-color);
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.collab-host {
	color: var(--primary-color);
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.collab-beer-card p:last-child {
	margin-bottom: 0;
	color: var(--text-dark);
	line-height: 1.6;
	font-size: 0.95rem;
}

.collab-sponsors {
	text-align: center;
	margin: 3rem -2rem 0 -2rem;
	padding: 2rem 2rem 3rem 2rem;
	background: white;
}

.collab-sponsors h3 {
	color: var(--secondary-color);
	font-size: 1.1rem;
	font-weight: 400;
	margin-bottom: 1rem;
}

.collab-sponsor-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.collab-sponsor-logos a {
	flex: 1;
	max-width: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.collab-sponsor-logos img {
	height: 70px;
	width: 100%;
	object-fit: contain;
}

@media (max-width: 991px) {
	.collab-sponsor-logos {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1.5rem 0;
	}

	.collab-sponsor-logos a {
		flex: none;
		width: 22%;
		max-width: none;
		margin: 0 1.5%;
	}

	.collab-sponsor-logos img {
		height: 50px;
	}
}

@media (max-width: 575px) {
	.collab-sponsor-logos a {
		width: 20%;
		margin: 0 2.5%;
	}

	.collab-sponsor-logos img {
		height: 40px;
	}
}

@media (max-width: 991px) {
	.collab-promo-image {
		min-height: 300px;
	}

	.collab-promo-image img {
		min-height: 300px;
	}

	.collab-promo-content {
		padding: 2rem;
		text-align: center;
	}

	.collab-promo-content h2 {
		font-size: 1.75rem;
	}
}

@media (max-width: 767px) {
	.collab-beers-section .container-fluid {
		padding: 0 1rem;
	}
}

/* Main Sponsors Section */
.main-sponsors-section {
	background: white;
	padding: 1.5rem 2rem 2rem 2rem;
	margin: 0 -20px;
	text-align: center;
	border-top: 2px solid var(--primary-color);
}

/* Full-width divider before Brew Deck */
.brewdeck-divider {
	background: white;
	padding-bottom: 1rem;
	margin: 0 -20px;
	border-bottom: 2px solid var(--primary-color);
}

.main-sponsors-heading {
	color: var(--secondary-color);
	margin: 0 0 1.5rem 0;
}

.main-sponsor-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem 3rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.main-sponsor-logos a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 calc(25% - 2.25rem);
}

.main-sponsor-logos img {
	height: 120px;
	max-width: 100%;
	object-fit: contain;
	transition: transform 0.2s ease;
}

.main-sponsor-logos img:hover {
	transform: scale(1.05);
}

.trade-sponsors-heading {
	color: var(--secondary-color);
	font-size: 1.1rem;
	font-weight: 400;
	margin: 2.5rem 0 1rem 0;
}

.main-sponsors-section .collab-sponsor-logos {
	justify-content: center;
}

/* Trade sponsors - 4/3 layout */
.trade-sponsor-logos {
	max-width: 920px;
	margin: 0 auto;
}

.trade-sponsor-logos a {
	max-width: 190px;
}

.trade-sponsor-logos img {
	height: 95px;
}

/* Media sponsors - own row */
.media-sponsor-logos {
	max-width: 350px;
	margin: 1.5rem auto 0;
}

@media (max-width: 767px) {
	.trade-sponsor-logos {
		max-width: 100%;
	}

	.trade-sponsor-logos a {
		width: 30%;
		margin: 0 1.5%;
	}
}

@media (max-width: 991px) and (min-width: 768px) {
	.main-sponsor-logos {
		max-width: 700px;
	}

	.main-sponsor-logos a {
		flex: 0 1 calc(33.333% - 2rem);
	}

	.main-sponsor-logos img {
		height: 100px;
	}
}

@media (max-width: 767px) {
	.main-sponsor-logos {
		gap: 1.5rem;
	}

	.main-sponsor-logos a {
		flex: 0 0 40%;
	}

	.main-sponsor-logos img {
		height: auto;
		width: 100%;
		max-width: 150px;
	}
}
