/* =========================================================
   BHARAT JAGRATI - EVENT PAGE
   ========================================================= */


/* =========================================================
   MAIN PAGE
   ========================================================= */

.bj-new-event-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fdf4ed;
    color: #222222;
}

.bj-new-event-page *,
.bj-new-event-page *::before,
.bj-new-event-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   TITLE SECTION
   ========================================================= */

.bj-event-title-section {
    width: 100%;
    margin: 0;
    padding: 40px 20px 35px;
    background: #fdf4ed;
    text-align: center;
    margin-top: 115px;
}

.bj-event-title-container {
    width: 100%;
    max-width: 1335px;
    margin: 0 auto;
    text-align: center;
}

.bj-event-title-icon {
    width: 180px;
    margin: 0 auto 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bj-event-title-icon img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.bj-event-title {
    margin: 0 !important;
    padding: 0 !important;

    color: #111111 !important;

    font-size: 48px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    text-align: center !important;
}


/* =========================================================
   EVENTS SECTION
   ========================================================= */

.bj-new-events-section {
    width: 100%;
    margin: 0;
    padding: 0 20px 80px;
    background: #fdf4ed;
}

.bj-new-events-container {
    width: 100%;
    max-width: 1335px;
    margin: 0 auto;
}


/* =========================================================
   RADIO BUTTONS
   ========================================================= */

.bj-event-radio {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;
    overflow: hidden !important;

    pointer-events: none !important;
}


/* =========================================================
   TABS
   ========================================================= */

.bj-new-event-tabs {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    margin: 0 0 50px;
    padding: 0;
}

.bj-new-event-tab {
    width: 225px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #e76522;

    background: transparent;

    color: #e76522 !important;

    font-size: 18px;
    line-height: 1;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;
}

.bj-new-event-tab:hover {
    background: #f9e9dd;
}


/* Active tab */

#bj-upcoming-tab:checked ~ .bj-new-event-tabs .bj-upcoming-label {
    background: #f9e9dd;
    color: #e76522 !important;
}

#bj-past-tab:checked ~ .bj-new-event-tabs .bj-past-label {
    background: #f9e9dd;
    color: #e76522 !important;
}


/* =========================================================
   EVENT GRID
   ========================================================= */

.bj-event-list {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 30px;
    row-gap: 30px;

    margin: 0;
    padding: 0;
}


/* Upcoming */

.bj-upcoming-list {
    display: grid;
}


/* Past */

.bj-past-list {
    display: none;
}


/* =========================================================
   TAB SWITCHING
   ========================================================= */

#bj-upcoming-tab:checked ~ .bj-new-event-tabs ~ .bj-upcoming-list {
    display: grid;
}

#bj-upcoming-tab:checked ~ .bj-new-event-tabs ~ .bj-past-list {
    display: none;
}

#bj-past-tab:checked ~ .bj-new-event-tabs ~ .bj-upcoming-list {
    display: none;
}

#bj-past-tab:checked ~ .bj-new-event-tabs ~ .bj-past-list {
    display: grid;
}


/* =========================================================
   EVENT CARD
   ========================================================= */

.bj-new-event-card {
    width: 100%;
    height: 313px;
    min-height: 313px;

    margin: 0;

    padding: 48px;

    background: #f8efe8 !important;

    border: 0 !important;
    border-bottom: 2px solid #ead8ca !important;

    border-radius: 10px !important;

    box-shadow: none !important;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    overflow: hidden;
}


/* Alternate white cards */

.bj-new-event-card:hover {
    background-color: #fff !important;
}

/* =========================================================
   DATE
   ========================================================= */

.bj-new-event-date {
    width: fit-content !important;
    height: 37px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 9px !important;

    margin: 0 0 27px 0 !important;
    padding: 0 16px !important;

    background: #f8eee7 !important;

    color: #b98a52 !important;

    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    white-space: nowrap !important;
}

