@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

/* Public events page — a single "latest event" story.
   Nav, header and footer styling come from blog.css (linked first). */

.event-main {
    padding-top: 80px;
    background: #faf9fc;
}

.event-empty {
    text-align: center;
    color: #6b6b78;
    font-size: 1.15rem;
    padding: 90px 20px;
}

.event-story {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 80px;
}

/* Hero with the event image + overlaid title/date */
.event-hero {
    position: relative;
    min-height: 62vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.event-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 16, 36, 0.94) 0%, rgba(26, 16, 36, 0.4) 55%, rgba(26, 16, 36, 0.08) 100%);
}

.event-hero-overlay {
    position: relative;
    z-index: 1;
    padding: 54px 48px;
    color: #fff;
    max-width: 780px;
}

.event-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c500ed, #8a2be2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.event-title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #fff;
}

.event-meta {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.92;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Rich story body */
.event-body {
    padding: 46px 48px 0;
    font-family: 'Lora', serif;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #2c2c38;
}

.event-body p {
    margin-bottom: 22px;
}

.event-body h2,
.event-body h3,
.event-body h4 {
    font-family: 'Inter', sans-serif;
    color: #1f1233;
    line-height: 1.3;
    margin: 34px 0 14px;
}

.event-body h2 {
    font-size: 1.6rem;
}

.event-body h3 {
    font-size: 1.3rem;
}

.event-body ul,
.event-body ol {
    margin: 0 0 22px 1.2em;
    padding-left: 1em;
}

.event-body ul {
    list-style: disc;
}

.event-body ol {
    list-style: decimal;
}

.event-body li {
    margin-bottom: 10px;
}

.event-body a {
    color: #c500ed;
    text-decoration: underline;
}

.event-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.event-body blockquote {
    border-left: 4px solid #c500ed;
    padding: 6px 0 6px 20px;
    margin: 24px 0;
    color: #4a4a57;
    font-style: italic;
}

@media (max-width: 768px) {
    .event-hero {
        min-height: 48vh;
    }

    .event-hero-overlay {
        padding: 36px 24px;
    }

    .event-body {
        padding: 32px 24px 0;
    }
}
