/* Blog listing & detail — orange accent matches site (#F08143) */

.blog-page-title {
    font-weight: 700;
    color: #F08143;
    font-size: 2.5rem;
}

.blog-section-title {
    font-weight: 600;
    color: #F08143;
    font-size: 1.35rem;
}

.blog-filter-btn {
    border: 1px solid #e0e0e0;
    background: #f5f5f5;
    color: #333;
    font-size: 0.875rem;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
}

.blog-filter-btn:hover {
    background: #eee;
    color: #111;
}

.blog-filter-btn.active {
    background: #F08143;
    border-color: #F08143;
    color: #fff;
}

.blog-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.blog-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f0f0f0;
}

.blog-card-img-wrap img {
    object-fit: cover;
    height: 100%;
    display: block;
}

.blog-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(60, 60, 60, 0.75);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    max-width: calc(100% - 20px);
}

.blog-cat-badge--inline {
    position: static;
    display: inline-block;
}

.blog-post-card {
    border: 1px solid #f0b79c; /* light orange like screenshot */
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.blog-post-media {
    position: relative;
    background: #f0f0f0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-post-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    filter: blur(18px);
    transform: scale(1.15);
    opacity: 0.65;
}

.blog-post-media picture,
.blog-post-media img {
    display: block;
    width: 100%;
}

.blog-post-media picture {
    position: relative;
    z-index: 1;
    height: 100%;
}

.blog-post-media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(0.88);
    border-radius: 10px;
}

.blog-post-body {
    padding: 14px 16px 18px;
}

.blog-post-sidebar {
    padding-top: 0; /* heading aligns with hero top edge */
}

.blog-detail-meta {
    color: #8a8a8a;
    font-size: 0.9rem;
}

.blog-detail-meta .sep {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.blog-card-body {
    padding: 1rem 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.blog-card-excerpt {
    color: #858585;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.blog-read-more {
    background: #F08143;
    border: none;
    color: #fff !important;
    border-radius: 4px;
    padding: 0.35rem 0.9rem;
    font-weight: 500;
    margin-top: auto;
    align-self: flex-start;
}

.blog-read-more:hover {
    background: #e07338;
    color: #fff !important;
}

.blog-detail-title {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.75rem;
    line-height: 1.3;
}

.blog-body-content {
    color: #444;
    line-height: 1.75;
}

.blog-body-content p {
    margin-bottom: 1rem;
}

.blog-body-content img {
    max-width: 100%;
    height: auto;
}

.blog-sidebar-box {
    border: 1px solid rgba(240, 129, 67, 0.35);
    border-radius: 8px;
    background: #fffefa;
}

.blog-side-card {
    display: flex;
    gap: 0.9rem;
    border: 1px solid #ead2c3;
    border-radius: 10px;
    padding: 0.85rem;
    background: #fff;
    align-items: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-side-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.blog-side-thumb {
    width: 130px;
    height: 78px;
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #f2f2f2;
}

.blog-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-side-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    color: #333;
}

.blog-side-card:hover .blog-side-title {
    color: #F08143;
}

@media (max-width: 991px) {
    .blog-page-title {
        font-size: 2rem;
    }
}
