/* ============================================================
   Inclusive Bytes – Events shortcode styles
   Scoped to .ib-events to avoid theme conflicts.
   ============================================================ */

.ib-events {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: inherit;
    width: 100%;
}

/* ---- Card ---- */
.ib-event-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e4e4e8;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.ib-event-card:hover,
.ib-event-card:focus-visible {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    border-color: #c0c0cc;
    text-decoration: none;
    color: inherit;
}

/* ---- Date box ---- */
.ib-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    width: 52px;
    padding: 8px 4px;
    background: #f4f4f7;
    border-radius: 7px;
    line-height: 1;
    flex-shrink: 0;
}

.ib-event-date__month {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
}

.ib-event-date__day {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    margin-top: 2px;
}

/* ---- Body ---- */
.ib-event-body {
    flex: 1;
    min-width: 0;
}

.ib-event-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    padding: 0;
    color: #1a1a2e;
    line-height: 1.3;
    /* prevent theme overrides blowing the layout */
    border: none;
    background: none;
}

.ib-event-meta {
    font-size: 13px;
    color: #555;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* ---- Empty state ---- */
.ib-events-empty {
    font-size: 13px;
    color: rgba(20, 21, 38, 0.6);
    margin: 0;
}

/* ---- Footer link ---- */
.ib-events-footer {
    margin-top: 4px;
    font-size: 13px;
}

.ib-events-footer a {
    color: #555;
    text-decoration: none;
}

.ib-events-footer a:hover {
    text-decoration: underline;
}