@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #4C4D4F;
    font: 0.875em/1.3 Segoe, "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 840px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff;
    overflow: hidden;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: -0.75rem -0.5rem 1rem 0;
    font-size: 1.42em;
    line-height: 1.1;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1em;
    line-height: 1.3em;
    margin-bottom: 1rem;
}
.mb {
    margin-bottom: 0;
}
h3 {
    font-size: 1em;
    line-height: 1.3;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding-left: 1rem;
}
ul li:before {
    content: "\25A0";
    font-size: 0.9em;
    float: left;
    margin: 1px 0 0 -1rem;
}
h1, h2, ul li::before {
    color: #495FAB;
}
header img {
    display: block;
}
main {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
article {
    padding: 0.875rem;
    background-color: #DCDDDF;
    width: 600px;
    display: flex;
    justify-content: space-between;
}
article > div {
    width: 49.25%;
}
article > div:nth-of-type(2) {
    width: 48%;
    padding-right: 1rem;
}
footer {
    width: 238px;
    padding: 0.625rem 0.75rem 2rem;
}
footer div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 2rem;
}
.right {
    line-height: 1.65;
    text-align: right;
}
figure {
    margin-bottom: 1rem;
}
footer > p {
    width: fit-content;
    margin-left: auto;
}
@media only screen and (max-width: 839px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    main {
        display: block;
    }
    article, footer {
        width: auto;
    }
    article > div:nth-of-type(2) {
        padding-right: 0;
    }
    footer {
        padding: 1rem;
    }
    footer div {
        display: inline-flex;
        width: 49.5%;
        align-items: center;
        margin-bottom: 0.5rem;
    }
    .right, footer p {
        text-align: center;
    }
    footer > p {
        width: auto;
    }
}
@media only screen and (max-width: 780px) {
    article {
        display: block;
    }
    article > div {
        width: auto !important;
    }
}
@media only screen and (max-width: 530px) {
    footer div {
        width: auto;
        display: flex;
    }
}