/* =========================================
   AMUCTA EVENTS PAGE
========================================= */

.intro-col {
    width: 100%;
    max-width: 1050px;
    margin: 30px auto;
    padding: 0 15px;
}


/* =========================================
   PAGE TITLE
========================================= */

.intro-heading {
    position: relative;

    margin: 0 0 22px;
    padding-left: 14px;

    color: #002147;

    font-size: 28px;
    font-weight: 800;

    line-height: 1.2;
}

.intro-heading::before {
    content: "";

    position: absolute;

    left: 0;
    top: 2px;
    bottom: 2px;

    width: 5px;

    background: #ffcc00;

    border-radius: 10px;
}


/* =========================================
   EVENTS GRID
========================================= */

.events-list {
    list-style: none;

    padding: 0;
    margin: 0;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================
   EVENT ITEM
========================================= */

.event-item {
    background: #ffffff;

    border: 1px solid #e5eaf0;

    border-radius: 13px;

    overflow: hidden;

    box-shadow:
            0 4px 14px rgba(0, 33, 71, .07);

    transition:
            transform .25s ease,
            box-shadow .25s ease,
            border-color .25s ease;
}

.event-item:hover {
    transform: translateY(-4px);

    border-color: rgba(0, 75, 143, .25);

    box-shadow:
            0 12px 28px rgba(0, 33, 71, .13);
}


/* =========================================
   EVENT FLEX
========================================= */

.event-flex {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 14px;
}


/* =========================================
   EVENT IMAGE
========================================= */

.event-img {
    width: 125px;
    height: 105px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 9px;

    background: #eef2f6;

    border: 1px solid #edf0f4;
}


/* =========================================
   EVENT INFORMATION
========================================= */

.event-flex > div {
    min-width: 0;

    padding-top: 2px;
}


/* =========================================
   EVENT TITLE
========================================= */

.event-title {
    display: block;

    margin-bottom: 12px;

    color: #002147;

    font-size: 16px;

    font-weight: 750;

    line-height: 1.4;

    text-decoration: none;

    transition: color .2s ease;
}

.event-title:hover {
    color: #0066a6;
}


/* =========================================
   EVENT META
========================================= */

.event-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    color: #6b7280;

    font-size: 12px;
}

.event-meta .fa {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: #eef5fb;

    color: #004b8f;

    font-size: 12px;
}


/* =========================================
   NEW BADGE
========================================= */

.event-new {
    width: 30px !important;
    height: auto !important;

    max-height: 18px;

    object-fit: contain;

    margin-left: 3px;

    vertical-align: middle;
}


/* =========================================
   DIVIDER
========================================= */

.event-divider {
    display: none;
}


/* =========================================
   HOVER IMAGE EFFECT
========================================= */

.event-item:hover .event-img {
    filter: brightness(.96);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .intro-col {
        margin: 25px auto;
        padding: 0 12px;
    }

    .intro-heading {
        font-size: 24px;

        margin-bottom: 18px;
    }

    .events-list {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .event-flex {
        padding: 13px;
    }

    .event-img {
        width: 120px;
        height: 100px;
    }

    .event-title {
        font-size: 15px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .intro-col {
        margin: 20px auto;
        padding: 0 10px;
    }

    .intro-heading {
        font-size: 21px;

        padding-left: 11px;
    }

    .intro-heading::before {
        width: 4px;
    }

    .events-list {
        gap: 11px;
    }

    .event-flex {
        gap: 11px;

        padding: 11px;
    }

    .event-img {
        width: 95px;
        height: 82px;

        border-radius: 7px;
    }

    .event-title {
        font-size: 13px;

        line-height: 1.35;

        margin-bottom: 9px;
    }

    .event-meta {
        font-size: 10px;

        gap: 5px;
    }

    .event-meta .fa {
        width: 21px;
        height: 21px;

        font-size: 10px;
    }

    .event-new {
        width: 25px !important;
    }
}


/* =========================================
   VERY SMALL SCREENS
========================================= */

@media (max-width: 350px) {

    .event-flex {
        gap: 8px;
    }

    .event-img {
        width: 82px;
        height: 75px;
    }

    .event-title {
        font-size: 12px;
    }

    .event-meta {
        font-size: 9px;
    }
}