#cbc-sermons { --cbc-accent:#294f4a; --cbc-line:#dce3df; color:#263a35; max-width:1120px; margin:0 auto; padding:clamp(18px,4vw,36px); box-sizing:border-box; background:#fff; border-radius:18px; font:inherit; line-height:1.55; }
#cbc-sermons * { box-sizing:border-box; }
#cbc-sermons [hidden] { display:none !important; }
#cbc-sermons h2,#cbc-sermons h3 { color:inherit; margin:0 0 .7em; }
#cbc-sermons button,#cbc-sermons input,#cbc-sermons select { font:inherit; }
#cbc-sermons button { cursor:pointer; padding:.65em 1em; border:1px solid var(--cbc-line); border-radius:5px; background:white; color:var(--cbc-accent); }
#cbc-sermons button:disabled { opacity:.45; cursor:default; }
#cbc-sermons button:hover:not(:disabled) { background:#eef3ef; }
#cbc-sermons :focus-visible { outline:3px solid #b27b34; outline-offset:3px; }
#cbc-sermons .cbc-tools { display:grid; grid-template-columns:2fr 1fr 1fr; gap:16px; margin:24px 0 16px; }
#cbc-sermons label { display:flex; flex-direction:column; gap:6px; font-size:.9em; }
#cbc-sermons input,#cbc-sermons select { width:100%; min-width:0; padding:12px; background:white; color:inherit; border:1px solid var(--cbc-line); border-radius:5px; }
#cbc-sermons .cbc-table { width:100%; border-collapse:collapse; }
#cbc-sermons th { text-align:left; font-size:.85em; color:#52645d; }
#cbc-sermons td,#cbc-sermons th { padding:14px 12px; border-bottom:1px solid var(--cbc-line); vertical-align:top; }
#cbc-sermons td:first-child { white-space:nowrap; }
#cbc-sermons .cbc-title { border:0; padding:0; background:none; text-align:left; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
#cbc-sermons .cbc-paging { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:20px 0; flex-wrap:wrap; }
#cbc-sermons .cbc-detail { padding:24px; border:1px solid var(--cbc-line); border-radius:8px; background:#fff; margin:24px 0; }
#cbc-sermons .cbc-detail h3 { margin-top:20px; font-size:1.45em; }
#cbc-sermons audio { display:block; width:100%; margin:22px 0; }
#cbc-sermons iframe { display:block; width:100%; aspect-ratio:16/9; border:0; margin:22px 0; }
#cbc-sermons .cbc-links { display:flex; gap:16px; flex-wrap:wrap; }
#cbc-sermons a { color:var(--cbc-accent); text-decoration:underline; }
#cbc-sermons .cbc-copy { white-space:pre-wrap; overflow-wrap:anywhere; }
#cbc-sermons summary { cursor:pointer; font-weight:600; margin-top:24px; }
#cbc-sermons .cbc-error { color:#8a2828; }
#cbc-sermons .cbc-scripture a { text-decoration:underline dotted; text-underline-offset:4px; }
/* Logos appends its tooltip outside the archive; keep it above site sections. */
.rtTooltip { z-index:100000 !important; }
@media(max-width:700px) {
  #cbc-sermons .cbc-tools { grid-template-columns:1fr; }
  #cbc-sermons .cbc-table thead { display:none; }
  #cbc-sermons .cbc-table tr { display:block; padding:16px 0; border-bottom:1px solid var(--cbc-line); }
  #cbc-sermons .cbc-table td { display:block; padding:3px 0; border:0; }
  #cbc-sermons .cbc-table td:first-child { font-size:.85em; }
  #cbc-sermons .cbc-detail { padding:16px; }
}
