
#header nav a[href="/blog"] {
    color: var(--active-menu);
}

#main {
    color: var(--black);
    background-color: white;
}

#main > * > .inner {
    padding: 2em 0;
}

#main header * {
    color: var(--black);
}

#main header *::after {
    background-color: var(--black);
}

.metadata {
    margin-bottom: 2em;
}

.metadata .category {
    float: right;
}

.metadata .splitter:last-child {
    display: none;
}

.inner .content {
    text-align: justify;
}

.inner .content * {
    color: var(--black);
}

#banner * {
    color: var(--white);
}

.inner .gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: fit-content;
    justify-content: space-between;
}

.gallery .image {
    max-width: 60%;
    margin: 0;

    display: flex;
    justify-content: center;
    /* align-items: center; */
    overflow: hidden
}

.gallery .image:hover {
    opacity: 0.9;
    cursor: pointer;
}

.gallery img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%
}

/* .gallery .image:nth-child(5n + 1) {
    width: 30%;
}

.gallery .image:nth-child(5n + 2) {
    width: 35%;
}

.gallery .image:nth-child(5n + 3) {
    width: 35%;
}

.gallery .image:nth-child(5n + 4) {
    width: 45%;
}

.gallery .image:nth-child(5n + 5) {
    width: 55%;
} */

#banner > .inner .content p {
    font-size: 0.8em;
}





/* Gallery tiles in all screens */


/* --- */

.tiles-n3:nth-of-type(3n + 1) {
    width: 40% !important;
}

.tiles-n3:nth-of-type(3n + 2) {
    width: 26% !important;
}

.tiles-n3:nth-of-type(3n + 3) {
    width: 34% !important;
}

/* --- */

.tiles-n4:nth-of-type(4n + 1) {
    width: 45% !important;
}

.tiles-n4:nth-of-type(4n + 2) {
    width: 55% !important;
}

.tiles-n4:nth-of-type(4n + 3) {
    width: 55% !important;
}

.tiles-n4:nth-of-type(4n + 4) {
    width: 45% !important;
}

/* --- */

.tiles-n5:nth-of-type(5n + 1) {
    width: 50%;
}

.tiles-n5:nth-of-type(5n + 2) {
    width: 50%;
}

.tiles-n5:nth-of-type(5n + 3) {
    width: 40%;
}

.tiles-n5:nth-of-type(5n + 4) {
    width: 26%;
}

.tiles-n5:nth-of-type(5n + 0) {
    width: 34%;
}

/* --- */

.tiles-n6:nth-of-type(6n + 1) {
    width: 34% !important;
}

.tiles-n6:nth-of-type(6n + 2) {
    width: 30% !important;
}

.tiles-n6:nth-of-type(6n + 3) {
    width: 36% !important;
}

.tiles-n6:nth-of-type(6n + 4) {
    width: 40% !important;
}

.tiles-n6:nth-of-type(6n + 5) {
    width: 26% !important;
}

.tiles-n6:nth-of-type(6n + 6) {
    width: 34% !important;
}

/* --- */

.tiles-n7:nth-of-type(7n + 1) {
    width: 54% !important;
}

.tiles-n7:nth-of-type(7n + 2) {
    width: 46% !important;
}

.tiles-n7:nth-of-type(7n + 3) {
    width: 40% !important;
}

.tiles-n7:nth-of-type(7n + 4) {
    width: 26% !important;
}

.tiles-n7:nth-of-type(7n + 5) {
    width: 34% !important;
}

.tiles-n7:nth-of-type(7n + 6) {
    width: 46% !important;
}

.tiles-n7:nth-of-type(7n + 7) {
    width: 54% !important;
}

/* --- */

.tiles-n8:nth-of-type(8n + 1) {
    width: 50% !important;
}

.tiles-n8:nth-of-type(8n + 2) {
    width: 50% !important;
}

.tiles-n8:nth-of-type(8n + 3) {
    width: 40% !important;
}

.tiles-n8:nth-of-type(8n + 4) {
    width: 26% !important;
}

.tiles-n8:nth-of-type(8n + 5) {
    width: 34% !important;
}

.tiles-n8:nth-of-type(8n + 6) {
    width: 34% !important;
}

.tiles-n8:nth-of-type(8n + 7) {
    width: 26% !important;
}

.tiles-n8:nth-of-type(8n + 8) {
    width: 40% !important;
}

/* --- */

.tiles-n9:nth-of-type(9n + 1) {
    width: 38% !important;
}

.tiles-n9:nth-of-type(9n + 2) {
    width: 28% !important;
}

.tiles-n9:nth-of-type(9n + 3) {
    width: 34% !important;
}

.tiles-n9:nth-of-type(9n + 4) {
    width: 44% !important;
}

.tiles-n9:nth-of-type(9n + 5) {
    width: 26% !important;
}

.tiles-n9:nth-of-type(9n + 6) {
    width: 30% !important;
}

.tiles-n9:nth-of-type(9n + 7) {
    width: 32% !important;
}

.tiles-n9:nth-of-type(9n + 8) {
    width: 28% !important;
}

.tiles-n9:nth-of-type(9n + 9) {
    width: 40% !important;
}

/* --- */

.tiles-n10:nth-of-type(10n + 1) {
    width: 50% !important;
}

.tiles-n10:nth-of-type(10n + 2) {
    width: 50% !important;
}

.tiles-n10:nth-of-type(10n + 3) {
    width: 40% !important;
}

.tiles-n10:nth-of-type(10n + 4) {
    width: 26% !important;
}

.tiles-n10:nth-of-type(10n + 5) {
    width: 34% !important;
}

.tiles-n10:nth-of-type(10n + 6) {
    width: 34% !important;
}

.tiles-n10:nth-of-type(10n + 7) {
    width: 26% !important;
}

.tiles-n10:nth-of-type(10n + 8) {
    width: 40% !important;
}