@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #363636;
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    line-height: 1.55;
    background: #fff;
}

a {
    color: inherit;
}
a:hover {
    text-decoration: underline;
}

#wrapper {
	position: relative;
	max-width: 56.25rem;
	margin: 1rem auto;
	overflow: hidden;
}

#wrapper > a,
#wrapper > a img {
    display: block;
}

#wrapper > a img {
    width: 100%;
    height: auto;
}

.layout {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    grid-template-areas:
        "header article"
        "footer article";
    align-items: stretch;
    min-height: 57.75rem;
    border: 1px solid #e95524;
}

header,
footer {
    background: #ddd;
}

header {
    grid-area: header;
    padding: 1.5rem 2rem 0.5rem;
}

article {
    grid-area: article;
    padding: 1.5rem 1.75rem;
}

footer {
    grid-area: footer;
    padding: 0.75rem 2rem 1.5rem;
}

h1,
h2,
h3,
h4 {
    font-weight: normal;
}

h1 {
    margin-bottom: 1.4rem;
    color: #e95524;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

h2 {
    margin-bottom: 0.6rem;
    color: #e95524;
    font-size: 0.59rem;
    font-weight: bold;
    letter-spacing: 0.06em;
}

h3 {
    margin-bottom: 0.1rem;
    font-size: 0.68rem;
    font-weight: bold;
}

h4 {
    margin-bottom: 2.4rem;
    color: #e95524;
    font-size: 1rem;
    letter-spacing: 0.03em;
}


p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1.2rem 1rem;
    padding-left: 0.1rem;
}

li {
    padding-left: 0.1rem;
}

.intro {
    margin-bottom: 1.5rem;
}

.intro strong {
    color: #e95524;
}

.article-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
}

.article-columns h2:not(:first-child) {
    margin-top: 1.7rem;
}

@media only screen and (max-width: 48rem) {
    #wrapper {
        margin: 0 auto;
    }

    .layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "article"
            "footer";
        min-height: 0;
        border: none;
    }

    .article-columns {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 40rem) {
    header,
    article,
    footer {
        padding: 1rem;
    }

    .article-columns {
        gap: 0;
    }
}
