.home-events { position: relative; overflow: hidden; padding: clamp(3rem, 5vw, 5rem) 1.5rem clamp(7rem, 9vw, 10rem); background: #fff; color: #192478; font-family: "Fira Sans", "Segoe UI", sans-serif; }
.home-events::before { content: ""; position: absolute; top: 0; left: 50%; width: 130%; height: 420px; transform: translateX(-50%); background-image: radial-gradient(ellipse, #d4f5f8 24%, transparent 27%); background-size: 28px 20px; mask-image: radial-gradient(ellipse at 50% 0%, transparent 25%, #000 65%, transparent 78%); pointer-events: none; }
.events-inner { position: relative; width: min(100%, 1280px); margin: 0 auto; }
.home-events h2 { margin: 0 0 clamp(2.5rem, 4vw, 4rem); color: #304ffe; font-size: clamp(2rem, 3.3vw, 3.3rem); font-weight: 800; line-height: 1.1; text-align: center; text-transform: uppercase; }
.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: stretch; }
.event-card { display: flex; flex-direction: column; min-width: 0; }
.event-photo { aspect-ratio: 10 / 11; overflow: hidden; border-radius: 28px; background: #e5edf4; }
.event-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-info { position: relative; display: flex; flex: 1; flex-direction: column; margin-top: 2rem; padding: 6rem 1.25rem 1.5rem; border-radius: 22px; background: #dcf8fa; text-align: center; }
.event-logo { position: absolute; top: -5.8rem; left: 50%; display: grid; place-items: center; width: 11rem; height: 11rem; overflow: hidden; transform: translateX(-50%); border: 10px solid #fff; border-radius: 50%; background: #192478; }
.event-logo img { display: block; width: 75%; height: 75%; object-fit: contain; }
.event-logo img.event-logo-original { width: 100%; height: 100%; }
.event-card h3 { margin: 0; color: #304ffe; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 800; line-height: 1.1; }
.event-date { margin: .2rem 0 1.5rem; font-size: clamp(1.1rem, 1.5vw, 1.5rem); font-weight: 800; line-height: 1.2; }
.event-details { position: relative; display: flex; flex: 1; flex-direction: column; margin-top: 2rem; padding: 1.3rem .8rem 1rem; border: 2px solid #192478; border-radius: 20px; }
.event-details h4 { position: absolute; top: -.75rem; left: 50%; width: max-content; max-width: 95%; margin: 0; padding: 0 .4rem; transform: translateX(-50%); background: #dcf8fa; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.event-details ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; text-align: left; }
.event-details li { display: flex; align-items: center; gap: .4rem; font-size: clamp(.85rem, 1vw, 1rem); font-weight: 600; line-height: 1.05; }
.event-service-icon { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #fff; }
.event-service-icon img { width: 23px; height: 23px; object-fit: contain; }
.event-attendees { margin: auto 0 0; padding-top: 1rem; color: #304ffe; line-height: 1; }
.event-attendees-count { display: flex; align-items: center; justify-content: center; gap: .4rem; }
.event-attendees-count img { width: clamp(2rem, 3vw, 2.8rem); height: 2.8rem; object-fit: contain; }
.event-attendees strong { display: block; font-size: clamp(2rem, 3.2vw, 3.4rem); font-weight: 800; }
.event-attendees > span:last-child { display: block; font-size: 1.1rem; font-weight: 800; }
@media (max-width: 850px) { .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-events { padding-inline: 1rem; } .events-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 2.5rem; } }
