/* css/blog.css */
.blog-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: min(620px, 70vh);
    background-color: var(--theme-black);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 48px;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.blog-hero .eyebrow {
    color: var(--theme-orange, #F37021);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.blog-hero h1 {
    color: #ffffff;
    font-size: clamp(42px, 6vw, 72px);
    max-width: 980px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.2;
    font-family: var(--font-heading, serif);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.blog-hero .hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 17px;
    color: #f0f0f0;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.blog-content-section {
    padding: 0 20px 60px;
}

.section-block {
    padding-bottom: 10px;
    max-width: var(--content-max-width);
    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: clamp(40px, 6vw, 68px);
    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(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
    max-width: 1000px;
    margin: 0 auto;
}

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

.blog-card {
    background: var(--theme-white);
    border-radius: 2px;
    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;
    width: 100%;
    height: 390px;
    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: 190px;
}

.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: 20px;
    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: 10px;
}

.blog-card h3 {
    font-size: 22px;
    color: var(--theme-black);
    margin-bottom: 12px;
    line-height: 1.25;
    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;
}

@media (max-width: 980px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        height: 370px;
    }

    .image-wrapper {
        height: 180px;
    }

    .blog-card-body {
        padding: 24px;
    }
}


