﻿/**
 * Resume Builder V3 - Template Styles
 * 20 Unique Templates for University Students
 */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Merriweather:wght@400;700&display=swap');

/* ========================================================================
   BASE STYLES & VARIABLES
   ======================================================================== */
:root {
  --rb-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rb-font-serif: 'Merriweather', Georgia, serif;
  --rb-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --rb-page-w: 210mm;
  --rb-page-h: 297mm;
  --rb-gap: 1rem;
  --rb-radius: 6px;
  --rb-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Reset for Templates */
.rb-html-template, .rb-html-template * { box-sizing: border-box; margin: 0; padding: 0; }
.rb-html-template { font-family: var(--rb-font-sans); font-size: 10pt; line-height: 1.5; color: #1a1a2e; }
.rb-html-template img { max-width: 100%; height: auto; display: block; }
.rb-html-template a { color: inherit; text-decoration: none; }
.rb-html-template ul { list-style: none; }

/* Page Container */
.rb-page {
  width: var(--rb-page-w);
  min-height: var(--rb-page-h);
  background: #fff;
  padding: 24px 28px;
  position: relative;
}
.rb-page.rb-dark { background: #1a1a2e; color: #e8e8e8; }

/* ========================================================================
   TYPOGRAPHY
   ======================================================================== */
.rb-name { font-size: 24pt; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px; }
.rb-headline { font-size: 11pt; font-weight: 500; opacity: 0.85; margin-bottom: 8px; }
.rb-section-title { font-size: 11pt; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid currentColor; }
.rb-subsection-title { font-size: 9pt; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin: 12px 0 6px; opacity: 0.7; }
.rb-entry-title { font-size: 11pt; font-weight: 600; margin-bottom: 2px; }
.rb-entry-subtitle { font-size: 9.5pt; opacity: 0.8; }
.rb-entry-dates { font-size: 9pt; font-weight: 500; opacity: 0.7; white-space: nowrap; }
.rb-summary-text { font-size: 10pt; line-height: 1.6; }

/* ========================================================================
   COMMON COMPONENTS
   ======================================================================== */
.rb-section { margin-bottom: 16px; }
.rb-section:last-child { margin-bottom: 0; }
.rb-entry { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.rb-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.rb-entry-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.rb-entry-primary { flex: 1; min-width: 0; }

/* Bullets */
.rb-bullets, .rb-highlights { padding-left: 16px; margin-top: 6px; }
.rb-bullets li, .rb-highlights li { position: relative; padding-left: 12px; margin-bottom: 3px; font-size: 9.5pt; }
.rb-bullets li::before, .rb-highlights li::before { content: '•'; position: absolute; left: 0; color: currentColor; opacity: 0.5; }

/* Tags */
.rb-skill-tags, .rb-interest-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rb-tag { display: inline-block; padding: 3px 10px; font-size: 8.5pt; font-weight: 500; background: rgba(0,0,0,0.06); border-radius: 20px; }
.rb-dark .rb-tag { background: rgba(255,255,255,0.1); }

/* Skills List */
.rb-skills-list { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.rb-skills-list li { font-size: 9.5pt; position: relative; padding-left: 10px; }
.rb-skills-list li::before { content: '›'; position: absolute; left: 0; opacity: 0.5; }

/* Contact */
.rb-contact-inline { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 9pt; }
.rb-contact-inline .rb-divider { opacity: 0.4; }
.rb-contact-list { display: flex; flex-direction: column; gap: 6px; font-size: 9pt; }
.rb-contact-item { display: flex; gap: 8px; }
.rb-contact-label { font-weight: 600; min-width: 60px; opacity: 0.7; }
.rb-links-inline { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 9pt; margin-top: 4px; }
.rb-links-inline a:hover { text-decoration: underline; }
.rb-links-list { display: flex; flex-direction: column; gap: 4px; font-size: 9pt; margin-top: 8px; }
.rb-link-item { display: flex; gap: 6px; }
.rb-link-label { font-weight: 600; min-width: 60px; }

/* Photos */
.rb-photo img, .rb-sidebar-photo img, .rb-header-photo img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; }
.rb-header-photo-round img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--rb-shadow); }

/* Certifications & Languages */
.rb-cert-item, .rb-lang-item, .rb-award-item { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 9pt; margin-bottom: 6px; align-items: baseline; }
.rb-cert-name, .rb-lang-name, .rb-award-title { font-weight: 600; }
.rb-cert-issuer, .rb-lang-prof, .rb-award-issuer { opacity: 0.7; }
.rb-cert-year, .rb-award-year { font-size: 8.5pt; opacity: 0.6; }

/* Two Column Layout */
.rb-two-col { display: flex; gap: 24px; }
.rb-col-main { flex: 1.5; min-width: 0; }
.rb-col-side { flex: 1; min-width: 0; }

/* ========================================================================
   TEMPLATE 1: SIDEBAR PROFESSIONAL
   ======================================================================== */
.rb-tpl-sidebar-professional { display: flex; gap: 0; padding: 0; }
.rb-tpl-sidebar-professional .rb-sidebar { width: 200px; flex-shrink: 0; background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%); color: #fff; padding: 24px 18px; }
.rb-tpl-sidebar-professional .rb-sidebar .rb-sidebar-photo { margin-bottom: 16px; text-align: center; }
.rb-tpl-sidebar-professional .rb-sidebar .rb-sidebar-photo img { width: 100px; height: 100px; margin: 0 auto; border: 3px solid rgba(255,255,255,0.2); }
.rb-tpl-sidebar-professional .rb-sidebar .rb-section-title { font-size: 9pt; border-color: rgba(255,255,255,0.3); color: #fff; }
.rb-tpl-sidebar-professional .rb-sidebar .rb-tag { background: rgba(255,255,255,0.15); }
.rb-tpl-sidebar-professional .rb-main { flex: 1; padding: 28px 24px; }
.rb-tpl-sidebar-professional .rb-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #2c3e50; }
.rb-tpl-sidebar-professional .rb-header .rb-name { color: #2c3e50; }

/* ========================================================================
   TEMPLATE 2: EDITORIAL A4
   ======================================================================== */
.rb-tpl-editorial-a4 .rb-header-editorial { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 3px solid #0066cc; }
.rb-tpl-editorial-a4 .rb-header-left { display: flex; gap: 16px; align-items: center; }
.rb-tpl-editorial-a4 .rb-header-photo img { width: 72px; height: 72px; }
.rb-tpl-editorial-a4 .rb-name { color: #0066cc; font-size: 22pt; }
.rb-tpl-editorial-a4 .rb-section-title { color: #0066cc; border-color: #0066cc; }

/* ========================================================================
   TEMPLATE 3: CLEAN COLUMN
   ======================================================================== */
.rb-tpl-clean-column .rb-header-clean { text-align: center; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #e0e0e0; }
.rb-tpl-clean-column .rb-name { font-size: 26pt; color: #222; }
.rb-tpl-clean-column .rb-headline { font-size: 12pt; color: #666; margin-bottom: 12px; }
.rb-tpl-clean-column .rb-contact-bar { justify-content: center; }
.rb-tpl-clean-column .rb-section-title { text-align: left; color: #333; border-color: #333; }

/* ========================================================================
   TEMPLATE 4: SPLIT PRO
   ======================================================================== */
.rb-tpl-split-pro .rb-header-split { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; margin: -24px -28px 20px; padding: 24px 28px; }
.rb-tpl-split-pro .rb-header-identity { display: flex; gap: 16px; align-items: center; }
.rb-tpl-split-pro .rb-header-photo-round img { border-color: rgba(255,255,255,0.3); }
.rb-tpl-split-pro .rb-section-title { color: #667eea; border-color: #667eea; }
.rb-tpl-split-pro .rb-tag { background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.15)); }

/* ========================================================================
   TEMPLATE 5: COMPACT LINE
   ======================================================================== */
.rb-tpl-compact-line .rb-header-compact { border-bottom: 3px solid #2d3436; padding-bottom: 12px; margin-bottom: 16px; }
.rb-tpl-compact-line .rb-header-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.rb-tpl-compact-line .rb-name { font-size: 20pt; }
.rb-tpl-compact-line .rb-headline { font-size: 11pt; color: #636e72; }
.rb-tpl-compact-line .rb-summary-compact { font-size: 9.5pt; padding: 10px 14px; background: #f8f9fa; border-left: 3px solid #2d3436; margin-bottom: 16px; }
.rb-tpl-compact-line .rb-compact-grid { display: flex; gap: 20px; }
.rb-tpl-compact-line .rb-compact-main { flex: 2; }
.rb-tpl-compact-line .rb-compact-side { flex: 1; }
.rb-tpl-compact-line .rb-section-title { font-size: 9pt; }
.rb-tpl-compact-line .rb-entry { margin-bottom: 8px; padding-bottom: 6px; }

/* ========================================================================
   TEMPLATE 6: SIDEBAR SOFT
   ======================================================================== */
.rb-tpl-sidebar-soft { display: flex; gap: 0; padding: 0; }
.rb-tpl-sidebar-soft .rb-sidebar-soft { width: 210px; background: #f0f4f8; padding: 24px 18px; }
.rb-tpl-sidebar-soft .rb-sidebar-header { text-align: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #d0dce8; }
.rb-tpl-sidebar-soft .rb-sidebar-photo-soft img { width: 90px; height: 90px; margin: 0 auto 12px; border-radius: 50%; }
.rb-tpl-sidebar-soft .rb-name { font-size: 14pt; color: #2d3748; }
.rb-tpl-sidebar-soft .rb-headline { font-size: 9pt; color: #4a5568; }
.rb-tpl-sidebar-soft .rb-main-soft { flex: 1; padding: 24px; }
.rb-tpl-sidebar-soft .rb-section-title { color: #2d3748; border-color: #cbd5e0; }

/* ========================================================================
   TEMPLATE 7: MINIMAL BAND
   ======================================================================== */
.rb-tpl-minimal-band .rb-header-band { background: #1a1a2e; color: #fff; margin: -24px -28px 24px; padding: 32px 28px; }
.rb-tpl-minimal-band .rb-band-content { text-align: center; }
.rb-tpl-minimal-band .rb-name { font-size: 28pt; letter-spacing: 0.05em; }
.rb-tpl-minimal-band .rb-headline { color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.rb-tpl-minimal-band .rb-band-contact { justify-content: center; color: rgba(255,255,255,0.7); }
.rb-tpl-minimal-band .rb-section-title { border-color: #1a1a2e; color: #1a1a2e; }
.rb-tpl-minimal-band .rb-row-sections { display: flex; gap: 24px; margin-top: 16px; }
.rb-tpl-minimal-band .rb-row-sections .rb-section { flex: 1; }

/* ========================================================================
   TEMPLATE 8: CLARITY ONE
   ======================================================================== */
.rb-tpl-clarity-one .rb-header-clarity { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid #00b894; }
.rb-tpl-clarity-one .rb-name { color: #00b894; }
.rb-tpl-clarity-one .rb-clarity-contact { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.rb-tpl-clarity-one .rb-section-title { color: #00b894; border-color: #00b894; }
.rb-tpl-clarity-one .rb-tag { background: rgba(0,184,148,0.12); color: #00b894; }

/* ========================================================================
   TEMPLATE 9: LEDGER PRO
   ======================================================================== */
.rb-tpl-ledger-pro .rb-ledger-bar { display: flex; justify-content: space-between; align-items: center; background: #2d3436; color: #fff; margin: -24px -28px 20px; padding: 20px 28px; }
.rb-tpl-ledger-pro .rb-ledger-name h1 { font-size: 20pt; margin-bottom: 2px; }
.rb-tpl-ledger-pro .rb-ledger-name span { font-size: 10pt; opacity: 0.8; }
.rb-tpl-ledger-pro .rb-ledger-summary { font-size: 10pt; padding: 12px 16px; background: #f5f6fa; border-left: 4px solid #2d3436; margin-bottom: 20px; }
.rb-tpl-ledger-pro .rb-ledger-cols { display: flex; gap: 24px; }
.rb-tpl-ledger-pro .rb-ledger-main { flex: 1.6; }
.rb-tpl-ledger-pro .rb-ledger-side { flex: 1; }
.rb-tpl-ledger-pro .rb-section-title { color: #2d3436; }

/* ========================================================================
   TEMPLATE 10: TIMELINE LITE
   ======================================================================== */
.rb-tpl-timeline-lite .rb-header-timeline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid #6c5ce7; }
.rb-tpl-timeline-lite .rb-timeline-identity { display: flex; gap: 14px; align-items: center; }
.rb-tpl-timeline-lite .rb-timeline-photo img { width: 60px; height: 60px; }
.rb-tpl-timeline-lite .rb-name { color: #6c5ce7; }
.rb-tpl-timeline-lite .rb-timeline-grid { display: flex; gap: 24px; }
.rb-tpl-timeline-lite .rb-timeline-main { flex: 1.5; position: relative; padding-left: 20px; border-left: 2px solid #6c5ce7; }
.rb-tpl-timeline-lite .rb-timeline-main .rb-entry::before { content: ''; position: absolute; left: -6px; width: 10px; height: 10px; background: #6c5ce7; border-radius: 50%; }
.rb-tpl-timeline-lite .rb-timeline-side { flex: 1; }
.rb-tpl-timeline-lite .rb-section-title { color: #6c5ce7; border-color: #6c5ce7; }

/* ========================================================================
   DARK TEMPLATES
   ======================================================================== */

/* TEMPLATE 11: NEON GRID */
.rb-tpl-neon-grid { background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%); }
.rb-tpl-neon-grid .rb-header-neon { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid #00f5d4; }
.rb-tpl-neon-grid .rb-neon-identity { display: flex; gap: 16px; align-items: center; }
.rb-tpl-neon-grid .rb-neon-photo img { width: 64px; height: 64px; border: 2px solid #00f5d4; }
.rb-tpl-neon-grid .rb-name { color: #00f5d4; text-shadow: 0 0 20px rgba(0,245,212,0.3); }
.rb-tpl-neon-grid .rb-section-title { color: #00f5d4; border-color: #00f5d4; }
.rb-tpl-neon-grid .rb-tag { background: rgba(0,245,212,0.15); color: #00f5d4; border: 1px solid rgba(0,245,212,0.3); }
.rb-tpl-neon-grid .rb-neon-grid { display: flex; gap: 24px; }
.rb-tpl-neon-grid .rb-neon-main { flex: 1.5; }
.rb-tpl-neon-grid .rb-neon-side { flex: 1; }

/* TEMPLATE 12: STUDIO MONO */
.rb-tpl-studio-mono { background: #121212; font-family: var(--rb-font-mono); }
.rb-tpl-studio-mono .rb-header-mono { text-align: center; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #333; }
.rb-tpl-studio-mono .rb-name { font-size: 22pt; letter-spacing: 0.1em; text-transform: uppercase; }
.rb-tpl-studio-mono .rb-headline { font-family: var(--rb-font-mono); letter-spacing: 0.05em; color: #888; }
.rb-tpl-studio-mono .rb-mono-bar { margin-top: 12px; color: #666; }
.rb-tpl-studio-mono .rb-section-title { font-size: 10pt; letter-spacing: 0.15em; border-bottom: 1px dashed #444; }
.rb-tpl-studio-mono .rb-skills-list li::before { content: '//'; font-size: 8pt; }

/* TEMPLATE 13: AURORA SPLIT */
.rb-tpl-aurora-split { display: flex; gap: 0; padding: 0; background: #1e1e2f; }
.rb-tpl-aurora-split .rb-aurora-sidebar { width: 210px; background: linear-gradient(180deg, #4c1d95 0%, #2e1065 100%); padding: 24px 18px; }
.rb-tpl-aurora-split .rb-aurora-header { text-align: center; margin-bottom: 20px; }
.rb-tpl-aurora-split .rb-aurora-photo img { width: 90px; height: 90px; margin: 0 auto 12px; border: 3px solid rgba(255,255,255,0.2); }
.rb-tpl-aurora-split .rb-name { font-size: 14pt; color: #fff; }
.rb-tpl-aurora-split .rb-aurora-main { flex: 1; padding: 24px; }
.rb-tpl-aurora-split .rb-section-title { color: #a78bfa; border-color: #a78bfa; }
.rb-tpl-aurora-split .rb-tag { background: rgba(167,139,250,0.2); color: #a78bfa; }

/* TEMPLATE 14: EDITORIAL QUARTZ */
.rb-tpl-editorial-quartz { background: #1a1a2e; }
.rb-tpl-editorial-quartz .rb-header-quartz { display: flex; justify-content: space-between; background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 100%); margin: -24px -28px 20px; padding: 24px 28px; border-bottom: 3px solid #ffd700; }
.rb-tpl-editorial-quartz .rb-quartz-left { display: flex; gap: 16px; align-items: center; }
.rb-tpl-editorial-quartz .rb-quartz-photo img { width: 70px; height: 70px; border: 2px solid #ffd700; }
.rb-tpl-editorial-quartz .rb-name { color: #ffd700; }
.rb-tpl-editorial-quartz .rb-section-title { color: #ffd700; border-color: #ffd700; }
.rb-tpl-editorial-quartz .rb-quartz-cols { display: flex; gap: 24px; }
.rb-tpl-editorial-quartz .rb-quartz-main { flex: 1.5; }
.rb-tpl-editorial-quartz .rb-quartz-side { flex: 1; }

/* TEMPLATE 15: PRISM BLOCKS */
.rb-tpl-prism-blocks { background: #16161a; }
.rb-tpl-prism-blocks .rb-header-prism { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid #7f5af0; }
.rb-tpl-prism-blocks .rb-name { color: #7f5af0; }
.rb-tpl-prism-blocks .rb-prism-summary { padding: 14px 18px; background: rgba(127,90,240,0.1); border-radius: 8px; margin-bottom: 20px; }
.rb-tpl-prism-blocks .rb-prism-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.rb-tpl-prism-blocks .rb-prism-block { background: rgba(255,255,255,0.03); border-radius: 8px; padding: 16px; border: 1px solid rgba(127,90,240,0.2); }
.rb-tpl-prism-blocks .rb-section-title { color: #7f5af0; border: none; margin-bottom: 12px; }
.rb-tpl-prism-blocks .rb-prism-footer { display: flex; gap: 20px; }

/* TEMPLATE 16: CANVAS PORTFOLIO */
.rb-tpl-canvas-portfolio { background: #0d1117; }
.rb-tpl-canvas-portfolio .rb-header-canvas { margin: -24px -28px 24px; padding: 0; }
.rb-tpl-canvas-portfolio .rb-canvas-hero { display: flex; gap: 20px; align-items: center; background: linear-gradient(135deg, #238636 0%, #1a7f37 100%); padding: 28px; }
.rb-tpl-canvas-portfolio .rb-canvas-photo img { width: 80px; height: 80px; border: 3px solid rgba(255,255,255,0.3); }
.rb-tpl-canvas-portfolio .rb-name { color: #fff; }
.rb-tpl-canvas-portfolio .rb-section-title { color: #58a6ff; border-color: #30363d; }
.rb-tpl-canvas-portfolio .rb-canvas-grid { display: flex; gap: 24px; }
.rb-tpl-canvas-portfolio .rb-canvas-left { flex: 1.5; }
.rb-tpl-canvas-portfolio .rb-canvas-right { flex: 1; }
.rb-tpl-canvas-portfolio .rb-tag { background: rgba(88,166,255,0.15); color: #58a6ff; }

/* TEMPLATE 17: HELIX TIMELINE */
.rb-tpl-helix-timeline { background: #141414; }
.rb-tpl-helix-timeline .rb-header-helix { text-align: center; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 2px solid #e63946; }
.rb-tpl-helix-timeline .rb-name { color: #e63946; font-size: 26pt; }
.rb-tpl-helix-timeline .rb-helix-bar { margin-top: 10px; justify-content: center; }
.rb-tpl-helix-timeline .rb-helix-summary { text-align: center; max-width: 600px; margin: 0 auto 24px; }
.rb-tpl-helix-timeline .rb-helix-track { position: relative; padding-left: 24px; border-left: 3px solid #e63946; }
.rb-tpl-helix-timeline .rb-helix-track .rb-entry { position: relative; }
.rb-tpl-helix-timeline .rb-helix-track .rb-entry::before { content: ''; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; background: #e63946; border-radius: 50%; }
.rb-tpl-helix-timeline .rb-section-title { color: #e63946; border-color: #e63946; }
.rb-tpl-helix-timeline .rb-helix-bottom { display: flex; gap: 24px; margin-top: 24px; }

/* TEMPLATE 18: METRO CARDSTACK */
.rb-tpl-metro-cardstack { background: #1e1e1e; }
.rb-tpl-metro-cardstack .rb-header-metro { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 3px solid #0078d4; }
.rb-tpl-metro-cardstack .rb-metro-identity { display: flex; gap: 14px; align-items: center; }
.rb-tpl-metro-cardstack .rb-metro-photo img { width: 56px; height: 56px; border-radius: 4px; }
.rb-tpl-metro-cardstack .rb-name { color: #0078d4; }
.rb-tpl-metro-cardstack .rb-metro-card { background: #252526; border-radius: 8px; padding: 16px; margin-bottom: 12px; border-left: 4px solid #0078d4; }
.rb-tpl-metro-cardstack .rb-metro-summary { text-align: center; border-left: none; background: rgba(0,120,212,0.1); }
.rb-tpl-metro-cardstack .rb-metro-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rb-tpl-metro-cardstack .rb-section-title { color: #0078d4; border: none; }

/* TEMPLATE 19: NOVA SHADOW */
.rb-tpl-nova-shadow { display: flex; gap: 0; padding: 0; background: #0f0f0f; }
.rb-tpl-nova-shadow .rb-nova-sidebar { width: 200px; background: linear-gradient(180deg, #1f1f1f 0%, #0f0f0f 100%); padding: 24px 18px; border-right: 1px solid #333; }
.rb-tpl-nova-shadow .rb-nova-header { text-align: center; margin-bottom: 20px; }
.rb-tpl-nova-shadow .rb-nova-photo img { width: 90px; height: 90px; margin: 0 auto 12px; border: 2px solid #ff6b6b; box-shadow: 0 0 20px rgba(255,107,107,0.3); }
.rb-tpl-nova-shadow .rb-name { font-size: 14pt; color: #ff6b6b; }
.rb-tpl-nova-shadow .rb-nova-main { flex: 1; padding: 24px; }
.rb-tpl-nova-shadow .rb-section-title { color: #ff6b6b; border-color: #ff6b6b; }
.rb-tpl-nova-shadow .rb-tag { background: rgba(255,107,107,0.15); color: #ff6b6b; }

/* TEMPLATE 20: RETRO SWISS */
.rb-tpl-retro-swiss { background: #1a1a1a; font-family: var(--rb-font-sans); }
.rb-tpl-retro-swiss .rb-header-swiss { display: flex; justify-content: space-between; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 6px solid #ff5722; }
.rb-tpl-retro-swiss .rb-swiss-block .rb-name { font-size: 32pt; font-weight: 900; text-transform: uppercase; color: #fff; letter-spacing: -0.02em; }
.rb-tpl-retro-swiss .rb-swiss-block .rb-headline { color: #ff5722; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.rb-tpl-retro-swiss .rb-swiss-intro { font-size: 11pt; border-left: 4px solid #ff5722; padding-left: 16px; margin-bottom: 24px; }
.rb-tpl-retro-swiss .rb-swiss-grid { display: flex; gap: 32px; }
.rb-tpl-retro-swiss .rb-swiss-col { flex: 1; }
.rb-tpl-retro-swiss .rb-section-title { color: #ff5722; border-color: #ff5722; text-transform: uppercase; letter-spacing: 0.15em; }

/* ========================================================================
   MINI PREVIEW STYLES
   ======================================================================== */
.rb-html-mini { transform: scale(0.18); transform-origin: top left; width: 210mm; height: 297mm; pointer-events: none; overflow: hidden; }
.rb-html-mini .rb-page { box-shadow: none; }

/* ========================================================================
   PRINT STYLES
   ======================================================================== */
@media print {
  .rb-html-template { font-size: 10pt; }
  .rb-page { box-shadow: none; margin: 0; padding: 20px 24px; }
  .rb-dark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
