/*
Theme Name: Titono Editorial
Description: Tema editorial de preparação para o blog Titono. Validar em staging antes de ativar.
Version: 0.1.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: titono-editorial
*/
:root{--ink:#071014;--paper:#f4f5ef;--signal:#c8ff3d;--line:#d7dbd5;--muted:#515d5b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-underline-offset:4px}a:focus-visible,input:focus-visible,button:focus-visible{outline:3px solid #267664;outline-offset:5px}img{max-width:100%;height:auto}.skip{position:absolute;top:-100px;left:20px;padding:15px;background:var(--signal);z-index:99}.skip:focus{top:8px}.site-header{background:var(--ink);color:var(--paper);min-height:100px;padding:20px max(6%,calc((100vw - 1280px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:8px;font:600 29px Sora,Arial,sans-serif;letter-spacing:-1.5px;text-decoration:none}.brand span{color:var(--signal);margin-left:-7px}.site-header nav{display:flex;gap:28px;font-size:14px}.site-header nav a{text-decoration:none}.site-header nav a:hover{color:var(--signal)}h1,h2,h3{font-family:Sora,Arial,sans-serif;letter-spacing:-.045em;line-height:1.12}h1{font-size:clamp(40px,6vw,80px);font-weight:500;margin:26px 0}.eyebrow{font:11px 'IBM Plex Mono',monospace;letter-spacing:1.4px;text-transform:uppercase;line-height:1.8}.archive-heading{max-width:1280px;margin:auto;padding:78px 6% 52px;border-bottom:1px solid var(--line)}.archive-heading h1 em{font-family:Georgia,serif;font-weight:400}.archive-heading>p:not(.eyebrow){max-width:620px;font-size:19px;line-height:1.7;color:var(--muted)}.search-form{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.search-field{font:inherit;padding:14px 18px;border:1px solid #8a9691;background:transparent;border-radius:0;max-width:100%}.search-submit{font:600 13px Inter,Arial,sans-serif;padding:15px 24px;background:var(--ink);color:var(--paper);border:0;cursor:pointer}.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.post-grid{max-width:1280px;margin:auto;padding:48px 6% 70px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 36px}.post-card{border-bottom:1px solid var(--line);padding-bottom:32px;min-width:0;overflow-wrap:anywhere}.post-card>a{text-decoration:none}.card-cover{width:100%;aspect-ratio:16/9;object-fit:cover;margin-bottom:22px}.post-card h2{font-size:clamp(25px,3vw,35px);margin:12px 0 18px}.excerpt{line-height:1.75;color:var(--muted)}.read-link{display:flex;justify-content:space-between;font-weight:600;font-size:14px;margin-top:30px}.empty{grid-column:1/-1;padding:30px 0 80px}.empty h2{font-size:clamp(28px,4vw,48px)}.pagination-shell{max-width:1280px;margin:0 auto 60px;padding:0 6%}.pagination-shell .pagination{max-width:none;margin:0;padding:0}.nav-links{display:flex;flex-wrap:wrap;gap:20px}.article-heading{max-width:1000px;margin:auto;text-align:center;padding:75px 6% 45px}.article-heading h1{font-size:clamp(38px,5.2vw,70px);overflow-wrap:anywhere}.categories a{text-decoration:none}.dek{font-size:clamp(19px,2vw,24px);line-height:1.6;color:var(--muted);max-width:780px;margin:25px auto}.byline{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;font:12px 'IBM Plex Mono',monospace;line-height:1.6;margin-top:30px;color:var(--muted)}.article-cover{max-width:1120px;margin:0 auto 60px;padding:0 24px}.article-cover>img{width:100%;aspect-ratio:16/9;object-fit:cover}.article-cover figcaption{font-size:12px;line-height:1.6;color:var(--muted);margin-top:12px}.article-content{max-width:768px;padding:0 24px;margin:0 auto 72px;font-size:19px;line-height:1.85;overflow-wrap:break-word}.article-content h2{font-size:clamp(28px,3vw,38px);margin:55px 0 22px}.article-content h3{font-size:25px;margin-top:38px}.article-content p{margin:0 0 26px}.article-content li{padding-left:5px;margin:10px 0}.article-content blockquote{border-left:4px solid #86a900;margin:40px 0;padding:4px 0 4px 26px;font:italic 30px/1.5 Georgia,serif}.article-content figcaption{font-size:13px;line-height:1.6;color:var(--muted)}.article-content .wp-block-table{overflow:auto;margin:36px 0}.article-content table{width:100%;border-collapse:collapse;font-size:15px}.article-content td,.article-content th{border:1px solid #abb7af;padding:12px;text-align:left;vertical-align:top}.article-content pre{overflow:auto;padding:22px;background:#e7ebe4;font-size:14px;line-height:1.7}.article-content code{font-size:.9em}.article-content figure{margin:35px 0}.article-content .alignwide,.article-content .alignfull{max-width:100%}.article-end{max-width:720px;margin:0 auto 80px;padding:30px 0;border-top:1px solid var(--line)}.article-end>p{font:italic 26px Georgia,serif}.site-footer{background:var(--ink);color:var(--paper);padding:55px 6%;display:grid;grid-template-columns:1fr 2fr;gap:15px 40px}.site-footer strong{font:600 30px Sora,Arial,sans-serif}.site-footer p{font-size:13px;line-height:1.7;max-width:600px;margin:0}.site-footer a{font-size:13px}@media(max-width:650px){.site-header{padding:18px 6%;min-height:85px;align-items:flex-start;flex-direction:column;gap:18px}.site-header nav{gap:25px}.archive-heading,.article-heading{padding-top:48px}.post-grid{grid-template-columns:1fr;padding-top:32px}.article-content{font-size:18px;line-height:1.8}.article-end{margin-left:24px;margin-right:24px}.article-cover{margin-bottom:40px}.site-footer{grid-template-columns:1fr;gap:20px}.search-field{width:100%}.search-form label{max-width:100%}.byline{font-size:11px;gap:8px 14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media print{.site-header,.site-footer,.article-end{display:none}.article-content{max-width:none}.article-heading{padding-top:0}body{background:white;color:black}}

/* Titono editorial typography. Published 2026-11-04.
   Scope: existing articles 20 and 45 only. Remove this block to roll back. */
body:is(.postid-20, .postid-45) .article-heading {
  max-width: 944px;
  padding: 64px 24px 38px;
  text-align: left;
}
body:is(.postid-20, .postid-45) .article-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
body:is(.postid-20, .postid-45) .article-heading .eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  flex: 0 0 28px;
  background: #86a900;
}
body:is(.postid-20, .postid-45) .article-heading h1 {
  font-size: clamp(31px, 4.1vw, 54px);
  line-height: 1.17;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 22px 0 24px;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  hyphens: none;
}
body:is(.postid-20, .postid-45) .article-heading .dek {
  max-width: 820px;
  margin: 0;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.65;
  text-align: left;
  text-wrap: pretty;
}
body:is(.postid-20, .postid-45) .article-heading .byline {
  justify-content: flex-start;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 8px 22px;
}
body:is(.postid-20, .postid-45) .article-content {
  max-width: 808px;
  padding: 0 24px;
  font-size: 18.5px;
  line-height: 1.8;
}
body:is(.postid-20, .postid-45) .article-content > p {
  margin: 0 0 24px;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 8 3 3;
  overflow-wrap: break-word;
}
body:is(.postid-20, .postid-45) .article-content h2 {
  margin: 48px 0 20px;
  font-size: clamp(25px, 2.55vw, 32px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
  hyphens: none;
}
body:is(.postid-20, .postid-45) .article-content h3 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
  text-align: left;
}
body:is(.postid-20, .postid-45) .article-content blockquote {
  font-size: clamp(23px, 2.5vw, 28px);
  line-height: 1.5;
  padding-left: 24px;
}
body:is(.postid-20, .postid-45) .article-content blockquote p {
  text-align: left;
  hyphens: none;
}
body:is(.postid-20, .postid-45) .article-end {
  max-width: 760px;
}
@media (max-width: 650px) {
  body:is(.postid-20, .postid-45) .article-heading {
    padding: 38px 22px 30px;
  }
  body:is(.postid-20, .postid-45) .article-heading h1 {
    font-size: clamp(29px, 7.8vw, 39px);
    line-height: 1.2;
    margin: 18px 0 20px;
    letter-spacing: -0.04em;
    text-wrap: pretty;
  }
  body:is(.postid-20, .postid-45) .article-heading .dek {
    font-size: 18px;
    line-height: 1.65;
  }
  body:is(.postid-20, .postid-45) .article-heading .byline {
    font-size: 10.5px;
    line-height: 1.65;
    gap: 7px 15px;
    margin-top: 23px;
    padding-top: 18px;
  }
  body:is(.postid-20, .postid-45) .article-content {
    padding: 0 22px;
    font-size: 17px;
    line-height: 1.8;
  }
  body:is(.postid-20, .postid-45) .article-content > p {
    margin-bottom: 22px;
    hyphenate-limit-chars: 7 3 3;
  }
  body:is(.postid-20, .postid-45) .article-content h2 {
    margin-top: 38px;
    font-size: 25px;
    line-height: 1.3;
  }
  body:is(.postid-20, .postid-45) .article-content blockquote {
    margin: 32px 0;
    padding-left: 18px;
    font-size: 23px;
  }
  body:is(.postid-20, .postid-45) .article-end {
    margin-left: 22px;
    margin-right: 22px;
  }
}
@media (max-width: 359px) {
  body:is(.postid-20, .postid-45) .article-heading,
  body:is(.postid-20, .postid-45) .article-content {
    padding-left: 18px;
    padding-right: 18px;
  }
  body:is(.postid-20, .postid-45) .article-heading h1 {
    font-size: 28px;
  }
}
@media print {
  body:is(.postid-20, .postid-45) .article-heading { padding-top: 0; }
  body:is(.postid-20, .postid-45) .article-content { max-width: none; }
}

