/* ============================================
   CANTOR DARK THEME — All Pages
   ============================================ */

:root {
  color-scheme: dark !important;
}

/* --- Base --- */
body {
  background-color: #0b0f1a !important;
  color: #e0e4ec !important;
}

a {
  color: #e0e4ec !important;
}

::selection {
  color: #0b0f1a;
  background: #4d9fff;
}

/* --- Header --- */
header.scrolled:not(.open),
header.dark:not(.open) {
  background: #0f1526 !important;
}

header.scrolled:not(.open) .header-nav,
header.dark:not(.open) .header-nav {
  background: rgba(30, 42, 70, 0.7) !important;
}

header.scrolled:not(.open) .header-nav ul li button,
header.scrolled:not(.open) .header-nav ul li a,
header.dark:not(.open) .header-nav ul li button,
header.dark:not(.open) .header-nav ul li a {
  color: #c0d0e8 !important;
}

header.scrolled:not(.open) .header-nav ul li button:hover,
header.scrolled:not(.open) .header-nav ul li a:hover,
header.dark:not(.open) .header-nav ul li button:hover,
header.dark:not(.open) .header-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

header.scrolled:not(.open) .header-logo img:nth-child(1) {
  display: inline-flex !important;
}
header.scrolled:not(.open) .header-logo img:nth-child(2) {
  display: none !important;
}

header.open {
  background: #0f1526 !important;
}

header.open .header-nav {
  background: #0f1526 !important;
}

header.open .header-submenu:after {
  border-top-color: #2a3a5c !important;
}

header.open .header-submenu-left {
  border-right-color: #2a3a5c !important;
}

header.open .header-submenu-left ul li {
  color: #8a9ab8 !important;
}

header.open .header-submenu-left ul li button,
header.open .header-submenu-left ul li a {
  color: #8a9ab8 !important;
}

header.open .header-submenu-left ul li button.active,
header.open .header-submenu-left ul li a.active {
  color: #fff !important;
}

header.open .header-submenu-right-item ul li a {
  color: #c0d0e8 !important;
}

/* Mobile menu */
header .header-mobile-menu {
  background: #0f1526 !important;
}

header .header-mobile-menu ul li {
  color: #8a9ab8 !important;
}

header .header-mobile-menu ul li a {
  color: #c0d0e8 !important;
}

/* --- Super Nav --- */
.cantor-super-nav {
  background: #060a14 !important;
}

.cantor-super-nav__overlay {
  background: #060a14 !important;
}

/* --- Notice Bar --- */
.cantor-notice {
  background-color: #0a2040 !important;
}

/* --- Secondary Navigation --- */
.nav-secondary {
  background: #111827 !important;
  border-bottom-color: #1e2a46 !important;
}

.nav-secondary__link {
  color: #8a9ab8 !important;
}

.nav-secondary__item.active .nav-secondary__link {
  color: #4d9fff !important;
}

.nav-secondary__item:hover .nav-secondary__link {
  color: #4d9fff !important;
  border-bottom-color: #4d9fff !important;
}

/* --- Overview Section --- */
.cantor-corporate-overview {
  background: #0b0f1a !important;
}

.cantor-corporate-overview__main-title {
  color: #8a9ab8 !important;
}

.cantor-corporate-overview__subtitle h4 {
  color: #c0d0e8 !important;
}

.cantor-corporate-overview__contents h5 {
  color: #9aa8be !important;
}

.cantor-corporate-overview__company-logo {
  filter: brightness(0) invert(1) !important;
}

.cantor-corporate-overview__right-section {
  background: #0b0f1a !important;
}

.cantor-corporate-overview__right-main-logo {
  filter: brightness(0) invert(1) !important;
}

.cantor-corporate-overview__sub-heading h4 {
  color: #c0d0e8 !important;
}

.cantor-corporate-overview__divide-line,
.cantor-corporate-overview__mobile-divide-line {
  border-color: #1e2a46 !important;
}

.cantor-corporate-overview__image-wrapper {
  background: none !important;
}

.cantor-corporate-overview__item-logo {
  filter: brightness(0) invert(1) !important;
}

