/* Tibet House Brasil — estilos das novas seções (v2.0). */

/* ---------- Menu suspenso ---------- */
.thb-drop { position: relative; display: inline-flex; padding-bottom: .75rem; margin-bottom: -.75rem; }
.thb-drop__trigger { display: inline-flex; align-items: center; gap: .35rem; }
.thb-drop__caret { transition: transform .2s ease; }
.thb-drop.is-open .thb-drop__caret { transform: rotate(180deg); }
.thb-drop__menu {
  position: absolute;
  top: calc(100% - .1rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 14rem;
  display: none;
  flex-direction: column;
  padding: .4rem;
  background: var(--card, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.08));
  border-radius: .5rem;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.35);
  z-index: 60;
}
.thb-drop:hover .thb-drop__menu,
.thb-drop:focus-within .thb-drop__menu,
.thb-drop.is-open .thb-drop__menu { display: flex; }
.thb-drop__menu a {
  padding: .6rem .75rem;
  font-size: .875rem;
  border-radius: .375rem;
  color: inherit;
  text-decoration: none;
}
.thb-drop__menu a:hover { background: var(--muted, #f4f2ee); color: var(--gold); }

/* ---------- Astrologia na home (duas colunas) ---------- */
.thb-astro-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .thb-astro-grid { grid-template-columns: 1fr 1fr; } }
.thb-astro-grid > div:first-child .thb-hoje { height: 100%; }
.thb-astro-consulta {
  display: flex;
  flex-direction: column;
  background: var(--card, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.08));
  border-radius: .625rem;
  padding: 1.5rem;
}
.thb-astro-consulta .thb-btn-row { margin-top: auto; padding-top: 1.5rem; }

/* ---------- Blocos genéricos ---------- */
.thb-section { max-width: 80rem; margin: 0 auto; padding: 4rem 1.5rem; }
.thb-section--tight { padding-top: 2.5rem; }
.thb-h2 { font-size: 2rem; line-height: 1.2; margin: 0 0 1rem; }
.thb-h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.thb-muted { color: var(--muted-foreground); line-height: 1.7; }
.thb-lead { font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.75; max-width: 62ch; }
.thb-prose { max-width: 68ch; line-height: 1.8; }
.thb-prose p { margin: 0 0 1.15rem; }
.thb-prose h2 { font-size: 1.6rem; margin: 2.25rem 0 .75rem; }
.thb-prose ul { margin: 0 0 1.15rem 1.1rem; list-style: disc; }
.thb-prose li { margin-bottom: .4rem; }

.thb-price-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: .625rem;
  overflow: hidden;
  font-size: .95rem;
}
.thb-price-table th,
.thb-price-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.thb-price-table th {
  background: var(--muted, #f4f2ee);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-foreground);
}
.thb-price-table td:last-child,
.thb-price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 500; color: var(--gold); }
.thb-price-table tbody tr:last-child td { border-bottom: none; }

.thb-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .thb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .thb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.thb-grid--2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .thb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cartões ---------- */
.thb-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.08));
  border-radius: .625rem;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.thb-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 20px 40px -30px rgba(0,0,0,.5); }
.thb-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.thb-card__img[src*="/noticia-"] { object-position: center 25%; }
.thb-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.thb-card__meta { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.thb-card__title { font-size: 1.35rem; margin: .5rem 0 .35rem; line-height: 1.25; }
.thb-card__text { font-size: .9rem; color: var(--muted-foreground); line-height: 1.65; margin: 0; }
.thb-card__link { margin-top: auto; padding-top: 1.25rem; font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }

/* ---------- Rolagem horizontal das atividades regulares ---------- */
.thb-rail-wrap { position: relative; }
.thb-rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.thb-rail > * { flex: 0 0 20rem; max-width: 20rem; scroll-snap-align: start; }
.thb-rail::-webkit-scrollbar { height: 6px; }
.thb-rail::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.thb-rail__nav { display: flex; gap: .5rem; margin-bottom: 1rem; }
.thb-rail__btn {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 999px; background: transparent; cursor: pointer;
}
.thb-rail__btn:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Botões ---------- */
.thb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.25rem;
  font-size: .875rem; font-weight: 500;
  border-radius: .375rem;
  background: var(--primary); color: var(--primary-foreground);
  border: 1px solid var(--primary);
  text-decoration: none; cursor: pointer;
  transition: opacity .2s ease;
}
.thb-btn:hover { opacity: .9; }
.thb-btn--outline { background: transparent; color: inherit; border-color: var(--border); }
.thb-btn--outline:hover { border-color: var(--gold); color: var(--gold); opacity: 1; }
.thb-btn--gold { background: var(--gold); border-color: var(--gold); color: var(--gold-foreground); }
.thb-btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Valores de doação ---------- */
.thb-amounts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.thb-amount {
  padding: .85rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--card);
  font-size: 1rem; font-weight: 500;
  cursor: pointer;
}
.thb-amount:hover { border-color: var(--gold); }
.thb-amount.is-active { border-color: var(--gold); background: var(--gold); color: var(--gold-foreground); }

