/* RCH targeted fixes only — keeps the supplied baseline design unchanged. */

/* Make the selected service rating unmistakable. */
.rating-option{
  position:relative;
  cursor:pointer;
}
.rating-option input[type="radio"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.rating-option .rating-check{
  position:absolute;
  top:9px;
  right:9px;
  width:26px;
  height:26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#d99a28;
  color:#fff;
  font-size:.9rem;
  font-weight:900;
  opacity:0;
  transform:scale(.65);
  transition:opacity .2s ease,transform .2s ease;
}
.rating-option.selected,
.rating-option:has(input[type="radio"]:checked){
  background:#102447!important;
  border:3px solid #d99a28!important;
  box-shadow:0 0 0 5px rgba(217,154,40,.18),0 18px 38px rgba(12,29,55,.2)!important;
  transform:translateY(-5px)!important;
}
.rating-option.selected>span:not(.rating-check),
.rating-option.selected>strong,
.rating-option:has(input[type="radio"]:checked)>span:not(.rating-check),
.rating-option:has(input[type="radio"]:checked)>strong{
  color:#fff!important;
}
.rating-option.selected .rating-check,
.rating-option:has(input[type="radio"]:checked) .rating-check{
  opacity:1;
  transform:scale(1);
}
.rating-option.selected::after,
.rating-option:has(input[type="radio"]:checked)::after{
  content:"SELECTED";
  display:block;
  margin-top:8px;
  color:#ffd476;
  font-size:.68rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.12em;
}
.rating-option:focus-visible{
  outline:4px solid #d99a28!important;
  outline-offset:4px!important;
}
.rating-selection-status{
  margin:14px 0 18px;
  padding:11px 14px;
  border-radius:12px;
  background:#f3f6fb;
  border:1px solid #dbe3ef;
  color:#526178;
  font-weight:800;
  text-align:center;
}
.rating-selection-status.has-selection{
  background:#fff7e7;
  border-color:#e5b95c;
  color:#6f4b05;
}

/* Show full Administrator and Nursing Service Manager photographs on smaller screens. */
@media(max-width:900px){
  .leadership-grid .leader-image{
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    background:#eef2f8!important;
  }
  .leadership-grid .leader-image img{
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center top!important;
  }
}

/* Clear selection and focus feedback throughout forms and interactive controls. */
:root{accent-color:#d99a28;}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid #d99a28!important;
  outline-offset:3px!important;
}
.stepper button.active,
.gallery-filter-btn.active,
.main-nav a.active,
.active-dropdown>.dropdown-toggle,
button[aria-pressed="true"],
[aria-selected="true"]{
  box-shadow:0 0 0 3px rgba(217,154,40,.28)!important;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked{
  accent-color:#d99a28!important;
}

/* Keep the protected Online Admission introduction readable on every screen. */
.admission-hero h1,
.admission-hero .section-label,
.admission-contact-strip strong{
  color:#fff!important;
  opacity:1!important;
}
.admission-hero p,
.admission-hero-card li{
  color:#f4f7ff!important;
  opacity:1!important;
}
.admission-hero-card{
  background:rgba(11,31,66,.76)!important;
  border-color:rgba(255,255,255,.38)!important;
}
.admission-contact-strip a{
  background:rgba(11,31,66,.72)!important;
}

/* Small responsive safety fixes without changing the established design. */
html,body{max-width:100%;overflow-x:clip;}
img,video,iframe{max-width:100%;}
main,section,.container,.brand-inner,.nav-inner,
.admission-hero-grid,.services-intro-grid,.service-detail-card,
.rating-panel,.footer-grid{min-width:0;}
@media(max-width:900px){
  .admission-hero-grid,
  .services-intro-grid,
  .service-detail-card,
  .service-detail-card.service-detail-reverse{
    grid-template-columns:1fr!important;
  }
  .service-detail-card.service-detail-reverse .service-detail-content,
  .service-detail-card.service-detail-reverse .service-detail-image{
    order:initial!important;
  }
  .rch-site-guide{left:14px!important;right:auto!important;bottom:14px!important;}
  .rch-guide-panel{left:0!important;right:auto!important;}
}


/* =========================================================
   RCH V44 — News, careers and mobile navigation refinements
   ========================================================= */
.public-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch}
.public-post-card{background:#fff;border:1px solid #dce4ef;border-radius:22px;overflow:hidden;box-shadow:0 16px 42px rgba(12,29,55,.10);display:flex;flex-direction:column;min-width:0;transition:transform .25s ease,box-shadow .25s ease}
.public-post-card:hover{transform:translateY(-6px);box-shadow:0 24px 58px rgba(12,29,55,.16)}
.public-post-card.career-feature-card{border-top:7px solid #e3a22f;background:linear-gradient(180deg,#fff 0%,#fffaf0 100%)}
.post-media{display:grid;place-items:center;width:100%;height:260px;background:#eef2f7;overflow:hidden;text-decoration:none}
.post-media img,.home-news-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#eef2f7!important;transform:none!important;filter:none!important}
.post-pdf-placeholder{background:linear-gradient(145deg,#102447,#1f447c);color:#fff;text-align:center;padding:28px}
.post-pdf-placeholder span{font-size:2rem;font-weight:900;color:#ffc85b}.post-pdf-placeholder strong{display:block;font-size:1.35rem;margin:8px}.post-pdf-placeholder small{color:#e5edfa}
.post-generic-placeholder{background:linear-gradient(145deg,#102447,#244a82);color:#ffc85b;font-size:1.25rem;font-weight:900;letter-spacing:.16em}
.public-post-body{padding:24px;display:flex;flex-direction:column;flex:1}
.public-post-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#68758d;font-size:.82rem;margin-bottom:12px;flex-wrap:wrap}
.public-post-badge{background:#fff0cc;color:#76510b;border-radius:999px;padding:6px 10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.public-post-card h3{font-size:1.35rem;margin:0 0 10px;color:#102447}.public-post-card h3 a{color:inherit}.post-summary{color:#4e5d74;line-height:1.7;margin:0 0 16px}
.career-closing-banner{background:#102447;color:#fff;border-radius:12px;padding:11px 13px;margin:auto 0 16px}.career-closing-banner strong{color:#ffc85b}
.public-post-actions,.post-detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:auto}
.post-primary-action,.post-secondary-action,.post-download-action{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 14px;font-weight:850;text-decoration:none}
.post-primary-action{background:#102447;color:#fff}.post-secondary-action{border:1px solid #b9c5d8;color:#102447;background:#fff}.post-download-action{background:#e3a22f;color:#102447}
.home-news-card{overflow:hidden}.home-news-image{display:block;height:220px;margin:-22px -22px 16px;width:calc(100% + 44px);background:#eef2f7}
.pdf-viewer-wrap{height:min(72vh,760px);border:1px solid #d8e1ee;border-radius:16px;overflow:hidden;margin-bottom:26px;background:#eef2f7}.pdf-viewer-wrap object{width:100%;height:100%}.post-download-gold{background:#e3a22f!important;color:#102447!important}.post-detail-cover{object-fit:contain!important;background:#eef2f7!important}
.admin-file-note{display:block;color:#65738a;font-size:.86rem;margin-top:6px}.current-post-files{padding:11px 13px;background:#f4f7fb;border:1px solid #dce4ef;border-radius:11px;color:#40516c;min-height:44px}.admin-file-summary{color:#6b778b;font-size:.85rem;margin-top:8px}

@media(max-width:980px){.public-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.post-media{height:240px}}
@media(max-width:780px){
  .nav-inner,.improved-nav-inner{display:block!important;padding:10px!important;min-height:auto!important}
  .menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:50px!important;margin:0!important;position:relative!important;left:auto!important;top:auto!important;border-radius:14px!important}
  .main-nav,.improved-main-nav{display:none!important;width:100%!important;max-height:calc(100vh - 190px)!important;overflow-y:auto!important;overflow-x:hidden!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;padding:10px!important;margin-top:8px!important;border-radius:18px!important;background:#0b2853!important;box-shadow:0 18px 42px rgba(0,0,0,.24)!important}
  .main-nav.show,.improved-main-nav.show{display:flex!important}
  .main-nav>a,.dropdown-toggle{width:100%!important;text-align:left!important;justify-content:space-between!important;padding:13px 15px!important;font-size:.98rem!important;border-radius:12px!important;white-space:normal!important;min-height:46px!important}
  .nav-dropdown{width:100%!important}.dropdown-menu{position:static!important;width:100%!important;max-height:0!important;opacity:0!important;visibility:hidden!important;overflow:hidden!important;transform:none!important;box-shadow:none!important;border:0!important;padding:0!important}.nav-dropdown.open>.dropdown-menu{max-height:70vh!important;opacity:1!important;visibility:visible!important;padding:8px!important;margin-top:5px!important;background:#fff!important}
  body.rch-mobile-menu-open{overflow-x:hidden!important}
  .utility-inner.improved-utility{align-items:stretch!important}.urgent-links{display:grid!important;grid-template-columns:1fr!important;text-align:left!important}.language-selector-wrap{display:grid!important;grid-template-columns:auto 1fr!important}.utility-portal-button{grid-column:1/-1;text-align:center!important}
  .brand-inner,.brand-inner.improved-brand{justify-content:center!important;text-align:left!important}.brand-logo{width:100%!important;justify-content:flex-start!important}.brand-text strong{font-size:clamp(1.15rem,6vw,1.65rem)!important}
  .public-post-grid{grid-template-columns:1fr}.post-media{height:auto;min-height:220px;max-height:430px}.post-media img{height:auto!important;max-height:430px!important}.public-post-actions>a{flex:1 1 150px}.pdf-viewer-wrap{height:62vh}
  .rch-site-guide{transform:scale(.88);transform-origin:left bottom}
}
@media(max-width:480px){.public-post-body{padding:20px}.public-post-card h3{font-size:1.2rem}.post-media{min-height:190px}.home-news-image{height:190px}.pdf-viewer-wrap{height:55vh}.post-primary-action,.post-secondary-action,.post-download-action{width:100%}}


/* ==========================================================
   RCH NEWS & CAREERS REFINEMENT v46
   One vacancy = one card, richer motion, full news imagery,
   and permanent archive listings ordered by publish date.
   ========================================================== */
.home-careers-strip{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 10%,rgba(227,162,47,.23),transparent 28%),
    radial-gradient(circle at 88% 90%,rgba(75,132,208,.16),transparent 31%),
    linear-gradient(135deg,#0b1d3c 0%,#132b55 55%,#0c234a 100%)!important;
  color:#fff;
}
.home-careers-strip::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(to bottom,black,transparent 90%);
}
.home-careers-strip .container{position:relative;z-index:1}
.home-careers-strip .section-label{color:#f2b43f!important}
.home-careers-strip h2{color:#fff!important;margin-bottom:26px!important}
.career-ticker{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(285px,1fr));
  gap:22px;
  overflow:visible!important;
  white-space:normal!important;
}
.career-ticker.single-post{grid-template-columns:minmax(0,760px);justify-content:center}
.career-home-card{
  position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-height:280px;
  padding:26px;border:1px solid rgba(255,255,255,.18);border-radius:24px;
  background:linear-gradient(155deg,rgba(255,255,255,.14),rgba(255,255,255,.055));
  box-shadow:0 24px 55px rgba(0,0,0,.24);backdrop-filter:blur(12px);
  color:#fff!important;text-decoration:none!important;
  opacity:0;transform:translateY(26px) scale(.97);
  animation:careerHomeReveal .7s cubic-bezier(.2,.75,.2,1) forwards;
  animation-delay:var(--career-delay,0ms);
  transition:transform .35s cubic-bezier(.2,.75,.2,1),box-shadow .35s ease,border-color .35s ease;
}
.career-home-card::before{
  content:"";position:absolute;inset:0;z-index:-2;border-radius:inherit;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.13) 42%,transparent 62%);
  transform:translateX(-120%);transition:transform .85s ease;
}
.career-home-card::after{
  content:"";position:absolute;left:0;top:0;right:0;height:4px;z-index:3;
  background:linear-gradient(90deg,#e3a22f,#ffd87b,#e3a22f);background-size:200% 100%;
  animation:careerGoldFlow 4s linear infinite;
}
.career-home-card:hover{transform:translateY(-9px) scale(1.012);border-color:rgba(255,207,99,.65);box-shadow:0 34px 75px rgba(0,0,0,.34)}
.career-home-card:hover::before{transform:translateX(120%)}
.career-home-glow{position:absolute;right:-65px;top:-70px;width:190px;height:190px;border-radius:50%;background:rgba(227,162,47,.16);filter:blur(2px);z-index:-1;transition:transform .45s ease}
.career-home-card:hover .career-home-glow{transform:scale(1.22)}
.career-home-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.career-home-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e3a22f;color:#102447;font-size:1.15rem;box-shadow:0 10px 25px rgba(227,162,47,.25)}
.career-home-status{margin-left:auto;display:inline-flex;align-items:center;gap:7px;font-size:.74rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em;color:#bff5d3}
.career-home-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#3bd078;box-shadow:0 0 0 6px rgba(59,208,120,.12);animation:careerStatusPulse 1.8s ease-in-out infinite}
.career-home-card h3{color:#fff!important;font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.25;margin:0 0 12px!important;letter-spacing:-.02em}
.career-home-card p{color:rgba(255,255,255,.78)!important;line-height:1.65;margin:0 0 24px!important}
.career-home-footer{margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.13);display:flex;align-items:end;justify-content:space-between;gap:18px}
.career-home-footer span{display:grid;gap:2px}.career-home-footer small{color:rgba(255,255,255,.62);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.career-home-footer strong{color:#ffd071;font-size:1.02rem}
.career-home-footer b{display:inline-flex;align-items:center;gap:8px;color:#fff}.career-home-footer i{font-style:normal;transition:transform .25s ease}.career-home-card:hover .career-home-footer i{transform:translateX(7px)}
.career-empty-state{grid-column:1/-1;text-align:center;padding:34px;border:1px dashed rgba(255,255,255,.27);border-radius:22px;background:rgba(255,255,255,.06)}
.career-empty-state strong{display:block;color:#fff;font-size:1.25rem}.career-empty-state p{color:rgba(255,255,255,.72)!important}.career-empty-state a{color:#ffd071;font-weight:900}

.home-news-card{padding:0!important;opacity:0;transform:translateY(24px);animation:homeNewsReveal .65s cubic-bezier(.2,.75,.2,1) forwards;animation-delay:var(--home-post-delay,0ms)}
.home-news-card:hover{transform:translateY(-8px)!important}
.home-news-image{height:250px!important;margin:0!important;width:100%!important;display:grid!important;place-items:center;overflow:hidden;background:linear-gradient(145deg,#eef2f7,#fff)}
.home-news-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:10px;transition:transform .55s ease}
.home-news-card:hover .home-news-image img{transform:scale(1.035)}
.home-news-content{padding:24px;display:flex;flex-direction:column;flex:1}
.home-post-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#68758d;font-size:.78rem;margin-bottom:12px}
.home-news-card h3{font-size:1.35rem;margin:0 0 10px;color:#102447}.home-news-card p{color:#526178;line-height:1.7;margin-bottom:18px}
.home-post-button{margin-top:auto;display:inline-flex!important;align-items:center;gap:8px;width:max-content}.home-post-button span{transition:transform .25s ease}.home-post-button:hover span{transform:translateX(5px)}

.public-post-card{position:relative;border-radius:24px!important;box-shadow:0 18px 48px rgba(12,29,55,.10)!important}
.public-post-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;z-index:4;background:linear-gradient(90deg,#264e85,#6ba1df)}
.public-post-card.career-feature-card::before{background:linear-gradient(90deg,#c7830b,#f3c35c,#c7830b);background-size:180% 100%;animation:careerGoldFlow 5s linear infinite}
.public-post-card:hover{transform:translateY(-9px)!important;box-shadow:0 28px 68px rgba(12,29,55,.17)!important}
.public-post-card.is-expired{background:linear-gradient(180deg,#fff,#f7f8fb)!important}
.public-post-card.is-expired::before{background:linear-gradient(90deg,#7b8799,#b9c1ce)}
.post-media{height:285px!important;background:linear-gradient(145deg,#eef2f7,#fff)!important}
.post-media img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:12px;transition:transform .55s ease}
.public-post-card:hover .post-media img{transform:scale(1.035)}
.post-status-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.post-status-badge.active{background:#e9f8ef;color:#176238}.post-status-badge.active::before{content:"";width:7px;height:7px;border-radius:50%;background:#2dbb66}
.post-status-badge.expired{background:#edf0f4;color:#596579}
.post-published-line{color:#728096;font-size:.8rem;margin:-2px 0 12px;display:flex;gap:8px;flex-wrap:wrap}
.career-closing-banner.closed{background:#657187!important;color:#fff!important}.career-closing-banner.closed strong{color:#fff!important}
.public-post-actions>a{transition:transform .22s ease,box-shadow .22s ease}.public-post-actions>a:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(12,29,55,.14)}

@keyframes careerHomeReveal{to{opacity:1;transform:none}}
@keyframes homeNewsReveal{to{opacity:1;transform:none}}
@keyframes careerGoldFlow{to{background-position:200% 0}}
@keyframes careerStatusPulse{50%{box-shadow:0 0 0 10px rgba(59,208,120,0)}}
@media(max-width:780px){
  .career-ticker{grid-template-columns:1fr!important}.career-home-card{min-height:250px;padding:22px}.career-home-footer{align-items:flex-start;flex-direction:column}.career-home-status{margin-left:0}
  .home-news-image{height:auto!important;min-height:220px!important;max-height:420px!important}.home-news-image img{height:auto!important;max-height:420px!important}
  .post-media{height:auto!important;min-height:220px!important;max-height:460px!important}.post-media img{height:auto!important;max-height:460px!important}
}
@media(max-width:480px){.career-home-card{border-radius:20px}.career-home-footer b{width:100%;justify-content:space-between}.home-news-content{padding:20px}}
@media(prefers-reduced-motion:reduce){.career-home-card,.home-news-card,.career-home-card::after,.career-home-status::before,.public-post-card.career-feature-card::before{animation:none!important;opacity:1!important;transform:none!important}}

/* ==========================================================
   RCH MULTI-IMAGE NEWS GALLERIES v48
   Multiple upload preview and accessible rotating post images.
   ========================================================== */
.admin-selected-images{margin:-4px 0 18px}
.admin-selected-images:empty{display:none}
.admin-selected-images-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:10px;color:#102447}
.admin-selected-images-heading span{font-size:.82rem;color:#65738a}
.admin-selected-images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;padding:12px;border:1px solid #dbe3ef;border-radius:16px;background:#f7f9fd}
.admin-selected-images-grid figure{margin:0;min-width:0;border-radius:12px;overflow:hidden;background:#fff;border:1px solid #e1e7f0;box-shadow:0 7px 18px rgba(12,29,55,.07)}
.admin-selected-images-grid img{width:100%;height:92px;object-fit:contain;background:#eef2f7;padding:4px}
.admin-selected-images-grid figcaption{padding:7px;font-size:.7rem;color:#536178;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.rch-post-carousel{position:relative!important;overflow:hidden!important;isolation:isolate;background:linear-gradient(145deg,#edf2f8,#fff)!important}
.rch-post-carousel-track{position:relative;width:100%;height:100%;min-height:inherit}
.rch-post-carousel-slide{position:absolute;inset:0;display:grid;place-items:center;opacity:0;visibility:hidden;transform:scale(1.025);transition:opacity .65s ease,visibility .65s ease,transform 1s cubic-bezier(.2,.75,.2,1);z-index:1;background:transparent}
.rch-post-carousel-slide.is-active{opacity:1;visibility:visible;transform:scale(1);z-index:2}
.rch-post-carousel-slide img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:10px}
.rch-post-carousel.has-multiple::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(180deg,transparent 62%,rgba(4,18,39,.28) 100%)}
.rch-post-carousel-controls{position:absolute;left:12px;right:12px;bottom:12px;z-index:6;display:flex;align-items:center;justify-content:center;gap:9px;width:max-content;max-width:calc(100% - 24px);margin:auto;padding:7px 10px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(7,31,69,.75);box-shadow:0 10px 28px rgba(0,0,0,.2);backdrop-filter:blur(10px)}
.rch-carousel-arrow{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.11);color:#fff;font-size:1.45rem;line-height:1;cursor:pointer;transition:background .22s ease,transform .22s ease}
.rch-carousel-arrow:hover,.rch-carousel-arrow:focus-visible{background:#e3a22f;color:#102447;transform:scale(1.08)}
.rch-carousel-dots{display:flex;align-items:center;justify-content:center;gap:6px;max-width:150px;overflow:hidden}
.rch-carousel-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.48);cursor:pointer;transition:width .25s ease,background .25s ease,transform .25s ease}
.rch-carousel-dots button.is-active{width:22px;border-radius:999px;background:#f0b23d;transform:none}
.rch-carousel-count{min-width:36px;color:#fff;font-size:.72rem;font-weight:800;text-align:center}
.rch-image-count-badge{position:absolute;right:12px;top:12px;z-index:6;padding:7px 10px;border-radius:999px;background:rgba(7,31,69,.78);color:#fff;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;backdrop-filter:blur(8px);box-shadow:0 8px 20px rgba(0,0,0,.18)}

.home-news-image.rch-post-carousel{display:block!important;height:250px!important;margin:0!important;width:100%!important}
.home-news-image.rch-post-carousel .rch-post-carousel-slide img{padding:10px!important}
.home-news-card:hover .rch-post-carousel-slide.is-active img{transform:scale(1.025)}
.post-media.rch-post-carousel{display:block!important;height:285px!important}
.post-detail-gallery{height:clamp(360px,58vw,680px);margin-bottom:28px;border:1px solid #dbe3ef;border-radius:26px;box-shadow:0 22px 55px rgba(12,29,55,.13)}
.post-detail-gallery .rch-post-carousel-slide img{padding:16px}
.post-detail-gallery .rch-post-carousel-controls{bottom:18px}
.post-detail-gallery .rch-image-count-badge{top:18px;right:18px}

@media(max-width:780px){
 .admin-selected-images-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .home-news-image.rch-post-carousel{height:280px!important;min-height:0!important;max-height:none!important}
 .post-media.rch-post-carousel{height:320px!important;min-height:0!important;max-height:none!important}
 .rch-post-carousel-slide img{height:100%!important;max-height:none!important}
 .post-detail-gallery{height:68vh;min-height:340px;max-height:620px;border-radius:20px}
 .rch-post-carousel-controls{left:8px;right:8px;bottom:8px;gap:6px;padding:6px 8px}
 .rch-carousel-arrow{width:30px;height:30px}
 .rch-carousel-dots{max-width:112px}.rch-image-count-badge{right:8px;top:8px}
}
@media(max-width:480px){
 .admin-selected-images-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-news-image.rch-post-carousel{height:235px!important}
 .post-media.rch-post-carousel{height:270px!important}
 .post-detail-gallery{height:52vh;min-height:300px}
 .rch-carousel-count{display:none}.rch-carousel-dots{max-width:100px}
}
@media(prefers-reduced-motion:reduce){.rch-post-carousel-slide{transition:none!important}.rch-carousel-dots button,.rch-carousel-arrow{transition:none!important}}

/* ==========================================================
   RCH HOMEPAGE NEWS + CAREERS REFINEMENT v56
   Keeps the current site design while improving live post
   visibility, full-image display and vacancy presentation.
   ========================================================== */

/* Current-news cards always show the complete uploaded image. */
.home-news-image,
.home-news-image.rch-post-carousel{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16 / 10;
  margin:0!important;
  overflow:hidden!important;
  border-bottom:1px solid #e0e7f0;
  background:
    radial-gradient(circle at 20% 10%,rgba(227,162,47,.12),transparent 34%),
    linear-gradient(145deg,#eef3f8,#fff)!important;
}
.home-news-image .rch-post-carousel-track{height:100%!important;min-height:0!important;}
.home-news-image img,
.home-news-image.rch-post-carousel .rch-post-carousel-slide img{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:12px!important;
  background:transparent!important;
}
.home-news-placeholder{position:relative;display:grid!important;place-items:center;text-decoration:none;}
.home-news-placeholder img{max-width:145px!important;max-height:145px!important;}
.home-news-placeholder span{position:absolute;left:16px;bottom:14px;padding:7px 11px;border-radius:999px;background:#102447;color:#fff;font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}

/* Clear, organised status panel when there is no active homepage item. */
.home-post-empty{
  padding:30px 28px;border:1px solid #dce4ef;border-radius:22px;
  background:linear-gradient(145deg,#fff,#f4f7fb);text-align:center;
  box-shadow:0 14px 36px rgba(12,29,55,.07);
}
.home-post-empty strong{display:block;color:#102447;font-size:1.18rem;margin-bottom:7px;}
.home-post-empty p{margin:0 0 13px;color:#627087;}
.home-post-empty a{color:#a46700;font-weight:900;text-decoration:none;}
.home-post-empty a:hover{text-decoration:underline;}
.home-post-error{border-color:#f0d1d1;background:#fff8f8;}

/* Redesigned vacancy card with a proper advert image area. */
.career-home-card{
  display:grid!important;
  grid-template-rows:auto 1fr;
  padding:0!important;
  min-height:0!important;
  border-radius:26px!important;
  background:linear-gradient(155deg,rgba(255,255,255,.15),rgba(255,255,255,.055))!important;
}
.career-home-media{
  position:relative;min-width:0;overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.14);
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(238,243,249,.95));
}
.career-home-image,
.career-home-image.rch-post-carousel{
  display:block!important;width:100%!important;height:auto!important;min-height:0!important;
  aspect-ratio:16 / 10;overflow:hidden!important;background:transparent!important;
}
.career-home-image .rch-post-carousel-track{height:100%!important;min-height:0!important;}
.career-home-image img,
.career-home-image.rch-post-carousel .rch-post-carousel-slide img{
  width:100%!important;height:100%!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;padding:12px!important;
  background:transparent!important;
}
.career-home-placeholder{position:relative;display:grid!important;place-items:center;text-decoration:none;}
.career-home-placeholder img{max-width:150px!important;max-height:150px!important;}
.career-home-placeholder span{
  position:absolute;left:16px;bottom:14px;padding:7px 11px;border-radius:999px;
  background:#102447;color:#fff;font-size:.72rem;font-weight:900;
  text-transform:uppercase;letter-spacing:.08em;
}
.career-home-body{position:relative;display:flex;flex-direction:column;padding:25px 26px 27px;min-width:0;}
.career-home-top{margin-bottom:16px!important;}
.career-chip-label{
  display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;
  background:rgba(227,162,47,.17);border:1px solid rgba(255,207,99,.28);
  color:#ffd071;font-size:.73rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em;
}
.career-home-card h3{margin:0 0 10px!important;}
.career-home-card h3 a{color:#fff!important;text-decoration:none!important;}
.career-home-card h3 a:hover{text-decoration:underline!important;text-decoration-color:#e3a22f!important;text-underline-offset:5px;}
.career-home-card p{margin-bottom:22px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.career-home-footer{margin-top:auto!important;}
.career-home-action{
  display:inline-flex;align-items:center;gap:8px;color:#fff!important;text-decoration:none!important;
  font-weight:900;white-space:nowrap;padding:10px 0;
}
.career-home-action i{font-style:normal;transition:transform .25s ease;}
.career-home-action:hover i{transform:translateX(7px);}
.career-home-card:hover .career-home-image img{transform:scale(1.025);}

/* A single vacancy uses a premium horizontal layout on larger screens. */
.career-ticker.single-post{grid-template-columns:minmax(0,960px)!important;}
.career-ticker.single-post .career-home-card{
  grid-template-columns:minmax(290px,42%) minmax(0,1fr);
  grid-template-rows:1fr;
  min-height:360px!important;
}
.career-ticker.single-post .career-home-media{border-bottom:0;border-right:1px solid rgba(255,255,255,.14);}
.career-ticker.single-post .career-home-image,
.career-ticker.single-post .career-home-image.rch-post-carousel{height:100%!important;aspect-ratio:auto;}

/* Full images on the public News and Careers listing cards too. */
.post-media,
.post-media.rch-post-carousel{
  height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16 / 10;
}
.post-media .rch-post-carousel-track{height:100%!important;min-height:0!important;}
.post-media img,
.post-media.rch-post-carousel .rch-post-carousel-slide img{
  width:100%!important;height:100%!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;padding:12px!important;
}

@media(max-width:900px){
  .career-ticker.single-post .career-home-card{grid-template-columns:1fr;grid-template-rows:auto 1fr;min-height:0!important;}
  .career-ticker.single-post .career-home-media{border-right:0;border-bottom:1px solid rgba(255,255,255,.14);}
  .career-ticker.single-post .career-home-image,
  .career-ticker.single-post .career-home-image.rch-post-carousel{height:auto!important;aspect-ratio:16 / 10;}
}
@media(max-width:780px){
  .home-news-image,.home-news-image.rch-post-carousel{aspect-ratio:4 / 3!important;height:auto!important;}
  .career-home-image,.career-home-image.rch-post-carousel{aspect-ratio:4 / 3!important;height:auto!important;}
  .post-media,.post-media.rch-post-carousel{aspect-ratio:4 / 3!important;height:auto!important;}
  .career-home-body{padding:22px;}
}
@media(max-width:480px){
  .home-news-image img,.home-news-image.rch-post-carousel .rch-post-carousel-slide img,
  .career-home-image img,.career-home-image.rch-post-carousel .rch-post-carousel-slide img,
  .post-media img,.post-media.rch-post-carousel .rch-post-carousel-slide img{padding:8px!important;}
  .career-home-footer{gap:12px;}
  .career-home-action{width:100%;justify-content:space-between;}
}


/* ==========================================================
   RCH HOMEPAGE POSTS v57 — reliable live loader presentation
   Scoped to the homepage only. Mail, Admin and other pages
   remain unchanged.
   ========================================================== */
#homeNewsPosts{min-height:0!important;align-items:stretch;}
#homeNewsPosts:empty{min-height:0!important;}
#homeNewsPosts .home-loading-state{animation:rchV57Pulse 1.5s ease-in-out infinite alternate;}
@keyframes rchV57Pulse{from{opacity:.68}to{opacity:1}}

#homeCareerTicker.single-post{grid-template-columns:minmax(0,1100px)!important;}
#homeCareerTicker .career-home-card{width:100%;}
#homeCareerTicker.single-post .career-home-card{
  display:grid!important;grid-template-columns:minmax(290px,42%) minmax(0,1fr)!important;
  grid-template-rows:1fr!important;max-width:1100px;margin-inline:auto;
}
#homeCareerTicker.single-post .career-home-media{border-right:1px solid rgba(255,255,255,.14);border-bottom:0;min-height:330px;}
#homeCareerTicker.single-post .career-home-image,
#homeCareerTicker.single-post .career-home-image.rch-post-carousel{height:100%!important;aspect-ratio:auto!important;}
#homeCareerTicker.single-post .career-home-body{padding:34px 36px;}
.career-home-body{display:flex;flex-direction:column;min-width:0;padding:27px;}
.career-home-card h3 a,.career-home-action{color:inherit;text-decoration:none;}
.career-home-action{display:inline-flex;align-items:center;gap:9px;font-weight:900;color:#fff!important;}
.career-home-image,.career-home-image.rch-post-carousel{position:relative;display:block!important;width:100%!important;aspect-ratio:16/10;background:#f3f6fa!important;overflow:hidden!important;}
.career-home-image img,.career-home-image.rch-post-carousel .rch-post-carousel-slide img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:12px!important;background:#f3f6fa!important;}
.career-home-placeholder{display:grid!important;place-items:center;text-decoration:none;position:relative;}
.career-home-placeholder img{max-width:160px!important;max-height:160px!important;}
.career-home-placeholder span{position:absolute;bottom:16px;left:16px;background:#102447;color:#fff;padding:8px 12px;border-radius:999px;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;}
@media(max-width:820px){
 #homeCareerTicker.single-post .career-home-card{grid-template-columns:1fr!important;grid-template-rows:auto 1fr!important;}
 #homeCareerTicker.single-post .career-home-media{border-right:0;border-bottom:1px solid rgba(255,255,255,.14);min-height:0;}
 #homeCareerTicker.single-post .career-home-image,#homeCareerTicker.single-post .career-home-image.rch-post-carousel{height:auto!important;aspect-ratio:16/10!important;}
 #homeCareerTicker.single-post .career-home-body{padding:25px 23px;}
}
@media(prefers-reduced-motion:reduce){#homeNewsPosts .home-loading-state{animation:none!important;}}


/* ==========================================================
   RCH HOMEPAGE LIVE POSTS v59
   Visibility safeguard: posts must remain visible even if a
   browser blocks or skips an entrance animation.
   ========================================================== */
#home-news-careers.static-posts-section{min-height:0!important;}
#homeNewsPosts{min-height:150px!important;}
#homeNewsPosts .home-news-card,
#homeCareerTicker .career-home-card{opacity:1!important;transform:none;}
#homeNewsPosts .home-news-card{animation:rchHomeNewsV59 .65s cubic-bezier(.2,.75,.2,1) both!important;animation-delay:var(--home-post-delay,0ms)!important;}
#homeCareerTicker .career-home-card{animation:rchHomeCareerV59 .7s cubic-bezier(.2,.75,.2,1) both!important;animation-delay:var(--career-delay,0ms)!important;}
@keyframes rchHomeNewsV59{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes rchHomeCareerV59{from{opacity:0;transform:translateY(26px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#homeNewsPosts .home-news-card,#homeCareerTicker .career-home-card{animation:none!important;opacity:1!important;transform:none!important}}

/* ==========================================================
   RCH CAREERS MOBILE + MULTI-VACANCY LAYOUT v61
   Compact mobile cards, polished tablet grid and swipeable
   multiple-vacancy presentation. Homepage and Careers only.
   ========================================================== */
#homeCareerTicker{
  width:100%;
  max-width:1200px;
  margin-inline:auto;
  align-items:stretch;
}
#homeCareerTicker:not(.single-post){
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;
}
#homeCareerTicker .career-home-card{
  min-width:0;
  height:100%;
}

/* Keep two or more vacancies balanced on tablets. */
@media (min-width:641px) and (max-width:980px){
  #homeCareerTicker:not(.single-post){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
  }
  #homeCareerTicker:not(.single-post) .career-home-image,
  #homeCareerTicker:not(.single-post) .career-home-image.rch-post-carousel{
    aspect-ratio:16/9!important;
  }
  #homeCareerTicker:not(.single-post) .career-home-body{
    padding:22px!important;
  }
}

@media (max-width:640px){
  .home-careers-strip{
    padding-top:42px!important;
    padding-bottom:42px!important;
  }
  .home-careers-strip .container{
    width:min(100% - 24px,1200px)!important;
  }
  .home-careers-strip h2{
    margin-bottom:18px!important;
    font-size:clamp(1.65rem,8vw,2.15rem)!important;
  }

  /* One vacancy stays centred and compact. */
  #homeCareerTicker.single-post{
    display:block!important;
    max-width:520px!important;
  }
  #homeCareerTicker.single-post .career-home-card{
    width:100%!important;
    max-width:520px!important;
    margin-inline:auto!important;
  }

  /* Multiple vacancies become an organised swipe row on phones. */
  #homeCareerTicker:not(.single-post){
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:min(84vw,340px)!important;
    gap:14px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:2px;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    padding:1px 2px 14px!important;
    scrollbar-width:thin;
    scrollbar-color:rgba(227,162,47,.7) rgba(255,255,255,.12);
  }
  #homeCareerTicker:not(.single-post)::-webkit-scrollbar{height:6px;}
  #homeCareerTicker:not(.single-post)::-webkit-scrollbar-track{background:rgba(255,255,255,.10);border-radius:999px;}
  #homeCareerTicker:not(.single-post)::-webkit-scrollbar-thumb{background:#e3a22f;border-radius:999px;}
  #homeCareerTicker:not(.single-post) .career-home-card{
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  #homeCareerTicker .career-home-card{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto 1fr!important;
    min-height:0!important;
    border-radius:20px!important;
    box-shadow:0 16px 38px rgba(0,0,0,.24)!important;
  }
  #homeCareerTicker .career-home-media{
    min-height:0!important;
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.14)!important;
  }
  #homeCareerTicker .career-home-image,
  #homeCareerTicker .career-home-image.rch-post-carousel{
    width:100%!important;
    height:auto!important;
    max-height:205px!important;
    aspect-ratio:16/9!important;
  }
  #homeCareerTicker .career-home-image img,
  #homeCareerTicker .career-home-image.rch-post-carousel .rch-post-carousel-slide img{
    padding:7px!important;
  }
  #homeCareerTicker .career-home-body{
    padding:17px 18px 18px!important;
  }
  #homeCareerTicker .career-home-top{
    gap:7px!important;
    margin-bottom:10px!important;
  }
  #homeCareerTicker .career-home-icon{
    width:31px!important;
    height:31px!important;
    border-radius:10px!important;
    font-size:.95rem!important;
  }
  #homeCareerTicker .career-chip-label{
    padding:5px 8px!important;
    font-size:.64rem!important;
    letter-spacing:.07em!important;
  }
  #homeCareerTicker .career-home-status{
    margin-left:auto!important;
    font-size:.65rem!important;
    letter-spacing:.07em!important;
  }
  #homeCareerTicker .career-home-status::before{
    width:6px!important;
    height:6px!important;
    box-shadow:0 0 0 4px rgba(59,208,120,.12)!important;
  }
  #homeCareerTicker .career-home-card h3{
    margin-bottom:7px!important;
    font-size:1.16rem!important;
    line-height:1.25!important;
  }
  #homeCareerTicker .career-home-card p{
    margin-bottom:13px!important;
    font-size:.91rem!important;
    line-height:1.48!important;
    -webkit-line-clamp:2!important;
  }
  #homeCareerTicker .career-home-footer{
    margin-top:auto!important;
    padding-top:12px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
  }
  #homeCareerTicker .career-home-footer small{
    font-size:.63rem!important;
    letter-spacing:.06em!important;
  }
  #homeCareerTicker .career-home-footer strong{
    font-size:.88rem!important;
  }
  #homeCareerTicker .career-home-action{
    width:auto!important;
    min-height:38px;
    justify-content:center!important;
    gap:6px!important;
    padding:8px 10px!important;
    border:1px solid rgba(255,255,255,.18);
    border-radius:11px;
    background:rgba(255,255,255,.08);
    font-size:.82rem!important;
    white-space:nowrap;
  }
  #homeCareerTicker .career-home-glow{
    width:125px!important;
    height:125px!important;
    right:-48px!important;
    top:-48px!important;
  }

  /* Careers archive page: compact cards that still show full adverts. */
  .public-post-grid[data-rch-post-list="career"]{
    gap:16px!important;
  }
  .public-post-card.career-feature-card{
    border-radius:20px!important;
  }
  .public-post-card.career-feature-card .post-media,
  .public-post-card.career-feature-card .post-media.rch-post-carousel{
    aspect-ratio:16/9!important;
    max-height:220px!important;
  }
  .public-post-card.career-feature-card .public-post-body{
    padding:18px!important;
  }
  .public-post-card.career-feature-card h3{
    font-size:1.16rem!important;
    margin-bottom:7px!important;
  }
  .public-post-card.career-feature-card .post-summary{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    line-height:1.5!important;
    margin-bottom:12px!important;
  }
  .public-post-card.career-feature-card .career-closing-banner{
    padding:9px 11px!important;
    margin-bottom:12px!important;
    font-size:.86rem!important;
  }
  .public-post-card.career-feature-card .public-post-actions{
    gap:8px!important;
  }
  .public-post-card.career-feature-card .public-post-actions>a{
    min-height:40px;
    padding:10px 12px!important;
    font-size:.84rem!important;
  }
}

@media (max-width:380px){
  #homeCareerTicker:not(.single-post){
    grid-auto-columns:calc(100vw - 38px)!important;
  }
  #homeCareerTicker .career-home-image,
  #homeCareerTicker .career-home-image.rch-post-carousel{
    max-height:185px!important;
  }
  #homeCareerTicker .career-home-body{padding:15px 16px 16px!important;}
  #homeCareerTicker .career-home-footer{align-items:flex-start!important;}
  #homeCareerTicker .career-home-action{padding:7px 9px!important;font-size:.78rem!important;}
}

/* ==========================================================
   RCH CAREERS DESKTOP COMPACT LAYOUT v62
   Keeps the approved mobile layout unchanged while reducing
   oversized single-vacancy cards on desktop screens.
   ========================================================== */
@media (min-width:981px){
  #homeCareerTicker{
    max-width:1040px!important;
  }
  #homeCareerTicker.single-post{
    grid-template-columns:minmax(0,920px)!important;
    justify-content:center!important;
  }
  #homeCareerTicker.single-post .career-home-card{
    width:100%!important;
    max-width:920px!important;
    min-height:285px!important;
    height:285px!important;
    grid-template-columns:minmax(250px,36%) minmax(0,1fr)!important;
    grid-template-rows:285px!important;
    border-radius:22px!important;
  }
  #homeCareerTicker.single-post .career-home-media{
    min-height:285px!important;
    height:285px!important;
  }
  #homeCareerTicker.single-post .career-home-image,
  #homeCareerTicker.single-post .career-home-image.rch-post-carousel{
    width:100%!important;
    height:285px!important;
    min-height:0!important;
    max-height:285px!important;
  }
  #homeCareerTicker.single-post .career-home-image img,
  #homeCareerTicker.single-post .career-home-image.rch-post-carousel .rch-post-carousel-slide img{
    padding:10px!important;
  }
  #homeCareerTicker.single-post .career-home-body{
    padding:25px 28px!important;
  }
  #homeCareerTicker.single-post .career-home-top{
    margin-bottom:12px!important;
  }
  #homeCareerTicker.single-post .career-home-card h3{
    margin-bottom:7px!important;
    font-size:1.35rem!important;
  }
  #homeCareerTicker.single-post .career-home-card p{
    margin-bottom:14px!important;
    line-height:1.5!important;
    -webkit-line-clamp:2!important;
  }
  #homeCareerTicker.single-post .career-home-footer{
    padding-top:14px!important;
  }

  /* Several vacancies remain balanced without oversized cards. */
  #homeCareerTicker:not(.single-post){
    grid-template-columns:repeat(auto-fit,minmax(285px,1fr))!important;
    gap:20px!important;
  }
  #homeCareerTicker:not(.single-post) .career-home-image,
  #homeCareerTicker:not(.single-post) .career-home-image.rch-post-carousel{
    aspect-ratio:16/9!important;
    max-height:225px!important;
  }
  #homeCareerTicker:not(.single-post) .career-home-body{
    padding:22px 23px 24px!important;
  }
}

/* ==========================================================
   RCH VISUAL POLISH v63
   Consistent header-logo alignment, refined loading screen,
   and a more compact homepage Careers presentation.
   ========================================================== */

/* Header logo: keep the frame, artwork and text optically aligned everywhere. */
.brand-inner.improved-brand{
  align-items:center!important;
}
.brand-logo{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:13px!important;
  min-height:68px!important;
}
.logo-frame{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  flex:0 0 64px!important;
  width:64px!important;
  height:64px!important;
  margin:0!important;
  padding:7px!important;
  box-sizing:border-box!important;
  line-height:0!important;
  overflow:hidden!important;
  border:1px solid #e0e7f1!important;
  background:#fff!important;
}
.logo-frame img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
.brand-text{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:64px!important;
}
.brand-text strong,.brand-text em{margin-left:0!important;}

@media(max-width:850px){
  .brand-inner.improved-brand{align-items:center!important;}
  .brand-logo{min-height:62px!important;max-width:100%!important;}
  .logo-frame{flex-basis:58px!important;width:58px!important;height:58px!important;padding:6px!important;}
  .brand-text{min-height:58px!important;}
}
@media(max-width:560px){
  .brand-inner.improved-brand{padding-top:12px!important;padding-bottom:12px!important;}
  .brand-logo{gap:10px!important;min-height:56px!important;width:100%!important;}
  .logo-frame{flex-basis:54px!important;width:54px!important;height:54px!important;border-radius:12px!important;padding:6px!important;}
  .brand-text{min-height:54px!important;}
  .brand-text strong{line-height:1.08!important;}
  .brand-text em{margin-top:5px!important;line-height:1.25!important;}
}

/* Premium but lightweight loader used by all public and admin pages. */
.rch-global-loader,.loading-screen{
  background:
    radial-gradient(circle at 18% 18%,rgba(227,162,47,.22),transparent 27%),
    radial-gradient(circle at 82% 80%,rgba(64,112,184,.28),transparent 31%),
    linear-gradient(135deg,#08182f 0%,#102b55 55%,#173d70 100%)!important;
}
.rch-global-loader::before,.loading-screen::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.28;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 85%);
}
.rch-loader-card,.loader-card{
  position:relative!important;
  z-index:1!important;
  width:min(88vw,360px)!important;
  min-height:260px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  padding:34px 34px 30px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 34px 90px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.9)!important;
  color:#102447!important;
  text-align:center!important;
  animation:rchLoaderCardIn .55s cubic-bezier(.2,.75,.2,1) both!important;
  overflow:hidden!important;
}
.rch-loader-card::before,.loader-card::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:5px;
  background:linear-gradient(90deg,#d99a2b,#ffd67d,#d99a2b);
  background-size:200% 100%;
  animation:rchLoaderShimmer 1.5s linear infinite;
}
.rch-loader-card::after,.loader-card::after{
  content:"Preparing your hospital experience";
  display:block;
  margin-top:11px;
  color:#6a778d;
  font-size:.76rem;
  font-weight:750;
  letter-spacing:.025em;
}
.rch-loader-card img,.loader-card img{
  width:82px!important;
  height:82px!important;
  display:block!important;
  object-fit:contain!important;
  margin:0 auto 17px!important;
  padding:11px!important;
  border:1px solid #dfe6f0!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 13px 30px rgba(12,29,55,.13)!important;
  animation:rchLoaderLogoPulse 1.45s ease-in-out infinite alternate!important;
}
.rch-loader-card strong,.loader-card strong{
  display:block!important;
  color:#102447!important;
  font-size:1.12rem!important;
  line-height:1.35!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
}
.rch-loader-ring,.loader-ring{
  position:relative!important;
  width:150px!important;
  height:6px!important;
  margin:20px auto 0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:999px!important;
  background:#e8edf5!important;
  animation:none!important;
}
.rch-loader-ring::after,.loader-ring::after{
  content:"";
  position:absolute;
  inset:0;
  width:44%;
  border-radius:inherit;
  background:linear-gradient(90deg,#d99a2b,#ffd675);
  box-shadow:0 0 16px rgba(217,154,43,.42);
  animation:rchLoaderProgress 1.15s ease-in-out infinite;
}
@keyframes rchLoaderCardIn{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
@keyframes rchLoaderShimmer{to{background-position:-200% 0}}
@keyframes rchLoaderLogoPulse{from{transform:translateY(0);box-shadow:0 13px 30px rgba(12,29,55,.13)}to{transform:translateY(-5px);box-shadow:0 20px 38px rgba(12,29,55,.18)}}
@keyframes rchLoaderProgress{0%{transform:translateX(-115%)}55%,100%{transform:translateX(250%)}}
@media(max-width:480px){
  .rch-loader-card,.loader-card{width:min(88vw,330px)!important;min-height:235px!important;padding:28px 25px 25px!important;border-radius:24px!important;}
  .rch-loader-card img,.loader-card img{width:72px!important;height:72px!important;margin-bottom:14px!important;}
  .rch-loader-card strong,.loader-card strong{font-size:1.02rem!important;}
}
@media(prefers-reduced-motion:reduce){
  .rch-loader-card,.loader-card,.rch-loader-card img,.loader-card img,.rch-loader-card::before,.loader-card::before,.rch-loader-ring::after,.loader-ring::after{animation:none!important;}
  .rch-loader-ring::after,.loader-ring::after{width:70%!important;transform:none!important;}
}

/* Homepage Careers: smaller, sharper desktop card with a balanced image/text ratio. */
@media(min-width:981px){
  .home-careers-strip{padding-top:48px!important;padding-bottom:52px!important;}
  .home-careers-strip .container{max-width:1120px!important;}
  .home-careers-strip h2{margin-bottom:20px!important;font-size:clamp(1.65rem,2.3vw,2.25rem)!important;}
  #homeCareerTicker{max-width:980px!important;}
  #homeCareerTicker.single-post{grid-template-columns:minmax(0,760px)!important;justify-content:center!important;}
  #homeCareerTicker.single-post .career-home-card{
    max-width:760px!important;
    height:228px!important;
    min-height:228px!important;
    grid-template-columns:225px minmax(0,1fr)!important;
    grid-template-rows:228px!important;
    border-radius:20px!important;
    box-shadow:0 20px 48px rgba(0,0,0,.25)!important;
  }
  #homeCareerTicker.single-post .career-home-media,
  #homeCareerTicker.single-post .career-home-image,
  #homeCareerTicker.single-post .career-home-image.rch-post-carousel{
    width:225px!important;
    height:228px!important;
    min-height:228px!important;
    max-height:228px!important;
  }
  #homeCareerTicker.single-post .career-home-image img,
  #homeCareerTicker.single-post .career-home-image.rch-post-carousel .rch-post-carousel-slide img{
    padding:8px!important;
  }
  #homeCareerTicker.single-post .career-home-body{padding:20px 23px!important;}
  #homeCareerTicker.single-post .career-home-top{margin-bottom:9px!important;}
  #homeCareerTicker.single-post .career-home-icon{width:35px!important;height:35px!important;border-radius:11px!important;}
  #homeCareerTicker.single-post .career-chip-label{padding:6px 9px!important;font-size:.67rem!important;}
  #homeCareerTicker.single-post .career-home-status{font-size:.68rem!important;}
  #homeCareerTicker.single-post .career-home-card h3{font-size:1.18rem!important;margin-bottom:5px!important;line-height:1.2!important;}
  #homeCareerTicker.single-post .career-home-card p{font-size:.91rem!important;line-height:1.42!important;margin-bottom:8px!important;-webkit-line-clamp:2!important;}
  #homeCareerTicker.single-post .career-home-footer{padding-top:10px!important;gap:15px!important;}
  #homeCareerTicker.single-post .career-home-footer small{font-size:.63rem!important;}
  #homeCareerTicker.single-post .career-home-footer strong{font-size:.88rem!important;}
  #homeCareerTicker.single-post .career-home-action{font-size:.87rem!important;}

  /* Several vacancies use compact cards rather than stretching across the strip. */
  #homeCareerTicker:not(.single-post){
    max-width:1040px!important;
    grid-template-columns:repeat(auto-fit,minmax(275px,1fr))!important;
    gap:18px!important;
  }
  #homeCareerTicker:not(.single-post) .career-home-card{border-radius:20px!important;}
  #homeCareerTicker:not(.single-post) .career-home-image,
  #homeCareerTicker:not(.single-post) .career-home-image.rch-post-carousel{max-height:175px!important;aspect-ratio:16/9!important;}
  #homeCareerTicker:not(.single-post) .career-home-body{padding:19px 20px 21px!important;}
  #homeCareerTicker:not(.single-post) .career-home-card h3{font-size:1.12rem!important;}
  #homeCareerTicker:not(.single-post) .career-home-card p{-webkit-line-clamp:2!important;margin-bottom:13px!important;}
}
