/* ==========================================================
   variables
========================================================== */

    :root{
        --event-primary:#034d24;
        --event-secondary:#f6b045;
        --event-bg:#f2f2f2;
        --event-text: #2d3827;
    }

/* ==========================================================
   Event Browser
========================================================== */

.eb-event-browser {
    width: 100%;
}

/* ==========================================================
   Tag Buttons
========================================================== */

.eb-tag-filter {

    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 30px;

}

.eb-tag-button {

    cursor: pointer;

    padding: 10px 18px;

    border: 1px solid var(--event-primary);

    background: white;

    color: var(--event-primary);

    border-radius: 6px;

    transition: all .2s ease;

}

.eb-tag-button:hover {

    background: var(--event-primary);

    color: white;

}

.eb-tag-button.active {

    background: var(--event-primary);

    color: white;

}

/* ==========================================================
   Event Cards
========================================================== */

.eb-event-card {

    display: flex;

    margin-bottom: 35px;

    width: 100%;

    padding: 20px;

    border: 1px solid #ddd;

    border-radius: 8px;

    color: var(--event-text);

    background: #fff;

    box-shadow: 0 2px 6px rgba(0,0,0,.05);

}

.eb-event-left {

    width: 30%;

}


.eb-event-right {

    padding: 20px;

    flex: 1;

    position: relative;

}

.eb-event-image {

    width: 100%;

    height: auto;

    display: block;

    margin-bottom: 15px;

    border-radius: 6px;

}

.eb-event-title {

    color: var(--event-text);

    margin: 0;

    margin-bottom: 10px;

}

.eb-event-date {

    font-weight: bold;

    margin-bottom: 15px;

    color: #666;

}

.eb-event-description {

    margin-bottom: 15px;

}

.eb-event-download{

    position: absolute;
    bottom: 20px;
    right: 20px;

}

/* ==========================================================
   Tags
========================================================== */

.eb-event-tags {

    margin-bottom: 10px;

}

.eb-tag {

    display: inline-block;

    margin-right: 8px;
    margin-bottom: 6px;

    padding: 4px 10px;

    border-radius: 12px;

    background: #f0f0f0;

    font-size: .85em;

}

/* ==========================================================
   Download Link
========================================================== */

.eb-event-card a {

    display: inline-block;

    text-decoration: none;

    background: var(--event-secondary);

    color: white;

    padding: 10px 18px;

    border-radius: 5px;

}

.eb-event-card a:hover {

    background: var(--event-secondary);

}

/* ==========================================================
   Mobile
========================================================== */

@media (max-width: 768px) {

    .eb-tag-filter {

        gap: 8px;

    }

    .eb-tag-button {

        flex: 1 1 calc(50% - 8px);

        text-align: center;

    }

    .eb-event-download{

        position: static;

    }

    .eb-event-left {

        width: 100%;

    }

    .eb-event-card {

        display: block;

        padding: 0;

        margin-bottom: 25px;

    }
}