/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    padding: 20px;
}

/* Container and layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    overflow: hidden;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Table of contents */
.toc {
    background: #f8f9fa;
    padding: 30px 40px;
    border-bottom: 1px solid #e9ecef;
}

.toc h2 {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #495057;
}

.toc ul {
    list-style: none;
    columns: 2;
    column-gap: 40px;
}

.toc li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.toc a {
    color: #0066cc;
    text-decoration: none;
    padding: 4px 0;
    display: block;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toc a:hover {
    color: #004499;
    background: rgba(0, 102, 204, 0.1);
    padding-left: 8px;
}

/* Main content */
.content {
    padding: 40px;
}

.section {
    margin-bottom: 40px;
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 16px;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    margin-top: 40px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    margin-top: 30px;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    margin-top: 20px;
}

p {
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Lists */
ul, ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

/* Code and monospace */
code {
    background: #f1f3f4;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.9em;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #667eea;
    padding: 16px 24px;
    margin: 24px 0;
    background: #f8f9ff;
    border-radius: 0 4px 4px 0;
}

blockquote p {
    margin-bottom: 8px;
    font-style: italic;
    color: #555;
}

blockquote cite {
    font-size: 0.9em;
    color: #777;
    font-style: normal;
}

/* Job entries */
.job-entry {
    background: #f8f9fa;
    padding: 20px;
    margin: 16px 0;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

.job-entry h4 {
    margin-bottom: 4px;
    color: #2c3e50;
}

.date {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 12px;
    font-style: italic;
}

/* Special sections */
.verification-link {
    background: #e8f5e8;
    padding: 16px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    margin: 16px 0;
}

.contact-info {
    background: #fff3cd;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    margin: 16px 0;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 30px 40px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #6c757d;
}

.footer hr {
    margin-bottom: 20px;
    border: none;
    height: 1px;
    background: #e9ecef;
}

/* Strong text styling */
strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Emphasis */
em {
    font-style: italic;
    color: #555;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .content {
        padding: 20px;
    }
    
    .toc {
        padding: 20px;
    }
    
    .toc ul {
        columns: 1;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
        padding: 0;
    }
    
    .container {
        box-shadow: none;
        border-radius: 0;
    }
    
    .header {
        background: none;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .toc a {
        text-decoration: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background: #667eea;
    color: white;
}

/* Press release and article styling */
.press-release {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.article-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.article-header h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.8rem;
}

.article-meta {
    color: #6c757d;
    font-size: 0.95em;
    margin-bottom: 0;
}

.article-content {
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 18px;
}

.article-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: #e8f4f8;
    border-left: 4px solid #007bff;
    border-radius: 0 6px 6px 0;
}

.article-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: #2c3e50;
    font-size: 1.05em;
}

.press-contact {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    margin-top: 30px;
}

.press-contact h4 {
    margin-bottom: 15px;
    color: #856404;
}

.press-contact p {
    margin-bottom: 10px;
    color: #495057;
}

/* Navigation styling for resources page */
header nav a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

header nav a:hover {
    opacity: 0.8;
}

/* Hidden elements for search engines */
.seo-hidden {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}
