/* Entries listing — filter + sort toolbars, countdown badges, 2-col cards */

.entries-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 4px 0 12px;
}
.entries-filter a {
    color: #dcc39c;
    text-decoration: none;
    padding: 8px 18px;
    border: 1px solid #6d4a27;
    font-family: "Cinzel", Georgia, serif;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: border-color .15s, color .15s, background .15s;
}
.entries-filter a:hover { color: #f5ead6; border-color: #b5843f; }
.entries-filter a.is-active {
    background: linear-gradient(180deg, #d6a961, #b5843f);
    color: #201406;
    border-color: #b5843f;
    font-weight: bold;
}

.entries-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0 0 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid #3a281d;
}
.entries-toolbar .toolbar-label {
    color: #9a7c54;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    margin-right: 4px;
}
.entries-toolbar a {
    color: #dcc39c;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid #3a281d;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    transition: border-color .15s, color .15s, background .15s;
}
.entries-toolbar a:hover { border-color: #6d4a27; color: #f5ead6; }
.entries-toolbar a.is-active {
    background: linear-gradient(180deg, #d6a961, #b5843f);
    color: #201406;
    border-color: #b5843f;
    font-weight: bold;
}

/* TWO-COLUMN grid of cards (fills the dark space) */
.entry-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-items: start;
}

/* Card: thumb on top, then body, then location — stacks so it fits a column */
.entry-list-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border: 1px solid #2f2016;
    text-decoration: none;
    color: inherit;
    background: #150f0b;
    transition: border-color .15s, transform .15s;
    height: 100%;
}
.entry-list-card:hover {
    border-color: #6d4a27;
    transform: translateY(-1px);
}
.entry-list-card.is-event {
    border-left: 3px solid #b5843f;
}

.entry-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid #3a281d;
    background: #0e0a07;
}
.entry-body { min-width: 0; }
.entry-body h2 { margin: 2px 0 6px; }
.entry-desc {
    color: #bfa886;
    font-size: 0.9rem;
    margin: 6px 0 0;
}

/* location now wraps instead of running off the edge */
.entry-location {
    color: #9a7c54;
    font-size: 0.8rem;
    margin-top: auto;          /* push to the bottom of the card */
    padding-top: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Countdown badge */
.countdown {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 9px;
    border: 1px solid #6d4a27;
    color: #f4d789;
    background: rgba(198,146,75,0.08);
}
.countdown em { font-style: normal; color: #cdb388; }
.countdown-soon { color: #ffd98a; border-color: #b5843f; }
.countdown-now  {
    color: #201406;
    background: linear-gradient(180deg, #f4d789, #d9a94e);
    border-color: #d9a94e;
    font-weight: bold;
}
.countdown-past { color: #8a7256; border-color: #3a281d; background: transparent; }

/* one column on narrow screens */
@media (max-width: 720px) {
    .entry-list { grid-template-columns: 1fr; }
    .entry-thumb { height: 120px; }
}
