/* Root Variables */
:root {
    --primary-color: #a1282a !important;
    --secondary-color: #333 !important;
}

body {
    font-family: 'Poppins', sans-serif;
}
a {
    color: var(--link-color) !important;
}
/* Typography */
.section-title {
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}
/*
h2, .h2, .h5 {
    font-size: calc(1.325rem + .5vw) !important;
}
*/
.font-weight-bold { font-weight: 600 !important; }
.promotion-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--link-color) !important;
}

custom-card .card-title {
 
    font-weight: 400 !important;
}

custom-card .card-title a {
    text-decoration: none;
    color: var(--bs-body-color) !important;
}
.card-title a {
    color: var(--bs-body-color) !important;}

.category-description h2 { font-size: inherit !important; }
.text-meroon { color: var(--link-color) !important; }
.text-gray { color: #555 !important; }
/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

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

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
}

/* Featured Post */
.featured-post {
    margin-bottom: 3rem;
}

.featured-post .card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem; 
}
.featured-post .card-title a {
    margin-bottom: 1rem; color: #000000 !important;
}

.featured-post .post-meta {
    margin-bottom: 1rem;
}

/* Sidebar */
.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    text-decoration: none;
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list a:hover {
    color: var(--primary-color);
}

/* Recent Posts */
.recent-posts {
    list-style: none;
    padding: 0;
}

.recent-posts li {
    margin-bottom: 1rem;
}

.recent-posts a {
    text-decoration: none;
    color: var(--secondary-color);
}

.recent-posts a:hover {
    color: var(--primary-color);
}

/* Comments */
.comment {
    margin-bottom: 2rem;
}

.comment-meta {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.comment-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(161, 40, 42, 0.25);
}

/* Buttons */
.btn-danger { color: #fff !important; text-decoration: none !important; }
.btn-green {
    background-color: #518600 !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none !important;
}

.btn-green:hover {
    background-color: #3d6500 !important;
    color: #fff !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .card-title {
        font-size: 1.1rem;
    }
    
    .featured-post .card-title {
        font-size: 1.4rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
}

/* Buttons */
.btn-primary { background-color: #a1282a !important; border:0 !important; text-decoration: none !important;  color: white !important;}
.btn-gradient {
    background: linear-gradient(45deg, #a1282a, #333) !important;
    border: none !important;
    color: white !important;
    text-decoration: none !important;
}

.btn-gradient:hover {
    opacity: 0.9;
}
.btn-outline-primary { border-color: var(--primary-color) !important; color: var(--primary-color) !important; text-decoration: none !important;}
.btn-outline-primary:hover { background-color: var(--primary-color) !important; color: #fff !important;}

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.language-btn {
    background: none;
    border: none;
    color: rgba(0,0,0,.55);
    padding: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.language-btn:hover {
    color: rgba(255,255,255,.7);
}

.language-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1000;
    min-width: 200px;
    list-style: none;
    margin: 0;
}

.language-menu.show {
    display: block;
}

.language-menu li {
    padding: 0;
    margin: 0;
}

.language-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.language-menu a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .language-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-top: 0.5rem;
    }
}

/* Navbar Dropdowns */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu-efct {
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
    background: #ffffff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu-efct .dropdown-item {
    padding: 8px 20px;
    color: #000000!important;
    transition: all 0.3s ease;
    background: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-menu-efct .dropdown-item:hover {
    background: #E63934 !important;
    color: #fff !important;
    text-decoration: none;
}

.dropdown-menu-efct .dropdown-item:focus {
    background: #E63934 !important;
    color: #fff !important;
    text-decoration: none;
}

.dropdown-menu-efct .dropdown-divider {
    border-color: #e9ecef;
}

@media (max-width: 768px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: none;
    }
    
    .navbar-nav .dropdown.show > .dropdown-menu {
        display: block;
        margin-left: 1rem;
        box-shadow: none;
        border-left: 2px solid var(--primary-color);
        animation: none;
    }
}

/* Border Gradient */
.border-gradient {
    border-width: 4px !important;
    border-style: solid !important;
    border-image-slice: 1 !important;
    border-image-source: linear-gradient(to right, #ff5722, #673ab7) !important;
}

/* Tag badges styling */
.badge {
    color: #fff !important;
    margin: 0 4px 4px 0;
    padding: 6px 12px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.badge.bg-secondary { font-size: 13px;; font-weight: 400;
    --bs-bg-opacity: 1;
    background-color: rgb(255 181 26) !important;
}

.badge:hover {
    opacity: 0.9;
    color: var(--link-color)  !important;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tags h5 {
    margin-bottom: 0;
    margin-right: 8px;
}

.custom-card { border: 1px solid #ebdbae !important; }
.card-header { background: #f1ead7 !important; color: #000000 !important; border-bottom: 1px solid #ebdbae !important;}

.icon-chart {width: 22px; margin-right:10px;}