/*
Theme Name: Dr. Stössl
Template: twentytwentyfive
Version: 1.0
*/

:root {
    --wp--preset--spacing--60: 2rem;
    --wp--style--global--content-size: 950px;

    --primary-color: #B33B3B;
}

strong {
    font-weight: bold !important;
}

.home .wp-block-post-title {
    display: none;
}

header.wp-block-template-part {
    background-color: var(--primary-color);
    color: white;
    z-index: 10;
}

header.wp-block-template-part .wp-block-site-title>a {
    color: transparent;
    width: 200px;
    height: 50px;
    display: inline-block;
    overflow: hidden;
}

header.wp-block-template-part a {
    outline: none;
}

header.wp-block-template-part .wp-block-site-title > a::before {
    display: inline-block;
    content: '';
    background-image: url('./assets/img/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 45px;
    position: relative;
    top: 3px;
    z-index: 15;
}

.lang-item {
    display: inline-block;
    list-style: none;
    margin: 0.5rem 0.5rem 0 0;
}

header.wp-block-template-part .lang-item {
    position: relative;
    top: -2px;
    margin-left: 0.8rem;
    z-index: 11;
}

header.wp-block-template-part .lang-item-first {
    margin-left: 2rem;
}

.lang-item a, .lang-item-first a {
    text-decoration: none;
}

.lang-item a:hover,
.lang-item-first a:hover {
    text-decoration: underline;
}

.lang-item a::after {
    content: 'EN';
    font-size: 14px;
    margin-left: 5px;
    z-index: 12;
}

.lang-item-first a::after {
    content: 'DE';
    font-size: 14px;
    margin-left: 5px;
    z-index: 12;
}

.entry-content .hero {
    background: rgba(255, 0, 0, 0.1);
    color: white !important;
    padding-top: 5%;
}

.home main.wp-block-group {
    margin: 0 !important;
    position: relative;
    top: calc(var(--wp--preset--spacing--60) * -1 - 20px);
}

.bg-secondary-accent {
    background: #eee;
    margin-top: 3rem;
    padding: 1rem 0 2rem 0;
}

h3.wp-block-heading {
    color: var(--primary-color);
    font-weight: bold;
}

footer.wp-block-template-part {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
}

footer.wp-block-template-part strong {
    font-weight: bold;
    color: white;
}

footer.wp-block-template-part .wp-block-table table td {
    border: none;
    padding: 0;
    min-width: 140px;
    vertical-align: top;
}