/* ============================================
   XMTEK BANNER SYSTEM
   Consolidated styles for sage and scorecard modes
   ============================================ */

/* CSS Variables */
:root {
  --ss-black: #0f0f0f;
  --ss-dark: #1a1a1a;
  --ss-dark-green: #2d3a2d;
  --ss-green: #6a996a;
  --ss-green-light: #8ab38a;
  --ss-green-dark: #5a895a;
  --ss-green-glow: rgba(106, 153, 106, 0.15);
  --ss-green-border: rgba(106, 153, 106, 0.3);
  --ss-text-white: #ffffff;
  --ss-text-gray: #9ca3af;
  --ss-text-light: #d1d5db;
  --ss-font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   SHARED BANNER FOUNDATION
   ============================================ */

.ss-banner {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--ss-dark) 0%, var(--ss-dark-green) 50%, var(--ss-dark) 100%);
  font-family: var(--ss-font);
  color: var(--ss-text-white);
  max-width: 100%;
  /* Isolation: prevent theme CSS from bleeding in */
  line-height: 1.2;
  margin: 0 auto;
  padding: 0;
  border: none;
  text-align: left;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0;
  text-decoration: none;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  contain: layout style;
}

/* Reset all child elements to prevent theme inheritance */
.ss-banner *,
.ss-banner *::before,
.ss-banner *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  text-decoration: none;
  line-height: inherit;
  font-family: inherit;
  letter-spacing: normal;
  word-spacing: normal;
}

.ss-banner div,
.ss-banner span,
.ss-banner img,
.ss-banner svg {
  margin: 0;
  padding: 0;
  border: 0;
  float: none;
  clear: none;
  min-height: 0;
}

/* Link reset — override Astra/theme link colors and hover states */
.ss-banner a,
.ss-banner a:visited,
.ss-banner a:hover,
.ss-banner a:focus,
.ss-banner a:active {
  color: var(--ss-text-white);
  text-decoration: none;
  border: none;
  outline: none;
  box-shadow: none;
}

/* Reset theme background on links — but not on CTA buttons */
.ss-banner a:not(.ss-btn) {
  background: transparent;
}

.ss-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, var(--ss-green-glow) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 85% 50%, rgba(106, 153, 106, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.ss-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(106, 153, 106, 0.03) 60px, rgba(106, 153, 106, 0.03) 61px);
  pointer-events: none;
  z-index: 0;
}

.ss-banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* Shimmer text effect */
.ss-shimmer {
  background: linear-gradient(135deg, var(--ss-green) 0%, var(--ss-green-light) 50%, var(--ss-green) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ssShimmer 3s linear infinite;
}

@keyframes ssShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* CTA Button */
.ss-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ss-font);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ss-green) 0%, var(--ss-green-dark) 100%);
  color: var(--ss-text-white);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(106, 153, 106, 0.4);
  white-space: nowrap;
}

.ss-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(106, 153, 106, 0.5);
}

/* Override theme link color on CTA buttons */
.ss-banner .ss-btn,
.ss-banner .ss-btn:visited,
.ss-banner .ss-btn:hover,
.ss-banner .ss-btn:focus,
.ss-banner .ss-btn:active {
  color: var(--ss-text-white) !important;
}

.ss-btn svg { transition: transform 0.3s ease; }
.ss-btn:hover svg { transform: translateX(3px); }

/* Eyebrow label */
.ss-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ss-green) 0%, var(--ss-green-light) 50%, var(--ss-green) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ssShimmer 3s linear infinite;
}

.ss-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--ss-green);
  border-radius: 50%;
  animation: ssPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ssPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(106, 153, 106, 0.7); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(106, 153, 106, 0); }
}

/* Accent line */
.ss-accent-line {
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, var(--ss-green) 30%, var(--ss-green) 70%, transparent 100%);
  border-radius: 2px;
  z-index: 1;
}

/* Role chips */
.ss-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(106, 153, 106, 0.12);
  border: 1px solid var(--ss-green-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ss-green-light);
  letter-spacing: 0.02em;
}

.ss-role-chip .dot {
  width: 5px;
  height: 5px;
  background: var(--ss-green);
  border-radius: 50%;
}

/* Arrow icon */
.ss-arrow { width: 14px; height: 14px; }

/* Divider */
.ss-divider {
  width: 1px;
  background: var(--ss-green-border);
}

/* ============================================
   SAGE/OWL COMPONENTS
   ============================================ */

