/* ============================================================================
   EventTitans — existing-theme consistency layer (production)
   Approved from the visual preview on 27 November 2026.
   Loaded LAST on every page, after the existing stylesheets.
   Companion source fixes live in common-site.css (the three laptop-band rules).

   This is NOT a new theme. Every value below is taken from the EventTitans
   theme that already runs on 19 of the 28 audited pages — the navy #0F172A
   surface, the existing violet->blue gradient action, the existing white
   logo, the existing navy footer. The job of this file is to make the other
   pages use the same values instead of their own.

   Structure
     PART 0  Tokens        — the existing theme's values, named
     PART 1  Core          — applies to every page
     PART 2  Adapter B     — the 3 near-black landing pages
     PART 3  Adapter C     — the 5 legacy white pages
     PART 4  Accessibility — proposed separately, see docs/ACCESSIBILITY.md

   Implementation note: !important and some heavy selectors are needed because
   the live CSS carries 5,662 !important declarations and et-layout.css is
   re-injected at runtime. A real implementation would edit the source rules
   instead; this file exists so the result can be SEEN first.
   ========================================================================= */

/* ===========================================================================
   PART 0 — TOKENS (all values already in production on the primary theme)
   ======================================================================== */
:root {
  --et-navy-900: #0F172A;   /* page, footer, dark sections */
  --et-navy-800: #131C30;   /* raised surface, alternating band */
  --et-navy-700: #1E293B;   /* card on dark */

  --et-violet: #8B5CF6;
  --et-violet-deep: #6D28D9;
  --et-blue: #3B82F6;
  --et-grad-primary: linear-gradient(135deg, var(--et-violet), var(--et-blue));
  --et-grad-pill: linear-gradient(135deg, var(--et-violet) 0%, var(--et-violet-deep) 100%);

  --et-text: #FFFFFF;
  --et-text-mid: #9FB0D0;
  --et-text-soft: #7D879B;
  --et-hair: rgba(255, 255, 255, .14);
  --et-hair-strong: rgba(255, 255, 255, .28);
  --et-surface-soft: rgba(255, 255, 255, .05);

  --et-red: #ED1C24;        /* brand red — urgency only */

  --et-r-sm: 8px;
  --et-r-md: 12px;
  --et-r-lg: 16px;
  --et-r-pill: 999px;

  --et-e1: 0 1px 2px rgba(2, 6, 23, .30);
  --et-e2: 0 10px 28px rgba(2, 6, 23, .42);
  --et-e3: 0 20px 48px rgba(2, 6, 23, .58);

  --et-font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ===========================================================================
   PART 1 — CORE. Applies to every page on the site.
   ======================================================================== */

/* 1.1 ONE TYPEFACE ---------------------------------------------------------
   Four families are declared across the site: the ui-sans-serif system stack
   (primary theme), Inter, Space Grotesk (display on 3 landing pages) and
   Poppins. Poppins is declared on 4 pages and downloaded on NONE, so those
   pages silently render in generic Arial today. Inter is the only family the
   site already downloads, so standardising on it needs no new asset.        */
html body, html body p, html body span, html body a, html body li, html body td,
html body th, html body label, html body div, html body strong, html body b,
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body .btn, html body input, html body select, html body textarea, html body button {
  font-family: var(--et-font) !important;
}
/* ICON FONTS ARE NOT TEXT. The site's glyphs come from an element-level
   font-family of "icomoon" on 313 <i> and 61 <span> elements (measured), so a
   blanket text rule turns every icon into an empty box. Bootstrap Icons set
   theirs on ::before and are unaffected. Restored explicitly: */
html body [class^="icon-"], html body [class*=" icon-"] { font-family: 'icomoon' !important; }
html body [class^="flaticon"], html body [class*=" flaticon"] { font-family: 'Flaticon' !important; }
html body .material-icons { font-family: 'Material Icons' !important; }
html body .material-symbols-outlined { font-family: 'Material Symbols Outlined' !important; }

/* 1.2 TYPE FLOORS — stop the laptop-band collapse --------------------------
   common-site.css:1930  @media (max-width:1440px) .btn { --bs-btn-font-size:0.8rem }
   common-site.css:1950  @media (max-width:1400px) span,p,a { font-size:0.8rem !important }
   common-site.css:1937  @media (max-width:1440px) .fs-5,.h6,h6 { font-size:0.8rem !important }
   93 pages load this file.                                                  */
html body { font-size: 16px !important; }
html body p, html body li, html body td, html body dd, html body blockquote {
  font-size: 1rem !important; line-height: 1.55 !important;
}
html body .lead { font-size: 1.1875rem !important; line-height: 1.5 !important; }
html body span, html body a { font-size: inherit !important; }

/* Nothing below 13px anywhere. */
html body small, html body .small, html body figcaption, html body .caption,
html body .vt-role, html body .et-price-save, html body .vt-dur {
  font-size: .875rem !important; line-height: 1.5 !important;
}
html body .et-row-chip, html body .vt-event, html body .et-card-fab-label,
html body .badge, html body .billing-label, html body .et-price-billing-label {
  font-size: .8125rem !important; line-height: 1.45 !important;
}
html body .vt-quote { font-size: 1rem !important; line-height: 1.6 !important; }
/* common-site.css:1937 drops .fs-5/.h6/h6 to 0.8rem below 1440px — it catches
   sub-headings on the case-study pages. */
html body .h6, html body h6 { font-size: 1rem !important; }
html body .fs-5 { font-size: 1.125rem !important; }
html body .pricing-card h3, html body .et-row h3 {
  font-size: 1.3125rem !important; color: var(--et-text) !important;
}
html body .pricing-card .period, html body .et-row .period {
  font-size: .875rem !important; color: var(--et-text-mid) !important;
}

/* 1.3 HEADLINES CAN NEVER RENDER INVISIBLE ---------------------------------
   .hero-title / .section-title are painted only by background-clip:text with
   -webkit-text-fill-color:transparent, so their computed colour is
   rgba(0,0,0,0). The gradient and the sizes are unchanged; white now sits
   underneath as a fallback.                                                 */
html body.eventTitans-body .hero-title,
html body.eventTitans-body .section-title,
html body.eventTitans-body .bg-clip-text.text-transparent {
  color: var(--et-text) !important;
  -webkit-text-fill-color: var(--et-text) !important;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  html body.eventTitans-body .hero-title.bg-clip-text,
  html body.eventTitans-body .section-title.bg-clip-text,
  html body.eventTitans-body .bg-clip-text.text-transparent {
    -webkit-text-fill-color: transparent !important;
  }
}

/* 1.4 ONE BUTTON SYSTEM ----------------------------------------------------
   Measured across the site: 54 CTA treatments, 8 fill colours and button
   heights of 34/36/38/39/40/42/44/46/48/49/50/51/55/58/61/63/66px for the
   same handful of actions. Three variants replace them, all built from
   colours already in production.                                            */
html body .btn, html body .rd-btn, html body .et-btn,
html body .et-row-btn, html body .et-price-demo, html body a.btn-cta {
  --bs-btn-font-size: .9375rem !important;
  font-size: .9375rem !important;
  font-weight: 600 !important;
  border-radius: var(--et-r-sm) !important;
  min-height: 44px !important;
  padding: .6875rem 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .5rem;
  line-height: 1.2 !important;
  text-decoration: none;
  transition: filter .12s ease, background-color .12s ease, border-color .12s ease;
}
html body .btn-lg, html body .et-btn-lg, html body .et-btn-xl {
  min-height: 52px !important; padding: .875rem 1.75rem !important; font-size: 1rem !important;
}
html body .btn-sm, html body .et-btn-sm, html body .rd-btn-sm { min-height: 40px !important; padding: .5rem 1rem !important; }

/* Primary — one treatment for the "book a demo" class of action everywhere */
html body .btn-primary-custom, html body .btn-primary, html body .btn-danger,
html body .rd-btn-primary, html body .et-btn-primary,
html body .et-row-btn.is-primary, html body .et-row.is-featured .et-row-btn,
html body a.btn-cta, html body .bg-secondary.btn, html body .btn.bg-secondary,
html body .btn-primary.blue-dark-bg, html body .bg-red-col.btn {
  background: var(--et-grad-primary) !important;
  background-color: transparent !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: var(--et-e1) !important;
}
html body .btn-primary-custom:hover, html body .btn-primary:hover, html body .btn-danger:hover,
html body .rd-btn-primary:hover, html body .et-btn-primary:hover,
html body a.btn-cta:hover { filter: brightness(1.08); color: #fff !important; }

/* Secondary / ghost — transparent buttons currently carry no border at all,
   so "Sign in", "See How It Works" and the plan CTAs do not read as controls */
html body .btn-signin, html body .btn-outline-light, html body .btn-outline-secondary,
html body .btn-secondary, html body .btn-ghost, html body .rd-btn-ghost,
html body .et-btn-ghost, html body .btn-white, html body .btn-light,
html body .et-row-btn:not(.is-primary) {
  background: transparent !important;
  color: var(--et-text) !important;
  border: 1px solid var(--et-hair-strong) !important;
  box-shadow: none !important;
}
html body .btn-signin:hover, html body .btn-outline-light:hover, html body .btn-ghost:hover,
html body .rd-btn-ghost:hover, html body .et-btn-ghost:hover, html body .btn-white:hover,
html body .et-row-btn:not(.is-primary):hover {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .45) !important;
  color: var(--et-text) !important;
}

/* The NFC-card pill and the chat launcher keep their pill shape — they are
   deliberately different, floating actions — but drop the neon glows. */
html body .et-dbc-nav-cta, html body .et-card-fab, html body .et-chat-launcher {
  background: var(--et-grad-pill) !important;
  border-radius: var(--et-r-pill) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: var(--et-e2) !important;
}

/* Off-theme fills used for the same actions, normalised. White on #00BCD4
   measures 2.3:1 and fails WCAG AA on the Success Stories pages today. */
html body .btn-info, html body .btn-success, html body .btn-warning,
html body .btn[style*="063BFB"], html body .btn[style*="0d6efd"],
html body .btn[style*="00BCD4"], html body .btn[style*="EE3A54"],
html body .btn[style*="E91E63"], html body .btn[style*="2158C1"] {
  background: var(--et-grad-primary) !important;
  background-color: transparent !important;
  color: #fff !important; border: 0 !important;
}

/* Brand red is kept — restricted to genuine urgency, at a size that keeps
   white-on-red at the large-text AA threshold. */
html body .btn-urgent, html body .btn[data-urgency="true"] {
  background: var(--et-red) !important; color: #fff !important; border: 0 !important;
  font-weight: 700 !important; font-size: 1rem !important;
}

/* 1.5 ONE RADIUS SET AND ONE ELEVATION SET ---------------------------------
   Measured: 32 distinct radii and 34 distinct shadows across the site.      */
html body div.card, html body div.feature-card:not(.info-item):not(.pricing-info),
html body div.feature-card-alt:not(.info-item):not(.pricing-info),
html body div.testimonial-card, html body div.et-card, html body div.et-row,
html body div.pricing-card {
  border-radius: var(--et-r-lg) !important;
  box-shadow: var(--et-e2) !important;
}
html body div.et-row.pricing-card.is-featured { box-shadow: var(--et-e3) !important; }
html body .vt-dur, html body .bg-transperent, html body button.navbar-toggler,
html body form.input-group, html body img.rounded { border-radius: var(--et-r-sm) !important; }
html body .billing-toggle { border-radius: var(--et-r-pill) !important; }
html body video.rounded-5 { border-radius: var(--et-r-lg) !important; }
html body .vt-play { box-shadow: var(--et-e1) !important; }
html body .et-row-chip, html body .chip, html body .pill,
html body .rounded-pill, html body .badge, html body .section-badge,
html body .et-badge-live { border-radius: var(--et-r-pill) !important; }
/* class literally named "border-radius" renders at 11.2px */
html body .border-radius, html body .et-play, html body .modal-header,
html body .et-float { border-radius: var(--et-r-sm) !important; }
html body img.img-fluid.lazy-image, html body .animated-gradient-new,
html body .checkout-preview, html body .upsell-toggle { border-radius: var(--et-r-md) !important; }

/* 1.6 ONE FORM FIELD -------------------------------------------------------
   Measured heights: 28/33/38/40/42/49/51/58/66px, radii 4/6/8/800px.        */
html body .form-control, html body .form-select, html body input[type="text"],
html body input[type="email"], html body input[type="tel"], html body textarea, html body select {
  border-radius: var(--et-r-md) !important;
  min-height: 48px !important;
  font-size: 1rem !important;
  padding: .625rem .875rem !important;
}
html body textarea, html body textarea.form-control { min-height: 120px !important; }

/* 1.7 ONE HEADER -----------------------------------------------------------
   14 header implementations measured, at heights 16/57/61/65/69/81/85/88/
   560/775/814/900px.
   Scoped to the element that IS the navigation bar. Two pages
   (/solutions/sponsorshipguide at 814px and /Success-Stories/poultry-india at
   900px) embed their nav inside a full-height hero banner; forcing those to
   81px would break the hero, so they are recoloured only and the structural
   fix is listed as development work in docs/DECISIONS.md.                   */
html body nav.navbar, html body header.rd-nav, html body header.et-header {
  background-color: rgba(15, 23, 42, .95) !important;
  min-height: 81px !important;
  align-items: center !important;
  box-shadow: var(--et-e1) !important;
}
html body nav.navbar { padding-top: 14px !important; padding-bottom: 14px !important; }
html body header.rd-nav, html body header.et-header { padding-top: 0 !important; padding-bottom: 0 !important; }
/* A wrapper <header> that merely contains the nav gets the colour, not the
   height — otherwise its padding is added to the nav's own. */
html body header.header:not(.vh-100):not(.new-header-banner) {
  background-color: rgba(15, 23, 42, .95) !important;
  padding-top: 0 !important; padding-bottom: 0 !important;
  box-shadow: var(--et-e1) !important;
}
html body nav.navbar .navbar-brand img, html body header .navbar-brand img {
  height: 38px !important; width: auto !important;
}
html body nav.navbar .nav-link, html body header .nav-link { font-size: .9375rem !important; }
html body nav.navbar .et-dbc-nav-cta { font-size: .9375rem !important; }

/* 1.8 ONE FOOTER -----------------------------------------------------------
   19 footer implementations measured; 17 pages have no <footer> element at
   all, including 8 case studies.                                            */
html body footer, html body .footer, html body .footer_block, html body .et-footer {
  background-color: var(--et-navy-900) !important;
  color: var(--et-text-mid) !important;
  border-top: 1px solid var(--et-hair) !important;
}
html body footer a, html body .footer_block a, html body .et-footer a { color: var(--et-text-mid) !important; }
html body footer a:hover, html body .footer_block a:hover { color: var(--et-text) !important; }
html body footer h4, html body footer h5, html body footer h6,
html body .footer_block h4, html body .footer_block h5 { color: var(--et-text) !important; }

/* 1.9 FOCUS IS VISIBLE ON EVERY CONTROL ------------------------------------ */
html body a:focus-visible, html body button:focus-visible, html body .btn:focus-visible,
html body input:focus-visible, html body select:focus-visible, html body textarea:focus-visible,
html body [tabindex]:focus-visible {
  outline: 2px solid #C4B5FD !important; outline-offset: 2px !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 1.10 PHONE — same theme, same floors, 48px touch targets ----------------- */
@media (max-width: 991.98px) {
  html body p, html body p[class], html body li[class],
  html body .text-white-50, html body .small, html body small,
  html body div.feature-card-alt p, html body div.feature-card p {
    font-size: 1rem !important; line-height: 1.55 !important;
  }
  html body .et-row-chip, html body .vt-event, html body .badge,
  html body .et-card-fab-label { font-size: .8125rem !important; }
  html body .vt-role, html body .et-price-save, html body .vt-dur,
  html body .billing-label, html body .et-price-billing-label { font-size: .875rem !important; }
}
@media (max-width: 575.98px) {
  html body .btn, html body .et-row-btn, html body .rd-btn, html body .et-btn { min-height: 48px !important; }
}

/* ===========================================================================
   PART 2 — ADAPTER B
   /digital-business-card-new, /event-lead-capture-platform, /cvent-alternative

   These three are the closest to the primary theme already — same gradient,
   same white logo. What differs: three near-black page colours instead of
   the navy, a second display typeface, and three separate button class
   systems (.rd-btn, .et-btn, a bespoke .btn) with radii of 12/13.6/14/999px.
   ======================================================================== */
html body.et-theme-b { background-color: var(--et-navy-900) !important; color: var(--et-text) !important; }
html body.et-theme-b section, html body.et-theme-b .section,
html body.et-theme-b main > div { background-color: transparent !important; }
html body.et-theme-b [style*="#05070F"], html body.et-theme-b [style*="#0A0918"],
html body.et-theme-b [style*="#0B1120"], html body.et-theme-b [style*="#100E26"] {
  background-color: var(--et-navy-800) !important;
}
/* the alternating band these pages use */
html body.et-theme-b .et-band, html body.et-theme-b .rd-band,
html body.et-theme-b .section-alt { background-color: var(--et-navy-800) !important; }

/* Space Grotesk display headings adopt the single family */
html body.et-theme-b h1, html body.et-theme-b h2, html body.et-theme-b h3,
html body.et-theme-b .rd-h1, html body.et-theme-b .et-h1 {
  font-family: var(--et-font) !important;
  letter-spacing: -.02em;
}
html body.et-theme-b .rd-nav, html body.et-theme-b header, html body.et-theme-b .et-header {
  background-color: rgba(15, 23, 42, .95) !important;
  min-height: 81px !important;
}
html body.et-theme-b .et-card, html body.et-theme-b .rd-card {
  background-color: var(--et-surface-soft) !important;
  border: 1px solid var(--et-hair) !important;
  border-radius: var(--et-r-lg) !important;
}
/* the bespoke lead-capture gradient becomes the one primary gradient */
html body.et-theme-b .btn-primary, html body.et-theme-b .rd-btn-primary,
html body.et-theme-b .et-btn-primary {
  background: var(--et-grad-primary) !important;
  border-radius: var(--et-r-sm) !important;
}
html body.et-theme-b .rd-btn, html body.et-theme-b .et-btn { border-radius: var(--et-r-sm) !important; }

/* ===========================================================================
   PART 3 — ADAPTER C
   /features/event-challenges, /solutions/sponsorshipguide,
   /solutions/RequestDemo, /Success-Stories/poultry-india, /resources/etapi

   These are pre-redesign Tickets99-era pages. They carry a white page, a
   second logo file, a declared-but-never-downloaded Poppins (so they render
   in Arial), four more CTA colours and their own header and footer.

   This is the largest visual change in the proposal and the one decision
   that needs an explicit yes — see docs/DECISIONS.md.
   ======================================================================== */
html body.et-theme-c { background-color: var(--et-navy-900) !important; color: var(--et-text) !important; }

/* Page surfaces: the legacy light bands map onto the existing navy family */
html body.et-theme-c section, html body.et-theme-c .section,
html body.et-theme-c .container-fluid, html body.et-theme-c main,
html body.et-theme-c .bg-white, html body.et-theme-c .bg-light,
html body.et-theme-c .bg-light-indigo, html body.et-theme-c .bg-light-indigo2,
html body.et-theme-c [class*="bg-light"], html body.et-theme-c .white-bg {
  background-color: transparent !important;
}
html body.et-theme-c .section-alt, html body.et-theme-c .bg-gray,
html body.et-theme-c .bg-grey, html body.et-theme-c .gray-bg {
  background-color: var(--et-navy-800) !important;
}

/* Text: the legacy ink colours map onto the existing light-on-navy tones */
html body.et-theme-c, html body.et-theme-c p, html body.et-theme-c li,
html body.et-theme-c td, html body.et-theme-c dd, html body.et-theme-c span,
html body.et-theme-c .text-dark, html body.et-theme-c .text-body,
html body.et-theme-c .text-black, html body.et-theme-c .text-secondary {
  color: var(--et-text-mid) !important;
}
html body.et-theme-c h1, html body.et-theme-c h2, html body.et-theme-c h3,
html body.et-theme-c h4, html body.et-theme-c h5, html body.et-theme-c h6,
html body.et-theme-c .h1, html body.et-theme-c .h2, html body.et-theme-c .h3,
html body.et-theme-c strong, html body.et-theme-c b {
  color: var(--et-text) !important;
}
html body.et-theme-c .text-muted { color: var(--et-text-soft) !important; }

/* Elements that KEEP a pale background must keep dark ink. Bootstrap's
   bg-*-subtle chips (e.g. "bg-danger-subtle text-danger" on the case-study
   outcome pills) stay pale, so the light-on-dark text rule above left pale
   pink text on a pale pink chip. */
html body.et-theme-c [class*="-subtle"],
html body.et-theme-c [class*="-subtle"] * {
  color: var(--et-navy-900) !important;
}
html body.et-theme-c a:not(.btn) { color: #C4B5FD !important; }

/* Header: white / indigo banner headers adopt the primary navy header, and
   the page switches to the primary theme's white logo.
   .vh-100 is excluded: on the Poultry India story that element is the hero
   itself and carries the event photograph as a background image. Recolouring
   it erased the photo — the colour is only applied to headers that are
   actually bars. No background-image is ever removed.                       */
html body.et-theme-c header:not(.vh-100), html body.et-theme-c .header:not(.vh-100),
html body.et-theme-c .header.fixed-top, html body.et-theme-c .white-bg.header,
html body.et-theme-c .new-header-banner {
  background-color: rgba(15, 23, 42, .95) !important;
  box-shadow: var(--et-e1) !important;
}
/* Inside a hero-banner header, only the logo and the links are standardised. */
html body.et-theme-c header.vh-100 { background-color: transparent !important; }
html body.et-theme-c header img[src*="eventtitans-new-logo"],
html body.et-theme-c header img[src*="event-titans-logo"] {
  content: url("https://d2r3fkmprkayl1.cloudfront.net/et-white-logo.png");
  height: 38px !important; width: auto !important;
}
html body.et-theme-c header .nav-link, html body.et-theme-c .header .nav-link,
html body.et-theme-c header a { color: var(--et-text) !important; }

/* Cards: legacy white cards adopt the existing card-on-navy treatment */
html body.et-theme-c .card, html body.et-theme-c .card1,
html body.et-theme-c div.shadow-et:not(header):not(.header) {
  background-color: var(--et-navy-700) !important;
  border: 1px solid var(--et-hair) !important;
  border-radius: var(--et-r-lg) !important;
  box-shadow: var(--et-e2) !important;
  color: var(--et-text-mid) !important;
}
html body.et-theme-c .card-body, html body.et-theme-c .card-text { background-color: transparent !important; }
html body.et-theme-c .card h1, html body.et-theme-c .card h2, html body.et-theme-c .card h3,
html body.et-theme-c .card h4, html body.et-theme-c .card h5 { color: var(--et-text) !important; }

/* Forms: one field spec, legible on navy */
html body.et-theme-c .form-control, html body.et-theme-c .form-select,
html body.et-theme-c input[type="text"], html body.et-theme-c input[type="email"],
html body.et-theme-c input[type="tel"], html body.et-theme-c textarea, html body.et-theme-c select {
  background-color: rgba(255, 255, 255, .06) !important;
  border: 1px solid var(--et-hair-strong) !important;
  color: var(--et-text) !important;
}
html body.et-theme-c .form-control::placeholder, html body.et-theme-c textarea::placeholder {
  color: var(--et-text-soft) !important;
}
html body.et-theme-c label, html body.et-theme-c label.claass { color: var(--et-text-mid) !important; }

/* The four legacy CTA colours (#EE3A54, #2158C1, #DC3545, #00BCD4) and the
   chat launcher blue (#063BFB) become the one existing primary action. */
html body.et-theme-c .bg-secondary, html body.et-theme-c .btn-danger,
html body.et-theme-c .blue-dark-bg, html body.et-theme-c .btn-cta {
  background: var(--et-grad-primary) !important;
  background-color: transparent !important;
  color: #fff !important; border: 0 !important;
}
html body.et-theme-c .btn-light, html body.et-theme-c .btn-white {
  background: transparent !important;
  color: var(--et-text) !important;
  border: 1px solid var(--et-hair-strong) !important;
}

/* Legacy footer adopts the primary navy footer */
html body.et-theme-c footer, html body.et-theme-c .footer_block {
  background-color: var(--et-navy-900) !important;
  background-image: none !important;
  border-top: 1px solid var(--et-hair) !important;
}
html body.et-theme-c footer *, html body.et-theme-c .footer_block * { background-color: transparent !important; }
html body.et-theme-c footer p, html body.et-theme-c footer li,
html body.et-theme-c footer a, html body.et-theme-c .footer_block a { color: var(--et-text-mid) !important; }

/* ===========================================================================
   PART 5 — RULES CONFIRMED BY CHROME'S MATCHED-RULES INSPECTOR
   These were found by asking the browser which rule actually wins, not by
   grepping the stylesheets. Two of them are not in any .css file on disk.
   ======================================================================== */

@media (max-width: 767px) {
  /* Per-page blocks of the form
       body.eventTitans-body.et-home-index #main-content
         section:not(#pricing) .feature-card-alt p { font-size: 0.75rem !important }
     set card body copy to 12px on phones. They are NOT in et-layout.css on
     disk — they are injected at runtime, which is why a static grep of the
     stylesheets does not find them. body[class][class] repeats the attribute
     selector to match their class count without naming each et-page-* class. */
  html body[class][class].eventTitans-body #main-content section:not(#pricing) .feature-card-alt p,
  html body[class][class].eventTitans-body #main-content section:not(#pricing) .feature-card p,
  html body[class][class].eventTitans-body #main-content section:not(#pricing) .process-item p,
  html body[class][class].eventTitans-body #main-content section:not(#pricing) p[class],
  html body[class][class].eventTitans-body #main-content section:not(#pricing) li[class],
  html body[class][class].eventTitans-body #main-content section:not(#pricing) span,
  html body[class][class].eventTitans-body #main-content .feature-card-alt p,
  html body[class][class].eventTitans-body #main-content p[class],
  html body[class][class].eventTitans-body #main-content .text-white-50,
  html body[class][class].eventTitans-body footer p[class] {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }
  /* …and genuinely small labels keep the 13px floor rather than becoming 16px */
  html body[class][class].eventTitans-body #main-content .badge,
  html body[class][class].eventTitans-body #main-content .pricing-badge,
  html body[class][class].eventTitans-body #main-content .et-row-chip,
  html body[class][class].eventTitans-body #main-content .vt-event,
  html body[class][class].eventTitans-body #main-content .chip {
    font-size: .8125rem !important;
  }
}

/* Labels that fall below the floor from their own unconditional rules:
   .pricing-badge is 0.75rem (12px); .et-snapshot-tile .l is .78rem (12.48px). */
html body .pricing-badge,
html body .et-snapshot-tile .l,
html body .et-snapshot-tile .lbl { font-size: .8125rem !important; }

/* resources/etapi.html keeps a white page via the Bootstrap .bg-white utility
   on <body>, so it renders light while using the primary theme's navbar and
   the legacy footer. The adapter class alone cannot beat an !important
   utility of equal specificity, so it is neutralised explicitly. */
html body.et-theme-c.bg-white { background-color: var(--et-navy-900) !important; }

/* b.html renders two stat numerals in Space Grotesk from a rule more specific
   than the element-level family rule in PART 1. */
html body[class][class] b, html body[class][class] strong,
html body[class][class] em { font-family: var(--et-font) !important; }

/* .fs-7 is 0.8rem (12.8px) and is used for form reassurance text. */
html body .fs-7 { font-size: .8125rem !important; }

/* Duplicate logo — NOT fixed here, deliberately.
   resources/etapi.html and solutions/sponsorshipguide.html carry BOTH a legacy
   banner header and the primary navbar, so two logos render. On the old white
   page the banner logo was nearly invisible; on navy both show. A CSS rule to
   hide one of them removed the PRIMARY navbar logo instead, because .logo-1 /
   .logo-2-m belong to the navbar, not the banner. Hiding the right element
   reliably needs the duplicate header removed from the markup, which is a
   template change. Listed as development work rather than patched. */

/* The legacy nav marks the current page in pink-red (#EE3A54 family). On the
   navy header that is the only off-theme colour left in the navigation. */
html body.et-theme-c .nav-link.active,
html body.et-theme-c .navbar-nav .active > .nav-link,
html body.et-theme-c .nav-item.active .nav-link,
html body.et-theme-c .nav-link.active *,
html body.et-theme-c .navbar-nav .active > .nav-link *,
html body.et-theme-c .nav-item.active .nav-link * {
  color: #C4B5FD !important;
  background-color: rgba(255, 255, 255, .06) !important;
  border-radius: var(--et-r-sm) !important;
}

/* The pink active colour survives the rule above, so it comes from a selector
   with four classes. body[class][class] adds two attribute units to outrank it
   without naming the page. */
html body[class][class].et-theme-c .nav-link.active,
html body[class][class].et-theme-c .nav-link.active *,
html body[class][class].et-theme-c .navbar-nav .active > .nav-link,
html body[class][class].et-theme-c .nav-item.active .nav-link {
  color: #C4B5FD !important;
}
