
/* mobile only styling */
@media screen and (min-width: 320px) {

    .agb {
        width: 90%;
        margin: 3em auto;
    }

    .agb h2 {
        font-size: 2.8em !important;
    }

    .agb h3 {
        font-size: 2.4em !important;
    }

    .agb h4 {
        font-size: 2em !important;
    }

    .agb .content-table--title {
        font-size: 2em;
    }

    .agb article .back-btn--mobile {
        display: flex;
        font-size: 1.5em;
        justify-content: flex-end;
    }
}



/* desktop & tablet styling */
@media screen and (min-width: 975px) {

    .agb {
        width: 80%;
        margin: 3em auto;
    }

    .agb h2 {
        font-size: 2.4em !important;
    }

    .agb h3 {
        font-size: 2em !important;
    }

    .agb h4 {
        font-size: 1.6em !important;
    }

    .agb .content-table--title {
        font-size: 1.4em;
        font-weight: 600;
    }

    .agb article .back-btn--mobile {
        display: none;
    }
}



/* desktop only styling */
@media screen and (min-width: 1024px) {

    .agb {
        width: 70%;
        margin: 3em auto;
        padding: 2em;
    }

    .agb article .back-btn--mobile {
        display: none;
    }

}



/** heading styling **/

.agb h1 {
    font-size: 3.6em;
    font-weight: 700;
    color: #F40F97;
    margin-bottom: 1em;
}

.agb h2 {
    font-weight: 700;
    display: inline-flex;
    margin: 1em 0 .5em;
    line-height: 1.5;
}

.agb h3 {
    margin-bottom: .5em;
    font-weight: 700;
    line-height: 1.5;
}

.agb h4 {
    font-weight: 700;
    margin: 1em 0 .5em;
}



/* page navigation */

.agb .page-nav {
    padding: 2em 2em;
    background-color: #fcfcfc;
    margin: 5em 0 3em 0;;
}

.agb .page-nav ul {
    width: 100%;
    font-size: 2.2em;
    margin-bottom: 0;
}

.agb .page-nav ul li {
    font-weight: 600;
    margin: .7em 0;
}

.agb .page-nav ul li:first-child {
    margin: 0 0 .7em 0;
}

.agb .page-nav ul li:last-child {
    margin: .7em 0 0 0;
}



/** article table content styling **/

.agb article .nav-wrapper {
    padding: 4em 0;
}

.agb article nav {
    padding: 3em;
    background-color: #fcfcfc;
}

.agb article nav .content-table--title {
    font-weight: 400;
    color: #777777;
}

.agb article nav .content-table--headings {
    width: auto;
    list-style: none;
    margin: 1em 0 0 0;
}

.agb article nav .content-table--headings li {
    padding: 0;
    margin-bottom: .5em;
}

.agb article nav .content-table--headings li a {
    display: flex;
    margin-bottom: 1em;
}

.agb article nav .content-table--headings li a .numbering {
    font-weight: 300;
    min-width: 1.5em;
    margin-right: .5em;
    text-align: right;
}

.agb .content-table--headings .internal-link {
    margin-top: 2em;
    /*color: #F40F97;
    border-bottom: solid #00c1f6 .1em;
    width: fit-content;*/
}


/* article styling */

.agb article {
    display: flex;
    flex-direction: column;
    
    padding: 5em 0;
    border-bottom: solid 2px #dddddd;
}

.agb article:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.agb article p {
    width: auto;
    margin-bottom: 1em;
}

.agb article .title--semibold {
    font-weight: 600;
}

.agb article .back-btn {
    display: flex;
    font-size: 1.5em;
    justify-content: flex-end;
}



/* article section styling */

.agb article section ol {
    width: auto;
    margin: 1em;
    padding-left: .5em;
}

.agb article section ol li {
    margin-bottom: 1em;
    padding: 0 0 0 .5em;
}

.agb article section ol li p {
    font-size: 1em !important;
}

.agb article section ol li ol {
    font-size: 1em !important;
}

.agb article section ol li ul {
    font-size: 1em !important;
}

.agb article section ol li ul li:last-child {
    margin-bottom: 0;
}

.agb article section ol li .title--semibold {
    font-weight: 600;
    margin-bottom: .1em;
}

.agb article section ul {
    width: auto;
    margin-left: 1.5em;
    list-style: disc;
}

.agb article section ul li {
    margin-bottom: 1em;
}

.agb article section ul li p {
    font-size: 1em !important;
}

.agb article section ul li ul {
    font-size: 1em !important;
    list-style: square;
    margin-top: 1em;
}

.agb article section p:last-child {
    margin-bottom: 1.666em;
}

.agb article section li p:only-child {
    margin-bottom: 0 !important;
}



/* various list styling classes */

.agb ol .list-style--none {
    list-style: none;
}

.agb .list-style--lower-alpha {
    list-style: lower-alpha;
}

.agb ol .list-style--lower-roman {
    list-style: lower-roman;
}

.agb ul .list-style--none {
    list-style: none;
}



/* misc classes */

.agb .page-nav .desc {
    font-size: .75em; 
    font-weight: 500; 
    color: #909090;
}

.agb .font-style--italic {
    font-style: italic;
}
