:root {
  --ink: #172033;
  --muted: #5f6979;
  --paper: #fffdf8;
  --surface: #ffffff;
  --surface-soft: #f6f1e7;
  --navy: #10233f;
  --navy-2: #173457;
  --gold: #b97816;
  --gold-light: #f4c967;
  --line: #e4ddd0;
  --success: #276749;
  --shadow: 0 18px 50px rgba(30, 37, 50, 0.1);
  --radius: 18px;
  --container: 1160px;
  --reading-width: 820px;
  --scripture-size: 1.16rem;
}

body.dark-theme {
  --ink: #f3efe6;
  --muted: #b8c0ce;
  --paper: #091423;
  --surface: #102033;
  --surface-soft: #172a41;
  --navy: #07101d;
  --navy-2: #183958;
  --gold: #f4c967;
  --gold-light: #ffe5a0;
  --line: #294058;
  --success: #72d5a5;
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
.button,
.icon-button {
  min-width: 44px;
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gold-light);
  color: #101820;
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.reading-container {
  width: min(calc(100% - 32px), var(--reading-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  color: #fff;
  backdrop-filter: blur(16px);
}

.header-row {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(218, 172, 74, 0.58), 0 6px 18px rgba(0, 0, 0, 0.26);
}

.brand small {
  display: block;
  color: #d8e1ec;
  font-size: 0.69rem;
  font-weight: 550;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #e9eef5;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e9eef5;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.is-current > .nav-dropdown-toggle,
.nav-dropdown.is-open > .nav-dropdown-toggle {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-dropdown.is-open > .nav-dropdown-toggle::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: none;
  width: max-content;
  min-width: 220px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.nav-dropdown.is-open > .nav-submenu {
  display: grid;
}

.nav-submenu a {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.icon-button,
.menu-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 82px 0 76px;
  background: var(--navy);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("banner-o-profeta-20260705.webp") center / cover no-repeat;
  opacity: 0.28;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 16, 29, 0.98) 0%, rgba(7, 16, 29, 0.88) 55%, rgba(7, 16, 29, 0.66));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.article-header h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 20px 0 0;
  color: #e5ebf2;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions,
.chapter-actions,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: #172033;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.search-panel {
  margin-top: -32px;
  position: relative;
  z-index: 4;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.search-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}

.section {
  padding: 68px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header h2,
.content-card h2,
.article-body h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.15;
}

.section-header p,
.muted {
  color: var(--muted);
}

.testament-grid,
.feature-grid,
.book-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testament-card,
.content-card,
.feature-card,
.book-card,
.article-card,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(30, 37, 50, 0.06);
}

.testament-card,
.content-card,
.feature-card,
.article-card,
.notice {
  padding: 26px;
}

.testament-card {
  position: relative;
  overflow: hidden;
}

.testament-card::after {
  content: attr(data-books);
  position: absolute;
  right: 18px;
  bottom: -18px;
  color: color-mix(in srgb, var(--gold) 13%, transparent);
  font-family: Georgia, serif;
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
}

.testament-card h2,
.feature-card h3,
.book-card h2,
.article-card h2,
.article-card h3 {
  margin: 0;
  line-height: 1.2;
}

.testament-card p,
.feature-card p,
.article-card p {
  color: var(--muted);
}

.article-card--with-image {
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.article-card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
}

.article-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-content {
  padding: 24px 26px 26px;
}

.card-link {
  position: relative;
  z-index: 2;
  color: var(--gold);
  font-weight: 850;
}

.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.theme-tags a,
.theme-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.theme-tags a:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.theme-tags-inline {
  margin-top: 18px;
}

.theme-list {
  display: grid;
  gap: 14px;
}

.theme-list-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-card,
.theme-mini-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(30, 37, 50, 0.06);
}

.theme-card a,
.theme-mini-card {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  text-decoration: none;
}

.theme-card img,
.theme-mini-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: var(--surface-soft);
  object-fit: cover;
}

.theme-card small,
.theme-mini-card .eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.theme-card strong,
.theme-mini-card h3 {
  display: block;
  margin: 0 0 4px;
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  line-height: 1.18;
}

.theme-card em,
.theme-mini-card p {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.section-more {
  margin: 24px 0 0;
}

.verse-topic-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: verse-topic;
}

.verse-topic-list li {
  counter-increment: verse-topic;
}

.verse-topic-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
}

.verse-topic-list a::before {
  content: counter(verse-topic);
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #101820;
  font-weight: 900;
}

.verse-topic-list strong {
  display: block;
  color: var(--ink);
}

.verse-topic-list span {
  display: block;
  color: var(--muted);
}

.explanation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.explanation-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(30, 37, 50, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.explanation-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.explanation-card a {
  display: block;
  width: 100%;
  min-height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.explanation-card img {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--surface-soft);
  object-fit: cover;
}

.explanation-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
}

.explanation-card .explanation-image-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: block;
  min-height: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(12, 34, 61, 0.88);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(5px);
}

.explanation-card > a > span,
.explanation-card .explanation-title {
  display: grid;
  min-height: 108px;
  place-items: center;
  padding: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
}

.verse-highlight {
  padding: 34px;
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.verse-highlight blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.45;
}

.verse-highlight cite {
  display: block;
  margin-top: 18px;
  color: var(--gold-light);
  font-style: normal;
  font-weight: 800;
}

.page-hero,
.article-header {
  padding: 58px 0 38px;
}

.page-hero h1,
.article-header h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 6vw, 4rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--gold);
  font-weight: 750;
}

.book-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.book-card {
  display: block;
  padding: 20px;
  text-decoration: none;
}

.book-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.book-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 10px;
}

.chapter-grid a {
  display: grid;
  min-height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.chapter-grid a:hover {
  border-color: var(--gold);
  background: var(--surface-soft);
}

.chapter-toolbar {
  position: sticky;
  top: 84px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 8px 26px rgba(30, 37, 50, 0.08);
  backdrop-filter: blur(12px);
}

.chapter-toolbar select {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.font-controls {
  display: flex;
  gap: 6px;
}

.font-controls button,
.copy-verse {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.scripture {
  padding-bottom: 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--scripture-size);
  line-height: 1.86;
}

.verse {
  position: relative;
  margin: 0;
  padding: 8px 48px 8px 42px;
  border-radius: 10px;
  scroll-margin-top: 178px;
}

.verse:target,
.verse.is-selected,
.verse:hover {
  background: var(--surface-soft);
}

.verse:target,
.verse.is-selected {
  outline: 2px solid color-mix(in srgb, var(--gold) 72%, transparent);
  outline-offset: 2px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--gold) 16%, transparent);
}

.verse-number {
  position: absolute;
  top: 11px;
  left: 10px;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75em;
  font-weight: 850;
}

.copy-verse {
  position: absolute;
  top: 7px;
  right: 6px;
  min-width: 36px;
  min-height: 36px;
  opacity: 0;
}

.verse:hover .copy-verse,
.copy-verse:focus-visible {
  opacity: 1;
}

.chapter-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}

.chapter-navigation a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
}

.chapter-navigation a:last-child {
  text-align: right;
}

.translation-credit {
  margin: 30px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.9rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-methodology {
  margin: 0 0 34px;
  padding: 20px 22px;
  border: 1px solid rgba(218, 172, 74, 0.34);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--surface), var(--surface-soft));
  color: var(--muted);
  font-size: 0.94rem;
}

.article-methodology-label {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-methodology h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1.22rem;
}

.article-methodology p {
  margin: 8px 0 0;
}

.article-methodology a {
  color: var(--gold);
  font-weight: 750;
}

.article-cover {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 16px 0 34px;
  border-radius: var(--radius);
  background: var(--navy);
  background-repeat: no-repeat;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.article-inline-image-wrap {
  margin: 34px 0;
}

.article-inline-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--surface-soft);
  background-repeat: no-repeat;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.article-inline-image-wrap figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-body {
  font-size: 1.06rem;
}

.article-body h2 {
  margin-top: 38px;
}

.article-body h3 {
  margin-top: 28px;
}

.article-body a {
  color: var(--gold);
  font-weight: 700;
}

