/* Boardcast Talent Lists */
.github-markdown-content ul:has(a > img) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  justify-content: space-between;
  gap: 24px 12px;
  padding: 0 !important;
  list-style: none;

  li {
    position: relative;
    border-radius: 8px;
    margin-top: 0px !important;
    padding-block: 0 12px;
    padding-inline: 12px;
    background: rgba(38, 33, 90, 0.45);
    box-shadow: var(--box-shadow-shadow);

    a {
      position: relative;
      margin-inline: -12px;
      margin-bottom: 8px;
      font-size: var(--bs);
      text-align: center;

      /* Portrait */
      img {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-width: 150px;
        min-height: 150px;
        border-radius: 8px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        clip-path: border-box;
        filter: var(--drop-shadow-accent);
        transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      }

      &:hover {
        img {
          filter: contrast(1.15) brightness(1.05) var(--drop-shadow-accent);
        }
        text-decoration: underline;
      }

      /* Name */
      em {
        background: var(--text-gradient);
        background-blend-mode: lighten, normal;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font: normal 800 var(--hs) / 1.5 var(--family-display);
        filter: var(--drop-shadow-accent);
      }
    }

    /* About */
    p {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-block: unset !important;
      font-weight: 600;
      font-size: var(--bt);
      text-align: center;
    }

    /* Portrait Background */
    &:before {
      content: " ";
      position: absolute;
      top: 0;
      left: 0 !important;
      bottom: 0;
      right: 0;
      width: -webkit-fill-available !important;
      width: stretch !important;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      background: center/cover url("./guides/ti-2025/images/bg-ti-2025.webp");
      aspect-ratio: 1 / 1;

      /* VSCode Preview Overrides */
      border-left: unset !important;
      height: unset !important;
    }
  }
}
