/*
Theme Name: Auto Center
Theme URI: https://uxlthemes.com/eternal-child-themes/#auto-center
Author: UXL Themes
Author URI: https://uxlthemes.com/
Description: An Eternal child theme for car auto repair centers. Check out the full demo website at https://demo.wpstartersites.com/auto-center/ which is available to import with the Starter Sites plugin.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.1
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Template: eternal
Text Domain: auto-center
Tags: blog, e-commerce, entertainment, full-site-editing, style-variations, block-patterns, block-styles, template-editing, custom-colors, grid-layout, wide-blocks, custom-background, custom-header, custom-logo, custom-menu, editor-style, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, one-column, two-columns
*/


.nb-projects-wrap {
    max-width: 1180px;
    margin: 50px auto;
    padding: 0 20px;
}

.nb-projects-wrap h1 {
    text-align: center;
    margin-bottom: 40px;
}

.nb-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.nb-project-card {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.nb-project-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.nb-project-content {
    padding: 22px;
}

.nb-project-content h2 {
    margin-top: 0;
}

.nb-project-content h2 a {
    color: #111;
    text-decoration: none;
}

.nb-project-btn {
    display: inline-block;
    margin-top: 10px;
    background: #ffd400;
    color: #111;
    padding: 11px 18px;
    font-weight: 700;
    text-decoration: none;
}


/* Nutz and Bolts Projects Listing */
.nb-projects-grid {
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.nb-project-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.10);
    border: 1px solid #eee;
}

.nb-project-thumb {
    display: block;
    width: 100%;
}

.nb-project-thumb img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 !important;
}

.nb-project-content {
    padding: 24px;
}

.nb-project-content h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.nb-project-content h2 a {
    color: #111;
    text-decoration: none;
}

.nb-project-content p {
    margin: 0 0 20px;
}

.nb-project-btn {
    display: inline-block;
    background: #ffd400;
    color: #111 !important;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
}

.nb-project-btn:hover {
    background: #111;
    color: #ffd400 !important;
}

