/* Tema "Serigrafia" para a leitura de "A sombra e o corpo": papel quente, tinta quase preta, magenta e turquesa chapados,
   títulos pesados com sombra deslocada e blocos de sombra dura. Todas as regras começam em .tema.
   Fontes: Archivo Black (títulos) e Newsreader (texto). */
.tema {
  --papel: #f4eee3; --papel2: #e9dfcd; --tinta: #15171f; --mag: #d81e6b; --magesc: #b3124f; --tur: #0f9d9a; --turesc: #0b6f6d; --sol: #f5c518;
  --f-titulo: "Archivo Black", "Arial Black", sans-serif;
  --f-texto: "Newsreader", Constantia, Georgia, serif;
  background: var(--papel); color: var(--tinta);
}
.tema .tema-hero, .tema .tema-sumario, .tema .leitura-tematica { font-family: var(--f-texto); }

.tema .tema-hero { background: var(--papel2); border-bottom: .3rem solid var(--tinta); }
.tema .tema-hero-in { max-width: 64rem; margin: 0 auto; padding: 2rem 1.25rem 2.75rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .tema .tema-hero-in { grid-template-columns: 1fr 15.5rem; padding: 3.5rem 1.5rem 4rem; gap: 3rem; } }
.tema .tema-trilha { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .95rem; color: var(--tinta); margin-bottom: 1.8rem; }
.tema .tema-trilha a { color: var(--turesc); text-decoration: underline; text-underline-offset: 3px; }
.tema .tema-sup { display: inline-block; font-family: var(--f-titulo); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; background: var(--tinta); color: var(--papel); padding: .3rem .7rem; margin: 0 0 1.1rem; }
.tema .tema-hero h1 { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(2.3rem, 9vw, 4.2rem); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: var(--tinta); text-shadow: .06em .05em 0 var(--mag); margin: 0; overflow-wrap: break-word; }
.tema .tema-orn { display: none; }
.tema .tema-sub { font-style: italic; font-size: 1.25rem; line-height: 1.45; max-width: 32rem; margin: 1.3rem 0 0; }
.tema .tema-meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .95rem; margin: 1.5rem 0 0; }
.tema .tema-baixar { display: inline-block; margin-top: 1.4rem; padding: .6rem 1.2rem; background: var(--sol); border: .15rem solid var(--tinta); box-shadow: .25rem .25rem 0 var(--tinta); color: var(--tinta); font-family: var(--f-titulo); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.tema .tema-baixar:hover { transform: translate(.15rem, .15rem); box-shadow: .1rem .1rem 0 var(--tinta); }
.tema .tema-capa { justify-self: center; width: min(15.5rem, 70%); box-shadow: .5rem .5rem 0 var(--mag); border: .15rem solid var(--tinta); }
.tema .tema-capa img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .tema .tema-capa { width: 11.5rem; } }

.tema .tema-corpo { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
@media (min-width: 640px) { .tema .tema-corpo { padding: 3.5rem 1.5rem 5rem; } }

.tema .tema-sumario { margin: 0 0 3.5rem; }
.tema .tema-sumario h2 { font-family: var(--f-titulo); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; text-shadow: .06em .05em 0 var(--mag); margin: 0 0 1rem; }
.tema .tema-sumario ol { list-style: none; margin: 0; padding: 0; }
.tema .tema-sumario li { border-bottom: .08rem solid var(--tinta); }
.tema .tema-sumario a { display: flex; align-items: baseline; gap: .9rem; padding: .65rem 0; text-decoration: none; color: var(--tinta); }
.tema .tema-sumario a:hover .nome { color: var(--magesc); text-decoration: underline; }
.tema .tema-sumario .rot { flex: 0 0 6.6rem; font-family: var(--f-titulo); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--magesc); }
.tema .tema-sumario .nome { flex: 1; font-size: 1.08rem; line-height: 1.3; }
@media (max-width: 480px) { .tema .tema-sumario a { flex-direction: column; gap: .1rem; } .tema .tema-sumario .rot { flex-basis: auto; } }

.tema .leitura-tematica { font-size: 1.2rem; line-height: 1.64; }
.tema .leitura-tematica.reading-sm { font-size: 1.08rem; }
.tema .leitura-tematica.reading-lg { font-size: 1.4rem; }
.tema .leitura-tematica p { margin: 0 0 1.05em; overflow-wrap: break-word; }
@media (min-width: 640px) { .tema .leitura-tematica p { text-align: justify; hyphens: auto; } }
.tema .leitura-tematica strong { font-weight: 700; }

