/* Blog public styles */

/* Hero banner with overlay */
.blog-hero-banner {
    position: relative;
    width: 100%;
    height: 576px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.blog-hero-banner img {
    width: 100%;
    height: 576px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 3rem;
}

.blog-hero-overlay h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.blog-hero-overlay p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.2rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.blog-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.blog-content pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

.blog-content code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.social-share {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.social-share h5 {
    margin-bottom: 1rem;
}

.social-share .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.card.h-100 {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card.h-100:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-placeholder {
    height: 200px;
}

.blog-hero-placeholder {
    background-color: #4a4a4a;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.blog-hero-placeholder h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.blog-hero-placeholder p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.display-4 {
    font-weight: 600;
}

.pagination {
    margin-top: 2rem;
}
