/* 3.0.0 — consolidação para apresentação do FIC. */
.odc22-home-thematic,
.odc274-uniform-grid--thematic,
#odc22-home-thematic-title,
.odc16-heading--thematic,
.odc16-page-acervo [data-odc-collection-card="mestres"],
.odc16-page-acervo [data-odc-collection-card="memoria"],
.odc16-page-acervo .odc16-acervo-card--mestres,
.odc16-page-acervo .odc16-acervo-card--memoria { display:none!important; }

body.odc300-page-journey,
body.odc300-page-journey .site,
body.odc300-page-journey main,
body.odc300-page-journey .entry-content { overflow-x:hidden!important; }
body.odc300-page-journey .odc-game { box-sizing:border-box!important;width:min(100%,1600px)!important;max-width:100%!important;margin:0 auto!important;overflow:visible!important; }
body.odc300-page-journey .odc-game__hud { box-sizing:border-box!important;position:relative!important;inset:auto!important;z-index:12!important;display:grid!important;grid-template-columns:minmax(220px,.8fr) minmax(220px,.55fr) minmax(520px,2fr)!important;align-items:center!important;gap:12px 18px!important;width:calc(100% - 24px)!important;max-width:1560px!important;min-height:0!important;margin:12px auto 18px!important;padding:14px 16px!important;transform:none!important;overflow:visible!important; }
body.odc300-page-journey .odc-game__hud-title,
body.odc300-page-journey .odc-game__hud-progress,
body.odc300-page-journey .odc-game__hud-actions { box-sizing:border-box!important;position:relative!important;inset:auto!important;width:100%!important;min-width:0!important;margin:0!important;transform:none!important; }
body.odc300-page-journey .odc-game__hud-actions { display:grid!important;grid-template-columns:repeat(4,minmax(110px,1fr))!important;gap:9px!important; }
body.odc300-page-journey .odc-game__hud-actions>:is(a,button,[role="button"]) { box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:8px 10px!important;font-size:.88rem!important;line-height:1.15!important;white-space:normal!important; }
body.odc300-page-journey .odc300-hidden-control { display:none!important; }
body.odc300-page-journey .odc-game__scene,
body.odc300-page-journey .odc-game__viewport { box-sizing:border-box!important;position:relative!important;width:100%!important;max-width:100%!important;margin:0 auto!important;overflow:hidden!important; }
body.odc300-page-journey .odc300-hotspot-label,
body.odc300-page-journey .odc300-summary-hidden { display:none!important; }
body.odc300-page-journey .odc300-memory-navigation { box-sizing:border-box!important;position:relative!important;inset:auto!important;z-index:15!important;display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) minmax(150px,1fr)!important;gap:14px!important;width:calc(100% - 24px)!important;max-width:1320px!important;margin:14px auto 22px!important;padding:0!important;transform:none!important; }
body.odc300-page-journey .odc300-memory-navigation>:is(a,button,[role="button"]) { box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:54px!important;margin:0!important;padding:10px 16px!important; }
body.odc300-page-journey .odc300-photo-panel { box-sizing:border-box!important;position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;max-height:min(78vh,850px)!important;margin:0!important;padding:28px 30px 34px!important;overflow-x:hidden!important;overflow-y:auto!important;transform:none!important;z-index:8!important;scrollbar-gutter:stable!important; }
body.odc300-page-journey .odc300-photo-panel :is(h1,h2,h3,h4,p,blockquote,li) { max-width:100%!important;text-align:left!important;text-align-last:left!important;word-spacing:0!important;letter-spacing:normal!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important; }
body.odc300-page-journey .odc300-redundant-hint { display:none!important; }
body.odc300-page-journey .odc300-photo-actions { box-sizing:border-box!important;position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;margin:24px 0 0!important;transform:none!important; }
body.odc300-page-journey .odc300-photo-actions>:is(a,button,[role="button"]) { box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:50px!important;margin:0!important;padding:10px 14px!important;white-space:normal!important; }
@media(max-width:1100px){body.odc300-page-journey .odc-game__hud{grid-template-columns:minmax(220px,1fr) minmax(220px,1fr)!important}body.odc300-page-journey .odc-game__hud-actions{grid-column:1/-1!important}}
@media(max-width:760px){body.odc300-page-journey .odc-game{width:100%!important;padding:0 8px!important}body.odc300-page-journey .odc-game__hud{grid-template-columns:minmax(0,1fr)!important;width:100%!important;margin:8px auto 14px!important;padding:12px!important}body.odc300-page-journey .odc-game__hud-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.odc300-page-journey .odc300-fullscreen-control{display:none!important}body.odc300-page-journey .odc300-memory-navigation{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) minmax(0,.9fr)!important;gap:8px!important;width:100%!important;margin:12px auto 18px!important}body.odc300-page-journey .odc300-memory-navigation>:is(a,button,[role="button"]){min-height:50px!important;padding:8px 6px!important;font-size:.85rem!important}body.odc300-page-journey .odc300-photo-panel{max-height:none!important;padding:22px 18px 28px!important;overflow:visible!important}body.odc300-page-journey .odc300-photo-actions{grid-template-columns:minmax(0,1fr)!important}body.odc300-page-journey .odc-game img,body.odc300-page-journey .odc-game video,body.odc300-page-journey .odc-game iframe{max-width:100%!important}}


