/* ==========================================================================
   Campaign modules (landing pages) and popup card.
   Loaded after styles.css (compiled from SCSS sources that are not in the theme).
   Units follow the theme: html font-size is 10px, so 1rem = 10px.
   ========================================================================== */

/* Buttons
   --btn-color: line/text colour, --btn-bg: section background (used on hover). */
.campaign-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.2rem;
	padding: 0.9rem 2.4rem 0.8rem;
	border: 0.05rem solid var(--btn-color);
	border-radius: 10rem;
	font-family: "Teodor", Times, serif;
	font-weight: 400;
	font-size: 1.2rem;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s;
}
.campaign-btn--outline {
	background-color: transparent;
	color: var(--btn-color);
}
.campaign-btn--outline:hover,
.campaign-btn--outline:focus-visible {
	background-color: var(--btn-color);
	color: var(--btn-bg);
}
.campaign-btn--filled {
	background-color: var(--btn-color);
	color: var(--btn-bg);
}
.campaign-btn--filled:hover,
.campaign-btn--filled:focus-visible {
	background-color: transparent;
	color: var(--btn-color);
}

/* Section: Text + CTA centered */
.text-cta-centered {
	--btn-color: var(--tc-color);
	--btn-bg: var(--tc-bg);
	background-color: var(--tc-bg);
	color: var(--tc-color);
	text-align: center;
	padding: 8rem 0;
}
.text-cta-centered__head {
	margin-bottom: 3.2rem;
}
.text-cta-centered__suptitle {
	margin: 0;
	font-size: 1.6rem;
	line-height: 1.4;
	text-transform: uppercase;
}
.text-cta-centered__title {
	margin: 0;
	font-family: "Teodor", Times, serif;
	font-weight: 400;
	font-size: 3.2rem;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: none;
	color: inherit;
}
.text-cta-centered--light .text-cta-centered__suptitle,
.text-cta-centered--light .text-cta-centered__title {
	font-weight: 300;
}
.text-cta-centered__text {
	max-width: 59rem;
	margin: 0 auto 3.2rem;
	font-size: 1.6rem;
	line-height: 1.4;
}
.text-cta-centered__text p,
.text-cta-centered__note p {
	margin: 0;
}
.text-cta-centered .campaign-btn {
	min-width: min(29.5rem, 100%);
}
.text-cta-centered__note {
	margin-top: 3.2rem;
	font-size: 1.6rem;
	line-height: 1.4;
}
.text-cta-centered__note a {
	color: inherit;
	text-decoration: underline;
}
.text-cta-centered__note a:hover {
	color: inherit;
	opacity: 0.75;
}
@media (min-width: 992px) {
	.text-cta-centered {
		padding: 13.7rem 0 14.5rem;
	}
	.text-cta-centered__title {
		font-size: 4.6rem;
	}
}

/* Section: Event schedule */
.event-schedule {
	--btn-color: var(--es-color);
	--btn-bg: var(--es-bg);
	background-color: var(--es-bg);
	color: var(--es-color);
	padding: 6rem 0;
}
.event-schedule__list {
	display: grid;
	gap: 4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.event-schedule__date {
	margin: 0 0 1rem;
	font-size: 1.4rem;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.event-schedule__row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.6rem;
}
.event-schedule__body {
	flex: 1 1 auto;
	min-width: 0;
}
.event-schedule__title {
	margin: 0 0 0.8rem;
	font-family: "Teodor", Times, serif;
	font-weight: 300;
	font-size: 2.8rem;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-transform: none;
	color: inherit;
}
.event-schedule__title em,
.event-schedule__title i {
	font-style: italic;
}
.event-schedule__text {
	font-size: 1.6rem;
	line-height: 1.4;
}
.event-schedule__text p {
	margin: 0;
}
.event-schedule .campaign-btn {
	flex-shrink: 0;
	min-width: 13.8rem;
}
@media (min-width: 768px) {
	.event-schedule__row {
		flex-direction: row;
		align-items: center;
		gap: 4.8rem;
	}
}
@media (min-width: 992px) {
	.event-schedule {
		padding: 10.7rem 0 16.3rem;
	}
	.event-schedule__title {
		font-size: 3.8rem;
	}
}

/* Separator: festive band (repeating triangles) */
.sep-festive {
	height: 2.4rem;
	background: url("../images/campaign/festive-band.svg") repeat-x left top / auto 100%;
}
@media (min-width: 992px) {
	.sep-festive {
		height: 3.7rem;
	}
}

/* Section Visual: optional dark overlay over the background image */
.visual.has-overlay > .bg-img::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background-color: rgba(0, 0, 0, var(--visual-overlay, 0));
}

/* Popup card (home welcome popup) */
.welcome-popup--card {
	overflow: hidden;
	width: 32rem;
	height: 35.6rem;
	padding: 3.6rem 2.4rem 3rem;
	background-size: cover;
	background-position: center;
	box-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.15);
}
.welcome-popup--card .holder {
	height: 100%;
}
.welcome-popup--card .holder > *:not(.btn-close) {
	position: relative;
	z-index: 1;
}
.welcome-popup--card .btn-close {
	z-index: 2;
	top: 1rem;
	right: 1.4rem;
	opacity: 1;
}
.welcome-popup--card .btn-close::before,
.welcome-popup--card .btn-close::after {
	width: 2.8rem;
	height: 0.1rem;
}
.welcome-popup--card .btn-close:hover {
	opacity: 0.75;
}
.welcome-popup--card .popup-title-image {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 2rem;
}
.welcome-popup--card .popup-title-image img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
}
.welcome-popup--card .popup-cta {
	align-self: center;
	max-width: 19rem;
	padding: 0.6rem 2rem 0.5rem;
	border: 0.1rem solid currentColor;
	border-radius: 10rem;
	font-size: 1.2rem;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	text-wrap: balance;
	color: inherit;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.welcome-popup--card .popup-cta:hover,
.welcome-popup--card .popup-cta:focus-visible {
	border-color: var(--wp-color, currentColor);
	background-color: var(--wp-color, currentColor);
	color: var(--wp-bg, #fff);
}
@media (min-width: 992px) {
	.welcome-popup--card {
		width: 40.9rem;
		height: 45.5rem;
		padding: 5.6rem 3rem 4.5rem;
	}
}

/* Popup decoration: festive sides (two triangles pointing to the centre) */
.welcome-popup--deco-festive-sides::before,
.welcome-popup--deco-festive-sides::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 0;
	width: 20.5%;
	background-color: var(--wp-deco, #c01821);
}
.welcome-popup--deco-festive-sides::before {
	left: 0;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.welcome-popup--deco-festive-sides::after {
	right: 0;
	clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
