/* ISS Caruaru: original artwork as contextual icons and complete 3D book covers. */
.identity-v7:not(.bf6) .ccard--caruaru-v9 .ccard__top {
  display: flex;
  height: 148px;
  padding: 18px 20px;
  aspect-ratio: auto;
  background: radial-gradient(ellipse at 90% 20%, rgba(41,183,237,.16), transparent 65%), linear-gradient(125deg,#073248,#0b4e6c);
}
.ccard--caruaru-v9 .ccard__books {
  right: 28px;
  bottom: 17px;
  transform: none;
}
.ccard--caruaru-v9 .caruaru-book--deco { --w: 82px; --d: 11px; }
.ccard--caruaru-v9 .ccard__caruaru-status { display: flex; }
.ccard--caruaru-v9 .ccard__caruaru-included {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.ccard--caruaru-v9 .ccard__foot {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}
.ccard--caruaru-v9 .ccard__from { flex: 0 0 auto; }
.ccard--caruaru-v9 .ccard__from del {
  display: block;
  margin-bottom: 4px;
  text-decoration-thickness: 1px;
}
.ccard--caruaru-v9 .ccard__from strong { white-space: nowrap; }
.ccard--caruaru-v9 .ccard__foot .btn {
  flex: 1 1 168px;
  min-height: 44px;
  text-align: center;
  justify-content: center;
}
@media (max-width: 380px) {
  .ccard--caruaru-v9 .ccard__foot .btn { flex-basis: 100%; }
}

/* Square original art stays whole: no circular clipping, stretching or cropping. */
.caruaru-crest-icon {
  display: inline-block;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  padding: 0;
  border-radius: 4px;
  background: #052746;
}
.mega__crest .caruaru-crest-icon { width: 30px; height: 30px; }
.cfilter button .caruaru-crest-icon { width: 28px; height: 28px; padding: 0; border-radius: 4px; }
.picker__chip .caruaru-crest-icon { width: 30px; height: 30px; padding: 0; border-radius: 4px; }
.pcard__meta .caruaru-crest-icon { width: 20px; height: 20px; border-radius: 3px; }
.badge .caruaru-crest-icon { width: 18px; height: 18px; border-radius: 3px; }
.bfgroup__head .caruaru-crest-icon { width: 36px; height: 36px; border-radius: 4px; }
.identity-v7:not(.bf6) .phero__crest > .caruaru-crest-icon { width: 68px; height: 68px; border-radius: 6px; }
.identity-v7:not(.bf6) .ccard__crest .caruaru-crest-icon { width: 58px; height: 58px; border-radius: 6px; }

.caruaru-book .book__face { background: #052746; }
.caruaru-book .book__face > img { object-fit: contain; background: #052746; }
.identity-v7:not(.bf6) .pcard[data-concurso="iss-caruaru"] .pcard__media {
  display: grid;
  place-items: center;
  height: 236px;
  min-height: 0;
  aspect-ratio: auto;
  padding: 20px 12px 26px;
  background: linear-gradient(150deg,#eaf4f7,#f6fafa);
}
.identity-v7:not(.bf6) .pcard[data-concurso="iss-caruaru"] .pcard__media::before { display: block; }
.identity-v7:not(.bf6).caruaru-v5 .caruaru-book-stage {
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: 32px 24px 40px;
  overflow: hidden;
}
.caruaru-book--hero { --w: 230px; --d: 28px; }
.caruaru-v5 .feature__art.caruaru-feature-book {
  display: grid;
  place-items: center;
  width: 240px;
  padding: 20px 24px 28px;
  min-height: 260px;
}
.caruaru-book--feature { --w: 150px; --d: 18px; }
@media (max-width: 720px) {
  .identity-v7:not(.bf6) .phero__crest > .caruaru-crest-icon { width: 58px; height: 58px; }
  .identity-v7:not(.bf6).caruaru-v5 .caruaru-book-stage { min-height: 340px; padding: 24px 20px 36px; }
  .caruaru-book--hero { --w: 190px; --d: 24px; }
}

/* V9.5: use the same colored icon containers as the other contests. */
.identity-v7:not(.bf6) .caruaru-crest-icon {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.identity-v7:not(.bf6) .mega__crest:has(> .caruaru-crest-icon) {
  background: var(--c, #A1341F);
}
.identity-v7:not(.bf6) .mega__crest > .caruaru-crest-icon {
  width: 26px;
  height: 26px;
}
.identity-v7:not(.bf6) .picker__chip > .caruaru-crest-icon,
.identity-v7:not(.bf6) .cfilter button > .caruaru-crest-icon {
  background: var(--c, #A1341F);
  border-radius: 50%;
  padding: 4px;
}
