/* Shared Catan PDX page chrome */

body {
    background-color: #1364B1;
    margin: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpolygon points='28,1 54,15.5 54,44.5 28,59 2,44.5 2,15.5' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.14'/%3E%3Cpolygon points='0,49.5 26,64 26,93 0,107.5 -26,93 -26,64' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.14'/%3E%3Cpolygon points='56,49.5 82,64 82,93 56,107.5 30,93 30,64' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.14'/%3E%3C/svg%3E");
    font-family: 'Figtree', sans-serif;
}

.page-wrapper {
    position: relative;
    padding-top: 200px;
}

.header-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    line-height: 0;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.header-image img {
    display: block;
    width: 400px;
    max-width: 88vw;
    height: auto;
}

.content-box {
    min-height: 100vh;
    padding: 2rem;
    padding-top: 220px;
    color: #1a1a1a;
    font-family: 'Figtree', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    background-color: #efe4c8;
    background-image: url("parchment.png");
    background-size: cover;
    background-position: center;
    border-style: solid;
    border-width: 16px;
    border-image-source: url("wood-border.png");
    border-image-slice: 16;
    border-image-repeat: repeat;
    box-shadow:
        inset 0 0 0 1px rgba(30, 16, 6, 0.45),
        0 2px 4px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 18px 40px rgba(0, 0, 0, 0.35);
}

.content-box .title {
    font-family: 'Figtree', sans-serif;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem !important;
}

.content-box .title.is-2 {
    font-size: 2.5rem !important;
}

.content-box .title.is-4 {
    font-size: 1.6rem !important;
}

.content-box .subtitle {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    color: #111 !important;
    font-size: 1.35rem !important;
    margin-bottom: 1.5rem !important;
}

.content-box .content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1a1a1a;
}

.content-box .content p {
    margin-bottom: 1.1rem;
}

.content-box .content ul {
    list-style: disc;
    margin-left: 1.25rem;
}

.content-box .content ul li {
    margin-bottom: 0.45rem;
    padding-left: 0.25rem;
}

.content-box .content h2 {
    color: #111;
    font-family: 'Figtree', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.content-box a:not(.button) {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content-box a.button {
    text-decoration: none;
    font-weight: 700;
}

.content-box .button.is-link {
    background-color: #1364B1;
    border-color: #0f4f8c;
    color: #fff;
}

.content-box .button.is-link:hover {
    background-color: #0f4f8c;
    border-color: #0c3f70;
    color: #fff;
}

.content-box hr {
    background-color: rgba(26, 26, 26, 0.2);
    height: 1px;
    margin: 1.5rem 0;
}

.content-box .box {
    background: rgba(255, 250, 235, 0.55);
    border: 2px solid #5c3d28;
    border-radius: 8px;
    box-shadow: none;
    color: #1a1a1a;
}

.content-box .box .title {
    color: #111;
}

.content-box .has-text-grey,
.content-box .subtitle.has-text-grey {
    color: #3d3428 !important;
}

@media (max-width: 768px) {
    .content-box {
        border-width: 12px;
        padding: 1.25rem;
        padding-top: 200px;
    }
}
