/* --- unified_styles.css --- */

/* Body */
body {
    font-family: Arial, sans-serif; /* Updated to Arial for Meme Index */
    background-color: #f5f5f5; /* Light gray background for site aesthetic */
    color: #333; /* Default text color */
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default padding */
}

/* Central Container */
.content-container {
    width: 60%;
    margin: 0 auto;
    text-align: left;
    font-family: sans-serif;
    line-height: 1.6;
    padding: 20px; /* Added for Meme Index spacing */
    background-color: #fff; /* White background for content */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Source Credit */
.source-credit {
    text-align: right;
    font-size: 0.8em;
    color: #666;
    margin-bottom: 2em;
}

/* Headings */
h1, h2 {
    color: #222; /* Added for Meme Index consistency */
}

.headline {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

.section-heading {
    font-size: 1.5em; /* Adjusted to match Meme Index */
    font-weight: bold;
    margin-top: 2em; /* Increased for Meme Index spacing */
    margin-bottom: 1em; /* Adjusted for Meme Index */
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5em; /* Adjusted for Meme Index */
}

/* Navigation Bar */
.nav-bar {
    position: sticky; /* Stays at top when scrolling */
    top: 0;
    background-color: #fff; /* Matches content container */
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

.nav-bar a {
    margin: 0 5px; /* Spacing between links */
    text-decoration: none;
    color: #007bff;
}

.nav-bar a:hover {
    text-decoration: underline;
}

/* Lists */
ul {
    list-style-type: none; /* No bullets for general lists in Meme Index */
    padding: 0;
}

li {
    margin-bottom: 10px; /* Spacing for list items in Meme Index */
}

.tldr-list {
    list-style: disc; /* Specific to TL;DR sections */
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.tldr-list li {
    margin-bottom: 0.6em;
}

.tldr-list ul {
    list-style-type: circle; /* Nested list style */
    margin-left: 1em;
    margin-bottom: 0.6em;
}

.featured-memes {
    background-color: #f9f9f9; /* Highlighted section for Meme Index */
    padding: 15px;
    border-left: 5px solid #ccc;
    margin-bottom: 20px;
}

/* Paragraphs */
p {
    margin-bottom: 1em;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Important Text */
.important {
    font-weight: bold;
}

/* Back to Top */
.back-to-top {
    text-align: center;
    margin-top: 20px; /* Spacing for Meme Index link */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) { /* Tablets and smaller */
    .content-container {
        width: 80%;
    }
}

@media (max-width: 480px) { /* Mobile phones */
    .content-container {
        width: 90%;
    }
    .headline {
        font-size: 2em;
    }
    .section-heading {
        font-size: 1.5em;
    }
}