/* TAB Play of the Day — front-end styles. Tokens lifted from content.tab.co.za. */
.tabpotd,
.tabpotd-hero{
  --potd-blue:#001489;
  --potd-red:#e8004d;
  --potd-text:#0f172a;
  --potd-muted:rgba(15,23,42,.72);
  --potd-line:rgba(15,23,42,.12);
  --potd-radius:14px;
  --potd-shadow:0 10px 30px rgba(0,0,0,.08);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

/* ---------- Hero header (full-bleed) ---------- */
.tabpotd-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  background-position:50% center;
  background-repeat:no-repeat;
  background-size:cover;
  padding:0 20px;
  overflow:hidden;
}
.tabpotd-hero__inner{
  max-width:900px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.tabpotd-hero__logo{flex:1 1 0;text-align:left;}
.tabpotd-hero__logo img{max-width:450px;width:100%;height:auto;display:inline-block;}
.tabpotd-hero__figure{flex:1 1 0;text-align:right;align-self:flex-end;}
.tabpotd-hero__figure img{max-width:260px;width:100%;height:auto;display:inline-block;vertical-align:bottom;}
@media (max-width:768px){
  .tabpotd-hero__inner{flex-direction:column;align-items:center;padding-top:40px;gap:8px;}
  .tabpotd-hero__logo,.tabpotd-hero__figure{flex:0 0 auto;text-align:center;align-self:center;}
  .tabpotd-hero__figure img{width:60%;margin:0 auto;}
}

/* ---------- Section + heading ---------- */
.tabpotd{
  color:var(--potd-text);
  max-width:1200px;margin:0 auto;padding:8px 16px 24px;
}
.tabpotd__head{text-align:center;margin:40px 0 28px;}
.tabpotd__head h2{
  font-size:clamp(24px,3.4vw,34px);font-weight:800;letter-spacing:-.01em;margin:0;
  color:var(--potd-blue);display:inline-block;
}
.tabpotd__head h2::after{
  content:"";display:block;width:64px;height:4px;border-radius:4px;margin:12px auto 0;
  background:linear-gradient(90deg,var(--potd-blue),var(--potd-red));
}

/* ---------- Grid ---------- */
.tabpotd__grid{display:grid;grid-template-columns:1fr;gap:20px;}
@media (min-width:560px){.tabpotd__grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:860px){.tabpotd__grid{grid-template-columns:repeat(3,1fr);}}
@media (min-width:1100px){.tabpotd__grid{grid-template-columns:repeat(4,1fr);}}

/* ---------- Card ---------- */
.tabpotd__card{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--potd-line);border-radius:var(--potd-radius);
  overflow:hidden;box-shadow:var(--potd-shadow);
  transition:transform .18s ease,box-shadow .18s ease;
}
.tabpotd__card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.14);}
.tabpotd__thumb{position:relative;display:block;aspect-ratio:16/9;background:#0f172a;overflow:hidden;}
.tabpotd__thumb,.tabpotd__thumb:hover,.tabpotd__thumb:focus{text-decoration:none;}
.tabpotd__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.tabpotd__play{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(15,23,42,.15);transition:background .18s ease;
}
.tabpotd__card:hover .tabpotd__play{background:rgba(15,23,42,.30);}
.tabpotd__play span{
  width:60px;height:60px;border-radius:50%;background:var(--potd-red);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(232,0,77,.5);transition:transform .18s ease;
}
.tabpotd__card:hover .tabpotd__play span{transform:scale(1.08);}
.tabpotd__play span::after{
  content:"";margin-left:4px;border-style:solid;border-width:11px 0 11px 18px;
  border-color:transparent transparent transparent #fff;
}
.tabpotd__meta{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1 1 auto;}
.tabpotd__title{font-size:15px;font-weight:700;line-height:1.35;margin:0 0 6px;}
.tabpotd__title a{color:inherit;text-decoration:none;}
.tabpotd__title a:hover{text-decoration:none;color:var(--potd-blue);}
.tabpotd__desc{
  font-size:13px;line-height:1.45;color:var(--potd-muted);margin:0 0 10px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.tabpotd__date{font-size:12.5px;color:var(--potd-muted);}
.tabpotd__bet{
  margin-top:12px;align-self:flex-start;cursor:pointer;
  display:inline-block;text-decoration:none;
  background:var(--potd-red);color:#fff;border:0;border-radius:999px;
  font-size:13.5px;font-weight:800;letter-spacing:.01em;padding:9px 16px;
  box-shadow:0 6px 16px rgba(232,0,77,.35);transition:transform .15s ease,box-shadow .15s ease;
}
.tabpotd__bet:hover,.tabpotd__bet:focus{color:#fff;text-decoration:none;transform:translateY(-1px);box-shadow:0 10px 22px rgba(232,0,77,.45);}
.tabpotd__closed{
  margin-top:12px;align-self:flex-start;
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(15,23,42,.06);color:var(--potd-muted);
  border:1px solid var(--potd-line);border-radius:999px;
  font-size:12.5px;font-weight:700;padding:8px 14px;cursor:default;
}
.tabpotd__closed::before{
  content:"";width:8px;height:8px;border-radius:50%;background:rgba(15,23,42,.35);flex:0 0 auto;
}
.tabpotd--empty{
  max-width:1200px;margin:0 auto;padding:24px 16px;text-align:center;color:var(--potd-muted);
}