.article-body blockquote {
  margin: 26px 0;
  padding: 22px;
  border-left: 5px solid var(--gold);
  background: var(--surface-soft);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.search-status {
  min-height: 28px;
  margin: 18px 0;
  color: var(--muted);
}

.search-results {
  display: grid;
  gap: 12px;
}

.search-result {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.search-result a {
  color: var(--gold);
  font-weight: 850;
}

.search-result p {
  margin: 6px 0 0;
}

.site-footer {
  margin-top: 70px;
  padding: 54px 0 26px;
  background: var(--navy);
  color: #e7edf5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(218, 172, 74, 0.5);
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid a {
  color: #d8e1ec;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-social a:hover {
  border-color: rgba(218, 173, 93, 0.65);
  background: rgba(218, 173, 93, 0.14);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b9c5d3;
  font-size: 0.86rem;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 700;
}

.official-contact-list {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.official-contact-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.official-contact-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.official-contact-list a {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  word-break: break-word;
}

.official-contact-list span {
  display: block;
  color: var(--muted);
}

.transparency-panel {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(218, 173, 93, 0.16), transparent 45%),
    var(--surface-soft);
}

.transparency-panel h2 {
  margin-top: 0;
}

.contact-simple-shell {
  padding: 42px 0 54px;
  background: #f2f4f8;
  color: #101820;
}

.contact-simple-container {
  width: min(calc(100% - 32px), 980px);
  margin-inline: auto;
}

.contact-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: #1f2a3a;
  font-size: 0.95rem;
}

.contact-breadcrumb a {
  color: #1f2a3a;
  text-decoration: none;
}

.contact-simple-card,
.contact-transparency-card {
  border: 1px solid #d9dee8;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.contact-simple-card {
  padding: clamp(24px, 4vw, 36px);
}

.contact-intro {
  margin: 0 0 22px;
  color: #111827;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.contact-line {
  margin: 20px 0 0;
  color: #111827;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.45;
}

.contact-line strong {
  font-weight: 900;
}

.contact-line a {
  color: #1473e6;
  text-decoration: none;
  word-break: break-word;
}

.contact-line a:hover {
  text-decoration: underline;
}

.contact-transparency-card {
  margin-top: 22px;
  padding: 24px;
  color: #1f2a3a;
}

.contact-transparency-card h2 {
  margin: 0 0 10px;
  color: #111827;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.contact-transparency-card p {
  margin: 12px 0 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: 320px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .menu-button {
    display: inline-grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    min-height: 44px;
  }

  .nav-dropdown,
  .nav-dropdown-toggle {
    width: 100%;
  }

  .nav-dropdown-toggle {
    min-height: 44px;
    justify-content: space-between;
    text-align: left;
  }

  .nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    padding: 5px 5px 5px 14px;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: none;
  }

  .feature-grid,
  .article-grid,
  .explanation-grid,
  .theme-list-home,
  .book-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container,
  .reading-container {
    width: min(calc(100% - 22px), var(--container));
  }

  .brand small,
  .header-actions .search-shortcut {
    display: none;
  }

  .hero {
    padding: 62px 0 60px;
  }

  .hero::before {
    background-position: 42% center;
    opacity: 0.22;
  }

  .search-form,
  .testament-grid,
  .feature-grid,
  .article-grid,
  .explanation-grid,
  .theme-list-home,
  .book-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .theme-card a,
  .theme-mini-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .theme-card img,
  .theme-mini-card img,
  .article-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .explanation-thumb,
  .article-card-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .explanation-card img,
  .article-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .theme-card em,
  .theme-mini-card p {
    font-size: 0.92rem;
  }

  .search-form .button {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .chapter-toolbar {
    top: 76px;
    align-items: stretch;
    flex-direction: column;
  }

  .verse {
    scroll-margin-top: 300px;
  }

  .chapter-toolbar select {
    width: 100%;
  }

  .font-controls {
    justify-content: flex-end;
  }

  .verse {
    padding-right: 8px;
  }

  .copy-verse {
    position: static;
    display: inline-grid;
    margin-left: 8px;
    opacity: 1;
    vertical-align: middle;
  }

  .chapter-navigation {
    grid-template-columns: 1fr;
  }

  .chapter-navigation a:last-child {
    text-align: left;
  }
}

/* Midia editorial responsiva: Explicacoes e Noticias.
   Mantida no fim para neutralizar alturas antigas conflitantes. */
.explanation-grid,
.article-grid {
  align-items: stretch;
}

.explanation-card,
.article-card,
.explanation-card > a,
.article-card-content {
  min-width: 0;
  max-width: 100%;
}

.explanation-thumb,
.explanation-card > a > img,
.article-card-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
  background-repeat: no-repeat;
}

.explanation-thumb img,
.explanation-card > a > img,
.article-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.explanation-title,
.explanation-card > a > span:not(.explanation-image-label),
.article-card h2,
.article-card h2 a,
.article-card p {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-cover-wrap,
.article-inline-image-wrap {
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  overflow: hidden;
}

.article-cover-wrap .article-cover,
.article-inline-image-wrap .article-inline-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

@media (max-width: 760px) {
  .explanation-grid,
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .explanation-card,
  .article-card,
  .article-cover-wrap,
  .article-inline-image-wrap {
    width: 100%;
    max-width: 100%;
  }

  .explanation-thumb,
  .explanation-card > a > img,
  .article-card-cover,
  .article-cover-wrap .article-cover,
  .article-inline-image-wrap .article-inline-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .explanation-title,
  .explanation-card > a > span:not(.explanation-image-label) {
    padding: 16px 15px 18px;
    font-size: clamp(1.05rem, 5vw, 1.28rem);
    line-height: 1.24;
  }
}

/* Pagina inicial: banner com conta Google ao lado, pronto para favoritos. */
.home-account-hero {
  padding: 24px 0 74px;
}

.home-account-hero::before,
.home-account-hero::after {
  display: none;
}

.home-banner-account-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.home-main-banner {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1983 / 406;
  border: 1px solid rgba(211, 158, 53, .45);
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.home-header-account[hidden] {
  display: none !important;
}

.home-header-account strong {
  font-weight: 800;
}

/* O card da conta na home usa o mesmo visual do card lateral do forum. */
.home-forum-account-card {
  --forum-orange: #e97800;
  --forum-border: #e8e9ec;
  --forum-text: #101726;
  --forum-card: #fff;
  align-self: start;
  width: 100%;
  min-height: 0;
}

.home-forum-account-card h2 strong {
  color: var(--forum-orange);
}

.home-forum-account-card .home-login-avatar {
  position: absolute;
  top: 15px;
  right: 18px;
  width: 42px;
  height: 42px;
}

.home-forum-account-card [data-account-icon][hidden] {
  display: none !important;
}

[data-theme="dark"] .home-forum-account-card {
  --forum-border: #2a3d54;
  --forum-text: #f7f4ec;
  --forum-card: #102033;
}

.home-login-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 20px 22px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #e7e8eb;
  border-radius: 18px;
  background: #fff;
  color: #07162f;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .09);
}

.home-login-card-heading {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-login-card h2 {
  margin: 0;
  color: #07162f;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.home-login-card h2 strong { color: #f05a00; }
.home-login-card > p { margin: 13px 0 16px; color: #13213a; font-size: .87rem; line-height: 1.55; }

.home-login-people {
  flex: 0 0 auto;
  color: #f05a00;
}

.home-login-people svg {
  width: 30px;
  height: 26px;
  overflow: visible;
  fill: currentColor;
}

.home-login-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 2px solid #f05a00;
  border-radius: 50%;
  object-fit: cover;
}

.home-login-avatar[hidden] {
  display: none !important;
}

.home-google-login-button {
  display: inline-flex;
  min-height: 43px;
  padding: 8px 18px 8px 10px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #747775;
  border-radius: 999px;
  background: #131314;
  color: #fff;
  box-shadow: 0 5px 13px rgba(0, 0, 0, .23);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.home-google-login-button:hover { background: #242426; color: #fff; }
.home-google-login-button .forum-google-mark { flex: 0 0 auto; }

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-top: 64px;
}

[data-theme="dark"] .home-login-card {
  border-color: #314258;
  background: #102033;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}

[data-theme="dark"] .home-login-card h2,
[data-theme="dark"] .home-login-card > p { color: #fff; }

@media (max-width: 980px) {
  .home-account-hero { padding-top: 18px; }
  .home-banner-account-grid { grid-template-columns: 1fr; }
  .home-main-banner { height: auto; min-height: 0; aspect-ratio: 1983 / 406; }
  .home-login-card { min-height: 0; }
  .home-hero-copy { margin-top: 46px; }
}

@media (max-width: 620px) {
  .home-account-hero { padding: 12px 0 52px; }
  .home-banner-account-grid { gap: 12px; }
  .home-main-banner { border-radius: 11px; }
  .home-login-card { min-height: 0; padding: 22px 20px; border-radius: 18px; }
  .home-login-card h2 { font-size: 1.28rem; }
  .home-login-card > p { margin: 17px 0 20px; font-size: .9rem; line-height: 1.6; }
  .home-google-login-button { width: 100%; }
  .home-hero-copy { margin-top: 38px; }
}

@media print {
  .site-header,
  .site-footer,
  .chapter-toolbar,
  .chapter-navigation,
  .copy-verse,
  .hero-actions,
  .search-panel {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .scripture {
    font-size: 12pt;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Visual premium da marca O Profeta. Somente cabecalho e abertura da home. */
.site-header {
  background: rgba(5, 14, 26, 0.97);
  box-shadow: 0 1px 0 rgba(218, 172, 74, 0.12);
}

.header-row {
  min-height: 92px;
}

.brand {
  position: relative;
  flex: 0 0 205px;
  width: 205px;
  height: 68px;
  overflow: hidden;
  background: url("logo-horizontal-transparente-o-profeta.webp") left center / contain no-repeat;
}

.brand img,
.brand > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero {
  padding: clamp(390px, 35vw, 515px) 0 74px;
  background:
    radial-gradient(circle at 52% 78%, rgba(216, 166, 61, 0.08), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #0a192b 100%);
}

.hero::before {
  top: 18px;
  right: max(16px, calc((100% - var(--container)) / 2));
  bottom: auto;
  left: max(16px, calc((100% - var(--container)) / 2));
  height: clamp(315px, 28.5vw, 430px);
  border: 1px solid rgba(218, 172, 74, 0.34);
  border-radius: 20px;
  background-position: center;
  opacity: 1;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.hero::after {
  background:
    radial-gradient(circle at 50% 82%, rgba(218, 172, 74, 0.08), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(5, 14, 26, 0.1) 48%, rgba(5, 14, 26, 0.5) 100%);
}

.hero > .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  column-gap: clamp(38px, 7vw, 96px);
  row-gap: 14px;
  align-items: center;
}

.hero .eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin-bottom: 0;
}

.hero h1 {
  grid-column: 1;
  grid-row: 2 / span 2;
  max-width: 760px;
  font-size: clamp(3rem, 5.3vw, 5.45rem);
}

.hero p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  grid-column: 2;
  grid-row: 3;
  margin-top: 10px;
}

.hero .button,
.search-form .button {
  min-height: 54px;
  border-radius: 12px;
}

.search-panel {
  margin-top: -28px;
}

.search-form {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(5, 14, 26, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.search-form label {
  display: grid;
  gap: 2px;
}

.search-form .muted {
  padding-left: 6px;
  color: #aeb9c8;
}

.search-form input {
  border: 0;
  background: transparent;
  color: #fff;
}

.search-form input::placeholder {
  color: #8995a6;
}

@media (max-width: 1100px) {
  .brand {
    flex-basis: 170px;
    width: 170px;
    height: 60px;
  }

  .main-nav a {
    padding-inline: 9px;
    font-size: 0.84rem;
  }
}

@media (max-width: 860px) {
  .header-row {
    min-height: 76px;
  }

  .brand {
    flex-basis: 164px;
    width: 164px;
    height: 56px;
  }

  .hero {
    padding: clamp(260px, 59vw, 390px) 0 58px;
  }

  .hero::before {
    top: 14px;
    height: clamp(220px, 48vw, 330px);
    border-radius: 16px;
    background-position: center;
  }

  .hero > .container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero .eyebrow,
  .hero h1,
  .hero p:not(.eyebrow),
  .hero-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10vw, 4.1rem);
  }

  .hero p:not(.eyebrow) {
    margin-top: 4px;
  }
}

@media (max-width: 620px) {
  .brand {
    flex-basis: 145px;
    width: 145px;
    height: 50px;
  }

  .hero {
    padding: 225px 0 52px;
  }

  .hero::before {
    right: 11px;
    left: 11px;
    height: 188px;
    border-radius: 14px;
    background-position: center;
    opacity: 1;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .search-panel {
    margin-top: -22px;
  }
}

/* Logo limpa no topo: somente o nome, sem círculo, sem fundo e sem texto pequeno embaixo. */
.brand {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 176px;
  height: auto !important;
  min-height: 58px;
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
  background: none !important;
  gap: 0 !important;
}

.brand img {
  display: none !important;
}

.brand > span {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip-path: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
  color: #f4c95d !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 10px rgba(216, 166, 61, 0.22);
}

.brand small {
  display: none !important;
}

/* Performance mobile: usa banner menor no celular e adia pintura de blocos fora da tela. */
@media (max-width: 860px) {
  .hero::before {
    background-image: url("banner-o-profeta-mobile-20260705.webp") !important;
  }
}

.section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

/* Logo final: troca a fonte digitada pela arte dourada original da marca. */
.brand {
  flex: 0 0 auto !important;
  width: clamp(178px, 16vw, 230px) !important;
  min-width: 178px !important;
  height: clamp(58px, 5.2vw, 78px) !important;
  min-height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background: url("logo-o-profeta-transparente.webp") left center / contain no-repeat !important;
  gap: 0 !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}

.brand img,
.brand > span,
.brand small {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  display: block !important;
}

.footer-brand {
  min-height: 58px;
  background: url("logo-o-profeta-transparente.webp") left center / 178px auto no-repeat;
}

.footer-brand img,
.footer-brand span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Cabecalho consistente nas paginas internas: mesma logo e menu em uma linha. */
@media (min-width: 861px) {
  .header-row {
    gap: clamp(8px, 1vw, 16px);
  }

  .main-nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
  }

  .main-nav a {
    padding-inline: clamp(7px, 0.75vw, 11px);
    font-size: clamp(0.78rem, 0.9vw, 0.9rem);
    line-height: 1.15;
    white-space: nowrap;
  }

  .nav-dropdown-toggle {
    padding-inline: clamp(7px, 0.75vw, 11px);
    font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  }

  .nav-dropdown:hover > .nav-submenu {
    display: grid;
  }

  .header-actions {
    flex: 0 0 auto;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .brand {
    width: 160px !important;
    min-width: 160px !important;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }
}

/* Forum simples do O Profeta */
.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.forum-form-card h2,
.forum-rules h2 {
  margin-top: 0;
}

.forum-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.forum-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.forum-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.forum-tabs a[aria-current="page"] {
  border-color: rgba(218, 173, 93, 0.72);
  background: linear-gradient(135deg, rgba(218, 173, 93, 0.25), rgba(218, 173, 93, 0.08));
  color: var(--gold);
  box-shadow: 0 10px 28px rgba(218, 173, 93, 0.12);
}

.forum-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.forum-form input,
.forum-form select,
.forum-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: #0d1a2a;
}

.forum-form textarea {
  resize: vertical;
}

.forum-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.forum-rules ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.forum-rules li + li {
  margin-top: 9px;
}

.forum-sensitive-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(218, 173, 93, 0.35);
  border-radius: 12px;
  background: rgba(218, 173, 93, 0.12);
  color: var(--text);
  font-weight: 700;
}

.forum-question-list {
  display: grid;
  gap: 18px;
}

.forum-question-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(30, 37, 50, 0.06);
}

.forum-question-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.forum-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.forum-answer {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(218, 173, 93, 0.35);
  border-radius: 14px;
  background: rgba(218, 173, 93, 0.1);
}

.forum-answer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
}

.forum-notice-ok {
  border-color: rgba(32, 135, 93, 0.35);
  background: rgba(32, 135, 93, 0.12);
}

.forum-notice-error {
  border-color: rgba(185, 45, 45, 0.35);
  background: rgba(185, 45, 45, 0.12);
}

@media (max-width: 860px) {
  .forum-layout {
    grid-template-columns: 1fr;
  }
}

/* Comunidade autenticada do forum */
.forum-account {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.forum-google-button {
  gap: 10px;
  border-color: #cfd7e3;
  background: #fff;
  color: #172033;
  text-decoration: none;
}

.forum-google-button span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #1a73e8;
  font-weight: 900;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
}

.forum-account-profile,
.forum-signed-user,
.forum-author-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.forum-account-profile span,
.forum-account-profile strong,
.forum-account-profile small,
.forum-signed-user span {
  display: block;
}

.forum-account-profile small {
  color: var(--muted);
}

.forum-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(218, 173, 93, 0.42);
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}

.forum-avatar-fallback {
  display: grid;
  place-items: center;
  background: var(--navy, #10233f);
  color: #fff;
  font-weight: 900;
}

.forum-author-row {
  margin: 10px 0 16px;
}

.forum-author-row .forum-meta {
  display: grid;
  gap: 2px;
  margin: 0;
}

.forum-author-row .forum-meta strong {
  color: var(--text);
}

.forum-author-row .forum-meta span {
  font-size: 0.83rem;
}

.forum-official-answer {
  border-left: 4px solid var(--gold);
}

.forum-official-author {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.forum-official-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(218, 173, 93, 0.72);
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 0 3px rgba(218, 173, 93, 0.12);
}

.forum-official-author strong {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin: 0;
  line-height: 1.3;
}

.forum-verified-badge {
  display: inline-grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #1685e5;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.forum-verified-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

.forum-official-answer > p:last-child {
  margin: 0 0 0 64px;
}

.forum-community-answers {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.forum-community-answers h4 {
  margin: 0 0 14px;
  font-size: 1.08rem;
}

.forum-community-answer {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.forum-community-answer > p:last-child {
  margin-bottom: 0;
}

.forum-reply-box {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.forum-reply-box summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 850;
}

.forum-login-prompt {
  margin: 20px 0 0;
  font-weight: 750;
}

@media (max-width: 560px) {
  .forum-question-card {
    padding: 18px;
  }

  .forum-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

.forum-tabs a {
    flex: 0 0 auto;
  }
}
+

/* Forum O Profeta: painel comunitario (2026-07-11) */
.forum-page {
  --forum-orange: #e97800;
  --forum-orange-dark: #c96000;
  --forum-cream: #fff8ef;
  --forum-border: #e8e9ec;
  --forum-text: #101726;
  --forum-subtle: #687181;
  --forum-card: #fff;
  --forum-page-bg: #f8f9fb;
  background: var(--forum-page-bg);
  color: var(--forum-text);
}

.forum-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-theme="dark"] .forum-page {
  --forum-cream: #182538;
  --forum-border: #2a3d54;
  --forum-text: #f7f4ec;
  --forum-subtle: #bdc7d3;
  --forum-card: #102033;
  --forum-page-bg: #091423;
}

.forum-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #071321;
  border-bottom: 1px solid #1c2d41;
  box-shadow: 0 6px 18px rgba(4, 15, 28, .12);
}

.forum-page .header-row {
  width: min(calc(100% - 32px), 1370px);
  min-height: 72px;
  gap: 24px;
}

.forum-brand {
  flex: 0 0 auto;
}

.forum-brand img {
  width: 210px;
  height: 58px;
  object-fit: contain;
}

.forum-page .main-nav {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

.forum-page .main-nav a {
  padding: 11px 13px;
  border-radius: 9px;
  color: #fff;
  font-size: .92rem;
}

.forum-page .main-nav a:hover,
.forum-page .main-nav a[aria-current="page"] {
  color: #fff;
  background: #172438;
}

.forum-header-actions {
  flex: 0 0 auto;
  gap: 9px;
}

.forum-header-profile,
.forum-header-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
}

.forum-header-login {
  padding: 10px 14px;
  border: 1px solid #536177;
  border-radius: 10px;
}

.forum-header-profile .forum-avatar {
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
}

.forum-notifications {
  position: relative;
  flex: 0 0 auto;
}

.forum-notification-toggle {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid #536177;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  list-style: none;
  place-items: center;
  font-size: 1.05rem;
  font-family: inherit;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
}

.forum-notification-toggle[aria-expanded="true"] { background: #172438; }

.forum-notification-toggle b {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #071321;
  border-radius: 999px;
  background: #e97800;
  color: #fff;
  font-size: .68rem;
  line-height: 1;
  place-items: center;
}

.forum-notification-panel {
  position: absolute;
  z-index: 90;
  top: calc(100% + 10px);
  right: 0;
  width: min(370px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid var(--forum-border);
  border-radius: 14px;
  background: var(--forum-card);
  color: var(--forum-text);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
}

.forum-notification-panel[hidden] { display: none !important; }

.forum-notification-heading {
  display: flex;
  padding: 15px 17px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--forum-border);
}

.forum-notification-heading span {
  color: var(--forum-orange);
  font-size: .76rem;
  font-weight: 800;
}

.forum-notification-list {
  max-height: min(430px, 62vh);
  overflow-y: auto;
}

.forum-notification-item { margin: 0; }

.forum-notification-item button {
  display: grid;
  width: 100%;
  padding: 13px 15px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--forum-border);
  background: transparent;
  color: var(--forum-text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.forum-notification-item.is-unread button {
  background: color-mix(in srgb, var(--forum-orange) 10%, var(--forum-card));
}

.forum-notification-item button:hover {
  background: color-mix(in srgb, var(--forum-orange) 15%, var(--forum-card));
}

.forum-notification-item button > span:last-child,
.forum-notification-item strong,
.forum-notification-item small { display: block; }

.forum-notification-item strong {
  font-size: .82rem;
  line-height: 1.45;
}

.forum-notification-item small {
  margin-top: 3px;
  color: var(--forum-subtle);
  font-size: .72rem;
}

.forum-notification-icon {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--forum-orange);
  color: #fff;
  place-items: center;
  font-size: .85rem;
  font-weight: 900;
}

.forum-notification-empty {
  margin: 0;
  padding: 24px 17px;
  color: var(--forum-subtle);
  text-align: center;
}

.forum-notification-read-all {
  padding: 10px 15px;
  text-align: center;
}

.forum-notification-read-all button {
  border: 0;
  background: transparent;
  color: var(--forum-orange);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
}

.forum-dashboard {
  min-height: calc(100vh - 72px);
  padding: 22px 0 0;
}

.forum-dashboard-shell {
  width: min(calc(100% - 32px), 1370px);
  margin: 0 auto;
}

.forum-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 18px;
  align-items: start;
}

.forum-dashboard-main {
  min-width: 0;
}

.forum-welcome {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  border: 1px solid #ece6de;
  border-radius: 14px;
  background: var(--forum-cream);
  box-shadow: 0 8px 26px rgba(36, 43, 54, .06);
}

.forum-welcome img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.forum-welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--forum-cream) 0%, var(--forum-cream) 28%, color-mix(in srgb, var(--forum-cream) 92%, transparent) 34%, color-mix(in srgb, var(--forum-cream) 52%, transparent) 44%, transparent 58%);
  pointer-events: none;
}

.forum-welcome-copy {
  position: relative;
  z-index: 2;
  width: 39%;
  padding: 31px 34px;
}

.forum-welcome h1 {
  margin: 0 0 14px;
  color: var(--forum-text);
  font-family: inherit;
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  line-height: 1.08;
}

.forum-welcome p {
  margin: 0;
  color: var(--forum-text);
  font-size: .98rem;
  line-height: 1.85;
}

.forum-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 15px 0;
}

.forum-category-card {
  display: flex;
  min-height: 220px;
  padding: 20px 15px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--forum-border);
  border-radius: 12px;
  background: var(--forum-card);
  color: var(--forum-text);
  box-shadow: 0 7px 22px rgba(36, 43, 54, .05);
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.forum-category-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--forum-orange) 55%, var(--forum-border));
  box-shadow: 0 12px 28px rgba(36, 43, 54, .1);
}

