/* General Reset */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F9F9F9;
}

/* Top Disclaimer */
.top-disclaimer {
    text-align: center;
    font-size: 0.85em;
    background-color: #708090;
    color: #FFF;
    padding: 10px;
}

/* Header */
header {
    background-color: #000;
    color: #FFF;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin: 0 auto;
    padding: 10px 0;
    max-width: 100%;
    word-wrap: break-word;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 0;
    flex-wrap: wrap; /* Ensures links wrap on smaller screens */
    overflow-x: auto; /* Prevents horizontal overflow */
}

nav ul li {
    text-align: center;
}

nav ul li a {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

nav ul li a:hover {
    border-color: #B22222;
}

nav ul li a.active {
    border-bottom: 2px solid #B22222;
}


/* Decorative Line - Red, White, Blue */
.decorative-line {
    display: flex;
    height: 6px; /* Adjust as needed */
    margin-bottom: 10px; /* Space below the line */
}
.line-red {
    background-color: #BF4146;
    flex: 1;
}
.line-white {
    background-color: #FFF;
    flex: 1;
}
.line-blue {
    background-color: #80A1C2;
    flex: 1;
}


/* Responsive Navigation for Small Screens */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack links vertically on small screens */
        gap: 10px;
    }

    nav ul li {
        text-align: center;
    }

    header h1 {
        font-size: 2rem; /* Adjust title size for smaller screens */
    }
}

/* Hero Section */
.hero {
    background: #F9F9F9;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 3px solid #B22222;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.hero p {
    font-size: 1.2em;
    color: #555;
}

/* Categories Section */
.categories {
    padding: 40px 0;
}

.categories .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.category {
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.category:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category h3 {
    font-family: 'Playfair Display', serif;
    color: #B22222;
    margin-bottom: 15px;
}

.category p {
    color: #555;
    font-size: 1em;
    margin-bottom: 20px;
}

.category .btn {
    background-color: #B22222;
    color: #FFF;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category .btn:hover {
    background-color: #800000;
}

/* Footer */
footer {
    background-color: #000;
    color: #FFF;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* Story Card for Subpages (business.html, etc.) */
.story-card {
    background-color: #FFF;
    padding: 20px;
    border: 1px solid #DDD;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.story-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.story-card p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.story-card .story-date {
    text-align: left; /* Align date to the left */
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.story-link {
    color: #B22222;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.story-link:hover {
    color: #800000;
}

/* Story Content Section for Story Pages (businessStories.html, etc.) */
.story-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.story-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.story-content .story-date {
    text-align: center; /* Align date to the center */
    font-size: 1rem;
    color: #777;
    margin: 10px 0;
}

.story-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.story-content p:last-child {
    margin-bottom: 0; /* Remove margin from the last paragraph */
}





