:root 
{
    --tablet-size: 1440px;
    --mobile-size: 600px;

    /* Colors */
    --link-color: #207CDF;
    --danger-color: red;
}


* 
{
    box-sizing: border-box;
} 

html, body 
{
    font-family: "Georgia", serif;
    background: #F2F2F2;
} 
body.animal-blog 
{
    font-family: "Josefin Sans", sans-serif;
}


/* 
    Cut Content & Future Releases
*/
.footer-container, .tagline, .search-container, .side-menu .bottom-menu 
{
    display: none !important;
}




/* 
    Buttons & Misc.
*/
.buttons-container 
{
    display: flex;
}
.buttons-container.right 
{
    flex-direction: row-reverse;
}
.buttons-container.bottom-margin 
{
    margin-bottom: 2.5rem;
}

button 
{
    border: none;
    border-radius: 2px;
    padding: 0.5rem 1rem;
    color: var(--link-color);
    cursor: pointer;
}
button.solid 
{
    color: #fff;
    background: var(--link-color);
}
button.close 
{
    background: var(--danger-color);
}
button.menu-button 
{
    background: none;
    padding: 1rem 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
button.menu-button img 
{
    margin: 0;
    vertical-align: sub;
    width: 32px;
}
button.menu-button span 
{
    font-family: inherit;
    color: #000;
    display: none;
}

a 
{
    color: var(--link-color);
}

.logo-container a 
{
    text-decoration: none;
    color: inherit;
}






/* 
    Section Containers & Layouts
*/
.container-xl 
{
    max-width: 1440px;
}
.container-l 
{
    max-width: 852px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.section-container
{
    padding: 0 1rem;
}
.section-container 
{
    margin: 1rem auto;
}
.section-container:not(.first)
{
    margin-top: 3rem;
}
.section-container:not(.overview)>h1 
{
    text-align: center;
    margin: 3rem 0 0;
}

h1, h2, h3, h4, h5, h6 
{
    font-weight: 500;
    margin: 0.5rem 0;
}
h1 
{
    font-size: 2.5rem;
}
h2 
{
    font-size: 2rem;
}
h3 
{
    font-size: 1.75rem;
}

@media(max-width: 1440px)
{
    .container-xl 
    {
        max-width: 1024px;
    }
}





/* 
    Content Pages 
*/
.overview h1:first-child 
{
    font-size: 5rem;
}
.overview h6 
{
    font-size: 0.825rem;
    font-weight: normal;
    margin: 1rem 0 0;
}
.overview h3 
{
    margin: 0.25rem 0 1rem 0;
    line-height: 1.2;
    font-size: 2rem;
    font-weight: 500;
}
.overview div div 
{
    display: flex;
    flex-direction: column;
    gap: 0rem;
}
.overview .main-gallery 
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
}
.overview .main-gallery figure:first-child 
{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;
}
.overview .main-gallery figure 
{
    margin: 0;    
}
.overview .main-gallery img 
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .25rem;
}
.overview p 
{
    line-height: 2.125;
    font-size: 1.15rem;
}
@media (max-width: 1440px)
{
    .overview .main-gallery 
    {
        display: flex;
    }
}

body.animal-blog figure 
{
    margin: 0;
}
body.animal-blog .wp-block-post-featured-image img 
{
    max-height: 340px; 
    border-radius: 1rem;
    object-fit: cover;
}
body.animal-blog .taxonomy-category a 
{
    padding: .5rem;
    background: var(--link-color);
    color: #fff;
    text-decoration: none;
    border-radius: 100rem;
    margin: 0 1rem;
    display: block;
}
body.animal-blog .container-l h1 
{
    text-align: left;
    margin: 1rem 0 .5rem;
    font-size: 3rem;
}
body.animal-blog .container-l p 
{
    margin: 0;
    line-height: 165%;
    font-size: 1.25rem;
}
body.animal-blog .wp-block-image 
{
    padding: 0 4rem;
}
body.animal-blog .wp-block-image img 
{
    max-height: 340px; 
    border-radius: 1rem;
    object-fit: cover;
}
body.animal-blog .wp-block-image figcaption 
{
    text-align: center;
    margin: 1rem;
    display: block;
}






/*
    Navigation Bar, Side Menu & Footer
*/
nav 
{
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    background: #fff;
    padding: 0.25rem 0;    
    border-bottom: 1px solid #ddd;
    box-shadow: 0px 0px 0.25rem rgba(0, 0, 0, 0.15);
}
nav .container-xl, footer .container-xl 
{
    width: 100%; 
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 1rem;
}

