/* Brand colors with readable contrast (option A, Dec 1, 2026). Logo colors only:
   - teal buttons (#1AB3B8) keep their color; their text is dark navy #0B2F4F (5.3:1) instead of white
   - small teal text on white or light backgrounds uses the logo blue #10709C (5.5:1)
   - big teal accent words in headings stay teal (signature look)
   Hover states keep their original colors. js/page-helpers.js catches any teal button this file misses. */
:root { --scope-on-teal: #0B2F4F; --scope-teal-text: #10709C; }

/* Teal buttons: dark navy text */
.seconday_dark:not(:hover),
.blog-cat-tabs .childnav li:not(.active) .primary-btn:not(:hover),
.asi-btn:not(:hover), .asi-menu a:not(:hover),
.featured-blog .filterbtn:not(:hover):not(.active),
.apply-now-button, .dk-white,
.executive-specialist .inner-sec .primary-btn:not(:hover),
.executive-work .work-wrapper .primary-btn:not(:hover),
.green-bg .primary-btn:not(:hover),
li.model-risk:nth-child(2) a.primary-btn.primary-btn-dark.secondary_btn:not(:hover),
.hero.job-seekers .job-seekers-banner-btn label.primary-btn:not(:hover),
section.amets.amets2.methodology-seekers label.primary-btn:not(:hover),
section.blog-detail .social-buttons a.primary-btn.back-btn:not(:hover),
section.blog-detail .blog-right a.button.aboutUsbtn:not(:hover),
section.blog-detail .blog-right a.button.workWithusbtn:not(:hover),
a.primary-btn.upload-resume:not(:hover),
.on-teal.on-teal.on-teal.on-teal:not(:hover) { color: var(--scope-on-teal) !important; }
/* Buttons that share a teal class but sit on navy keep white text (set by js/page-helpers.js). */
.on-dark.on-dark.on-dark.on-dark:not(:hover) { color: #ffffff !important; }

/* Small teal text on light backgrounds: logo blue */
.asi-meta, .category span.blog, .featured-cont .sub-heading,
body .insight-page .reading-section__subtitle, body .insight-page .reading-item__eyebrow, .reading-item__btn span,
.placement_cont span, .list-heading, .compny-active .active-passive h5,
.scm-dojo-page p a, .scm-dojo-about-card > a, .write-page li a span,
.blog-text a span, .rep-cont a span,
.teal-text-fix { color: var(--scope-teal-text) !important; }
.asi-desc { color: #33617F !important; }
.reading-item__meta { color: #4F6A82 !important; }

/* Reading list numbers ("01"): large decorative numbers, drawn by CSS so they keep their light color. */
.reading-item__num[data-num]::before { content: attr(data-num); }

/* Pause / play button on background videos (bottom right of the video area). */
.video-toggle { position: absolute; right: 24px; bottom: 24px; z-index: 6; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(11, 47, 79, .7); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-toggle[hidden] { display: none; }
.video-toggle:hover, .video-toggle:focus-visible { background: #0B2F4F; outline: 2px solid #fff; outline-offset: 2px; }
.video-toggle span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.video-toggle.is-paused span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; border-right: 0; }
section.connect .video-toggle { bottom: 150px; }
section.hero.sub-pages .video-toggle { bottom: auto; top: 110px; }

/* Warehouse hero: still photo instead of a video. Desktop: photo on the right, fading into navy
   behind the headline. Phones: photo fills the hero, darkened so the text stays readable. */
section.photo_hero { background: #0B2F4F !important; isolation: isolate; }
section.photo_hero .hero-photo { position: absolute; top: 70px; right: 0; height: calc(100% - 70px); width: auto; max-width: none; z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%); mask-image: linear-gradient(to right, transparent 0, #000 42%); }
section.photo_hero .overlay { display: none; }
@media (max-width: 767px) {
  section.photo_hero .hero-photo { top: 0; height: 100%; width: 100%; object-fit: cover; object-position: 65% center; -webkit-mask-image: none; mask-image: none; aspect-ratio: auto !important; filter: brightness(.38); }
}
