/* Virridy deck content — scoped under .vrd-frame so it doesn't collide with the keynote's chrome. */

.vrd-slide { padding: 0; align-items: stretch; justify-content: stretch; }

.vrd-frame {
  /* Re-mapped to CU Boulder palette: dark (#0a0a0a/#1a1a1a) + gold (#CFB87C). */
  --blue: #6b5a2c;          /* dark gold for accents on white slides (replaces teal) */
  --blue-light: #8a7842;
  --blue-dark: #1a1a1a;     /* CU dark — used as h2 color on white AND gradient endpoint */
  --teal: #1a1a1a;
  --teal-light: #CFB87C;    /* CU gold accent */
  --green: #6b5a2c;
  --green-light: #8a7842;
  --amber: #CFB87C;          /* CU gold — main accent on dark slides */
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #0a0a0a;

  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 80px;
  overflow-y: auto;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
}

.vrd-frame.bg-white { background: var(--white); color: var(--gray-900); }
/* Dark gradient backgrounds re-themed to match CU's Vessel/keynote chrome. */
.vrd-frame.bg-blue { background: linear-gradient(135deg, #050505, #1a1a1a); color: var(--white); }
.vrd-frame.bg-gradient { background: radial-gradient(ellipse at top right, rgba(207,184,124,0.08), transparent 55%), linear-gradient(135deg, #050505, #1a1a1a); color: var(--white); }
.vrd-frame.bg-dark { background: linear-gradient(135deg, #050505, #1a1a1a); color: var(--white); }
.vrd-frame.bg-img { background-size: cover; background-position: center; color: var(--white); }
.vrd-frame.bg-img > * { position: relative; z-index: 1; }

.vrd-frame .slide-link {
  position: absolute; top: 18px; right: 24px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 1px;
  color: rgba(255,255,255,0.6); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 14px;
  z-index: 5;
}
.vrd-frame.bg-white .slide-link { color: rgba(10,10,10,0.55); border-color: rgba(207,184,124,0.5); }
.vrd-frame .slide-link:hover { color: inherit; border-color: currentColor; }

.vrd-frame .slide-tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px; opacity: 0.7;
}
.vrd-frame h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.vrd-frame h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.5px; }
.vrd-frame h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.vrd-frame p, .vrd-frame li { font-size: 1.05rem; line-height: 1.7; font-weight: 400; }
.vrd-frame .subtitle { font-size: 1.3rem; font-weight: 300; line-height: 1.6; max-width: 700px; opacity: 0.9; }

.vrd-frame .highlight { color: var(--amber); font-weight: 700; }
.vrd-frame .highlight-teal { color: var(--teal-light); font-weight: 600; }

.vrd-frame .full-width { width: 100%; max-width: 1200px; }
.vrd-frame .text-center { text-align: center; }
.vrd-frame .text-left { text-align: left; }

.vrd-frame .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: 100%; max-width: 1100px; }
.vrd-frame .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; width: 100%; max-width: 1200px; }
.vrd-frame .grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; width: 100%; max-width: 1200px; }

.vrd-frame .card {
  background: rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
}
.vrd-frame .card-white {
  background: var(--white);
  border-radius: 16px; padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
}
.vrd-frame .card-white h3 { color: var(--blue); }

.vrd-frame .card-img {
  width: calc(100% + 64px);
  height: 160px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin: -32px -32px 20px -32px;
}

.vrd-frame .icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
  background: rgba(207,184,124,0.18);
}
.vrd-frame .card-white .icon-circle { background: rgba(207,184,124,0.16); }

.vrd-frame .stat-number { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.vrd-frame .stat-label {
  font-size: 0.9rem; font-weight: 500; opacity: 0.85;
  text-transform: uppercase; letter-spacing: 1px;
}

.vrd-frame ul.feature-list { list-style: none; padding: 0; }
.vrd-frame ul.feature-list li {
  padding: 8px 0 8px 28px; position: relative; font-size: 1rem;
}
.vrd-frame ul.feature-list li::before {
  content: '\2192'; position: absolute; left: 0;
  color: var(--amber); font-weight: 700;
}
.vrd-frame ul.check-list { list-style: none; padding: 0; }
.vrd-frame ul.check-list li {
  padding: 6px 0 6px 28px; position: relative; font-size: 0.95rem;
}
.vrd-frame ul.check-list li::before {
  content: '\2713'; position: absolute; left: 0;
  color: var(--teal-light); font-weight: 700;
}

.vrd-frame .comp-table {
  width: 100%; border-collapse: collapse; font-size: 0.78rem; max-width: 1100px;
}
.vrd-frame .comp-table th {
  background: rgba(255,255,255,0.15);
  padding: 10px 12px; text-align: left;
  font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.vrd-frame .comp-table td {
  padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.1); vertical-align: top;
}
.vrd-frame .comp-table tr.virridy-row td {
  background: rgba(207,184,124,0.20); font-weight: 500;
}

.vrd-frame .divider { width: 60px; height: 3px; background: var(--amber); margin: 20px 0; border-radius: 2px; }
.vrd-frame .divider-center { width: 60px; height: 3px; background: var(--amber); margin: 20px auto; border-radius: 2px; }

.vrd-frame .plotly-square { width: min(400px, 38vw); height: min(400px, 38vw); flex-shrink: 0; }

/* Slide 5 specific overrides — full-bleed map split */
.vrd-frame.vrd-map-frame { padding: 0; flex-direction: row; align-items: stretch; justify-content: stretch; }
.vrd-frame.vrd-map-frame > * { flex-shrink: 0; }

/* Leaflet popup neutral overrides */
.vrd-frame .leaflet-control-attribution { display: none; }