.forum-category-card.is-active {
  border: 2px solid var(--forum-orange);
}

.forum-category-icon {
  display: grid;
  width: 65px;
  height: 65px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 50%;
  background: #071321;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -2px;
}

.forum-category-prayer .forum-category-icon { background: linear-gradient(135deg, #f6a000, #e26e00); font-size: 1.85rem; letter-spacing: 0; }
.forum-category-testimony .forum-category-icon { background: linear-gradient(135deg, #4d9034, #256c22); font-size: 2rem; }
.forum-category-discussion .forum-category-icon { background: linear-gradient(135deg, #6251aa, #3f2f88); font-size: 2rem; }

.forum-category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.forum-category-card > span:not(.forum-category-icon) {
  min-height: 43px;
  color: var(--forum-subtle);
  font-size: .86rem;
  line-height: 1.55;
}

.forum-category-card small {
  margin-top: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #fff2e4;
  color: #47311c;
  font-weight: 700;
}

[data-theme="dark"] .forum-category-card small { background: #26364b; color: #f4d6b6; }

.forum-feed,
.forum-side-card {
  border: 1px solid var(--forum-border);
  border-radius: 12px;
  background: var(--forum-card);
  box-shadow: 0 7px 22px rgba(36, 43, 54, .05);
}

.forum-feed {
  overflow: hidden;
}

.forum-feed-header,
.forum-feed-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--forum-border);
}

.forum-feed-header h2 {
  margin: 0;
  color: var(--forum-text);
  font-family: inherit;
  font-size: 1.05rem;
}

.forum-feed-header h2 span {
  margin-right: 8px;
}

.forum-orange-button,
.forum-soft-button {
  display: inline-flex;
  min-height: 39px;
  padding: 9px 17px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #f08a08, #d96900);
  color: #fff;
  box-shadow: 0 5px 13px rgba(220, 103, 0, .18);
  cursor: pointer;
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}

.forum-orange-button:hover { background: linear-gradient(180deg, #fa9417, #c95d00); color: #fff; }
.forum-soft-button { background: #f2f3f5; color: #182033; box-shadow: none; }

.forum-google-login-button {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 18px 8px 10px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #747775;
  border-radius: 999px;
  background: #131314;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.forum-google-login-button:hover { background: #202124; color: #fff; }
.forum-google-mark { display: grid; width: 25px; height: 25px; border-radius: 50%; background: #fff; place-items: center; }
.forum-google-mark svg { width: 19px; height: 19px; }

.forum-people-symbol svg {
  width: 27px;
  height: 24px;
  overflow: visible;
  fill: #e97600;
}

.forum-stats-card dt { display: flex; align-items: center; gap: 7px; }
.forum-stat-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.forum-stat-people { width: 18px; fill: #e97600; stroke: none; }

.forum-feed-tools {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 48px;
}

.forum-feed-filters {
  display: flex;
  align-self: stretch;
  gap: 24px;
}

.forum-feed-filters button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--forum-text);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
}

.forum-feed-filters button.is-active {
  color: var(--forum-orange);
}

.forum-feed-filters button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--forum-orange);
}

.forum-category-select select {
  max-width: 180px;
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--forum-border);
  border-radius: 6px;
  background: var(--forum-card);
  color: var(--forum-text);
  font: inherit;
  font-size: .76rem;
}

.forum-topic-list {
  padding: 0 18px 8px;
}

.forum-topic {
  border-bottom: 1px solid var(--forum-border);
}

.forum-topic:last-child { border-bottom: 0; }

.forum-topic > summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 145px;
  gap: 13px;
  padding: 15px 0;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.forum-topic > summary::-webkit-details-marker { display: none; }

.forum-topic .forum-avatar {
  width: 44px;
  height: 44px;
  border: 0;
  background: linear-gradient(135deg, #5c8b39, #326a26);
  color: #fff;
}

.forum-topic-copy,
.forum-topic-copy > span,
.forum-topic-stats {
  display: block;
  min-width: 0;
}

.forum-topic-copy > strong {
  display: block;
  overflow: hidden;
  margin-bottom: 3px;
  color: var(--forum-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .93rem;
}

.forum-topic-copy small,
.forum-topic-copy > span {
  color: var(--forum-subtle);
  font-size: .72rem;
  line-height: 1.45;
}

.forum-topic-copy > span {
  overflow: hidden;
  margin-top: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forum-topic-stats {
  text-align: right;
}

.forum-topic-stats b {
  display: block;
  margin-bottom: 7px;
  color: var(--forum-text);
  font-size: .74rem;
  font-style: normal;
}

.forum-topic-stats em {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 6px;
  background: #fff0df;
  color: #d36700;
  font-size: .68rem;
  font-style: normal;
}

.forum-topic-stats em.is-answered { background: #e9f3e2; color: #39752c; }

.forum-topic-expanded {
  padding: 4px 56px 22px;
}

.forum-topic-question {
  color: var(--forum-text);
  line-height: 1.75;
}

.forum-topic-expanded .forum-official-answer,
.forum-topic-expanded .forum-community-answer {
  border-color: var(--forum-border);
  background: color-mix(in srgb, var(--forum-card) 88%, #f6eee2);
}

.forum-topic-expanded .forum-community-answers h3 {
  margin-top: 22px;
  color: var(--forum-text);
  font-family: inherit;
  font-size: 1rem;
}

.forum-inline-reply {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--forum-border);
}

.forum-inline-reply label,
.forum-compose-dialog .forum-form label {
  display: grid;
  gap: 7px;
  color: var(--forum-text);
  font-weight: 700;
}

.forum-inline-reply textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--forum-border);
  border-radius: 8px;
  background: var(--forum-card);
  color: var(--forum-text);
  resize: vertical;
}

.forum-empty-state {
  padding: 44px 20px;
  color: var(--forum-subtle);
  text-align: center;
}

.forum-empty-state .forum-orange-button { margin-top: 10px; }

.forum-dashboard-sidebar {
  display: grid;
  gap: 15px;
}

.forum-side-card {
  position: relative;
  padding: 21px 22px;
}

.forum-side-card h2 {
  margin: 0 0 13px;
  color: var(--forum-text);
  font-family: inherit;
  font-size: 1.05rem;
}

.forum-side-card p {
  color: var(--forum-text);
  font-size: .83rem;
  line-height: 1.75;
}

.forum-side-symbol {
  position: absolute;
  top: 19px;
  right: 20px;
  color: var(--forum-orange);
  font-size: 1.8rem;
}

.forum-stats-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.forum-stats-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.forum-stats-card dt {
  color: var(--forum-text);
  font-size: .8rem;
}

.forum-stats-card dd {
  margin: 0;
  color: var(--forum-text);
  font-size: .82rem;
  font-weight: 800;
}

.forum-contributors-card ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.forum-contributors-card li {
  display: grid;
  grid-template-columns: 40px 1fr 27px;
  gap: 10px;
  align-items: center;
}

.forum-contributors-card .forum-avatar {
  width: 40px;
  height: 40px;
}

.forum-contributors-card li span,
.forum-contributors-card li strong,
.forum-contributors-card li small { display: block; }
.forum-contributors-card li strong { color: var(--forum-text); font-size: .8rem; }
.forum-contributors-card li small { color: var(--forum-subtle); font-size: .7rem; }
.forum-contributors-card li > b { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--forum-orange); color: #fff; font-size: .78rem; }

.forum-rules-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.forum-rules-card li {
  position: relative;
  padding-left: 22px;
  color: var(--forum-text);
  font-size: .75rem;
  line-height: 1.5;
}

.forum-rules-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forum-orange);
  font-weight: 900;
}

.forum-compose-dialog {
  width: min(calc(100% - 32px), 680px);
  max-height: min(88vh, 800px);
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--forum-border);
  border-radius: 15px;
  background: var(--forum-card);
  color: var(--forum-text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.forum-compose-dialog::backdrop { background: rgba(7, 16, 29, .72); backdrop-filter: blur(3px); }

.forum-dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.forum-dialog-heading h2 {
  margin: 0;
  color: var(--forum-text);
  font-family: inherit;
}

.forum-dialog-heading button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--forum-border);
  border-radius: 50%;
  background: var(--forum-card);
  color: var(--forum-text);
  cursor: pointer;
  font-size: 1.5rem;
}

.forum-compose-dialog .forum-form input,
.forum-compose-dialog .forum-form textarea {
  border-color: var(--forum-border);
  background: var(--forum-card);
  color: var(--forum-text);
}

.forum-verse-footer {
  display: flex;
  width: min(calc(100% - 32px), 1370px);
  min-height: 58px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--forum-text);
  text-align: center;
}

.forum-verse-footer span { color: var(--forum-orange); font-size: 2rem; }
.forum-verse-footer p { margin: 0; font-size: .78rem; }
.forum-notice-ok,
.forum-notice-error { margin: 0 0 14px; }

@media (max-width: 1180px) {
  .forum-page .main-nav a { padding-inline: 8px; font-size: .82rem; }
  .forum-brand img { width: 175px; }
  .forum-header-profile span { display: none; }
  .forum-header-actions { gap: 6px; }
  .forum-dashboard-grid { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 960px) {
  .forum-dashboard-grid { grid-template-columns: 1fr; }
  .forum-dashboard-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forum-intro-card { grid-column: 1 / -1; }
  .forum-category-card { min-height: 205px; }
}

@media (max-width: 760px) {
  .forum-page .header-row { min-height: 64px; }
  .forum-brand img { width: 150px; height: 48px; }
  .forum-header-login { display: none; }
  .forum-notification-toggle { width: 40px; height: 40px; }
  .forum-notification-panel { position: fixed; top: 68px; right: 10px; left: 10px; width: auto; max-height: calc(100vh - 78px); }
  .forum-notification-list { max-height: calc(100vh - 190px); }
  .forum-dashboard { padding-top: 12px; }
  .forum-dashboard-shell { width: min(calc(100% - 20px), 1370px); }
  .forum-welcome { min-height: 315px; }
  .forum-welcome img { inset: auto 0 0; width: 100%; height: 62%; }
  .forum-welcome::after { background: linear-gradient(180deg, var(--forum-cream) 0%, var(--forum-cream) 37%, color-mix(in srgb, var(--forum-cream) 72%, transparent) 54%, transparent 77%); }
  .forum-welcome-copy { width: 100%; padding: 24px; }
  .forum-welcome-copy p { max-width: 92%; font-size: .86rem; line-height: 1.55; }
  .forum-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .forum-category-card { min-height: 180px; padding: 14px 10px; }
  .forum-category-icon { width: 52px; height: 52px; }
  .forum-category-card strong { font-size: .9rem; }
  .forum-category-card > span:not(.forum-category-icon) { font-size: .74rem; }
  .forum-feed-header { align-items: flex-start; flex-direction: column; }
  .forum-feed-header .forum-orange-button { width: 100%; }
  .forum-feed-tools { align-items: stretch; flex-direction: column; padding: 10px 14px; }
  .forum-feed-filters { width: 100%; gap: 0; justify-content: space-between; }
  .forum-feed-filters button { padding: 10px 4px; font-size: .7rem; }
  .forum-category-select select { width: 100%; max-width: none; }
  .forum-topic-list { padding-inline: 14px; }
  .forum-topic > summary { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .forum-topic .forum-avatar { width: 40px; height: 40px; }
  .forum-topic-stats { grid-column: 2; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .forum-topic-stats b { margin: 0; }
  .forum-topic-expanded { padding: 0 0 20px; }
  .forum-official-avatar { width: 44px; height: 44px; }
  .forum-official-author { gap: 10px; }
  .forum-official-author strong { align-items: flex-start; font-size: .94rem; }
  .forum-verified-badge { width: 18px; height: 18px; margin-top: 1px; }
  .forum-official-answer > p:last-child { margin-left: 0; }
  .forum-dashboard-sidebar { grid-template-columns: 1fr; }
  .forum-intro-card { grid-column: auto; }
  .forum-verse-footer { padding: 16px 0; align-items: flex-start; gap: 10px; }
  .forum-verse-footer p { line-height: 1.5; }
}

@media (max-width: 430px) {
  .forum-brand img { width: 130px; }
  .forum-header-profile { display: none; }
  .forum-category-grid { grid-template-columns: 1fr; }
  .forum-category-card { min-height: 160px; }
  .forum-welcome { min-height: 350px; }
  .forum-compose-dialog { padding: 19px; }
}

/* Correcao final do forum: impede qualquer estouro lateral e mantem login visivel. */
html:has(.forum-page),
body.forum-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.forum-page *,
.forum-page *::before,
.forum-page *::after {
  box-sizing: border-box;
}

.forum-page .site-header,
.forum-page .forum-dashboard,
.forum-page .forum-dashboard-shell,
.forum-page .forum-dashboard-grid,
.forum-page .forum-dashboard-main,
.forum-page .forum-dashboard-sidebar {
  max-width: 100%;
  min-width: 0;
}

.forum-page .header-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  width: min(calc(100% - 32px), 1320px);
  max-width: 1320px;
  margin-inline: auto;
  gap: 12px;
}

.forum-page .main-nav {
  width: 100%;
  min-width: 0;
  gap: 2px;
  justify-content: center;
}

.forum-page .main-nav a {
  min-width: 0;
  padding-inline: clamp(6px, .65vw, 10px);
  font-size: clamp(.73rem, .78vw, .85rem);
}

.forum-page .forum-header-actions {
  min-width: max-content;
  justify-self: end;
}

.forum-page .forum-header-login {
  min-width: 68px;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
}

.forum-dashboard-shell {
  width: min(calc(100% - 32px), 1320px);
  max-width: 1320px;
}

.forum-dashboard-grid {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 300px);
}

.forum-welcome {
  display: grid;
  grid-template-columns: minmax(285px, 36%) minmax(0, 1fr);
  min-height: 205px;
  isolation: isolate;
}

.forum-welcome::after {
  display: none;
}

.forum-welcome-copy {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-width: 0;
  padding: 28px 30px;
  background: var(--forum-cream);
}

.forum-welcome h1 {
  font-size: clamp(1.7rem, 2.25vw, 2.2rem);
}

.forum-welcome p {
  font-size: .91rem;
  line-height: 1.7;
}

.forum-welcome img {
  position: static;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: center;
}

.forum-category-grid,
.forum-feed,
.forum-side-card,
.forum-notice-ok,
.forum-notice-error {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 1240px) {
  .forum-page .header-row {
    grid-template-columns: 178px minmax(0, 1fr) auto;
  }

  .forum-brand img {
    width: 175px;
  }

  .forum-page .search-shortcut {
    display: none;
  }

  .forum-page .main-nav a {
    padding-inline: 6px;
    font-size: .73rem;
  }
}

/* Composicao exata da referencia: branco real a esquerda e foto apenas a direita. */
@media (min-width: 761px) {
  .forum-page .forum-welcome {
    min-height: 205px;
    border-color: #eee7df;
    background: #fffaf4;
  }

  .forum-page .forum-welcome img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 27%;
    width: 73%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .forum-page .forum-welcome::after {
    background: linear-gradient(
      90deg,
      #fffaf4 0%,
      #fffaf4 28%,
      rgba(255, 250, 244, .99) 31%,
      rgba(255, 250, 244, .94) 34%,
      rgba(255, 250, 244, .78) 38%,
      rgba(255, 250, 244, .52) 42%,
      rgba(255, 250, 244, .25) 46%,
      rgba(255, 250, 244, .08) 50%,
      transparent 54%
    );
  }

  .forum-page .forum-welcome-copy {
    width: 37%;
    min-width: 285px;
    padding: 27px 30px;
  }

  .forum-page .forum-welcome h1 {
    margin-bottom: 13px;
    font-size: clamp(1.72rem, 2.2vw, 2.18rem);
  }

  .forum-page .forum-welcome p {
    max-width: 315px;
    font-size: .9rem;
    line-height: 1.68;
  }
}

@media (min-width: 761px) {
  .forum-page .forum-welcome img {
    left: 27%;
    width: 73%;
  }
}

@media (max-width: 1040px) {
  .forum-page .header-row {
    display: flex;
    width: min(calc(100% - 24px), 1000px);
  }

  .forum-page .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .forum-page .main-nav::-webkit-scrollbar {
    display: none;
  }

  .forum-page .forum-header-login {
    display: inline-flex;
  }

  .forum-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

@media (max-width: 960px) {
  .forum-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .forum-dashboard-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .forum-page .header-row {
    width: min(calc(100% - 20px), 720px);
  }

  .forum-page .forum-header-login {
    display: none;
  }

  .forum-dashboard-shell {
    width: calc(100% - 20px);
  }

  .forum-welcome {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .forum-welcome-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 22px;
  }

  .forum-welcome img {
    position: static;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
  }

  .forum-dashboard-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Banner do forum: composicao integrada igual a referencia, sem corte entre texto e foto. */
@media (min-width: 761px) {
  .forum-page .forum-welcome {
    display: block;
    min-height: 205px;
    background: var(--forum-cream);
  }

  .forum-page .forum-welcome img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .forum-page .forum-welcome::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      90deg,
      var(--forum-cream) 0%,
      var(--forum-cream) 25%,
      color-mix(in srgb, var(--forum-cream) 96%, transparent) 31%,
      color-mix(in srgb, var(--forum-cream) 76%, transparent) 38%,
      color-mix(in srgb, var(--forum-cream) 28%, transparent) 46%,
      transparent 56%
    );
    pointer-events: none;
  }

  .forum-page .forum-welcome-copy {
    position: relative;
    z-index: 2;
    width: 39%;
    min-width: 285px;
    padding: 28px 30px;
    background: transparent;
  }
}

/* Aparencia solicitada: area branca fixa que se dissolve sobre a foto. */
@media (min-width: 761px) {
  .forum-page .forum-welcome {
    background: #fffaf4;
  }

  .forum-page .forum-welcome::after {
    background: linear-gradient(
      90deg,
      #fffaf4 0%,
      #fffaf4 29%,
      rgba(255, 250, 244, .99) 34%,
      rgba(255, 250, 244, .92) 39%,
      rgba(255, 250, 244, .70) 45%,
      rgba(255, 250, 244, .36) 52%,
      rgba(255, 250, 244, .10) 59%,
      rgba(255, 250, 244, 0) 65%
    );
  }

  .forum-page .forum-welcome-copy,
  .forum-page .forum-welcome h1,
  .forum-page .forum-welcome p {
    color: #101726;
  }

  .forum-page .forum-welcome-copy {
    width: 40%;
  }
}

@media (max-width: 760px) {
  .forum-page .forum-welcome-copy {
    background: #fffaf4;
  }

  .forum-page .forum-welcome h1,
  .forum-page .forum-welcome p {
    color: #101726;
  }
}

/* Regra definitiva: mantida por ultimo para nenhuma regra antiga sobrescrever. */
@media (min-width: 761px) {
  .forum-page .forum-welcome {
    display: block;
    min-height: 205px;
    overflow: hidden;
    border-color: #eee7df;
    background: #fffaf4;
  }

  .forum-page .forum-welcome img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 27%;
    z-index: 0;
    width: 73%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .forum-page .forum-welcome::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      90deg,
      #fffaf4 0%,
      #fffaf4 23%,
      rgba(255, 250, 244, .96) 26%,
      rgba(255, 250, 244, .78) 29%,
      rgba(255, 250, 244, .52) 32%,
      rgba(255, 250, 244, .28) 35%,
      rgba(255, 250, 244, .10) 39%,
      transparent 43%
    );
    pointer-events: none;
  }

  .forum-page .forum-welcome-copy {
    position: relative;
    z-index: 2;
    width: 37%;
    min-width: 285px;
    padding: 27px 30px;
    background: transparent;
    color: #101726;
  }

  .forum-page .forum-welcome h1,
  .forum-page .forum-welcome p {
    color: #101726;
  }

  .forum-page .forum-welcome h1 {
    margin-bottom: 13px;
    font-size: clamp(1.72rem, 2.2vw, 2.18rem);
  }

  .forum-page .forum-welcome p {
    max-width: 315px;
    font-size: .9rem;
    line-height: 1.68;
  }
}

/* Banner final fornecido pelo usuario: exibe a arte exatamente como no print 2. */
@media (min-width: 761px) {
  .forum-page .forum-welcome {
    display: block;
    width: 100%;
    height: 205px;
    min-height: 205px;
    aspect-ratio: auto;
    overflow: hidden;
    border-color: #eee7df;
    background: #fffaf4;
  }

  .forum-page .forum-welcome img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
  }

  .forum-page .forum-welcome::after {
    display: none;
  }

  .forum-page .forum-banner-semantic-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* Home: usa o mesmo banner panoramico e a mesma proporcao do forum. */
.hero {
  padding-top: 250px;
}

/* Formulario do forum: painel solido, centralizado e responsivo. */
html.forum-dialog-open,
html.forum-dialog-open body {
  overflow: hidden;
}

.forum-page #participar {
  scroll-margin-top: 92px;
}

.forum-page .forum-compose-dialog[open] {
  display: block;
  position: fixed;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  z-index: 9999;
  width: min(680px, calc(100vw - 32px));
  max-width: 680px;
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 26px;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translate(-50%, -50%);
  border: 1px solid #d8dee8;
  border-radius: 16px;
  background: #ffffff;
  color: #101726;
  opacity: 1;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
  overscroll-behavior: contain;
}

.forum-page .forum-compose-dialog::backdrop {
  background: rgba(7, 16, 29, .68);
  backdrop-filter: blur(5px);
}

.forum-page .forum-compose-dialog h2,
.forum-page .forum-compose-dialog p,
.forum-page .forum-compose-dialog label {
  color: #101726;
}

.forum-page .forum-compose-dialog .eyebrow {
  color: #b86900;
}

.forum-page .forum-compose-dialog .forum-form input,
.forum-page .forum-compose-dialog .forum-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 13px 14px;
  border: 1px solid #b9c3d1;
  border-radius: 10px;
  background: #ffffff;
  color: #101726;
  opacity: 1;
  font: inherit;
}

.forum-page .forum-compose-dialog .forum-form input::placeholder,
.forum-page .forum-compose-dialog .forum-form textarea::placeholder {
  color: #778292;
  opacity: 1;
}

.forum-page .forum-compose-dialog .forum-form {
  display: grid;
  gap: 15px;
}

.forum-page .forum-compose-dialog .forum-orange-button {
  width: 100%;
  min-height: 46px;
}

[data-theme="dark"] .forum-page .forum-compose-dialog[open] {
  border-color: #34465d;
  background: #102033;
  color: #f7f4ec;
}

[data-theme="dark"] .forum-page .forum-compose-dialog h2,
[data-theme="dark"] .forum-page .forum-compose-dialog p,
[data-theme="dark"] .forum-page .forum-compose-dialog label {
  color: #f7f4ec;
}

[data-theme="dark"] .forum-page .forum-compose-dialog .forum-form input,
[data-theme="dark"] .forum-page .forum-compose-dialog .forum-form textarea {
  border-color: #50627a;
  background: #0b192a;
  color: #ffffff;
}

[data-theme="dark"] .forum-page .forum-compose-dialog .forum-form input::placeholder,
[data-theme="dark"] .forum-page .forum-compose-dialog .forum-form textarea::placeholder {
  color: #aab6c5;
}

@media (max-width: 620px) {
  .forum-page #participar {
    scroll-margin-top: 74px;
  }

  .forum-page .forum-compose-dialog[open] {
    top: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 18px;
    transform: translateX(-50%);
    border-radius: 12px;
  }

  .forum-page .forum-dialog-heading {
    gap: 10px;
  }

  .forum-page .forum-dialog-heading h2 {
    font-size: 1.45rem;
  }
}