.tema .cap { position: relative; margin-top: 4.5rem; scroll-margin-top: 5rem; }
.tema .cap:first-child { margin-top: 0; }
.tema .ilus { margin: 0 0 2rem; background: var(--papel2); border-bottom: .3rem solid var(--tinta); }
.tema .ilus img { display: block; width: 100%; height: auto; }
.tema .cap[data-tipo="capitulo"]:has(.ilus)::before { content: attr(data-n); position: absolute; top: .5rem; right: .8rem; z-index: 2; font-family: var(--f-titulo); font-size: clamp(2.6rem, 9vw, 3.8rem); line-height: 1; color: var(--sol); -webkit-text-stroke: .08rem var(--tinta); }
.tema .cap h2 { margin: 0 0 1.6rem; }
.tema .cap h2 .rot { display: inline-block; font-family: var(--f-titulo); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; background: var(--tinta); color: var(--papel); padding: .25rem .65rem; margin-bottom: .7rem; }
.tema .cap h2 .nome { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.1; color: var(--tinta); text-shadow: .06em .05em 0 var(--mag); overflow-wrap: break-word; }
.tema .cap h3 { font-family: var(--f-titulo); font-weight: 400; font-size: .85rem; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--turesc); margin: 2.2rem 0 .7rem; }
.tema .cap h3::before { content: ""; display: inline-block; width: .65rem; height: .65rem; background: var(--mag); margin-right: .6rem; }

.tema .cap blockquote { margin: 1.6rem 0 1.6rem 1rem; padding: 0 0 0 1.1rem; border-left: .35rem solid var(--tur); font-style: italic; }
.tema .cap blockquote p { margin: 0 0 .7em; text-align: left; hyphens: none; }
.tema .cap blockquote p:last-child { margin-bottom: 0; }
.tema .cap blockquote.ideia { margin: 0 .4rem 2rem 0; padding: 1.1rem 1.3rem; border-left: 0; background: var(--tinta); color: var(--papel); box-shadow: .4rem .35rem 0 var(--mag); font-size: 1.05em; }
.tema .cap blockquote.ideia strong { display: block; font-family: var(--f-titulo); font-style: normal; font-weight: 400; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--sol); margin-bottom: .45rem; }
.tema .cap blockquote.ideia + p::first-letter { float: left; font-family: var(--f-titulo); font-size: 3.8em; line-height: .82; color: var(--magesc); padding: .06em .1em 0 0; }
.tema .cap blockquote.antes { margin: 1.6rem .4rem 1.6rem 0; padding: 1rem 1.2rem; background: var(--papel2); border: .12rem solid var(--tinta); box-shadow: .35rem .3rem 0 var(--tur); font-style: normal; }
.tema .cap blockquote.antes strong { font-family: var(--f-titulo); font-size: .7rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--turesc); }
.tema .cap blockquote.versiculo { margin: 2.2rem .4rem 2.2rem .8rem; padding: 1.1rem 1.3rem; background: var(--sol); border: .12rem solid var(--tinta); box-shadow: .4rem .35rem 0 var(--tinta); font-size: 1.08em; }
.tema .cap blockquote.versiculo strong { display: block; font-family: var(--f-titulo); font-style: normal; font-weight: 400; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: .4rem; }

.tema .cap ul, .tema .cap ol { margin: 0 0 1.2em; padding-left: 1.5rem; }
.tema .cap ul { list-style: disc; }
.tema .cap ol { list-style: decimal; }
.tema .cap li { margin-bottom: .45em; padding-left: .2rem; }
.tema .cap li::marker { color: var(--magesc); font-weight: 700; }
.tema .cap hr { border: 0; border-top: .3rem solid var(--tinta); margin: 2rem 25%; }
.tema .cap a { color: var(--turesc); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.tema .cap a:hover { color: var(--magesc); }

.tema .cap.glossario ul { list-style: none; padding: 0; }
.tema .cap.glossario li { padding: .6rem 0; border-bottom: .08rem solid var(--tinta); margin: 0; }
.tema .cap.glossario li strong { color: var(--magesc); }
.tema .cap.ref p, .tema .cap.ref li { font-size: .88em; line-height: 1.5; text-align: left; hyphens: none; }
.tema .tema-corpo > :not(.tema-sumario):not(.leitura-tematica) { margin-top: 2.5rem; }
@media (prefers-reduced-motion: reduce) { .tema .tema-baixar { transition: none; } }
