/*
 * PopCo Atmos 1.8.17
 * Unified Opinativo PopCo + PopCômetro score card.
 */

body.single-popco_story .popco-ratings-v2 {
  --ratings-navy: #011920;
  --ratings-yellow: #ffc928;
  background: #fffdfa;
  border: 1px solid rgba(1, 25, 32, 0.12);
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(1, 25, 32, 0.055);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto 28px;
  max-width: 620px;
  overflow: hidden;
}

body.single-popco_story .popco-ratings-v2__panel {
  --tier-accent: #a9b4ba;
  --tier-deep: #52636b;
  --tier-soft: #eef2f4;
  align-items: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 20px 13px;
  position: relative;
  text-align: center;
}

body.single-popco_story .popco-ratings-v2__panel + .popco-ratings-v2__panel {
  border-left: 1px solid rgba(1, 25, 32, 0.12);
}

body.single-popco_story .popco-ratings-v2__panel::before {
  background: var(--tier-accent);
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

body.single-popco_story .popco-ratings-v2__panel--gold {
  --tier-accent: #f0b500;
  --tier-deep: #936900;
  --tier-soft: #fff3c9;
}

body.single-popco_story .popco-ratings-v2__panel--silver {
  --tier-accent: #a9b4ba;
  --tier-deep: #52636b;
  --tier-soft: #eef2f4;
}

body.single-popco_story .popco-ratings-v2__panel--bronze {
  --tier-accent: #be7448;
  --tier-deep: #814729;
  --tier-soft: #faece3;
}

body.single-popco_story .popco-ratings-v2__panel--burnt {
  --tier-accent: #65483b;
  --tier-deep: #342721;
  --tier-soft: #eee6e1;
}

body.single-popco_story .popco-ratings-v2__panel--pending {
  --tier-accent: #c7cfcc;
  --tier-deep: #687572;
  --tier-soft: #f1f3f2;
}

body.single-popco_story .popco-rating-brand {
  align-items: flex-end;
  color: var(--ratings-navy);
  display: inline-flex;
  font-family: "PopCo Roboto", Arial, sans-serif;
  justify-content: center;
  min-height: 27px;
  position: relative;
  width: 100%;
}

body.single-popco_story .popco-rating-brand strong {
  color: inherit;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

body.single-popco_story .popco-rating-brand--editorial {
  padding-top: 3px;
}

body.single-popco_story .popco-rating-brand--editorial > span {
  border-left: 4px solid var(--ratings-yellow);
  border-top: 4px solid var(--ratings-yellow);
  height: 13px;
  left: calc(50% - 78px);
  position: absolute;
  top: 0;
  width: 13px;
}

body.single-popco_story .popco-rating-brand--editorial small {
  background: var(--ratings-yellow);
  border-radius: 2px;
  color: var(--ratings-navy);
  font-family: inherit;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 14px;
  margin-left: -41px;
  padding: 0 6px;
  position: relative;
  top: 10px;
  text-transform: uppercase;
}

body.single-popco_story .popco-rating-brand--audience strong {
  font-size: 21px;
}

body.single-popco_story .popco-rating-brand--audience::before {
  border-bottom: 5px solid var(--ratings-yellow);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  content: "";
  left: 50%;
  margin-left: 1px;
  position: absolute;
  top: -2px;
}

body.single-popco_story .popco-rating-score {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 9px;
  min-height: 48px;
}

body.single-popco_story .popco-rating-score strong {
  color: var(--ratings-navy);
  font-family: "PopCo Roboto", Arial, sans-serif;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.9;
}

body.single-popco_story .popco-rating-score img {
  border-radius: 50%;
  display: block;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

body.single-popco_story .popco-rating-score.is-pending img {
  filter: grayscale(1);
  opacity: 0.42;
}

body.single-popco_story .popco-rating-meter {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 8px;
  max-width: 160px;
  width: 100%;
}

body.single-popco_story .popco-rating-meter > i {
  background: #dfe3e1;
  border-radius: 4px;
  display: block;
  height: 6px;
  overflow: hidden;
}

body.single-popco_story .popco-rating-meter > i > b {
  background: var(--tier-accent);
  border-radius: inherit;
  display: block;
  height: 100%;
}

body.single-popco_story .popco-rating-verdict {
  color: var(--ratings-navy);
  font-family: "PopCo Roboto", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  margin: 7px 0 0;
}

body.single-popco_story .popco-rating-tier-name {
  background: var(--tier-soft);
  border-radius: 999px;
  color: var(--tier-deep);
  display: inline-flex;
  font-family: "PopCo Roboto", Arial, sans-serif;
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1;
  margin-top: 5px;
  padding: 4px 7px;
  text-transform: uppercase;
}

body.single-popco_story .popco-rating-meta {
  color: #647174;
  display: block;
  font-family: "PopCo Roboto", Arial, sans-serif;
  font-size: 9.5px;
  line-height: 1.35;
  margin-top: 6px;
}

body.single-popco_story .popco-rating-action {
  align-items: center;
  border-top: 0;
  color: #236ed0;
  display: inline-flex;
  font-family: "PopCo Roboto", Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 750;
  gap: 7px;
  justify-content: center;
  margin-top: 7px;
  padding: 6px 6px 0;
  text-decoration: none;
  width: min(100%, 165px);
}

body.single-popco_story .popco-rating-action:hover,
body.single-popco_story .popco-rating-action:focus-visible {
  color: #124e9e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.single-popco_story .popco-rating-action svg {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 14px;
}

body.single-popco_story .popco-popcometro-anchor {
  scroll-margin-top: 118px;
}

@media (max-width: 620px) {
  body.single-popco_story .popco-ratings-v2 {
    border-radius: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
    max-width: none;
  }

  body.single-popco_story .popco-ratings-v2__panel {
    padding: 13px 6px 12px;
  }

  body.single-popco_story .popco-ratings-v2__panel + .popco-ratings-v2__panel {
    border-left: 1px solid rgba(1, 25, 32, 0.12);
    border-top: 0;
  }

  body.single-popco_story .popco-rating-brand {
    min-height: 21px;
  }

  body.single-popco_story .popco-rating-brand strong {
    font-size: 13px;
  }

  body.single-popco_story .popco-rating-brand--audience strong {
    font-size: 13px;
  }

  body.single-popco_story .popco-rating-brand--editorial {
    padding-top: 2px;
  }

  body.single-popco_story .popco-rating-brand--editorial > span {
    border-left-width: 3px;
    border-top-width: 3px;
    height: 9px;
    left: calc(50% - 49px);
    top: 1px;
    width: 9px;
  }

  body.single-popco_story .popco-rating-brand--editorial small {
    font-size: 5px;
    letter-spacing: 0.12em;
    line-height: 10px;
    margin-left: -27px;
    padding: 0 4px;
    top: 7px;
  }

  body.single-popco_story .popco-rating-brand--audience::before {
    border-bottom-width: 4px;
    border-left-width: 4px;
    border-right-width: 4px;
    top: -2px;
  }

  body.single-popco_story .popco-rating-score {
    gap: 4px;
    margin-top: 8px;
    min-height: 38px;
  }

  body.single-popco_story .popco-rating-score strong {
    font-size: 32px;
  }

  body.single-popco_story .popco-rating-score img {
    height: 38px;
    width: 38px;
  }

  body.single-popco_story .popco-rating-meter {
    gap: 3px;
    margin-top: 7px;
    max-width: 118px;
  }

  body.single-popco_story .popco-rating-meter > i {
    height: 5px;
  }

  body.single-popco_story .popco-rating-verdict {
    align-items: center;
    display: flex;
    font-size: 10.5px;
    justify-content: center;
    line-height: 1.18;
    margin-top: 6px;
    min-height: 25px;
  }

  body.single-popco_story .popco-rating-tier-name {
    font-size: 5.8px;
    letter-spacing: 0.035em;
    margin-top: 4px;
    padding: 4px 5px;
    white-space: nowrap;
  }

  body.single-popco_story .popco-rating-meta {
    font-size: 7.5px;
    margin-top: 5px;
  }

  body.single-popco_story .popco-rating-action {
    font-size: 8.5px;
    gap: 4px;
    margin-top: 5px;
    min-height: 29px;
    padding: 5px 1px 0;
    width: 100%;
  }

  body.single-popco_story .popco-rating-action svg {
    height: 12px;
    width: 12px;
  }
}

@media (max-width: 360px) {
  body.single-popco_story .popco-ratings-v2__panel {
    padding-left: 6px;
    padding-right: 6px;
  }

  body.single-popco_story .popco-rating-brand--editorial > span {
    left: calc(50% - 47px);
  }

  body.single-popco_story .popco-rating-score strong {
    font-size: 31px;
  }

  body.single-popco_story .popco-rating-score img {
    height: 39px;
    width: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-popco_story .popco-rating-action {
    scroll-behavior: auto;
  }
}
