/* Editorial layout and reader services on the public homepage */
.home-page {
  --section-space: clamp(28px, 4vw, 64px);
  --editorial-title: "Arial Narrow", "Roboto", Arial, sans-serif;
}
.home-page .section-top h2,
.home-desk header h2,
.home-page .lot-home h2,
.home-page .city-services h2 {
  font: 700 clamp(24px, 2.4vw, 38px)/1.12 var(--editorial-title);
  letter-spacing: -.035em;
}
.home-page .section-top {
  border-top: 3px solid #ec6419;
  padding-top: 14px;
  align-items: end;
}
.home-page #editionDate { text-align: right; margin-bottom: 10px; font: 600 12px/1.4 system-ui !important; color: #605951 !important }
.home-page .hero-grid :is(.lead,.side-story) { border-radius: 10px }
.home-page .hero-grid :is(h1,h2) {
  font-family: var(--editorial-title);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}
.home-page .hero-grid h1 { font-size: clamp(30px,3.2vw,56px) }
.home-page .hero-grid h2 { font-size: clamp(18px,1.7vw,30px) }
.home-page .home-desks { margin-block: var(--section-space) }
.home-page .home-desk {
  background: white;
  border-radius: 8px;
  --desk-color: #963808;
  border-top: 0;
  box-shadow: 0 6px 24px #402d190b;
}
.home-desk[data-editoria="Esportes"] { --desk-color: #176047 }
.home-desk[data-editoria="Cultura"] { --desk-color: #633e82 }
.home-desk[data-editoria="Polícia"] { --desk-color: #953443 }
.home-desk[data-editoria="Cidades"] { --desk-color: #205779 }
.home-page .home-desk { padding-top: 0 }
.home-page .home-desk header {
  margin-inline: calc(-1 * var(--desk-padding));
  padding: 12px var(--desk-padding);
  border-radius: 8px 8px 0 0;
  background: var(--desk-color);
}
.home-page .home-desk { --desk-padding: clamp(14px,1.65vw,26px); padding-inline: var(--desk-padding) }
.home-page .home-desk[data-editoria] header h2 { color: white; font-size: clamp(23px,2vw,32px) }
.home-page .home-desk[data-editoria] header a { color: white; background: transparent; padding-inline: 5px }
.home-page .desk-main h3 { font: 750 clamp(22px,1.8vw,32px)/1.14 var(--editorial-title); letter-spacing: -.03em }
.home-page .desk-brief { padding-left: 15px; position: relative }
.home-page .desk-brief::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 6px; height: 6px; border-radius: 50%; background: var(--desk-color) }
.home-desk header h2::before { display: none }
.home-page .section-icon {
  display: inline-block;
  font: normal .8em/1 "Segoe UI Emoji","Apple Color Emoji",sans-serif;
  letter-spacing: normal;
  flex: none;
}
.home-page :is(h2,h3,.side-panel-head):has(> .section-icon) {
  display: flex;
  align-items: center;
  gap: .4em;
}
.home-page :is(.city-services h2,.side-panel-head):has(> .section-icon)::before { display: none }
.home-page .side-panel-head[hidden] { display: none }
.home-page .home-desk header a,
.home-page .lot-home header a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font: 650 13px/1.3 system-ui;
  color: #853309;
  background: #fff2e7;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
}
.home-page .side-panel-head { background: #332820; color: white }
.home-page .banner-slot { background: #f8f7f5; border-color: #e6e2dc }
.home-page .lot-home {
  margin-block: var(--section-space);
  background: #fff8ef;
  border-color: #ead5bc;
  border-radius: 12px;
}
.home-page .lot-home header { padding-bottom: 14px; border-bottom: 1px solid #e4ceba }
.home-page .lot-balls span { background: #923908; box-shadow: inset 0 -3px 0 #682702 }
.home-page #indicadores-agro {
  color: #f3f6e9;
  background: linear-gradient(115deg, #153e32, #234c39);
  border-color: #244736;
}
#indicadores-agro header { border-color: #ffffff38 }
#indicadores-agro header a { background: #edf3dd; color: #254932 }
#indicadores-agro > p { color: #dae5d4; margin: 14px 0 20px }
#indicadores-agro #agro-grid { grid-template-columns: repeat(3,minmax(0,1fr)) }
#indicadores-agro #agro-grid article {
  background: #f7f9ef;
  color: #173a2b;
  border: 0;
  border-radius: 6px;
  padding: clamp(13px,1.5vw,22px);
}
#agro-grid article b { font: 650 14px/1.4 system-ui }
#agro-grid article strong { font-variant-numeric: tabular-nums; margin-block: 4px }
.home-page .city-services { background: #f7f6f3; border: 1px solid #dfdbd4; border-radius: 10px; padding: clamp(15px,2vw,28px) }
.home-page .city-services h2 { font-size: clamp(22px,2vw,30px) }
.home-page .local-utilities details { background: white; border-radius: 7px }
.home-page .local-utilities details[open] { border-color: #cb9168 }
.home-page :is(a,button,summary):focus-visible { outline: 3px solid #146ab1; outline-offset: 2px }
@media(max-width:700px) {
  #indicadores-agro #agro-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px }
  .home-page .section-top { flex-wrap: wrap; gap: 8px }
  .home-page .lot-home header a,.home-page .home-desk header a { min-height: 44px }
  #agro-grid article strong { font-size: 17px }
}
@media(max-width:360px) {
  #indicadores-agro #agro-grid { grid-template-columns: 1fr }
}
