/*
Theme Name: Black Air Electric
Theme URI: https://blackairelectric.com
Author: Black Air
Author URI: https://blackairelectric.com
Description: Custom theme for Black Air Electric website
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: black-air-electric
Tags: custom-theme, black-air, electric
*/

/* Global styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #222;
}

a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    color: #111;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

/* Header/Footer Basic */
header, footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Container for content */
.content-area {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

/* Blog post grid */
.blog-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

/* Individual post card */
.post {
    width: 300px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px;
}

.post-title a {
    color: #222;
}

.post-excerpt {
    font-size: 15px;
    color: #666;
    margin: 0 15px 15px 15px;
}

/* Article (for main loop) */
article {
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

article img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-posts {
        flex-direction: column;
        align-items: center;
    }

    .post {
        width: 90%;
    }

    .content-area {
        padding: 10px;
    }

    h1, h2 {
        font-size: 24px;
    }
}