.hero::after {
  top: 230px;
}

.hero::before {
  top: 18px;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(calc(100% - 32px), 1000px);
  height: auto;
  aspect-ratio: 1983 / 406;
  transform: translateX(-50%);
  border-radius: 14px;
  background-image: url("banner-forum-205px-sem-corte-v9.webp") !important;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 1;
}

@media (max-width: 1032px) {
  .hero {
    padding-top: calc(((100vw - 32px) * 406 / 1983) + 62px);
  }

  .hero::after {
    top: calc(((100vw - 32px) * 406 / 1983) + 26px);
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: calc(((100vw - 22px) * 406 / 1983) + 48px);
  }

  .hero::before {
    top: 12px;
    width: calc(100% - 22px);
    height: auto;
    aspect-ratio: 1983 / 406;
    border-radius: 10px;
    background-image: url("banner-forum-205px-sem-corte-v9.webp") !important;
    background-position: center;
    background-size: 100% 100%;
  }

  .hero::after {
    top: calc(((100vw - 22px) * 406 / 1983) + 18px);
  }
}

/* Prioridade final da home: substitui o banner antigo em pseudo-elemento. */
.hero.home-account-hero {
  padding: 24px 0 74px;
  background: var(--paper);
  color: var(--ink);
}

.hero.home-account-hero::before,
.hero.home-account-hero::after {
  display: none !important;
}