nav .logo-container span
{
    display: block;
}
nav .logo-container span:last-child 
{
    font-size: 0.75rem;
}

nav, .side-menu, button, footer 
{
    font-family: "Josefin Sans", sans-serif;
}

@media(max-width: 800px)
{
    nav 
    {
        position: relative;
        top: 0 !important;
    }
}

.side-menu 
{
    position: fixed;
    top: 0;
    right: 0;
    width: 60vw;
    height: 100vh;
    max-width: 320px;
    padding: 11px 22px;
    background: #fff;
    z-index: 15;
    opacity: 0;
    transition: transform 180ms ease-out, opacity 180ms ease;
    transform: translateX(100%);

    display: none;
}
.side-menu.admin-bar-showing 
{
    height: calc(100% - 32px);
}
.side-menu.visible, .menu-backdrop.visible 
{
    transform: translateX(0%);
    opacity: 1;
    display: block;
}
.side-menu .bottom-menu 
{
    position: absolute;
    bottom: 0;
    border-top: 1px solid #ccc;
}
.side-menu a 
{
    text-decoration: none;
    /* width: 100%; */
    display: inline-block;
}
.side-menu ul 
{
    padding-left: 0;
    list-style-type: none;
    margin: 1rem 0;
}
ul li 
{
    margin: .5rem 0;
    line-height: 1.75rem;
}

div.menu-backdrop 
{
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: opacity 320ms ease;
    display: none;
    opacity: 0;
} 

.admin-bar-showing 
{
    top: 32px;
} 

.footer-container 
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 4rem auto 2rem;
}
.footer-container .footer-image  
{
    object-fit: contain;
    height: 200px;
    width: 100%;
}
.footer-container .explorer-container 
{
    width: 130%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer 
{
    background: #222;
    color: #bbb;
    padding: 1.5rem 0;
} 
footer .logo-container 
{
    color: #fff;
    width: 100%;
}
footer p 
{
    margin: 0;
    font-size: 12px;
    width: 100%;
    text-align: right;
    line-height: 150%;
}












/*
    Item / Animal Cards & Grids
*/
div.grid-container 
{
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    margin: 1.5rem 0;
}
body.animal-blog .item-card 
{
    font-family: "Josefin Sans", sans-serif;
}
.item-card 
{
    display: flex;
    /* background: #fff; */
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    transition: opacity 180ms ease;
}
.item-card:hover 
{
    cursor: pointer;
    opacity: .6;
}
.item-card > a
{
    text-decoration: none;
    color: unset;
    /* height: 100%; */
    display: flex;
    /* grid-template-rows: 0fr; */
    flex-direction: column;
}
.item-card .card-image 
{
    object-fit: cover;
    max-height: 230px;
    height: 100%;
    max-width: none;
}
.item-card .card-info 
{
    padding: 1rem;
    /* min-height: 260px; */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    /* height: 100%; */
}
.item-card .card-info .text-container 
{
    min-height: 80px;
}
body:not(.animal-blog) .item-card .sub-heading, body:not(.animal-blog) .item-card h1 
{
    text-transform: uppercase;
    letter-spacing: 0.25rem;
}
.item-card .sub-heading, .item-card .read-more 
{
    font-size: 0.75rem;
    margin: 0.75rem 0;
    margin: 0;
    display: block;
}
.item-card h1
{
    font-weight: 500;
    font-size: 2.25rem;
    margin: 0;
} 
.item-card .read-more 
{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    /* position: absolute; */
    bottom: 0;
    left: 0;
    /* padding: inherit; */
    /* margin: inherit; */
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: .5rem;
}
.item-card .read-more span
{
    margin-top: 3px;
}
.item-card .card-info p 
{
    margin: 0;
} 

@media (min-width: 600px)
{
    div.grid-container 
    {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}





@media (max-width: 600px)
{
    div.grid-container 
    {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    body.animal-blog .wp-block-image 
    {
        padding: 0 1rem;
    }
}

/*
@media (max-width: 1440px)
{
    div.grid-container 
    {
        grid-template-columns: repeat(2, 1fr);
    }
    div.grid-container.grid-category 
    {
        grid-template-columns: repeat(3, 1fr);
    }

    .item-card .card-image 
    {
        height: 300px;
        width: 100%;
    }
}
*/