/* --- Base --- */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #051A2D;

    margin: 0;
    padding: 0;

    /* FINDEx THEME BACKGROUND */
    background:
        linear-gradient(to bottom, #fdfdfd, #e9f0f7),
        url("https://serviceoflife.info/images/ballsunset.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Highlight active TOC link */
#toc a.active {
    background-color: #c227ce;
    color: #fff;
    font-weight: bold;
    border-color: #a21db3;
}

/* Highlight the nav link for the section in view */
#focusing-nav a.active {
    color: #c227ce;  /* bright highlight color */
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s, font-weight 0.3s;
}


a {
    color: #0563C1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Container / Content --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

/* --- Headings --- */
h1 {
    font-size: 2.0rem;
    margin-bottom: 1rem;
    color: #000;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #000;
}

/* --- Lists --- */
ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

/* --- Button-style links --- */
.button-link {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin: 0.2rem 0;
    border-radius: 4px;
    border: 1px solid #0563C1;
    color: #0563C1;
    background-color: #f0f8ff;
    transition: background 0.2s, color 0.2s;
}

.button-link:hover {
    background-color: #0563C1;
    color: #fff;
}

/* --- Footer --- */
footer {
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    margin-top: 3rem;
    padding: 1rem 0;
    border-top: 1px solid #ccc;
}

/* --- Responsive tweaks --- */
@media (max-width: 600px) {
    body {
        font-size: 15px;
    }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
}
