/* article-styles.css */

/* --- Base Styles & Typography --- */
body {
    background-color: #f4f5f7;
    color: #333;
    font-family: 'Roboto', sans-serif;
}

/* --- Layout --- */
.container {
    max-width: 96rem; /* Milligram default, approx 960px */
    margin: 4rem auto;
}

article {
    background-color: #fff;
    padding: 4rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* --- Headings --- */
h1, h2, h3 {
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.6rem;
}

h3 {
    font-size: 1.8rem;
}

/* --- Elements --- */
a {
    color: #9b4dca;
}

a:hover {
    color: #602080;
}

img, svg {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 3rem auto;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #777;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    article {
        padding: 2rem;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}
