/* ===== TOPO 9: referencia editorial com hero + mais lidas ===== */

.th9-wrap {
  clear: both;
  float: left;
  width: 100%;
  box-sizing: border-box;
  margin: 22px 0 28px;
  padding: 0;
  background: #fff;
  color: #2b2b2b;
  font-family: Roboto, Arial, sans-serif;
}

.th9-wrap,
.th9-wrap * {
  box-sizing: border-box;
}

.th9-wrap a,
.th9-wrap a:hover {
  color: inherit;
  text-decoration: none;
}

.urgente + .th9-wrap {
  margin-top: 22px;
}

.th9-principal {
  display: grid !important;
  grid-template-columns: minmax(0, 2.14fr) minmax(190px, .83fr) minmax(242px, 1.03fr) !important;
  gap: 20px !important;
  align-items: start;
  width: 100%;
  margin-bottom: 18px;
}

.th9-hero {
  position: relative;
  display: block;
  min-width: 0;
  height: 335px;
  overflow: hidden;
  background: #111;
  border-radius: 4px;
  isolation: isolate;
}

.th9-hero-img,
.th9-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.th9-hero-img {
  z-index: 0;
}

.th9-hero-img img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.th9-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .58) 34%, rgba(0, 0, 0, .12) 68%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .12) 45%, rgba(0, 0, 0, 0) 100%);
}

.th9-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px 24px;
}

