/* Centre Obmani menya: reversible visual cleanup, 2026-11-13.
   Existing URLs, forms and red call-to-action colours are preserved.
   Library media are hidden, not deleted. Source-site uploads use /tila/.
*/
#allrecords .r[data-bg-color="#292929"] {
  background-color: #fff !important;
  color: #242424;
}
#allrecords .r[data-bg-color="#292929"] :is(.t-title,.t-descr,.t-text,.t-name,.t-heading,.t-uptitle) {
  color: #242424 !important;
}
#allrecords .r[data-bg-color="#292929"] :is(.t-title,.t-descr,.t-text,.t-name,.t-heading,.t-uptitle) :is(p,span,strong,em) {
  color: inherit !important;
}
#allrecords .r[data-bg-color="#292929"] :is(.t-title,.t-descr,.t-text,.t-name,.t-heading,.t-uptitle) a:not([class*="t-btn"]) {
  color: #a71919 !important;
}
#allrecords .r[data-bg-color="#292929"] .t-btnflex_type_button2 {
  color: #242424 !important;
  border-color: #242424 !important;
}
/* The video cover has a dark photographic backdrop, unlike split covers. */
#allrecords .r[data-record-type="347"] {
  background-color: #292929 !important;
}
#allrecords .r[data-record-type="347"] :is(.t-title,.t-descr,.t-text,.t-name,.t-heading,.t-uptitle) {
  color: #fff !important;
}
/* Personnel service pages: preserve the complete original illustration. */
#allrecords:is([data-tilda-page-id="378007309"],[data-tilda-page-id="384173009"],[data-tilda-page-id="384177909"],[data-tilda-page-id="384178309"]) .t820 .t-descr_sm {
  font-size: 16px !important;
  line-height: 1.65 !important;
}
#allrecords:is([data-tilda-page-id="378007309"],[data-tilda-page-id="384173009"],[data-tilda-page-id="384177909"],[data-tilda-page-id="384178309"]) .t820 .t-name_md {
  font-size: 18px !important;
  line-height: 1.4 !important;
}
#allrecords[data-tilda-page-id="378007309"] .t820 .t-descr_sm a {
  display: block;
  margin-top: 12px;
}
#allrecords:is([data-tilda-page-id="378007309"],[data-tilda-page-id="384173009"],[data-tilda-page-id="384177909"],[data-tilda-page-id="384178309"]) .t1241__cover {
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
@media screen and (min-width: 961px) {
  #allrecords:is([data-tilda-page-id="378007309"],[data-tilda-page-id="384173009"],[data-tilda-page-id="384177909"],[data-tilda-page-id="384178309"]) .t1241__container {
    height: calc(100vh - 110px) !important;
    min-height: 600px !important;
    max-height: 760px !important;
  }
  #allrecords:is([data-tilda-page-id="378007309"],[data-tilda-page-id="384173009"],[data-tilda-page-id="384177909"],[data-tilda-page-id="384178309"]) .t1241__title {
    font-size: 46px !important;
    line-height: 1.15 !important;
  }
}
/* Do not present Tilda's sample portraits, mockups or demo videos as the centre. */
#allrecords .r [data-original*="/tild"],
#allrecords .r img[src*="/tild"],
#allrecords .r[data-record-type="524"],
#allrecords .r:not(:has(h1)):has([data-videolazy-type="youtube"][data-videolazy-id="ESsI4r55MV0"]),
#allrecords .r:not(:has(h1)):has([data-videolazy-type="youtube"][data-videolazy-id="XEfDYMngJeE"]),
#allrecords .r:not(:has(h1)):has([data-videolazy-type="youtube"][data-videolazy-id="1dy5wKtJxEY"]),
#allrecords .r:not(:has(h1)):has([data-videolazy-type="youtube"][data-videolazy-id="wcN1i6Qcjxg"]) {
  display: none !important;
}
/* Some imported video covers contain the page's actual heading.
   Keep that heading and its photo; suppress only the unverified player. */
#allrecords .r:has(h1):has([data-videolazy-type="youtube"])
  :is(.t347__play-link,.t347__wrap-video,.t479__videowrapper,.t-video-lazyload) {
  display: none !important;
}
/* Remove only unconfigured social-service placeholders and the event timer.
   The actual telephone links and the enquiry forms remain available. */
#allrecords .t-sociallinks__item_facebook,
#allrecords .t-sociallinks__item_twitter,
#allrecords .t-sociallinks__item_instagram,
#allrecords .t1016__timer,
#rec5707277101 {
  display: none !important;
}
#allrecords .t-checkbox__control,
#allrecords .t-checkbox__labeltext {
  font-size: 14px !important;
  line-height: 1.5 !important;
}
#allrecords .t-form__bottom-text,
#allrecords [class*="__form-bottom-text"] {
  font-size: 14px !important;
  line-height: 1.5 !important;
}
#allrecords :is(.t-checkbox__control,.t-checkbox__labeltext,.t-form__bottom-text,[class*="__form-bottom-text"]) a {
  color: #a71919 !important;
  text-decoration: underline !important;
}
#allrecords .t-cover :is(.t-checkbox__control,.t-checkbox__labeltext,.t-form__bottom-text,[class*="__form-bottom-text"]),
#allrecords .t-cover :is(.t-checkbox__control,.t-checkbox__labeltext,.t-form__bottom-text,[class*="__form-bottom-text"]) a {
  color: #fff !important;
}
/* Keep the service navigation, but make it an ordinary footer on phones.
   The original rotated rail must not cover 60px of the reading area. */
@media (max-width: 960px) {
  #allrecords .t453 {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 8px !important;
    transform: none !important;
  }
  #allrecords .t453__item {
    position: relative !important;
    inset: auto !important;
    flex: 1 1 140px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
  }
  #allrecords .t453__item_link {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    color: #fff !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    text-align: center !important;
  }
}
@media (max-width: 640px) {
  #allrecords .r:is(.t-rec_pt_120,.t-rec_pt_135,.t-rec_pt_150,.t-rec_pt_165,.t-rec_pt_180,.t-rec_pt_210) {
    padding-top: 56px !important;
  }
  #allrecords .r:is(.t-rec_pb_120,.t-rec_pb_135,.t-rec_pb_150,.t-rec_pb_165,.t-rec_pb_180,.t-rec_pb_210) {
    padding-bottom: 56px !important;
  }
  #allrecords .t1241__container {
    display: flex !important;
    flex-direction: column !important;
  }
  #allrecords .t1241__content-wrapper {
    order: 1;
    width: 100% !important;
    box-sizing: border-box;
    padding: 36px 20px 28px !important;
  }
  #allrecords .t1241__image {
    order: 2;
    width: auto !important;
    margin: 0 20px 28px !important;
  }
  #allrecords .t1241__cover {
    min-height: 230px !important;
    height: 230px !important;
  }
  #allrecords .t1241__title {
    font-size: 30px !important;
    line-height: 1.18 !important;
    font-weight: 500 !important;
  }
  #allrecords .t1241__descr {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }
  #allrecords .t1241__buttons {
    margin-top: 24px !important;
  }
  #allrecords .t1241__buttons :is(.t-btn,.t-btnflex) {
    min-height: 48px;
  }
}
