.ana-event-hero {
    padding: calc(65px + 62.5px) 0 40px 0;
    background-image: url('../../../assets/img/events/ana-2026/event-hub-top-bg.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.event-form-hero {
    background-image: url('../../../assets/img/events/ana-2026/event-form-bg.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.events-wrapper {
    max-width: 1300px;
    margin: 12px auto 0;
    padding: 32px 32px 50px;

    background: #ffffff;

    border-radius: 14px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.section-title {
    margin: 0;

    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;

    color: #111111;
}

.section-description {
    font-size: 14px;
    line-height: 1.4;

    color: #171717;
}

.event-row {
    position: relative;
}

.timeline-column {
    width: 32px;
    min-width: 32px;

    padding: 0;

    position: relative;

    display: flex;
    justify-content: center;
}

.timeline-column::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    transform: translateX(-50%);

    border-left: 2px dashed #e1e4e5;

    z-index: 1;
}

.timeline-dot {
    width: 9px;
    height: 9px;

    margin-top: 25px;

    border-radius: 50%;

    background: #d1d4d5;

    position: relative;

    z-index: 2;

    flex-shrink: 0;
}


/* Active green dot */

.active-dot {
    background: #008f2d;
}

.event-content {

    min-height: 60px;

    margin: 0;

    padding: 0 14px;

    border: 1px solid #e7e7e7;

    background: #ffffff;

    /*
                Important because this is an <a>
            */

    display: flex;

    text-decoration: none;
    color: inherit;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Last event */

.event-row:last-child .event-content {
    border-bottom: 1px solid #e7e7e7;
}


.event-content:hover {

    background: #f1fff4;

    border-color: #4dbb68;

    color: inherit;
}


.active-event .event-content {

    background: #f7fff9;

    border-color: #4dbb68;
}


.active-event .event-content:hover {

    background: #eaffef;

    border-color: #008f2d;
}


.event-date {

    display: flex;
    align-items: center;

    gap: 8px;

    color: #68727a;

    font-size: 16px;

    white-space: nowrap;
}

.event-date i {
    font-size: 18px;
}



.event-name {

    padding-left: 0px;
    padding-right: 0px;

    color: #272C31;

    font-size: 19px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.event-name-head {
    font-size: 28px;
}


/* Heading hover */


.event-location {

    display: flex;
    align-items: center;

    gap: 8px;

    color: #68727a;

    font-size: 16px;

    white-space: nowrap;
}

.event-location i {
    font-size: 18px;
}


.learn-btn {

    width: 100%;

    height: 42px;

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

    border: 1px solid #008f2d;

    border-radius: 23px;

    background: #ffffff;

    color: #008f2d;

    font-size: 14px;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* Button hover when entire card is hovered */

.event-content:hover .learn-btn {

    background: #008f2d;

    color: #ffffff;
}


/* Active event button */

.active-event .learn-btn {

    background: #008f2d;

    color: #ffffff;
}


.active-event .event-content:hover .learn-btn {

    background: #007a27;

    color: #ffffff;
}


.attending-section {
    margin-top: 25px;
}

@media (max-width: 992px) {

    .events-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .event-date,
    .event-location {
        font-size: 14px;
    }

    .event-date i,
    .event-location i {
        font-size: 16px;
    }

    .event-name {
        font-size: 18px;
    }

    .event-content {

        display: grid;

        grid-template-columns: 1fr auto;

        grid-template-areas:
            "date location"
            "name name"
            "button button";

        row-gap: 12px;

        min-height: auto;

        padding: 15px 12px;
    }


    /* -------------------------------
           DATE
        ------------------------------- */

    .event-date {

        grid-area: date;

        width: auto !important;

        padding: 0 !important;

        display: flex;

        align-items: center;

        font-size: 14px;

        color: #68727a;
    }


    /* -------------------------------
           LOCATION
        ------------------------------- */

    .event-location {

        grid-area: location;

        width: auto !important;

        padding: 0 !important;

        display: flex;

        align-items: center;

        justify-content: flex-end;

        font-size: 14px;

        color: #68727a;
    }


    /* -------------------------------
           HEADING
        ------------------------------- */

    .event-name {

        grid-area: name;

        width: 100% !important;

        padding: 0 !important;

        font-size: 18px;

        line-height: 1.4;

        font-weight: 600;
    }


    /* -------------------------------
           BUTTON
        ------------------------------- */

    .event-content>div:last-child {

        grid-area: button;

        width: 100% !important;

        padding: 0 !important;
    }


    .learn-btn {

        width: 100%;

        height: 40px;

        display: flex;

        align-items: center;

        justify-content: center;
    }

    .event-name-head,
    .event-name {
        text-align: center;
    }

}

@media (max-width: 767px) {

    body {
        background: #ffffff;
    }


    .events-wrapper {

        width: 100%;

        margin: 0;

        padding: 24px 15px 40px;

        border-radius: 0;
    }


    /* ---------------------------------------------
               SECTION HEADER
            --------------------------------------------- */

    .section-header {

        align-items: flex-start;

        gap: 12px;

        margin-bottom: 15px;
    }


    .section-title {
        font-size: 18px;
    }


    .section-description {

        max-width: 180px;

        text-align: right;

        font-size: 12px;

        line-height: 1.4;
    }


    /* ---------------------------------------------
               TIMELINE
            --------------------------------------------- */

    .timeline-column {

        width: 25px;

        min-width: 25px;
    }


    .timeline-column::after {

        left: 50%;
    }


    .timeline-dot {

        width: 9px;
        height: 9px;

        margin-top: 24px;
    }


    /* ---------------------------------------------
               EVENT BOX
            --------------------------------------------- */

    .event-content {

        display: grid;

        grid-template-columns: auto auto 1fr;
        /* third invisible column absorbs leftover space */

        grid-template-areas:

            "date location ."

            "name name name"

            "button button button";

        column-gap: 8px;
        row-gap: 11px;

        min-height: auto;
        padding: 14px 12px;

    }

    .event-date div,
    .event-location span {
        font-size: 13px;
    }


    /* ---------------------------------------------
               DATE
            --------------------------------------------- */

    .event-date {

        grid-area: date;

        font-size: 13px;

        gap: 0px;
    }


    .event-date i {

        font-size: 15px;
    }


    /* ---------------------------------------------
               LOCATION
            --------------------------------------------- */

    .event-location {

        grid-area: location;

        justify-content: flex-end;

        font-size: 13px;

        gap: 0px;
    }


    .event-location i {

        font-size: 15px;
    }


    /* ---------------------------------------------
               HEADING
            --------------------------------------------- */

    .event-name {

        grid-area: name;

        padding: 0;

        font-size: 17px;

        line-height: 1.35;

        text-align: center;
    }


    /* ---------------------------------------------
               BUTTON
            --------------------------------------------- */

    .event-content>div:last-child {

        grid-area: button;
    }


    .learn-btn {

        width: 100%;

        height: 40px;
    }


    /* ---------------------------------------------
               ATTENDING
            --------------------------------------------- */

    .attending-section {

        margin-top: 25px;
    }

}

@media (max-width: 420px) {

    .events-wrapper {

        padding-left: 10px;
        padding-right: 10px;
    }


    .section-title {

        font-size: 17px;
    }


    .section-description {

        max-width: 145px;

        font-size: 11px;
    }


    .timeline-column {

        width: 22px;

        min-width: 22px;
    }


    .event-date,
    .event-location {

        font-size: 11px;
    }


    .event-date i,
    .event-location i {

        font-size: 14px;
    }


    .event-name {

        font-size: 18px;
        text-align: left;
    }

}

.event-name-section {
    background: linear-gradient(105deg, #054BBD 7.02%, #1D7D3C 82.21%);
    background-size: cover;
    color: white;
}

@media (max-width:576px) {

    .learn-btn {
        width: fit-content;
        padding: 12px 24px;
    }

    .ana-event-hero {
        padding: calc(30px + 40.2px) 0 40px 0;
        background-image: url('../../../assets/img/events/ana-2026/event-hub-top-bg.webp');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .event-form-hero {
        background-image: url('../../../assets/img/events/ana-2026/event-form-bg.webp');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .timeline-column {
        display: none;
    }

    .event-name-head {
        text-align: center;
    }


}

.event-form-title {
    color: #74BB8A;
    font-weight: 500;
    border-radius: 2px;
    border: 0.5px solid #229346;
    padding: 6px 8px;
}

.register-ana {
    display: flex;
    padding: 7px 10px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.00);
    background: #007AFF;
    color: white;
}

.find-us-div {
    display: flex;
    padding: 20px;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Heliosz-Brand-Colors-Green-green-6, #048724);
    background: #FFF;
}

.find-us-div1 {
    display: flex;
    width: 30px;
    height: 30px;
    font-size: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border-radius: 72px;
    background: #229346;
    padding: 14px;
    color: white;
}

#worth-section {
    background-image: url('../../../assets/img/events/ana-2026/worth-section.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#worth-section .why-choose-icons {
    min-width: 50px;
}

.event-detail {
    display: none;
}

.event-detail.active-event-detail {
    display: block;
}

.section-gap {
    padding: 40px 0;
}

.active-event .event-name {
    font-weight: 700;
}