/* Recent Blog Posts Bootstrap Plugin Styles */

/* Header styling to match your design */
.recent-blog-posts-section .header-title.display-4.header {
    font-weight: bold;
    letter-spacing: 3px;
    color: transparent;
    -webkit-text-stroke: 2px #0d6efd;
    text-stroke: 2px #0d6efd;
    text-shadow: 3px 3px 0 #0d6efd;
    margin-bottom: 2rem;
}

/* Custom badge colors matching your theme */
.bg-soft-info {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

.text-info {
    color: #0dcaf0 !important;
}

.bg-soft-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.text-warning {
    color: #ffc107 !important;
}

.bg-soft-success {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.text-success {
    color: #198754 !important;
}

.bg-soft-primary {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.text-primary {
    color: #0d6efd !important;
}

/* Border color */
.border-100 {
    border-color: #e9ecef !important;
}

.text-500 {
    color: #6c757d !important;
}

/* Card styling */
.recent-blog-posts-section .card {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.recent-blog-posts-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Image styling */
.recent-blog-posts-section .card img {
    border-radius: 0.375rem;
    transition: transform 0.3s ease;
}

.recent-blog-posts-section .card:hover img {
    transform: scale(1.05);
}

/* Stretched link for entire card clickability */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Typography */
.recent-blog-posts-section h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 3.3rem;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .recent-blog-posts-section .fs-lg-1 {
        font-size: 1.125rem !important;
    }
}

@media (min-width: 1400px) {
    .recent-blog-posts-section .fs-xxl-2 {
        font-size: 1.25rem !important;
    }
}

/* Badge styling */
.recent-blog-posts-section .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* Margin bottom utility */
.mb-6 {
    margin-bottom: 3rem !important;
}

/* Line height utility */
.lh-sm {
    line-height: 1.25 !important;
}

/* Ensure cards have equal height */
.recent-blog-posts-section .h-100 {
    height: 100% !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .recent-blog-posts-section .header-title.display-4 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .recent-blog-posts-section h3 {
        font-size: 1rem;
        min-height: auto;
    }
}

/* Smooth transitions */
.recent-blog-posts-section * {
    transition-timing-function: ease-in-out;
}
.transition {
    transition-duration: 0.3s;
}