/*
 * Homepage Redesign Stylesheet
 * Scoped and designed for the Vantage Child Theme homepage
 */

/* 1. Global Reset & Overrides */
body.home {
	background: transparent !important;
	color: #1E1E1E !important;
	font-family: 'Inter', sans-serif !important;
}

body.home #page-wrapper {
	background: transparent !important;
}

body.home #main {
	padding: 0 !important;
	background: transparent !important;
}

/* Hide Vantage parent theme elements on the homepage */
#main-slider,
body.home #page-wrapper > #main:not(.home-main-workspace-wrapper) {
	display: none !important;
}

/* Clear parent Vantage spacing constraints on the custom front-page template */
.home-main-workspace-wrapper {
	padding: 40px 0 80px 0 !important;
}

.home-layout-container {
	display: grid;
	grid-template-columns: 2.2fr 1fr;
	gap: 40px;
	box-sizing: border-box;
}

@media (max-width: 960px) {
	.home-layout-container {
		grid-template-columns: 1fr;
		padding: 0 20px;
	}
}

/* Note: Custom premium header styles have been moved to the theme's global style.css so they apply globally across all subpages. */

/* 3. Featured Event Hero Section */
.featured-hero {
	background-color: #0F0F10 !important;
	padding: 60px 0 !important;
	border-bottom: 4px solid #A81B2C !important;
	box-sizing: border-box;
}

.featured-hero .hero-container {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
	align-items: center;
}

@media (max-width: 900px) {
	.featured-hero .hero-container {
		grid-template-columns: 1fr;
		padding: 0 20px;
	}
	.featured-hero .hero-title {
		font-size: 26px !important;
	}
	.featured-hero .hero-badge {
		font-size: 12px;
		padding: 5px 12px;
	}
}

@media (max-width: 480px) {
	.featured-hero .hero-title {
		font-size: 22px !important;
	}
	.featured-hero .hero-description {
		font-size: 14px !important;
	}
}

.featured-hero .hero-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.featured-hero .hero-badge {
	background-color: #A81B2C;
	color: #FFFFFF;
	font-size: 13px; /* Increased font size from 11px */
	font-weight: 700;
	text-transform: uppercase;
	padding: 6px 14px; /* Increased padding for the pill button */
	border-radius: 50px; /* Made a proper pill button shape */
	margin-bottom: 20px;
	letter-spacing: 1px;
	display: inline-block;
}

.featured-hero .hero-title {
	font-size: 30px !important; /* Reduced from 38px for a cleaner balance */
	font-weight: 800 !important;
	color: #FFFFFF !important;
	line-height: 1.25 !important;
	margin-bottom: 20px !important;
	letter-spacing: -0.5px !important;
}

.featured-hero .hero-description {
	font-size: 16px !important;
	color: #D1D5DB !important;
	line-height: 1.6 !important;
	margin-bottom: 30px !important;
}

.featured-hero .hero-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.featured-hero .btn-hero-outline {
	background: transparent !important;
	color: #FFFFFF !important;
	border: 1px solid #FFFFFF !important;
	padding: 12px 28px !important;
	border-radius: 40px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	transition: all 0.2s ease !important;
}

.featured-hero .btn-hero-outline:hover {
	background-color: #FFFFFF !important;
	color: #1E1E1E !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15) !important;
}

.featured-hero .btn-hero-primary {
	background-color: #A81B2C !important;
	color: #FFFFFF !important;
	border: 1px solid #A81B2C !important;
	padding: 12px 28px !important;
	border-radius: 40px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	transition: all 0.2s ease !important;
}

.featured-hero .btn-hero-primary:hover {
	background-color: #D32F2F !important;
	border-color: #D32F2F !important;
	color: #FFFFFF !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 20px rgba(168, 27, 44, 0.4) !important;
}

.featured-hero .hero-image-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}

.featured-hero .hero-image-wrapper a {
	display: block;
	width: 100%;
}

.featured-hero .hero-featured-img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease;
}

.featured-hero .hero-featured-img:hover {
	transform: scale(1.02);
}

/* Hero Carousel Layout */
.hero-carousel {
	position: relative;
	width: 100%;
	height: 380px;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-track {
	position: relative;
	width: 100%;
	height: 100%;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	z-index: 1;
}

.carousel-slide.active {
	opacity: 1;
	z-index: 2;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Controls */
.carousel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.4) !important;
	border: none !important;
	color: #FFFFFF !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	z-index: 10 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s ease !important;
}

