/* ==========================================================================
   EK ASHECHE KIRAN FOUNDATION: ACTIVITIES (TIMELINE) PAGE
   Loaded by events.html after css/style.css, css/home.css, css/about.css and
   css/certifications.css.
   ========================================================================== */

.ekk-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.ekk-timeline::before {
	content: ""; position: absolute; left: 190px; top: 6px; bottom: 6px; width: 2px;
	background: var(--ekk-line);
}
.ekk-tl-item {
	display: grid; grid-template-columns: 160px 220px 1fr; gap: 28px; align-items: start;
	padding: 0 0 40px; position: relative;
}
.ekk-tl-item:last-child { padding-bottom: 0; }
.ekk-tl-item::before {
	content: ""; position: absolute; left: 186px; top: 6px; width: 10px; height: 10px; border-radius: 50%;
	background: var(--ekk-orange); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ekk-orange);
}
.ekk-tl-date { font-family: "Lora", serif; font-weight: 700; font-size: 16px; color: var(--ekk-orange-deep); padding-top: 2px; text-align: right; }
.ekk-tl-media { border-radius: 14px; overflow: hidden; box-shadow: var(--ekk-shadow); }
.ekk-tl-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
/* .ekk-doc-fit: for the two timeline entries whose "photo" is actually a
   portrait newsletter scan (source ratio ~0.67-0.94) -- `cover` in this 4:3
   box would crop out most of the document's text, so these use `contain`
   with a cream letterbox instead. Real photos in this timeline keep `cover`. */
.ekk-tl-media img.ekk-doc-fit { object-fit: contain; background: var(--ekk-cream); padding: 14px; }
.ekk-tl-body h3 { font-family: "Lora", serif; font-size: 19px; color: var(--ekk-ink); margin: 0 0 8px; }
.ekk-tl-body p { font-size: 14.5px; line-height: 1.7; margin: 0 0 10px; }

@media (max-width: 991px) {
	.ekk-timeline::before { left: 6px; }
	.ekk-tl-item { grid-template-columns: 1fr; gap: 12px; padding-left: 26px; }
	.ekk-tl-item::before { left: 1px; top: 4px; }
	.ekk-tl-date { text-align: left; }
}
