.bible-portal {
  --bp-bg: #fafbf8;
  --bp-card: #e8f0e9;
  --bp-text: #14251d;
  --bp-muted: #526259;
  --bp-line: #d6e2d9;
  --bp-link: #206247;
  --ink: var(--bp-text);
  --muted: var(--bp-muted);
  --line: var(--bp-line);
  --red: var(--bp-link);
  --deep-red: var(--bp-link);
  background: var(--bp-bg);
  color: var(--bp-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Poppins, Inter, system-ui, sans-serif;
}
.leituraNoturna .bible-portal {
  --bp-bg: #0b2a22;
  --bp-card: #163a2e;
  --bp-text: #f6f5e9;
  --bp-muted: #bfcfc0;
  --bp-line: #365649;
  --bp-link: #d2e6c8;
}
.bp-shell { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.bp-brand { font-weight: 750; }
.bp-main { flex: 1; padding-block: clamp(26px, 5vw, 72px); }
.bp-main h1 { margin: 0 0 .6em; font-size: clamp(2rem, 5vw, 3.45rem); letter-spacing: -.04em; line-height: 1.1; }
.bp-main h2 { margin: 0 0 .6em; font-size: clamp(1.2rem, 3vw, 1.6rem); }
.bp-main p { line-height: 1.6; }
.bp-main blockquote { margin: 12px 0; font: clamp(1.27rem, 3vw, 2rem)/1.35 Georgia, serif; }
.bp-muted { color: var(--bp-muted); }
.bp-card { background: var(--bp-card); border-radius: 13px; padding: clamp(16px, 3vw, 29px); }
.bp-card + .bp-card, .bp-card + .bp-grid { margin-top: 16px; }
.bp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bp-grid > .bp-card { margin: 0; }
.bp-home-grid { grid-template-columns: 2fr 3fr; margin-top: 24px; }
.bp-home-topics { margin-top: 34px; }
.bp-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bp-topics a { padding: 24px 10px; text-align: center; }
.bp-actions, .bp-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bp-search input {
  flex: 1 1 210px; min-width: 0; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--bp-line); border-radius: 8px; background: var(--bp-card); color: inherit; font: inherit;
}
.bp-search + .bp-card { margin-top: 16px; }
.bp-button, .bp-secondary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  border: 0; border-radius: 8px; padding: 10px 15px; font: inherit; font-weight: 650; cursor: pointer;
}
.bp-button { background: var(--bp-text); color: var(--bp-bg); }
.bp-button:disabled { opacity: .65; cursor: wait; }
.bp-secondary { background: var(--bp-card); color: var(--bp-text); }
.bp-card .bp-secondary { border: 1px solid var(--bp-line); }
.bp-link { color: var(--bp-link); font-weight: 650; }
.bp-link:hover, .bp-footer a:hover { text-decoration: underline; }
.bible-portal :focus-visible { outline: 2px solid var(--bp-link); outline-offset: 3px; }
.bible-portal .bp-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  padding: 18px 0; border-top: 1px solid var(--bp-line); background: transparent; color: var(--bp-muted);
}
.bp-footer a { color: inherit; font-size: .81rem; font-weight: 500; text-decoration: none; }
.bp-footer img { width: 112px; height: auto; }
.leituraNoturna .bp-footer img { filter: none; }
.bible-portal .section { width: 100%; padding: 0; }
.bible-portal .sectionHead { margin-bottom: 12px; border: 0; padding-bottom: 0; font-size: .86rem; }
.bible-portal .sectionHead h2 { font-size: clamp(2rem, 5vw, 3rem); }
.bible-portal .bbBarra { position: static; border-radius: 12px; background: var(--bp-card); }
.bible-portal .bbTexto { max-width: 740px; margin: 22px auto 0; background: transparent; border: 0; padding: 0; }
.bible-portal .bbTexto h3 { padding-left: 12px; }
.bible-portal .bbVersiculo { text-align: left; }
.bible-portal .bbNavegar { max-width: 740px; margin-inline: auto; }
.bible-portal .plCaixa { margin-top: 14px; background: var(--bp-card); border-radius: 13px; }
.bp-featured-plan { margin-top: 30px; }
@media (max-width: 620px) {
  .bp-grid { grid-template-columns: minmax(0, 1fr); }
  .bp-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bible-portal .sectionHead { flex-direction: column-reverse; align-items: start; }
  .bible-portal .bbBarra { gap: 8px; padding: 10px; }
}

