@charset "UTF-8";

/*
Theme Name: AK Kremplova
Author: TamToMy Agency s.r.o.
Author URI: https://tamtomy.cz/
Version: 1.1
*/

:root {
    --color-brand-blue: #05152B;
    --color-brand-gold: #EB9C46;
}

header.navbar--faded {
    position: sticky;
    background: var(--color-brand-blue);
}

header.is-sticked .icon,
header.navbar--faded .icon {
    color: var(--color-brand-gold);
}

.nav-menu > div {
    display: inline-block;
}

.nav-menu ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu ul a {
    position: relative;
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    padding: 20px 14px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.nav-menu ul li:last-child a {
    padding-right: 0;
}

.nav-menu ul a:hover {
    color: #ff5e01;
}

.nav-menu li.wpml-ls-item a {
    color: #eb9c46;
    font-weight: 400;
    text-decoration: underline;
}

.nav-menu li.wpml-ls-item a:hover {
    color: #ff5e01;
    text-decoration: none;
}

@media (max-width: 991px) {
    .nav-menu ul {
        flex-flow: column;
        align-items: center;
    }

    .nav-menu ul a {
        padding: .875rem 1rem !important;
    }
}

@media (min-width: 768px) {
    .contact-socials-col {
        position: absolute;
        left: 0;
        bottom: 0;
    }
}

.contact-socials {
    display: flex;
    align-items: center;
}

.contact-socials a {
    margin-right: 1.5rem;
}

.LeadsForm {
    padding: 2.25rem 1.5rem;
    background: #f4f1ee;
    z-index: 100;
}

.page-content .LeadsForm {
    margin: 4rem 0 3.2rem;
    padding: 2.25rem 3rem;
}

@media screen and (max-width: 479px) {
    .page-content .LeadsForm {
        margin: 3rem 0 2.4rem;
        padding: 2rem 1.25rem;
    }
}

.LeadsForm-title {
    font-family: 'DM Serif Display', sans-serif;
    font-size: 1.25rem;
    line-height: 1.24;
    margin-bottom: .75rem;
    color: #000;
}

.page-content .LeadsForm-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 991px) {
    .LeadsForm-title {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 479px) {
    .LeadsForm-title {
        font-size: 1rem;
    }
}

.LeadsForm-inner {
    display: flex;
}

.LeadsForm .your-contact {
    flex: 1;
}

.LeadsForm input[type="text"] {
    border: 1px solid var(--color-brand-blue);
    color: #000;
    background: transparent;
    height: 2.5rem;
    padding: 0 .75em;
    width: 100%;
}

.LeadsForm .wpcf7-not-valid-tip {
    position: absolute;
    margin-top: .25rem;
}

.LeadsForm input[type="submit"] {
    font-family: 'DM Serif Display', sans-serif;
    height: 2.5rem;
    background: var(--color-brand-gold);
    letter-spacing: 1.5px;
    font-size: 1.125rem;
    border: 0;
    cursor: pointer;
    padding: 0 1rem;
    transition: background-color 400ms ease;
}

.LeadsForm input[type="submit"]:hover {
    background: #ff5e01;
}

.LeadsForm .ajax-loader {
    display: none;
}

.wpcf7 {
    position: relative;
}

.wpcf7-response-output {
    display: none;
}

.wpcf7 form.sent .LeadsForm + .wpcf7-response-output {
    position: absolute;
    top: 4.25rem;
    left: 1.5rem;
    right: 1.5rem;
    background: #46b450;
    height: 2.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.entry-content {
    padding: 5rem 0;
}

@media (max-width: 860px) {
    .entry-content {
        padding: 2.4rem 0;
    }
}

.entry-content *:not(a) {
    color: inherit;
}

.entry-header h1 {
    font-size: 2rem;
    color: var(--color-brand-blue);
    margin-bottom: 3.2rem;
    text-transform: none;
    letter-spacing: 2px;
}

article.post .entry-header time {
    position: relative;
    top: -1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.entry-header .post-thumbnail {
    max-height: 20rem;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.entry-header .post-thumbnail img {
    height: 100%;
    object-fit: cover;
}

.Breadcrumbs {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
}
.Breadcrumbs a { color: inherit; }
.Breadcrumbs .breadcrumb_last { opacity: .64; }

.page-content p {
    font-size: 1.125rem;
    line-height: 1.64;
}

.entry-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.24;
    color: var(--color-brand-blue);
    margin: .5em 0 1.5em;
}

.entry-content h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin: 1em 0 .4em;
}

.entry-content h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

@media (max-width: 639px) {
    .entry-content h1 {
        font-size: 2rem;
    }

    .entry-content h2 {
        font-size: 1.75rem;
    }

    .entry-content h3 {
        font-size: 1.4rem;
    }
}

.entry-content p:not(:last-child) {
    margin-bottom: 1.25em;
}

@media (max-width: 767px) {
    .page-content p {
        font-size: 1rem;
        line-height: 1.64;
    }
}

footer {
    margin-top: auto;
    padding: 2rem 0 4rem;
    background: var(--color-brand-blue);
}

body.error404 main {
    margin-top: 10%;
    text-align: center;
}

.CategoryGrid {
    display: grid;
    grid-template-columns: repeat(var(--postsGrid-columns, 4), 1fr);
    grid-gap: 1rem;
    margin-top: 5rem;
}

@media (max-width: 991px) {
    .CategoryGrid {
        --postsGrid-columns: 3;
    }
}

@media (max-width: 639px) {
    .CategoryGrid {
        --postsGrid-columns: 2;
        margin-top: 3.2rem;
    }
}

@media (max-width: 479px) {
    .CategoryGrid {
        --postsGrid-columns: 1;
    }
}

.PostCategory {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 2rem 1rem;
    color: var(--color-brand-blue);
    background: rgba(235, 156, 70, .12);
    transition: all 450ms ease;
}

.PostCategory:hover {
    color: var(--color-brand-blue);
    background: rgba(235, 156, 70, 1);
}

.PostCategory img {
    max-height: 6rem;
    margin-bottom: 1rem;
}

.PostCategory h2 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0;
    color: inherit;
    font-weight: 700;
}

.ArticlesGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5rem 2.5rem;
    margin-top: 4rem;
}

