/* ====================================================================
   GLOBAL BRANDING AND ACCESSIBILITY LAYOUT OVERRIDES (COMMON)
   ==================================================================== */
.md-header {
  background-color: #AC9C65 !important;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 24px !important;
  width: auto !important;
}

.md-footer {
  background-color: #191919 !important;
}

.md-footer-meta {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

.md-nav__link:hover {
  color: #AC9C65 !important;
}

/* ====================================================================
   ACCESSIBILITY SCHEMA 1: Slate/Dark Mode Enforcement (#333333)
   ==================================================================== */
[data-md-color-scheme="slate"] body,
[data-md-color-scheme="slate"] .md-container,
[data-md-color-scheme="slate"] .md-main,
[data-md-color-scheme="slate"] .md-content,
[data-md-color-scheme="slate"] .md-sidebar,
[data-md-color-scheme="slate"] .md-nav {
  background-color: #333333 !important;
  color: #ffffff !important;
}

[data-md-color-scheme="slate"] .md-nav__link,
[data-md-color-scheme="slate"] .md-nav__title {
  color: #999999 !important;
}

/* ====================================================================
   ACCESSIBILITY SCHEMA 2: Light Mode Enforcement (Accessible Off-White)
   ==================================================================== */
[data-md-color-scheme="default"] body,
[data-md-color-scheme="default"] .md-container,
[data-md-color-scheme="default"] .md-main,
[data-md-color-scheme="default"] .md-content,
[data-md-color-scheme="default"] .md-sidebar,
[data-md-color-scheme="default"] .md-nav {
  background-color: #fcfcfc !important;
  color: #191919 !important;
}

[data-md-color-scheme="default"] .md-nav__link,
[data-md-color-scheme="default"] .md-nav__title {
  color: #191919 !important;
}

/* ====================================================================
   COMPLIANCE OVERRIDES: GDPR Cookie Consent Element Customizations
   ==================================================================== */
.md-consent {
  background-color: #191919 !important;
  border-top: 3px solid #AC9C65 !important;
}

.md-consent__settings {
  background-color: #333333 !important;
}

.md-consent button[type="submit"] {
  background-color: #AC9C65 !important;
  color: #191919 !important;
}

/* ====================================================================
   #777777 MIDDLE GREY OVERRIDES (EXPLICIT BODY CONTEXTS)
   ==================================================================== */
body.infrastructure-branding { --md-primary-fg-color: #777777 !important; --md-primary-bg-color: #777777 !important; }
body.infrastructure-branding .md-header, body.infrastructure-branding .md-header__inner { background-color: #777777 !important; }
body.infrastructure-branding .md-tabs   { background-color: #777777 !important; }

body.service-branding { --md-primary-fg-color: #777777 !important; --md-primary-bg-color: #777777 !important; }
body.service-branding .md-header, body.service-branding .md-header__inner { background-color: #777777 !important; }
body.service-branding .md-tabs   { background-color: #777777 !important; }

body.compliance-branding { --md-primary-fg-color: #777777 !important; --md-primary-bg-color: #777777 !important; }
body.compliance-branding .md-header, body.compliance-branding .md-header__inner { background-color: #777777 !important; }
body.compliance-branding .md-tabs   { background-color: #777777 !important; }

/* ====================================================================
   13 AGENCY BRAND CHANNEL OVERRIDES (EXPLICIT BODY CONTEXTS)
   ==================================================================== */
body.american-veterans-branding { --md-primary-fg-color: #2C3E50 !important; }
body.american-veterans-branding .md-header, body.american-veterans-branding .md-header__inner { background-color: #2C3E50 !important; }

body.beauty-ugly-branding { --md-primary-fg-color: #902400 !important; }
body.beauty-ugly-branding .md-header, body.beauty-ugly-branding .md-header__inner { background-color: #902400 !important; }

body.black-american-veterans-branding { --md-primary-fg-color: #3F2B2A !important; }
body.black-american-veterans-branding .md-header, body.black-american-veterans-branding .md-header__inner { background-color: #3F2B2A !important; }

body.hard-head-nation-branding { --md-primary-fg-color: #800000 !important; }
body.hard-head-nation-branding .md-header, body.hard-head-nation-branding .md-header__inner { background-color: #800000 !important; }

body.new-undertakings-branding { --md-primary-fg-color: #666666 !important; }
body.new-undertakings-branding .md-header, body.new-undertakings-branding .md-header__inner { background-color: #666666 !important; }

body.nuryders-branding { --md-primary-fg-color: #D18030 !important; }
body.nuryders-branding .md-header, body.nuryders-branding .md-header__inner { background-color: #D18030 !important; }

body.of-the-city-branding { --md-primary-fg-color: #FFFF7D !important; }
body.of-the-city-branding .md-header, body.of-the-city-branding .md-header__inner { background-color: #FFFF7D !important; }

body.singles-of-the-city-branding { --md-primary-fg-color: #6F443D !important; }
body.singles-of-the-city-branding .md-header, body.singles-of-the-city-branding .md-header__inner { background-color: #6F443D !important; }

body.the-emc-project-branding { --md-primary-fg-color: #081A41 !important; }
body.the-emc-project-branding .md-header, body.the-emc-project-branding .md-header__inner { background-color: #081A41 !important; }

body.the-rotc-network-branding { --md-primary-fg-color: #FFFF7D !important; }
body.the-rotc-network-branding .md-header, body.the-rotc-network-branding .md-header__inner { background-color: #FFFF7D !important; }

body.the-store-for-branding { --md-primary-fg-color: #666666 !important; }
body.the-store-for-branding .md-header, body.the-store-for-branding .md-header__inner { background-color: #666666 !important; }

body.the-us-of-av-branding { --md-primary-fg-color: #2C3E50 !important; }
body.the-us-of-av-branding .md-header, body.the-us-of-av-branding .md-header__inner { background-color: #2C3E50 !important; }

body.young-american-veterans-branding { --md-primary-fg-color: #637FA7 !important; }
body.young-american-veterans-branding .md-header, body.young-american-veterans-branding .md-header__inner { background-color: #637FA7 !important; }

/* ====================================================================
   18 AGENCY NICHE CHANNEL OVERRIDES (EXPLICIT BODY CONTEXTS)
   ==================================================================== */
body.imarket-beauty-branding { --md-primary-fg-color: #F8AE6C !important; }
body.imarket-beauty-branding .md-header, body.imarket-beauty-branding .md-header__inner { background-color: #F8AE6C !important; }

body.imarket-coaching-branding { --md-primary-fg-color: #406E56 !important; }
body.imarket-coaching-branding .md-header, body.imarket-coaching-branding .md-header__inner, .imarket-coaching-branding .md-header__inner { background-color: #406E56 !important; }

body.imarket-dating-branding { --md-primary-fg-color: #6F443D !important; }
body.imarket-dating-branding .md-header, body.imarket-dating-branding .md-header__inner { background-color: #6F443D !important; }

body.imarket-education-branding { --md-primary-fg-color: #537796 !important; }
body.imarket-education-branding .md-header, body.imarket-education-branding .md-header__inner { background-color: #537796 !important; }

body.imarket-farming-branding { --md-primary-fg-color: #957A3D !important; }
body.imarket-farming-branding .md-header, body.imarket-farming-branding .md-header__inner { background-color: #957A3D !important; }

body.imarket-finance-branding { --md-primary-fg-color: #786D78 !important; }
body.imarket-finance-branding .md-header, body.imarket-finance-branding .md-header__inner { background-color: #786D78 !important; }

body.imarket-fitness-branding { --md-primary-fg-color: #2C3C4C !important; }
body.imarket-fitness-branding .md-header, body.imarket-fitness-branding .md-header__inner { background-color: #2C3C4C !important; }

body.imarket-healthcare-branding { --md-primary-fg-color: #4C657F !important; }
body.imarket-healthcare-branding .md-header, body.imarket-healthcare-branding .md-header__inner { background-color: #4C657F !important; }

body.imarket-homelessness-branding { --md-primary-fg-color: #9F745C !important; }
body.imarket-homelessness-branding .md-header, body.imarket-homelessness-branding .md-header__inner { background-color: #9F745C !important; }

body.imarket-legal-branding { --md-primary-fg-color: #1A1A1A !important; }
body.imarket-legal-branding .md-header, body.imarket-legal-branding .md-header__inner { background-color: #1A1A1A !important; }

body.imarket-marketing-branding { --md-primary-fg-color: #8F9975 !important; }
body.imarket-marketing-branding .md-header, body.imarket-marketing-branding .md-header__inner { background-color: #8F9975 !important; }

body.imarket-ministry-branding { --md-primary-fg-color: #5B3374 !important; }
body.imarket-ministry-branding .md-header, body.imarket-ministry-branding .md-header__inner { background-color: #5B3374 !important; }

body.imarket-mobility-branding { --md-primary-fg-color: #57BB1D !important; }
body.imarket-mobility-branding .md-header, body.imarket-mobility-branding .md-header__inner { background-color: #57BB1D !important; }

body.imarket-real-estate-branding { --md-primary-fg-color: #979989 !important; }
body.imarket-real-estate-branding .md-header, body.imarket-real-estate-branding .md-header__inner { background-color: #979989 !important; }

body.imarket-sports-branding { --md-primary-fg-color: #DD673A !important; }
body.imarket-sports-branding .md-header, body.imarket-sports-branding .md-header__inner { background-color: #DD673A !important; }

body.imarket-support-branding { --md-primary-fg-color: #686262 !important; }
body.imarket-support-branding .md-header, body.imarket-support-branding .md-header__inner { background-color: #686262 !important; }

body.imarket-sustainability-branding { --md-primary-fg-color: #2CC3EF !important; }
body.imarket-sustainability-branding .md-header, body.imarket-sustainability-branding .md-header__inner { background-color: #2CC3EF !important; }

body.imarket-travel-branding { --md-primary-fg-color: #90A2AB !important; }
body.imarket-travel-branding .md-header, body.imarket-travel-branding .md-header__inner { background-color: #90A2AB !important; }


/* ====================================================================
   21 AGENCY SERVICE CHANNEL OVERRIDES (#666666 ON EXPLICIT BODY)
   ==================================================================== */
body.advertise-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.advertise-marketing-branding .md-header, body.advertise-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.affiliate-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.affiliate-marketing-branding .md-header, body.affiliate-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.ai-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.ai-marketing-branding .md-header, body.ai-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.audio-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.audio-marketing-branding .md-header, body.audio-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.chat-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.chat-marketing-branding .md-header, body.chat-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.email-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.email-marketing-branding .md-header, body.email-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.media-tv-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.media-tv-marketing-branding .md-header, body.media-tv-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.message-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.message-marketing-branding .md-header, body.message-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.review-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.review-marketing-branding .md-header, body.review-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.sms-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.sms-marketing-branding .md-header, body.sms-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.social-media-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.social-media-marketing-branding .md-header, body.social-media-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.summit-events-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.summit-events-marketing-branding .md-header, body.summit-events-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.tele-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.tele-marketing-branding .md-header, body.tele-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.ticket-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.ticket-marketing-branding .md-header, body.ticket-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.tts-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.tts-marketing-branding .md-header, body.tts-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.tv-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.tv-marketing-branding .md-header, body.tv-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.voice-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.voice-marketing-branding .md-header, body.voice-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.workflow-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.workflow-marketing-branding .md-header, body.workflow-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.live-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.live-marketing-branding .md-header, body.live-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.mail-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.mail-marketing-branding .md-header, body.mail-marketing-branding .md-header__inner { background-color: #666666 !important; }

body.news-marketing-branding { --md-primary-fg-color: #666666 !important; }
body.news-marketing-branding .md-header, body.news-marketing-branding .md-header__inner { background-color: #666666 !important; }

/* ====================================================================
   END OF MASTER FILE: ALL AGENCY CHANNELS AND COMPLIANCE POLICIES LOADED
   ==================================================================== */
