/* css/blog.css */

.section-block {
    padding: 64px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 64px;
}

.section-heading .eyebrow {
    color: var(--theme-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.section-heading h1 {
    font-size: 48px;
    color: var(--theme-black);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-heading .subtitle {
    color: #333;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

h2 {
    color: var(--theme-black);
    font-size: 32px;
    margin-bottom: 40px;
    border-left: 5px solid var(--theme-orange);
    padding-left: 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 48px;
}

.blog-grid > a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card {
    background: var(--theme-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-grid > a:hover .blog-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper {
    overflow: hidden;
    height: 250px;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-grid > a:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-body {
    font-size: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    color: var(--theme-orange);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.blog-card h3 {
    font-size: 22px;
    color: var(--theme-black);
    margin-bottom: 16px;
    line-height: 1.4;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.blog-grid > a:hover .blog-card h3 {
    color: var(--theme-orange);
}

.blog-date {
    color: #333;
    font-size: 14px;
    margin-top: auto;
}

