/* ChurchHost plugin pieces. Colors come from the theme (theme.json presets), with plain fallbacks. */
.ch-button { display: inline-block; padding: .7em 1.25em; border-radius: 999px; background: var(--wp--preset--color--primary, #1E3A5F); color: var(--wp--preset--color--base, #fff) !important; font-weight: 600; text-decoration: none !important; line-height: 1.2; border: 2px solid transparent; }
.ch-button:hover { background: var(--wp--preset--color--contrast, #1B2A41); }
.ch-button-light { background: transparent; color: var(--wp--preset--color--primary, #1E3A5F) !important; border-color: currentColor; }
.ch-button-light:hover { background: var(--wp--preset--color--tint, #F3EDE1); }
.ch-small { font-size: .9em; }
.ch-muted { color: var(--wp--preset--color--muted, #5A6476); }
.ch-label { font-weight: 600; margin-bottom: .4em; }
.ch-sermon-meta { color: var(--wp--preset--color--muted, #5A6476); font-size: .95em; margin: 0 0 1.2em; }
.ch-sermon-meta a { color: inherit; }
.ch-passage { font-weight: 600; color: var(--wp--preset--color--accent-ink, #8A6420); }
.ch-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.5em; border-radius: 12px; overflow: hidden; background: #000; }
.ch-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ch-audio { background: var(--wp--preset--color--tint, #F3EDE1); border-radius: 12px; padding: 1em 1.2em; margin: 0 0 1.5em; }
.ch-audio .ch-small { margin: .5em 0 0; }
.ch-player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--wp--preset--color--primary, #1E3A5F), var(--wp--preset--color--contrast, #1B2A41)); margin-bottom: .8em; }
.ch-player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; display: none; }
.ch-player.is-live video { display: block; }
.ch-player-note { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5em; color: #fff; }
.ch-player-note p { margin: 0; max-width: 26em; line-height: 1.5; }
.ch-player-note[hidden] { display: none; }
.ch-times { list-style: none; padding: 0; margin: 0 0 1em; }
.ch-times li { padding: .45em 0; border-bottom: 1px solid var(--wp--preset--color--line, #E6DECF); }
.ch-times li:last-child { border-bottom: 0; }
.ch-day { font-weight: 600; }
.ch-time { font-weight: 600; color: var(--wp--preset--color--primary, #1E3A5F); }
.ch-name { color: var(--wp--preset--color--muted, #5A6476); }
.ch-name::before { content: "· "; }
.ch-sermons.ch-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25em; }
.ch-sermon { background: var(--wp--preset--color--base, #fff); border: 1px solid var(--wp--preset--color--line, #E6DECF); border-radius: 14px; overflow: hidden; }
.ch-sermon .ch-thumb { display: block; }
.ch-sermon .ch-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ch-sermon .ch-body { padding: 1em 1.1em .4em; }
.ch-sermon h3 { font-size: 1.15em; margin: 0 0 .35em; }
.ch-sermon h3 a { text-decoration: none; color: inherit; }
.ch-sermon h3 a:hover { text-decoration: underline; }
.ch-sermon .ch-sermon-meta { font-size: .88em; margin-bottom: .8em; }
.ch-feature .ch-sermon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
.ch-feature .ch-sermon .ch-body { padding: 1.4em 1.6em; }
.ch-feature .ch-sermon h3 { font-size: 1.5em; }
@media (max-width: 700px) { .ch-feature .ch-sermon { grid-template-columns: 1fr; } }
.ch-events { list-style: none; padding: 0; margin: 0; display: grid; gap: .8em; }
.ch-event { display: flex; gap: 1em; align-items: center; background: var(--wp--preset--color--base, #fff); border: 1px solid var(--wp--preset--color--line, #E6DECF); border-radius: 12px; padding: .8em 1em; }
.ch-date { flex: 0 0 auto; width: 3.4em; text-align: center; background: var(--wp--preset--color--accent-soft, #F5E9CF); border-radius: 10px; padding: .35em 0; line-height: 1.1; }
.ch-mon { display: block; font-size: .72em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--accent-ink, #8A6420); }
.ch-num { display: block; font-size: 1.35em; font-weight: 700; }
.ch-ebody a { font-weight: 600; text-decoration: none; color: inherit; display: block; }
.ch-ebody a:hover { text-decoration: underline; }
.ch-event-facts { background: var(--wp--preset--color--tint, #F3EDE1); border-radius: 12px; padding: 1em 1.2em .2em; margin-bottom: 1.5em; }
.ch-event-facts strong { display: inline-block; min-width: 4.5em; }
.ch-form label { display: block; font-weight: 600; margin-bottom: .3em; }
.ch-form input:not([type=checkbox]), .ch-form textarea { width: 100%; padding: .75em .9em; border: 1px solid #D9CFBC; border-radius: 10px; font: inherit; background: #fff; box-sizing: border-box; }
.ch-form .ch-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
@media (max-width: 640px) { .ch-form .ch-row { grid-template-columns: 1fr; } }
.ch-form .ch-check label { font-weight: 400; }
.ch-hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.ch-notice { border-radius: 10px; padding: .9em 1.1em; margin-bottom: 1em; }
.ch-good { background: #E7F2EC; color: #2F6B4F; }
.ch-bad { background: #FBEAE6; color: #A23B2A; }
.ch-address { margin-bottom: .3em; }
.ch-demo-bar { background: var(--wp--preset--color--contrast, #1B2A41); color: #fff; text-align: center; font-size: .9rem; padding: .55em 1em; }
.ch-demo-bar a { color: var(--wp--preset--color--accent, #C9973A); font-weight: 600; }
