@charset "UTF-8";
/* What’s on — calm landing controls (Duncan 27 Sep).
   Lowers the visual weight of the All / On regularly / One-off events tabs and
   the category filter so the listings are the focus. CSS only; all selectors are
   scoped to What’s on elements, so other pages are unaffected. */

/* —— Page title band (Duncan 27 Sep): slate band, white text, strong title ——
   The eyebrow, h1 and intro are sibling elements, so each gets the same background
   and together they form one rounded band. */
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) p.uppercase:has(+ h1),
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) h1,
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) h1 + p {
  background: #2F4A63 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding-left: 1.75rem !important;
  padding-right: 1.75rem !important;
}
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) p.uppercase:has(+ h1) {
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
  padding-top: 1.6rem !important;
  border-radius: 18px 18px 0 0 !important;
  color: #C9D6E3 !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) h1 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0.35rem !important;
  color: #FFFFFF !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em !important;
}
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) h1 + p {
  margin-top: 0 !important;
  padding-top: 0.6rem !important;
  padding-bottom: 1.6rem !important;
  border-radius: 0 0 18px 18px !important;
  color: #E6ECF2 !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
@media (max-width: 639px) {
  main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) p.uppercase:has(+ h1),
  main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) h1,
  main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) h1 + p {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) p.uppercase:has(+ h1) { padding-top: 1.25rem !important; font-size: 0.8125rem !important; border-radius: 16px 16px 0 0 !important; }
  main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) h1 { font-size: 1.75rem !important; }
  main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) h1 + p { padding-bottom: 1.3rem !important; border-radius: 0 0 16px 16px !important; }
}

/* —— Segmented control: All / On regularly / One-off events —— */
[role="tablist"][aria-label="What’s on in the Harvey region list"] {
  display: inline-grid !important;
  grid-template-columns: repeat(3, auto) !important;
  grid-auto-flow: column !important;
  gap: 2px !important;
  width: auto !important;
  max-width: 100% !important;
  margin-top: 1.25rem !important;
  padding: 3px !important;
  border: 1px solid #D8DCE3 !important;
  border-radius: 999px !important;
  background: #F3F5F8 !important;
  box-sizing: border-box !important;
}
[role="tablist"][aria-label="What’s on in the Harvey region list"] > button[role="tab"] {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 2.25rem !important;
  padding: 0.35rem 1.1rem !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #4A5563 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  text-align: center !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}
[role="tablist"][aria-label="What’s on in the Harvey region list"] > button[role="tab"]:hover {
  background: #E8ECF1 !important;
  background-color: #E8ECF1 !important;
  color: #16181D !important;
}
[role="tablist"][aria-label="What’s on in the Harvey region list"] > button[role="tab"][aria-selected="true"] {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #2F4A63 !important;
  border-color: #C9D1DB !important;
  font-weight: 500 !important;
}
[role="tablist"][aria-label="What’s on in the Harvey region list"] > button[role="tab"]:focus-visible {
  outline: 2px solid #2F4A63 !important;
  outline-offset: 1px !important;
}

/* —— Category filter: compact inline label + select —— */
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) .hcr-all-categories-wrap {
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.6rem !important;
  width: auto !important;
  margin-top: 0.75rem !important;
}
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) label.hcr-cat-dropdown-label {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #5C6570 !important;
  white-space: nowrap;
}
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) select.hcr-category-select {
  width: auto !important;
  min-width: 14rem !important;
  max-width: 100% !important;
  min-height: 2.25rem !important;
  padding: 0.35rem 2.25rem 0.35rem 0.85rem !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  background-position: right 0.85rem center !important;
}

/* —— Section headings: clear but not shouting, so cards lead —— */
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) section > h2.text-3xl {
  font-size: 1.625rem !important;
  line-height: 1.2 !important;
}
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) section > h2 + p.text-lg {
  font-size: 1rem !important;
  line-height: 1.45 !important;
  margin-top: 0.35rem !important;
}

/* —— Breathing room before the listings —— */
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) #closing-soon {
  margin-top: 2rem !important;
}

/* —— Mobile: full-width, even three-way segmented control —— */
@media (max-width: 639px) {
  [role="tablist"][aria-label="What’s on in the Harvey region list"] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
  }
  [role="tablist"][aria-label="What’s on in the Harvey region list"] > button[role="tab"] {
    padding: 0.3rem 0.25rem !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
  }
  main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) .hcr-all-categories-wrap {
    width: 100% !important;
  }
  main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) select.hcr-category-select {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
}

/* Duncan extra: remove only the title/intro blocks on Guide and What's on.
   Keep Guide's On air now line and day strip; leave Home's title block alone. */
main:has(.hcr-daystrip) > div > p.text-forest.uppercase:has(+ h1),
main:has(.hcr-daystrip) > div > p.text-forest.uppercase:has(+ h1) + h1,
main:has(.hcr-daystrip) > div > p.text-forest.uppercase:has(+ h1) + h1 + p,
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) > div > p.text-forest.uppercase:has(+ h1),
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) > div > p.text-forest.uppercase:has(+ h1) + h1,
main:has([role="tablist"][aria-label="What’s on in the Harvey region list"]) > div > p.text-forest.uppercase:has(+ h1) + h1 + p {
  display: none !important;
}
