/**
 * OneStack v344 | Bright Premium Tech
 * White means #fff (no blue wash). Warm stone is used ONLY as section rhythm.
 * Uses SVG logo's gold family with restrained, high-contrast accents.
 * Scoped to shared brand chrome and home; preserves all pictures, content and layouts.
 */
:root {
  --os-brand-gold-bright: #f5c31b;
  --os-brand-ice: #ffffff;
  --os-v335-gold-2: #f5c31b;
  --os-v335-text: #000730;
}

/* White paper instead of translucent cool chrome. Industry-themed pages retain their own palettes. */
body[class*="oneweb-template"] .oneweb-shared-header.os-v9-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e6e8ed !important;
  box-shadow: 0 4px 17px rgba(17,24,39,.065) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body[class*="oneweb-template"] .oneweb-shared-header .os-v9-nav a {
  color: #000730 !important;
  font-weight: 750;
}
body[class*="oneweb-template"] .oneweb-shared-header .os-v9-nav a:hover,
body[class*="oneweb-template"] .oneweb-shared-header .os-v9-nav a:focus-visible,
body[class*="oneweb-template"] .oneweb-shared-header .os-v9-nav a.is-active {
  color: #111c52 !important;
}
body[class*="oneweb-template"] .oneweb-shared-header .os-v9-icon-btn {
  background: #ffffff !important;
  border-color: #e2e6eb !important;
  box-shadow: none !important;
}
body[class*="oneweb-template"] .oneweb-shared-header .os-v228-login-btn,
body[class*="oneweb-template"] .oneweb-shared-header .os-v228-register-btn,
body[class*="oneweb-template"] .oneweb-shared-header .os-v9-login {
  background: linear-gradient(115deg,#f5c31b 0%,#e5a91d 100%) !important;
  border: 1px solid #d39b10 !important;
  box-shadow: 0 4px 13px rgba(165,109,10,.14) !important;
  color: #000730 !important;
}

body.oneweb-template-home { background: #ffffff !important; }
body.oneweb-template-home::before { display: none !important; }
body.oneweb-template-home .os-home-v9,
body.oneweb-template-home .os-v9-main {
  --os-card: #fff;
  --os-card-soft: #fff;
  --os-text: #000730;
  --os-muted: #465164;
  --os-faint: #606b7a;
  --os-gold: #c58908;
  --os-gold-2: #f5c31b;
  --os-line-soft: #e5e7eb;
  background: #ffffff !important;
  color: #000730 !important;
}

/* White / warm ivory / white / white / neutral white / ivory / white. */
body.oneweb-template-home .os-home-v9 .os-v9-services,
body.oneweb-template-home .os-home-v9 .os-v9-website,
body.oneweb-template-home .os-home-v9 .os-v9-app,
body.oneweb-template-home .os-home-v9 .os-v9-news { background: #ffffff !important; }
body.oneweb-template-home .os-home-v9 .os-v9-about { background: #fffbf5 !important; }
body.oneweb-template-home .os-home-v9 .os-v9-dual { background: #fafafa !important; }
body.oneweb-template-home .os-home-v9 .os-v9-hospital,
body.oneweb-template-home .os-home-v9 .os-v340-hospital { background: #fffbf5 !important; }
/* Homepage section dividers removed in v369; card borders are unchanged. */

/* Crisp headings, not grey or pastel; softer tracking makes the layout feel editorial. */
.os-home-v9 .os-v9-title,
.os-home-v9 .os-v9-about__content h2,
.os-home-v9 .os-v9-feature-card h2,
.os-home-v9 .os-v340-hospital__heading h2,
.os-home-v9 .os-v339-app .os-v9-title {
  color: #000730 !important;
  font-weight: 700 !important;
  letter-spacing: -.035em !important;
}
.os-home-v9 .os-v9-title::before {
  height: 4px;
  border-radius: 4px;
}
.os-home-v9 .os-v9-about__content p,
.os-home-v9 .os-v9-service-card p,
.os-home-v9 .os-v9-wide-card p,
.os-home-v9 .os-v9-feature-card li,
.os-home-v9 .os-v9-app p,
.os-home-v9 .os-v9-news time,
.os-home-v9 .os-v339-app__heading > p,
.os-home-v9 .os-v340-hospital__intro,
.os-home-v9 .os-v340-hospital__feature p {
  color: #465164 !important;
}

/* Cards: strong white, neutral contours, short charcoal shadow instead of blue mist. */
.os-home-v9 :is(.os-v9-service-card,.os-v9-web-card,.os-v9-more-card,.os-v9-wide-card,.os-v9-feature-card,.os-v9-news-card,.os-v9-stat,.os-v339-app__panel,.os-v340-hospital__panel) {
  border-color: #e5e7eb !important;
  box-shadow: 0 5px 18px rgba(17,24,39,.075) !important;
}
.os-home-v9 :is(.os-v9-service-card,.os-v9-web-card,.os-v9-more-card,.os-v9-feature-card,.os-v9-news-card,.os-v9-stat) {
  background: #ffffff !important;
}
.os-home-v9 .os-v9-service-card strong,
.os-home-v9 .os-v9-web-card > span,
.os-home-v9 .os-v9-wide-card h3,
.os-home-v9 .os-v9-feature-card h2,
.os-home-v9 .os-v9-news-card h3,
.os-home-v9 .os-v9-stat small { color: #000730 !important; }
.os-home-v9 .os-v9-card-icon,
.os-home-v9 .os-v339-app__feature-icon,
.os-home-v9 .os-v340-hospital__feature-icon {
  background: #fff5df !important;
  border-color: #f1d69b !important;
  color: #a16c06 !important;
}
.os-home-v9 .os-v9-service-card em,
.os-home-v9 .os-v9-wide-card em,
.os-home-v9 .os-v9-feature-card em,
.os-home-v9 .os-v9-news-more-link {
  color: #8e6108 !important;
  font-weight: 800;
}
.os-home-v9 .os-v9-news-meta strong,
.os-home-v9 .os-v9-feature-card em {
  color: #795108 !important;
  background: #fff4d8 !important;
}

/* CTA color is inspired by the SVG without a neon-glow feeling. */
.os-home-v9 .os-v9-btn--gold,
.os-home-v9 .os-v9-btn--gold-dark,
.os-home-v9 .os-v339-app__button--primary,
.os-home-v9 .os-v340-hospital__button--primary {
  background: linear-gradient(120deg,#f5c31b 0%,#e7ab22 100%) !important;
  color: #000730 !important;
  border-color: #d8a013 !important;
  box-shadow: 0 6px 15px rgba(165,109,10,.18) !important;
}
.os-home-v9 .os-v9-btn--gold:hover,
.os-home-v9 .os-v9-btn--gold-dark:hover,
.os-home-v9 .os-v339-app__button--primary:hover,
.os-home-v9 .os-v340-hospital__button--primary:hover {
  background: #f0b922 !important;
  box-shadow: 0 8px 21px rgba(165,109,10,.22) !important;
}

/* Navy is an intentional anchor: hero, visual mockups, promotional stripe, footer. */
.os-home-v9 .os-v9-hero {
  background: linear-gradient(110deg,#000730 0%,#000730 63%,#0c1646 100%) !important;
}
.os-home-v9 .os-v9-hero h1 span { color: #f5c31b !important; }
.os-home-v9 .os-v9-hero p { color: #ecf1f6 !important; }
.os-home-v9 .os-v9-promo {
  background: linear-gradient(105deg,#000730 0%,#111c52 100%) !important;
}
.os-home-v9 .os-v9-promo h2 { color: #ffcf4e !important; }
.os-home-v9 .os-v339-app__visual,
.os-home-v9 .os-v340-hospital__visual {
  background: linear-gradient(140deg,#000730,#111c52) !important;
}
.os-home-v9 .os-v339-app__use-cases > div,
.os-home-v9 .os-v340-hospital__process span {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #0c1646 !important;
}

/* All inactive news tabs stay PURE WHITE during hover/focus; active tab is gold. */
.os-home-v9 .os-v9-news .os-v9-tabs button:not(.is-active),
.os-home-v9 .os-v9-news .os-v9-tabs button:not(.is-active):hover,
.os-home-v9 .os-v9-news .os-v9-tabs button:not(.is-active):focus,
.os-home-v9 .os-v9-news .os-v9-tabs button:not(.is-active):focus-visible {
  background: #ffffff !important;
  background-image: none !important;
  color: #000730 !important;
  border-color: #e5e7eb !important;
}
.os-home-v9 .os-v9-news .os-v9-tabs button:not(.is-active):hover,
.os-home-v9 .os-v9-news .os-v9-tabs button:not(.is-active):focus-visible {
  border-color: #d8a013 !important;
  box-shadow: 0 6px 14px rgba(17,24,39,.085) !important;
}
.os-home-v9 .os-v9-news .os-v9-tabs .is-active,
.os-home-v9 .os-v9-news .os-v9-tabs .is-active:hover {
  background: linear-gradient(120deg,#f5c31b,#ecaf21) !important;
  color: #000730 !important;
  border-color: #d8a013 !important;
  box-shadow: 0 5px 15px rgba(165,109,10,.17) !important;
}
.os-home-v9 .os-v9-news-more-link { background: #fff8e9 !important; border-color: #e9d19e !important; }

body[class*="oneweb-template"] .oneweb-shared-footer.os-v9-footer {
  background: #000730 !important;
  border-top: 2px solid #d59b12 !important;
}
body[class*="oneweb-template"] .oneweb-shared-footer h3 { color: #f0bc38 !important; }
body[class*="oneweb-template"] .oneweb-shared-footer :is(a,p) { color: #e2e8f0; }

@media (max-width:760px) {
  .os-home-v9 .os-v9-hero { background: linear-gradient(135deg,#000730,#111c52) !important; }
}
@media (prefers-reduced-motion:reduce) {
  .os-home-v9 :is(.os-v9-service-card,.os-v9-web-card,.os-v9-news-card) { transition:none !important; }
}
