/* RSG Training Page: page styles, moved from the old plugin template. Menu and footer rules removed (they live in base.css). */
:root {
  --rsg-black:    #000000;
  --rsg-ink:      #1A1E2D;
  --rsg-white:    #FFFFFF;
  --rsg-paper:    #F2F2F2;
  --rsg-red:      #BE3431;
  --rsg-red-deep: #8E2724;
  --rsg-red-soft: #D55F5B;
  --rsg-grey-700: #595959;
  --rsg-grey-500: #888888;
  --rsg-grey-100: #E3E3E3;
  --font: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font) !important; font-weight: 300;
  color: var(--rsg-black); background: var(--rsg-white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* NAV */

/* AMBIENT */
.rsg-grid-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 64px 64px;
}
.rsg-topo-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200'%3E%3Cellipse cx='200' cy='100' rx='190' ry='90' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.06'/%3E%3Cellipse cx='200' cy='100' rx='155' ry='72' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.05'/%3E%3Cellipse cx='200' cy='100' rx='120' ry='54' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.045'/%3E%3Cellipse cx='200' cy='100' rx='85' ry='38' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 400px 200px; background-repeat: repeat; opacity: 0.6;
}
.rsg-ambient-coord {
  position: absolute; font-family: 'Courier New', monospace;
  font-size: 10px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.22); pointer-events: none; z-index: 1;
}

/* HERO */
.rsg-hero {
  min-height: 100vh; background: var(--rsg-black);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 120px 56px 100px;
}
.rsg-hero-content { position: relative; z-index: 2; max-width: 800px; }
.rsg-hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.rsg-hero-eyebrow-line { width: 40px; height: 2px; background: var(--rsg-red); }
.rsg-hero-eyebrow-text { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rsg-red); }
.rsg-hero-headline { font-size: clamp(40px, 5.5vw, 72px); font-weight: 900; line-height: 1.02; color: var(--rsg-white); letter-spacing: -0.02em; margin-bottom: 28px; }
.rsg-hero-headline em { font-style: normal; color: var(--rsg-red); }
.rsg-hero-sub { font-size: 17px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.62); max-width: 560px; margin-bottom: 44px; }
.rsg-hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rsg-btn-primary { display: inline-block; background: var(--rsg-red); color: #fff; padding: 16px 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s; }
.rsg-btn-primary:hover { background: var(--rsg-red-soft); }
.rsg-btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.rsg-btn-ghost:hover { color: #fff; }
.rsg-btn-ghost svg { transition: transform 0.2s; }
.rsg-btn-ghost:hover svg { transform: translateX(4px); }
.rsg-hero-scan-line { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--rsg-red), transparent); opacity: 0.4; }
.rsg-hero-side-accent { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 2; }
.rsg-accent-stat { text-align: right; }
.rsg-accent-stat-num { font-size: 42px; font-weight: 900; color: var(--rsg-red); line-height: 1; letter-spacing: -0.03em; }
.rsg-accent-stat-label { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 4px; }
.rsg-accent-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); align-self: flex-end; }

/* CRED BAR */
.rsg-cred-bar { background: var(--rsg-ink); border-bottom: 1px solid rgba(255,255,255,0.07); display: flex !important; align-items: center !important; gap: 0; flex-wrap: nowrap; overflow: hidden; }
.rsg-cred-item { display: flex !important; align-items: center !important; gap: 8px; padding: 0 16px; height: 48px; border-right: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.rsg-cred-item:last-child { border-right: none; }
.rsg-cred-item svg { flex-shrink: 0; display: block !important; align-self: center; }
.rsg-cred-item p { font-size: 11.5px !important; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.75); white-space: nowrap; line-height: 1 !important; margin: 0 !important; padding: 0 !important; }

/* STAT BAND */
.rsg-stat-band { background: var(--rsg-paper); border-top: 3px solid var(--rsg-red); padding: 56px; }
.rsg-stat-band-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.rsg-stat-item { padding: 0 32px; border-right: 1px solid var(--rsg-grey-100); text-align: center; }
.rsg-stat-item:first-child { padding-left: 0; }
.rsg-stat-item:last-child { border-right: none; padding-right: 0; }
.rsg-stat-number { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; color: var(--rsg-black); line-height: 1; }
.rsg-stat-number em { font-style: normal; color: var(--rsg-red); }
.rsg-stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rsg-grey-500); margin-top: 8px; }
.rsg-stat-note { font-size: 11px; color: var(--rsg-grey-500); margin-top: 6px; line-height: 1.4; }

/* SHARED SECTION */
.rsg-section { padding: 96px 56px; }
.rsg-section-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rsg-section-eyebrow-line { width: 32px; height: 2px; background: var(--rsg-red); }
.rsg-section-eyebrow-text { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rsg-red); }
.rsg-section-headline { font-size: clamp(28px, 3.5vw, 44px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; color: var(--rsg-black); max-width: 640px; margin-bottom: 16px; }
.rsg-section-sub { font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--rsg-grey-700); max-width: 600px; margin-bottom: 56px; }

