/* Move the styles from the HTML <style> block here */
body {
    background-color: #f5f8fc;
    padding-top: 70px; /* Adjust padding for fixed navbar */
}

.navbar {
    background: linear-gradient(90deg, #0077c8, #00529b);
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
    border-radius: 10px;
    /* Rounded corners for the logo - make sure you have Aviation_Logo_Enhanced.png */
}

.news-card img {
    border-radius: 10px;
    /* Rounded corners for images */
    max-height: 150px;
    object-fit: cover;
    /* Ensure images cover the area without distortion */
    margin-right: 15px; /* Space between image and text in card body */
    margin-bottom: 10px;
}

.card-footer {
    background-color: #e8f1fa;
    font-size: 0.9rem; /* Slightly smaller text in footer */
}

footer {
    background: linear-gradient(90deg, #00529b, #0077c8);
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin-top: 40px; /* More space above the footer */
}

.spinner-border {
    color: #0077c8;
}

/* Make the entire card clickable */
.card {
    position: relative;
}

.full-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    /* Make the link cover the entire card */
}

/* Add shadow and hover effect to cards */
.news-card {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.news-card:hover {
    transform: translateY(-5px);
    /* Lift effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    /* Deeper shadow */
}

/* Style for the feed info in the footer */
.feed-info {
    white-space: nowrap; /* Prevent feed name from wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if feed name is too long */
    max-width: 120px; /* Limit width */
}

.feed-info img {
    max-height: 20px;
    /* Adjust logo size */
    width: auto;
    /* Maintain aspect ratio */
}

/* Adjust card body layout for image */
.card-body .news-image {
    float: left;
    /* Make the image float left */
    margin-right: 15px;
    /* Space to the right of the image */
    margin-bottom: 10px;
    /* Space below the image */
}

/* Clear float for paragraph following the image */

.card-body {
    /* Existing styles for card body */
    position: relative; /* Example, if needed for full-card-link */
    /* Add the following line */
    overflow: hidden; /* This will contain the float */
}