.ArticlesGrid article h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-top: 2rem;
}

.ArticlesGrid article h2 a {
    color: var(--color-brand-blue);
    font-size: inherit;
    font-family: inherit;
    font-weight: 700;
}

.ArticlesGrid article h2 a:hover {
    text-decoration: underline;
}

.ArticlesGrid article figure {
    background: var(--color-brand-gold);
    overflow: hidden;
}

.ArticlesGrid article .post-thumbnail-inner:hover img {
    opacity: .8;
    transform: scale(1.2);
}

.ArticlesGrid article img {
    height: auto;
    max-height: 15rem;
    object-fit: cover;
    transition: all 450ms ease;
}

@media(max-width: 680px) {
    .ArticlesGrid {
        grid-template-columns: 1fr;
        grid-gap: 3rem;
        margin-top: 2rem;
    }

    .ArticlesGrid article h2 {
        margin-top: 1rem;
    }
}

.empty-string {
    font-size: 1.5rem;
    line-height: 1.4;
}

.footer-paragraph {
    font-size: .92rem;
}

.footer-paragraph a {
    font-size: inherit;
}

.ScrollTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    height: 2rem;
    width: 2rem;
    cursor: pointer;
    border-radius: 50%;
    background: transparent;
    transition: all 450ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.ScrollTop:hover {
    background: rgba(0,0,0,.12);
    color: var(--color-brand-gold);
}

.ScrollTop:not(.is-visible) {
    opacity: 0;
    pointer-events: none;
}

.ScrollTop svg {
    height: 1.5rem;
    width: auto;
}