/* CATEGORY TABS */
.rsg-cat-nav { max-width: 1200px; margin: 0 auto 48px; display: flex; gap: 2px; flex-wrap: wrap; }
.rsg-cat-btn {
  padding: 10px 24px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--rsg-paper); color: var(--rsg-grey-500);
  border: none; cursor: pointer; transition: background 0.2s, color 0.2s; font-family: var(--font);
}
.rsg-cat-btn:hover { background: var(--rsg-grey-100); color: var(--rsg-black); }
.rsg-cat-btn.active { background: var(--rsg-red); color: #fff; }

/* TRAINING GRID */
.rsg-training-section { background: var(--rsg-white); }
.rsg-training-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.rsg-course-card {
  background: var(--rsg-paper); padding: 40px 36px;
  border-top: 3px solid transparent; transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.rsg-course-card:hover { border-top-color: var(--rsg-red); background: #eaeaea; }
.rsg-course-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rsg-red); margin-bottom: 16px;
}
.rsg-course-icon { width: 48px; height: 48px; background: var(--rsg-black); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.rsg-course-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--rsg-black); margin-bottom: 12px; line-height: 1.3; }
.rsg-course-desc { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--rsg-grey-700); }
.rsg-course-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rsg-grey-100); }
.rsg-course-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rsg-grey-500); }
.rsg-course-free { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rsg-red); background: rgba(190,52,49,0.08); padding: 3px 10px; }

/* DELIVERY SECTION */
.rsg-delivery-section { background: var(--rsg-black); }
.rsg-delivery-section .rsg-section-headline { color: var(--rsg-white); }
.rsg-delivery-section .rsg-section-sub { color: rgba(255,255,255,0.5); }
.rsg-delivery-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.rsg-delivery-card { background: rgba(255,255,255,0.04); padding: 40px 32px; border-bottom: 3px solid transparent; transition: border-color 0.25s, background 0.25s; }
.rsg-delivery-card:hover { border-bottom-color: var(--rsg-red); background: rgba(255,255,255,0.07); }
.rsg-delivery-icon { width: 44px; height: 44px; background: rgba(190,52,49,0.15); border: 1px solid rgba(190,52,49,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.rsg-delivery-title { font-size: 16px; font-weight: 700; color: var(--rsg-white); letter-spacing: -0.01em; margin-bottom: 12px; }
.rsg-delivery-desc { font-size: 13px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.5); }

/* AUDIENCE SECTION */
.rsg-audience-section { background: var(--rsg-paper); }
.rsg-audience-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rsg-audience-list { display: flex; flex-direction: column; gap: 0; }
.rsg-audience-item { display: flex; align-items: flex-start; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--rsg-grey-100); }
.rsg-audience-item:first-child { padding-top: 0; }
.rsg-audience-item:last-child { border-bottom: none; padding-bottom: 0; }
.rsg-audience-num { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rsg-red); white-space: nowrap; padding-top: 2px; }
.rsg-audience-text-wrap {}
.rsg-audience-title { font-size: 17px; font-weight: 700; color: var(--rsg-black); letter-spacing: -0.01em; margin-bottom: 6px; }
.rsg-audience-desc { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--rsg-grey-700); }
.rsg-audience-right { position: relative; }
.rsg-audience-callout { background: var(--rsg-black); padding: 48px; }
.rsg-callout-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rsg-red); margin-bottom: 20px; }
.rsg-callout-headline { font-size: 28px; font-weight: 900; color: var(--rsg-white); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; }
.rsg-callout-body { font-size: 14px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 28px; }
.rsg-callout-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rsg-red); transition: gap 0.2s; }
.rsg-callout-link:hover { gap: 14px; }

/* TRUST BAR */
.rsg-trust-bar { background: var(--rsg-ink); padding: 20px 56px; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.rsg-trust-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.rsg-trust-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.1); }

/* CTA */
.rsg-cta-section { background: var(--rsg-black); padding: 120px 56px; position: relative; overflow: hidden; text-align: center; }
.rsg-cta-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.rsg-cta-eyebrow-line { width: 32px; height: 2px; background: var(--rsg-red); }
.rsg-cta-eyebrow-text { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rsg-red); }
.rsg-cta-headline { font-size: clamp(30px, 4vw, 52px); font-weight: 900; color: var(--rsg-white); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.rsg-cta-sub { font-size: 16px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.5); max-width: 480px; margin: 0 auto 44px; }
.rsg-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */

/* REVEAL */
.rsg-reveal { opacity: 0; transform: translateY(28px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .rsg-hero { padding: 120px 24px 80px; }
  .rsg-hero-side-accent { display: none; }
  .rsg-section { padding: 72px 24px; }
  .rsg-stat-band { padding: 48px 24px; }
  .rsg-stat-band-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .rsg-stat-item { border-right: none; padding: 0; }
  .rsg-training-grid { grid-template-columns: 1fr 1fr; }
  .rsg-delivery-grid { grid-template-columns: 1fr 1fr; }
  .rsg-audience-inner { grid-template-columns: 1fr; gap: 48px; }
  .rsg-trust-bar { padding: 20px 24px; gap: 24px; }
  .rsg-cta-section { padding: 80px 24px; }}
@media (max-width: 640px) {
  .rsg-hero { padding: 100px 16px 72px; }
  .rsg-section { padding: 56px 16px; }
  .rsg-stat-band { padding: 40px 16px; }
  .rsg-stat-band-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .rsg-training-grid { grid-template-columns: 1fr; }
  .rsg-delivery-grid { grid-template-columns: 1fr; }
  .rsg-cta-section { padding: 64px 16px; }
  .rsg-cred-bar { overflow-x: auto; }
  .rsg-trust-bar { padding: 16px; gap: 16px; }
  .rsg-trust-sep { display: none; }}

/* Link in a course card footer (added with the two DPS certification courses) */
.rsg-course-link { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rsg-red); text-decoration: none; transition: color 0.2s; }
.rsg-course-link:hover { color: var(--rsg-red-soft); }
