.homePortal main#conteudo :is(.hpWeekly, .hpTools) .hpSectionHeading h2 {
  color: #0c3552;
  font: 700 clamp(27px, 3.2vw, 43px)/1.1 Georgia, Cambria, serif;
  letter-spacing: -.025em;
}
.homeWeeklyIssue {
  display: grid;
  grid-template-columns: minmax(180px, .85fr) minmax(0, 1.7fr);
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(17px, 3vw, 34px);
  border: 1px solid #d7e4e9;
  border-radius: 18px;
  background: #fff;
  color: #0c3552;
}
.homeWeeklyIssueInfo, .homeWeeklyHeadlines {
  min-width: 0;
}
.homeWeeklyDate, .homeWeeklySource {
  display: block;
  color: #176556;
  font-size: 12px;
  font-weight: 700;
}
.homeWeeklyIssueInfo h3 {
  margin: 8px 0 14px;
  font: 700 clamp(22px, 2.5vw, 32px)/1.2 Georgia, Cambria, serif;
  overflow-wrap: anywhere;
}
.homeWeeklyIssueInfo .hpEditionActions {
  gap: 8px 12px;
  margin: 0;
}
.homeWeeklyProgress {
  margin: 12px 0 0;
  color: #526a7b;
  font-size: 12px;
}
.homeWeeklyHeadlines {
  display: grid;
  align-content: center;
}
.homeWeeklyHeadline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #e0e9ef;
  color: #0c3552;
  text-decoration: none;
}
.homeWeeklyHeadline:last-child {
  border-bottom: 0;
}
.homeWeeklyHeadline:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.homeWeeklyHeadline strong {
  display: block;
  font: 700 clamp(15px, 1.6vw, 19px)/1.35 Georgia, Cambria, serif;
  overflow-wrap: anywhere;
}
.homeWeeklyHeadline > i {
  margin-left: auto;
  flex: 0 0 7px;
  height: 7px;
  border-top: 1.5px solid #176556;
  border-right: 1.5px solid #176556;
  transform: rotate(45deg);
}
.homeWeeklyEmpty {
  padding: 16px 20px;
  border: 1px solid #d7e4e9;
  border-radius: 12px;
  background: #fff;
}
/* Vitrine de parceiros e controles de rolagem. */
.home.homePortal main#conteudo > #featuredSection {
  padding: 16px clamp(12px, 1.6vw, 20px) 12px !important;
  background: linear-gradient(155deg, #123c55, #0b263e);
  border-radius: 16px;
  box-shadow: 0 6px 20px #102d4018;
}
.home.homePortal main#conteudo #featuredSection .featuredPhotoHeading {
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.home.homePortal main#conteudo #featuredSection .hpFeaturedIntro {
  flex: 1 1 auto;
  min-width: 0;
}
.home.homePortal main#conteudo #featuredSection .hpFeaturedKicker {
  margin-bottom: 4px;
  letter-spacing: .12em;
}
.home.homePortal main#conteudo #featuredSection h2 {
  margin: 0;
  font: 700 clamp(21px, 2.3vw, 29px)/1.15 Georgia, Cambria, serif;
}
.home.homePortal main#conteudo #featuredSection .mcPartnerIntro {
  margin: 5px 0 0;
  line-height: 1.35;
}
.home.homePortal #featuredCards.featuredPhotoRail {
  padding: 3px 3px 9px;
  scroll-snap-type: none !important;
}
.home.homePortal #featuredCards .featuredPhotoFrame {
  aspect-ratio: auto;
}
.home.homePortal #featuredCards .mcPartnerPoster {
  height: clamp(106px, 11vw, 136px);
}
.home.homePortal #featuredCards .mcPartnerBenefit {
  margin-top: 5px;
  padding: 9px 10px;
  gap: 4px;
}
.home.homePortal #featuredCards .mcBenefitValue {
  font-size: 18px;
}
.homePartnerEvent {
  display: grid;
  gap: 4px;
  padding: 8px 5px 5px;
  color: #0c3552;
}
.homePartnerEvent strong {
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.homePartnerEvent > span {
  color: #526a7b;
  font-size: 12px;
}
.home.homePortal main#conteudo #featuredSection .hpFeaturedFoot {
  justify-content: flex-end;
  align-items: flex-end;
  padding: 7px 0 0;
}
.home.homePortal main#conteudo #featuredSection .featuredPhotoControls {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid #9bc7e15c;
  border-radius: 28px;
  background: #081e30;
}
.home.homePortal main#conteudo #featuredSection .featuredPhotoControls[hidden] {
  display: none;
}
.home.homePortal main#conteudo #featuredSection .featuredPhotoControls > button {
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: transparent !important;
  color: #eef7ff !important;
  box-shadow: none !important;
  font-size: 12px;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.home.homePortal main#conteudo #featuredSection .featuredPhotoControls > button:not(:disabled):hover {
  background: #284d69 !important;
  border-color: #82b6d4;
  transform: none;
}
.home.homePortal main#conteudo #featuredSection .featuredPhotoControls > button:disabled {
  color: #b7c9d5 !important;
  opacity: 1;
  cursor: default;
}
.home.homePortal main#conteudo #featuredSection .featuredPhotoControls > button:focus-visible {
  outline: 2px solid #b7e4ff;
  outline-offset: -3px;
}
.home.homePortal main#conteudo #featuredSection :is(#featuredPhotoPrevious, #featuredPhotoNext) {
  display: grid;
  place-items: center;
  width: 44px;
  padding: 0;
  font-size: 0;
}
.home.homePortal main#conteudo #featuredSection :is(#featuredPhotoPrevious, #featuredPhotoNext)::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateX(2px) rotate(135deg);
}
.home.homePortal main#conteudo #featuredSection #featuredPhotoNext::before {
  transform: translateX(-2px) rotate(-45deg);
}
.home.homePortal main#conteudo #featuredSection .mcPartnerMotion {
  width: auto;
  min-width: 0;
  max-width: none;
  margin-inline-start: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .home.homePortal main#conteudo #featuredSection .featuredPhotoControls > button {
    transition: none;
  }
}

