/* ============================================================
   BŪTENT! Programa — Component Styles
   Ported from programa.html <style> block.
   Scoped under #butent-programa-root to avoid theme conflicts.
============================================================ */
#main-header{
  display: none !important;
}
/* ── Root wrapper ─────────────────────────────────────────── */
#butent-programa-root {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--near-black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow: hidden;
  /* Fill remaining viewport below WP theme header */
  height: calc(100svh - var(--wp-theme-header-h, 0px));
}

/* Grid outer must use flex:1 to fill the remaining root space */
.bp-grid-outer {
  flex: 1;
  min-height: 0;
}

/* ── Header ───────────────────────────────────────────────── */
.bp-hdr {
  background: var(--yellow);
  color: var(--near-black);
  display: flex;
  align-items: center;
  padding: 0;
  height: 52px;
  flex-shrink: 0;
  gap: 0;
  border-bottom: 2px solid rgba(26,26,26,.12);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 50;
}

.bp-hdr-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 0 20px;
  border-right: 1px solid rgba(26,26,26,.15);
  height: 100%;
}

.bp-back-link {
  font: 500 10px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26,26,26,.55);
  text-decoration: none;
  transition: color .2s;
}
.bp-back-link:hover { color: var(--near-black); }

.bp-hdr-sep {
  width: 1px;
  height: 28px;
  background: rgba(26,26,26,.18);
}

.bp-hdr-title {
  font: 700 13px/1 var(--font);
  color: var(--near-black);
  white-space: nowrap;
}

/* ── Day tabs ─────────────────────────────────────────────── */
.bp-day-tabs {
  display: flex;
  height: 52px;
}

.bp-dtab {
  font: 700 11px/1 var(--font);
  padding: 0 18px;
  border: none;
  cursor: pointer;
  height: 100%;
  background: transparent;
  color: rgba(26,26,26,.5);
  border-right: 1px solid rgba(26,26,26,.12);
  transition: background .15s, color .15s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.bp-dtab.on { background: var(--near-black); color: var(--yellow); }

/* ── Stage filter ─────────────────────────────────────────── */
.bp-stage-filter {
  position: relative;
  height: 52px;
  flex-shrink: 0;
}

.bp-stage-filter-btn {
  font: 500 10px/1 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(26,26,26,.12);
  color: var(--near-black);
  padding: 0 14px;
  cursor: pointer;
  height: 52px;
  min-width: 150px;
  max-width: 220px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.bp-stage-filter-btn.active { background: var(--near-black); color: var(--yellow); }

.bp-stage-filter-label {
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.bp-stage-filter-arrow { font-size: 8px; opacity: .5; flex-shrink: 0; }
.bp-stage-filter-btn.active .bp-stage-filter-arrow { opacity: .7; }

.bp-stage-panel {
  position: absolute;
  top: 52px;
  left: 0;
  z-index: 300;
  background: var(--cream);
  border: 2px solid var(--near-black);
  border-top: none;
  min-width: 280px;
  max-height: 420px;
  overflow-y: auto;
  box-shadow: 4px 8px 0 rgba(26,26,26,.15);
}
.bp-stage-panel::-webkit-scrollbar { width: 6px; }
.bp-stage-panel::-webkit-scrollbar-track { background: var(--cream); }
.bp-stage-panel::-webkit-scrollbar-thumb { background: var(--near-black); }

.bp-stage-panel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(26,26,26,.08);
  font: 400 11px/1.4 var(--font);
  color: var(--near-black);
  user-select: none;
  transition: background .1s;
}
.bp-stage-panel-row:hover { background: rgba(26,26,26,.06); }
.bp-stage-panel-row.all-row {
  font-weight: 700;
  letter-spacing: .06em;
  border-bottom: 2px solid rgba(26,26,26,.18);
}

.bp-cb-box {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  border: 1.5px solid rgba(26,26,26,.35);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .1s, border-color .1s;
}
.bp-cb-box.checked { background: var(--near-black); border-color: var(--near-black); }
.bp-cb-box.checked::after {
  content: '';
  width: 4px;
  height: 7px;
  border: 1.5px solid var(--yellow);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}
.bp-stage-panel-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Search & count ───────────────────────────────────────── */
.bp-fsearch {
  font: 400 12px/1 var(--font);
  background: transparent;
  border: none;
  border-right: 1px solid rgba(26,26,26,.12);
  color: var(--near-black);
  padding: 0 14px;
  outline: none;
  height: 52px;
  min-width: 120px;
  flex: 1;
  max-width: 200px;
}
.bp-fsearch::placeholder { color: rgba(26,26,26,.4); }

.bp-fcount {
  font: 700 10px/1 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(26,26,26,.55);
  padding: 0 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── View toggle ──────────────────────────────────────────── */
.bp-view-toggle {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  border-left: 1px solid rgba(26,26,26,.12);
  height: 52px;
  margin-left: auto;
}

.bp-vt-btn {
  font: 700 10px/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 18px;
  border: none;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: rgba(26,26,26,.4);
  transition: all .15s;
  white-space: nowrap;
}
.bp-vt-btn.on { background: var(--near-black); color: var(--yellow); }

/* ── Loading / Error ──────────────────────────────────────── */
.bp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 20px;
  font: 500 12px/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,26,26,.4);
}

.bp-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(26,26,26,.15);
  border-top-color: var(--near-black);
  border-radius: 50%;
  animation: bp-spin .7s linear infinite;
}
@keyframes bp-spin { to { transform: rotate(360deg); } }

