/* Neptune Society Events — follows the parent/theme container width. */
.neptune-events-list,
.neptune-events-list *,
.neptune-event-card,
.neptune-event-card * {
    box-sizing: border-box;
}

.neptune-events-list {
    --ne-navy: #063b73;
    --ne-deep: #052d59;
    --ne-blue: #006fc9;
    --ne-cyan: #009fe3;
    --ne-ink: #071d3a;
    --ne-muted: #647b90;
    --ne-border: #d7e6f2;
    --ne-soft: #f7fbfe;

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

.neptune-event-card {
    --ne-navy: #063b73;
    --ne-deep: #052d59;
    --ne-blue: #006fc9;
    --ne-cyan: #009fe3;
    --ne-ink: #071d3a;
    --ne-muted: #647b90;
    --ne-border: #d7e6f2;
    --ne-soft: #f7fbfe;

    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 22px;
    background: #fff;
    border: 1px solid var(--ne-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(5, 59, 115, 0.06);
    overflow: hidden;
    color: var(--ne-ink);
}

.neptune-event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ne-navy), var(--ne-cyan));
}

.neptune-event-date-box {
    width: 84px;
    height: 78px;
    flex: 0 0 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--ne-navy), var(--ne-blue));
    color: #fff;
    box-shadow: 0 8px 18px rgba(6, 59, 115, 0.14);
}

.neptune-event-day {
    display: block;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: 1;
    font-weight: 700;
}

.neptune-event-month-year {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .55px;
    white-space: nowrap;
}

.neptune-event-content {
    flex: 1 1 auto;
    min-width: 0;
}

.neptune-event-type-label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin: 0 0 8px;
    padding: 5px 11px;
    border: 1px solid #d7ebf8;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0f9ff, #e7f5fc);
    color: var(--ne-blue);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .85px;
    text-transform: uppercase;
}

.neptune-event-title {
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: var(--ne-deep) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(16px, 1.5vw, 19px) !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.neptune-event-description {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ne-muted) !important;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.neptune-events-empty {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #d7e6f2;
    border-radius: 12px;
    background: #f7fbfe;
    color: #647b90;
}

@media (hover: hover) and (pointer: fine) {
    .neptune-event-card {
        transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    }
    .neptune-event-card:hover {
        transform: translateY(-2px);
        border-color: #bcd9ee;
        box-shadow: 0 12px 30px rgba(5, 59, 115, 0.10);
    }
}

@media (max-width: 767px) {
    .neptune-events-list {
        gap: 14px;
    }

    .neptune-event-card {
        align-items: flex-start;
        gap: 15px;
        padding: 18px 18px 18px 20px;
        border-radius: 14px;
    }

    .neptune-event-date-box {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
        border-radius: 12px;
    }

    .neptune-event-day {
        font-size: 27px;
    }

    .neptune-event-month-year {
        font-size: 9px;
    }

    .neptune-event-type-label {
        margin-bottom: 7px;
        padding: 5px 9px;
        font-size: 9px;
    }

    .neptune-event-title {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }

    .neptune-event-description {
        font-size: 13px;
        line-height: 1.55;
    }
}

@media (max-width: 480px) {
    .neptune-event-card {
        gap: 13px;
        padding: 16px 14px 16px 17px;
    }

    .neptune-event-date-box {
        width: 62px;
        height: 64px;
        flex-basis: 62px;
    }

    .neptune-event-day {
        font-size: 24px;
    }

    .neptune-event-month-year {
        font-size: 8px;
        letter-spacing: .3px;
    }
}

@media (max-width: 360px) {
    .neptune-event-card {
        gap: 10px;
        padding: 14px 11px 14px 14px;
    }

    .neptune-event-date-box {
        width: 56px;
        height: 60px;
        flex-basis: 56px;
    }

    .neptune-event-day {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .neptune-event-card {
        transition: none !important;
    }
}
