/* ===== Ballers Top Story ===== */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@125,900&display=swap");

.bts {
  --bts-text: #ffffff;
  --bts-accent: #ff1f3d;
  /* black gradient strength at the very bottom: 0 = none, 1 = solid black */
  --bts-black: .88;

  position: relative;
  min-height: clamp(380px, 42vw, 560px);
  overflow: hidden;
  background: #000000;
  color: var(--bts-text);
}

/* ----- full-bleed thumbnail ----- */
.bts__media {
  position: absolute;
  inset: 0;
  display: block;
  background: #0b0b0b;
}
.bts__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.bts:hover .bts__img { transform: scale(1.025); }

/* ----- short black gradient with the title across the full width ----- */
.bts__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 56px clamp(20px, 3.2vw, 48px) clamp(20px, 2.4vw, 32px);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,var(--bts-black)) 100%);
  pointer-events: none;           /* clicks fall through to the image link */
}
.bts__bar a { pointer-events: auto; }

.bts__title {
  margin: 0;
  width: 100%;
  font-family: "Archivo", "Arial Black", Impact, sans-serif;
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--bts-text);
  overflow-wrap: anywhere;
}
.bts__title a {
  color: var(--bts-text);
  text-decoration: none;
  transition: color .2s;
}
.bts .bts__title a:hover,
.bts .bts__title a:focus-visible,
.bts:hover .bts__title a { color: var(--bts-accent); }

.bts a:focus-visible {
  outline: 2px solid var(--bts-accent);
  outline-offset: 3px;
}

/* ----- no featured image: plain black block ----- */
.bts:not(:has(.bts__media)) { min-height: 0; }
.bts:not(:has(.bts__media)) .bts__bar {
  position: static;
  padding-top: clamp(20px, 2.4vw, 32px);
  background: #000000;
  pointer-events: auto;
}

/* ----- mobile ----- */
@media (max-width: 800px) {
  .bts { min-height: 340px; }
  .bts__bar { padding-top: 44px; }
  .bts__title { font-size: clamp(1.4rem, 6.2vw, 2.1rem); }
}

@media (prefers-reduced-motion: reduce) {
  .bts__img, .bts__title a { transition: none; }
  .bts:hover .bts__img { transform: none; }
}