.hero.home-account-hero > .container {
  display: block;
  width: min(calc(100% - 64px), 1324px);
}

.home-account-hero .home-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  column-gap: clamp(64px, 10vw, 150px);
  row-gap: 14px;
  align-items: center;
}

.home-account-hero .home-hero-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.home-account-hero .home-hero-copy .button-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

body.dark-theme .hero.home-account-hero {
  background: var(--paper);
  color: var(--ink);
}

body.dark-theme .home-account-hero .home-hero-copy > p:not(.eyebrow) {
  color: #e5ebf2;
}

body.dark-theme .home-account-hero .home-hero-copy .button-ghost {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.home-account-hero .home-hero-copy .eyebrow { grid-column: 1; grid-row: 1; }
.home-account-hero .home-hero-copy h1 { grid-column: 1; grid-row: 2 / span 2; }
.home-account-hero .home-hero-copy > p:not(.eyebrow) { grid-column: 2; grid-row: 1 / span 2; }
.home-account-hero .home-hero-copy .hero-actions { grid-column: 2; grid-row: 3; }

@media (max-width: 980px) {
  .hero.home-account-hero { padding: 18px 0 64px; }
  .hero.home-account-hero > .container { width: min(calc(100% - 32px), 1160px); }
  .home-account-hero .home-hero-copy { grid-template-columns: 1fr; row-gap: 14px; }
  .home-account-hero .home-hero-copy .eyebrow,
  .home-account-hero .home-hero-copy h1,
  .home-account-hero .home-hero-copy > p:not(.eyebrow),
  .home-account-hero .home-hero-copy .hero-actions { grid-column: 1; grid-row: auto; }
  .home-account-hero .home-hero-copy h1 { font-size: clamp(2.5rem, 8vw, 4.4rem); }
  .home-header-account span { display: none; }
}

@media (max-width: 620px) {
  .hero.home-account-hero { padding: 12px 0 52px; }
  .home-account-hero .home-hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
  .home-account-hero .home-hero-copy .hero-actions { display: grid; grid-template-columns: 1fr; }
}

/* Card de conta da home: replica exatamente o card de conta do Forum.
   A especificidade evita que as regras tipograficas do hero alterem o componente. */
.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card {
  position: relative;
  display: block;
  align-self: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 21px 22px;
  border: 1px solid var(--forum-border);
  border-radius: 12px;
  background: var(--forum-card);
  color: var(--forum-text);
  box-shadow: 0 10px 28px rgba(36, 43, 54, .12);
}

[data-theme="dark"] .hero.home-account-hero .home-banner-account-grid > .home-forum-account-card {
  border-color: #2a3d54;
  background: #102033;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

[data-theme="light"] .hero.home-account-hero .home-banner-account-grid > .home-forum-account-card {
  border-color: #e2e5ea;
  background: #fff;
  box-shadow: 0 12px 30px rgba(36, 43, 54, .12);
}

.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card h2 {
  margin: 0 0 13px;
  padding: 0;
  color: var(--forum-text);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
}

.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card h2 strong {
  color: inherit;
  font-weight: inherit;
}

.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card > p,
body.dark-theme .hero.home-account-hero .home-banner-account-grid > .home-forum-account-card > p {
  display: block;
  margin: .83rem 0;
  padding: 0;
  color: var(--forum-text);
  font-family: inherit;
  font-size: .83rem;
  font-weight: 400;
  line-height: 1.75;
}

.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card .forum-side-symbol {
  top: 19px;
  right: 20px;
  color: var(--forum-text);
}

.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card .forum-google-login-button {
  margin: 0;
}

.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card.is-account-logged-in h2 {
  display: block;
  min-height: 0;
  margin: 1px 0 2px;
  padding-left: 54px;
  line-height: 1.35;
}

.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card.is-account-logged-in .home-login-avatar {
  top: 21px;
  right: auto;
  left: 22px;
  border: 2px solid var(--forum-orange);
  border-radius: 50%;
  object-fit: cover;
}

.home-account-status {
  display: block;
  margin: 0 0 10px;
  padding-left: 54px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}

.hero.home-account-hero .home-banner-account-grid > .home-forum-account-card.is-account-logged-in > p {
  margin-top: 0;
}

.home-account-status[hidden],
.home-account-actions [data-account-action][hidden] {
  display: none !important;
}

.home-account-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.home-account-logout[hidden] {
  display: none !important;
}

.home-account-logout {
  min-height: 44px;
  justify-content: center;
}

body.dark-theme .home-account-logout {
  background: #f2f3f5;
  color: #182033;
}

@media (max-width: 980px) {
  .hero.home-account-hero .home-banner-account-grid > .home-forum-account-card {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .home-account-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-account-actions .forum-google-login-button,
  .home-account-actions .forum-soft-button {
    width: 100%;
  }

  .home-header-account { display: none !important; }
}

.home-notification-shortcut {
  position: relative;
  text-decoration: none;
}

.home-notification-shortcut[hidden] { display: none !important; }

.home-notification-shortcut b {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: #e97800;
  color: #fff;
  font-size: .68rem;
  line-height: 1;
  place-items: center;
}

.home-reading-resume {
  position: relative;
  z-index: 5;
  margin-top: -42px;
  padding: 0 0 34px;
}

.home-reading-resume[hidden] { display: none !important; }
.home-reading-resume:not([hidden]) + .search-panel { margin-top: 0; }

.home-reading-resume > .container {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 38px color-mix(in srgb, var(--navy) 12%, transparent);
}

.home-reading-resume-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.home-reading-resume-heading .eyebrow { margin-bottom: 5px; }
.home-reading-resume-heading h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.home-reading-resume-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }

.home-reading-resume-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-reading-resume-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 112px;
  overflow: hidden;
  padding: 17px 18px 22px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 93%, var(--gold-light));
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-reading-resume-card:hover {
  border-color: color-mix(in srgb, var(--gold) 72%, var(--line));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--navy) 11%, transparent);
  transform: translateY(-2px);
}

