/* Belief on Screen Programme Timeline */
.bos-programme-widget {
  --bos-bg: #3f3f3d;
  --bos-accent: #ff6a1f;
  --bos-text: #ffffff;
  --bos-muted: rgba(255, 255, 255, 0.62);
  --bos-soft: rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 4.8vw, 72px) clamp(20px, 4vw, 64px) 0;
  background: var(--bos-bg);
  color: var(--bos-text);
  font-family: Montserrat, sans-serif;
}

.bos-programme-widget *,
.bos-programme-widget *::before,
.bos-programme-widget *::after {
  box-sizing: border-box;
}

.bos-programme-inner {
  position: relative;
  z-index: 2;
  max-width: 1520px;
  margin: 0 auto;
}

.bos-programme-intro {
  max-width: 1380px;
  margin: 0 0 clamp(36px, 4.5vw, 66px);
}

.bos-programme-intro h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  font-style: italic;
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.bos-programme-intro-text {
  max-width: 1280px;
  color: rgba(255,255,255,.86);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 500;
  line-height: 1.55;
}

.bos-programme-intro-text p {
  margin: 0 0 8px;
}

.bos-programme-days {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 54px);
  align-items: start;
}

.bos-programme-days::before {
  display: none;
}

.bos-programme-day {
  min-width: 0;
}

/* Day/date: centered label above each photo */
.bos-day-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  text-align: center;
}

.bos-day-header::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--bos-accent);
}

.bos-day-header span {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: clamp(19px, 1.45vw, 24px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.bos-day-header strong {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bos-accent);
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .06em;
}

.bos-day-image {
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
}

.bos-day-image img {
  display: block;
  width: 100%;
  height: clamp(150px, 11.6vw, 188px);
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.bos-programme-day:hover .bos-day-image img {
  transform: scale(1.018);
  filter: contrast(1.04);
}

.bos-programme-events {
  display: block;
}

.bos-programme-event {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--bos-soft);
}

.bos-programme-event:first-child {
  border-top: none;
  padding-top: 0;
}

.bos-event-time {
  color: #fff;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.bos-event-main {
  min-width: 0;
  max-width: 100%;
}

.bos-event-label {
  margin: 1px 0 11px;
  color: var(--bos-accent);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bos-event-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(22px, 1.95vw, 29px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.bos-event-location {
  margin: 0 0 12px;
  color: rgba(255,255,255,.56);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
}

.bos-event-description,
.bos-event-description p {
  margin: 0;
  color: rgba(255,255,255,.79);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.52;
}

.bos-event-description p + p {
  margin-top: 7px;
}

.bos-event-description strong,
.bos-film-country {
  color: #fff;
  font-weight: 900;
}

.bos-event-badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin-top: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bos-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.bos-event-break-title {
  margin: -3px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.bos-film-list {
  display: grid;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
}

.bos-film-list-item {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.bos-film-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 0 -10px;
  padding: 6px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(255,255,255,.74);
  font: inherit;
  font-size: 14px;
  line-height: 1.43;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.bos-film-trigger:hover,
.bos-film-trigger:focus-visible {
  background: var(--bos-accent);
  color: #fff;
  outline: none;
}

.bos-film-trigger:focus-visible {
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}

.bos-film-trigger:hover .bos-film-country,
.bos-film-trigger:focus-visible .bos-film-country {
  color: #fff;
}

.bos-film-trigger:hover .bos-film-icon,
.bos-film-trigger:focus-visible .bos-film-icon {
  color: #fff;
  opacity: 1;
  transform: translateY(1px) rotate(-4deg);
}

.bos-film-trigger-large {
  color: #fff;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
}

.bos-film-trigger-text {
  display: inline;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.bos-film-trigger-title,
.bos-film-country {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.bos-film-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--bos-accent);
  opacity: .9;
  transform-origin: center;
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

.bos-film-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.bos-film-data[hidden] {
  display: none !important;
}

.bos-programme-skyline {
  position: relative;
  z-index: 1;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin-top: clamp(34px, 5vw, 70px);
  pointer-events: none;
  opacity: .33;
}

.bos-programme-skyline img {
  display: block;
  width: 100%;
  height: auto;
}

/* Modal */
html.bos-modal-open {
  overflow: hidden;
}

.bos-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.bos-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.bos-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(10px);
}

.bos-modal-panel {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border-radius: 22px;
  background: #f6f1e9;
  color: #3f3f3d;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
}

.bos-modal.is-active .bos-modal-panel {
  transform: translateY(0) scale(1);
}

.bos-modal-close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 14px 14px -60px 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--bos-accent);
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255,106,31,.28);
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.bos-modal-close::before,
.bos-modal-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.bos-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.bos-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.bos-modal-close:hover,
.bos-modal-close:focus-visible {
  background: #fff;
  color: var(--bos-accent);
  outline: none;
  transform: scale(1.04);
}

.bos-film-modal-card {
  overflow: hidden;
}

.bos-film-modal-image {
  margin: 0;
  background: #2f2f2e;
}

.bos-film-modal-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.bos-film-modal-body {
  padding: clamp(26px, 4vw, 46px);
}

.bos-film-modal-kicker {
  margin-bottom: 13px;
  color: var(--bos-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.bos-film-modal-body h3 {
  margin: 0;
  color: #333331;
  font-size: clamp(30px, 4.1vw, 58px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.06em;
}

.bos-film-modal-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(63,63,61,.18);
  border-bottom: 1px solid rgba(63,63,61,.18);
}

.bos-film-modal-facts:empty {
  display: none;
}

.bos-film-modal-facts dt {
  margin: 0 0 8px;
  color: var(--bos-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.bos-film-modal-facts dd {
  margin: 0;
  color: #3f3f3d;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.25;
}

.bos-film-modal-text,
.bos-film-modal-text p {
  color: rgba(63,63,61,.78);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}

.bos-film-modal-text p {
  margin: 0 0 12px;
}

.bos-film-modal-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .bos-programme-days {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .bos-day-header {
    margin-bottom: 12px;
  }

  .bos-day-image img {
    height: clamp(160px, 34vw, 240px);
  }
}

@media (max-width: 640px) {
  .bos-programme-widget {
    padding: 34px 16px 0;
  }

  .bos-programme-intro {
    margin-bottom: 34px;
  }

  .bos-day-header {
    margin-bottom: 12px;
  }

  .bos-day-header span {
    font-size: 20px;
  }

  .bos-day-header strong {
    font-size: 13px;
  }

  .bos-programme-event {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .bos-event-time {
    font-size: 20px;
  }

  .bos-event-label {
    font-size: 10px;
    letter-spacing: .14em;
    line-height: 1.35;
  }

  .bos-event-title {
    font-size: 25px;
  }

  .bos-day-image {
    border-radius: 10px;
  }

  .bos-day-image img {
    height: clamp(150px, 52vw, 215px);
  }

  .bos-film-trigger {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: flex-start;
    margin-left: -8px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.38;
  }

  .bos-film-icon {
    margin-top: .16em;
  }

  .bos-film-modal-facts {
    grid-template-columns: 1fr;
  }

  .bos-modal {
    padding: 14px;
  }

  .bos-modal-panel {
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .bos-programme-event {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bos-event-time {
    margin-bottom: 2px;
  }

  .bos-film-trigger {
    margin-left: 0;
  }
}