.bp-error {
  padding: 60px 32px;
  text-align: center;
  font: 500 13px/1.5 var(--font);
  color: rgba(26,26,26,.55);
}

/* ── Grid view ────────────────────────────────────────────── */
:root {
  --bp-cell-w: 200px;
  --bp-cell-h: 150px;
  --bp-time-w: 56px;
  --bp-head-h: 135px;
}

.bp-grid-outer {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.bp-cscroll-host {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.bp-grid-wrap {
  flex: 1;
  min-height: 0;
  overflow: scroll;
  scrollbar-width: none;
  position: relative;
  background: rgba(26,26,26,.12);
  scroll-behavior: smooth;
  touch-action: pan-x pan-y; /* allow native two-axis touch scroll */
  -webkit-overflow-scrolling: touch; /* momentum scrolling on iOS */
}
.bp-grid-wrap::-webkit-scrollbar { display: none; }

.bp-grid-inner {
  display: grid;
  grid-template-columns: var(--bp-time-w) repeat(var(--bp-col-count, 10), var(--bp-cell-w));
  grid-template-rows: var(--bp-head-h) repeat(var(--bp-row-count, 10), var(--bp-cell-h));
  width: max-content;
  min-width: 100%;
  gap: 2px;
  background: rgba(26,26,26,.12);
}

/* corner cell */
.bp-g-corner {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
  background: var(--yellow);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
}
.bp-g-corner-label {
  font: 500 9px/1 var(--font);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(26,26,26,.4);
}

/* stage header cells */
.bp-g-stage-head {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--cream);
  color: var(--near-black);
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.bp-g-logo-slot {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 60px;
  max-height: 70px;
  overflow: hidden;
}
.bp-g-logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bp-g-logo-placeholder {
  height: 100%;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 6px;
  font: 500 8px/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,26,26,.3);
}

.bp-g-sname {
  flex-shrink: 0;
  font: 500 9px / 1.3 var(--font);
  letter-spacing: .06em;
  color: rgba(26, 26, 26, .5);
  text-transform: uppercase;
}

/* time column */
.bp-g-time-cell {
  position: sticky;
  left: 0;
  z-index: 7;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-g-time-label {
  font: 700 10px/1 var(--font);
  letter-spacing: .06em;
  color: rgba(26,26,26,.5);
  font-feature-settings: "tnum" 1;
}

/* discussion cells */
.bp-g-cell {
  border: none;
  padding: 9px 10px;
  cursor: pointer;
  transition: background .12s;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  background: #fff;
}
.bp-g-cell:hover { background: #f8f8f4; }
.bp-g-cell.empty { cursor: default; background: rgba(255,253,230,.5); }
.bp-g-cell.empty:hover { background: rgba(255,253,230,.5); }
.bp-g-cell.filtered-out { opacity: .25; pointer-events: none; }

.bp-g-cell-title {
  font: 700 11px/1.3 var(--font);
  letter-spacing: -.005em;
  color: var(--near-black);
  flex-shrink: 0;
}
.bp-g-cell-people {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 2px;
  overflow: hidden;
}
.bp-g-cell-mod {
  font: 700 10px/1.3 var(--font);
  color: rgba(26,26,26,.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-g-cell-speaker {
  font: 400 10px/1.3 var(--font);
  color: rgba(26,26,26,.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Custom scrollbars ────────────────────────────────────── */
.bp-cscroll-x {
  height: 22px;
  display: flex;
  flex-shrink: 0;
  background: var(--near-black);
  margin-right: 22px;
}
.bp-cscroll-y {
  position: absolute;
  top: 0; right: 0;
  width: 22px; bottom: 22px;
  display: flex;
  flex-direction: column;
  background: var(--near-black);
  z-index: 20;
}
.bp-cscroll-corner {
  position: absolute;
  bottom: 0; right: 0;
  width: 22px; height: 22px;
  background: #111;
  z-index: 20;
}

.bp-cscroll-btn {
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: #111;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; user-select: none;
  transition: background .1s;
  color: var(--yellow);
}
.bp-cscroll-btn:hover { background: var(--yellow); color: var(--near-black); }
.bp-cscroll-btn svg { display: block; }

.bp-cscroll-track-x { flex: 1; position: relative; background: var(--near-black); }
.bp-cscroll-track-y { flex: 1; position: relative; background: var(--near-black); }

.bp-cscroll-thumb-x {
  position: absolute; top: 3px; bottom: 3px;
  background: var(--yellow); cursor: grab; min-width: 22px;
}
.bp-cscroll-thumb-x:hover { opacity: .85; }
.bp-cscroll-thumb-x.dragging { cursor: grabbing; opacity: .7; }

.bp-cscroll-thumb-y {
  position: absolute; left: 3px; right: 3px;
  background: var(--yellow); cursor: grab; min-height: 22px;
}
.bp-cscroll-thumb-y:hover { opacity: .85; }
.bp-cscroll-thumb-y.dragging { cursor: grabbing; opacity: .7; }

/* grid-wrap inside cscroll-host — reserve space for Y scrollbar */
.bp-cscroll-host .bp-grid-wrap {
  margin-right: 22px;
}

/* ── Bottom nav ───────────────────────────────────────────── */
.bp-bottom-nav {
  display: flex;
  height: 56px;
  flex-shrink: 0;
  border-top: 2px solid rgba(26,26,26,.12);
}

.bp-bnav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: none;
  cursor: pointer;
  background: var(--yellow);
  color: var(--near-black);
  font: 700 11px/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .15s;
  padding: 0 32px;
}
.bp-bnav-btn:hover { background: #f0d028; }
.bp-bnav-btn + .bp-bnav-btn { border-left: 2px solid rgba(26,26,26,.12); }

.bp-bnav-arrow {
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
}

/* ── List view ────────────────────────────────────────────── */
.bp-list-wrap {
  flex: 1;
  overflow-y: auto;
  background: var(--cream);
}

.bp-l-stage-section {
  border-bottom: 1px solid rgba(26,26,26,.08);
}

.bp-l-stage-hdr {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 24px 32px 12px;
  cursor: pointer;
}
.bp-l-stage-hdr:hover .bp-l-sname { opacity: 1; }

.bp-l-snum {
  font: 500 10px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26,26,26,.2);
  width: 28px;
  flex-shrink: 0;
}
.bp-l-sname {
  font: 700 16px/1 var(--font);
  letter-spacing: -.01em;
  opacity: .8;
  transition: opacity .15s;
}
.bp-l-spartner {
  font: 500 9px/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,26,26,.3);
}
.bp-l-scount {
  font: 500 9px/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,26,26,.2);
  margin-left: auto;
}

.bp-l-disc-list {
  padding: 0 32px 16px 72px;
}

.bp-l-disc-row {
  display: grid;
  grid-template-columns: 60px 1fr 20px;
  gap: 0 16px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid rgba(26,26,26,.06);
  cursor: pointer;
  transition: background .12s;
}
.bp-l-disc-row:hover {
  background: rgba(26,26,26,.025);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}
.bp-l-disc-row.filtered-out { display: none; }

.bp-l-time {
  font: 500 11px/1.3 var(--font);
  letter-spacing: .04em;
  color: rgba(26,26,26,.35);
  padding-top: 2px;
  font-feature-settings: "tnum" 1;
}
.bp-l-main { display: flex; flex-direction: column; gap: 3px; }
.bp-l-title {
  font: 700 14px/1.3 var(--font);
  letter-spacing: -.005em;
  color: var(--near-black);
}
.bp-l-speakers {
  font: 400 11px/1.4 var(--font);
  color: rgba(26,26,26,.45);
}
.bp-l-icon {
  font-size: 14px;
  color: rgba(26,26,26,.2);
  padding-top: 3px;
  transition: transform .18s;
}
.bp-l-disc-row.exp .bp-l-icon { transform: rotate(45deg); color: rgba(26,26,26,.4); }

.bp-l-expand {
  padding: 16px 0 20px 76px;
  border-top: 1px solid rgba(26,26,26,.04);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  animation: bp-fade-down .18s ease;
}
@keyframes bp-fade-down {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bp-l-col-label {
  font: 500 9px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26,26,26,.3);
  margin-bottom: 8px;
}
.bp-l-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(26,26,26,.05);
}
.bp-l-person-photo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(26,26,26,.08);
}
.bp-l-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.bp-l-person-name { font: 700 12px/1.2 var(--font); color: var(--near-black); }
.bp-l-person-role {
  font: 500 9px/1.3 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(26,26,26,.35);
  margin-top: 2px;
}

.bp-l-desc {
  grid-column: 1 / -1;
  font: 400 12px/1.6 var(--font);
  color: rgba(26,26,26,.6);
  margin-bottom: 12px;
}

/* ── Modal ────────────────────────────────────────────────── */
.bp-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26,26,26,.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: bp-fade-in .15s ease;
}
@keyframes bp-fade-in { from { opacity: 0; } to { opacity: 1; } }

.bp-modal {
  background: var(--cream);
  max-width: 720px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  animation: bp-slide-up .18s ease;
}
@keyframes bp-slide-up {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.bp-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font: 400 22px/1 var(--font);
  color: rgba(26,26,26,.3);
  cursor: pointer;
  border: none;
  background: none;
  transition: color .15s;
}
.bp-modal-close:hover { color: var(--near-black); }

.bp-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* Two-column layout: main + sidebar */
.bp-modal-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.bp-modal-main { flex: 1; min-width: 0; }
.bp-modal-sidebar {
  width: 120px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Time */
.bp-modal-time {
  font: 500 11px/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,26,26,.4);
  font-feature-settings: "tnum" 1;
  margin-bottom: 18px;
}

/* Title */
.bp-modal-title {
  font: 800 22px/1.2 var(--font);
  letter-spacing: -.01em;
  color: var(--near-black);
  margin-bottom: 14px;
}

/* Description */
.bp-modal-desc {
  font: 400 14px/1.6 var(--font);
  color: rgba(26,26,26,.6);
  margin-bottom: 28px;
}

/* Person sections */
.bp-modal-section { margin-bottom: 20px; }
.bp-modal-section-label {
  font: 500 9px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26,26,26,.3);
  margin-bottom: 10px;
}
.bp-modal-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(26,26,26,.07);
}
.bp-modal-person-photo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(26,26,26,.08);
}
.bp-modal-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.bp-modal-person-name {
  font: 700 14px/1.2 var(--font);
  color: var(--near-black);
}
.bp-modal-person-role {
  font: 500 9px/1.3 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,26,26,.35);
  margin-top: 2px;
}
.bp-modal-person-company {
  font: 400 10px/1.4 var(--font);
  color: rgba(26,26,26,.45);
  margin-top: 1px;
}

