/* Event landing page (views/pages/eventLanding.ejs) — first used by Sa-Dhan 2026.
   The hero, .evl-wrap and the .evl-btn buttons are styled in event-hero.css. */
.evl {
	--evl-blue: #1565f5;
	--evl-blue-dark: #0e4fd0;
	--evl-navy: #0f2557;
	--evl-text: #4a5873;
	--evl-border: #e3e9f4;
	--evl-soft: #f3f7ff;
	color: var(--evl-text);
	overflow-x: hidden;
}

/* Same font family as the NBFC industry page: its stylesheets set Arial/Helvetica and
   it never loads Encode Sans. Applied page-wide (header and footer too); the html/body
   prefix outranks index.css's body !important rule. */
html body.event-landing-page,
html body.event-landing-page *:not(svg):not(svg *) {
	font-family: Arial, Helvetica, sans-serif !important;
}

/* index.css sets the header wrapper to 90vh; other event pages reset it the same way. */
body .navbar-main-container .main-container { height: inherit; }

.evl * { box-sizing: border-box; }
.evl h1, .evl h2, .evl h3 { color: var(--evl-navy); margin: 0; }
.evl p { margin: 0; }
.evl a { text-decoration: none; }
.evl img { display: block; max-width: 100%; }

.evl-section-title {
	position: relative;
	padding-left: 16px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}

.evl-section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 3px;
	border-radius: 2px;
	background: var(--evl-blue);
}

/* Overview: compact two-column block — copy on the left, a contained, rounded photo on
   the right, both vertically centred. Wider than the other sections so the copy column
   gets the room for a two-line heading. */
.evl-overview { padding: 64px 0; background: #fff; }

.evl-overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: 56px;
	align-items: center;
	max-width: 1320px;
	padding: 0 40px;
}

/* Overview typography follows the NBFC industry page's content sections (finances.css):
   uppercase pill section tag with the bookmark icon, 800-weight heading in #0b1530,
   body copy in #4f5868, accent/link blue #1e5bfa. */
.evl-eyebrow {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 18px !important;
	padding: 8px 18px;
	align-items: center;
	gap: 8px;
	color: #1e5bfa;
	background: #eef4ff;
	border: 1px solid rgba(30, 91, 250, 0.14);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(30, 91, 250, 0.1);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.evl-eyebrow::before {
	width: 12px;
	height: 15px;
	flex: 0 0 auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Cpath d='M0 1.5A1.5 1.5 0 0 1 1.5 0h9A1.5 1.5 0 0 1 12 1.5V15l-6-3.6L0 15z' fill='%231e5bfa'/%3E%3C/svg%3E") center / contain no-repeat;
	content: "";
}

.evl .evl-overview h2 {
	margin-bottom: 22px;
	color: #0b1530;
	font-size: clamp(26px, 2.4vw, 36px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

/* Two lines on desktop: "Sa-Dhan 2026: Building the Future of" / "Responsible Microfinance". */
.evl-overview-line { display: block; }

@media (min-width: 1200px) {
	.evl-overview-line { white-space: nowrap; }
}

.evl-overview p:not(.evl-eyebrow) { margin-bottom: 14px; color: #4f5868; font-size: 17px; line-height: 1.65; }
.evl-overview b { color: #0b1530; font-weight: 700; }
.evl-overview a { color: #1e5bfa; font-weight: 600; }

/* The photo carries the mockup's curved shape, outline ring and mint edge in the image
   itself, so it is shown as-is (no frame) and runs off the right edge of the page. */
.evl-overview-media img {
	width: 100%;
	height: auto;
}

/* The overview and CTA images carry their curved shapes and run off the right edge,
   as in the mockup. The overview grid is 1320px wide with 40px side padding. */
@media (min-width: 861px) {
	.evl-overview-media { margin-right: calc((min(100vw, 1320px) - 100vw) / 2 - 40px); }
	.evl-cta-media { margin-right: calc((min(100vw, 1240px) - 100vw) / 2 - 24px); }
}

/* Showcase: four cards as in the mockup — photo on top, a coloured icon tile overlapping
   the photo's bottom edge, bold navy title and grey description. */
.evl-showcase {
	padding: 72px 0;
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(150, 192, 255, 0.16), transparent 70%),
		#f3f7ff;
}

.evl-showcase .evl-section-title { color: #0f2557; font-size: 24px; font-weight: 700; }

.evl-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 0;
	margin: 32px 0 0;
	list-style: none;
}

.evl-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	color: inherit;
	box-shadow: 0 10px 28px rgba(15, 37, 87, 0.08);
	transition: transform 0.2s, box-shadow 0.2s;
}

.evl-card a:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 37, 87, 0.13); }
/* The supplied photos contain letterbox bands; crop them inside the card frame. */
.evl-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.evl-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.16);
}
.evl-card-media--deep-crop img { transform: scale(1.55); }
.evl-card-body { position: relative; padding: 44px 24px 28px; }

