/* =====================================================
   TicketsFest.EU v10.1.5 — real single-tour schedule
   The tour schedule is a schedule/list with filters, not generic event cards.
   Isolated selectors so old [display_events] mobile card CSS cannot affect it.
   ===================================================== */
body.single-tour #tour-schedule .tfe-tour-schedule{
  width:100%;
  max-width:100%;
  margin:0 auto;
}
body.single-tour #tour-schedule .tfe-tour-schedule-controls{
  display:grid;
  grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) minmax(160px,1fr) auto;
  gap:10px;
  margin:0 0 18px;
  align-items:center;
}
body.single-tour #tour-schedule .tfe-tour-schedule-select,
body.single-tour #tour-schedule .tfe-tour-schedule-reset{
  width:100%;
  min-height:44px;
  border-radius:14px;
  border:1px solid #dbeafe;
  background:#fff;
  color:#0f172a;
  font:800 14px/1.2 'DM Sans','Inter',system-ui,sans-serif;
  padding:0 14px;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
  outline:none;
}
body.single-tour #tour-schedule .tfe-tour-schedule-reset{
  cursor:pointer;
  background:#0f172a;
  border-color:#0f172a;
  color:#fff;
  padding-inline:18px;
  white-space:nowrap;
}
body.single-tour #tour-schedule .tfe-tour-schedule-list{
  display:grid;
  gap:12px;
  width:100%;
}
body.single-tour #tour-schedule .tfe-tour-schedule-item{
  display:grid;
  grid-template-columns:88px 82px minmax(0,1fr) minmax(132px,auto);
  gap:14px;
  align-items:center;
  width:100%;
  padding:12px;
  border:1px solid #e2e8f0;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.045);
  box-sizing:border-box;
}
body.single-tour #tour-schedule .tfe-tour-schedule-item[hidden]{
  display:none!important;
}
body.single-tour #tour-schedule .tfe-tour-schedule-thumb{
  display:block;
  width:88px;
  height:88px;
  border-radius:16px;
  overflow:hidden;
  background:#e2e8f0;
  text-decoration:none;
  flex-shrink:0;
}
body.single-tour #tour-schedule .tfe-tour-schedule-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
body.single-tour #tour-schedule .tfe-tour-schedule-thumb span{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  padding:8px;
  color:#1d4ed8;
  font-weight:900;
  font-size:11px;
  text-align:center;
}
body.single-tour #tour-schedule .tfe-tour-schedule-date{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:76px;
  border-radius:16px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1d4ed8;
  text-align:center;
  padding:8px 6px;
}
body.single-tour #tour-schedule .tfe-tour-schedule-date strong{
  font-size:28px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.04em;
}
body.single-tour #tour-schedule .tfe-tour-schedule-date span{
  margin-top:2px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body.single-tour #tour-schedule .tfe-tour-schedule-date em{
  margin-top:4px;
  font-style:normal;
  font-size:12px;
  font-weight:900;
  color:#0f172a;
}
body.single-tour #tour-schedule .tfe-tour-schedule-main{
  min-width:0;
}
body.single-tour #tour-schedule .tfe-tour-schedule-title{
  display:block;
  margin:0 0 6px;
  color:#0f172a;
  text-decoration:none;
  font-size:17px;
  line-height:1.18;
  font-weight:950;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
