:root { 
    --primary: #0d6efd; 
    --emerald: #10b981;
    --navy: #1a1c1e; 
    --light: #f8f9fa; 
    --white: #ffffff;
    --border: #eeeeee;
    --md-surface: #fdfdfd;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--light); 
    color: #333; 
    margin: 0;
    line-height: 1.6;
}

/* ARTICLE CARD */
.article-card { 
    background: var(--white); 
    border-radius: 28px; 
    border: 1px solid var(--border); 
    padding: 25px 45px 45px 45px;
    max-width: 1000px;
    margin: 5px auto 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02); 
}

.entry-title { 
    font-weight: 800; 
    font-size: 2.8rem; 
    color: var(--navy); 
    margin-bottom: 8px; 
    line-height: 1.15; 
    letter-spacing: -1px;
}

.meta-list { 
    list-style: none; 
    padding: 0; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
    color: #777; 
    font-size: 0.85rem; 
    margin-bottom: 25px; 
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 15px;
}

.meta-item i { 
    margin-right: 5px; 
    color: var(--emerald); 
}

/* FEATURED IMAGE */
.featured-img {
    width: 350px !important;
    height: 350px !important;
    float: left;                
    margin-right: 30px;         
    margin-bottom: 15px;        
    object-fit: cover;          
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 4px solid #fff;
}

.entry-content::after { 
    content: ""; 
    display: table; 
    clear: both; 
}

.entry-content { 
    font-family: 'Lora', serif; 
    font-size: 1.2rem; 
    line-height: 1.9; 
    color: #444; 
}

/* SIDEBAR WIDGET */
.sidebar-widget {
    background: var(--md-surface);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.widget-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid var(--emerald);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    display: block;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: 0.2s;
    background: transparent;
}

.recent-link:hover {
    background: #f0fdf4;
    color: var(--emerald);
    padding-left: 20px;
}

/* PROMO CARD */
.promo-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 24px;
    padding: 30px;
    border: none;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: ""; 
    position: absolute; 
    top: -20%; 
    right: -10%;
    width: 100px; 
    height: 100px; 
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

/* FOOTER */
footer {
    background-color: #ffffff;
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 60px;
}

.footer-text {
    font-size: 0.9rem;
    color: #64748b;
}

.footer-text strong {
    color: var(--navy);
    font-weight: 700;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-nav li a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: transparent;
}

.footer-nav li a:hover {
    background: #f1f5f9;
    color: var(--emerald);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 600;
    color: var(--navy) !important;
    font-size: 0.95rem;
    padding: 8px 20px !important;
    border-radius: 20px;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--emerald) !important;
    background: rgba(16, 185, 129, 0.05);
}

.nav-link.active {
    color: var(--emerald) !important;
}

.btn-nav-cta {
    background: var(--emerald);
    color: white !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 25px !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    background: #059669;
}

/* TABLE */
.entry-content figure.table, 
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 35px 0;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    -webkit-overflow-scrolling: touch;
}

.entry-content figure.table::-webkit-scrollbar {
    height: 6px;
}

.entry-content figure.table::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.entry-content table {
    width: 100% !important;
    min-width: 600px;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #334155;
}

.entry-content table th {
    background-color: #f8fafc;
    color: var(--navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 16px 20px;
    border-bottom: 2px solid #edf2f7;
    text-align: left;
}

.entry-content table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
}

.entry-content table tr:nth-child(even) {
    background-color: #fafbfc;
}

.entry-content table tr:hover td {
    background-color: #f0fdf4;
    color: var(--emerald);
    transition: 0.2s;
}

/* CATEGORY GRID */
.category-card {
    background: #ffffff;
    border-radius: 28px !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 12px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(16, 185, 129, 0.1) !important;
}

.category-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 200px;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-img {
    transform: scale(1.1) rotate(1deg);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--emerald);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 8px 15px rgba(16, 185, 129, 0.2);
}

.card-body-custom {
    padding: 20px 10px 10px 10px;
}

.card-title-link {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
    line-height: 1.4;
    text-decoration: none;
    transition: 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card:hover .card-title-link {
    color: var(--emerald);
}

.card-meta-small {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .article-card { 
        padding: 25px 20px; 
        border-radius: 0; 
        margin: 0; 
    }
    
    .entry-title { 
        font-size: 2rem; 
    }
    
    .featured-img {
        width: 100% !important; 
        height: 240px !important;
        float: none; 
        margin: 0 0 20px 0; 
        border-radius: 16px;
    }
    
    footer {
        padding: 30px 0;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
        margin-top: 20px;
        gap: 5px;
    }
    
    .footer-nav li a {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}