/* Descubra Digital — identidade editorial do portal público. */
body.site-v5 {
  --ed-ink: #15232d;
  --ed-muted: #4e5d65;
  --ed-line: #dce1e3;
  --ed-accent: #973508;
  --ed-navy: #102c3c;
  --ed-paper: #fff;
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: Roboto, Arial, sans-serif;
}

body.site-v5 .wrap { width: min(calc(100% - 64px), 1240px) !important; }
body.site-v5 .masthead .masthead-main {
  background: var(--ed-paper) !important;
  border-top: 4px solid #ed681e !important;
  border-bottom: 1px solid var(--ed-line) !important;
}
body.site-v5 .masthead .brand-row {
  min-height: 82px !important;
  grid-template-columns: auto minmax(140px, 440px) minmax(260px, 1fr) auto !important;
  gap: clamp(12px, 2.6vw, 34px) !important;
}
body.site-v5 .masthead .brand img { width: 150px !important; }
body.site-v5 .masthead .portal-search {
  border: 1px solid var(--ed-line) !important;
  border-radius: 4px !important;
  background: #f5f6f6 !important;
}
body.site-v5 .masthead .portal-search input { font-size: 14px !important; }
body.site-v5 .masthead .portal-search button {
  background: var(--ed-navy) !important;
  color: white !important;
  border-radius: 0 !important;
  font-size: 13px !important;
}
body.site-v5 .masthead .header-status { justify-self: end; background: white; box-shadow: none; }
body.site-v5 .masthead .nav-shell {
  border-bottom: 1px solid var(--ed-line) !important;
  background: white !important;
  box-shadow: none;
}
body.site-v5 .masthead .main-nav { justify-content: center !important; gap: clamp(10px, 1.3vw, 19px) !important; }
body.site-v5 .masthead .main-nav > :is(a,details) { flex: 0 0 auto; }
body.site-v5 .masthead .main-nav > :is(a,details > summary) { letter-spacing: normal !important; }
body.site-v5 > .portal-dateline .portal-tagline { display: none !important; }
body.site-v5 > .portal-dateline { border: 0 !important; background: white !important; }
body.site-v5 > .portal-dateline .wrap { justify-content: flex-start; min-height: 34px; }
body.site-v5 > .portal-dateline .portal-date {
  color: var(--ed-muted);
  font-size: 13px;
  text-transform: none;
  letter-spacing: normal;
}
body.site-v5 :is(.masthead, main, .dd-footer) :focus-visible {
  outline: 2px solid #bd450f;
  outline-offset: 3px;
}