body.single-tour #tour-schedule .tfe-tour-schedule-place{
  display:flex;
  flex-wrap:wrap;
  gap:4px 7px;
  align-items:center;
  color:#334155;
  font-size:14px;
  line-height:1.25;
  font-weight:750;
}
body.single-tour #tour-schedule .tfe-tour-schedule-place strong{
  color:#0f172a;
  font-weight:900;
}
body.single-tour #tour-schedule .tfe-tour-schedule-place span{
  color:#475569;
}
body.single-tour #tour-schedule .tfe-tour-schedule-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
body.single-tour #tour-schedule .tfe-tour-schedule-status,
body.single-tour #tour-schedule .tfe-tour-schedule-promo{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:4px 9px;
  font-size:11px;
  font-weight:950;
  line-height:1.1;
  white-space:nowrap;
}
body.single-tour #tour-schedule .tfe-tour-schedule-status--available{background:#dcfce7;color:#166534;}
body.single-tour #tour-schedule .tfe-tour-schedule-status--notify{background:#e0f2fe;color:#075985;}
body.single-tour #tour-schedule .tfe-tour-schedule-status--sold{background:#fee2e2;color:#991b1b;}
body.single-tour #tour-schedule .tfe-tour-schedule-status--ended{background:#f1f5f9;color:#64748b;}
body.single-tour #tour-schedule .tfe-tour-schedule-promo{background:#fff7ed;color:#9a3412;}
body.single-tour #tour-schedule .tfe-tour-schedule-side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  text-align:right;
}
body.single-tour #tour-schedule .tfe-tour-schedule-price{
  color:#0f172a;
  font-size:14px;
  line-height:1.15;
  font-weight:950;
  white-space:nowrap;
}
body.single-tour #tour-schedule .tfe-tour-schedule-btn{
  min-height:42px;
  min-width:122px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:999px;
  background:#ffcc18;
  color:#0f172a;
  text-decoration:none;
  font-size:14px;
  font-weight:950;
  box-shadow:0 10px 22px rgba(251,191,36,.22);
}
body.single-tour #tour-schedule .tfe-tour-schedule-btn.is-muted{
  background:#e2e8f0;
  color:#475569;
  box-shadow:none;
}
body.single-tour #tour-schedule .tfe-tour-schedule-empty{
  margin-top:12px;
  padding:18px;
  border-radius:18px;
  background:#f8fafc;
  color:#334155;
  text-align:center;
  font-weight:800;
}
body.single-tour #tour-schedule .tfe-tour-schedule-empty button{
  margin-left:6px;
  border:0;
  background:transparent;
  color:#2563eb;
  font-weight:950;
  cursor:pointer;
}

@media (max-width: 900px){
  body.single-tour #tour-schedule .tfe-tour-schedule-controls{
    grid-template-columns:1fr 1fr;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-item{
    grid-template-columns:74px 72px minmax(0,1fr);
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-thumb{
    width:74px;
    height:74px;
    border-radius:14px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-side{
    grid-column:3;
    align-items:flex-start;
    text-align:left;
    flex-direction:row;
    flex-wrap:wrap;
    margin-top:2px;
  }
}

@media (max-width: 767px){
  body.single-tour #tour-schedule{
    overflow:visible!important;
  }
  body.single-tour #tour-schedule .tfe-section-title{
    margin-bottom:14px!important;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-controls{
    grid-template-columns:1fr;
    gap:9px;
    margin-bottom:14px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-select,
  body.single-tour #tour-schedule .tfe-tour-schedule-reset{
    min-height:46px;
    font-size:15px;
    border-radius:15px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-list{
    gap:10px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-item{
    grid-template-columns:64px minmax(0,1fr);
    gap:10px 12px;
    padding:11px;
    border-radius:18px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-thumb{
    display:none;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-date{
    grid-row:1 / span 2;
    width:64px;
    min-height:78px;
    border-radius:15px;
    padding:8px 5px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-date strong{
    font-size:27px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-main{
    grid-column:2;
    text-align:left;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-title{
    font-size:16px;
    line-height:1.15;
    margin-bottom:5px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-place{
    font-size:13px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-badges{
    margin-top:7px;
    gap:5px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-status,
  body.single-tour #tour-schedule .tfe-tour-schedule-promo{
    font-size:10px;
    padding:4px 7px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-side{
    grid-column:2;
    grid-row:2;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    width:100%;
    margin-top:0;
    text-align:left;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-price{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:13px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-btn{
    min-width:92px;
    min-height:38px;
    padding:0 13px;
    font-size:13px;
  }
}

@media (max-width: 370px){
  body.single-tour #tour-schedule .tfe-tour-schedule-item{
    grid-template-columns:58px minmax(0,1fr);
    padding:10px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-date{
    width:58px;
    min-height:74px;
  }
  body.single-tour #tour-schedule .tfe-tour-schedule-btn{
    min-width:84px;
    padding:0 10px;
  }
}
