/* ========== Blog Page Styles ========== */

.blog-section { 
    padding: 40px 0 60px; 
}

.blog-section-heading { 
    text-align: center; 
    margin-bottom: 40px; 
}

.blog-section-heading h2 { 
    font-size: 28px; 
    color: #333; 
    font-weight: 700; 
    margin-bottom: 8px; 
}

.blog-section-heading p { 
    font-size: 15px; 
    color: #777; 
    max-width: 600px; 
    margin: 0 auto; 
}

.blog-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.blog-image { 
    position: relative; 
    overflow: hidden; 
}

.blog-image img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img { 
    transform: scale(1.06); 
}

.blog-image .blog-date-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, #e8232a, #c91a20);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(232,35,42,0.35);
}

.blog-content { 
    padding: 20px 22px 24px; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;   
    color: #777;
}

.blog-meta span { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

.blog-meta svg { 
    flex-shrink: 0; 
    color: #e8232a;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
    color: #3d3f94;
    margin-top: 5px;
}

.blog-title a {
    color: #3d3f94;
    text-decoration: none;
    transition: color 0.25s ease;
}

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

.blog-desc {  
    color: #000;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e8232a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.blog-read-more:hover { 
    gap: 10px; 
    color: #c91a20; 
    text-decoration: none; 
}

.blog-read-more svg { 
    transition: transform 0.3s ease; 
}

.blog-read-more:hover svg { 
    transform: translateX(3px); 
}

/* Breadcrumb */
.breadcrumb-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-list li a { 
    color: #e8232a; 
    text-decoration: none; 
    font-weight: bold;
}

.breadcrumb-list li a:hover { 
    text-decoration: underline; 
}

.breadcrumb-list li.active { 
    color: #555; 
}

.breadcrumb-list li .sep { 
    color: #aaa; 
    margin: 0 2px; 
}

/* ========== Single Blog Detail Page & Sidebar ========== */

.blog-detail-wrapper {
    padding: 40px 0 60px;
    background-color: #fff;
}

.blog-detail-article {
    background: #fff;
}

.blog-detail-img {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.blog-detail-img img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.blog-detail-header {
    margin-bottom: 25px;
}

.blog-detail-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #3d3f94;
    line-height: 1.35;
    margin-bottom: 15px;
}

.blog-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-detail-body p {
    margin-bottom: 18px;
    color: #333;
}

.blog-detail-body h2 {
    font-size: 21px;
    font-weight: 700;
    color: #3d3f94;
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8232a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-detail-body h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 20px;
    background-color: #e8232a;
    border-radius: 4px;
}

.blog-detail-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 24px 0 12px;
}

.blog-detail-body a {
    color: #e8232a;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.blog-detail-body a:hover {
    color: #3d3f94;
    text-decoration: none;
}

.blog-detail-body ul {
    margin: 0 0 22px 0;
    padding: 0;
    list-style: none;
}

.blog-detail-body ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.blog-detail-body ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: #e8232a;
    font-weight: bold;
    font-size: 14px;
}

.blog-detail-body strong {
    color: #111;
    font-weight: 700;
}

/* Callout Box / Highlight Box */
.intro-highlight-box {
    background: #f8f9fe;
    border-left: 4px solid #3d3f94;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0 25px;
    font-size: 16px;
    color: #2b2d6e;
    font-weight: 500;
    line-height: 1.7;
}

/* Evaluation Table Styling */
.eval-table-wrapper {
    margin: 30px 0;
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.eval-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.eval-table th {
    background: linear-gradient(135deg, #3d3f94, #2a2c6d);
    color: #fff;
    font-weight: 700;
    padding: 15px 20px;
    text-align: left;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.eval-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eef2f7;
    font-size: 14px;
    color: #444;
}

.eval-table tr:nth-child(even) {
    background-color: #f9fafc;
}

.eval-table tr:hover {
    background-color: #f0f4fa;
}

.eval-table td.red-flag {
    color: #dc3545;
    font-weight: 600;
    background-color: #fff8f8;
}

/* Sidebar Styles */
.blog-sidebar {
    padding-left: 15px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #3d3f94;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #e8232a;
    border-radius: 2px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    color: #444;
    text-decoration: none;    
    font-weight:600;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-list li a::before {
    content: '▸';
    color: #e8232a;
    font-size: 12px;
}

.category-list li a:hover {
    color: #e8232a;
    padding-left: 4px;
}

.recent-post-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-img {
    width: 75px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 5px;
}

.recent-post-info h4 a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recent-post-info h4 a:hover {
    color: #e8232a;
}

.recent-post-info .post-date {  
    color: #888;
}

.cta-widget {
    background: linear-gradient(135deg, #3d3f94 0%, #2a2c6d 100%);
    color: #fff;
    text-align: center;
    border: none;
}

.cta-widget h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.cta-widget p {
    font-size: 14px;
    color: #d1d4f9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    background: #e8232a;
    color: #fff;
    padding: 11px 26px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(232,35,42,0.3);
}

.cta-btn:hover {
    background: #c91a20;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .blog-card { 
        margin-bottom: 25px; 
    }
    .blog-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .blog-section { 
        padding: 25px 0 40px; 
    }
    .blog-image img { 
        height: 200px; 
    }
    .blog-detail-header h2 {
        font-size: 24px;
    }
    .recent-post-item{
        flex-direction: column;
    }
    .recent-post-img {
    width: 100%;
    height: auto;   
}
}