.home-reading-resume-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-light);
  place-items: center;
  font-size: 1.2rem;
}

.home-reading-resume-copy,
.home-reading-resume-copy small,
.home-reading-resume-copy strong,
.home-reading-resume-copy > span { display: block; min-width: 0; }
.home-reading-resume-copy small { color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.home-reading-resume-copy strong { margin-top: 3px; overflow: hidden; font-size: .94rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.home-reading-resume-copy > span { margin-top: 5px; color: var(--gold-dark); font-size: .78rem; font-weight: 800; }

.home-reading-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: color-mix(in srgb, var(--line) 78%, transparent);
}

.home-reading-progress i {
  display: block;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.explanation-library-tools {
  margin: 0 0 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--navy) 9%, transparent);
}

.explanation-library-controls {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(260px, 1.3fr);
  gap: 14px;
}

.explanation-library-controls label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
}

.explanation-library-controls select,
.explanation-library-controls input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.explanation-library-status {
  margin-top: 14px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.explanation-library-missing {
  margin-top: 10px;
  padding: 11px 13px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: color-mix(in srgb, var(--gold-light) 28%, var(--surface));
  color: var(--ink);
  font-size: .82rem;
  line-height: 1.5;
}

.explanation-library-missing[hidden],
.explanation-grid .explanation-card[hidden] { display: none !important; }

.explanation-chapter-selector {
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, var(--gold-light)), var(--surface));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--navy) 9%, transparent);
}

