/* ===========================================================
   BGH EVENTS ARCHIVE
=========================================================== */

.bg-event-archive{

    padding:40px 0 60px;

}
.bg-section-head{

display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;

}

.bg-section-title{

display:flex;
align-items:center;
gap:12px;

}

.bg-section-title span{

width:4px;
height:28px;
background:#F37021;
display:block;

}

.bg-section-title h1{

margin:0;
font-size:34px;
font-weight:800;

}




/*==================================================
BGH EVENTS HEADER
==================================================*/

.bg-events-header{

    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin:0 0 35px;
    padding-bottom:18px;
    border-bottom:2px solid #ececec;

}

.bg-events-heading{

    position:relative;
    padding-left:18px;

}

.bg-events-heading::before{

    content:'';
    position:absolute;
    left:0;
    top:4px;
    width:6px;
    height:48px;
    background:#F37021;
    border-radius:20px;

}

.bg-events-heading h2{

    margin:0;
    font-size:38px;
    font-weight:800;
    line-height:1.1;
    color:#111;

}

.bg-events-heading p{

    margin:8px 0 0;
    font-size:15px;
    color:#777;
    font-weight:500;

}

@media(max-width:768px){

.bg-events-header{

    margin-bottom:25px;
    padding-bottom:15px;

}

.bg-events-heading{

    padding-left:15px;

}

.bg-events-heading::before{

    width:5px;
    height:40px;

}

.bg-events-heading h2{

    font-size:30px;

}

.bg-events-heading p{

    font-size:14px;

}

}
/* ===================================
   FILTER BAR
=================================== */

.bg-event-filter{

    display:flex;
    gap:15px;
    align-items:center;
    flex-wrap:wrap;
    margin:25px 0;

}

.bg-event-filter input[type="search"]{

    flex:1;
    min-width:260px;
    height:46px;
    border:1px solid #E6E6E6;
    padding:0 18px;
    font-size:15px;
    background:#fff;
    outline:none;

}

.bg-event-filter input:focus{

    border-color:#F37021;

}

.bg-event-filter select{

    width:170px;
    height:46px;
    border:1px solid #E6E6E6;
    padding:0 15px;
    font-size:15px;
    background:#fff;
    cursor:pointer;
    outline:none;

}

.bg-event-filter select:focus{

    border-color:#F37021;

}

.bg-event-filter button{

    height:46px;
    padding:0 30px;
    background:#F37021;
    color:#fff;
    border:none;
    cursor:pointer;
    font-weight:600;
    transition:.30s;

}

.bg-event-filter button:hover{

    background:#111;

}

/* ===================================
   EVENT COUNT
=================================== */

.bg-event-count{

margin:10px 0 28px;
font-size:16px;
font-weight:700;
color:#666;

}

/* ===================================
   GRID
=================================== */

.bg-events-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;

}

/* cards use homepage css */

.bg-events-grid .bg-event-card{

    width:100%;
    max-width:100%;
    min-width:100%;
    flex:none;

}

/* ===================================
   PAGINATION
=================================== */

.bg-pagination{

    margin-top:45px;
    display:flex;
    justify-content:center;

}

.bg-pagination .page-numbers{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    margin:0 5px;
    text-decoration:none;
    color:#111;
    border:1px solid #E6E6E6;
    transition:.30s;

}

.bg-pagination .page-numbers:hover{

    background:#F37021;
    color:#fff;
    border-color:#F37021;

}

.bg-pagination .current{

    background:#F37021;
    color:#fff;
    border-color:#F37021;

}

/* ===================================
   NO EVENTS
=================================== */

.bg-no-events{

    grid-column:1/-1;
    padding:60px;
    text-align:center;
    border:1px solid #ECECEC;
    background:#fafafa;
    font-size:18px;
    color:#666;

}

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

@media(max-width:1200px){

.bg-event-filter{

display:grid;
grid-template-columns:1fr 1fr;
gap:15px;

}

.bg-event-filter input{

grid-column:1 / -1;

}

.bg-event-filter button{

grid-column:1 / -1;

}

.bg-event-filter input,
.bg-event-filter select,
.bg-event-filter button{

width:100%;

}

}

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

@media(max-width:767px){

.bg-event-archive{

padding:25px 0 40px;

}

.bg-events-grid{

grid-template-columns:1fr;

gap:22px;

}

.bg-event-filter{

display:flex;
flex-direction:column;
gap:12px;

}

.bg-event-filter input,
.bg-event-filter select,
.bg-event-filter button{

width:100%;
min-width:100%;

}

.bg-event-count{

text-align:center;
margin:20px 0;

}

}