/* Basquet Caliente — formato premium para notas post partido. Selectores aislados bajo .bc-visual-note. */
.bc-visual-note{
  --bcpm-red:#d90014;
  --bcpm-red-dark:#a90010;
  --bcpm-black:#111317;
  --bcpm-ink:#17191d;
  --bcpm-muted:#68707c;
  --bcpm-bg:#f3f5f8;
  --bcpm-card:#ffffff;
  --bcpm-border:#e6e9ee;
  --bcpm-radius:18px;
  --bcpm-shadow:0 14px 36px rgba(16,24,40,.08);
  width:100%;
  max-width:100%;
  margin:0;
  padding:0 0 34px;
  background:var(--bcpm-bg);
  color:var(--bcpm-ink);
  font-family:'Montserrat',Arial,sans-serif;
  line-height:1.62;
  isolation:isolate;
}

.bc-visual-note,
.bc-visual-note *{box-sizing:border-box}

.bc-visual-note .bc-wrap{
  width:min(940px,calc(100% - 28px));
  margin-inline:auto;
  padding:0;
}

.bc-visual-note .bc-hero{
  position:relative;
  display:grid;
  align-items:end;
  min-height:370px;
  margin:0 0 18px;
  padding:34px;
  overflow:hidden;
  border-radius:0 0 24px 24px;
  background:
    radial-gradient(circle at 80% 10%,rgba(217,0,20,.28),transparent 30%),
    linear-gradient(135deg,#121419 0%,#2a2f38 58%,#111317 100%);
  color:#fff;
  box-shadow:var(--bcpm-shadow);
}

.bc-visual-note .bc-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(217,0,20,.22),transparent 42%),linear-gradient(180deg,transparent,rgba(0,0,0,.35));
  pointer-events:none;
}

.bc-visual-note .bc-hero-content{position:relative;z-index:1;max-width:780px}

.bc-visual-note .bc-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:13px;
  padding:7px 10px;
  border-radius:999px;
  background:var(--bcpm-red);
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.bc-visual-note .bc-kicker::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 5px rgba(255,255,255,.13);
}

.bc-visual-note .bc-hero h1{
  max-width:820px;
  margin:0;
  color:#fff;
  font-size:clamp(32px,5vw,58px);
  line-height:.96;
  font-weight:950;
  letter-spacing:-2px;
  text-transform:none;
  text-wrap:balance;
}

.bc-visual-note .bc-hero p{
  max-width:720px;
  margin:14px 0 0;
  color:rgba(255,255,255,.82);
  font-size:15px;
  line-height:1.55;
  font-weight:650;
}

.bc-visual-note .bc-section,
.bc-visual-note .bc-tactical,
.bc-visual-note .bc-note-footer{
  margin:18px 0;
  padding:24px;
  border:1px solid var(--bcpm-border);
  border-radius:var(--bcpm-radius);
  background:var(--bcpm-card);
  box-shadow:0 10px 28px rgba(16,24,40,.055);
}

.bc-visual-note .bc-section > *:first-child,
.bc-visual-note .bc-tactical > *:first-child,
.bc-visual-note .bc-note-footer > *:first-child{margin-top:0}
.bc-visual-note .bc-section > *:last-child,
.bc-visual-note .bc-tactical > *:last-child,
.bc-visual-note .bc-note-footer > *:last-child{margin-bottom:0}

.bc-visual-note .bc-lead{
  color:#181b20;
  font-size:19px;
  line-height:1.55;
  font-weight:800;
  letter-spacing:-.25px;
}

.bc-visual-note p{
  margin:0 0 14px;
  color:#2d333b;
  font-size:15.5px;
  line-height:1.72;
  font-weight:520;
}

.bc-visual-note h2{
  position:relative;
  margin:0 0 16px;
  padding-left:13px;
  color:var(--bcpm-black);
  font-size:clamp(24px,3vw,34px);
  line-height:1.05;
  font-weight:950;
  letter-spacing:-.9px;
  text-transform:none;
}

.bc-visual-note h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.1em;
  width:5px;
  height:.92em;
  border-radius:999px;
  background:var(--bcpm-red);
}

.bc-visual-note h3{
  margin:0 0 9px;
  color:#111317;
  font-size:17px;
  line-height:1.18;
  font-weight:950;
}

.bc-visual-note .bc-grid{display:grid;gap:14px}
.bc-visual-note .bc-grid-4{grid-template-columns:repeat(4,1fr)}
.bc-visual-note .bc-grid-3{grid-template-columns:repeat(3,1fr)}

