body {
    font-family: system-ui, sans-serif;
    background: #f9fafb;
    color: #111;
    margin: 0;
    padding: 0;
}
header, footer {
    background: #004080;
    color: white;
    padding: 1rem;
    text-align: center;
}
main {
    padding: 1rem;
}
h1 {
    font-size: 1.8rem;
    margin: 0.5rem 0;
}
h2, h3 {
    color: #004080;
}
.article-list {
    list-style: none;
    padding: 0;
}
.article-list li {
    background: white;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 8px;
}
.article-list a {
    text-decoration: none;
    color: #004080;
}
.article-list a:hover {
    text-decoration: underline;
}

/* Kaaviot */
.chart {
    display: flex;
    align-items: flex-end;
    height: 200px;
    margin: 1.5rem 0;
    border-left: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    padding-left: 0.5rem;
    overflow-x: auto;
    gap: 4px;
}
.bar {
    width: 24px;
    background-color: #0077cc;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 4px 4px 0 0;
}
.bar:hover {
    background-color: #005fa3;
}
.bar-value {
    position: absolute;
    top: -1.5rem;
    font-size: 0.75rem;
    color: #111;
}
.bar-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.7rem;
    margin-top: 0.25rem;
    text-align: center;
}
@media (max-width: 600px) {
    body {
        font-size: 1rem;
    }
}

/* ------------------------------
   Lisäykset: Huomiolaatikot
--------------------------------*/

/* Varoituslaatikko */
.notice-warning {
    background: #fff3cd;
    color: #664d03;
    border-left: 4px solid #ffcc00;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

/* Info- tai vinkkilaatikko */
.notice-info {
    background: #e7f3ff;
    color: #084298;
    border-left: 4px solid #3399ff;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

/* Blockquote-tyyppinen neutraali korostus */
.notice-quote {
    background: #f1f1f1;
    color: #333;
    border-left: 4px solid #999;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-style: italic;
    border-radius: 4px;
}


.link-button {
    display: inline-block;
    background-color: #004080;
    color: white;
    padding: 0.5em 1em;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}
.link-button:hover {
    background-color: #002c5f;
}