/* <!--/static/css/bulley/blog_enhanced.css--> */
/* Enhanced blog styling with modern design elements */

#NewsList {
    background-color: transparent;
}

/* Card styling for blog posts */
.blog-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    background-color: white;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Blog card image */
.card-img-right {
    height: 100%;
    min-height: 200px;
    border-radius: 0 8px 8px 0;
    object-fit: cover;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Blog card content */
.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .card-title {
    color: var(--asvcolorblue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.blog-card .card-text {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card .card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
}

/* Blog meta information */
.blog-post-meta {
    color: var(--asvcolorgrey);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.blog-post-meta .meta-item {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-post-meta i {
    margin-right: 0.5rem;
    color: var(--asvcoloryellow);
}

/* Blog pagination */
.blog-pagination {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.blog-pagination > .btn {
    border-radius: 50px;
    margin: 0 0.3rem;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination > .btn:hover {
    transform: translateY(-3px);
}

.blog-pagination > .btn-primary {
    background-color: var(--asvcolorblue);
    border-color: var(--asvcolorblue);
    color: white;
}

.blog-pagination > .btn-primary:hover {
    background-color: var(--asvcolordarkblue);
    border-color: var(--asvcolordarkblue);
}

.blog-pagination > .btn-outline-primary {
    border-color: var(--asvcolorblue);
    color: var(--asvcolorblue);
}

.blog-pagination > .btn-outline-primary:hover {
    background-color: var(--asvcolorblue);
    color: white;
}

/* Blog post detail page */
.blog-post {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 3rem;
}

.blog-post-title {
    color: var(--asvcolorblue);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-content {
    line-height: 1.8;
    color: #333;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-post-content h2, 
.blog-post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Featured post */
.featured-post {
    position: relative;
    border-left: 4px solid var(--asvcoloryellow);
}

.featured-post::before {
    content: 'Featured';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--asvcoloryellow);
    color: #222;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 1;
}

/* Blog sidebar */
.blog-sidebar {
    margin-bottom: 2rem;
}

.blog-sidebar .card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.blog-sidebar .card-header {
    background-color: var(--asvcolorblue);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-bottom: none;
}

.blog-sidebar .card-body {
    padding: 1.5rem;
}

.blog-sidebar .list-group-item {
    border: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.blog-sidebar .list-group-item a {
    color: var(--asvcolorblue);
    transition: all 0.2s ease;
}

.blog-sidebar .list-group-item a:hover {
    color: var(--asvcoloryellow);
    text-decoration: none;
    transform: translateX(5px);
}

/* Blog search */
.blog-search {
    position: relative;
    margin-bottom: 2rem;
}

.blog-search input {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: all 0.3s ease;
}

.blog-search input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 77, 128, 0.1);
    border-color: var(--asvcolorblue);
}

.blog-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    border: none;
    background-color: var(--asvcolorblue);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog-search button:hover {
    background-color: var(--asvcoloryellow);
    color: #222;
    transform: rotate(90deg);
}

/* Blog tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: rgba(0, 77, 128, 0.1);
    color: var(--asvcolorblue);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background-color: var(--asvcoloryellow);
    color: #222;
    text-decoration: none;
    transform: translateY(-3px);
}

/* Blog author */
.blog-author {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(0, 77, 128, 0.05);
    border-radius: 8px;
}

.blog-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-info h5 {
    margin-bottom: 0.5rem;
    color: var(--asvcolorblue) !important;
}

.blog-author-info p {
    margin-bottom: 0;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .card-img-right {
        height: 200px;
        border-radius: 0 0 0 0;
    }
    
    .blog-post-title {
        font-size: 1.8rem;
    }
    
    .blog-pagination > .btn {
        padding: 0.4rem 1rem;
    }
}

@media (min-width: 992px) {
    .blog-card {
        margin-bottom: 3rem;
    }
    
    .blog-post {
        padding: 3rem;
    }
    
    .blog-post-title {
        font-size: 2.2rem;
    }
}

/* Made with Bob */
