/* General Styles */
body {
    font-family: 'Tajawal', sans-serif;
    direction: ltr;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

/* Bootstrap Overrides */
.container {
    max-width: 1200px;
}

/* News Cards - Now Blue */
.card {
    background: #31373d !important; /* Blue background */
    border: 2px solid #000000 !important; /* Darker blue border */
    color: #fff !important; /* White text */
    border-radius: 12px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: transform 0.2s ease-in-out;
    display: flex;
    font-size:2em;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    text-align: left;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

#filter-news{
    background-color:#000;
    color:#ffeb3b;
    border: 2px solid #000000 !important; /* Darker blue border */
}

/* News Date Inside the Card */
.news-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8); /* Dark background */
    color: #ffeb3b;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: auto;
    min-width: 80px;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .news-excerpt {
        font-size: 7vw;
        max-width: 90%;
    }

    .news-date {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Country Flag Style - Adjusted */
.news-flag {
    font-size: 46px; /* Keep flag size */
    text-align: center;
    font-weight: bold;
    padding: 1px 15px;
    border-radius: 12px;
    width: auto;
    min-width: 80px;
    text-align: center;
    position: relative; /* Remove absolute positioning */
    margin-bottom: 5px; /* Reduce space between flag and text */
}

/* Reduce space between flag and text */
.card-body {
    padding-top: 5px !important; /* Reduce top padding */
}
/* Navbar Styling */
.navbar-nav .menu-item a {
    color: #000 !important; /* Make menu links black */
    font-size: 18px;
    font-weight: 500;
    padding: 10px 15px;
    text-decoration: none !important; /* Remove underline */
    transition: color 0.3s ease-in-out;
}

.navbar-nav .menu-item a:hover {
    color: #007bff !important; /* Blue hover effect */
}

/* Make the black dot logo larger with left margin */
.navbar-brand {
    font-size: 28px !important;
    display: flex;
    align-items: center;
    margin-left: 15px; /* Adds space from the left */
}

/* Add right margin to the mobile menu icon */
.navbar-toggler {
    margin-right: 15px; /* Adds space from the right on mobile */
}

/* Single News Page */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
}


/* Back to News Button */
.btn-primary {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}
/* Read More Link */
.read-more {
    color: #ffeb3b; /* White text */
    font-weight: bold;
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease-in-out;
}

.read-more:hover {
    color: #fff; /* Yellow on hover */
}