/* ---------- Formulários ---------- */
.thb-form { max-width: 44rem; margin-top: 1rem; }
.thb-form[hidden] { display: none; }
.thb-fields { display: grid; gap: 1rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .thb-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.thb-field { display: flex; flex-direction: column; gap: .35rem; }
.thb-field--full { grid-column: 1 / -1; }
.thb-field label { font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); }
.thb-field input, .thb-field select, .thb-field textarea {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit; font-size: .9rem;
  background: var(--card);
  border: 1px solid var(--input, rgba(0,0,0,.12));
  border-radius: .375rem;
}
.thb-field input:focus, .thb-field select:focus, .thb-field textarea:focus { outline: none; border-color: var(--gold); }
.thb-field textarea { min-height: 7rem; resize: vertical; }
.thb-alert { padding: 1rem 1.25rem; border-radius: .5rem; margin-bottom: 1.5rem; font-size: .9rem; }
.thb-alert--ok { background: color-mix(in oklab, var(--forest) 12%, transparent); color: var(--forest); }
.thb-alert--erro { background: color-mix(in oklab, var(--crimson) 12%, transparent); color: var(--crimson); }

/* ---------- Pagamento ---------- */
.thb-pay {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center;
  padding: 1.75rem; margin-top: 2.5rem;
  border: 1px solid var(--border); border-radius: .75rem; background: var(--secondary);
}
.thb-pay__qr img { width: 200px; height: 200px; background: #fff; padding: .5rem; border-radius: .5rem; }
.thb-pay__info { flex: 1; min-width: 16rem; }
.thb-pay__info p { margin: .5rem 0 1rem; font-size: .9rem; }

/* ---------- Poster de evento / atividade ---------- */
.thb-poster { width: 100%; max-height: 34rem; object-fit: cover; border-radius: .75rem; border: 1px solid var(--border); }
/* Foto inteira, sem cortar (fotos em pe ou de qualquer proporcao), centralizada */
.thb-poster--inteira { display: block; width: auto; max-width: 100%; height: auto; max-height: 34rem; margin: 0 auto; object-fit: contain; }
.thb-poster-credito { margin: .6rem 0 0; text-align: center; font-size: .78rem; color: var(--muted-foreground); }
.thb-meta-list { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.75rem 0; font-size: .9rem; }
.thb-meta-list div span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .2rem; }

/* ---------- Diretor ---------- */
.thb-director { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .thb-director { grid-template-columns: 320px 1fr; } }
.thb-director img { width: 100%; border-radius: .75rem; object-fit: cover; }
/* Na home, a foto do diretor (recortada até o tórax) acompanha a altura do texto: do rótulo "Direção" até a base dos botões. */
@media (min-width: 900px) {
  .thb-director--alinhado { align-items: stretch; }
  .thb-director--alinhado > img { height: 0; min-height: 100%; object-position: center 20%; }
}

