/* ========================================
   Event List
======================================== */

.event-page-header{

    padding:70px 0 40px;

    text-align:center;
}

.event-page-header h1{

    font-size:2.6rem;

    font-weight:700;

    color:#1f2937;

    margin-bottom:15px;
}

.event-page-header p{

    color:#6b7280;

    font-size:1.05rem;
}


/* =========================
   section
========================= */

.event-list-section{

    padding:40px 0;
}

.event-list-section h2{

    margin-bottom:25px;

    font-size:1.6rem;

    color:#1f2937;
}


/* =========================
   Card
========================= */

.event-card-grid{

    display:flex;

    flex-direction:column;

    gap:24px;
}

.event-card{

    display:grid;

    grid-template-columns:320px 1fr;

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    border:1px solid #e5e7eb;

    box-shadow:0 4px 12px rgba(0,0,0,.06);

    transition:.3s;
}

.event-card:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,.12);
}


/* =========================
   image
========================= */
.event-thumb{

    position:relative;

    width:320px;

    overflow:hidden;

}

.event-thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

}


/* =========================
   body
========================= */
.event-body{

    padding:28px;

    display:flex;

    flex-direction:column;

}


.event-title{

    font-size:1.6rem;

    font-weight:700;

    margin-bottom:10px;

    color:#1f2937;

}


.event-subtitle{

    color:#6b7280;

    margin-bottom:20px;

}




/* =========================
   Type →後でcommonへ
========================= */

.event-type{

    position:absolute;

    top:15px;

    left:15px;

    padding:6px 14px;

    border-radius:999px;

    color:#fff;

    font-size:.85rem;

    font-weight:700;
}

.type-seminar{

    background:#4c9ac0;
}

.type-exhibition{

    background:#f97316;
}

.type-briefing{

    background:#16a34a;
}


/* =========================
   Status→後でcommonへ
========================= */

.event-status{

    position:absolute;

    top:15px;

    right:15px;

    padding:6px 14px;

    border-radius:999px;

    font-size:.8rem;

    font-weight:700;

    color:#fff;
}

.status-open{

    background:#16a34a;
}

.status-closed{

    background:#6b7280;
}

.status-archive{

    background:#1d4ed8;
}




/* =========================
   meta
========================= */
.event-meta{

    display:flex;

    flex-direction:column;

    gap:10px;

    margin-bottom:25px;

}

.event-meta span{

    display:flex;

    align-items:center;

    gap:10px;

}

.event-meta i{

    color:#2563eb;

    width:20px;

}



/* =========================
   button
========================= */
.event-footer{

    margin-top:auto;

    text-align:right;

    font-weight:700;

    color:#2563eb;

}


/* =========================
   Responsive
========================= */

@media(max-width:900px){

.event-card{

    grid-template-columns:1fr;
}

.event-card-image{

    height:240px;
}

}

@media(max-width:768px){

.event-page-header{

    padding:50px 0 25px;
}

.event-page-header h1{

    font-size:2rem;
}

.event-card-body{

    padding:20px;
}

.event-card-title{

    font-size:1.3rem;
}

.event-card-footer{

    justify-content:center;
}

.event-detail-btn{

    width:100%;

    justify-content:center;
}

}