.carousel-control:hover {
	background: #A81B2C !important; /* Brand red on hover */
	transform: translateY(-50%) scale(1.05) !important;
}

.carousel-control.prev {
	left: 15px !important;
}

.carousel-control.next {
	right: 15px !important;
}

/* Indicators */
.carousel-indicators {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.carousel-indicators .indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all 0.2s ease;
}

.carousel-indicators .indicator.active {
	background: #A81B2C;
	transform: scale(1.2);
}

/* 4. Left Content Layout elements */
.home-main-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.homepage-wp-content-wrapper {
	margin-bottom: 20px;
	box-sizing: border-box;
}

/* Sponsor Card */
.sponsor-card {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	position: relative;
	box-sizing: border-box;
}

.sponsor-badge {
	color: #A81B2C;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: inline-block;
	margin-bottom: 12px;
}

.sponsor-card h2 {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #1E1E1E !important;
	margin-bottom: 15px !important;
}

.sponsor-note {
	background-color: rgba(255, 255, 255, 0.4) !important;
	border-radius: 8px;
	padding: 16px 20px;
	border-left: 4px solid #A81B2C !important; /* Brand red left bar */
}

.sponsor-note p {
	font-size: 14px;
	color: #1E1E1E !important;
	margin: 0;
}

/* Membership Showcase */
.membership-showcase {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 40px 30px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
}

.membership-showcase .section-header {
	margin-bottom: 35px;
}

.membership-showcase h2 {
	font-size: 28px !important;
	font-weight: 800 !important;
	margin-bottom: 8px !important;
}

.membership-showcase .section-subtitle {
	font-size: 15px;
	color: #595959;
	margin: 0;
}

.membership-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 820px) {
	.membership-grid {
		grid-template-columns: 1fr;
	}
}

.membership-card {
	background-color: rgba(255, 255, 255, 0.4) !important;
	backdrop-filter: blur(8px) saturate(160%) !important;
	-webkit-backdrop-filter: blur(8px) saturate(160%) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
	transition: all 0.25s ease;
	box-sizing: border-box;
}

.membership-card:hover {
	transform: translateY(-4px);
	background-color: rgba(255, 255, 255, 0.6) !important;
	border-color: rgba(224, 26, 34, 0.25) !important;
	box-shadow: 0 10px 25px rgba(224, 26, 34, 0.06) !important;
}

.membership-card.primary-callout {
	border: 2px solid rgba(224, 26, 34, 0.4) !important;
	background-color: rgba(255, 255, 255, 0.55) !important;
	box-shadow: 0 8px 24px rgba(232, 33, 39, 0.06);
}

.callout-tag {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #A81B2C;
	color: #FFFFFF;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	padding: 3px 12px;
	border-radius: 50px;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.card-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 16px;
	letter-spacing: 0.5px;
}

.badge-gray {
	background-color: #F6F7F9;
	color: #595959;
}

.badge-red {
	background-color: rgba(232, 33, 39, 0.1);
	color: #96131B;
}

.membership-card h3 {
	font-size: 20px !important;
	font-weight: 700 !important;
	margin-bottom: 12px !important;
}

.card-description {
	font-size: 13px;
	color: #595959;
	line-height: 1.5;
	margin-bottom: 20px;
	flex-grow: 1;
}

.benefit-list {
	list-style: none;
	padding: 0;
	margin: 0 0 25px 0;
	width: 100%;
}

.benefit-list li {
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #1E1E1E;
	margin-bottom: 10px;
	font-weight: 500;
}

.benefit-list li .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	margin-right: 8px;
}

.benefit-list li .dashicons-saved {
	color: #10B981;
}

.benefit-list li .dashicons-star-filled {
	color: #FBBF24;
}

.benefit-list li .dashicons-megaphone {
	color: #3B82F6;
}

/* Membership Buttons */
.btn-card-outline {
	background: transparent !important;
	border: 1px solid rgba(30, 30, 30, 0.3) !important;
	color: #1E1E1E !important;
	padding: 10px 0 !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-align: center !important;
	width: 100% !important;
	transition: all 0.2s ease !important;
}

