/*
|--------------------------------------------------------------------------
| File: /mtvernon/wp-content/themes/realchurch/stylesheet/page_sermons.css
| Last Modified: 2026-04-18 16:10:00
|--------------------------------------------------------------------------
*/

.sermon-page{
    max-width:1100px;
    margin:auto;
    padding:20px;
}

.hero{
    text-align:center;
    margin-bottom:25px;
}

.hero h1{
    font-size:40px;
    margin-bottom:5px;
}

.filters{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:20px;
    justify-content:center;
}

.filters input,
.filters select{
    padding:10px;
    border-radius:6px;
    border:1px solid #ccc;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:20px;
}

.card{
    background:#fff;
    padding:18px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.card:hover{
    transform:translateY(-3px);
}

.top{
    display:flex;
    gap:8px;
    margin-bottom:8px;
    flex-wrap:wrap;
}

.date{
    background:#eef;
    padding:4px 8px;
    border-radius:20px;
    font-size:12px;
}

.cat{
    background:#efe;
    padding:4px 8px;
    border-radius:20px;
    font-size:12px;
}

.card h2{
    margin:8px 0;
}

.preacher{
    font-weight:bold;
    margin-bottom:8px;
}

.section{
    margin-top:10px;
    font-size:14px;
}

audio{
    width:100%;
    margin-top:10px;
}

.videoBtn,
.transcriptToggle{
    margin-top:10px;
    padding:8px 12px;
    border:none;
    background:#2c5282;
    color:white;
    border-radius:6px;
    cursor:pointer;
}

.transcriptToggle{
    background:#334155;
}

.video iframe{
    width:100%;
    height:200px;
    margin-top:10px;
}

.transcript-section{
    margin-top:14px;
}

.transcriptWrap{
    margin-top:10px;
    border:1px solid #d7dee8;
    border-radius:10px;
    background:#f8fafc;
    padding:12px;
}

.transcript-loading{
    font-size:14px;
    color:#475569;
}

.transcript-note{
    margin-bottom:10px;
    padding:9px 10px;
    border-radius:8px;
    background:#fffbeb;
    border:1px solid #fde68a;
    color:#92400e;
    font-size:13px;
    line-height:1.4;
}

.transcript-empty{
    font-size:14px;
    color:#64748b;
}

.transcript-now{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.transcript-row{
    border-radius:8px;
    padding:10px 12px;
    border:1px solid #e2e8f0;
    background:#fff;
}

.transcript-row-label{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:#64748b;
    margin-bottom:4px;
    font-weight:700;
}

.transcript-row-text{
    font-size:14px;
    line-height:1.5;
    color:#1e293b;
    min-height:1.5em;
}

.transcript-row-prev .transcript-row-text,
.transcript-row-next .transcript-row-text{
    color:#475569;
}

.transcript-row-current{
    background:#dbeafe;
    border-color:#60a5fa;
}

.transcript-row-current .transcript-row-text{
    font-weight:700;
    color:#0f172a;
}

.scripture-block{
    margin-top:12px;
}

.hidden{
    display:none;
}

.icon-inline{
    vertical-align:-2px;
}

#loadStatus{
    margin-top:18px;
    text-align:center;
    color:#475569;
}