﻿.blog-hero {
    position: relative;
    min-height: 280px;
    padding: 5rem 1rem;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    background: #0b3b3b center/cover no-repeat;
}

    .blog-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .45));
    }

    .blog-hero img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
    }

    .blog-hero.noimg {
        background: #f8f9fa;
        border-radius: 14px;
    }

.blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
}

.blog-hero .blog-hero-inner {
    max-width: 1000px;
}

.blog-wrap {
    max-width: 1000px;
}

.object-fit-cover {
    object-fit: cover;
}

.post-title {
    line-height: 1.2;
    font-weight: 800;
}

.post-meta {
    font-size: .95rem;
}

.prose {
    max-width: 780px;
}

    .prose p {
        line-height: 1.8;
        margin: .75rem 0;
        font-size: 1.0625rem;
    }

    .prose .lead {
        font-size: 1.2rem;
        color: #495057;
    }

    .prose h2 {
        font-size: 1.35rem;
        margin: 1.75rem 0 .5rem;
        font-weight: 700;
    }

    .prose ul {
        padding-left: 1.2rem;
    }

.blog-wrap .card {
    border: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

    .blog-wrap .card:hover {
        box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
        transform: translateY(-1px);
        transition: .12s;
    }

.blog-card {
    border-radius: 12px;
    border: 1px solid var(--ht-border-color, #e9ecef);
    transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
    background-color: #ffffff;
    overflow: hidden;
}

.blog-card .card-img-top {
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.blog-card .card-body {
    padding: 1.25rem;
}

.blog-card .card-title {
    color: var(--ht-primary, #7B1B38);
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease-in-out;
}

.blog-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--ht-text-gray, #6c757d);
    margin-bottom: 0.75rem;
}

.blog-card .blog-author {
    margin-right: 1rem;
}

.blog-card .card-text {
    color: var(--ht-text-dark, #333333);
    font-size: 0.95rem;
    line-height: 1.5;
}

.blog-card .card-footer {
    color: var(--ht-primary, #7B1B38);
    font-weight: 600;
    padding: 0.75rem 1.25rem 1.25rem;
    background: transparent;
    border-top: 0;
    transition: color 0.2s ease-in-out;
}

.blog-card:hover,
a:hover .blog-card {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.12) !important;
}

.blog-card:hover .card-title,
a:hover .blog-card .card-title {
    color: var(--ht-primary-hover, #8C233B);
}

.blog-card:hover .card-footer,
a:hover .blog-card .card-footer {
    color: var(--ht-primary-hover, #8C233B);
    text-decoration: underline;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.blog-content h2 {
    font-size: calc(1.275rem + .3vw);
    font-weight: 600;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .blog-content h2 {
        font-size: 1.5rem;
    }
}
