/* Temática: one page per study area (full text of the PDF) */
.te { --c: #5690A9; }
.te .tm-band .tm-ey a { color: inherit; text-decoration: none; }
.te .tm-band .tm-ey a:hover { text-decoration: underline; }
.te-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 18px; }
.te-fam { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.te-fam i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); display: inline-block; }
.te-pdf { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--c); color: #00356C; font-size: 14px; text-decoration: none; }
.te-pdf:hover { background: color-mix(in srgb, var(--c) 12%, #fff); }

.te-layout { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 56px; justify-content: center;
  max-width: 1120px; margin: 48px auto 80px; padding: 0 24px; }
.te-toc { position: sticky; top: 24px; align-self: start; font-size: 14px; line-height: 1.45; }
.te-toc h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #5A6B82; margin: 0 0 10px; font-weight: 400; }
.te-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid #E3E9F1; }
.te-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: #3A4A60; text-decoration: none; }
.te-toc li a:hover, .te-toc li a.on { border-left-color: var(--c); color: #00356C; }

.te-text { font-size: 18px; line-height: 1.75; color: #22303F; }
.te-text h2 { font-size: 27px; line-height: 1.3; color: #00356C; margin: 56px 0 18px; padding-top: 18px; border-top: 3px solid var(--c); scroll-margin-top: 20px; }
.te-text h2:first-child { margin-top: 0; }
.te-text h3 { font-size: 20px; line-height: 1.4; color: #00356C; margin: 34px 0 10px; }
.te-text p { margin: 0 0 18px; }
.te-text ul, .te-text ol { margin: 0 0 20px; padding-left: 26px; }
.te-text li { margin-bottom: 8px; }
.te-text ul li::marker { color: var(--c); }
.te-fig { margin: 30px 0; text-align: center; }
.te-fig img { max-width: 100%; height: auto; border: 1px solid #E3E9F1; border-radius: 10px; background: #fff; }
.te-fig figcaption { font-size: 15px; color: #5A6B82; margin-top: 8px; font-style: italic; }

.te-more { max-width: 1120px; margin: 0 auto 80px; padding: 0 24px; }
.te-more h2 { font-size: 20px; color: #00356C; margin: 0 0 14px; }
.te-more nav { display: flex; flex-wrap: wrap; gap: 10px; }
.te-more nav a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--c); color: #00356C; text-decoration: none; font-size: 15px; }
.te-more nav a:hover { background: color-mix(in srgb, var(--c) 12%, #fff); }
.te-more .te-all { border-color: #00356C; }

@media (max-width: 900px) {
  .te-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .te-toc { position: static; }
  .te-text { font-size: 17px; }
}
@media print {
  .gh, .gf, .te-toc, .te-more, .te-pdf, .cookie-banner, #fdc-lang-dropdown { display: none !important; }
  .te-layout { display: block; margin: 0; }
}
.te-text h4 { font-size: 18px; color: #00356C; margin: 26px 0 8px; }
.te-text blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--c); color: #3A4A60; font-style: italic; }
.te-text blockquote p { margin: 0 0 10px; }

/* tables and diagrams transcribed from the PDFs (translatable) */
.te-html .te-tbl { overflow-x: auto; text-align: left; }
.te-tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; background: #fff; }
.te-tbl th, .te-tbl td { border: 1px solid #D5DFEA; padding: 8px 10px; vertical-align: top; }
.te-tbl th { background: #F1F5F9; color: #00356C; font-weight: 700; text-align: left; }
.te-tbl td ul, .te-tbl td ol { margin: 0; padding-left: 18px; }
.te-tbl td li { margin: 0 0 4px; }
.te-dg { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 14px; border: 1px solid #E3E9F1; border-radius: 10px; background: #fff; }
.te-dg ul, .te-dg ol { text-align: left; }
.te-box { padding: 10px 14px; border: 1.5px solid var(--c); border-radius: 10px; background: #fff; font-size: 15px; text-align: center; }
.te-arrow { font-size: 22px; color: var(--c); }
.te-tbl [style*="background"] { color: #1a1a1a; }

/* PDF / print: one clean column, no page breaks inside tables, figures or headings */
@media print {
  .te .tm-band { padding: 0 0 12px; background: none !important; }
  .te .tm-strip, .te-meta .te-pdf { display: none !important; }
  .te-text { font-size: 11.5pt; line-height: 1.55; }
  .te-text h2 { break-after: avoid; margin-top: 28px; }
  .te-text h3, .te-text h4 { break-after: avoid; }
  .te-fig, .te-tbl table tr { break-inside: avoid; }
  .te-fig img { max-height: 230mm; }
}
