/* Shared Stylesheet for Standalone Role Pages */

/* Global Reset & Container */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100dvh;
  background-color: #0f172a !important; /* Deep Slate Blue */
  color: #f8fafc;
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
  width: 90% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 24px 16px;
  box-sizing: border-box;
  display: block;
}

/* Video Card Styling */
.video-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.role-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.lang-badge {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 400;
  margin-left: 6px;
}

.anchor-link {
  color: #cbd5e1;
  font-size: 0.8rem;
  text-decoration: none;
  font-family: monospace;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.anchor-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

video {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 6px;
  background: #000;
  cursor: pointer;
}

/* SEO Intro Section Styling */
.role-intro {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 20px;
}

.role-intro h1 {
  font-size: 1.35rem;
  margin: 0 0 10px 0;
  color: #f8fafc;
  letter-spacing: 0.5px;
}

.intro-lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* Fix for visited link purple color */
a:visited {
  color: inherit;
}

/* Maintain soft steel blue for top navigation when visited */
.top-nav a:visited {
  color: #7dd3fc;
}

/* Maintain anchor links when visited */
.anchor-link:visited {
  color: #cbd5e1;
}