/* OCS UI overrides (Rodger 2026-11-24). Loaded after all bundled CSS via /ocs-stage/ui.css?v=<V>. Applied by ui_patch.py. */

/* 1) Contact Us cards: same background as the #contact-us section.
      Section colour in Elementor CSS: .elementor-element-21ffe059 { background-color:#00148C15 } (8% navy);
      flattened over the white page = #eaecf6. Radius/shadow are kept; a 1px hairline ring keeps the edge visible. */
:root{--ocs-contact-bg:#eaecf6;--ocs-contact-ring:rgba(0,20,140,.20)}
#contact-us > .e-con-inner > .e-con.e-child{
  background-color:var(--ocs-contact-bg) !important;
  box-shadow:0 0 10px 0 rgba(0,0,0,.2),0 0 0 1px var(--ocs-contact-ring) !important}
#contact-us > .e-con-inner > .e-con.e-child:hover{
  box-shadow:0 0 20px 0 rgba(14,118,188,.8),0 0 0 1px var(--ocs-contact-ring) !important}

/* 2) Card hearts: top-right corner (was top-left, covering titles). */
.ocs-fav-card{left:auto !important;right:8px !important}
/* category badge (top-right of the thumbnail) moves left of the heart */
.elementor-post:has(> .ocs-fav-card) .elementor-post__badge,
.elementor-post:has(.ocs-fav-card) .elementor-post__badge{right:44px !important}

/* 3) Floating page heart: round icon button, same size as the WhatsApp chat icon (50x50 circle, ht-ctc style-3). */
.ocs-fav-page{right:15px;bottom:15px;width:50px;height:50px;padding:0;gap:0;justify-content:center;border-radius:50%;box-sizing:border-box}
.ocs-fav-page .ocs-fav-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ocs-fav-page svg{width:26px !important;height:26px !important}
@media(max-width:767px){.ocs-fav-page{right:12px;bottom:104px;width:50px;height:50px}}
/* titles that start at the very top of a card (no thumbnail above them): keep clear of the heart */
.elementor-post:has(> .ocs-fav-card):not(:has(.elementor-post__thumbnail)) .elementor-post__title,
.post:has(> .ocs-fav-card) .entry-title,
.e-loop-item:has(> .ocs-fav-card) .elementor-heading-title{padding-right:46px;box-sizing:border-box}
