/* kc-hubphone v2 01-11-2026 (programme G2, row PG2-4, registry #248). Phone only (max-width 767px), activity and area hubs (.archive.tax-event_cat / .tax-event_loc): shorter hero and less space under the Search button,
   so the first result card starts higher. Desktop and tablet (>= 768px): only the search placeholder text styling (last rule) changes. Hero 330 -> 280 px with 100 px bottom padding (the search form still overlaps the bottom 100 px; the H1 is centred in the visible 180 px, 3-line titles keep air); gap under Search 60 -> 12 px.
   Kill switch: option kc_g2_hubphone_off = 1 / constant KC_G2_HUBPHONE_OFF / filter kc_g2_hubphone_enabled. Undo: ops\dev_undo_pg2_4_hubphone_01-11.sh */
@media (max-width: 767px) {
  .archive.tax-event_cat .kc-page-header,
  .archive.tax-event_loc .kc-page-header { height: 280px; box-sizing: border-box; padding-bottom: 100px; }
  .archive.tax-event_cat .el_search_filters.wrap_form_search,
  .archive.tax-event_loc .el_search_filters.wrap_form_search { margin-bottom: 12px; }
}
/* Placeholder text styling, all widths on these hubs: the new text (35 characters) must fit the field; title-casing off, 15 px. */
body.archive.tax-event_cat .el_search_filters .name_event input.form-control::placeholder,
body.archive.tax-event_loc .el_search_filters .name_event input.form-control::placeholder,
body.archive.tax-kc_age_band .el_search_filters .name_event input.form-control::placeholder { text-transform: none; font-size: 15px !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }

/* v2 (checker FIX 2): phone collapse of the hub-facts block; CSS-only checkbox (no JS). Heading + facts line stay; intro, by-age links, "All N listings" lead and the organiser list open with the label. */
.kc-hp-chk, .kc-hp-lab { display: none; }
@media (max-width: 767px) {
  .kc-hp-chk { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
  .kc-hp-lab { display: block; margin: 0 0 12px; min-height: 44px; padding: 10px 0; box-sizing: border-box; color: #1d5fa8; font-size: 14px; font-weight: 600; line-height: 24px; text-decoration: underline; cursor: pointer; }
  .kc-hp-chk:focus-visible ~ .kc-hp-lab { outline: 2px solid #1d5fa8; outline-offset: 2px; }
  .kc-hp-less, .kc-hp-chk:checked ~ .kc-hp-lab .kc-hp-more { display: none; }
  .kc-hp-chk:checked ~ .kc-hp-lab .kc-hp-less { display: inline; }
  .kc-hp-chk:not(:checked) ~ .kc-hub-facts > :not(.kc-hub-facts__title):not(.kc-hub-facts__line) { display: none; }
  .kc-hp-chk:not(:checked) ~ .kc-org-hub-links { display: none; }
  .kc-hp-chk:not(:checked) ~ .kc-hub-facts { margin-bottom: 4px; }
}