.bc-visual-note .bc-card,
.bc-visual-note .bc-tactical .bc-grid > div{
  min-width:0;
  border:1px solid var(--bcpm-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(16,24,40,.05);
}

.bc-visual-note .bc-stat{
  display:grid;
  place-items:center;
  min-height:118px;
  padding:18px 12px;
  text-align:center;
}

.bc-visual-note .bc-stat strong{
  display:block;
  color:var(--bcpm-red);
  font-size:clamp(34px,4vw,50px);
  line-height:.9;
  font-weight:950;
  letter-spacing:-1.5px;
}

.bc-visual-note .bc-stat span{
  display:block;
  margin-top:8px;
  color:#646b75;
  font-size:10px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.bc-visual-note .bc-callout,
.bc-visual-note .bc-quote{
  margin:18px 0 0;
  padding:18px;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(217,0,20,.08),rgba(217,0,20,.025));
  border:1px solid rgba(217,0,20,.18);
}

.bc-visual-note .bc-callout strong{
  display:block;
  margin-bottom:6px;
  color:var(--bcpm-red);
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.bc-visual-note .bc-callout p{margin:0;color:#2d333b;font-weight:700}

.bc-visual-note .bc-quote{
  position:relative;
  padding:20px 20px 20px 24px;
  border-left:5px solid var(--bcpm-red);
  color:#1f242b;
  font-size:18px;
  line-height:1.45;
  font-weight:900;
  letter-spacing:-.25px;
}

.bc-visual-note .bc-timeline{
  display:grid;
  gap:8px;
  margin-top:12px;
}

.bc-visual-note .bc-time-row{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:10px;
  border:1px solid #edf0f3;
  border-radius:14px;
  background:#fff;
}

.bc-visual-note .bc-date{
  display:grid;
  place-items:center;
  width:44px;
  height:36px;
  border-radius:11px;
  background:#111317;
  color:#fff;
  font-size:12px;
  font-weight:950;
}

.bc-visual-note .bc-match{
  min-width:0;
  color:#111317;
  font-size:14px;
  line-height:1.25;
  font-weight:900;
}

.bc-visual-note .bc-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:#f0f2f5;
  color:#5f6874;
  font-size:9px;
  line-height:1;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}

.bc-visual-note .bc-pill.blue{background:rgba(36,99,235,.10);color:#2256c7}
.bc-visual-note .bc-pill.yellow{background:rgba(229,174,0,.15);color:#9a6b00}

.bc-visual-note .bc-tactical{
  background:linear-gradient(135deg,#151820,#2a2e36);
  color:#fff;
  border:0;
}

.bc-visual-note .bc-tactical h2,
.bc-visual-note .bc-tactical h3{color:#fff}
.bc-visual-note .bc-tactical h2::before{background:#fff}

.bc-visual-note .bc-tactical .bc-grid > div{
  padding:18px;
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  box-shadow:none;
}

.bc-visual-note .bc-tactical p{margin:0;color:rgba(255,255,255,.76);font-size:13px;font-weight:600}

.bc-visual-note .bc-player-list{
  display:grid;
  gap:8px;
  margin-top:12px;
}

.bc-visual-note .bc-player{
  display:grid;
  grid-template-columns:minmax(160px,.45fr) minmax(0,1fr);
  align-items:center;
  gap:12px;
  padding:13px 14px;
  border:1px solid #edf0f3;
  border-radius:14px;
  background:#fff;
}

.bc-visual-note .bc-player strong{
  color:#111317;
  font-size:14px;
  line-height:1.2;
  font-weight:950;
}

.bc-visual-note .bc-player span{
  color:#68707c;
  font-size:12px;
  line-height:1.35;
  font-weight:750;
}

.bc-visual-note .bc-note-footer{
  border-color:rgba(217,0,20,.22);
  background:linear-gradient(135deg,#fff,rgba(217,0,20,.055));
}

.bc-visual-note .bc-note-footer p{
  color:#111317;
  font-size:16px;
  font-weight:700;
}

@media (max-width:760px){
  .bc-visual-note .bc-wrap{width:min(100% - 18px,940px)}
  .bc-visual-note .bc-hero{min-height:330px;padding:22px;border-radius:0 0 18px 18px}
  .bc-visual-note .bc-section,.bc-visual-note .bc-tactical,.bc-visual-note .bc-note-footer{padding:17px;border-radius:16px}
  .bc-visual-note .bc-grid-4,.bc-visual-note .bc-grid-3{grid-template-columns:1fr 1fr}
  .bc-visual-note .bc-stat{min-height:96px}
  .bc-visual-note p{font-size:14px}
  .bc-visual-note .bc-lead{font-size:16px}
  .bc-visual-note .bc-time-row{grid-template-columns:44px minmax(0,1fr);align-items:start}
  .bc-visual-note .bc-pill{grid-column:2;justify-self:start}
  .bc-visual-note .bc-player{grid-template-columns:1fr;gap:4px}
}

@media (max-width:480px){
  .bc-visual-note .bc-hero{min-height:300px;padding:18px}
  .bc-visual-note .bc-hero h1{font-size:30px;letter-spacing:-1.1px}
  .bc-visual-note .bc-hero p{font-size:13px}
  .bc-visual-note .bc-grid-4,.bc-visual-note .bc-grid-3{grid-template-columns:1fr}
  .bc-visual-note h2{font-size:23px}
  .bc-visual-note .bc-stat{min-height:86px}
  .bc-visual-note .bc-time-row{grid-template-columns:1fr;gap:7px}
  .bc-visual-note .bc-date{width:40px;height:32px}
  .bc-visual-note .bc-pill{grid-column:auto}
}

/* v1.7.0 — soporte para notas generadas automáticamente por API */
.bc-visual-note.bc-visual-note-auto .bc-generated-content > h1:first-child,
.bc-visual-note.bc-visual-note-auto .bc-generated-content > h2:first-child{margin-top:0}
.bc-visual-note.bc-visual-note-auto .bc-generated-content .wp-block-heading{color:#17191d}
.bc-visual-note.bc-visual-note-auto[data-bc-note-type="post-match"] .bc-hero{background:linear-gradient(135deg,#17191d 0%,#30343b 55%,#d90014 130%)}
