/********************************
*********************************
zygote quarterly basic styling
*********************************
********************************/


html {
    background: #ffffff; /* white
    /* background: #fff4db; /* pastel orange */
}

body{
    /* BASIC TYPOGRAPHY */
    font-family: IBM Plex Serif, serif;
    font-weight: 400;
    font-style: normal;
    color: rgb(0, 0, 0);
    font-size: 20px;
    line-height: 30px;
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 40px;
}

header, article, footer {
            width: 100%; display: table;
        }

header {
    margin: 40px 20px 40px 20px;
}

footer {
    margin: 40px 20px 40px 20px;
}

@supports (display: grid) {
    @media (min-width: 900px) {

        article {
            /* START SIMPLE PAGE LAYOUT GRID */
            display: grid;
            grid-template-rows: min-content;
            grid-template-columns: 1fr 1fr;
            margin: 5px; padding: 10px 0px 10px 0px;
        }

        .main-l {
            grid-row: span 3;
            grid-column: 1;
            }

        .main-r {
            grid-row: 1; 
            grid-column: 2;
            }

        .letters-l {
            display: grid;
            grid-template-rows: min-content;
            grid-template-columns: 1fr 5fr;
        }

    }
}

/* START ISSUES GRID */
        .editions {
            display: grid;
            grid-template-columns: repeat(5,1fr);
            grid-template-rows: 1fr;
        }

        .fifth {
            display: inline-block;
            margin: 5%;
            width: 90%;  /* i.e., 5+5+90 = 100 */
            max-width: 300px; /* stops IE type browsers showing elements too large when the grid fails */
        }

        .si { /*i.e., smaller image, shifted left*/
            display: inline-block;
            margin: 0% 10% 20% 10%;
            width: 80%;
            height: 80%;
            max-width: 300px;
        }


/*
    DETAILED TYPOGRAPHY CONTROL
*/

section { 
    display: block;
    margin: 20px;
}

p, h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: subpixel-antialiased; /* current Apple Safari issues */
}

p {
    padding: 0 0 20px 0;
}

h1 {
    font-weight: 300;
    font-size: 30px;
    line-height: 40px;
    padding-bottom: 10px;    
    border-bottom: 1px solid;
    margin-bottom: 18px;
}

h2 {
    font-weight: 700;
    font-size: 20px;
}

a {
    text-decoration: none;
    position: relative;
    color: rgb(34, 34, 34);
}

a:after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -3px;
    border-width: 0 0 1px;
    border-style: solid;
}

a.clean {
    text-decoration: none;
    position: relative;
    color: rgb(34, 34, 34);
}

a.clean:after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -3px;
    border-width: 0px;
    border-style: solid;
}

strong {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.final {
    bottom: -5px;
    border-bottom: 1px solid;
    margin-bottom: 18px;
}

.baselineraise{
    position: relative;
    bottom: 10px;
}

/* ISSUU EMBED CONTROL */
.issuuembed {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* PDF control */
.pdfembed{
    margin-top: 0px;
    margin-bottom: 0px;
    
}