/* Calendar button + dropdown */
.bp-cal-wrap {
  position: relative;
  display: inline-block;
  margin-top: 24px;
}

.bp-modal-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid rgba(26,26,26,.3);
  background: transparent;
  cursor: pointer;
  font: 600 10px/1 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--near-black);
  transition: background .15s, border-color .15s, color .15s;
}
.bp-modal-cal-btn:hover { background: var(--near-black); color: var(--cream); border-color: var(--near-black); }
.bp-cal-arrow { font-size: 10px; margin-left: 2px; }

.bp-cal-dropdown {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  background: var(--cream);
  border: 1.5px solid var(--near-black);
  min-width: 200px;
  z-index: 100;
  box-shadow: 3px 3px 0 rgba(26,26,26,.12);
}
.bp-cal-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font: 500 11px/1 var(--font);
  color: var(--near-black);
  text-decoration: none;
  border-bottom: 1px solid rgba(26,26,26,.08);
  transition: background .1s;
  white-space: nowrap;
}
.bp-cal-option:last-child { border-bottom: none; }
.bp-cal-option:hover { background: var(--near-black); color: var(--cream); }

/* Sidebar: stage logo */
.bp-modal-stage-logo {
  width: 120px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}
.bp-modal-stage-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bp-modal-stage-name {
  font: 700 10px/1.4 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,26,26,.45);
  text-align: right;
}

