* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #111827;
}

/* ========================================
   HEADER
   ======================================== */

.events-header {
    width: 100%;
    height: 68px;
    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.events-brand {
    height: 54px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.events-logo {
    display: block;
    width: auto;
    height: 50px;
    max-width: 155px;
    max-height: 50px;
    object-fit: contain;
}

/* ========================================
   LOGIN BUTTON
   ======================================== */

.events-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 42px;
    padding: 0 18px;

    border: 0;
    border-radius: 999px;

    background: linear-gradient(135deg, #075cff, #00b8ff);
    color: #ffffff;

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 5px 18px rgba(0, 112, 255, 0.30);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.events-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 112, 255, 0.42);
}

.events-login:active {
    transform: scale(0.97);
}

.events-login-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;

    background: #ffffff;
    border-radius: 50%;

    animation: loginPulse 1.7s infinite;
}

.events-login-arrow {
    font-size: 17px;
    transition: transform 0.2s ease;
}

.events-login:hover .events-login-arrow {
    transform: translateX(3px);
}

@keyframes loginPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.75);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255,255,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

/* ========================================
   MAIN PAGE
   ======================================== */

.events-container {
    width: min(1180px, calc(100% - 40px));
    margin: 26px auto 60px;
}

/* ========================================
   HERO BANNER
   ======================================== */

.events-hero {
    width: 100%;
    margin: 0;
    padding: 0;

    overflow: hidden;
    border-radius: 16px;

    background: #ffffff;

    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.events-hero-picture {
    display: block;
    width: 100%;
}

.events-hero-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;

    object-fit: cover;
}

/* ========================================
   INTRO
   ======================================== */

.events-intro {
    margin-top: 22px;
    padding: 26px 28px;

    background: #ffffff;
    border-radius: 16px;

    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.events-eyebrow {
    margin: 0 0 7px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.events-intro h1 {
    margin: 0;

    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.15;
}

.events-tagline {
    margin: 9px 0 0;

    font-size: 16px;
    font-weight: 600;
}

.events-description {
    max-width: 700px;
    margin: 11px 0 0;

    color: #4b5563;

    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   TABLET
   ======================================== */

@media (max-width: 900px) {

    .events-header {
        height: 64px;
        padding: 0 18px;
    }

    .events-brand {
        height: 50px;
    }

    .events-logo {
        height: 46px;
        max-height: 46px;
        max-width: 145px;
    }

    .events-container {
        width: calc(100% - 28px);
        margin-top: 18px;
    }
}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 767px) {

    .events-header {
        height: 58px;
        padding: 0 12px;
    }

    .events-brand {
        height: 46px;
    }

    .events-logo {
        height: 42px;
        max-height: 42px;
        max-width: 130px;
    }

    .events-login {
        height: 38px;
        padding: 0 14px;

        gap: 6px;

        font-size: 13px;
    }

    .events-login-dot {
        width: 7px;
        height: 7px;
        flex-basis: 7px;
    }

    .events-container {
        width: calc(100% - 20px);
        margin: 12px auto 36px;
    }

    .events-hero {
        border-radius: 11px;
    }

    .events-hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .events-intro {
        margin-top: 12px;
        padding: 19px 17px;

        border-radius: 11px;
    }

    .events-intro h1 {
        font-size: 27px;
    }

    .events-tagline {
        font-size: 15px;
    }

    .events-description {
        font-size: 14px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .events-login-dot {
        animation: none;
    }

    .events-login,
    .events-login-arrow {
        transition: none;
    }
}

/* Featured public event */
.featured-event-card{
    position:relative;
    margin:22px 0;
    padding:24px;
    background:#fff;
    border:2px solid #0b76ff;
    border-radius:20px;
    box-shadow:0 12px 32px rgba(15,23,42,.12);
    overflow:hidden;
}

.featured-event-card h2{
    margin:10px 0;
    font-size:clamp(25px,5vw,38px);
    line-height:1.12;
    font-weight:800;
}

.featured-event-card .event-status{
    display:inline-block;
    padding:7px 13px;
    border-radius:999px;
    background:#e9fff2;
    font-weight:700;
}

.featured-event-card .event-card-action{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:56px;
    margin-top:20px;
    border-radius:14px;
    background:#087cff;
    color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:800;
    box-shadow:0 8px 22px rgba(8,124,255,.28);
    animation:eventPulse 2s ease-in-out infinite;
}

.featured-event-card .event-card-action:hover{
    transform:translateY(-2px);
}

@keyframes eventPulse{
    0%,100%{box-shadow:0 8px 22px rgba(8,124,255,.25)}
    50%{box-shadow:0 8px 30px rgba(8,124,255,.55)}
}

@media(max-width:767px){
    .featured-event-card{
        margin:16px 0;
        padding:20px 17px;
        border-radius:16px;
    }

    .featured-event-card h2{
        font-size:27px;
    }

    .featured-event-card .event-card-action{
        min-height:60px;
        font-size:18px;
    }
}

@media(prefers-reduced-motion:reduce){
    .featured-event-card .event-card-action{
        animation:none;
    }
}
