/*
 Theme Name: Umsetzer
 Theme URI: https://www.umsetzer.de
 Description: Custom child theme for GeneratePress
 Author: umsetzer.de
 Template: generatepress
 Version: 1.0
*/

/* FONTS */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/roboto-v47-latin-regular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/roboto-v47-latin-italic.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/roboto-v48-latin-500.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: url('fonts/roboto-v48-latin-500italic.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/roboto-v47-latin-700.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/roboto-v47-latin-700italic.woff2') format('woff2');
}

/* GENERAL */
html, body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.1rem;
}

h1, h2, h3 {
    font-weight: 700;
}
h1 {
    font-size: 4rem;
    letter-spacing: -1px;
    line-height: 1.1;
	color: var(--base);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        letter-spacing: -1px;
        line-height: 1.1;
    }
}
@media (max-width: 480px) {

}

/* HEADER */
.site-header {
    /* border-bottom: 1px solid var(--accent-1); */
}

.main-navigation li a {
    font-size: 0.9rem;
    font-weight: 500;
    padding-left: 25px;
    padding-right: 25px;
}
.main-navigation .main-nav ul li.distype a {
    z-index: 99999999;
    background-color: var(--accent-1);
    background-image: radial-gradient(circle farthest-corner at 100% 0%, var(--accent-1), var(--accent));
    color: #101010;
    vertical-align: baseline;
    cursor: pointer;
    border-radius: 100rem;
    justify-content: center;
    align-self: center;
    align-items: center;
    padding: .6rem 1rem;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    transition: box-shadow .3s ease-in-out, background-color .2s linear;
    display: inline-block;
    position: relative;
    box-shadow: 0 5px 20px 1px #fff1c840;
}
.main-navigation .main-nav ul li.distype a:hover {
    background: var(--accent-1);
    color: #101010;
}

/* ARCHIVE */
body.blog.one-container .site-content {
    padding-top: 0;
}
body.blog.paged .site-content {
    padding-top: 40px;
}
body.blog .site-content img {
    margin-top: 3px;
    border-radius: 10px;
}
body.blog .site-content a {
    text-decoration: none;
}

#blog-header-wrapper {
    margin-left : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width : 100vw;
    background: var(--contrast);
    margin-bottom: 4rem;
    padding-top: 6rem;
    padding-bottom: 1rem;
    color: #fff;
}
#blog-header-wrapper .site-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
}
#blog-header-wrapper .site-grid h3 {
    margin-bottom: 5px;
    color: #fff;
}
#blog-header-wrapper .site-grid p {
    font-size: 0.9rem;
    color: var(--contrast-3);
    margin: 0;
}

.blog-main a {
    position: relative;
}
.blog-main a .blog-content {
    position: absolute;
    bottom: 0;
    padding: 30px;
    width: 80%;
}

.blog-secondary {
    display: grid;
    gap: 20px;
}
.blog-secondary-item a {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
}
.blog-secondary-item h3,
.blog-rest h3 {
    font-size: 1.2rem;
}

.blog-rest {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}
.blog-rest p {
    margin: 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 4rem;
}
.nav-links .current {
    font-weight: 700;
}
.nav-links a {
    color: #000;
}
.nav-links a:hover {
    color: var(--accent);
}
.nav-links a svg {
    width: 10px;
}
.nav-links a:hover svg {
    fill: var(--accent)
}
.nav-links a.prev,
.nav-links a.next {
    display: flex;
}

@media (max-width: 1024px) {
    #blog-header-wrapper .site-grid {
        grid-template-columns: 100%;
    }
}
@media (max-width: 768px) {
    #blog-header-wrapper {
        padding-top: 3rem;
        padding-bottom: 0;
    }
    .blog-main a .blog-content {
        position: relative;
        width: 100%;
        padding: 20px;
    }
    .blog-rest {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    #blog-header-wrapper {
        padding-top: 1rem;
    }
    .blog-main a .blog-content {
        padding: 0;
        padding-top: 20px;
    }
    .blog-secondary {
        gap: 40px
    }
    .blog-secondary-item a,
    .blog-rest {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px
    }
}

/* CONTENT */
body.single.one-container .site-content {
    padding-top: 0;
}
body.single .entry-header {
    margin-left : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width : 100vw;
    background: var(--contrast);
    padding-top: 6rem;
}
.featured-image-wrapper {
    height: 100%;
    background: linear-gradient(0deg, #FFFFFF 50%, #000000 50%);
    margin-top: 10px;
}
.featured-image img {
    border-radius: 30px;
}

body.single .entry-header h1,
body.single .featured-image,
body.single .site-content,
.sfsi_shortcode_container.sfsi_widget,
.footer-latest-posts {
    max-width: 1040px;
    margin: 0 auto;
}
body.single .entry-header h1 {
    color: #fff;
}
.sfsi_shortcode_container.sfsi_widget {
    float: none;
    display: flex;
    justify-content: end;
}
.sfsi_shortcode_container.sfsi_widget .norm_row {
    display: flex;
    justify-content: end;
}

.entry-title {
    margin-bottom: 2.5rem;
}

/* FOOTER */
.footer-latest-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3em;
}
.footer-latest-posts a {
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
}
.footer-latest-posts a:hover {
    background: var(--base-2);
}
.footer-latest-posts img {
    border-radius: 10px;
}
.footer-latest-posts .lp-content {
    padding: 10px;
}
.footer-latest-posts h4 {
    font-size: 1em;
    font-weight: 700;
    line-height: 1.3em;
}
.footer-latest-posts p {
    color: var(--contrast);
    font-size: 0.85em;
    margin: 0;
}

.site-footer {
    border-top: 1px solid #fff1c880;
    margin-top: 4rem;
}
.footer-widgets-container {
    padding-top: 50px;
    padding-bottom: 50px;
}
.inside-footer-widgets {
    font-size: 16px;
}
.inside-footer-widgets .widget {
    margin-bottom: 20px;
}
.inside-footer-widgets h3 {
    font-size: 22px;
}
.inside-footer-widgets ul li a {
    text-decoration: none;
}

footer.site-info {
    display: none;
}

/* BLOCKS - CORE - SEPARATOR */
.wp-block-separator {
    border-top: none;
}

/* PLUGINS - SOCIAL MEDIA AND SHARE ICONS */
.sfsi_actvite_theme_flat .inerCnt .sfcm.sfsi_wicon {
    padding: 3px;
}