.evl-card-icon {
	position: absolute;
	top: -30px;
	left: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 14px;
	border: 4px solid #fff;
	border-radius: 14px;
	color: #fff;
	box-shadow: 0 8px 18px rgba(15, 37, 87, 0.12);
}

.evl-card-icon svg { width: 100%; height: 100%; }
.evl-purple { background: #6c4cf1; }
.evl-green { background: #19a463; }
.evl-blue { background: var(--evl-blue); }
.evl-orange { background: #f47b20; }

.evl .evl-card h3 { margin-bottom: 12px; color: #0f2557; font-size: 19px; font-weight: 700; line-height: 1.3; }
.evl-card-line { display: block; }
.evl .evl-card p { color: #4a5873; font-size: 15px; line-height: 1.55; }

/* Gallery */
.evl-gallery { padding: 72px 0; background: #fff; }
.evl-gallery .evl-wrap { max-width: 1240px; }

.evl-gallery-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
}

.evl-gallery-head p { max-width: 760px; margin-top: 14px; font-size: 14px; line-height: 1.6; }
.evl-gallery-nav { display: flex; gap: 12px; flex: none; }

.evl-nav-btn {
	width: 44px;
	height: 44px;
	border: 1px solid var(--evl-border);
	border-radius: 50%;
	background: #fff;
	color: var(--evl-navy);
	box-shadow: 0 6px 16px rgba(15, 37, 87, 0.10);
	cursor: pointer;
}

.evl-nav-btn:hover { background: var(--evl-blue); color: #fff; }

/* Show three compact event photos at a time. */
.evl-gallery-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 32px) / 3);
	gap: 16px;
	margin-top: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.evl-gallery-track::-webkit-scrollbar { display: none; }

.evl-gallery-track img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	object-position: center 20%;
	border-radius: 14px;
	scroll-snap-align: start;
}

.evl-dots { display: flex; justify-content: center; margin-top: 20px; }

.evl-dots button {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.evl-dots button::after {
	content: '';
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #c9d7f3;
}

.evl-dots button.active::after { background: var(--evl-blue); }
.evl-dots button:focus-visible { outline: 2px solid var(--evl-blue); outline-offset: 3px; }

/* Feature cards follow the employee live tracking section in the event's blue theme. */
.evl-features {
	padding: 72px 0 80px;
	background: linear-gradient(180deg, var(--evl-soft) 0%, #fff 100%);
}

.evl-features-heading {
	max-width: 880px;
	margin: 0 auto 40px;
	text-align: center;
}

.evl .evl-features-heading h2 {
	color: var(--evl-navy);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.evl-features-heading h2 span { color: var(--evl-blue); }
.evl-features-heading p { margin-top: 18px; font-size: 17px; line-height: 1.6; }

.evl-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.evl-feature-card {
	display: flex;
	min-height: 316px;
	padding: 28px 24px;
	flex-direction: column;
	color: var(--evl-navy);
	background: linear-gradient(145deg, #e6f0ff 0%, #f8fbff 100%);
	border: 1px solid #cbdcff;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 37, 87, 0.06);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.evl-feature-icon { display: grid; width: 48px; height: 48px; margin-bottom: 18px; padding: 10px; place-items: center; color: #fff; background: var(--evl-blue); border-radius: 12px; }
.evl-feature-icon svg { width: 100%; height: 100%; }
.evl .evl-feature-card h3 { margin-bottom: 14px; color: var(--evl-navy); font-size: 22px; font-weight: 700; line-height: 1.2; }
.evl-feature-card p { margin-bottom: 20px; color: var(--evl-text); font-size: 16px; line-height: 1.5; }
.evl-feature-link { margin-top: auto; color: var(--evl-blue); font-size: 16px; font-weight: 600; }
.evl-feature-link span { margin-left: 8px; }

.evl-features-cta {
	display: flex;
	width: fit-content;
	min-height: 52px;
	margin: 40px auto 0;
	padding: 12px 28px;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: var(--evl-blue);
	border-radius: 6px;
	font-size: 17px;
	font-weight: 700;
}

.evl-feature-card:hover { transform: translateY(-4px); border-color: var(--evl-blue); box-shadow: 0 16px 32px rgba(15, 37, 87, 0.14); }
.evl-feature-card:focus-visible,
.evl-features-cta:focus-visible { outline: 3px solid var(--evl-blue); outline-offset: 4px; }
.evl-features-cta:hover { background: var(--evl-blue-dark); }

/* Conversations + FAQ */
.evl-split { padding: 72px 0; background: #fbfcff; }

.evl-split-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
}

.evl-split-intro { margin: 14px 0 22px 16px !important; font-size: 14px; line-height: 1.6; }

.evl-checks { padding: 0 0 0 16px; margin: 0; list-style: none; }

.evl-checks li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
	font-size: 14px;
	color: var(--evl-navy);
}

.evl-checks i {
	display: flex;
	flex: none;
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	background: #19a463;
	color: #fff;
}

.evl-checks svg { width: 100%; height: 100%; }

.evl-faq { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.evl-faq details {
	border: 1px solid var(--evl-border);
	border-radius: 8px;
	background: #fff;
}

.evl-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 13px 16px;
	font-size: 13px;
	color: var(--evl-navy);
	cursor: pointer;
	list-style: none;
}

.evl-faq summary::-webkit-details-marker { display: none; }

.evl-faq summary::after {
	content: '+';
	flex: none;
	font-size: 20px;
	line-height: 1;
	color: var(--evl-navy);
}

.evl-faq details[open] summary::after { content: '\2212'; }
.evl-faq details p { padding: 0 16px 14px; font-size: 13px; line-height: 1.6; }

/* Final CTA */
.evl-cta {
	padding: 0;
	background: linear-gradient(110deg, #0b1530 0%, var(--evl-navy) 100%);
}

.evl-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.evl-cta .evl-section-title { font-size: 30px; font-weight: 700; }
.evl-cta p { margin: 14px 0 28px; font-size: 15px; line-height: 1.6; }
.evl .evl-cta .evl-section-title { color: #fff; }
.evl .evl-cta .evl-section-title::before { background: #65a7ff; }
.evl .evl-cta p { color: #dce7fb; }

.evl-cta-media {
	align-self: end;
	/* The payment card begins after this narrow strip, so keep it fully visible. */
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 10%);
}

.evl-cta-photo {
	/* Follow the curved artwork while removing its pale outer corner. */
	-webkit-mask-image: radial-gradient(ellipse 106% 106% at 100% 100%, #000 99.5%, transparent 100%);
	mask-image: radial-gradient(ellipse 106% 106% at 100% 100%, #000 99.5%, transparent 100%);
}

.evl-cta-photo img {
	width: 100%;
	height: auto;
	/* Fade the image's white base into the section without softening its top edge. */
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

/* Font weights follow the NBFC industry page (finances.css / field-force-management.css):
   800 section headings (#0b1530, tight tracking), 700 card titles, bold text and buttons,
   600 labels and links, 400 body copy, list items and FAQ questions. */
.evl .evl-section-title,
#event-container .evl-hero h1 { font-weight: 800; }

.evl .evl-section-title { color: #0b1530; letter-spacing: -0.03em; }

.evl .evl-card h3,
.evl b,
.evl strong,
.evl-hero .evl-btn,
.evl .evl-btn { font-weight: 700; }

.evl-badge,
.evl-eyebrow,
.evl-fact dt,
.evl-overview a,
.evl-split a { font-weight: 600; }

.evl p,
.evl li,
.evl dd,
.evl .evl-faq summary,
.evl .evl-faq details p,
#event-container .evl-tagline { font-weight: 400; }

.evl-fact-booth dd { font-weight: 700 !important; }
.evl-fact dd { font-weight: 600; }

/* Larger text across the content sections: headings 26–32px, body copy 17px (as in the
   overview), list items and FAQ questions 17px, card descriptions 16px. */
.evl .evl-section-title,
.evl-showcase .evl-section-title { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.25; }
.evl .evl-section-title::before { top: 5px; bottom: 5px; width: 4px; }
.evl-cta .evl-section-title { font-size: clamp(28px, 2.6vw, 38px); }

.evl .evl-card h3 { font-size: 21px; }
.evl .evl-card p { font-size: 16px; }

.evl .evl-gallery-head p { max-width: 820px; margin-top: 16px; color: #4f5868; font-size: 17px; line-height: 1.65; }

.evl .evl-split-intro { margin: 16px 0 24px 16px !important; color: #4f5868; font-size: 17px; line-height: 1.65; }
.evl .evl-checks li { gap: 16px; padding: 10px 0; font-size: 17px; }
.evl .evl-checks i { width: 26px; height: 26px; padding: 5px; }

.evl .evl-faq summary { padding: 16px 20px; font-size: 17px; line-height: 1.4; }
.evl .evl-faq summary::after { font-size: 24px; }
.evl .evl-faq details p { padding: 0 20px 16px; color: #4f5868; font-size: 16px; line-height: 1.6; }

.evl .evl-cta p { font-size: 17px; line-height: 1.65; }

/* Responsive */
@media (max-width: 1024px) {
	.evl-cards { grid-template-columns: repeat(2, 1fr); }
	.evl-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.evl-overview-grid,
	.evl-split-grid,
	.evl-cta-grid { grid-template-columns: 1fr; gap: 36px; }
	.evl-overview, .evl-showcase, .evl-gallery, .evl-split { padding: 48px 0; }
	.evl-features { padding: 56px 0; }
	.evl-cta { padding: 48px 0 0; }
	.evl-overview-grid { padding: 0 24px; }
	.evl-overview-media { max-width: 440px; margin: 0 auto; }
	.evl-gallery-track { grid-auto-columns: calc((100% - 16px) / 2); }
}

@media (max-width: 560px) {
	.evl-wrap { padding: 0 16px; }
	.evl .evl-section-title, .evl-showcase .evl-section-title, .evl-cta .evl-section-title { font-size: 24px; }
	.evl .evl-checks li, .evl .evl-faq summary { font-size: 16px; }
	.evl-cards { grid-template-columns: 1fr; }
	.evl-feature-grid { grid-template-columns: 1fr; }
	.evl-feature-card { min-height: 260px; }
	.evl-gallery-nav { display: none; }
	.evl-gallery-track { grid-auto-columns: 100%; gap: 12px; }
	.evl-btn { width: 100%; justify-content: center; }
}
