:root {
    --gold: #B8860B;
    --gold-light: #F5E6A3;
    --gold-muted: #D4AF37;
    --bg: #FDFAF5;
    --bg-card: #FFFFFF;
    --bg-hover: #F7F3EC;
    --text-primary: #1C1A16;
    --text-secondary: #6B6559;
    --text-muted: #9E9890;
    --border: rgba(225,225,225, 0.3);
    --border-s: rgba(0,0,0,0.14);
    --radius-md: 8px;
}

/* ── Controls ── */
.controls {
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-wrap {
flex: 1;
min-width: 200px;
position: relative;
}

.search-wrap i {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
font-size: 15px;
color: var(--text-muted);
pointer-events: none;
}

.search-wrap input {
    width: 100%;
    height: 45px;
    padding: 9px 14px 9px 36px;
    border: 1px solid var(--border-s);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.15s;
}

.search-wrap input:focus {
    border-color: var(--gold-muted);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

.search-wrap input::placeholder {
color: var(--text-muted);
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-s);
    border-radius: var(--radius-md);
    background: var(--bg-hover);
    font-size: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.15s;
    /* white-space: nowrap; */
    font-weight: 400;
    width: 100%;
}

.filter-btn.active {
    background: var(--gold-muted);
    border-color: var(--gold-muted);
    color: #fff;
    font-weight: 500;
}

.filter-btn:hover:not(.active) {
    background: var(--bg-card);
}

/* ── Count ── */
.count {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    margin-bottom: 0.5rem;
}

/* ── Sermon List ── */
.sermon-list {
    display: flex;
    flex-direction: column;
}

.sermon-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 0 18px;
    padding: 1.2rem 0.75rem;
    border-bottom: 1px solid var(--border);
    align-items: start;
    transition: background 0.12s;
    text-decoration: none;
    color: inherit;
    /* background: var(--bg-hover); */
    /* margin-bottom: 20px */
}

.sermon-item:first-child {
    border-top: 1px solid var(--border);
}

/* .sermon-item:hover {
    background: var(--bg-hover);
    border-radius: var(--radius-md);
} */

.sermon-num {
    font-size: 30px;
    font-weight: 400;
    color: var(--gold-muted);
    line-height: 1;
    text-align: center;
    padding-top: 3px;
}

.sermon-body {}

.sermon-series {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.series-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sermon-topic {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 6px;
}
.sermon-topic a{
    color: #ccc
}

.sermon-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sermon-preacher,
.sermon-date {
    font-size: 12.5px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sermon-preacher i,
.sermon-date i {
font-size: 13px;
}

.meta-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border-s);
    flex-shrink: 0;
}

/* ── Right Column ── */
.sermon-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding-top: 3px;
}

.tag {
    font-size: 10.5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.play-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-s);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

.play-btn:hover {
    background: var(--gold-muted);
    border-color: var(--gold-muted);
}

.play-btn:hover i {
    color: #fff;
}

.play-btn i {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.15s;
    margin-left: 2px;
}

/* ── Empty State ── */
.empty {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
    font-size: 14px;
}

.empty i {
    font-size: 36px;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.35;
}

/* ── Footer ── */
.footer {
    text-align: center;
    margin-top: 3rem;
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .sermon-item { grid-template-columns: 42px 1fr auto; gap: 0 12px; }
    .sermon-topic { font-size: 17px; }
    .sermon-num { font-size: 24px; }
    .controls { gap: 8px; }
    .filter-btn { padding: 7px 12px; }
}

.faith{
    color: #B8860B
}
.faithTag{
    background: #FFF3CD;
    color: #7A5900;
}

.prayer{
    color: #7F77DD
}
.prayerTag{
    color: #3C368F;
    background: #E8E6FC
}

.grace{
    color: #1D9E75
}
.graceTag{
    color: #0F5E3F;
    background: #D1F0E4
}

.prophecy{
    color: #D85A30
}
.prophecyTag{
    color: #7A2A10;
    background: #FDDDD3
}