/* Sidebar: organizers */
.bp-modal-organizers {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}
.bp-modal-org-label {
  font: 500 8px/1.3 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(26,26,26,.3);
  text-align: right;
}
.bp-modal-org-logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}
.bp-modal-org-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.page-template-programa-page #main-footer{
  display: none !important;
}





/* Mobile modal */
@media (max-width: 640px) {
  .bp-modal-bg { padding: 0; align-items: flex-end; }
  .bp-modal { max-width: 100%; max-height: 92svh; padding: 20px 16px 36px; }
  .bp-modal-body { flex-direction: column; gap: 0; }
  .bp-modal-sidebar {
    order: -1; width: 100%; align-self: auto;
    flex-direction: row; align-items: center;
    gap: 10px; margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(26,26,26,.1);
  }
  .bp-modal-stage-logo { width: 60px; height: 38px; }
  .bp-modal-stage-name { flex: 1; text-align: left; }
  .bp-modal-organizers { flex-direction: row; align-items: center; margin-top: 0; padding-top: 0; gap: 4px; }
  .bp-modal-org-label { display: none; }
  .bp-modal-org-logo { width: 36px; height: 36px; }
  .bp-modal-cal-btn { width: 100%; justify-content: center; margin-top: 20px; }
  .bp-modal-title { font-size: 18px; margin-bottom: 10px; }
  .bp-modal-desc { font-size: 13px; margin-bottom: 20px; }
  .bp-modal-person-photo { width: 36px; height: 36px; }
}