.bj-date-arrow {
    display: inline-block !important;

    color: #b98a52 !important;

    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

.bj-date-text {
    display: inline-block !important;

    color: #b98a52 !important;

    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.bj-new-event-card-title {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;

    color: #171717 !important;

    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;

    text-align: left !important;
}


/* =========================================================
   CARD DESCRIPTION
   ========================================================= */

.bj-new-event-card-description {
    margin: 0 !important;
    padding: 0 !important;

    color: #333333 !important;

    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;

    text-align: left !important;
}

.bj-new-event-card-description p {
    margin: 0 !important;
    padding: 0 !important;

    color: #333333 !important;

    font-size: 16px !important;
    line-height: 1.7 !important;
}

.bj-new-event-card-description p + p {
    margin-top: 8px !important;
}


/* =========================================================
   NO EVENTS
   ========================================================= */

.bj-no-events {
    grid-column: 1 / -1;

    margin: 0;
    padding: 50px 20px;

    background: #f8efe8;

    color: #555555;

    font-size: 16px;
    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .bj-event-title {
        font-size: 42px !important;
    }

    .bj-new-event-card {
        padding: 40px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .bj-event-title-section {
        padding: 40px 20px 30px;
    }

    .bj-event-title-icon {
        width: 150px;
    }

    .bj-event-title {
        font-size: 36px !important;
    }

    .bj-new-events-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bj-new-event-tabs {
        margin-bottom: 40px;
    }

    .bj-new-event-tab {
        width: 200px;
        height: 50px;
        font-size: 16px;
    }

    .bj-event-list {
        column-gap: 20px;
        row-gap: 20px;
    }

    .bj-new-event-card {
        height: auto;
        min-height: 280px;
        padding: 35px;
    }

    .bj-new-event-card-title {
        font-size: 21px !important;
    }

    .bj-new-event-card-description,
    .bj-new-event-card-description p {
        font-size: 15px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .bj-event-title-section {
        padding: 32px 15px 25px;
    }

    .bj-event-title-icon {
        width: 120px;
    }

    .bj-event-title {
        font-size: 30px !important;
    }

    .bj-new-events-section {
        padding: 0 15px 50px;
    }

    .bj-new-event-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }

    .bj-new-event-tab {
        width: 50%;
        height: 46px;

        font-size: 14px;
    }

    .bj-event-list {
        grid-template-columns: 1fr;

        column-gap: 0;
        row-gap: 18px;
    }

    .bj-new-event-card,
    .bj-new-event-card:nth-child(2n) {
        width: 100%;
        height: auto;
        min-height: 0;

        padding: 28px 24px;

        background: #f8efe8 !important;

        border-radius: 8px !important;
    }

    .bj-new-event-date {
        height: 34px !important;

        margin-bottom: 20px !important;

        padding: 0 13px !important;

        gap: 7px !important;
    }

    .bj-date-arrow {
        font-size: 14px !important;
    }

    .bj-date-text {
        font-size: 12px !important;
    }

    .bj-new-event-card-title {
        margin-bottom: 9px !important;

        font-size: 20px !important;
        line-height: 1.35 !important;
    }

    .bj-new-event-card-description,
    .bj-new-event-card-description p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .bj-event-title-section {
        padding: 28px 12px 20px;
    }

    .bj-event-title-icon {
        width: 100px;
    }

    .bj-event-title {
        font-size: 25px !important;
    }

    .bj-new-events-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .bj-new-event-tabs {
        gap: 6px;
        margin-bottom: 24px;
    }

    .bj-new-event-tab {
        height: 43px;
        font-size: 13px;
    }

    .bj-new-event-card,
    .bj-new-event-card:nth-child(2n) {
        padding: 23px 19px;
    }

    .bj-new-event-date {
        height: 32px !important;

        padding: 0 11px !important;

        gap: 6px !important;
    }

    .bj-date-arrow {
        font-size: 13px !important;
    }

    .bj-date-text {
        font-size: 11px !important;
    }

    .bj-new-event-card-title {
        font-size: 18px !important;
    }

    .bj-new-event-card-description,
    .bj-new-event-card-description p {
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

}