/* General Body */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #222;
}


/* --- Top Bar --- */

.top-bar {
    display: flex;
    justify-content: flex-end;
    /* keeps date/time and theme toggle on the right */
    align-items: center;
    padding: 8px 20px;
    background: #1f1f1f;
    /* darker gray */
    color: #fff;
    font-size: 14px;
    gap: 15px;
}


/* Optional: small styling for date/time */

#date-time {
    font-weight: 500;
}


/* --- Logo --- */


/* --- Logo Container Above Nav --- */

.logo {
    text-align: center;
    /* center logo above nav */
    padding: 15px 0;
    background: #fff;
    /* optional: same as nav background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 10;
}


/* Logo Image */

.logo a img {
    max-height: 60px;
    width: auto;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo a img:hover {
    transform: scale(1.05);
    /* slight zoom on hover */
}


/* Navigation */

nav {
    background: #fff;
    /* matches logo background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    /* center nav links */
    list-style: none;
    margin: 0;
    padding: 10px 0;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: #e63946;
    color: #fff;
    transform: translateY(-2px);
}


/* Responsive */

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}


/* Privacy Policy Styling for 2237 News */

.privacy-policy {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.7;
    font-size: 15px;
}


/* Headings */

.privacy-policy h1 {
    font-size: 2rem;
    color: #c62828;
    /* 2237 News accent red */
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.privacy-policy h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    color: #222;
    border-left: 4px solid #c62828;
    padding-left: 12px;
}

.privacy-policy h3 {
    font-size: 1.25rem;
    margin-top: 20px;
    color: #444;
}

.privacy-policy h4 {
    font-size: 1.1rem;
    margin-top: 15px;
    font-weight: bold;
    color: #555;
}


/* Paragraphs & Lists */

.privacy-policy p {
    margin: 12px 0;
}

.privacy-policy ul {
    margin: 15px 0 15px 25px;
    padding-left: 15px;
    list-style: disc;
}

.privacy-policy li {
    margin-bottom: 8px;
}


/* Links */

.privacy-policy a {
    color: #c62828;
    text-decoration: none;
    border-bottom: 1px dotted #c62828;
    transition: all 0.2s ease;
}

.privacy-policy a:hover {
    color: #a71d1d;
    border-bottom: 1px solid #a71d1d;
}


/* Highlight important keywords */

.privacy-policy strong {
    color: #000;
    font-weight: 600;
}


/* Mobile responsiveness */

@media (max-width: 600px) {
    .privacy-policy {
        padding: 20px;
        font-size: 14px;
    }
    .privacy-policy h1 {
        font-size: 1.6rem;
    }
    .privacy-policy h2 {
        font-size: 1.3rem;
    }
}