body.site-v5 .r151-home { padding-top: 14px; }
body.site-v5 .r151-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, .96fr) minmax(0, .8fr);
  gap: 24px;
  align-items: start;
}
body.site-v5 .r151-hero .r151-lead {
  display: grid;
  min-height: 0;
  align-content: start;
  border: 0;
  border-radius: 0;
  background: white;
  box-shadow: none;
  overflow: visible;
}
body.site-v5 .r151-hero .r151-lead > .media {
  position: static;
  grid-row: 1;
  min-height: 0;
  aspect-ratio: 2.08;
  background: #eaeff1;
  border-radius: 3px;
  overflow: hidden;
}
body.site-v5 .r151-hero .r151-lead > .media::after { content: none; }
body.site-v5 .r151-hero .r151-lead-copy {
  position: static;
  padding: 16px 0 0;
  color: var(--ed-ink);
}
body.site-v5 .r151-hero .r151-lead-copy h1 {
  margin: 5px 0 8px;
  color: var(--ed-ink);
  font: 750 clamp(29px, 3.18vw, 46px)/1.06 Roboto, Arial, sans-serif;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
body.site-v5 .r151-hero .r151-lead-copy p,
body.site-v5 .r151-editorial .r151-news-card p {
  color: var(--ed-muted);
  font-size: 16px;
  line-height: 1.47;
}
body.site-v5 .r151-hero .r151-side {
  gap: 18px;
  grid-template: none / minmax(0, 1fr);
  padding-left: 23px;
  border-left: 1px solid var(--ed-line);
}
body.site-v5 .r151-hero .r151-side-card {
  display: block;
  background: white;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
body.site-v5 .r151-hero .r151-side-card + .r151-side-card {
  border-top: 1px solid var(--ed-line);
  padding-top: 16px;
}
body.site-v5 .r151-hero .r151-side-card .media {
  display: block;
  height: auto;
  aspect-ratio: 2.22;
  border-radius: 3px;
}
body.site-v5 .r151-hero .r151-side-copy {
  display: block;
  padding: 9px 0 0;
  border: 0;
}
body.site-v5 .r151-hero .r151-side-copy strong {
  color: var(--ed-ink);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.02em;
}
body.site-v5 .r151-hero .r151-hot {
  display: block;
  grid-column: auto;
  align-self: start;
  padding: 0 0 0 23px;
  background: white;
  border: 0;
  border-left: 1px solid var(--ed-line);
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}
body.site-v5 .r151-hero .r151-hot h2 {
  border-bottom: 2px solid var(--ed-ink);
  margin: 0;
  padding-bottom: 10px;
  color: var(--ed-ink);
  font-size: 21px;
  text-transform: none;
  letter-spacing: -.015em;
}
body.site-v5 .r151-hero .r151-hot a {
  display: block;
  padding: 13px 0;
}
body.site-v5 .r151-hero .r151-hot span {
  display: block;
  color: var(--ed-ink);
  font-size: 15px;
  line-height: 1.32;
  font-weight: 700;
}

body.site-v5 :is(.r151-home, .home-editorial-highlights-r149, .home-editorial-shelf, .editorial-layout, .article-layout) a:hover :is(h1,h2,h3,strong),
body.site-v5 .r151-hero .r151-hot a:hover span {
  color: var(--ed-accent);
  text-decoration: underline;
  text-underline-offset: .13em;
  text-decoration-thickness: 1px;
}

body.site-v5 .r151-home :is(.r151-kicker, .r151-side-copy small, .r151-quick small, .r151-news-card small) {
  color: var(--ed-accent);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .025em;
}
body.site-v5 .r151-home .r151-quick { margin: 24px 0 35px; }
body.site-v5 .r151-home .r151-quick a { padding-block: 14px; }
body.site-v5 .r151-home .r151-quick strong { font-size: 16px; line-height: 1.3; }
body.site-v5 .r151-home .r151-quick small { margin-bottom: 6px; }
body.site-v5 main :is(.r151-editorial-head, .home-editorial-head-r149, .home-sports-unified-r148 .sports-unified-head-r148, .home-services-head-r149, .home-latest-heritage .section-head, .home-editorial-shelf .section-head) {
  border-top: 2px solid var(--ed-navy);
  border-bottom: 1px solid var(--ed-line) !important;
  padding: 11px 0 !important;
  margin: 0 0 18px !important;
}
body.site-v5 main :is(.r151-editorial-head, .home-editorial-head-r149, .sports-unified-head-r148, .home-services-head-r149, .home-editorial-shelf .section-head, .home-latest-heritage .section-head) h2 {
  font-size: clamp(23px, 2.3vw, 31px) !important;
  line-height: 1.1;
  margin: 0;
  color: var(--ed-ink) !important;
}
body.site-v5 main :is(.r151-editorial-head, .home-editorial-head-r149, .home-services-head-r149, .home-editorial-shelf .section-head, .home-latest-heritage .section-head) a {
  font-size: 13px !important;
  font-weight: 700;
}
body.site-v5 .r151-editorial .r151-news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
  margin-bottom: 31px;
}
body.site-v5 .r151-editorial .r151-news-card { display: block; grid-column: auto; }
body.site-v5 .r151-editorial .r151-news-card .media {
  height: auto;
  aspect-ratio: 1.72;
  border-radius: 3px;
  margin: 0;
}
body.site-v5 .r151-editorial .r151-news-card strong { font-size: 20px; line-height: 1.2; }
body.site-v5 .r151-editorial .r151-news-card p { font-size: 14px; }
body.site-v5 main :is(.r151-lead > .media, .r151-side-card .media, .r151-news-card .media):has(.editorial-fallback) { display: none; }

body.site-v5 main :is(.home-sports-unified-r148, .home-services-r149) {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: white !important;
  box-shadow: none !important;
}
body.site-v5 main :is(.sports-unified-head-r148, .home-services-head-r149) { border-top-color: #18734e; }
body.site-v5 main .home-services-head-r149 { border-top-color: var(--ed-accent); }
body.site-v5 main :is(.home-sports-unified-r148, .home-services-r149, .home-editorial-highlights-r149, .home-editorial-shelf, .r152-themes) :is(article,.home-editorial-tile-r149,.home-shelf-card) {
  box-shadow: none !important;
  border-radius: 3px !important;
}
body.site-v5 main :is(.r151-editorial-head span, .home-editorial-head-r149 > div > span, .home-editorial-head-r149 p, .sports-unified-kicker-r148, .sports-unified-head-r148 p, .home-services-head-r149 p, .home-shelf-card .kicker, .home-latest-heritage .section-head .kicker) { display: none; }
body.site-v5 main :is(.r151-play, .classic-guide-panel, .unit-expansion-pro, .descubra-products-home) {
  background: var(--ed-navy) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
body.site-v5 main .descubra-products-home .products-v241-shell { box-shadow: none; }
body.site-v5 main .r151-play .r151-play-copy h2 { font-size: clamp(24px, 2.3vw, 34px); }
body.site-v5 main .r151-play .r151-play-copy p { font-size: 15px; }

body.site-v5 .article-layout {
  max-width: 1160px;
  gap: clamp(24px, 5vw, 65px);
  grid-template-columns: minmax(0, 780px) minmax(0, 285px);
}
body.site-v5 .article-layout .article-header { border-bottom: 1px solid var(--ed-line); margin-bottom: 22px; }
body.site-v5 .article-layout .article-header h1,
body.site-v5 .editorial-layout .internal-head h1 {
  margin-block: 9px 14px;
  color: var(--ed-ink);
  font: 750 clamp(34px, 4.2vw, 58px)/1.05 Roboto, Arial, sans-serif;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
body.site-v5 .article-layout .article-header .summary {
  color: var(--ed-muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.46;
}
body.site-v5 .article-layout :is(.article-cover, .article-cover-figure),
body.site-v5 .editorial-layout :is(.editorial-feature, .editorial-secondary-card, .editorial-row) {
  background-color: white;
  border-radius: 3px;
  box-shadow: none;
}
body.site-v5 .article-layout .article-cover-credit { color: var(--ed-muted); font-size: 13px; }
body.site-v5 .article-layout .article-body {
  max-width: 71ch;
  font: 400 clamp(17px, 1.55vw, 19px)/1.72 Roboto, Arial, sans-serif;
  color: var(--ed-ink);
}
body.site-v5 .article-layout .article-body :is(img,video,iframe) { max-width: 100%; }
body.site-v5 .article-layout .article-body a { text-decoration: underline; text-underline-offset: .14em; }
body.site-v5 :is(.article-layout,.editorial-layout) .rail-module { border-radius: 3px; box-shadow: none; }
body.site-v5 .editorial-layout .internal-head { border-bottom: 2px solid var(--ed-navy); }
body.site-v5 .editorial-layout :is(.editorial-secondary-card,.editorial-row) { border-width: 0 0 1px; }
body.site-v5 .dd-footer { background: var(--ed-navy) !important; }

@media (max-width: 1199px) {
  body.site-v5 .masthead .nav-inner .nav-balance { display: none; }
}
@media (max-width: 980px) {
  body.site-v5 .wrap { width: min(calc(100% - 42px), 1240px) !important; }
  body.site-v5 .masthead .brand-row { grid-template-columns: auto minmax(100px,1fr) auto !important; gap: 14px !important; }
  body.site-v5 .masthead .header-status { display: none !important; }
  body.site-v5 .r151-hero { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  body.site-v5 .r151-hero .r151-hot {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    padding: 0;
    column-gap: 24px;
  }
  body.site-v5 .r151-hero .r151-hot h2 { grid-column: 1 / -1; }
  body.site-v5 .r151-hero .r151-hot a:last-child { border-bottom: 1px solid var(--ed-line); }
  body.site-v5 .r151-editorial .r151-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-v5 .article-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body.site-v5 .wrap { width: calc(100% - 32px) !important; }
  body.site-v5 .masthead .brand-row { grid-template-columns: minmax(0, 1fr) auto auto !important; gap: 7px 12px !important; padding-block: 6px 10px; min-height: 0 !important; }
  body.site-v5 .masthead .brand img { width: 126px !important; }
  body.site-v5 .masthead .portal-search { grid-column: 1 / -1 !important; order: 10; height: 40px !important; }
  body.site-v5 .masthead .portal-search button { height: 40px !important; }
  body.site-v5 .masthead .portal-search input { font-size: 16px !important; }
  body.site-v5 .masthead .portal-mobile-toggle { border-radius: 4px; }
  body.site-v5 .masthead .account-menu > summary { border-radius: 4px; }
  body.site-v5 > .portal-dateline .wrap { min-height: 29px; }
  body.site-v5 .r151-home { padding-top: 8px; }
  body.site-v5 .r151-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.site-v5 .r151-hero .r151-lead > .media { aspect-ratio: 1.74; }
  body.site-v5 .r151-hero .r151-lead-copy { padding-top: 12px; }
  body.site-v5 .r151-hero .r151-lead-copy h1 { font-size: clamp(29px, 7.3vw, 43px); }
  body.site-v5 .r151-hero .r151-side { padding-left: 0; border-left: 0; gap: 0; }
  body.site-v5 .r151-hero .r151-side-card {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr);
    align-items: start;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid var(--ed-line);
  }
  body.site-v5 .r151-hero .r151-side-card:has(.editorial-fallback) { grid-template-columns: minmax(0,1fr); }
  body.site-v5 .r151-hero .r151-side-card .media { aspect-ratio: 4 / 3; }
  body.site-v5 .r151-hero .r151-side-copy { padding: 0; }
  body.site-v5 .r151-hero .r151-hot { display: block; grid-column: auto; }
  body.site-v5 .r151-home .r151-quick { grid-template-columns: 1fr; margin: 18px 0 24px; }
  body.site-v5 .r151-home .r151-quick a { padding-inline: 0; }
  body.site-v5 .r151-editorial .r151-news-grid { gap: 16px 13px; }
  body.site-v5 .r151-editorial .r151-news-card strong { font-size: 16px; }
  body.site-v5 .article-layout .article-header h1 { font-size: clamp(31px, 8.2vw, 45px); }
}

/* Chamadas sem foto documental mantêm o mesmo acesso à notícia. */
body.site-v5 > .headline-ticker { display: none !important; }
body.site-v5:has(.r151-home) main { padding-top: 0; }
body.site-v5 > .portal-dateline .wrap { padding-block: 0; }
body.site-v5 .r151-lead-copy a,
body.site-v5 .editorial-feature { text-decoration: none; }
body.site-v5 .r151-home :is(.r151-lead, .r151-side-card):has(img[src*="/media/news-generated/"]) > .media,
body.site-v5 .r151-editorial .media:has(img[src*="/media/news-generated/"]),
body.site-v5 main :is(.home-editoria-media-r149, .r152-theme-media, .sports-unified-lead-media-r148, .sports-unified-secondary-media-r148):has(img[src*="/media/news-generated/"]),
body.site-v5 main img[src*="/media/news-generated/"],
body.site-v5 .article-layout .article-cover-figure:has(.article-cover[src*="/media/news-generated/"]) {
  display: none;
}
body.site-v5 .r151-lead > .media:has(.editorial-fallback, img[src*="/media/news-generated/"]) + .r151-lead-copy { padding-top: 0; }
body.site-v5 .r151-hero .r151-side-card:has(img[src*="/media/news-generated/"]) .r151-side-copy { padding-top: 0; }
body.site-v5 .editorial-layout .editorial-feature {
  min-height: 0;
  display: block;
  background: white;
  color: var(--ed-ink);
  border: 0;
  overflow: visible;
}
body.site-v5 .editorial-layout .editorial-feature::after { content: none; }
body.site-v5 .editorial-layout .editorial-feature img {
  position: static;
  display: block;
  aspect-ratio: 2.08;
  height: auto;
  border-radius: 3px;
}
body.site-v5 .editorial-layout .editorial-feature > :is(.media-fallback,img[src*="/media/news-generated/"]) { display: none; }
body.site-v5 .editorial-layout .editorial-feature-copy { padding: 14px 0 0; color: var(--ed-ink); }
body.site-v5 .editorial-layout .editorial-feature-copy h2 { font-size: clamp(24px, 2.8vw, 38px); }
body.site-v5 .editorial-layout .editorial-feature-copy p { color: var(--ed-muted); font-size: 16px; }
body.site-v5 .editorial-layout :is(.editorial-secondary-card, .editorial-row):has(> :is(.media-fallback,img[src*="/media/news-generated/"])) { grid-template-columns: minmax(0,1fr); }
body.site-v5 .editorial-layout :is(.editorial-secondary-card,.editorial-row) > .media-fallback { display: none; }
body.site-v5 .editorial-layout .editorial-secondary-card b { font-size: 17px; }

body.site-v5 main .home-editoria-card-r149 {
  grid-template-rows: auto 1fr;
  border: 0;
  border-bottom: 1px solid var(--ed-line);
  border-radius: 0;
  box-shadow: none;
  padding-bottom: 12px;
}
body.site-v5 main .home-editoria-card-r149::before { content: none; }
body.site-v5 main .home-editoria-card-r149:has(.editoria-fallback-r149) { grid-template-rows: 1fr; }
body.site-v5 main .home-editoria-media-r149:has(.editoria-fallback-r149) { display: none; }
body.site-v5 main .home-editoria-media-r149 { aspect-ratio: 2.1; border-radius: 3px; }
body.site-v5 main .home-editoria-copy-r149 { padding: 10px 0 0; }
body.site-v5 main .home-editoria-copy-r149 small,
body.site-v5 main .home-services-head-r149 > div > span { display: none; }
body.site-v5 main .home-editoria-copy-r149 b { color: var(--ed-accent); font-size: 13px; }
body.site-v5 main .home-editoria-copy-r149 p { font-size: 14px; color: var(--ed-muted); }

@media (min-width: 981px) and (max-width: 1199px) {
  body.site-v5 .masthead .main-nav { gap: 8px !important; }
}
@media (max-width: 640px) {
  body.site-v5 .r151-hero .r151-side-card:has(img[src*="/media/news-generated/"]) { grid-template-columns: minmax(0,1fr); }
  body.site-v5 main .home-shelf-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  body.site-v5 main .home-shelf-card.lead { grid-column: 1/-1; }
  body.site-v5 .editorial-layout .editorial-feature-copy { padding-top: 7px; }
}
body.site-v5 .r151-hero .r151-hot h2 { text-wrap: balance; }
body.site-v5 main .r151-hero a:focus-visible { outline-offset: 5px; }
body.site-v5 .masthead .nav-guide { background: var(--ed-navy); border-radius: 4px; }