.explanation-chapter-selector-heading {
  margin-bottom: 15px;
}

.explanation-chapter-selector-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.explanation-chapter-selector-form {
  display: grid;
  grid-template-columns: minmax(170px, .65fr) minmax(280px, 1.35fr) auto;
  gap: 12px;
  align-items: end;
}

.explanation-chapter-selector-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
}

.explanation-chapter-selector-form select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.explanation-chapter-selector-form .button {
  min-height: 46px;
}

.explanation-sequence-navigation {
  display: grid;
  margin: 30px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.explanation-sequence-navigation a {
  display: grid;
  min-width: 0;
  min-height: 86px;
  padding: 14px 16px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.explanation-sequence-navigation a:hover {
  border-color: var(--gold);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--navy) 10%, transparent);
}

.explanation-sequence-navigation .is-previous { grid-column: 1; }
.explanation-sequence-navigation .is-index { grid-column: 2; text-align: center; }
.explanation-sequence-navigation .is-next { grid-column: 3; text-align: right; }
.explanation-sequence-navigation span { color: var(--gold-dark); font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.explanation-sequence-navigation strong { margin-top: 5px; overflow: hidden; font-size: .86rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }

.forum-content-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.forum-report-button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  padding: 5px 2px;
}

.forum-report-button:hover,
.forum-report-button:focus-visible {
  color: #b42318;
}

.forum-report-dialog {
  width: min(94vw, 560px);
}

.forum-report-dialog select {
  width: 100%;
}

