/**
 * Weekly Events Shortcode Styles
 * Mobile-first responsive design matching Micky's brand.
 *
 * Brand tokens:
 *   Background: #03051a (dark navy)
 *   Primary accent: #ff19b2 (hot pink)
 *   Secondary: #3900a8 (deep purple)
 *   Headings: Teko, sans-serif
 *   Body: Work Sans, sans-serif
 */

/* ==========================================================================
   Container
   ========================================================================== */

.ipbot-weekly-events {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 15px;
	font-family: "Work Sans", sans-serif;
	color: #ffffff;
}

/* ==========================================================================
   Featured Section
   ========================================================================== */

.ipbot-we-featured {
	margin-bottom: 48px;
}

.ipbot-we-featured-heading {
	font-family: "Teko", sans-serif;
	font-size: 36px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #ff19b2;
	text-align: center;
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid #ff19b2;
}

.ipbot-we-featured-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 640px) {
	.ipbot-we-featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==========================================================================
   Day Sections
   ========================================================================== */

.ipbot-we-days {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ipbot-we-day {
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease;
}

.ipbot-we-day--today {
	border-color: #ff19b2;
	background: rgba(255, 25, 178, 0.05);
}

.ipbot-we-day--tomorrow {
	border-color: rgba(255, 25, 178, 0.4);
}

/* Day Header (toggle button) */
.ipbot-we-day-header {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 16px 20px;
	background: none;
	border: none;
	color: #ffffff;
	cursor: pointer;
	font-family: "Teko", sans-serif;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-align: left;
	transition: background 0.15s ease;
	gap: 12px;
}

.ipbot-we-day-header:hover {
	background: rgba(255, 255, 255, 0.05);
}

.ipbot-we-day-header:focus-visible {
	outline: 2px solid #ff19b2;
	outline-offset: -2px;
}

.ipbot-we-day-chevron {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	transition: transform 0.2s ease;
	color: #ff19b2;
}

.ipbot-we-day--collapsed .ipbot-we-day-chevron {
	transform: rotate(-90deg);
}

.ipbot-we-day-label {
	flex: 1;
}

.ipbot-we-day--today .ipbot-we-day-label {
	color: #ff19b2;
}

.ipbot-we-day-count {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.5);
	text-transform: none;
}

/* Day Content */
.ipbot-we-day-content {
	padding: 0 20px 20px;
}

.ipbot-we-day-content[hidden] {
	display: none;
}

/* ==========================================================================
   Card Grid
   ========================================================================== */

.ipbot-we-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 640px) {
	.ipbot-we-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.ipbot-we-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.ipbot-we-card-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ==========================================================================
   Event Card
   ========================================================================== */

.ipbot-we-card {
	position: relative;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.ipbot-we-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(255, 25, 178, 0.15);
}

/* Featured cards are larger */
.ipbot-we-card--featured {
	border: 1px solid rgba(255, 25, 178, 0.3);
}

.ipbot-we-card--featured:hover {
	border-color: #ff19b2;
	box-shadow: 0 12px 32px rgba(255, 25, 178, 0.25);
}

/* Card Image */
.ipbot-we-card-image-link {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.ipbot-we-card--featured .ipbot-we-card-image-link {
	aspect-ratio: 3 / 2;
}

.ipbot-we-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ipbot-we-card:hover .ipbot-we-card-image {
	transform: scale(1.05);
}

/* Card Body */
.ipbot-we-card-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ipbot-we-card-title {
	font-family: "Teko", sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ipbot-we-card-title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ipbot-we-card-title a:hover {
	color: #ff19b2;
}

.ipbot-we-card-excerpt {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 16px;
	flex: 1;
}

/* ==========================================================================
   Card Actions (button row)
   ========================================================================== */

.ipbot-we-card-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}

.ipbot-we-card-next-date {
	font-family: "Teko", sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #6dfdff;
	white-space: nowrap;
}

.ipbot-we-card-buttons {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-left: auto;
}

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

.ipbot-we-btn {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 6px;
	font-family: "Teko", sans-serif;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	transition: background 0.15s ease, transform 0.1s ease;
	align-self: flex-start;
}

.ipbot-we-btn:hover {
	transform: translateY(-1px);
}

.ipbot-we-btn:active {
	transform: translateY(0);
}

/* Get Tickets — hot pink */
.ipbot-we-btn--tickets {
	background: #ff19b2;
	color: #ffffff;
}

.ipbot-we-btn--tickets:hover {
	background: #e0159e;
	color: #ffffff;
}

/* Learn More — deep purple */
.ipbot-we-btn--learn {
	background: #3900a8;
	color: #ffffff;
}

.ipbot-we-btn--learn:hover {
	background: #4a10c0;
	color: #ffffff;
}

/* Reserve Now — outline style */
.ipbot-we-btn--reserve {
	background: transparent;
	color: #ff19b2;
	border: 2px solid #ff19b2;
}

.ipbot-we-btn--reserve:hover {
	background: rgba(255, 25, 178, 0.1);
	color: #ff19b2;
}

/* ==========================================================================
   Day Badge (on featured cards)
   ========================================================================== */

.ipbot-we-card-day-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(3, 5, 26, 0.85);
	color: #ff19b2;
	font-family: "Teko", sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 4px;
	border: 1px solid rgba(255, 25, 178, 0.4);
}

/* ==========================================================================
   No Shows Message
   ========================================================================== */

.ipbot-we-no-shows {
	color: rgba(255, 255, 255, 0.4);
	font-style: italic;
	font-size: 14px;
	padding: 8px 0;
	margin: 0;
}

/* ==========================================================================
   Section Heading (optional via heading_text)
   ========================================================================== */

.ipbot-we-section-heading {
	font-family: "Teko", sans-serif;
	font-size: 42px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #ffffff;
	text-align: center;
	margin: 0 0 32px;
}

/* ==========================================================================
   Non-collapsible (static) Day Headers
   ========================================================================== */

.ipbot-we-day-header--static {
	cursor: default;
}

.ipbot-we-day-header--static:hover {
	background: none;
}

.ipbot-we-no-collapse .ipbot-we-day-chevron {
	display: none;
}

/* ==========================================================================
   Schedule Style — Day Header (static, centered, cyan/blue)
   ========================================================================== */

.ipbot-we-day-header--schedule {
	cursor: default;
	justify-content: center;
	text-align: center;
	padding: 12px 20px;
}

.ipbot-we-day-header--schedule:hover {
	background: none;
}

.ipbot-we-day-header--schedule .ipbot-we-day-label {
	flex: none;
	color: #6dfdff !important;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 3px;
}

/* ==========================================================================
   Fixed Column Overrides
   ========================================================================== */

.ipbot-we-cols-1 .ipbot-we-card-grid {
	grid-template-columns: 1fr;
}

.ipbot-we-cols-2 .ipbot-we-card-grid {
	grid-template-columns: repeat(2, 1fr);
}

.ipbot-we-cols-3 .ipbot-we-card-grid {
	grid-template-columns: repeat(3, 1fr);
}

.ipbot-we-cols-4 .ipbot-we-card-grid {
	grid-template-columns: repeat(4, 1fr);
}

/* Fixed columns revert to 1-col on small screens */
@media (max-width: 639px) {
	.ipbot-we-cols-2 .ipbot-we-card-grid,
	.ipbot-we-cols-3 .ipbot-we-card-grid,
	.ipbot-we-cols-4 .ipbot-we-card-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Schedule Style — Card Grid (3 columns on desktop)
   ========================================================================== */

.ipbot-we-schedule .ipbot-we-card-grid {
	grid-template-columns: 1fr;
	gap: 28px 20px;
}

@media (min-width: 640px) {
	.ipbot-we-schedule .ipbot-we-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.ipbot-we-schedule .ipbot-we-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   Schedule Card (ipbot-we-scard)
   ========================================================================== */

.ipbot-we-scard,
.ipbot-we-scard:hover,
.ipbot-we-scard:focus {
	display: block;
	text-decoration: none !important;
	color: #ffffff !important;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ipbot-we-scard:hover {
	transform: translateY(-4px);
}

/* Image wrapper — portrait frame with branded gradient */
.ipbot-we-scard-image-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background:
		linear-gradient(135deg, #3900a8 0%, #1a0050 50%, #3900a8 100%);
	border: 2px solid rgba(255, 25, 178, 0.3);
	border-radius: 8px;
	margin-bottom: 12px;
}

/* Inner glow on the frame */
.ipbot-we-scard-image-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 6px;
	box-shadow: inset 0 0 30px rgba(57, 0, 168, 0.4);
	pointer-events: none;
	z-index: 1;
	transition: box-shadow 0.25s ease;
}

.ipbot-we-scard:hover .ipbot-we-scard-image-wrap {
	border-color: #ff19b2;
}

.ipbot-we-scard:hover .ipbot-we-scard-image-wrap::after {
	box-shadow: inset 0 0 40px rgba(255, 25, 178, 0.15);
}

/* Empty image placeholder — branded Micky's frame */
.ipbot-we-scard-image-wrap--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(ellipse at 30% 20%, rgba(255, 25, 178, 0.12) 0%, transparent 60%),
		radial-gradient(ellipse at 70% 80%, rgba(57, 0, 168, 0.2) 0%, transparent 60%),
		linear-gradient(160deg, #1a0050 0%, #0d0025 40%, #1a0050 100%);
}

.ipbot-we-scard-image-wrap--empty::before {
	content: "\f073";
	font-family: "dashicons";
	font-size: 48px;
	color: rgba(255, 25, 178, 0.2);
	z-index: 2;
}

/* Image — contain so wide/tall flyers stay fully visible, centered */
.ipbot-we-scard-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	transition: transform 0.35s ease;
}

.ipbot-we-scard:hover .ipbot-we-scard-image {
	transform: scale(1.04);
}

/* Inner link — makes body area clickable */
.ipbot-we-scard-link {
	display: block;
	text-decoration: none !important;
	color: #ffffff !important;
}

/* Image link — block inside image-wrap, fills the frame */
.ipbot-we-scard-image-link {
	display: block;
	width: 100%;
	height: 100%;
}

/* Body — text below image */
.ipbot-we-scard-body {
	padding: 4px 8px 12px;
}

/* Pills — row between image and body text, always visible */
.ipbot-we-scard-pills {
	padding: 12px 8px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.ipbot-we-scard-pill {
	display: inline-block;
	font-family: "Work Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #ffffff !important;
	background: #3900a8;
	border: 2px solid #3900a8;
	border-radius: 6px;
	padding: 8px 16px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ipbot-we-scard-pill:hover {
	background: #4a10c0;
	border-color: #ffffff;
}

/* More Dates / Get Info — visible white border */
.ipbot-we-scard-pill--more {
	border-color: #ffffff;
}

.ipbot-we-scard-pill--more:hover {
	border-color: #ffffff;
}

/* When More Dates / Get Info is the only pill — use primary pink */
.ipbot-we-scard-pill--more:only-child {
	background: #ff19b2;
	border-color: #ff19b2;
}

.ipbot-we-scard-pill--more:only-child:hover {
	background: #e0159e;
	border-color: #e0159e;
}

/* Get Tix pill — solid pink */
.ipbot-we-scard-pill--tix {
	background: #ff19b2;
	border-color: #ff19b2;
}

.ipbot-we-scard-pill--tix:hover {
	background: #e0159e;
	border-color: #e0159e;
}

/* Show Type / Category — small pink label */
.ipbot-we-scard .ipbot-we-scard-type,
.ipbot-we-schedule .ipbot-we-scard .ipbot-we-scard-type {
	display: block;
	font-family: "Teko", sans-serif;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 2.5px;
	color: #ff19b2 !important;
	text-transform: uppercase;
	margin-bottom: 0;
}

/* Title — big white bold */
.ipbot-we-scard .ipbot-we-scard-title,
.ipbot-we-schedule .ipbot-we-scard .ipbot-we-scard-title {
	font-family: "Teko", sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #ffffff !important;
	margin: 0 0 2px;
}

/* Time — pink accent */
.ipbot-we-scard .ipbot-we-scard-time,
.ipbot-we-schedule .ipbot-we-scard .ipbot-we-scard-time {
	display: block;
	font-family: "Teko", sans-serif;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 1.5px;
	color: #ff19b2 !important;
	text-transform: uppercase;
}

/* Optional excerpt */
.ipbot-we-scard .ipbot-we-scard-excerpt,
.ipbot-we-schedule .ipbot-we-scard .ipbot-we-scard-excerpt {
	font-family: "Work Sans", sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.55) !important;
	margin: 8px 0 0;
}

/* ==========================================================================
   Schedule Style — Days spacing
   ========================================================================== */

.ipbot-we-schedule .ipbot-we-days {
	gap: 16px;
}

.ipbot-we-schedule .ipbot-we-day {
	background: none;
	border: none;
	border-radius: 0;
}

.ipbot-we-schedule .ipbot-we-day-content {
	padding: 0;
}

/* ==========================================================================
   Responsive Refinements
   ========================================================================== */

@media (min-width: 768px) {
	.ipbot-weekly-events {
		padding: 60px 30px;
	}

	.ipbot-we-featured-heading {
		font-size: 42px;
	}

	.ipbot-we-day-header {
		font-size: 38px;
		padding: 18px 24px;
	}

	.ipbot-we-day-header--schedule .ipbot-we-day-label {
		font-size: 38px;
	}

	.ipbot-we-card-title {
		font-size: 24px;
	}

	.ipbot-we-section-heading {
		font-size: 52px;
	}

	.ipbot-we-scard-title {
		font-size: 28px;
	}
}

@media (min-width: 1024px) {
	.ipbot-weekly-events {
		padding: 80px 40px;
	}

	.ipbot-we-featured-heading {
		font-size: 48px;
	}

	.ipbot-we-day-header {
		font-size: 42px;
	}

	.ipbot-we-day-header--schedule .ipbot-we-day-label {
		font-size: 42px;
	}

	.ipbot-we-section-heading {
		font-size: 60px;
	}

	.ipbot-we-scard-title {
		font-size: 30px;
	}
}

/* -------------------------------------------------------
   Inline Subscribe Section (homepage 107107)
   Mirrors .subscribe-block styles from ACIDUM parent theme
   so the section looks the same inline as it does in footer.
   ------------------------------------------------------- */
.hp-subscribe {
	padding-top: 20px;
	padding-bottom: 5px;
}

/* Remove dark gap between subscribe and events section */
.hp-subscribe + .vc_section {
	margin-top: 0 !important;
}

section.hp-subscribe .wpb_wrapper .heading {
	margin: 0 !important;
	padding: 0;
}

section.hp-subscribe .vc_column-inner {
	margin-bottom: 0 !important;
}

.hp-subscribe .heading .header {
	font-size: 28px;
	margin-bottom: 0 !important;
}

.hp-subscribe .heading .subheader {
	font-size: 16px;
	margin-bottom: 0;
}

.hp-subscribe .wpb_text_column {
	margin-bottom: 0;
}

/* Reduce CF7 form internal padding inside subscribe section */
section.hp-subscribe .wpcf7-form {
	padding: 10px 0 0 0 !important;
}

section.hp-subscribe .wpcf7-form p {
	margin-bottom: 0;
}

section.hp-subscribe .wpcf7-spinner {
	display: none;
}

section.hp-subscribe .btn-hover-wrap {
	margin-bottom: 0 !important;
}

section.hp-subscribe .wpcf7-form-control-wrap {
	margin-bottom: 10px !important;
}

@media (min-width: 768px) {
	.hp-subscribe .heading .header {
		font-size: 32px;
	}

	.hp-subscribe .heading .subheader {
		font-size: 17px;
	}
}

@media (min-width: 992px) {
	.hp-subscribe {
		padding-left: 50px;
		padding-right: 50px;
	}

	.hp-subscribe .heading .header {
		font-size: 36px;
	}

	.hp-subscribe .heading .subheader {
		font-size: 18px;
	}
}

@media (min-width: 1200px) {
	.hp-subscribe {
		padding-left: 50px;
	}

	.hp-subscribe .heading .header {
		font-size: 40px;
	}
}

@media (max-width: 991px) {
	.hp-subscribe {
		text-align: center;
		padding: 15px 25px;
	}

	.hp-subscribe form {
		margin: 0 auto;
	}

	section.hp-subscribe .wpb_wrapper .heading {
		margin-bottom: 20px !important;
	}
}