/* ── No results ───────────────────────────────────────────── */
.bp-no-results {
  padding: 60px 32px;
  text-align: center;
  font: 500 12px/1.5 var(--font);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(26,26,26,.3);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .bp-g-logo-slot {
    min-height: 40px;
    max-height: 50px;
  }
  :root {
    --bp-head-h: 105px;
  }
  .bp-modal { padding: 24px; }
  .bp-modal-people { grid-template-columns: 1fr 1fr; }
  .bp-l-expand { grid-template-columns: 1fr; padding-left: 16px; }
  .bp-l-disc-list { padding-left: 16px; }

  /* Mobile header: two rows */
  .bp-hdr {
    flex-wrap: wrap;
    height: auto;
    min-height: unset;
    padding: 0;
  }

  /* Row 1: back + day tabs — full width, 48px tall */
  .bp-hdr-left {
    height: 48px;
    padding: 0 12px;
    border-right: none;
    border-bottom: 1px solid rgba(26,26,26,.15);
    flex-shrink: 1;
  }
  .bp-hdr-sep { display: none; }
  .bp-hdr-title { display: none; }

  .bp-day-tabs {
    flex: 1;
    height: 48px;
    border-bottom: 1px solid rgba(26,26,26,.15);
  }
  .bp-dtab {
    flex: 1;
    font-size: 10px;
    padding: 0 8px;
  }

  /* Row 2: view toggle + stage filter + search — full width, 44px */
  .bp-view-toggle {
    order: 10;
    height: 44px;
    border-left: none;
    border-top: 1px solid rgba(26,26,26,.12);
    flex-shrink: 0;
    margin-left: 0;
  }
  .bp-vt-btn { padding: 0 14px; }
  .bp-vt-label { display: none; }

  .bp-stage-filter {
    order: 10;
    height: 44px;
    border-top: 1px solid rgba(26,26,26,.12);
    flex: 1;
  }
  .bp-stage-filter-btn {
    height: 44px;
    min-width: unset;
    max-width: unset;
    width: 100%;
    border-right: 1px solid rgba(26,26,26,.12);
  }

  .bp-fsearch {
    order: 10;
    height: 44px;
    max-width: unset;
    flex: 1;
    border-top: 1px solid rgba(26,26,26,.12);
    border-right: none;
    min-width: 0;
  }

  .bp-fcount { display: none; }

  /* Stage panel full width on mobile */
  .bp-stage-panel {
    min-width: 100vw;
    left: 0;
  }
}
@media (max-width: 575px){
  .bp-widget-header {
    display: flex;
    flex-wrap: wrap;
  }
  .bp-widget-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .bp-modal-bg { padding: 12px; }
  .bp-modal { padding: 20px; }
  .bp-modal-title { font-size: 20px; }
  .bp-modal-people { grid-template-columns: 1fr; }
}