.th9-hero-content p,
.th9-feature-copy p,
.th9-card p {
  display: inline-block;
  width: auto;
  margin: 0;
  background: var(--th9-accent, var(--cor-principal-site, #d00000));
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.th9-hero-content p {
  margin-bottom: 17px;
  padding: 6px 9px;
  font-size: 9px;
}

.th9-hero-content h1 {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: auto 0 0;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  transition: color .2s ease;
}

.th9-hero:hover .th9-hero-content h1 {
  color: var(--th9-accent, var(--cor-principal-site, #d00000));
}

.th9-hero-content em {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 14px 0 0;
  color: #f1f1f1;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
}

.th9-hero-content span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #f2f2f2;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.th9-date-icon {
  display: block;
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex: 0 0 auto;
}

.th9-secondary {
  min-width: 0;
  min-height: 335px;
  padding: 10px 0 0 0;
  background: transparent;
}

.th9-feature,
.th9-feature-copy {
  min-width: 0;
}

.th9-feature {
  display: block;
  height: 335px;
}

.th9-feature-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
}

.th9-feature-img {
  display: none;
}

.th9-feature-copy p {
  align-self: flex-start;
  max-width: 100%;
  margin-bottom: 13px;
  padding: 5px 9px;
  font-size: 8px;
}

.th9-feature-copy h2 {
  margin: 0 0 14px;
  color: #282532;
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.th9-feature-copy h2 a:hover {
  color: var(--th9-accent, var(--cor-principal-site, #d00000));
}

.th9-feature-copy em {
  display: block;
  margin: 0 0 auto;
  color: #666;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.34;
}

.th9-child {
  position: relative;
  display: block;
  margin-top: 0;
  min-height: 62px;
  padding: 13px 0 13px 22px;
  border-top: 1px solid #ededed;
  color: #272735;
  font-family: Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.th9-child:last-child {
  padding-bottom: 0;
}

.th9-child::before {
  content: "\00bb";
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--th9-accent, var(--cor-principal-site, #d00000));
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.th9-child b {
  padding-right: 4px;
  color: #272735;
  font-size: 11px;
  font-weight: 700;
}

.th9-child span {
  color: #272735;
  font-weight: 700;
}

.th9-child:hover span {
  color: var(--th9-accent, var(--cor-principal-site, #d00000));
}

.th9-sidebar {
  min-width: 0;
  min-height: 335px;
  padding: 0 0 0 20px;
  border-left: 1px solid #efefef;
  background: transparent;
}

.th9-side-head {
  margin: 0 0 6px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--cor-principal-site, #d00000);
}

.th9-side-head strong {
  display: block;
  color: var(--cor-principal-site, #d00000);
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.th9-side-head span {
  display: none;
}

.th9-popular {
  display: grid;
  grid-template-columns: 22px 62px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  width: 100%;
  padding: 7px 0;
  border-bottom: 1px solid #e8e8e8;
}

.th9-popular:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.th9-popular > span {
  color: #22222d;
  font-family: Roboto, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.th9-popular-img {
  width: 62px;
  height: 39px;
  overflow: hidden;
  background: #f2f2f2;
}

.th9-popular-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.th9-popular > div {
  min-width: 0;
}

.th9-popular p {
  margin: 0 0 3px;
  color: var(--th9-accent, var(--cor-principal-site, #d00000));
  font-size: 8px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.th9-popular strong {
  overflow: hidden;
  display: -webkit-box;
  margin: 0 0 4px;
  color: #262632;
  font-family: Roboto, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.22;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.th9-popular:hover strong {
  color: var(--th9-accent, var(--cor-principal-site, #d00000));
}

.th9-popular em {
  display: block;
  color: #898989;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.th9-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.th9-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.th9-card div {
  position: relative;
  width: 100%;
  aspect-ratio: 2.28 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.th9-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.th9-card p {
  position: absolute;
  left: 10px;
  bottom: 9px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  overflow: hidden;
  font-size: 8px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.th9-card strong {
  overflow: hidden;
  display: -webkit-box;
  min-height: 40px;
  margin: 0;
  padding: 11px 12px 0;
  color: #22222c;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.th9-card em {
  display: block;
  padding: 6px 12px 12px;
  color: #898989;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.th9-card:hover strong {
  color: var(--th9-accent, var(--cor-principal-site, #d00000));
}

@media (max-width: 1250px) {
  .th9-principal {
    grid-template-columns: minmax(0, 2.14fr) minmax(190px, .83fr) minmax(242px, 1.03fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 960px) {
  .th9-principal {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .th9-hero {
    height: 360px;
  }

  .th9-hero-content h1 {
    max-width: 520px;
    font-size: 28px;
  }

  .th9-secondary {
    min-height: 0;
    padding-top: 0;
  }

  .th9-feature {
    height: auto;
  }

  .th9-feature-copy {
    display: block;
    height: auto;
  }

  .th9-feature-copy em {
    margin: 0 0 15px;
  }

  .th9-child {
    min-height: 0;
    padding: 12px 0 12px 22px;
  }

  .th9-sidebar {
    min-height: 0;
    padding-left: 0;
    border-left: 0;
  }

  .th9-popular {
    grid-template-columns: 30px 92px minmax(0, 1fr);
  }

  .th9-popular-img {
    width: 92px;
    height: 58px;
  }

  .th9-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .th9-wrap {
    margin: 18px 0 30px;
  }

  .conteudo > .th9-wrap,
  .ads-728 + .th9-wrap,
  .ads-728-2 + .th9-wrap,
  #owl-demo2 + .th9-wrap {
    margin-top: 0 !important;
  }

  .th9-hero {
    height: 320px;
    border-radius: 6px;
  }

  .th9-hero-content {
    padding: 18px;
  }

  .th9-hero-content h1 {
    max-width: 100%;
    font-size: 23px;
    line-height: 1.2;
  }

  .th9-hero-content em {
    max-width: 100%;
    font-size: 12px;
  }

  .th9-feature-copy h2 {
    font-size: 19px;
  }

  .th9-popular {
    grid-template-columns: 26px 76px minmax(0, 1fr);
  }

  .th9-popular-img {
    width: 76px;
    height: 52px;
  }

  .th9-cards {
    grid-template-columns: 1fr;
  }

  .th9-card {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }

  .th9-card div {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 104px;
    aspect-ratio: auto;
  }

  .th9-card strong {
    grid-column: 2;
    min-height: 0;
    padding: 10px 10px 0 0;
    font-size: 15px;
  }

  .th9-card em {
    grid-column: 2;
    padding: 6px 10px 0 0;
  }
}

@media (max-width: 480px) {
  .th9-hero {
    height: 300px;
  }

  .th9-hero-content h1 {
    font-size: 21px;
  }

  .th9-feature-copy h2 {
    font-size: 18px;
  }

  .th9-popular {
    grid-template-columns: 24px 68px minmax(0, 1fr);
    gap: 7px;
  }

  .th9-popular-img {
    width: 68px;
    height: 48px;
  }

  .th9-card {
    grid-template-columns: 38% minmax(0, 1fr);
    column-gap: 10px;
  }

  .th9-card div {
    height: 96px;
  }

  .th9-card strong {
    font-size: 14px;
  }
}
