/* =========================================
   SHARED CHROME - used by every page in cloudflaresite/
   (index, about-the-developers, what-is-a-memory, why-we-forget,
   healthy-memory). Previously each page carried its own copy of this
   block; anything that differs between the "landing page" template
   (index/about-the-developers) and the "article" template (the other
   three) stays in each page's own <style> block instead of being forced
   together here.
========================================= */
:root {
    --primary-color: #2c3e50;
    --accent-color: #e67e22;
    --bg-color: #f9f7f3;
    --card-bg: #ffffff;
    --text-color: #4a4a4a;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

    .back-link:hover {
        color: #d35400;
        text-decoration: underline;
    }

/* --- Ad Container --- */
.ad-container {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
}

/* --- Compliance Footer --- */
footer {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 25px 0;
    text-align: center;
    font-size: 0.95rem;
    color: #7f8c8d;
}

    footer a {
        color: var(--primary-color);
        text-decoration: none;
        margin: 0 15px;
        transition: color 0.2s;
        font-weight: 500;
    }

        footer a:hover {
            color: var(--accent-color);
            text-decoration: underline;
        }

@media (max-width: 600px) {
    footer a {
        display: inline-block;
        margin: 10px 15px;
    }
}