/* ============================================================
   HOMEPAGE WIDGET — [butent_programa] shortcode
============================================================ */

.bp-widget-section {
  background: var(--yellow, #FFDE3C);
  padding: 0;
  font-family: var(--font, 'Unbounded', sans-serif);
  color: var(--near-black, #1A1A1A);
  box-sizing: border-box;
}

/* ── Header row ─────────────────────────────────────────── */
.bp-widget-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.bp-widget-title {
  font: 800 76px/0.95 var(--font, 'Unbounded', sans-serif);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--near-black, #1A1A1A);
}

.bp-widget-link {
  font: 500 13px/1.4 var(--font, 'Unbounded', sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--near-black, #1A1A1A);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  margin-bottom: 8px;
}

.bp-widget-link:hover { opacity: 0.6; }

/* ── Card grid ──────────────────────────────────────────── */
.bp-widget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--near-black, #1A1A1A);
  border-left: 1.5px solid var(--near-black, #1A1A1A);
}

/* ── Individual card ────────────────────────────────────── */
.bp-widget-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--cream, #FFFDE6);
  border-right: 1.5px solid var(--near-black, #1A1A1A);
  border-bottom: 1.5px solid var(--near-black, #1A1A1A);
  box-sizing: border-box;
  cursor: default;
}

.bp-widget-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}

.bp-widget-card-time {
  font: 500 12px/1.4 var(--font, 'Unbounded', sans-serif);
  letter-spacing: 0.04em;
  color: rgba(26,26,26,0.55);
}

.bp-widget-card-stage {
  font: 500 11px/1.4 var(--font, 'Unbounded', sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.55);
}

.bp-widget-card-title {
  font: 700 20px/1.2 var(--font, 'Unbounded', sans-serif);
  letter-spacing: -0.01em;
  color: var(--near-black, #1A1A1A);
  margin-top: 4px;
}

.bp-widget-card-speakers {
  font: 400 13px/1.5 var(--font, 'Unbounded', sans-serif);
  color: rgba(26,26,26,0.65);
  margin-top: auto;
  padding-top: 8px;
}

/* ── "More" card ─────────────────────────────────────────── */
.bp-widget-card-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: var(--near-black, #1A1A1A);
  border-right: 1.5px solid var(--near-black, #1A1A1A);
  border-bottom: 1.5px solid var(--near-black, #1A1A1A);
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.15s;
}

.bp-widget-card-more:hover { background: #111; }

.bp-widget-card-more-count {
  font: 800 72px/1 var(--font, 'Unbounded', sans-serif);
  letter-spacing: -0.03em;
  color: #fff;
}

.bp-widget-card-more-label {
  font: 500 11px/1.4 var(--font, 'Unbounded', sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.bp-widget-card-more-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  background: var(--yellow, #FFDE3C);
  color: var(--near-black, #1A1A1A);
  font: 700 11px/1 var(--font, 'Unbounded', sans-serif);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bp-widget-title { font-size: 72px; }
}
@media (max-width: 991px){
.bp-widget-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 768px) {
	    .bp-widget-grid {
        grid-template-columns: 1fr;
    }
	    .bp-widget-header {
        display: flex;
        flex-wrap: wrap;
    }
	.bp-widget-card-speakers {
    font: 400 12px / 1.5 var(--font);
	}
	.bp-widget-card-title {
    font: 700 16px / 1.2 var(--font);
	}
	.bp-widget-card-more-count {
    font: 800 50px / 1 var(--font);
	}
	.bp-widget-card {
    padding: 15px;
	}
  .bp-widget-title { font-size: 48px; }
}

@media (max-width: 480px) {
  .bp-widget-title { font-size: 36px; }
  .bp-widget-grid { grid-template-columns: 1fr; }
  .bp-widget-card-more-count { font-size: 56px; }
}
