/* Estilos exclusivos da página Ouvir por Tema */
.theme-page-main { min-height: 100vh; background: linear-gradient(180deg, #fff7e3 0%, #fffaf0 42%, #fff3d7 100%); }
/* No computador, header e menu globais são fixed; esta compensação mantém o conteúdo abaixo deles só nesta página. */
@media (min-width: 769px) { .theme-page-main { padding-top: 274px; } }
.theme-intro {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  max-width: 850px; margin: 0 auto 20px; padding: 13px 20px;
  border: 1px solid #e9bd61; border-radius: 16px;
  background: linear-gradient(120deg, #fff0c4, #fff8e7);
  box-shadow: 0 5px 13px rgba(135, 79, 19, .11);
}
.theme-intro-illustration { display: block; flex: 0 0 64px; width: 64px; height: 58px; object-fit: contain; }
.theme-intro-copy { flex: 1; text-align: center; }
.theme-intro h1 { margin: 0 0 3px; color: #78451c; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.theme-intro p { margin: 0; font-size: .96rem; color: #59442f; }
.theme-audio-control { display: flex; align-items: center; gap: 8px; margin: 10px auto 22px; width: max-content; max-width: 95%; color: #68431e; font-size: .9rem; }
.theme-audio-control input { accent-color: #e7833c; width: 110px; }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1220px; margin: 0 auto; padding: 0 18px 36px; align-items: start; }
.theme-card { min-width: 0; padding: 16px; border: 1px solid #e7c57e; border-radius: 19px; background: linear-gradient(145deg, #fff9e9, #fff0d0); box-shadow: 0 6px 16px rgba(115, 76, 27, .12), inset 0 1px rgba(255,255,255,.85); }
.theme-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 0 0 13px; border-bottom: 2px solid #efcf86; }
.theme-illustration { display: block; flex: 0 0 150px; width: 150px; height: 100px; object-fit: contain; border: 1px solid #efd99f; border-radius: 16px; background: radial-gradient(circle at 50% 45%, #fffdf3, #ffedbf); box-shadow: 0 3px 8px rgba(130, 82, 25, .1); }
.theme-copy { min-width: 0; }
.theme-heading h2 { margin: 0 0 6px; color: #75421c; font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.1; }
.theme-description { margin: 0; color: #65513c; font-size: .88rem; line-height: 1.4; }
.theme-numbers { display: flex; flex-wrap: wrap; gap: 7px; }
.joke-number { min-width: 49px; padding: 6px 9px; border: 1px solid #d9ae55; border-radius: 999px; background: #ffedb9; color: #513416; font: inherit; font-size: .88rem; font-weight: 700; line-height: 1; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.joke-number:hover { transform: translateY(-1px); background: #ffdc83; }
.joke-number.is-playing { background: #f8ad58; box-shadow: 0 0 0 3px rgba(232, 132, 60, .24); }
.show-all { margin-top: 12px; padding: 7px 12px; border: 1px solid #e5b65f; border-radius: 999px; background: #ffe8b0; color: #75421c; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.show-all:hover { background: #ffda8c; }
@media (max-width: 900px) { .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 540px) {
  .theme-intro { justify-content: flex-start; margin: 0 12px 16px; padding: 11px 13px; }
  .theme-intro-illustration { flex-basis: 50px; width: 50px; height: 48px; }
  .theme-intro p { font-size: .87rem; }
  .theme-grid { grid-template-columns: 1fr; padding: 0 12px 28px; }
  .theme-card { padding: 13px; }
  .theme-heading { gap: 11px; }
  .theme-illustration { flex-basis: 118px; width: 118px; height: 78px; }
  .theme-description { font-size: .83rem; }
}