/**
 * Theme name: spansnap
 * Author: nasuus
 * Version: 1.0
 */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
}

:root {
    --wp-admin-bar-height: 0px;
}

body.admin-bar {
    --wp-admin-bar-height: 32px;
}



body {
    background-color: #fafafa;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;

    --top-offset: calc(70px);

    padding-top: var(--top-offset);
}



/**
 * 1.0 basic site
 */


/**
 * 1.1 header
 */
.site-header {
    height: var(--top-offset);
    position: fixed;

    z-index: 2;

    left: 0;
    top: var(--wp-admin-bar-height);
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: white;
}

.site-header-inner {
    max-width: 1200px;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;

    display: flex;
    align-items: center;

    column-gap: 4em;
}

.site-header-logo {
    text-decoration: none!important;
    font-weight: 600;
    text-transform: uppercase;
    color: darkgreen;
    font-size: 1.8em;
}


.site-nav {
    display: flex;
    align-items: center;
    column-gap: 2em;
}

.site-nav a {
    text-decoration: none;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 1.1em;
}




/**
 * 1.2 site body
 */
.site-content {
    position: relative;
    z-index: 1;

    padding: 1em;
}



/**
 * 1.3 site footer
 */



/**
 * single-model
 */
body.single-model {

}

.item-thumb-image {
    height: 30vh;
    min-height: 300px;
    max-height: 700px;
    aspect-ratio: 1/1;
    width: auto;

    position: relative;

    background-color: rgba(0,0,0,.1);
}

.item-thumb-date {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,.8);
    color: white;
    backdrop-filter: blur(3px);
    font-size: .82em;
    padding: .3em .8em;
}

.item-thumb-image.sq {
    width: 200px;
    height: 200px;
}

.item-thumb-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}



/**
 * 2.0 single-update.php
 */
.section-detail {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 2em;
}

.section-detail-inner {
    width: 100%;
    max-width: 1200px;
    padding-left: 1em;
    padding-right: 1em;

    display: flex;
    column-gap: 50px;
}

.section-detail-image {
    width: 300px;
}

.section-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    background-color: #eee;
}

.section-detail-info {
    flex: 1;
}

.section-detail-info-title {
    font-size: 1.8em;
    line-height: 1.2;
    font-weight: 300;
}

.section-detail-info-content {
    margin-top: 1em;
    margin-bottom: 1em;
}

.section-detail-info-content p {
    line-height: 1.6;
}

.section-detail-info-cta {
    display: inline-flex;
    width: 200px;
    align-items: center;
    justify-content: center;
    height: 30px;
    background-color: #00a32a;
    color: white;
    font-weight: 400;
    font-size: 1.1em;
    text-decoration: none;
}

.section-detail-info-more-content {
    display: flex;
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid rgba(0,0,0,.1);
    column-gap: .7em;
}