/* As ferramentas de pesquisa e atualização formam duas colunas no celular. */
.homeToolGroup + .homeToolGroup {
  margin-top: 16px;
}
.homeToolGroup h3 {
  margin: 0 0 8px;
  color: #176556;
  font-size: 15px;
}
.homePortal main#conteudo .homeToolGroup .hpToolsGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
  margin: 0;
}
.homePortal main#conteudo .homeToolGroup .hpTool {
  min-width: 0;
  min-height: 65px;
  border-radius: 10px;
  padding: 10px 8px;
  background: linear-gradient(125deg, #175b8b, #0c3552) !important;
  border-color: #26688e;
  box-shadow: 0 3px 8px #0c35521a;
}
.homePortal main#conteudo .homeToolGroup .hpTool:hover {
  transform: none;
  background: #0c3552 !important;
}
.homePortal main#conteudo .homeToolGroup .hpToolCopy strong {
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.homePortal main#conteudo { padding-bottom: 0; }
.homePortal main#conteudo #divulgar {
  margin-block: clamp(24px, 4vw, 42px) 0;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #d7e4e9;
  border-radius: 16px;
  background: #eef6f7;
}
.homePortal main#conteudo #divulgar h2 {
  font-family: Georgia, Cambria, serif;
}
@media (max-width: 650px) {
  .homeWeeklyIssue {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .homeWeeklyHeadlines {
    border-top: 1px solid #e0e9ee;
  }
  .home.homePortal #featuredCards .featuredPhotoGrid {
    grid-auto-columns: min(72vw, 262px);
    gap: 10px;
  }
  .home.homePortal #featuredCards .mcPartnerPoster {
    height: 112px;
  }
  .homePortal main#conteudo > .hpTools {
    padding: 16px 12px;
  }
  .homePortal main#conteudo .homeToolGroup .hpToolsGrid {
    gap: 6px;
  }
  .homePortal main#conteudo .homeToolGroup .hpTool {
    padding: 8px 5px;
    min-height: 56px;
  }
  .homePortal main#conteudo .homeToolGroup .hpToolCopy strong {
    font-size: clamp(11px, 3.1vw, 14px);
    line-height: 1.23;
  }
}

@media (max-width: 480px) {
  .home.homePortal main#conteudo #featuredSection .featuredPhotoHeading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.homePortal main#conteudo .homeToolGroup .hpTool.hpResidency {
  border: 1px solid #268c77;
  background: linear-gradient(118deg, #0c3552 12%, #114c57 60%, #146858) !important;
  box-shadow: 0 6px 16px #0d50452b;
}
.homePortal main#conteudo .homeToolGroup .hpTool.hpResidency:hover {
  background: linear-gradient(118deg, #092f48 12%, #10414a 60%, #105949) !important;
}
.homePortal main#conteudo .homeToolGroup .hpTool.hpResidency:focus-visible {
  outline: 3px solid #167965;
  outline-offset: 3px;
}
.homePortal main#conteudo .homeToolGroup .hpResidency .hpToolCopy {
  display: grid;
  justify-items: center;
  gap: 4px;
}
.hpResidencyBadge {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 999px;
  background: #d7f5e7;
  color: #114c41;
  font-size: 11px;
  font-weight: 700;
}

.homePortal main#conteudo .homeToolGroup .hpToolsGridResearch {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.homePortal main#conteudo .homeToolGroup .hpTool.hpContests {
  border-color: #345c91;
  background: linear-gradient(125deg, #244c81, #132e50) !important;
}
.homePortal main#conteudo .homeToolGroup .hpTool.hpContests:hover {
  border-color: #6d93c2;
  background: #132e50 !important;
}
@media (max-width: 650px) {
  .homePortal main#conteudo .homeToolGroup .hpToolsGridResearch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