/* ---------- Listas simples ---------- */
.thb-list { display: grid; gap: 0; border: 1px solid var(--border); border-radius: .625rem; overflow: hidden; }
.thb-list a { display: block; padding: 1.25rem 1.5rem; text-decoration: none; color: inherit; border-bottom: 1px solid var(--border); background: var(--card); }
.thb-list a:last-child { border-bottom: 0; }
.thb-list a:hover { background: var(--muted); }
.thb-list__meta { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.thb-list__title { font-size: 1.15rem; margin: .25rem 0 .2rem; }

/* ---------- Dia de hoje (calendário astrológico tibetano) ---------- */
.thb-hoje {
  display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: .75rem; background: var(--card);
}
.thb-hoje--auspicioso { border-left-color: var(--gold); }
.thb-hoje--neutro { border-left-color: var(--muted-foreground); }
.thb-hoje--desfavoravel { border-left-color: var(--crimson); }
.thb-hoje__selo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 5.5rem; height: 5.5rem; flex: none;
  border-radius: 999px; background: var(--secondary); border: 1px solid var(--border);
}
.thb-hoje__tse { font-size: 1.9rem; line-height: 1; font-weight: 600; }
.thb-hoje__tse-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-foreground); margin-top: .3rem; }
.thb-hoje__corpo { flex: 1; min-width: 16rem; }
.thb-hoje__data { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.thb-hoje__titulo { font-size: 1.5rem; margin: .35rem 0 .5rem; }
.thb-hoje__texto { margin: 0 0 .6rem; line-height: 1.7; }
.thb-hoje__meta { margin: 0 0 .6rem; font-size: .85rem; color: var(--muted-foreground); }
.thb-hoje__citacao { margin: 0 0 .9rem; padding: .75rem 1rem; border-left: 2px solid var(--border); font-style: italic; line-height: 1.6; color: var(--muted-foreground); }
.thb-hoje__citacao-autor { display: block; margin-top: .35rem; font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.thb-hoje__periodo { margin: 0 0 1rem; font-size: .78rem; color: var(--muted-foreground); }
.thb-hoje--indisponivel { border-left-color: var(--muted-foreground); }

/* ---------- Calendário astrológico (Men-Tsee-Khang) ---------- */
.thb-dot { display: inline-block; width: .65rem; height: .65rem; border-radius: 999px; margin-right: .35rem; }
.thb-dot--auspicioso { background: var(--gold); }
.thb-dot--neutro { background: var(--muted-foreground); }
.thb-dot--desfavoravel { background: var(--crimson); }
.thb-cal-legenda { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: .8rem; color: var(--muted-foreground); }
.thb-cal-legenda__lunar { display: inline-block; min-width: 1.1rem; margin-right: .25rem; font-size: .68rem; text-align: center; border: 1px solid var(--border); border-radius: 3px; }

.thb-hoje__classe { margin: 0 0 .75rem; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.thb-hoje__classe--auspiciosa { color: var(--gold); }
.thb-hoje__classe--inauspiciosa { color: var(--crimson); }
.thb-hoje__classe--mista { color: var(--muted-foreground); }
.thb-hoje__evento { margin: 0 0 .75rem; padding: .6rem .9rem; border-left: 2px solid var(--gold); border-radius: 0 .375rem .375rem 0; background: var(--secondary); font-size: .92rem; line-height: 1.6; }

.thb-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .25rem 0 .9rem; }
.thb-chip {
  display: inline-block; padding: .2rem .65rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--secondary); color: var(--foreground);
  font-size: .68rem; letter-spacing: .07em; text-transform: uppercase;
}
.thb-chip--auspiciosa, .thb-chip--sojong, .thb-chip--naga, .thb-chip--lua-cheia, .thb-chip--lua-nova { border-color: var(--gold); background: transparent; color: var(--gold); }
.thb-chip--inauspiciosa, .thb-chip--ruim { border-color: var(--crimson); background: transparent; color: var(--crimson); }

.thb-lua { display: inline-block; width: .8rem; height: .8rem; margin-right: .25rem; border: 1.5px solid var(--foreground); border-radius: 999px; vertical-align: -1px; }
.thb-lua--cheia { background: transparent; }
.thb-lua--nova { background: var(--foreground); }
.thb-sigla {
  display: inline-block; min-width: 1rem; padding: 0 .2rem; border-radius: 3px;
  font-size: .6rem; font-weight: 700; line-height: 1rem; text-align: center; color: var(--gold-foreground, #fff);
}
.thb-sigla--sojong { background: var(--gold); }
.thb-sigla--naga { background: var(--primary); color: var(--primary-foreground); }
.thb-sigla--evento { background: transparent; color: var(--gold); font-size: .8rem; }
.thb-sigla--ruim { background: var(--crimson); color: #fff; }

.thb-mcal-meses { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.25rem; }
.thb-mcal-meses__item {
  padding: .45rem .95rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); color: inherit; font-size: .85rem; text-decoration: none;
}
.thb-mcal-meses__item:hover { border-color: var(--gold); color: var(--gold); }
.thb-mcal-meses__item.is-ativo { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }

.thb-mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.thb-mcal__sem { padding: .25rem 0; color: var(--muted-foreground); font-size: .68rem; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.thb-mcal__dia {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 4.5rem; padding: .45rem .5rem;
  border: 1px solid var(--border); border-top: 3px solid var(--muted-foreground); border-radius: .4rem;
  background: var(--card); color: inherit; text-decoration: none;
}
a.thb-mcal__dia:hover { border-color: var(--gold); }
.thb-mcal__dia--auspicioso { border-top-color: var(--gold); }
.thb-mcal__dia--desfavoravel { border-top-color: var(--crimson); }
.thb-mcal__dia--alerta { background: color-mix(in oklab, var(--crimson) 9%, var(--card)); border-color: color-mix(in oklab, var(--crimson) 45%, var(--border)); }
.thb-mcal__dia--alerta .thb-mcal__num { color: var(--crimson); }
.thb-mcal__dia.is-vazio { border-style: dashed; border-color: var(--border); background: transparent; opacity: .5; }
.thb-mcal__dia.is-hoje { box-shadow: 0 0 0 2px var(--gold); }
.thb-mcal__dia.is-selecionado { background: var(--secondary); }
.thb-mcal__num { font-size: 1rem; font-weight: 600; line-height: 1; }
.thb-mcal__lunar { position: absolute; top: .4rem; right: .45rem; color: var(--muted-foreground); font-size: .68rem; }
.thb-mcal__marcas { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem; min-height: 1rem; margin-top: .35rem; }
@media (max-width: 560px) {
  .thb-mcal { gap: .2rem; }
  .thb-mcal__dia { min-height: 3.6rem; padding: .3rem .3rem; }
  .thb-mcal__lunar { top: auto; right: .3rem; bottom: .3rem; font-size: .6rem; }
  .thb-sigla { min-width: .85rem; font-size: .55rem; line-height: .9rem; }
}

.thb-detalhe {
  margin-top: 2rem; padding: 1.75rem; scroll-margin-top: 6rem;
  border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: .75rem; background: var(--card);
}
.thb-detalhe--neutro { border-left-color: var(--muted-foreground); }
.thb-detalhe--desfavoravel { border-left-color: var(--crimson); }
.thb-detalhe__topo { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-bottom: 1rem; }
.thb-detalhe__titulo { margin: .25rem 0 .35rem; font-size: 1.5rem; }
.thb-detalhe__bloco { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.thb-detalhe__bloco h4 { margin: 0 0 .5rem; color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.thb-detalhe__bloco p { margin: 0 0 .6rem; line-height: 1.65; }
.thb-detalhe__hora { display: inline-block; margin-right: .5rem; padding: .05rem .55rem; border-radius: 999px; background: var(--secondary); font-size: .75rem; }
.thb-detalhe__classe { margin-left: .4rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.thb-detalhe__seg--auspiciosa .thb-detalhe__classe { color: var(--gold); }
.thb-detalhe__seg--inauspiciosa .thb-detalhe__classe { color: var(--crimson); }
.thb-bo { font-family: "Noto Serif Tibetan", "Noto Sans Tibetan", "Jomolhari", "Kailasa", "Microsoft Himalaya", "Tibetan Machine Uni", serif; font-size: 1.15em; }

.thb-destaques { display: grid; grid-template-columns: 1fr; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .thb-destaques { grid-template-columns: 1fr 1fr; } }
.thb-destaques a {
  display: flex; align-items: baseline; gap: .9rem; padding: .7rem 1rem;
  border: 1px solid var(--border); border-radius: .5rem; background: var(--card); color: inherit; text-decoration: none;
}
.thb-destaques a:hover { border-color: var(--gold); }
.thb-destaques__data { flex: none; min-width: 3.4rem; font-weight: 600; }
.thb-destaques__texto { flex: 1; font-size: .9rem; }
.thb-destaques__lunar { flex: none; color: var(--muted-foreground); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }

.thb-tabela-wrap { margin-top: 1rem; overflow-x: auto; border: 1px solid var(--border); border-radius: .5rem; }
.thb-tabela { width: 100%; border-collapse: collapse; background: var(--card); font-size: .92rem; }
.thb-tabela th, .thb-tabela td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.thb-tabela th { background: var(--secondary); color: var(--muted-foreground); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.thb-tabela tr:last-child td { border-bottom: 0; }

/* ---------- Seção Apoie com fundo azul ---------- */
.thb-section--apoie-azul {
  background: var(--primary);
  color: var(--primary-foreground);
  border-top: 0;
}
.thb-section--apoie-azul .thb-section__header {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}
.thb-section--apoie-azul .eyebrow,
.thb-section--apoie-azul .thb-h2,
.thb-section--apoie-azul .thb-lead {
  color: var(--primary-foreground);
}
.thb-section--apoie-azul .thb-lead {
  opacity: .85;
  margin-left: auto;
  margin-right: auto;
}
.thb-section--apoie-azul .thb-card {
  background: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
  border-color: color-mix(in oklab, var(--primary-foreground) 15%, transparent);
  color: var(--primary-foreground);
}
.thb-section--apoie-azul .thb-card:hover {
  border-color: var(--gold);
}
.thb-section--apoie-azul .thb-card__meta {
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
}
.thb-section--apoie-azul .thb-card__text {
  color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
}
.thb-section--apoie-azul .thb-card__title {
  font-size: 1.35rem;
}
.thb-section--apoie-azul .thb-card__link {
  display: inline-block;
  margin-top: auto;
  padding: .75rem 1.5rem;
  border-radius: 0;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  background: var(--primary-foreground);
  color: var(--primary);
}
.thb-section--apoie-azul .thb-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5rem;
}
.thb-section--apoie-azul .thb-card--membro .thb-card__title {
  color: var(--gold);
}
.thb-section--apoie-azul .thb-card--membro .thb-card__link {
  background: var(--gold);
  color: #111;
}

/* ---------- Paginação ---------- */
.thb-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 2.5rem;
}
.thb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .65rem;
  border: 1px solid var(--border);
  border-radius: .375rem;
  font-size: .875rem;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  background: var(--card);
}
.thb-pagination a.page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.thb-pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}
.thb-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--muted-foreground);
}
.thb-pagination .page-numbers.prev,
.thb-pagination .page-numbers.next {
  padding: 0 1rem;
  font-weight: 500;
}

/* Conteudo editorial existente: leitura fluida, sem caixas aninhadas. */
.thb-legacy-intro { max-width: 78ch; margin: 0 0 3.5rem; padding: 0 0 3rem; border-bottom: 1px solid var(--border); }
.thb-legacy-intro > .thb-h2 { margin-bottom: 1.5rem; }
.thb-legacy-intro > .thb-btn { margin-top: 1.5rem; }
.thb-legacy-content { overflow-wrap: anywhere; }
.thb-legacy-content img, .thb-legacy-content iframe { max-width: 100%; height: auto; }
.thb-archive-title { margin-bottom: 2rem; }

/* Faixa de dia desfavoravel (Yenkong, Ul, dia ruim, dia negro) */
.thb-alerta {
  margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid var(--crimson); border-left-width: 4px; border-radius: .5rem;
  background: color-mix(in oklab, var(--crimson) 8%, var(--card)); color: var(--foreground);
}
.thb-alerta__titulo { display: flex; align-items: center; gap: .5rem; margin: 0 0 .35rem; color: var(--crimson); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.thb-alerta__texto { margin: .25rem 0 0; font-size: .9rem; line-height: 1.55; }
.thb-alerta__nota { color: var(--muted-foreground); font-size: .85rem; }

/* Destaque da home em telas pequenas: o texto sobreposto e mais alto que a foto 16:10,
   entao a foto ganha altura minima (e fica ancorada a direita, onde esta o rosto de Buda
   na arte do workshop) para o titulo nao ser cortado. */
@media (max-width: 767px) {
  .thb-hero-img { min-height: 40rem; object-position: 86% 0; }
}

/* Faixa de alerta compacta (bloco "dia de hoje"): so o titulo; a explicacao fica no detalhe do dia */
.thb-alerta--compacta { display: flex; width: fit-content; max-width: 100%; margin: .5rem 0 .6rem; padding: .4rem .8rem; border-left-width: 1px; }
.thb-alerta--compacta .thb-alerta__titulo { margin: 0; }
.thb-section--tight .thb-detalhe { margin-top: 0; }

/* ---------- TESTE: fundo bege/amarelo do site atual (#FDFCE9) ----------
   Fundo bege claro; o azul-marinho continua como cor principal. */
:root {
  --background: #FFFEF7;                 /* fundo da página (bege claro) */
  --secondary: #FDFCEC;                  /* faixas e rodapé, um pouco mais escuros */
  --muted: #FAF8E4;
  --card: #FFFFFD;                       /* cartões, mais claros que o fundo */
  --popover: #FFFFFD;
  --border: rgba(92, 70, 20, .2);
  --input: rgba(92, 70, 20, .28);
  --gold: #8A6A1C;                       /* dourado escurecido para ler sobre o bege */
  --gold-foreground: #FFFEF7;
  --muted-foreground: #5E5A45;
}
/* Sobre o azul-marinho, o dourado original continua mais bonito e legível. */
.thb-section--apoie-azul,
.scrim-bottom,
.bg-primary {
  --gold: oklch(72% .09 82);
}
.thb-pay__qr img { background: #fff; }

/* ---------- Vermelho do site atual (#800000) no nome ao lado da logo ---------- */
:root { --brand-red: #800000; }
.thb-logo-title { color: var(--brand-red); }

/* ---------- Cabeçalho com logo um pouco maior ---------- */
.thb-header__inner { min-height: 4.5rem; padding-block: .4rem; }
.thb-logo-img { width: auto; height: 3.25rem; flex: none; object-fit: contain; }
.thb-logo-title { font-size: 1.4rem; line-height: 1; }
.thb-logo-sub { font-size: .65rem; letter-spacing: .16em; }
@media (min-width: 1024px) {
  .thb-header__inner { min-height: 5.25rem; }
  .thb-logo-img { height: 4rem; }
  .thb-logo-title { font-size: 1.65rem; }
  .thb-logo-sub { font-size: .68rem; }
}
@media (max-width: 480px) {
  .thb-logo-img { height: 2.75rem; }
  .thb-logo-title { font-size: 1.25rem; }
}

/* Biografias dos Dalai Lamas anteriores (recolhíveis) e crédito de fonte */
.thb-details { border: 1px solid var(--border); border-radius: .5rem; background: var(--card); margin: 0 0 .6rem; }
.thb-details summary { cursor: pointer; padding: .8rem 1rem; font-weight: 600; list-style-position: inside; }
.thb-details[open] summary { border-bottom: 1px solid var(--border); }
.thb-details > :not(summary) { padding: 0 1rem; }
.thb-details > p:first-of-type { margin-top: 1rem; }
.thb-details > p:last-child { margin-bottom: 1rem; }
.thb-prose blockquote { margin: 0 0 1.15rem; padding: .25rem 0 .25rem 1.1rem; border-left: 3px solid var(--gold); color: var(--muted-foreground); }
.thb-prose blockquote p { margin: 0; }
.thb-prose ol { margin: 0 0 1.15rem 1.25rem; list-style: decimal; }
.thb-prose ol li { margin-bottom: .4rem; }
.thb-fonte { font-size: .875rem; color: var(--muted-foreground); margin-top: 2rem; }

/* Fotos reais das atividades de mandala: enquadramento */
.thb-card__img[src*="pratica-mandala"], .thb-poster[src*="pratica-mandala"] { object-position: center 12%; }
.thb-card__img[src*="mandala-monges"], .thb-poster[src*="mandala-monges"] { object-position: center 45%; }

/* Home: evento em destaque com cartaz pronto (arte inteira, sem texto por cima) */
.thb-hero-arte { display: block; overflow: hidden; border-radius: .75rem; background: var(--card); border: 1px solid var(--border); }
.thb-hero-arte__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s; }
.thb-hero-arte:hover .thb-hero-arte__img { transform: scale(1.02); }
.thb-hero-arte { isolation: isolate; }
.thb-hero-arte__body { position: relative; padding: 1.5rem; background: var(--card); }
.thb-hero-arte__titulo { max-width: 24ch; font-size: 1.875rem; line-height: 1.15; text-wrap: balance; margin: 0; }
@media (min-width: 1024px) { .thb-hero-arte__body { padding: 2rem; } .thb-hero-arte__titulo { font-size: 2.25rem; } }

/* Home: menos espaco entre o menu e o evento em destaque */
.thb-home-topo { padding: 1.5rem 1.5rem 3rem; }
@media (min-width: 1024px) { .thb-home-topo { padding: 1.75rem 1.5rem 4rem; } }

