/* Native featured_draw card: full image followed by its information block. */
body.theme-miyashiro .app-main > .col-12:has(> a.custom-highlight-card) {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}

body.theme-miyashiro .app-main a.SorteioTpl_sorteioTpl__home.SorteioTpl_destaque__3vnWR.custom-highlight-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  color: #fff !important;
  background: #242b35 !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

body.theme-miyashiro .app-main .custom-highlight-card > .SorteioTpl_imagemContainer__2-pl4 {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  background: #11151c !important;
}

body.theme-miyashiro .app-main .custom-highlight-card > .SorteioTpl_imagemContainer__2-pl4 > .carousel,
body.theme-miyashiro .app-main .custom-highlight-card .carousel-inner,
body.theme-miyashiro .app-main .custom-highlight-card .carousel-item,
body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-image-frame {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}

body.theme-miyashiro .app-main .custom-highlight-card img.SorteioTpl_imagem__2GXxI {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

body.theme-miyashiro .app-main .custom-highlight-card > .custom-content-wrapper {
  position: relative !important;
  z-index: 2 !important;
  inset: auto !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 74px !important;
  padding: 11px 13px !important;
  color: #fff !important;
  background: #242b35 !important;
  border-radius: 0 !important;
}

body.theme-miyashiro .app-main .custom-highlight-card .custom-content-wrapper .SorteioTpl_title__3RLtu {
  margin: 0 0 3px !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
}

body.theme-miyashiro .app-main .custom-highlight-card .custom-content-wrapper .SorteioTpl_descricao__1b7iL {
  margin: 0 !important;
  color: #a8b1bf !important;
  font-size: .72rem !important;
  line-height: 1.25 !important;
}

body.theme-miyashiro .app-main .custom-highlight-card > .custom-badge-display {
  position: absolute !important;
  z-index: 4 !important;
  left: 12px !important;
  bottom: 84px !important;
}

body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  margin: 0 10px 10px;
  padding: 8px 12px;
  color: #fff;
  background: linear-gradient(135deg, #c55a5e, #e57878);
  border: 1px solid rgba(255, 190, 190, .52);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(166, 63, 69, .22);
  align-self: stretch !important;
  width: calc(100% - 20px) !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  font-size: 1.15rem;
}

body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta-copy strong {
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
}

body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta-copy small {
  margin-top: 2px;
  color: rgba(255,255,255,.8);
  font-size: .68rem;
}

body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta > b {
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
  white-space: nowrap;
}

body.theme-miyashiro .app-main .custom-highlight-card:has(.miyashiro-featured-cta) > .custom-badge-display {
  bottom: 150px !important;
}

/* Destaque mais compacto no celular, sem recortar excessivamente a foto. */
@media (max-width: 767.98px) {
  body.theme-miyashiro .app-main .custom-highlight-card > .SorteioTpl_imagemContainer__2-pl4 {
    aspect-ratio: 5 / 4 !important;
  }

  body.theme-miyashiro .app-main .custom-highlight-card > .custom-content-wrapper {
    min-height: 66px !important;
    padding: 9px 12px !important;
  }

  body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta {
    min-height: 52px;
    margin-bottom: 9px;
    padding-block: 7px;
  }

  body.theme-miyashiro .app-main .custom-highlight-card:has(.miyashiro-featured-cta) > .custom-badge-display {
    bottom: 139px !important;
  }
}

@media (max-width: 380px) {
  body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 7px;
    min-height: 52px;
    padding-inline: 10px;
  }
  body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta-copy strong { font-size: .82rem; }
  body.theme-miyashiro .app-main .custom-highlight-card .miyashiro-featured-cta > b { font-size: .82rem; }
}
