
/*

 Theme Name:   Astra Child

 Theme URI:    

 Description:  Child theme for Astra

 Author:       ABM Hunto Padilanti

 Template:     astra

 Version:      1.0.0

 Text Domain:  astra-child

*/



/* ── Homepage Widget ── */

.abm-events-list {

    list-style: none;

    margin: 0;

    padding: 0;

}



.abm-event-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 0;

    border-bottom: 1px solid #333333;

}



.abm-event-item:last-child {

    border-bottom: none;

}



.abm-event-date {

    font-weight: 700;

    min-width: 180px;

    color: #ffffff;

}



.abm-event-name {

    flex: 1;

    color: #cccccc;

}



.abm-event-category {

    font-size: 0.75em;

    font-weight: 700;

    text-transform: uppercase;

    padding: 3px 8px;

    border-radius: 4px;

    letter-spacing: 0.05em;

}



.cat-streetlegal .abm-event-category {

    background: #444444;

    color: #ffffff;

}



.cat-racing .abm-event-category {

    background: #222222;

    color: #aaaaaa;

}



/* ── Calendar Page ── */

.rj-events {

    max-width: 800px;

    margin: 0 auto;

}



.rj-month {

    font-size: 1.2em;

    font-weight: 700;

    color: #ffffff;

    border-bottom: 2px solid #444444;

    padding-bottom: 8px;

    margin-top: 32px;

}



.rj-month-group {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 12px;

}



.rj-event {

    padding: 16px;

    border-radius: 6px;

    background: #1a1a1a;

    border-left: 4px solid #555555;

}



.rj-event h3 {

    margin: 8px 0 4px;

    font-size: 1em;

    color: #ffffff;

}



.rj-date, .rj-time {

    margin: 2px 0;

    font-size: 0.9em;

    color: #888888;

}



.rj-badge {

    font-size: 0.7em;

    font-weight: 700;

    text-transform: uppercase;

    padding: 3px 8px;

    border-radius: 4px;

    letter-spacing: 0.05em;

}



.rj-badge.streetlegal {

    background: #444444;

    color: #ffffff;

}



.rj-badge.racing {

    background: #222222;

    color: #aaaaaa;

}

