/* [vrfb_season]: one slim strip while a sale window runs. White on the dark
   violet, the headline and one link. Loaded only on pages where the
   shortcode prints something. No countdowns, no all caps, no gradients.
   The theme header uses layout="header" instead (a tag, further down). */

.vrfb-season {
	margin: 0 !important;
	background: #42209a;
	color: #fff;
}

.vrfb-season-in {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .25rem 1rem;
	max-width: 1240px;
	min-height: 56px;
	margin: 0 auto;
	padding: .6rem var(--wp--style--root--padding-right, 20px) .6rem var(--wp--style--root--padding-left, 20px);
	font-size: .9375rem;
	line-height: 1.35;
	text-align: center;
}

.vrfb-season-title {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 600;
	color: #fff;
}

.vrfb-season-link {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 600;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: #3cc8ff;
	text-decoration-thickness: 2px;
	text-underline-offset: .25em;
}

.vrfb-season-link:hover,
.vrfb-season-link:focus-visible {
	color: #fff;
	text-decoration-color: #fff;
}

.vrfb-season-link:focus-visible {
	outline: 2px solid #3cc8ff;
	outline-offset: 3px;
	border-radius: 4px;
}

/* layout="header": one tag inside the theme header grid instead of a band
   of its own (Dante, 2026-11-17). An 8px rounded link with a cyan status dot,
   white text on the dark violet header. */
.vrfb-season--header { background: transparent; }
.vrfb-season-tag {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 40px;
	box-sizing: border-box;
	padding: 0 .9rem;
	border: 1px solid rgba(60, 200, 255, .55);
	border-radius: 8px;
	background: rgba(60, 200, 255, .1);
	color: #fff;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
.vrfb-season-tag:hover, .vrfb-season-tag:focus-visible { color: #fff; border-color: #3cc8ff; background: rgba(60, 200, 255, .2); text-decoration: none; }
.vrfb-season-tag:focus-visible { outline: 2px solid #3cc8ff; outline-offset: 2px; }
.vrfb-season-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3cc8ff; }

/* Tablet: the tag closes the category row, without its box. Phones: a short row of its own. */
@media (max-width: 1099px) {
	.vrfb-season--header .vrfb-season-tag { min-height: 44px; padding: 0 0 0 .5rem; border: 0; background: transparent; }
	.vrfb-season--header .vrfb-season-tag:hover { box-shadow: inset 0 -3px 0 #3cc8ff; background: transparent; }
}
@media (max-width: 599px) {
	.vrfb-season--header .vrfb-season-tag { padding-left: 0; }
}

/* /holiday-deals/: guide lists as photo cards. */
.vrfb-hcards {
	list-style: none;
	margin: 1rem 0 2rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem 1rem;
}

.vrfb-hcard { display: flex; flex-direction: column; gap: .4rem; margin: 0; }

.vrfb-hcard-media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 10px;
	background: #f1ecfc;
}

.vrfb-hcard-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vrfb-hcard:hover .vrfb-hcard-media img { transform: scale(1.03); }

.vrfb-hcard-title {
	margin: .25rem 0 0 !important;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.0625rem !important;
	font-weight: 600;
	line-height: 1.3;
}

.vrfb-hcard-title a { color: #1e1e1e; text-decoration: none; }
.vrfb-hcard-title a:hover { color: #5b2bc4; text-decoration: underline; }
.vrfb-hcard-why { margin: 0; font-size: .9375rem; line-height: 1.45; color: #3b3b3b; }

/* /holiday-deals/ opens with the running event: one line, its guide linked.
   Touch screens: card titles and that link are 44px targets. */
.vrfb-season-now { margin-top: 0; }
@media (max-width: 1024px), (pointer: coarse) {
	.vrfb-hcard-title a, .vrfb-season-now a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.vrfb-hcard-media img { transition: none; }
	.vrfb-hcard:hover .vrfb-hcard-media img { transform: none; }
}

@media (max-width: 700px) {
	.vrfb-hcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
	.vrfb-hcards { grid-template-columns: 1fr; gap: .85rem; }
	.vrfb-hcard { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: .15rem .85rem; align-items: start; }
	.vrfb-hcard-media { grid-row: span 2; }
	.vrfb-hcard-title { margin-top: 0 !important; font-size: 1rem !important; }
	.vrfb-hcard-why { font-size: .875rem; }
}
