/* Hero section styling */
.hero-section {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px;
    color: white;
}

.minutes-read {
    font-size: 14px;
}

/* Blog cards styling */
.blog-section h2 {
    margin-bottom: 30px;
    font-weight: bold;
}

.blog-card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    height: 100%;
}

.blog-img-container {
    height: 200px;
    overflow: hidden;
}

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

.blog-card-body {
    padding: 20px;
    background-color: #f8f9fa;
    max-height: 200px;
    height: 120px;
}

.blog-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* blog detail */
.blog-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-detail-title {
    font-weight: 600;
    margin-bottom: 50px;
}

.blog-featured-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

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

.blog-content li {
    margin-bottom: 0.5rem;
}

.table-of-contents {
    position: sticky;
    top: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.table-of-contents h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.table-of-contents ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #333;
    text-decoration: none;
}

.table-of-contents a:hover {
    color: #007bff;
    text-decoration: underline;
}

.recent-blogs {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.recent-blogs h2 {
    font-weight: 700;
    margin-bottom: 2rem;
}

.blog-detail-card {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

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

.blog-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.4;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #333;
}