.forum-protection-status {
  display: grid;
  margin: 0 0 14px;
  padding: 12px 14px;
  gap: 3px;
  border: 1px solid color-mix(in srgb, #22c55e 42%, var(--forum-border));
  border-radius: 12px;
  background: color-mix(in srgb, #22c55e 10%, var(--forum-card));
}

.forum-protection-status strong { color: #22a35a; }
.forum-protection-status span { color: var(--forum-subtle); font-size: .8rem; line-height: 1.45; }

.home-reading-resume-card.is-empty { border-style: dashed; }

@media (max-width: 760px) {
  .home-reading-resume { margin-top: -28px; padding-bottom: 24px; }
  .home-reading-resume > .container { width: min(calc(100% - 20px), 1160px); padding: 19px; }
  .home-reading-resume-heading { display: block; }
  .home-reading-resume-heading > p { margin-top: 8px; }
  .home-reading-resume-grid { grid-template-columns: 1fr; }
  .home-reading-resume-card { min-height: 106px; }
  .explanation-library-tools { padding: 16px; }
  .explanation-library-controls { grid-template-columns: 1fr; }
  .explanation-chapter-selector { padding: 16px; }
  .explanation-chapter-selector-form { grid-template-columns: 1fr; }
  .explanation-chapter-selector-form .button { width: 100%; }
  .explanation-sequence-navigation { grid-template-columns: 1fr; }
  .explanation-sequence-navigation .is-previous,
  .explanation-sequence-navigation .is-index,
  .explanation-sequence-navigation .is-next { grid-column: 1; text-align: left; }
  .explanation-sequence-navigation .is-index { order: 3; }
  .forum-report-button { min-height: 44px; }
}

/* Leitor de texto em voz alta - somente capitulos biblicos e explicacoes. */
.text-reader {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--gold) 58%, var(--line));
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, var(--gold-light)), var(--surface));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--navy) 10%, transparent);
}

.text-reader-heading,
.text-reader-controls,
.text-reader-progress-row {
  display: flex;
  align-items: center;
}

.text-reader-heading {
  gap: 12px;
  margin-bottom: 14px;
}

.text-reader-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #101820;
  font-size: 1.2rem;
}

.text-reader-heading strong,
.text-reader-heading small {
  display: block;
}

.text-reader-heading strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.text-reader-heading small {
  margin-top: 1px;
  color: var(--muted);
  font-size: .82rem;
}

.text-reader-controls {
  flex-wrap: wrap;
  gap: 9px;
}

.text-reader-controls button,
.text-reader-rate {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.text-reader-controls button {
  padding: 9px 14px;
  cursor: pointer;
}

.text-reader-controls button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.text-reader-controls .text-reader-play {
  border-color: var(--gold);
  background: var(--gold);
  color: #101820;
}

.text-reader-rate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 5px 4px 12px;
}

.text-reader-rate select {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--ink);
}

.text-reader-progress-row {
  gap: 12px;
  margin-top: 14px;
}

.text-reader-progress-row progress {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  accent-color: var(--gold);
}

.text-reader-progress-row span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.text-reader-status {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.neural-audio-reader audio {
  display: block;
  width: 100%;
  min-height: 54px;
  margin: 4px 0 12px;
}

.neural-audio-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.neural-audio-options > span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
}

.neural-audio-disclosure {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: .76rem;
}

.verse.is-reading-current,
.article-body .is-reading-current {
  border-radius: 10px;
  background: color-mix(in srgb, var(--gold-light) 24%, var(--surface-soft));
  outline: 2px solid color-mix(in srgb, var(--gold) 72%, transparent);
  outline-offset: 3px;
}

.article-body .is-reading-current {
  padding: 5px 8px;
}

@media (max-width: 620px) {
  .text-reader {
    margin-bottom: 22px;
    padding: 15px;
  }

  .text-reader-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .text-reader-controls .text-reader-play,
  .text-reader-rate {
    grid-column: 1 / -1;
  }

  .text-reader-controls button,
  .text-reader-rate {
    width: 100%;
    justify-content: center;
  }

  .neural-audio-options {
    align-items: stretch;
    flex-direction: column;
  }

  .neural-audio-options .text-reader-rate {
    width: 100%;
  }
}

.editorial-verification {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid color-mix(in srgb, var(--accent, #b86b00) 35%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface, #fffdf8) 92%, #f4c45f 8%);
}

.editorial-verification--primary-source-pending {
  border-left: 5px solid #a45100;
}

.editorial-verification h2 {
  margin-top: .25rem;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
}

.editorial-verification ul {
  display: grid;
  gap: .75rem;
  padding-left: 1.2rem;
}

.editorial-verification li span {
  display: block;
  margin-top: .15rem;
  color: var(--muted, #626b78);
  font-size: .9rem;
}

.editorial-verification-date {
  margin-bottom: 0;
  color: var(--muted, #626b78);
  font-size: .86rem;
}

.footer-link-button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--gold);
}

.cookie-banner {
  position: fixed;
  z-index: 10000;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  left: max(14px, env(safe-area-inset-left));
  max-height: min(78vh, 580px);
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--gold));
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 22px 70px rgba(4, 18, 36, .28);
  color: var(--ink);
}

.cookie-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 26px);
}

.cookie-banner h2,
.cookie-modal h2 {
  margin: 2px 0 8px;
  color: var(--ink);
  font-size: clamp(1.22rem, 3vw, 1.55rem);
}

.cookie-banner p,
.cookie-modal p {
  margin-top: 0;
  color: var(--muted);
}

.cookie-banner p:last-child,
.cookie-modal p:last-child {
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button--primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #101820;
}

.cookie-button--secondary {
  background: var(--surface-soft);
  color: var(--ink);
}

.cookie-button:hover,
.cookie-button:focus-visible,
.cookie-modal__close:hover,
.cookie-modal__close:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 58%, transparent);
  outline-offset: 2px;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  overflow: auto;
  background: rgba(4, 18, 36, .66);
}

.cookie-preferences-open {
  overflow: hidden;
}

.cookie-modal {
  width: min(680px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 26px 90px rgba(0, 0, 0, .34);
  color: var(--ink);
}

.cookie-modal__header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.cookie-modal__close {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-choice-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.cookie-choice {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  cursor: pointer;
}

.cookie-choice strong,
.cookie-choice small {
  display: block;
}

.cookie-choice small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-choice input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  accent-color: var(--gold-dark, #a65d00);
}

.cookie-choice--required {
  cursor: default;
  opacity: .86;
}

.cookie-modal__links {
  font-size: .93rem;
}

.cookie-actions--modal {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .cookie-banner {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    max-height: min(84vh, 680px);
    border-radius: 15px;
  }

  .cookie-banner__content {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-actions .cookie-button {
    width: 100%;
  }

  .cookie-actions .cookie-button--primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .cookie-modal-overlay {
    align-items: end;
    padding: 8px;
  }

  .cookie-modal {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 12px 12px;
  }

  .cookie-actions--modal {
    grid-template-columns: 1fr;
  }

  .cookie-actions--modal .cookie-button--primary {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .cookie-actions .cookie-button--primary {
    grid-column: auto;
  }

  .cookie-banner p,
  .cookie-choice small {
    font-size: .9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-modal-overlay {
    scroll-behavior: auto;
  }
}

/* Aplicativo e leitura offline */
.pwa-home-section {
  padding: 0 0 38px;
}

.pwa-home-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 28px;
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 44%, var(--line));
  border-radius: var(--radius);
  background: var(--surface);
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--gold-light) 18%, transparent), transparent 38%),
    var(--surface);
  box-shadow: var(--shadow);
}

.pwa-home-intro h2,
.pwa-offline-library h3 {
  margin-top: 0;
}

.pwa-home-intro > p:not(.eyebrow) {
  max-width: 64ch;
}

.pwa-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 10px;
}

.pwa-install-help,
.pwa-status {
  margin: 8px 0 0;
  font-size: .94rem;
}

.pwa-install-guide {
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid color-mix(in srgb, var(--gold) 58%, var(--line));
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--ink);
}

.pwa-install-guide strong {
  display: block;
  margin-bottom: 7px;
}

.pwa-install-guide ol {
  margin: 0;
  padding-left: 22px;
}

.pwa-install-guide li + li {
  margin-top: 5px;
}

.pwa-status:empty {
  display: none;
}

.pwa-status[data-kind="success"] {
  color: var(--success);
  font-weight: 750;
}

.pwa-status[data-kind="warning"] {
  color: var(--gold);
  font-weight: 750;
}

.pwa-offline-library {
  align-self: start;
  width: 100%;
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-soft);
}

.pwa-offline-library h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pwa-offline-count {
  display: inline-grid;
  flex: 0 0 auto;
  min-width: 30px;
  min-height: 30px;
  place-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 850;
}

.pwa-offline-count[hidden] {
  display: none;
}

.pwa-offline-list {
  display: grid;
  gap: 10px;
  min-height: 0;
  max-height: 212px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  margin: 14px 0 0;
  padding: 0 6px 0 0;
  list-style: none;
}

.pwa-offline-list::-webkit-scrollbar {
  width: 8px;
}

.pwa-offline-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 68%, var(--line));
}

.pwa-offline-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.pwa-offline-list a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 780;
}

.pwa-offline-remove {
  min-width: 44px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.pwa-offline-remove:hover {
  border-color: var(--gold);
}

@media (max-width: 760px) {
  .pwa-home-section {
    padding-bottom: 26px;
  }

  .pwa-home-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .pwa-home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pwa-home-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .pwa-offline-library {
    padding: 18px;
  }

  .pwa-offline-list {
    max-height: 212px;
  }

  .pwa-offline-list li {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
