    :root {
        --main-bg: #c8c8c8;
        --second-bg: #c8c8c8;
        --text-light: #000000;
        --block-line: #000000;
    }

    body {
        margin: 0;
        font-family: Courier New, sans-serif;
        background: var(--main-bg);
        color: var(--text-light);
    }

    /* Header (unchanged from old version) */
    .header {
        background: var(--main-bg);
        display: flex;
        justify-content: space-between;
        /* flex-wrap: wrap;*/
        align-items: left;
        gap: 0.5rem;
        padding: 12px 16px;
        font-size: 1.2rem;
        font-weight: bold;
        /* border-bottom: 2.5px solid var(--block-line); */

    }
    .header .subtitle {
    font-size: 0.8em;    /* smaller relative to header font size */
    font-weight: normal;  /* optional */
    opacity: 0.8;         /* optional, makes it visually lighter */
    margin-left: 0px;     /* small spacing from "vesia" */
}

    @media (max-width: 600px) {
        .header>div:first-child {
            width: 100%;
            margin-bottom: 1rem;
        }
    }

    /*.header > div {
    display: flex;
    flex-direction: column;
    }*/

    .header span {
        font-weight: normal;
        font-style: italic;
        color: #303030;
    }

    /* Grid */
    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .cell {
        display: flex;
        flex-direction: column;
        border-bottom: 2px solid var(--block-line);
        border-left: 2px solid var(--block-line);
        border-right: 2px solid var(--block-line);
    }

    /* Gradient blocks */
    .block {
        height: 350px;
    }

    /* Captions */
    .caption {
        background: var(--second-bg);
        padding: 16px;
        font-size: 1.2rem;
        font-weight: bold;
        text-align: left;
        line-height: 1.3;
        min-height: 80px;
        /* Adjust this value to fit one or more lines!*/
        display: flex;
        flex-direction: column;
        justify-content: left;
    }

    .caption a {
        color: var(--text-light);
        /* word-break: break-all;*/
        /* same as your text color (#f5f5f5) */
        text-decoration: none;
        /* removes the underline */
    }

    .caption a:hover {
        text-decoration: underline;
        /* optional: show underline on hover */
    }

    .meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
        font-weight: normal;
        margin-top: 8px;
        color: #000000;
    }

    main a {
        color: var(--text-light);
        text-decoration: none;
    }

    main a:hover {
        text-decoration: underline;
    }


    /* Header */
    .header a {
        color: var(--text-light);
        text-decoration: none;
    }

    .header a:hover {
        text-decoration: underline;
    }

    /* Footer */
    .footer {
        background: var(--second-bg);
        /*  border-top: 2.5px solid var(--block-line); */
        padding: 16px;
        display: flex;
        justify-content: space-between;
        font-size: 1.1rem;
    }

    .footer a {
        color: var(--text-light);
        text-decoration: underline;
        margin-left: 16px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .grid {
            grid-template-columns: 1fr;
        }

        .block {
            height: 60vh;
        }
    }


    .article-image {
        margin: 2rem 0;
        text-align: center;
    }

    .article-image img {
        max-width: 70%;
        border-radius: 10px;
    }

    .img-caption {
        margin-top: 8px;
        font-size: 0.9rem;
        color: #383838;
        font-style: italic;
    }

    .triangle-list {
        list-style: none;
        padding-left: 1.2rem;
    }

    .triangle-list li {
        position: relative;
        margin: 0.4rem 0;
    }

    .triangle-list li::before {
        content: "►";
        position: absolute;
        left: -1.2rem;
        top: 0.1rem;
        color: var(--text-light);
        /* same color as text */
        font-size: 0.9rem;
    }

    .bib-list p {
        margin: 0 0 1rem 0;
        line-height: 1.3;
    }


    .ellipsis {
        overflow-wrap: break-word;
        /* modern */
        word-wrap: break-word;
        /* legacy */
    }