/*
 * Independence Day (Jashn-e-Azadi) homepage banner — Pakistan green & white.
 * Loads only while the campaign window is live (see inc/azadi.php).
 */

.lenzz-azadi {
	position: relative;
	margin: 0 0 clamp(16px, 3vw, 28px);
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(120deg, #01411C 0%, #05663A 58%, #018A46 100%);
	color: #fff;
	box-shadow: 0 18px 44px -24px rgba(1, 65, 28, 0.65);
}
/* Faint crescent-and-star watermark */
.lenzz-azadi::after {
	content: "☪";
	position: absolute;
	right: -8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 190px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.06);
	pointer-events: none;
}

.lenzz-azadi-section { margin: clamp(12px, 2vw, 20px) 0 0; }

.lenzz-azadi-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(14px, 3vw, 30px);
	padding: clamp(18px, 3vw, 24px) clamp(20px, 4vw, 38px);
}

.lenzz-azadi-flag {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	display: grid;
	place-items: center;
	font-size: 30px;
	color: #fff;
}

.lenzz-azadi-text { flex: 1 1 300px; min-width: 0; }
.lenzz-azadi-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.9;
	margin-bottom: 4px;
}
.lenzz-azadi-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.12;
	color: #fff;
}
.lenzz-azadi-offer { color: #FFD75E; white-space: nowrap; }
.lenzz-azadi-sub { margin: 8px 0 0; font-size: 0.95rem; opacity: 0.95; }

.lenzz-azadi-code {
	display: inline-block;
	margin: 0 4px;
	padding: 2px 10px;
	border-radius: 8px;
	border: 1.5px dashed rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.06em;
	cursor: pointer;
	font-size: 0.95em;
	transition: background 0.15s ease;
}
.lenzz-azadi-code:hover { background: rgba(255, 255, 255, 0.22); }
.lenzz-azadi-code.is-copied { background: #fff; color: #046A38; border-style: solid; }

.lenzz-azadi-right {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.lenzz-azadi-countdown { display: flex; gap: 8px; }
.lenzz-azadi-cd-box {
	min-width: 48px;
	padding: 6px 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.14);
	text-align: center;
}
.lenzz-azadi-cd-num { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.lenzz-azadi-cd-lbl { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; margin-top: 3px; }
.lenzz-azadi-ended { font-weight: 800; font-size: 1.05rem; }

.lenzz-azadi-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 22px;
	border-radius: 999px;
	background: #fff;
	color: #046A38;
	font-weight: 800;
	font-size: 0.92rem;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.lenzz-azadi-cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.5);
	color: #024F29;
}

/* Sitewide topbar turns green during the campaign */
body.lenzz-azadi-on .lenzz-topbar {
	background: linear-gradient(90deg, #01411C, #018A46) !important;
}

@media (max-width: 720px) {
	.lenzz-azadi-inner { flex-direction: column; align-items: flex-start; text-align: left; }
	.lenzz-azadi-text { flex: 0 0 auto; width: 100%; } /* don't grow — kills the empty gap */
	.lenzz-azadi-right { align-items: flex-start; width: 100%; }
	.lenzz-azadi-cta { width: 100%; justify-content: center; }
	.lenzz-azadi::after { font-size: 130px; opacity: 0.05; }
}
