/* Blog Grid Layout - 3 Columns */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card Design */
.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 20px;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-category {
    background: rgba(0, 51, 153, 0.1);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.blog-date {
    font-size: 0.8rem;
    opacity: 0.8;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-main);
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--accent-orange);
}

.blog-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-orange);
    font-weight: bold;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.3s;
}

.blog-read-more:hover {
    gap: 10px;
}

/* Single Article Styling */
.article-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
    padding: 40px 50px !important;
    /* Override inline styles if needed */
    margin-top: -50px !important;
    /* Overlap hero */
    position: relative;
    z-index: 2;
}

.article-summary-box {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--primary-blue);
    border-right: 4px solid var(--accent-orange);
    padding-right: 20px;
    margin-bottom: 40px;
    background: rgba(248, 249, 250, 0.5);
    padding: 20px;
    border-radius: 8px 0 0 8px;
}

.article-featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 2;
    color: #444;
}

.article-content h2,
.article-content h3 {
    color: var(--primary-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 800;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-right: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-tags,
.article-keywords {
    margin-bottom: 15px;
}

.keyword-tag {
    display: inline-block;
    background: #f1f1f1;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-left: 8px;
    transition: all 0.2s;
}

.keyword-tag:hover {
    background: var(--accent-orange);
    color: #fff;
}

/* Breadcrumb Styling */
.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    /* Centered */
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .current {
    font-weight: bold;
    color: var(--accent-orange);
}