.cantor-corporate-overview__item-content p {
  color: #8a9ab8 !important;
}

.cantor-corporate-overview__item-link {
  color: #4d9fff !important;
}

@media (max-width: 1099px) {
  .cantor-corporate-overview__left-section {
    background: #111827 !important;
  }
}

/* --- Our Business Section --- */
.our-business-section {
  background: #0b0f1a !important;
}

.our-business-section h2 {
  color: #6b7fa0 !important;
}

.our-business-col h3 {
  color: #c0d0e8 !important;
}

.our-business-col a {
  color: #c0d0e8 !important;
}

/* --- Scoreboard / Statistics Section --- */
.scoreboard-section {
  background: #0b0f1a !important;
}

.scoreboard-section h2 {
  color: #6b7fa0 !important;
}

.scoreboard-section h2 strong {
  color: #6b7fa0 !important;
}

.scoreboard__heading {
  color: #4d9fff !important;
}

.scoreboard-list-item p {
  color: #8a9ab8 !important;
}

.scoreboard-list-item:nth-child(1) {
  background: linear-gradient(130deg, #0f1d30 27.36%, #0d1a2e 119.22%) !important;
}

.scoreboard-list-item:nth-child(2) {
  background: linear-gradient(198deg, #0f1d30 12.02%, #151030 251.87%) !important;
}

.scoreboard-list-item:nth-child(3) {
  background: linear-gradient(198deg, #0f1d30 12.02%, #151030 251.87%) !important;
}

.scoreboard-list-item:nth-child(4) {
  background: #0f1d30 !important;
}

.scoreboard-list-item:nth-child(5) {
  background: linear-gradient(38deg, #0f1d30 59.44%, #0d2418 159.29%) !important;
}

.scoreboard-list-item:nth-child(6) {
  background: linear-gradient(130deg, #0f1d30 27.36%, #0d1a2e 119.22%) !important;
}

/* --- News / Latest Insights Section --- */
.news-updates-section {
  background: #0b0f1a !important;
}

.news-updates-top h2 {
  color: #6b7fa0 !important;
}

.news-updates-top h2 strong {
  color: #6b7fa0 !important;
}

.news-updates-top ul li a {
  color: #4d9fff !important;
  border-bottom-color: #4d9fff !important;
}

.news-updates-desktop .option .label {
  background: rgba(10, 20, 40, 0.85) !important;
}

.news-updates-slider .swiper-slide h3 {
  color: #4d9fff !important;
}

.news-updates-slider .swiper-slide span {
  color: #4d9fff !important;
  border-bottom-color: #4d9fff !important;
}

.news-updates-slider .swiper-slide span:hover {
  color: #79b8ff !important;
  border-color: #79b8ff !important;
}

/* --- Learn More Section --- */
.learn-more-section {
  background: #111827 !important;
}

.learn-more-section:after {
  background: #111827 !important;
}

.learn-more-section h2 {
  color: #6b7fa0 !important;
}

.learn-more-col a {
  background: #182030 !important;
}

.learn-more-col h3 {
  color: #4d9fff !important;
}

.learn-more-col-overlay span {
  background: rgba(10, 30, 60, 0.85) !important;
}

@media (max-width: 767px) {
  .learn-more-section {
    background: #111827 !important;
  }

  .learn-more-col a {
    background: none !important;
    border-bottom-color: #2a3a5c !important;
  }

  .learn-more-col:first-child a {
    border-top-color: #2a3a5c !important;
  }

  .learn-more-col-overlay span p {
    color: #8a9ab8 !important;
  }
}

/* --- Footer --- */
footer {
  background: #060a14 !important;
}

footer .footer-widget h3 {
  border-bottom-color: #2a3a5c !important;
}

footer .footer-bottom {
  border-top-color: #2a3a5c !important;
}

/* --- Logo Text --- */
.logo-text {
  font-family: "helvetica-neue-lt-pro", sans-serif, Arial;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  white-space: nowrap;
  line-height: 1;
}

header.scrolled:not(.open) .logo-text,
header.dark:not(.open) .logo-text {
  color: #c0d0e8 !important;
}

.logo-text-dark {
  font-family: "helvetica-neue-lt-pro", sans-serif, Arial;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4d9fff !important;
  display: block;
}

.logo-text-large {
  font-family: "helvetica-neue-lt-pro", sans-serif, Arial;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  display: block;
  filter: none !important;
}

.logo-text-small {
  font-family: "helvetica-neue-lt-pro", sans-serif, Arial;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4d9fff !important;
  display: block;
  filter: none !important;
}

.cantor-corporate-overview__image-wrapper {
  min-height: 40px;
  display: flex;
  align-items: center;
}

/* --- Super Nav — hide --- */
.cantor-super-nav {
  display: none !important;
}

/* --- Section Cover / Hero --- */
.section-cover-content {
  color: #e0e4ec !important;
}

.section-cover-content h1,
.section-cover-content h2,
.section-cover-content h3 {
  color: #fff !important;
}

/* --- Main Content / Inner Pages --- */
.main-content {
  background: #0b0f1a !important;
}

.main-content h1,
.main-content .is-style-h1 {
  color: #c0d0e8 !important;
}

.main-content h2,
.main-content .is-style-h2 {
  color: #8abaff !important;
}

.main-content h3,
.main-content .is-style-h3 {
  color: #4d9fff !important;
}

.main-content h4 {
  color: #c0d0e8 !important;
}

.main-content h5,
.main-content h6 {
  color: #9aa8be !important;
}

.main-content p,
.main-content .is-style-p {
  color: #8a9ab8 !important;
}

.main-content li {
  color: #8a9ab8 !important;
}

.main-content blockquote {
  color: #9aa8be !important;
  border-left-color: #2a3a5c !important;
}

.main-content hr {
  border-color: #1e2a46 !important;
}

/* --- Insights Post --- */
.insights-post__content h1,
.insights-post__content .is-style-h1 {
  color: #c0d0e8 !important;
}

.insights-post__content h2,
.insights-post__content .is-style-h2 {
  color: #8abaff !important;
}

.insights-post__content h3,
.insights-post__content .is-style-h3 {
  color: #4d9fff !important;
}

.insights-post__content p,
.insights-post__content .is-style-p {
  color: #8a9ab8 !important;
}

/* --- Insights List / Controls --- */
.insights-list-controls {
  background-color: #111827 !important;
}

.insights-list-controls__expanded-filter-button {
  background-color: #1e2a46 !important;
  color: #9aa8be !important;
}

.insights-list-controls__expanded-filter-button:hover {
  background-color: #2a3a5c !important;
  color: #fff !important;
}

.insights-list-controls__type-filter-button-label {
  border-color: #2a3a5c !important;
  color: #8a9ab8 !important;
}

.insights-list-controls__type-filter-button-label:hover {
  background-color: #2a3a5c !important;
  color: #fff !important;
}

.insights-list-controls__type-filter-button:checked + .insights-list-controls__type-filter-button-label {
  background-color: #1a3a6a !important;
  color: #fff !important;
}

.insights-list__insights {
  border-top-color: #1e2a46 !important;
  border-bottom-color: #1e2a46 !important;
}

.insights-list__gridinsights {
  border-top-color: #1e2a46 !important;
}

.insights-list .insights-list__gridinsightscontainer:nth-child(even) {
  background-color: #111827 !important;
}

.insights-list__gridtitle {
  color: #4d9fff !important;
}

.insights-list__gridsubtitle {
  color: #8a9ab8 !important;
}

.insights-list__read-more {
  background-color: #1a3a6a !important;
}

.insights-list__read-more:hover {
  background-color: #2a4a7a !important;
}

.insights-list__pagination {
  border-bottom-color: #1e2a46 !important;
}

.insights-list__pagination-text {
  color: #4d9fff !important;
}

.insights-list__pagination-text--gray {
  color: #8a9ab8 !important;
}

/* --- Insights Also Like CTA --- */
.insights-also-like-cta {
  background: #111827 !important;
}

.insights-also-like-cta__heading {
  color: #4d9fff !important;
}

.insights-also-like-cta__post-title {
  color: #c0d0e8 !important;
}

.insights-also-like-cta__post-excerpt {
  border-top-color: #2a3a5c !important;
  color: #8a9ab8 !important;
}

.insights-also-like-cta__view-type-text {
  color: #4d9fff !important;
}

/* --- Insights Contact CTA --- */
.insights-contact-us-cta__content {
  color: #8a9ab8 !important;
}

.insights-contact-us-cta__button {
  background-color: #1a3a6a !important;
}

.insights-contact-us-cta__button:hover {
  background-color: #2a4a7a !important;
}

.insights-contact-us-cta__link {
  color: #8a9ab8 !important;
}

.insights-contact-us-cta__blue-link {
  color: #4d9fff !important;
}

/* --- Our Business Inner Pages --- */
.our-business-page-section {
  background: #0b0f1a !important;
}

.tab-section {
  background: #0b0f1a !important;
}

.tab-section__tab {
  color: #8a9ab8 !important;
  border-bottom-color: #1e2a46 !important;
}

.tab-section__tab.active,
.tab-section__tab:hover {
  color: #4d9fff !important;
  border-bottom-color: #4d9fff !important;
}

/* --- Conference Pages --- */
.conference-section {
  background: #0b0f1a !important;
}

/* --- Careers --- */
.careers-section {
  background: #0b0f1a !important;
}

/* --- Contact Us --- */
.contact-section {
  background: #0b0f1a !important;
}

/* --- Locations --- */
.locations-section {
  background: #0b0f1a !important;
}

/* --- Investor Center --- */
.investor-center-section {
  background: #0b0f1a !important;
}

/* --- Disclosures --- */
.disclosures-page-list {
  color: #8a9ab8 !important;
}

.disclosures-page-list a {
  color: #4d9fff !important;
}

/* --- Media Center --- */
.media-center-section {
  background: #0b0f1a !important;
}

/* --- Who We Are / Our Brands --- */
.who-we-are-section,
.our-brands-section {
  background: #0b0f1a !important;
}

/* --- Error 404 --- */
.error404 header {
  background: #0f1526 !important;
}

.error404 .header-nav {
  background: rgba(30, 42, 70, 0.7) !important;
}

.error404 .header-nav ul li button,
.error404 header .header-nav ul li a,
.error404 header .header-mobile-button {
  color: #c0d0e8 !important;
}

/* --- Forms --- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
  background-color: #111827 !important;
  border-color: #2a3a5c !important;
  color: #e0e4ec !important;
}

input::placeholder,
textarea::placeholder {
  color: #5a6c81 !important;
}

.gform_footer input[type="submit"] {
  background: #1a3a6a !important;
  color: #fff !important;
}

.gform_footer input[type="submit"]:hover {
  background: #2a4a7a !important;
}

/* --- Search --- */
.search input {
  background-color: #111827 !important;
  border-color: #2a3a5c !important;
  color: #e0e4ec !important;
}

/* --- General links in content --- */
.main-content a,
.insights-post__content a {
  color: #4d9fff !important;
}

/* --- Tables --- */
table {
  border-color: #1e2a46 !important;
}

table th {
  background-color: #111827 !important;
  color: #c0d0e8 !important;
  border-color: #1e2a46 !important;
}

table td {
  background-color: #0b0f1a !important;
  color: #8a9ab8 !important;
  border-color: #1e2a46 !important;
}

/* --- Background sections (#f6f6f9 → dark) --- */
.section--gray,
.bg-gray,
[style*="background-color: #f6f6f9"],
[style*="background:#f6f6f9"],
[style*="background-color:#f6f6f9"] {
  background-color: #111827 !important;
}

/* --- Buttons --- */
.button-modal__button-text {
  color: #4d9fff !important;
}

/* --- Cookie banner --- */
.lucera-cookie-manager-popup {
  background-color: #0f1526 !important;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0b0f1a;
}

::-webkit-scrollbar-thumb {
  background: #2a3a5c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a4a6c;
}
