/*
Theme Name: Mechanical Engineering Insights
Theme URI: https://example.com/mechanical-engineering-insights
Author: WordPress Theme Developer
Author URI: https://example.com
Description: A professional WordPress block theme designed for mechanical engineering educational blogs. Features responsive design, technical content styling, engineering-specific block patterns, and optimized layouts for research papers, projects, and educational content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mechanical-engineering-insights
Tags: blog, education, engineering, full-site-editing, block-patterns, responsive-design, accessibility-ready, custom-colors, custom-menu, editor-style, featured-images, threaded-comments, translation-ready, wide-blocks

Mechanical Engineering Insights is a modern, fully responsive WordPress block theme specifically crafted for mechanical engineering education and research blogs. It includes specialized patterns for technical content, formulas, project showcases, and research publications.
*/

:root {
    --primary-color: #0066cc;
    --secondary-color: #003d7a;
    --accent-color: #ff6600;
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #dddddd;
    --code-bg: #f4f4f4;
    --success-color: #28a745;
    --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-technical: 'Courier New', Consolas, Monaco, monospace;
    --font-heading: 'Georgia', 'Times New Roman', serif;
}

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

code, pre {
    font-family: var(--font-technical);
    background-color: var(--code-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

pre {
    padding: 15px;
    overflow-x: auto;
    border-left: 3px solid var(--primary-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.engineering-formula {
    background-color: var(--light-bg);
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin: 20px 0;
    font-family: var(--font-technical);
}

.technical-note {
    background-color: #e8f4f8;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    table {
        font-size: 0.9em;
    }
}
