/* Original artwork, palette and desktop/mobile composition retained. */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #888;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

a {
    color: #f50f60;
    text-underline-offset: 0.12em;
}

a:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

.wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 100vh;
    min-height: 100svh;
    background-color: #fff;
}

.illustration {
    display: block;
    flex: 0 1 auto;
    width: calc((100vh - 32px) * 768 / 1080);
    width: calc((100svh - 32px) * 768 / 1080);
    max-width: 55%;
    height: 100vh;
    height: 100svh;
    padding-block: 16px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
}

.message {
    flex: 1 1 0;
    min-width: 0;
    padding: 20px 20px 20px 0;
    overflow-wrap: anywhere;
}

h1 {
    margin: 0.67em 0 14px;
    color: #000;
    font-size: 1.35em;
    line-height: 1;
}

h1 span {
    display: block;
    margin-top: 1px;
    color: #666;
    font-weight: 400;
}

h1 + .description,
h1 + .archive-content > .description:first-child {
    margin-top: 0;
}

h2 {
    margin: 0;
    padding: 7px 20px;
    background-color: #0087ce;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

p {
    margin: 1em 0;
}

.description {
    color: #000;
    font-family: Verdana, Geneva, sans-serif;
    text-align: justify;
}

.quote,
.copyright {
    color: #555555;
}

.copyright {
    padding-top: 0.75em;
}

@media (min-width: 1440px) {
    .wrapper {
        justify-content: center;
    }

    .message {
        flex: 0 1 calc(35vw + 20px);
    }
}

@media (max-width: 1024px) {
    h1 span {
        margin-top: 2px;
    }

    .wrapper {
        gap: 20px;
    }

    body {
        font-size: 16px;
    }

    .illustration {
        flex: 0 0 30%;
        width: 30%;
    }
}

@media (max-width: 640px) {
    .wrapper {
        flex-direction: column;
        gap: 0;
        padding: 14px 10% 24px;
    }

    .illustration {
        flex: none;
        width: 100%;
        max-width: none;
        height: auto;
        padding-block: 0;
    }

    .message {
        flex: none;
        width: 100%;
        padding: 0;
    }

    h1 {
        margin-top: 14px;
    }

    .description {
        text-align: left;
    }
}

.archive-content {
    max-width: 100%;
    overflow-x: auto;
}