.btn-card-outline:hover {
	background-color: #1E1E1E !important;
	color: #FFFFFF !important;
	border-color: #1E1E1E !important;
}

.btn-card-primary {
	background-color: #A81B2C !important;
	background-image: linear-gradient(135deg, #A81B2C 0%, #D92E47 100%) !important; /* Glossy red gradient */
	border: none !important;
	color: #FFFFFF !important;
	padding: 11px 0 !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-align: center !important;
	width: 100% !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(224, 26, 34, 0.2) !important;
}

.btn-card-primary:hover {
	background-image: linear-gradient(135deg, #8A1220 0%, #A81B2C 100%) !important;
	box-shadow: 0 6px 16px rgba(224, 26, 34, 0.3) !important;
	transform: translateY(-1px) !important;
}

.implementation-note-box {
	margin-top: 30px;
	background-color: #F6F7F9;
	border-radius: 8px;
	padding: 12px 20px;
	font-size: 11px;
	color: #595959;
	font-family: monospace;
	word-break: break-all;
	border: 1px dashed #E5E7EB;
}

.implementation-note-box p {
	margin: 0;
}

/* 5. Right Sidebar Layout Elements */
.home-sidebar {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* Sidebar Cards */
.sidebar-login-section {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
}

.sidebar-login-section h2 {
	font-size: 22px !important;
	font-weight: 800 !important;
	color: #1E1E1E !important;
	border-bottom: 2px solid #A81B2C !important;
	padding-bottom: 8px !important;
	margin-top: 0 !important;
	margin-bottom: 18px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.sidebar-announcements-section {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
}

.sidebar-announcements-section h2 {
	font-size: 22px !important;
	font-weight: 800 !important;
	color: #1E1E1E !important;
	border-bottom: 2px solid #A81B2C !important;
	padding-bottom: 8px !important;
	margin-top: 0 !important;
	margin-bottom: 18px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.announcements-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 20px 0 !important;
}

.announcements-list li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	padding: 12px 0 !important;
}

.announcements-list li:last-child {
	border-bottom: none;
}

.announcements-list li.no-announcements {
	color: #595959;
	font-size: 13px;
	line-height: 1.5;
}

.announcement-link {
	text-decoration: none !important;
	display: block !important;
	transition: transform 0.2s ease !important;
}

.announcement-link:hover {
	transform: translateX(4px) !important;
}

.announcement-link h4 {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #1E1E1E !important;
	margin: 0 0 4px 0 !important;
	line-height: 1.4 !important;
	transition: color 0.2s ease !important;
}

.announcement-link:hover h4 {
	color: #A81B2C !important;
}

.announcement-date {
	font-size: 11px;
	color: #888;
}

.btn-view-all-announcements {
	display: block !important;
	background: transparent !important;
	border: 1px solid rgba(30, 30, 30, 0.3) !important;
	color: #1E1E1E !important;
	padding: 10px 0 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	text-decoration: none !important;
	text-align: center !important;
	width: 100% !important;
	transition: all 0.2s ease !important;
}

.btn-view-all-announcements:hover {
	border-color: #1E1E1E !important;
	background-color: #1E1E1E !important;
	color: #FFFFFF !important;
}

.sidebar-sponsor-card {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
}

.sidebar-sponsor-badge {
	color: #A81B2C;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: inline-block;
	margin-bottom: 12px;
}

.sidebar-sponsor-card h3 {
	font-size: 16px !important;
	font-weight: 700 !important;
	margin-bottom: 12px !important;
	line-height: 1.4 !important;
}

.sidebar-sponsor-note {
	background-color: #F6F7F9;
	border-radius: 6px;
	padding: 12px 15px;
	font-size: 13px;
	color: #595959;
}

.sidebar-sponsor-note p {
	margin: 0;
}

.placeholder-note-card {
	background-color: #FFFFFF;
	border: 1px dashed #E5E7EB;
	border-radius: 12px;
	padding: 20px;
	box-sizing: border-box;
}

.placeholder-note-card h4 {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #595959 !important;
	margin-bottom: 8px !important;
}

.placeholder-note-card p {
	font-size: 13px;
	color: #595959;
	margin: 0;
	line-height: 1.5;
}

/* Sidebar Events */
.sidebar-events-section {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
}

.sidebar-events-section h2 {
	font-size: 22px !important;
	font-weight: 800 !important;
	margin-bottom: 15px !important;
}

.events-ref-text {
	font-size: 13px;
	color: #595959;
	margin-bottom: 12px;
}

.event-spotlight-card {
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	background-color: rgba(255, 255, 255, 0.25) !important;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 25px;
}

.spotlight-img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
}

.spotlight-content {
	padding: 16px;
}

.spotlight-content h3 {
	font-size: 16px !important;
	font-weight: 700 !important;
	margin: 8px 0 !important;
}

.spotlight-content p {
	font-size: 12px;
	color: #595959;
	margin-bottom: 16px;
	line-height: 1.4;
}

.spotlight-buttons {
	display: flex;
	gap: 10px;
}

.btn-spotlight-primary {
	background-color: #A81B2C !important;
	background-image: linear-gradient(135deg, #A81B2C 0%, #D92E47 100%) !important;
	color: #FFFFFF !important;
	padding: 8px 12px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	border-radius: 4px !important;
	text-decoration: none !important;
	text-align: center !important;
	flex: 1;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 10px rgba(224, 26, 34, 0.15) !important;
}

.btn-spotlight-primary:hover {
	background-image: linear-gradient(135deg, #8A1220 0%, #A81B2C 100%) !important;
	box-shadow: 0 6px 14px rgba(224, 26, 34, 0.25) !important;
}

.btn-spotlight-outline {
	background: transparent !important;
	border: 1px solid rgba(30, 30, 30, 0.3) !important;
	color: #1E1E1E !important;
	padding: 7px 12px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	border-radius: 4px !important;
	text-decoration: none !important;
	text-align: center !important;
	flex: 1;
	transition: all 0.2s ease !important;
}

.btn-spotlight-outline:hover {
	background-color: #1E1E1E !important;
	color: #FFFFFF !important;
	border-color: #1E1E1E !important;
}

/* Upcoming Events List */
.upcoming-events-container {
	border-top: 1px solid #E5E7EB;
	padding-top: 20px;
}

.upcoming-events-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.upcoming-events-header h3 {
	font-size: 16px !important;
	font-weight: 700 !important;
	margin: 0 !important;
}

.upcoming-badge {
	background-color: #F6F7F9;
	color: #595959;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
}

.upcoming-events-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.upcoming-events-list li {
	display: flex;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #F6F7F9;
}

.upcoming-events-list li:last-child {
	border-bottom: none;
}

.event-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.4) !important;
	border-radius: 6px;
	min-width: 50px;
	height: 50px;
	margin-right: 14px;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.event-month {
	font-size: 9px;
	font-weight: 700;
	color: #96131B;
	text-transform: uppercase;
}

.event-day {
	font-size: 16px;
	font-weight: 800;
	color: #1E1E1E;
	line-height: 1.1;
}

.event-info h4 {
	font-size: 13px !important;
	font-weight: 700 !important;
	margin: 0 0 3px 0 !important;
	color: #1E1E1E !important;
}

.event-time-loc {
	font-size: 11px;
	color: #595959;
}

.btn-view-all-events {
	display: block !important;
	background: transparent !important;
	border: 1px solid rgba(30, 30, 30, 0.3) !important;
	color: #1E1E1E !important;
	padding: 10px 0 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	text-decoration: none !important;
	text-align: center !important;
	width: 100% !important;
	transition: all 0.2s ease !important;
}

.btn-view-all-events:hover {
	border-color: #1E1E1E !important;
	background-color: #1E1E1E !important;
	color: #FFFFFF !important;
}

/* Sidebar Contact Section */
.sidebar-contact-section {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
}

.sidebar-contact-section h2 {
	font-size: 22px !important;
	font-weight: 800 !important;
	margin-bottom: 10px !important;
}

.contact-sub {
	font-size: 13px;
	color: #595959;
	line-height: 1.4;
	margin-bottom: 20px;
}

.contact-form-home .form-group {
	margin-bottom: 16px;
}

.contact-form-home .form-label {
	display: block !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #1E1E1E !important;
	margin-bottom: 6px !important;
}

.contact-form-home .form-control {
	width: 100%;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.75) !important;
	backdrop-filter: blur(4px) !important;
	-webkit-backdrop-filter: blur(4px) !important;
	border: 1px solid rgba(0, 0, 0, 0.15) !important;
	border-radius: 6px;
	padding: 12px 14px;
	font-size: 13px;
	color: #1E1E1E;
	font-family: 'Inter', sans-serif;
	transition: all 0.2s ease;
}

.contact-form-home .form-control:focus {
	outline: none;
	border-color: #A81B2C;
	background-color: #FFFFFF !important;
	box-shadow: 0 0 0 3px rgba(232, 33, 39, 0.15);
}

.contact-form-home textarea.form-control {
	resize: vertical;
}

.btn-submit-contact {
	background-color: #A81B2C !important;
	background-image: linear-gradient(135deg, #A81B2C 0%, #D92E47 100%) !important; /* Glossy red gradient */
	color: #FFFFFF !important;
	border: none !important;
	width: 100% !important;
	padding: 12px 0 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(232, 33, 39, 0.2) !important;
}

.btn-submit-contact:hover {
	background-image: linear-gradient(135deg, #8A1220 0%, #A81B2C 100%) !important;
	box-shadow: 0 6px 16px rgba(232, 33, 39, 0.3) !important;
	transform: translateY(-1px) !important;
}

/* Note: Custom premium footer styles have been moved to the theme's global style.css so they apply globally across all subpages. */

/* 6. Get Connected Social Media Section */
.get-connected-section {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 40px 30px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
	margin-top: 40px;
}

.get-connected-section .section-header {
	margin-bottom: 35px;
}

.get-connected-section h2 {
	font-size: 28px !important;
	font-weight: 800 !important;
	margin-bottom: 8px !important;
}

.get-connected-section .section-subtitle {
	font-size: 15px;
	color: #595959;
	margin: 0;
}

.get-connected-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.connect-card {
	display: flex;
	align-items: center;
	gap: 28px;
	background-color: rgba(255, 255, 255, 0.4) !important;
	backdrop-filter: blur(8px) saturate(160%) !important;
	-webkit-backdrop-filter: blur(8px) saturate(160%) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 12px;
	padding: 24px 30px;
	transition: all 0.25s ease;
	box-sizing: border-box;
}

.connect-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(224, 26, 34, 0.04) !important;
	background-color: rgba(255, 255, 255, 0.6) !important;
	border-color: rgba(224, 26, 34, 0.2) !important;
}

.connect-logo-col {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.connect-svg {
	width: 68px;
	height: 68px;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
	transition: transform 0.25s ease;
}

.connect-card:hover .connect-svg {
	transform: scale(1.05);
}

.connect-info-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex-grow: 1;
}

.connect-label {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	color: #6B7280;
	letter-spacing: 1px;
	margin-bottom: 6px;
}

.connect-desc {
	font-size: 14px;
	color: #4B5563;
	line-height: 1.5;
	margin: 0 0 16px 0;
}

.btn-connect-action {
	background-color: #A81B2C !important;
	background-image: linear-gradient(135deg, #A81B2C 0%, #D92E47 100%) !important; /* Glossy red gradient */
	color: #FFFFFF !important;
	border: none !important;
	padding: 10px 22px !important;
	border-radius: 50px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(224, 26, 34, 0.2) !important;
	display: inline-block;
}

.btn-connect-action:hover {
	background-image: linear-gradient(135deg, #8A1220 0%, #A81B2C 100%) !important;
	box-shadow: 0 6px 16px rgba(224, 26, 34, 0.3) !important;
	transform: translateY(-1px) !important;
}

/* Instagram QR Code Styles */
.connect-qr-col {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.connect-qr-img {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	border: 1px solid #E5E7EB;
	background-color: #FFFFFF;
	padding: 4px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
	transition: all 0.25s ease;
}

.qr-code-link {
	display: block;
	line-height: 0;
}

.connect-card:hover .connect-qr-img {
	border-color: #FD5949; /* Instagram orange brand color */
	box-shadow: 0 6px 14px rgba(253, 89, 73, 0.15);
	transform: scale(1.04);
}

/* Responsiveness for small screens */
@media (max-width: 768px) {
	.connect-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 24px;
	}

	.connect-logo-col {
		align-self: center;
	}

	.connect-info-col {
		width: 100%;
		align-items: center;
		text-align: center;
	}

	.connect-desc {
		margin-bottom: 20px;
	}

	.btn-connect-action {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}

	.connect-qr-col {
		align-self: center;
		margin-top: 10px;
	}
}

/* 7. Logged-in Member Portal & TablePress Integrations */
.member-dashboard-section {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 40px 30px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
}

.member-dashboard-section .section-header {
	margin-bottom: 30px;
}

.member-dashboard-section h2 {
	font-size: 28px !important;
	font-weight: 800 !important;
	margin-bottom: 8px !important;
	color: #1E1E1E !important;
}

.member-dashboard-section .section-subtitle {
	font-size: 15px;
	color: #595959;
	margin: 0;
}

.member-dashboard-grid {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.member-dashboard-card {
	background-color: rgba(255, 255, 255, 0.4) !important;
	backdrop-filter: blur(8px) saturate(160%) !important;
	-webkit-backdrop-filter: blur(8px) saturate(160%) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 12px;
	padding: 28px;
	box-sizing: border-box;
	transition: all 0.25s ease;
}

.member-dashboard-card:hover {
	background-color: rgba(255, 255, 255, 0.55) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02) !important;
}

.member-dashboard-card .card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	padding-bottom: 12px;
}

.member-dashboard-card .card-header .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: #A81B2C;
}

.member-dashboard-card .card-header h3 {
	font-size: 18px !important;
	font-weight: 700 !important;
	margin: 0 !important;
	color: #1E1E1E !important;
}

/* Postfix Content Styling */
.homepage-postfix-wrapper {
	background-color: rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03) !important;
	box-sizing: border-box;
	margin-top: 40px;
}

/* Premium Readable Typography for Shortcode content (Updates, Perks, Postfix) */
.member-notes-content,
.member-perks-content,
.homepage-postfix-wrapper {
	font-size: 16px !important;
	line-height: 1.65 !important;
	color: #2D3748 !important; /* Premium dark gray for WCAG AA compliance */
}

.member-notes-content p,
.member-perks-content p,
.homepage-postfix-wrapper p {
	margin-top: 0 !important;
	margin-bottom: 16px !important;
	font-size: 16px !important;
	line-height: 1.65 !important;
}

.member-notes-content ul,
.member-notes-content ol,
.member-perks-content ul,
.member-perks-content ol,
.homepage-postfix-wrapper ul,
.homepage-postfix-wrapper ol {
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	padding-left: 24px !important;
}

.member-notes-content li,
.member-perks-content li,
.homepage-postfix-wrapper li {
	margin-bottom: 8px !important;
	line-height: 1.6 !important;
}

.member-notes-content a,
.member-perks-content a,
.homepage-postfix-wrapper a {
	color: #A81B2C !important; /* Accessible red with AA contrast */
	font-weight: 600 !important;
	text-decoration: underline !important;
	transition: color 0.2s ease !important;
}

.member-notes-content a:hover,
.member-perks-content a:hover,
.homepage-postfix-wrapper a:hover {
	color: #8A1220 !important;
	text-decoration: underline !important;
}

/* Ensure links styled as buttons inside member portal content are readable and laid out correctly */
.member-notes-content a.button,
.member-notes-content a.btn,
.member-notes-content a.wp-block-button__link,
.member-notes-content a.wp-element-button,
.member-notes-content a.crm-button,
.member-notes-content .wp-block-button a,
.member-perks-content a.button,
.member-perks-content a.btn,
.member-perks-content a.wp-block-button__link,
.member-perks-content a.wp-element-button,
.member-perks-content a.crm-button,
.member-perks-content .wp-block-button a,
.homepage-postfix-wrapper a.button,
.homepage-postfix-wrapper a.btn,
.homepage-postfix-wrapper a.wp-block-button__link,
.homepage-postfix-wrapper a.wp-element-button,
.homepage-postfix-wrapper a.crm-button,
.homepage-postfix-wrapper .wp-block-button a,
.homepage-wp-content-wrapper a.button,
.homepage-wp-content-wrapper a.btn,
.homepage-wp-content-wrapper a.wp-block-button__link,
.homepage-wp-content-wrapper a.wp-element-button,
.homepage-wp-content-wrapper a.crm-button,
.homepage-wp-content-wrapper .wp-block-button a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #A81B2C !important;
	background-image: linear-gradient(135deg, #A81B2C 0%, #D92E47 100%) !important; /* Premium red gradient matching main site */
	color: #FFFFFF !important; /* High contrast white text */
	text-decoration: none !important;
	font-weight: 600 !important;
	padding: 10px 22px !important;
	border-radius: 50px !important; /* Premium pill shape */
	margin: 8px 12px 8px 0 !important; /* Proper margin to prevent vertical and horizontal overlapping */
	box-shadow: 0 4px 15px rgba(224, 26, 34, 0.2) !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	line-height: 1.35 !important;
	vertical-align: middle !important;
}

.member-notes-content a.button:hover,
.member-notes-content a.btn:hover,
.member-notes-content a.wp-block-button__link:hover,
.member-notes-content a.wp-element-button:hover,
.member-notes-content a.crm-button:hover,
.member-notes-content .wp-block-button a:hover,
.member-perks-content a.button:hover,
.member-perks-content a.btn:hover,
.member-perks-content a.wp-block-button__link:hover,
.member-perks-content a.wp-element-button:hover,
.member-perks-content a.crm-button:hover,
.member-perks-content .wp-block-button a:hover,
.homepage-postfix-wrapper a.button:hover,
.homepage-postfix-wrapper a.btn:hover,
.homepage-postfix-wrapper a.wp-block-button__link:hover,
.homepage-postfix-wrapper a.wp-element-button:hover,
.homepage-postfix-wrapper a.crm-button:hover,
.homepage-postfix-wrapper .wp-block-button a:hover,
.homepage-wp-content-wrapper a.button:hover,
.homepage-wp-content-wrapper a.btn:hover,
.homepage-wp-content-wrapper a.wp-block-button__link:hover,
.homepage-wp-content-wrapper a.wp-element-button:hover,
.homepage-wp-content-wrapper a.crm-button:hover,
.homepage-wp-content-wrapper .wp-block-button a:hover {
	background-color: #8A1220 !important;
	background-image: linear-gradient(135deg, #8A1220 0%, #A81B2C 100%) !important;
	color: #FFFFFF !important;
	box-shadow: 0 6px 20px rgba(224, 26, 34, 0.35) !important;
	transform: translateY(-1px) scale(1.02) !important;
	text-decoration: none !important;
}

/* TablePress Custom premium responsive styles */
.member-perks-content table.tablepress,
.member-notes-content table.tablepress,
.member-announcements-content table.tablepress,
.homepage-postfix-wrapper table.tablepress {
	width: 100% !important;
	border-collapse: collapse !important;
	margin: 15px 0 !important;
	font-size: 15px !important; /* Increased from 14px */
	background: rgba(255, 255, 255, 0.4) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.member-perks-content table.tablepress th,
.member-notes-content table.tablepress th,
.member-announcements-content table.tablepress th,
.homepage-postfix-wrapper table.tablepress th {
	background-color: #A81B2C !important;
	color: #FFFFFF !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	font-size: 13px !important; /* Increased from 12px */
	letter-spacing: 0.5px !important;
	padding: 12px 16px !important;
	text-align: left !important;
	border: none !important;
}

.member-perks-content table.tablepress td,
.member-notes-content table.tablepress td,
.member-announcements-content table.tablepress td,
.homepage-postfix-wrapper table.tablepress td {
	padding: 12px 16px !important;
	border: none !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
	color: #1E1E1E !important;
}

.member-perks-content table.tablepress tr:last-child td,
.member-notes-content table.tablepress tr:last-child td,
.member-announcements-content table.tablepress tr:last-child td,
.homepage-postfix-wrapper table.tablepress tr:last-child td {
	border-bottom: none !important;
}

.member-perks-content table.tablepress tr:nth-child(even),
.member-notes-content table.tablepress tr:nth-child(even),
.member-announcements-content table.tablepress tr:nth-child(even),
.homepage-postfix-wrapper table.tablepress tr:nth-child(even) {
	background-color: rgba(0, 0, 0, 0.02) !important;
}

/* Responsive constraints for tables on smaller displays */
@media (max-width: 600px) {
	.member-perks-content table.tablepress,
	.member-notes-content table.tablepress,
	.member-announcements-content table.tablepress,
	.homepage-postfix-wrapper table.tablepress {
		display: block !important;
		width: 100% !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}
}

/* Accessible and Larger Typography for dynamic WordPress Page Content on Homepage */
.homepage-wp-content-wrapper {
	font-size: 20px !important;
	line-height: 1.6 !important;
	color: #2D3748 !important;
	margin-top: 15px !important;
	margin-bottom: 35px !important;
}

.homepage-wp-content-wrapper p {
	font-size: 20px !important;
	line-height: 1.6 !important;
	color: #2D3748 !important;
	margin-top: 0 !important;
	margin-bottom: 16px !important;
}

.homepage-wp-content-wrapper a {
	color: #A81B2C !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	transition: color 0.2s ease !important;
}

.homepage-wp-content-wrapper a:hover {
	color: #8A1220 !important;
}

.homepage-wp-content-wrapper ul,
.homepage-wp-content-wrapper ol {
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	padding-left: 24px !important;
}

.homepage-wp-content-wrapper li {
	margin-bottom: 8px !important;
	line-height: 1.6 !important;
}

/* 4. Past Events Carousel Section */
.past-events-section {
	margin-top: 45px;
	margin-bottom: 45px;
}

.past-events-carousel-wrapper {
	position: relative;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	border: 1px solid #E5E7EB;
	background: #0F0F10;
}

.past-events-carousel {
	position: relative;
	width: 100%;
	height: 380px;
	overflow: hidden;
}

.past-events-track {
	width: 100%;
	height: 100%;
	position: relative;
}

.past-event-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.past-event-slide.active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.past-event-slide .past-event-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.past-event-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px 25px 20px 25px;
	background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
	color: #FFFFFF;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.past-event-badge {
	background-color: #A81B2C;
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.past-event-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #FFFFFF !important;
	margin: 0 0 10px 0 !important;
	line-height: 1.3 !important;
	text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.btn-past-event-recap {
	color: #FFFFFF !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	letter-spacing: 0.5px !important;
	border-bottom: 2px solid #A81B2C !important;
	padding-bottom: 2px !important;
	transition: all 0.2s ease !important;
}

.btn-past-event-recap:hover {
	color: #F87171 !important;
	border-color: #F87171 !important;
}

.past-carousel-ctrl {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	background: rgba(0, 0, 0, 0.5);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.2);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 24px;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.past-carousel-ctrl:hover {
	background: #A81B2C;
	border-color: #A81B2C;
}

.past-carousel-ctrl.prev { left: 15px; }
.past-carousel-ctrl.next { right: 15px; }

.past-carousel-indicators {
	position: absolute;
	bottom: 12px;
	right: 20px;
	z-index: 5;
	display: flex;
	gap: 6px;
}

.past-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all 0.2s ease;
}

.past-indicator.active {
	background: #A81B2C;
	width: 24px;
	border-radius: 10px;
}

/* Ensure Gutenberg Vivid Red buttons and custom table buttons match the site's primary glossy red button styling */
a.wp-block-button__link.has-vivid-red-background-color,
.wp-block-button.has-vivid-red-background-color a.wp-block-button__link,
.wp-block-button a.btn-card-primary,
.homepage-wp-content-wrapper a.btn-card-primary,
table a.btn-card-primary,
a.btn-card-primary {
	background-color: #A81B2C !important;
	background-image: linear-gradient(135deg, #A81B2C 0%, #D92E47 100%) !important;
	color: #FFFFFF !important;
	border: none !important;
	padding: 12px 24px !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-align: center !important;
	display: inline-block !important;
	box-shadow: 0 4px 12px rgba(224, 26, 34, 0.25) !important;
	transition: all 0.2s ease !important;
}

a.wp-block-button__link.has-vivid-red-background-color:hover,
.wp-block-button.has-vivid-red-background-color a.wp-block-button__link:hover,
.wp-block-button a.btn-card-primary:hover,
.homepage-wp-content-wrapper a.btn-card-primary:hover,
table a.btn-card-primary:hover,
a.btn-card-primary:hover {
	background-color: #8A1220 !important;
	background-image: linear-gradient(135deg, #8A1220 0%, #A81B2C 100%) !important;
	color: #FFFFFF !important;
	box-shadow: 0 6px 16px rgba(224, 26, 34, 0.35) !important;
	transform: translateY(-1px) !important;
	text-decoration: none !important;
}
