#content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 250px 1fr auto auto;
    width: 80%;
    margin: auto;
}

#content[data-name="articles"] {
    grid-template-rows: auto 1fr;
}

#title-image {
    width: 50%;
}

h1,h2,h3,p {
    color: #eee;
}

h1 {
    font-size: 5rem;
    text-align: center;
}

#spotlight {
    display: grid;
    grid-template-columns: 50vw 30vw;
    grid-template-rows: 60vh;
    gap: 20px;
}

#spotlight > div {
    grid-row: var(--grid-row);
    grid-column: var(--grid-column);
}

#newest-article {
    width: 75%;
    position: relative;
}
/*
#newest-article span {
    position: absolute;
    top: 20px;
    left: 10px;
}
*/

#newest-article img {
    border-radius: 10px;
    aspect-ratio: 16 / 9;
}

#newest-article > div {
    position: absolute;
    top: 10px;
    left: 10px;
}

#newest-article > div:not(.badges) {
    top: unset;
    bottom: 5%;
    left: 50%;
    width: 75%;
    transform: translateX(-50%);
    /*background: rgba(0, 0, 0, 0.25);*/
    border-radius: 10px;
    padding: 10px;
}

#newest-article h1,
#newest-article p {
    text-shadow: 1px 1px 2px black;
}

/*** Article list in blog index page ***/
.article,
.series {
    max-width: 33%;
    text-decoration: none;
    margin: 10px 0px;
    border-radius: 5px;
}

.article:hover {
    background: orange; 
}

.series img,
.article img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
    aspect-ratio: 16 / 9;
}

.article p {
    line-height: 1.5rem;
    height: 3rem;
}

/*** Series ***/
.series {
    position: relative;
}

.series img {
    border-radius: 10px;
    filter: brightness(65%);
}

.series:hover img {
    transition: 0.3s;
    filter: brightness(100%);
}

.series h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.series:hover h3 {
    opacity: 0;
    transition: 0.3s;
}