.bible-portal { display: grid; grid-template-columns: 76px minmax(0, 1fr); }
.bible-portal.bp-expanded { grid-template-columns: 252px minmax(0, 1fr); }
.bp-page { display: flex; min-width: 0; flex-direction: column; }
.bp-sidebar {
  position: sticky; top: 0; align-self: start; height: 100dvh; overflow: auto;
  background: var(--bp-card); border-right: 1px solid var(--bp-line); padding: 14px 9px;
}
.bp-sidebar-top {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 48px; margin-bottom: 18px; padding-inline: 4px;
}
.bp-collapsed .bp-sidebar-top { justify-content: center; }
.bp-sidebar .bp-brand { font-size: 1.05rem; white-space: nowrap; }
.bp-toggle {
  flex: 0 0 36px; height: 36px; background: var(--bp-bg); border: 1px solid var(--bp-line);
  border-radius: 9px; color: var(--bp-text); font: 1.5rem/1 system-ui, sans-serif; cursor: pointer;
}
.bp-sidebar nav { display: grid; gap: 5px; }
.bp-sidebar nav a {
  display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 7px 9px;
  border-radius: 8px; font-size: .88rem;
}
.bp-sidebar nav a:hover, .bp-sidebar nav [aria-current] { background: var(--bp-bg); color: var(--bp-link); }
.bp-sidebar nav [aria-current] { font-weight: 700; }
.bp-sidebar .bp-nav-icon { flex: 0 0 22px; text-align: center; font: 1.2rem/1 system-ui, sans-serif; }
.bp-collapsed #bp-sidebar-nav a { flex-direction: column; justify-content: center; gap: 4px; padding-inline: 0; font-size: .68rem; min-height: 52px; }
.bp-collapsed .bp-nav-icon { flex: none; }
.bp-recent { border-top: 1px solid var(--bp-line); margin-top: 20px; padding-top: 13px; }
.bp-recent h2 { margin: 0 9px 6px; font-size: .78rem; color: var(--bp-muted); }
.bp-recent a { justify-content: space-between; }
.bp-recent small { color: var(--bp-muted); text-align: right; }
.bp-scrim { display: none; }
@media (max-width: 680px) {
  .bible-portal, .bible-portal.bp-expanded { grid-template-columns: 62px minmax(0, 1fr); }
  .bp-sidebar { padding-inline: 5px; }
  .bp-shell { width: calc(100% - 24px); }
  .bp-expanded .bp-sidebar { position: fixed; left: 0; inset-block: 0; width: min(252px, 84vw); z-index: 61; padding-inline: 9px; }
  .bp-expanded .bp-page { grid-column: 2; }
  .bp-expanded .bp-scrim { display: block; position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / 34%); }
  .bp-footer { flex-wrap: wrap; }
}

.bp-gallery-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 22px; }
.bp-gallery-index { border: 1px solid var(--bp-line); background: var(--bp-card); border-radius: 12px; padding: clamp(14px, 2.5vw, 24px); }
.bp-gallery-group + .bp-gallery-group { margin-top: 22px; }
.bp-gallery-group h2 { font-size: 1.1rem; }
.bp-gallery-choices { display: flex; flex-wrap: wrap; gap: 7px; }
.bp-gallery-choices button {
  min-height: 42px; padding: 7px 10px; cursor: pointer; border: 1px solid var(--bp-line);
  border-radius: 8px; background: var(--bp-bg); color: var(--bp-text); font: inherit; font-size: .84rem;
}
.bp-gallery-choices button:hover { border-color: var(--bp-link); }
.bp-gallery-choices button[aria-pressed="true"] { background: var(--bp-link); color: var(--bp-bg); border-color: var(--bp-link); }
.bp-gallery-card { border: 1px solid var(--bp-line); border-radius: 12px; overflow: hidden; background: var(--bp-card); scroll-margin-top: 12px; }
.bp-gallery-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.bp-gallery-description { padding: 14px; }
.bp-gallery-description h2, .bp-gallery-description p { margin: 0 0 6px; }
.bp-gallery-verse { font-size: .95rem; }
.bp-gallery-downloads { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bp-gallery-downloads a { display: inline-flex; align-items: center; min-height: 34px; font-size: .8rem; }
.bp-gallery-back { display: none; }
@media (max-width: 960px) {
  .bp-gallery-layout { grid-template-columns: minmax(0, 1fr); }
  .bp-gallery-card { width: min(100%, 480px); }
  .bp-gallery-back { display: inline-block; padding-block: 8px; font-size: .8rem; }
}

body { background: #fafbf8; }
.bible-portal h1 { font-family: Georgia, serif; }
.bible-portal .bp-button { background: #0b2a22; color: #fff; }
.leituraNoturna .bible-portal .bp-button { background: #d2e6c8; color: #0b2a22; }
.bp-avante-logo { display: block; padding: 12px; background: #0b2a22; border-radius: 10px; margin-bottom: 10px; }
.bp-avante-logo img { width: 100%; max-height: 86px; object-fit: contain; }
.bible-portal .bp-footer img { background: #0b2a22; border-radius: 7px; padding: 6px; }
.bible-portal.bp-tools { display: flex; }
.bp-tools-back { padding-block: 20px; }
