/* Stay Biblical Community: questions & answers. Matches the Stay Biblical theme; works on its own too. */

.sbc-wrap { box-sizing: border-box; width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: 24px; }
.sbc-meta { font-size: 13px; color: #5B6673; }
.sbc-muted { font-size: 14px; line-height: 1.6; color: #5B6673; }
.sbc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sbc-empty { padding: 22px 24px; background: #fff; border: 1px dashed #D9D5CC; border-radius: 18px; color: #5B6673; font-size: 15px; }
.sbc-box { background: #fff; border: 1px solid #E4E1DA; border-radius: 20px; padding: 22px; box-sizing: border-box; }
.sbc-box__title { font-family: 'Fjalla One', 'Arial Narrow', sans-serif; font-weight: 400; font-size: 22px; line-height: 1.2; }
.sbc-h2 { margin: 8px 0 0; font-family: 'Fjalla One', 'Arial Narrow', sans-serif; font-weight: 400; font-size: 28px; line-height: 1.2; }

/* Buttons */
.sbc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.sbc-btn--lg { min-height: 48px; font-size: 16px; }
.sbc-btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.sbc-btn--block { display: flex; width: 100%; }
.sbc-btn--red { background: #BF2626; color: #fff; }
.sbc-btn--red:hover { background: #9E1E1E; color: #fff; }
.sbc-btn--red:disabled { opacity: .7; cursor: wait; }
.sbc-btn--white { background: #fff; color: #12283A; }
.sbc-btn--white:hover { background: #EEF2F5; color: #12283A; }
.sbc-btn--outline { border-color: #BF2626; color: #BF2626; background: transparent; }
.sbc-btn--outline:hover { background: #FBEDED; color: #9E1E1E; }
.sbc-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sbc-btn-light { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid #E4E1DA; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #1F2A36; cursor: pointer; }
.sbc-btn-light:hover { border-color: #BF2626; color: #BF2626; }
.sbc-btn-light.is-voted { border-color: #BF2626; color: #BF2626; background: #FBEDED; }
.sbc-count:empty { display: none; }
.sbc-link-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #BF2626; text-decoration: none; }
.sbc-link-btn:hover { background: #FBEDED; color: #9E1E1E; }

/* Tags and badges */
.sbc-chip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #EEF2F5; color: #12283A; white-space: nowrap; }
.sbc-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.sbc-badge--answered { background: #FBEDED; color: #9E1E1E; }
.sbc-badge--waiting { background: #FFF4E0; color: #7A4A00; }
.sbc-badge--best { background: #E7F3EC; color: #1F5E3A; padding: 4px 9px; }
.sbc-avatar { flex: none; width: 32px; height: 32px; border-radius: 10px; background: #EEF2F5; color: #12283A; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.sbc-avatar--sm { width: 28px; height: 28px; border-radius: 9px; }
.sbc-avatar--navy { background: #12283A; color: #fff; }
.sbc-avatar--dark { background: #1E3A52; color: #fff; }

/* Question cards */
.sbc-qlist { display: flex; flex-direction: column; gap: 16px; }
.sbc-qcard { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; background: #fff; border: 1px solid #E4E1DA; border-radius: 18px; color: #1F2A36; text-decoration: none; }
.sbc-qcard:hover { color: #1F2A36; border-color: #D6D1C6; }
.sbc-qcard:hover .sbc-qcard__title { color: #9E1E1E; }
.sbc-qcard__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sbc-qcard__title { font-size: 18px; line-height: 1.4; font-weight: 600; }
.sbc-qlist .sbc-qcard__title { font-size: 19px; }
.sbc-qcard__excerpt { font-size: 15px; line-height: 1.6; color: #5B6673; }

/* Category list (home) */
.sbc-catnav { display: flex; flex-direction: column; background: #fff; border: 1px solid #E4E1DA; border-radius: 18px; overflow: hidden; }
.sbc-catnav a { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #EFECE6; color: #1F2A36; font-weight: 500; font-size: 15px; text-decoration: none; }
.sbc-catnav a:last-child { border-bottom: 0; }
.sbc-catnav a:hover { background: #F8F7F4; color: #BF2626; }
.sbc-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sbc-catnav__name { flex: 1; }
.sbc-catnav__go { color: #9AA3AD; }

/* Mini links (article sidebar) */
.sbc-article-qs { display: flex; flex-direction: column; gap: 12px; border-radius: 20px; }
.sbc-mini { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #F8F7F4; color: #1F2A36; text-decoration: none; }
.sbc-mini:hover { color: #9E1E1E; background: #F3F1EC; }
.sbc-mini__title { font-size: 15px; font-weight: 600; line-height: 1.4; }

/* Navy title band */
.sbc-band { background: #12283A; color: #fff; padding: 40px 0 48px; }
.sbc-band__inner { display: flex; flex-direction: column; gap: 14px; }
.sbc-band__title { margin: 0; font-family: 'Fjalla One', 'Arial Narrow', sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; }
.sbc-band__title--q { font-size: clamp(28px, 4vw, 40px); max-width: 880px; }
.sbc-band__lead { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: #D5DEE6; }
.sbc-band__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 14px; color: #D5DEE6; }
.sbc-band .sbc-asker { color: #fff; }
.sbc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sbc-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #1E3A52; color: #fff; text-decoration: none; }
.sbc-pill:hover { background: #27496A; color: #fff; }
.sbc-pill.is-active { background: #fff; color: #12283A; }
.sbc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #AFBDCA; }
.sbc-crumbs a { color: #AFBDCA; text-decoration: none; }
.sbc-crumbs a:hover { color: #fff; }

/* Page layout */
.sbc-page { padding: 32px 0 72px; }
.sbc-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.sbc-layout__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sbc-layout__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sbc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.sbc-tabs { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: 14px; background: #E9E6DF; }
.sbc-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; color: #4A5562; font-size: 14px; font-weight: 600; text-decoration: none; }
.sbc-tabs a:hover { color: #1F2A36; }
.sbc-tabs a.is-active { background: #fff; color: #1F2A36; box-shadow: 0 1px 2px rgba(18,40,58,.06); }
.sbc-qsearch { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; max-width: 360px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid #E4E1DA; color: #5B6673; box-sizing: border-box; }
.sbc-qsearch:focus-within { border-color: #12283A; }
.sbc-qsearch input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 15px; background: transparent; color: #1F2A36; }

/* Opened question (top of list) */
.sbc-qopen { background: #fff; border: 1px solid #E4E1DA; border-radius: 20px; overflow: hidden; }
.sbc-qopen__q { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.sbc-qopen__title { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 700; font-family: inherit; }
.sbc-qopen__title a { color: #1F2A36; text-decoration: none; }
.sbc-qopen__title a:hover { color: #9E1E1E; }
.sbc-qopen__text { margin: 0; font-size: 16px; line-height: 1.65; color: #3B4652; }
.sbc-qopen__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: #5B6673; }
.sbc-asker { display: inline-flex; align-items: center; gap: 8px; }
.sbc-qopen__a { background: #F8F7F4; border-top: 1px solid #EFECE6; }
.sbc-qopen__a .sbc-answer { border: 0; border-radius: 0; background: transparent; }

/* Answers */
.sbc-answers { display: flex; flex-direction: column; gap: 14px; }
.sbc-answer { padding: 22px 24px; background: #fff; border: 1px solid #E4E1DA; border-radius: 18px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 20px; }
.sbc-answer--best { border-color: #CFE6D8; box-shadow: 0 0 0 1px #CFE6D8 inset; }
.sbc-answer__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.sbc-answer__head .sbc-meta { margin-left: auto; }
.sbc-answer__text { font-size: 15px; line-height: 1.65; }
.sbc-answer__text p { margin: 0 0 10px; }
.sbc-answer__text p:last-child { margin-bottom: 0; }
.sbc-answer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sbc-verse { margin: 0; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #E4E1DA; display: flex; flex-direction: column; gap: 6px; }
.sbc-answer .sbc-verse { background: #F8F7F4; }
.sbc-qopen .sbc-verse { background: #fff; }
.sbc-verse strong { font-size: 12px; color: #BF2626; letter-spacing: 1px; text-transform: uppercase; }
.sbc-verse span { font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; line-height: 1.6; }
.sbc-qtext { font-size: 16px; line-height: 1.7; color: #3B4652; padding: 24px; }
.sbc-qtext p { margin: 0 0 12px; }
.sbc-about { margin: 0; font-size: 14px; color: #5B6673; }

/* Forms */
.sbc-form { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.sbc-form__title { margin: 0; font-family: 'Fjalla One', 'Arial Narrow', sans-serif; font-weight: 400; font-size: 28px; line-height: 1.2; }
.sbc-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.sbc-field small { font-weight: 400; color: #5B6673; }
.sbc-field input, .sbc-field select, .sbc-field textarea { min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid #D9D5CC; font: inherit; font-size: 15px; font-weight: 400; background: #fff; color: #1F2A36; box-sizing: border-box; width: 100%; }
.sbc-field textarea { padding: 12px 14px; resize: vertical; }
.sbc-field input:focus, .sbc-field select:focus, .sbc-field textarea:focus { outline: 2px solid #12283A; outline-offset: 0; border-color: #12283A; }
.sbc-guest { display: flex; flex-direction: column; gap: 16px; }
.sbc-guest[hidden], [data-sbc-guest][hidden] { display: none; }
.sbc-check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sbc-check input { width: 20px; height: 20px; accent-color: #BF2626; margin: 0; }
.sbc-form__msg { margin: 0; font-size: 14px; color: #9E1E1E; }
.sbc-form__msg:empty { display: none; }
.sbc-form__msg.is-ok { color: #1F5E3A; background: #E7F3EC; padding: 12px 14px; border-radius: 12px; }
.sbc-hint { margin: -6px 0 0; font-size: 14px; color: #5B6673; }
.sbc-verse-fields { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.sbc-login-note { margin: 0; font-size: 14px; }

/* Navy promo card */
.sbc-promo { padding: 22px; border-radius: 20px; background: #12283A; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.sbc-promo__title { font-family: 'Fjalla One', 'Arial Narrow', sans-serif; font-weight: 400; font-size: 22px; line-height: 1.2; }
.sbc-promo__text { font-size: 14px; line-height: 1.6; color: #D5DEE6; }

.sbc-pagination ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sbc-pagination a, .sbc-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 12px; background: #fff; border: 1px solid #E4E1DA; color: #1F2A36; font-weight: 600; text-decoration: none; }
.sbc-pagination .current { background: #12283A; color: #fff; border-color: #12283A; }

@media (max-width: 600px) {
	.sbc-wrap { padding-inline: 16px; }
	.sbc-band { padding: 28px 0 32px; }
	.sbc-qcard, .sbc-answer, .sbc-qopen__q { padding: 18px; }
	.sbc-verse-fields { grid-template-columns: 1fr; }
	.sbc-tabs { width: 100%; }
	.sbc-tabs a { flex: 1; justify-content: center; padding: 0 8px; }
	.sbc-qsearch { max-width: none; }
	.sbc-answer__head .sbc-meta { margin-left: 0; width: 100%; }
}

/* Phones: question cards, answers and forms reach almost to the screen edge (8px gap), corners stay rounded. */
@media (max-width: 600px) {
	.sbc-qcard, .sbc-qopen, .sbc-answers .sbc-answer, .sbc-box, .sbc-promo, .sbc-empty, .sbc-catnav, .sbc-qtext, .sbc-form {
		margin-inline: -8px;
	}
	.sbc-qopen .sbc-answer { margin-inline: 0; }
	.sbc-qlist, .sbc-layout__main, .sbc-layout__side, .sbc-answers { gap: 12px; }
}
.sbc-search-fix { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FFF4E0; color: #7A4A00; font-size: 14px; }
