/**
 * Webpixlab theme styles.
 *
 * @package Webpixlab
 * @author  Webpixlab Team <hello@webpixlab.com>
 * @since   1.0.0
 * @license GNU General Public License v2 or later
 */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1740px;
    margin: 0 auto;
    padding: 0 20px;
}

body .elementor section.elementor-element {
    padding-left: 20px;
    padding-right: 20px;
}

h1, h2, h3, h4, h5, h6, p, span {
    margin: 0;
}

body.elementor-editor-active .site-main article .entry-header,
body.elementor-editor-active .site-main article .entry-footer, 
body.elementor-editor-active .site-main article + .comment-respond {
    display: none;
}

.site-branding img {
    max-height: 50px;
}

.main-navigation {
    float: right;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    margin-left: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
}

.menu-toggle {
    display: none;
}

.site-main {
    padding: 40px 0;
}

.post-loop {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
    gap: 30px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.entry-title {
    font-size: 1.5em;
    margin: 0.5em 0;
}

.entry-meta {
    font-size: 0.9em;
    color: #666;
}

.site-footer {
    padding: 0;
    text-align: center;
}

.widget-area {
    margin-top: 40px;
}

.webpixlab-recent-posts li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.webpixlab-recent-posts .post-thumbnail {
    flex: 0 0 60px;
    margin-right: 10px;
}

.webpixlab-recent-posts .post-title {
    font-size: 1em;
}

.webpixlab-post-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
    gap: 20px;
}

.post-item img {
    width: 100%;
    height: auto;
}

.webpixlab-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9em;
}

.breadcrumbs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    margin-right: 10px;
}

.breadcrumb-item:not(.active)::after {
    content: '>';
    margin-left: 10px;
    color: #666;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #0073aa;
}

.breadcrumb-item.active {
    color: #333;
}

@media (max-width: 768px) {
    .main-navigation {
        float: none;
    }

    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #eee;
    }

    .main-navigation ul.active {
        display: block;
    }

    .main-navigation li {
        display: block;
        margin: 10px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1em;
        cursor: pointer;
    }

    .webpixlab-breadcrumbs {
        font-size: 0.85em;
    }

    .breadcrumb-item {
        margin-right: 8px;
    }

    .breadcrumb-item:not(.active)::after {
        margin-left: 8px;
    }
}