:root {
    --header-height: 60px;
}

.jb-title {
    font-size: 1.6em;
    font-weight: 700;
    display: block;
    text-align: start;
    position: relative;
    top: -10px;
    text-wrap-mode: nowrap;
}

.jb-heading {
    font-size: 1em;
    font-weight: 900;
    display: block;
    text-align: start;
    position: relative;
    top: -10px;
    text-wrap-mode: nowrap;
    margin: 5px 0;
}

.jb-text {
    font-size: 1em;
    font-weight: 500;
    display: block;
    text-align: start;
    position: relative;
    top: -15px;
    padding-left: 2px;
}

.jb-column {
    position: relative;
    margin: 12px;
}

.jb-article > :nth-child(odd):not(:first-child)::before {
    content: "";
    position: absolute;
    top: -25px;
    right: -25px;
    width: 125px; /* Extends right */
    height: 125px; /* Extends down */
    border-top: 6px solid #005d49;
    border-right: 6px solid #005d49;
}

/* Even children (excluding first) */
.jb-article > :nth-child(even):not(:first-child)::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -25px;
    width: 125px; /* Extends right */
    height: 125px; /* Extends down */
    border-top: 6px solid #005d49;
    border-left: 6px solid #005d49;
}

.jb-article {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-top: 20px;
    margin-top: 3rem !important;
}

.back-button {
    position: absolute;
    top: 5px;
    left: 15px;
    background: #005D49;
}

@media (min-width: 700px) {
    .jb-article {
        margin: 20px;
    }

    .jb-title {
        font-size: 2.5em;
        top: -20px;
    }

    .jb-heading {
        font-size: 1.5em;
        top: -20px;
        margin: 8px 0;
    }

    .jb-text {
        font-size: 1.5em;
        top: -32px;
    }

    .jb-article > :nth-child(odd):not(:first-child)::before {        
        border-top: 8px solid #005d49;
        border-right: 8px solid #005d49;
    }

    /* Even children (excluding first) */
    .jb-article > :nth-child(even):not(:first-child)::before {
        border-top: 8px solid #005d49;
        border-left: 8px solid #005d49;
    }
}

@media (min-width: 1500px) {
    .jb-article {
        margin: 20px;
    }

    .jb-title {
        font-size: 4em;
        top: -20px;
    }

    .jb-heading {
        font-size: 1.6em;
        top: -20px;
        margin: 10px 0;
    }

    .jb-text {
        font-size: 1.6em;
        top: -32px;
    }
}

@media (min-width: 1200px) {
    .jb-article {
        width: 60%;
        margin: auto;
    }

    .jb-title {
        font-size: 2.em;
        top: -20px;
    }

    .jb-heading {
        font-size: 1.5em;
        top: -20px;
    }

    .jb-text {
        font-size: 1.5em;
        top: -32px;
    }
}
