/* Mantec AI/RPA Træning - Custom Styling */

/* Hide author bylines and dates */
.f6.lh-copy.mv0,
.post-meta,
.byline,
header time,
.athelas.mt0.lh-title + .f6.lh-copy.mv0 {
    display: none !important;
}

/* Hide post header section entirely */
article header {
    display: none !important;
}

/* Improve article spacing without header */
article .article-content,
.nested-copy-line-height {
    padding-top: 2rem;
}

/* Base improvements */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #f5f7fa;
}

/* Compact business header - Force dark styling */
header .bg-dark-gray {
    background-color: #2c3e50 !important;
}

header nav {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #2c3e50 !important;
}

header a {
    color: white !important;
}

header .white-90,
header .white-70,
header .white-60 {
    color: white !important;
}

header .hover-white:hover {
    color: white !important;
}

/* Main content container */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Typography improvements */
h1 {
    color: #2c3e50 !important;
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    border-bottom: 3px solid #3498db !important;
    padding-bottom: 1rem !important;
}

h2 {
    color: #34495e;
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid #3498db;
    background: linear-gradient(90deg, #f8f9fa 0%, transparent 100%);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ecf0f1;
}

h4 {
    color: #34495e;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

/* Program sections styling */
.program-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #e74c3c;
}

/* Ski slope table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr:hover {
    background: #f8f9fa;
}

/* Skill level indicators */
.skill-green { color: #27ae60; font-weight: bold; }
.skill-blue { color: #3498db; font-weight: bold; }
.skill-red { color: #e74c3c; font-weight: bold; }
.skill-black { color: #2c3e50; font-weight: bold; }

/* Lists styling */
ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Checkmark lists */
li:has-text("✅") {
    list-style: none;
    margin-left: -1rem;
    padding: 0.5rem;
    background: #d5f4e6;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

/* Links styling */
a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

/* Resource sections */
.resources-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.resources-section h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.resources-section a {
    color: #fff;
    font-weight: 500;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin: 0.3rem;
    transition: all 0.3s ease;
}

.resources-section a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* YouTube embeds */
iframe {
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Contact section */
.contact-section {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.contact-section a {
    color: #3498db;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}

/* Print styles */
@media print {
    .deploy-widget {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
