/* assets/css/beyond.css */

.b-hero{ padding:70px 0 22px; }
.b-hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}

.b-hero-card{ padding:26px 26px 22px; }
.b-hero-top{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px; }

.b-title{
  margin:0 0 10px;
  font-family: var(--font-display);
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:28px;
}
:root[data-theme="light"] .b-title{
  color: rgba(18,19,26,.96);
}

.b-sub{
  margin:0 0 16px;
  color: rgba(232,232,238,.84);
  line-height:1.65;
  font-size:14px;
}
:root[data-theme="light"] .b-sub{
  color: rgba(18,19,26,.76);
}

.b-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* Stats */
.b-stats{
  padding:18px;
  box-shadow: var(--shadow-soft);
  display:flex;
  flex-direction:column;
  gap:12px;
}

.b-stat{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding:12px;
}
:root[data-theme="light"] .b-stat{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.b-k{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(184,186,198,.95);
  font-weight:800;
  margin-bottom:6px;
}
:root[data-theme="light"] .b-k{
  color: rgba(18,19,26,.56);
}

.b-v{
  font-family: var(--font-display);
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(232,232,238,.92);
}
:root[data-theme="light"] .b-v{
  color: rgba(18,19,26,.92);
}

/* Feed */
.b-feed{ padding:18px 0 70px; }
.b-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.b-right-note{
  color: rgba(184,186,198,.92);
  font-size:13px;
}
:root[data-theme="light"] .b-right-note{
  color: rgba(18,19,26,.56);
}

.b-empty{
  padding:18px;
  box-shadow: var(--shadow-soft);
  color: rgba(232,232,238,.88);
}
:root[data-theme="light"] .b-empty{
  color: rgba(18,19,26,.82);
}

.b-empty-sub{
  margin-top:10px;
  color: rgba(184,186,198,.92);
  font-size:13px;
}
:root[data-theme="light"] .b-empty-sub{
  color: rgba(18,19,26,.58);
}

.b-list{ display:grid; gap:14px; }

/* Row-card (full width) */
.b-row{
  display:grid;
  grid-template-columns: 280px 1fr auto;
  gap:16px;
  padding:14px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  text-decoration:none;
}

.b-row:hover{
  transform: translateY(-2px);
  border-color: rgba(255,45,45,.22);
}
:root[data-theme="light"] .b-row:hover{
  border-color: rgba(255,45,45,.28);
}

.b-row-left{ min-width:0; }

.b-row-thumb{
  height:120px;
  border-radius:18px;
  border: 1px solid rgba(255,255,255,.10);
  position:relative;
  overflow:hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,.03);
}
:root[data-theme="light"] .b-row-thumb{
  border-color: rgba(0,0,0,.10);
  background-color: rgba(255,255,255,.55);
}

/* Thumb layers for dynamic covers */
.b-row-thumb .b-thumb-layer{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index:0;
}
.b-row-thumb .b-thumb-layer.is-b{
  opacity:0;
  transition: opacity .32s ease;
}
.b-row-thumb .b-thumb-layer.is-b.is-on{ opacity:1; }
.b-row-thumb .b-thumb-layer.is-a{ opacity:1; }

.b-row-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:
    radial-gradient(320px 200px at 18% 28%, rgba(255,45,45,.16), transparent 55%),
    radial-gradient(320px 220px at 90% 40%, rgba(78,161,255,.10), transparent 58%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  opacity:.95;
}
:root[data-theme="light"] .b-row-thumb::after{
  opacity:.55;
}

.b-badge{
  position:absolute;
  top:12px;
  left:12px;
  height:30px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,10,14,.40);
  font-family: var(--font-display);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:11px;
  z-index:2;
}
:root[data-theme="light"] .b-badge{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  color: rgba(18,19,26,.86);
}

.b-status{
  position:absolute;
  top:12px;
  right:12px;
  height:30px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,10,14,.40);
  font-family: var(--font-display);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:11px;
  z-index:2;
}
:root[data-theme="light"] .b-status{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  color: rgba(18,19,26,.86);
}

.b-status.is-wip{ border-color: rgba(255,75,110,.28); background: rgba(255,75,110,.10); }
.b-status.is-pub{ border-color: rgba(78,161,255,.22); background: rgba(78,161,255,.10); }

:root[data-theme="light"] .b-status.is-wip{
  border-color: rgba(255,75,110,.34);
  background: rgba(255,75,110,.14);
}
:root[data-theme="light"] .b-status.is-pub{
  border-color: rgba(78,161,255,.30);
  background: rgba(78,161,255,.12);
}

.b-row-right{ min-width:0; display:flex; flex-direction:column; justify-content:center; }

.b-row-title{
  font-weight:900;
  letter-spacing:.02em;
  font-size:16px;
  color: rgba(232,232,238,.95);
}
:root[data-theme="light"] .b-row-title{
  color: rgba(18,19,26,.92);
}

.b-row-excerpt{
  margin-top:8px;
  color: rgba(232,232,238,.82);
  font-size:13px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
:root[data-theme="light"] .b-row-excerpt{
  color: rgba(18,19,26,.70);
}

.b-row-meta{
  margin-top:8px;
  color: var(--muted);
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
:root[data-theme="light"] .b-row-meta{
  color: rgba(18,19,26,.56);
}

.b-row-go{
  align-self:center;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(232,232,238,.92);
  font-weight:900;
}
:root[data-theme="light"] .b-row-go{
  border-color: rgba(0,0,0,.12);
  background: rgba(255,255,255,.78);
  color: rgba(18,19,26,.86);
}

/* Responsive */
@media (max-width: 980px){
  .b-hero-inner{ grid-template-columns: 1fr; }
  .b-row{ grid-template-columns: 220px 1fr auto; }
  .b-row-thumb{ height:110px; }
}

@media (max-width: 680px){
  .b-row{ grid-template-columns: 1fr; }
  .b-row-go{ display:none; }
  .b-row-thumb{ height:170px; }
  .b-row-meta{ white-space:normal; }
}