.ss-owl-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-owl-glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 153, 106, 0.25) 0%, rgba(106, 153, 106, 0.08) 40%, transparent 70%);
  pointer-events: none;
}

.ss-owl-img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

/* ============================================
   SCORECARD COMPONENTS (no-sage mode)
   ============================================ */

.ss-score-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-score-mini-label {
  font-size: 10px;
  color: var(--ss-text-gray);
  font-weight: 500;
  min-width: 50px;
}

.ss-score-mini-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  max-width: 80px;
}

.ss-score-mini-fill {
  height: 100%;
  background: var(--ss-green);
  border-radius: 2px;
}

.ss-score-mini-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--ss-green-light);
  min-width: 24px;
  text-align: right;
}

/* ============================================
   SAGE SIZE VARIANTS (sz-* classes)
   ============================================ */

/* BANNER 1000x180 — Sage */
.ss-banner.sz-banner { width: 1000px !important; height: 180px !important; max-height: 180px !important; overflow: hidden !important; border-radius: 12px; }
.sz-banner .ss-banner-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; padding: 0 36px; height: 100%; gap: 24px; }
.sz-banner .ss-content { display: flex; flex-direction: column; gap: 6px; }
.sz-banner .ss-eyebrow { font-size: 15px; }
.sz-banner .ss-headline { font-size: 24px; font-weight: 700; line-height: 1.2; }
.sz-banner .ss-subtext { font-size: 13px; color: var(--ss-text-gray); line-height: 1.5; max-width: 480px; }
.sz-banner .ss-owl-container { width: 140px; height: 140px; }
.sz-banner .ss-owl-glow { width: 160px; height: 160px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-banner .ss-owl-img { max-height: 140px; width: auto; }
.sz-banner .ss-btn { padding: 12px 22px; font-size: 13px; }

/* FEATURE 1200x360 — Sage */
.ss-banner.sz-feature { width: 1200px !important; height: 360px !important; max-height: 360px !important; overflow: hidden !important; border-radius: 16px; }
.sz-feature .ss-banner-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 48px; height: 100%; gap: 16px; }
.sz-feature .ss-content { display: flex; flex-direction: column; gap: 12px; }
.sz-feature .ss-eyebrow { font-size: 17px; }
.sz-feature .ss-headline { font-size: 36px; font-weight: 700; line-height: 1.15; }
.sz-feature .ss-subtext { font-size: 15px; color: var(--ss-text-gray); line-height: 1.6; max-width: 580px; }
.sz-feature .ss-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.sz-feature .ss-btn { padding: 14px 28px; font-size: 14px; margin-top: 4px; align-self: flex-start; }
.sz-feature .ss-owl-container { width: 300px; height: 320px; margin-right: -8px; }
.sz-feature .ss-owl-glow { width: 340px; height: 340px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-feature .ss-owl-img { max-height: 310px; width: auto; }

/* SKYSCRAPER 240x600 — Sage */
.ss-banner.sz-sky { width: 240px !important; height: 600px !important; max-height: 600px !important; overflow: hidden !important; border-radius: 12px; }
.sz-sky::before { background: radial-gradient(ellipse 100% 40% at 50% 10%, var(--ss-green-glow) 0%, transparent 50%), radial-gradient(ellipse 100% 40% at 50% 75%, rgba(106, 153, 106, 0.12) 0%, transparent 50%) !important; }
.sz-sky .ss-banner-inner { display: flex; flex-direction: column; padding: 24px 20px; height: 100%; gap: 12px; }
.sz-sky .ss-eyebrow { font-size: 14px; }
.sz-sky .ss-headline { font-size: 22px; font-weight: 700; line-height: 1.2; }
.sz-sky .ss-subtext { font-size: 12px; color: var(--ss-text-gray); line-height: 1.6; }
.sz-sky .ss-owl-container { flex: 1; min-height: 0; width: 100%; }
.sz-sky .ss-owl-glow { width: 220px; height: 220px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-sky .ss-owl-img { max-height: 200px; max-width: 190px; width: auto; }
.sz-sky .ss-btn { padding: 11px 18px; font-size: 12px; justify-content: center; width: 100%; }
.sz-sky .ss-logo-footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 4px; }
.sz-sky .ss-logo-footer span { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }

/* LEADERBOARD 728x90 — Sage */
.ss-banner.sz-leader { width: 728px !important; height: 90px !important; max-height: 90px !important; overflow: hidden !important; border-radius: 8px; }
.sz-leader .ss-banner-inner { display: flex; align-items: center; padding: 0 20px; height: 100%; gap: 16px; }
.sz-leader .ss-owl-container { width: 70px; height: 70px; flex-shrink: 0; }
.sz-leader .ss-owl-glow { width: 80px; height: 80px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-leader .ss-owl-img { max-height: 68px; width: auto; }
.sz-leader .ss-content { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sz-leader .ss-eyebrow { font-size: 12px; }
.sz-leader .ss-headline { font-size: 17px; font-weight: 700; line-height: 1.2; }
.sz-leader .ss-subtext { font-size: 11px; color: var(--ss-text-gray); line-height: 1.4; }
.sz-leader .ss-divider { height: 50px; }
.sz-leader .ss-btn { padding: 10px 18px; font-size: 11px; border-radius: 7px; flex-shrink: 0; }

/* NARROW 600x90 — Sage */
.ss-banner.sz-narrow { width: 600px !important; height: 90px !important; max-height: 90px !important; overflow: hidden !important; border-radius: 8px; }
.sz-narrow .ss-banner-inner { display: flex; align-items: center; padding: 0 18px; height: 100%; gap: 14px; }
.sz-narrow .ss-owl-container { width: 60px; height: 60px; flex-shrink: 0; }
.sz-narrow .ss-owl-glow { width: 70px; height: 70px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-narrow .ss-owl-img { max-height: 58px; width: auto; }
.sz-narrow .ss-content { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sz-narrow .ss-eyebrow { font-size: 11px; }
.sz-narrow .ss-headline { font-size: 16px; font-weight: 700; line-height: 1.2; }
.sz-narrow .ss-subtext { font-size: 10px; color: var(--ss-text-gray); line-height: 1.4; }
.sz-narrow .ss-divider { height: 44px; }
.sz-narrow .ss-btn { padding: 9px 16px; font-size: 11px; border-radius: 7px; flex-shrink: 0; }

/* INLINE 600x180 — Sage */
.ss-banner.sz-inline { width: 600px !important; height: 180px !important; max-height: 180px !important; overflow: hidden !important; border-radius: 10px; }
.sz-inline .ss-banner-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; padding: 0 24px; height: 100%; gap: 16px; }
.sz-inline .ss-content { display: flex; flex-direction: column; gap: 5px; }
.sz-inline .ss-eyebrow { font-size: 13px; }
.sz-inline .ss-headline { font-size: 20px; font-weight: 700; line-height: 1.2; }
.sz-inline .ss-subtext { font-size: 12px; color: var(--ss-text-gray); line-height: 1.5; max-width: 280px; }
.sz-inline .ss-owl-container { width: 120px; height: 140px; }
.sz-inline .ss-owl-glow { width: 140px; height: 140px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-inline .ss-owl-img { max-height: 130px; width: auto; }
.sz-inline .ss-btn { padding: 10px 18px; font-size: 12px; border-radius: 7px; }

/* SOCIAL CARD 1200x628 — Sage */
.ss-banner.sz-social { width: 1200px !important; height: 628px !important; max-height: 628px !important; overflow: hidden !important; border-radius: 0; }
.sz-social::before { background: radial-gradient(ellipse 50% 60% at 25% 50%, rgba(106, 153, 106, 0.18) 0%, transparent 50%), radial-gradient(ellipse 50% 50% at 75% 55%, rgba(106, 153, 106, 0.12) 0%, transparent 50%) !important; }
.sz-social .ss-banner-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 60px 64px; height: 100%; gap: 32px; }
.sz-social .ss-content { display: flex; flex-direction: column; gap: 16px; }
.sz-social .ss-eyebrow { font-size: 20px; }
.sz-social .ss-headline { font-size: 44px; font-weight: 700; line-height: 1.1; }
.sz-social .ss-subtext { font-size: 17px; color: var(--ss-text-gray); line-height: 1.6; max-width: 520px; }
.sz-social .ss-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.sz-social .ss-role-chip { font-size: 12px; padding: 6px 12px; }
.sz-social .ss-btn { padding: 16px 32px; font-size: 15px; margin-top: 8px; align-self: flex-start; }
.sz-social .ss-owl-container { width: 400px; height: 420px; }
.sz-social .ss-owl-glow { width: 450px; height: 450px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-social .ss-owl-img { max-height: 400px; width: auto; }
.sz-social .ss-logo-bottom { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 28px; left: 64px; }
.sz-social .ss-logo-bottom span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; }

/* CTA WIDE 1000x480 — Sage */
.ss-banner.sz-cta-wide { width: 1000px !important; height: 480px !important; max-height: 480px !important; overflow: hidden !important; border-radius: 16px; }
.sz-cta-wide .ss-banner-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 48px 56px; height: 100%; gap: 40px; }
.sz-cta-wide .ss-content { display: flex; flex-direction: column; gap: 16px; }
.sz-cta-wide .ss-eyebrow { font-size: 18px; }
.sz-cta-wide .ss-headline { font-size: 40px; font-weight: 700; line-height: 1.1; }
.sz-cta-wide .ss-subtext { font-size: 16px; color: var(--ss-text-gray); line-height: 1.6; max-width: 480px; }
.sz-cta-wide .ss-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.sz-cta-wide .ss-btn { padding: 16px 32px; font-size: 15px; margin-top: 8px; align-self: flex-start; }
.sz-cta-wide .ss-owl-container { width: 340px; height: 380px; }
.sz-cta-wide .ss-owl-glow { width: 400px; height: 400px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-cta-wide .ss-owl-img { max-height: 360px; width: auto; }

/* CTA SQUARE 360x360 — Sage */
.ss-banner.sz-cta-square { width: 360px !important; height: 360px !important; max-height: 360px !important; overflow: hidden !important; border-radius: 14px; }
.sz-cta-square .ss-banner-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 24px; height: 100%; gap: 12px; }
.sz-cta-square .ss-eyebrow { font-size: 14px; }
.sz-cta-square .ss-headline { font-size: 26px; font-weight: 700; line-height: 1.15; }
.sz-cta-square .ss-subtext { font-size: 12px; color: var(--ss-text-gray); line-height: 1.6; }
.sz-cta-square .ss-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.sz-cta-square .ss-role-chip { font-size: 9px; padding: 3px 8px; }
.sz-cta-square .ss-owl-container { flex: 1; min-height: 0; width: 100%; }
.sz-cta-square .ss-owl-glow { width: 160px; height: 160px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sz-cta-square .ss-owl-img { max-height: 130px; width: auto; }
.sz-cta-square .ss-btn { padding: 12px 24px; font-size: 13px; align-self: center; }

/* ============================================
   SCORECARD SIZE VARIANTS (ss-banner-WxH classes)
   ============================================ */

/* BANNER 1000x180 — Scorecard */
.ss-banner.ss-banner-1000x180 { width: 1000px !important; height: 180px !important; max-height: 180px !important; overflow: hidden !important; border-radius: 12px; }
.ss-banner-1000x180 .ss-banner-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 36px; height: 100%; gap: 24px; }
.ss-banner-1000x180 .ss-content { display: flex; flex-direction: column; gap: 6px; }
.ss-banner-1000x180 .ss-eyebrow { font-size: 15px; }
.ss-banner-1000x180 .ss-headline { font-size: 24px; font-weight: 700; line-height: 1.2; }
.ss-banner-1000x180 .ss-subtext { font-size: 13px; color: var(--ss-text-gray); line-height: 1.5; max-width: 520px; }
.ss-banner-1000x180 .ss-right { display: flex; align-items: center; gap: 20px; }
.ss-banner-1000x180 .ss-visual { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--ss-green-border); border-radius: 10px; min-width: 160px; }
.ss-banner-1000x180 .ss-btn { padding: 12px 22px; font-size: 13px; }

/* FEATURE 1200x360 — Scorecard */
.ss-banner.ss-banner-1200x360 { width: 1200px !important; height: 360px !important; max-height: 360px !important; overflow: hidden !important; border-radius: 16px; }
.ss-banner-1200x360 .ss-banner-inner { display: grid; grid-template-columns: 1fr 340px; align-items: center; padding: 0 48px; height: 100%; gap: 40px; }
.ss-banner-1200x360 .ss-content { display: flex; flex-direction: column; gap: 12px; }
.ss-banner-1200x360 .ss-eyebrow { font-size: 17px; }
.ss-banner-1200x360 .ss-headline { font-size: 36px; font-weight: 700; line-height: 1.15; }
.ss-banner-1200x360 .ss-subtext { font-size: 15px; color: var(--ss-text-gray); line-height: 1.6; max-width: 560px; }
.ss-banner-1200x360 .ss-chips { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.ss-banner-1200x360 .ss-btn { padding: 14px 28px; font-size: 14px; margin-top: 4px; align-self: flex-start; }
.ss-banner-1200x360 .ss-visual-card { background: rgba(0, 0, 0, 0.35); border: 1px solid var(--ss-green-border); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ss-banner-1200x360 .ss-visual-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(106, 153, 106, 0.15); }
.ss-banner-1200x360 .ss-visual-title { font-size: 13px; font-weight: 600; color: var(--ss-text-light); }
.ss-banner-1200x360 .ss-visual-badge { font-size: 10px; font-weight: 700; color: var(--ss-green); background: rgba(106, 153, 106, 0.15); padding: 3px 8px; border-radius: 4px; letter-spacing: 0.04em; }
.ss-banner-1200x360 .ss-score-group { display: flex; flex-direction: column; gap: 8px; }
.ss-banner-1200x360 .ss-visual-result { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(106, 153, 106, 0.15); }
.ss-banner-1200x360 .ss-result-badge { font-size: 11px; font-weight: 700; color: #fff; background: var(--ss-green); padding: 4px 10px; border-radius: 5px; }
.ss-banner-1200x360 .ss-result-text { font-size: 11px; color: var(--ss-text-gray); }

/* SKYSCRAPER 240x600 — Scorecard */
.ss-banner.ss-banner-240x600 { width: 240px !important; height: 600px !important; max-height: 600px !important; overflow: hidden !important; border-radius: 12px; }
.ss-banner-240x600::before { background: radial-gradient(ellipse 100% 40% at 50% 10%, var(--ss-green-glow) 0%, transparent 50%), radial-gradient(ellipse 100% 40% at 50% 90%, rgba(106, 153, 106, 0.08) 0%, transparent 50%); }
.ss-banner-240x600 .ss-banner-inner { display: flex; flex-direction: column; padding: 28px 20px; height: 100%; gap: 16px; }
.ss-banner-240x600 .ss-eyebrow { font-size: 14px; }
.ss-banner-240x600 .ss-headline { font-size: 22px; font-weight: 700; line-height: 1.2; }
.ss-banner-240x600 .ss-subtext { font-size: 12px; color: var(--ss-text-gray); line-height: 1.6; }
.ss-banner-240x600 .ss-visual-card { background: rgba(0, 0, 0, 0.35); border: 1px solid var(--ss-green-border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ss-banner-240x600 .ss-visual-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid rgba(106, 153, 106, 0.15); }
.ss-banner-240x600 .ss-visual-title { font-size: 11px; font-weight: 600; color: var(--ss-text-light); }
.ss-banner-240x600 .ss-visual-badge { font-size: 9px; font-weight: 700; color: var(--ss-green); background: rgba(106, 153, 106, 0.15); padding: 2px 6px; border-radius: 3px; }
.ss-banner-240x600 .ss-score-group { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ss-banner-240x600 .ss-score-mini-track { max-width: none; }
.ss-banner-240x600 .ss-visual-result { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(106, 153, 106, 0.15); }
.ss-banner-240x600 .ss-result-badge { font-size: 9px; font-weight: 700; color: #fff; background: var(--ss-green); padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.ss-banner-240x600 .ss-result-text { font-size: 9px; color: var(--ss-text-gray); }
.ss-banner-240x600 .ss-btn { padding: 11px 18px; font-size: 12px; justify-content: center; width: 100%; border-radius: 8px; }
.ss-banner-240x600 .ss-logo-footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 8px; }
.ss-banner-240x600 .ss-logo-footer span { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }

/* LEADERBOARD 728x90 — Scorecard */
.ss-banner.ss-banner-728x90 { width: 728px !important; height: 90px !important; max-height: 90px !important; overflow: hidden !important; border-radius: 8px; }
.ss-banner-728x90 .ss-banner-inner { display: flex; align-items: center; padding: 0 24px; height: 100%; gap: 20px; }
.ss-banner-728x90 .ss-content { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ss-banner-728x90 .ss-eyebrow { font-size: 12px; }
.ss-banner-728x90 .ss-headline { font-size: 18px; font-weight: 700; line-height: 1.2; }
.ss-banner-728x90 .ss-subtext { font-size: 11px; color: var(--ss-text-gray); line-height: 1.4; }
.ss-banner-728x90 .ss-chips { display: flex; gap: 6px; }
.ss-banner-728x90 .ss-role-chip { font-size: 9px; padding: 3px 7px; }
.ss-banner-728x90 .ss-role-chip .dot { width: 4px; height: 4px; }
.ss-banner-728x90 .ss-divider { height: 50px; }
.ss-banner-728x90 .ss-btn { padding: 10px 18px; font-size: 11px; border-radius: 7px; }

/* NARROW 600x90 — Scorecard */
.ss-banner.ss-banner-600x90 { width: 600px !important; height: 90px !important; max-height: 90px !important; overflow: hidden !important; border-radius: 8px; }
.ss-banner-600x90 .ss-banner-inner { display: flex; align-items: center; padding: 0 20px; height: 100%; gap: 16px; }
.ss-banner-600x90 .ss-content { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ss-banner-600x90 .ss-eyebrow { font-size: 11px; }
.ss-banner-600x90 .ss-headline { font-size: 16px; font-weight: 700; line-height: 1.2; }
.ss-banner-600x90 .ss-subtext { font-size: 10px; color: var(--ss-text-gray); line-height: 1.4; }
.ss-banner-600x90 .ss-divider { height: 44px; }
.ss-banner-600x90 .ss-btn { padding: 9px 16px; font-size: 11px; border-radius: 7px; flex-shrink: 0; }

/* INLINE 600x180 — Scorecard */
.ss-banner.ss-banner-600x180 { width: 600px !important; height: 180px !important; max-height: 180px !important; overflow: hidden !important; border-radius: 10px; }
.ss-banner-600x180 .ss-banner-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 28px; height: 100%; gap: 20px; }
.ss-banner-600x180 .ss-content { display: flex; flex-direction: column; gap: 5px; }
.ss-banner-600x180 .ss-eyebrow { font-size: 13px; }
.ss-banner-600x180 .ss-headline { font-size: 20px; font-weight: 700; line-height: 1.2; }
.ss-banner-600x180 .ss-subtext { font-size: 12px; color: var(--ss-text-gray); line-height: 1.5; max-width: 320px; }
.ss-banner-600x180 .ss-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ss-banner-600x180 .ss-chips { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.ss-banner-600x180 .ss-role-chip { font-size: 9px; padding: 3px 7px; }
.ss-banner-600x180 .ss-role-chip .dot { width: 4px; height: 4px; }
.ss-banner-600x180 .ss-btn { padding: 10px 18px; font-size: 12px; border-radius: 7px; }

/* SOCIAL CARD 1200x628 — Scorecard */
.ss-banner.ss-banner-1200x628 { width: 1200px !important; height: 628px !important; max-height: 628px !important; overflow: hidden !important; border-radius: 0; }
.ss-banner-1200x628::before { background: radial-gradient(ellipse 50% 60% at 25% 50%, rgba(106, 153, 106, 0.18) 0%, transparent 50%), radial-gradient(ellipse 40% 50% at 75% 60%, rgba(106, 153, 106, 0.1) 0%, transparent 50%); }
.ss-banner-1200x628 .ss-banner-inner { display: grid; grid-template-columns: 1fr 380px; align-items: center; padding: 60px 64px; height: 100%; gap: 48px; }
.ss-banner-1200x628 .ss-content { display: flex; flex-direction: column; gap: 16px; }
.ss-banner-1200x628 .ss-eyebrow { font-size: 20px; }
.ss-banner-1200x628 .ss-headline { font-size: 44px; font-weight: 700; line-height: 1.1; }
.ss-banner-1200x628 .ss-subtext { font-size: 17px; color: var(--ss-text-gray); line-height: 1.6; max-width: 480px; }
.ss-banner-1200x628 .ss-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ss-banner-1200x628 .ss-role-chip { font-size: 12px; padding: 6px 12px; }
.ss-banner-1200x628 .ss-btn { padding: 16px 32px; font-size: 15px; margin-top: 8px; align-self: flex-start; }
.ss-banner-1200x628 .ss-visual-card { background: rgba(0, 0, 0, 0.4); border: 1px solid var(--ss-green-border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ss-banner-1200x628 .ss-visual-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(106, 153, 106, 0.15); }
.ss-banner-1200x628 .ss-visual-title { font-size: 15px; font-weight: 600; color: var(--ss-text-light); }
.ss-banner-1200x628 .ss-visual-badge { font-size: 11px; font-weight: 700; color: var(--ss-green); background: rgba(106, 153, 106, 0.15); padding: 4px 10px; border-radius: 5px; }
.ss-banner-1200x628 .ss-score-group { display: flex; flex-direction: column; gap: 12px; }
.ss-banner-1200x628 .ss-score-mini-label { font-size: 12px; min-width: 80px; }
.ss-banner-1200x628 .ss-score-mini-track { max-width: 120px; }
.ss-banner-1200x628 .ss-score-mini-val { font-size: 13px; }
.ss-banner-1200x628 .ss-visual-result { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(106, 153, 106, 0.15); }
.ss-banner-1200x628 .ss-result-badge { font-size: 12px; font-weight: 700; color: #fff; background: var(--ss-green); padding: 5px 12px; border-radius: 6px; }
.ss-banner-1200x628 .ss-result-text { font-size: 12px; color: var(--ss-text-gray); }
.ss-banner-1200x628 .ss-logo-bottom { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 28px; left: 64px; }
.ss-banner-1200x628 .ss-logo-bottom span { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.35); letter-spacing: 0.06em; }

/* CTA WIDE 1000x480 — Scorecard */
.ss-banner.ss-banner-1000x480 { width: 1000px !important; height: 480px !important; max-height: 480px !important; overflow: hidden !important; border-radius: 16px; }
.ss-banner-1000x480 .ss-banner-inner { display: grid; grid-template-columns: 1fr 340px; align-items: center; padding: 48px 56px; height: 100%; gap: 40px; }
.ss-banner-1000x480 .ss-content { display: flex; flex-direction: column; gap: 16px; }
.ss-banner-1000x480 .ss-eyebrow { font-size: 18px; }
.ss-banner-1000x480 .ss-headline { font-size: 40px; font-weight: 700; line-height: 1.1; }
.ss-banner-1000x480 .ss-subtext { font-size: 16px; color: var(--ss-text-gray); line-height: 1.6; max-width: 480px; }
.ss-banner-1000x480 .ss-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ss-banner-1000x480 .ss-btn { padding: 16px 32px; font-size: 15px; margin-top: 8px; align-self: flex-start; }
.ss-banner-1000x480 .ss-visual-card { background: rgba(0, 0, 0, 0.4); border: 1px solid var(--ss-green-border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ss-banner-1000x480 .ss-visual-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(106, 153, 106, 0.15); }
.ss-banner-1000x480 .ss-visual-title { font-size: 14px; font-weight: 600; color: var(--ss-text-light); }
.ss-banner-1000x480 .ss-visual-badge { font-size: 11px; font-weight: 700; color: var(--ss-green); background: rgba(106, 153, 106, 0.15); padding: 4px 10px; border-radius: 5px; letter-spacing: 0.04em; }
.ss-banner-1000x480 .ss-score-group { display: flex; flex-direction: column; gap: 10px; }
.ss-banner-1000x480 .ss-score-mini-label { font-size: 12px; min-width: 80px; }
.ss-banner-1000x480 .ss-score-mini-track { max-width: 120px; }
.ss-banner-1000x480 .ss-score-mini-val { font-size: 13px; }
.ss-banner-1000x480 .ss-visual-result { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(106, 153, 106, 0.15); }
.ss-banner-1000x480 .ss-result-badge { font-size: 12px; font-weight: 700; color: #fff; background: var(--ss-green); padding: 5px 12px; border-radius: 6px; }
.ss-banner-1000x480 .ss-result-text { font-size: 12px; color: var(--ss-text-gray); }

/* CTA SQUARE 360x360 — Scorecard */
.ss-banner.ss-banner-360x360 { width: 360px !important; height: 360px !important; max-height: 360px !important; overflow: hidden !important; border-radius: 14px; }
.ss-banner-360x360 .ss-banner-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 24px; height: 100%; gap: 12px; }
.ss-banner-360x360 .ss-eyebrow { font-size: 14px; }
.ss-banner-360x360 .ss-headline { font-size: 26px; font-weight: 700; line-height: 1.15; }
.ss-banner-360x360 .ss-subtext { font-size: 12px; color: var(--ss-text-gray); line-height: 1.6; }
.ss-banner-360x360 .ss-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.ss-banner-360x360 .ss-role-chip { font-size: 9px; padding: 3px 8px; }
.ss-banner-360x360 .ss-role-chip .dot { width: 4px; height: 4px; }
.ss-banner-360x360 .ss-btn { padding: 12px 24px; font-size: 13px; align-self: center; margin-top: auto; }

/* ============================================
   RESPONSIVE WRAPPER
   Constrains banner to its native size and clips
   overflow. Centers within the content area.
   ============================================ */

.ss-banner-wrap {
  display: block;
  width: 100%;
  max-width: calc(var(--ss-w, 1000) * 1px);
  height: calc(var(--ss-h, 180) * 1px);
  max-height: calc(var(--ss-h, 180) * 1px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

/* ========================================================================
   Mission theme — classified overlay (MI:6 banners)
   Uses normal ss-banner structure; .ss-mission modifier adds the theme.
   ======================================================================== */

.ss-mission {
  background: #000 !important;
  border: 1px solid rgba(106, 153, 106, 0.3) !important;
  border-radius: 16px;
}

.ss-mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(106, 153, 106, 0.05) 50px,
      rgba(106, 153, 106, 0.05) 51px
    ),
    radial-gradient(ellipse 80% 300% at 0% 50%, rgba(106, 153, 106, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 60% 300% at 100% 50%, rgba(239, 68, 68, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.ss-mission::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent 0%, rgba(106, 153, 106, 0.08) 100%);
  pointer-events: none;
  z-index: 0;
  border-left: 1px solid rgba(106, 153, 106, 0.15);
}

.ss-mission .ss-banner-inner {
  position: relative;
  z-index: 1;
}

.ss-mission .ss-accent-line {
  background: #6a996a !important;
  box-shadow: 0 0 12px rgba(106, 153, 106, 0.6);
}

/* Classified stamp */
.ss-classified-stamp {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-50%) rotate(-8deg);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.25em;
  color: #ef4444;
  border: 5px solid #ef4444;
  padding: 10px 22px;
  border-radius: 4px;
  text-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
  opacity: 1;
  z-index: 10;
  font-family: 'DM Sans', sans-serif;
}


/* Text colors on dark background */
.ss-mission .ss-eyebrow {
  color: #6a996a !important;
  font-size: 130% !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.ss-mission .ss-headline {
  color: #fff !important;
}

.ss-mission .ss-subtext {
  color: #D9D9D9 !important;
}

.ss-mission .ss-shimmer {
  background: linear-gradient(90deg, #6a996a 0%, #8fbc8f 50%, #6a996a 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Chips */
.ss-mission .ss-role-chip {
  background: rgba(106, 153, 106, 0.15) !important;
  color: #8fbc8f !important;
  border-color: rgba(106, 153, 106, 0.3) !important;
}

.ss-mission .ss-role-chip .dot {
  background: #6a996a !important;
}

/* Score bars */
.ss-mission .ss-score-mini-track {
  background: rgba(106, 153, 106, 0.15) !important;
}

.ss-mission .ss-score-mini-fill {
  background: #6a996a !important;
}

.ss-mission .ss-score-mini-label,
.ss-mission .ss-score-mini-val {
  color: #D9D9D9 !important;
}

/* Visual card */
.ss-mission .ss-visual-card {
  background: rgba(106, 153, 106, 0.08) !important;
  border-color: rgba(106, 153, 106, 0.25) !important;
}

.ss-mission .ss-visual-header {
  border-color: rgba(106, 153, 106, 0.2) !important;
}

.ss-mission .ss-visual-title {
  color: #fff !important;
}

.ss-mission .ss-visual-badge {
  background: rgba(106, 153, 106, 0.2) !important;
  color: #6a996a !important;
}

.ss-mission .ss-visual-result {
  border-color: rgba(106, 153, 106, 0.2) !important;
}

.ss-mission .ss-result-badge {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
}

.ss-mission .ss-result-text {
  color: #D9D9D9 !important;
}

/* Button — green mission style */
.ss-mission .ss-btn {
  background: #6a996a !important;
  color: #fff !important;
  border-radius: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    0 4px 20px rgba(106, 153, 106, 0.5),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.ss-mission .ss-btn:hover {
  background: #5a895a !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(106, 153, 106, 0.6),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Divider */
.ss-mission .ss-divider {
  background: rgba(106, 153, 106, 0.2) !important;
}

/* Footer / logo */
.ss-mission .ss-logo-footer,
.ss-mission .ss-logo-bottom {
  color: rgba(106, 153, 106, 0.5) !important;
}

/* Sage owl in mission theme */
.ss-mission .ss-owl-container {
  border: 2px solid rgba(106, 153, 106, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(106, 153, 106, 0.2);
}

.ss-mission .ss-owl-glow {
  background: radial-gradient(circle, rgba(106, 153, 106, 0.3) 0%, transparent 70%) !important;
}