/* 3.0.8 — Retirada curatorial temporária do tópico Coleções Temáticas. */
html body .odc16-heading--thematic,
html body #odc22-home-thematic-title,
html body .odc22-home-thematic__heading,
html body .odc274-uniform-grid--thematic > :is(h1,h2,h3,h4,h5,h6,[role="heading"]) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* A ficha mantém apenas a seção principal de reprodução (“Ouvir/Assistir no site”). */
html body .odc24-public-access.odc308-redundant-access,
html body .odc308-redundant-access {
  display: none !important;
}


/* 3.0.13 — Home com cinco destinos e resposta móvel preservada. */
html body.odc16-page-home .odc25-home-primary-nav {
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
  gap: 10px !important;
  width: min(1120px,calc(100% - 32px)) !important;
}
html body.odc16-page-home .odc25-home-primary-nav__button {
  min-width: 0 !important;
  min-height: 66px !important;
  height: auto !important;
  padding: 11px 10px !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (max-width: 1080px) {
  html body.odc16-page-home .odc25-home-primary-nav {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    width: min(760px,calc(100% - 28px)) !important;
  }
}

@media (max-width: 720px) {
  html body.odc16-page-home {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  html body.odc16-page-home .odc25-home-primary-nav {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    width: calc(100% - 24px) !important;
    max-width: 680px !important;
    gap: 9px !important;
    margin: 18px auto 26px !important;
  }
  html body.odc16-page-home .odc25-home-primary-nav__button {
    min-height: 62px !important;
    padding: 10px 7px !important;
    font-size: clamp(.78rem,3.7vw,.95rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    white-space: normal !important;
  }
  html body.odc16-page-home .odc25-home-primary-nav__button:last-child {
    grid-column: 1 / -1 !important;
    width: min(100%,330px) !important;
    justify-self: center !important;
  }

  /* O FIC volta a usar o empilhamento móvel estável, sem a grade de desktop. */
  html body.odc16-page-home .odc272-fic-panel {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 20px !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 22px 16px !important;
    overflow: hidden !important;
  }
  html body.odc16-page-home .odc272-fic-panel > * {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
  }
  html body.odc16-page-home .odc272-fic-panel img {
    display: block !important;
    width: 100% !important;
    max-width: 430px !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
  html body.odc16-page-home .odc272-fic-panel :is(h1,h2,h3,h4,h5,h6,p,li,blockquote) {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    text-align-last: left !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }
  html body.odc16-page-home .odc272-fic-panel :is(h1,h2,h3,h4,h5,h6) {
    font-size: clamp(2rem,9vw,3rem) !important;
    line-height: 1.08 !important;
  }
  html body.odc16-page-home .odc272-fic-panel :is(p,li,blockquote) {
    font-size: 1rem !important;
    line-height: 1.58 !important;
  }
}

@media (max-width: 420px) {
  html body.odc16-page-home .odc25-home-primary-nav {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    width: calc(100% - 18px) !important;
    gap: 8px !important;
  }
  html body.odc16-page-home .odc25-home-primary-nav__button {
    min-height: 60px !important;
    padding: 9px 5px !important;
    font-size: .78rem !important;
  }
  html body.odc16-page-home .odc272-fic-panel {
    width: calc(100% - 14px) !important;
    max-width: calc(100% - 14px) !important;
    padding: 18px 12px !important;
  }
}
