/*
Theme Name: TamToMy Enterprise theme
Author: TamToMy Agency s.r.o
Description: The base for a block-based theme.
Requires at least: 5.8
Requires PHP: 5.6
Version: 1.4
Text Domain: tamtomy
*/

.is-style-outline .wp-block-button__link {
    padding: 0.8em 2em !important;
}
.wp-block-button__link::after {
    content: url("./images/link-arrow.svg");
    display: none !important;
}
.wp-block-button__link:hover::after {
    content: url("./images/link-arrow-black.svg") !important;
}
form.hf-form {
    background: transparent !important;
    padding: 0 !important;
}
.FormBase-layout {
    grid-gap: 1em !important;
}
input[type="email"],
input[type="tel"],
input[type="text"],
select,
textarea {
    border: 0.125rem solid var(--colorBrand) !important;
}

.hf-message-success {
    border-left: 3px solid green !important;
    padding-left: 1rem !important;
}

.hf-message-error {
    border-left: 3px solid red !important;
    padding-left: 1rem !important;
}

.wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .wp-block-post-template {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }
}

.HomeHero .wp-block-cover__inner-container {
    position: relative;
    z-index: 5;
}

.NewsSection ul {
    padding-left: 0 !important;
    margin-left: 0;
}

.NewsSection ul li::before {
    content: none !important;
}

.NewsSection .wp-block-post .wp-block-columns {
    flex-direction: column;
}

.NewsSection .wp-block-post figure {
    aspect-ratio: 4/2.5 !important;
}

.NewsSection .wp-block-post .wp-block-post-excerpt__more-link {
    color: var(--colorAccent);
}

.NewsSection a:hover {
    color: var(--colorBrand);
    text-decoration: none;
}

.NewsSection a {
    transition: color 0.3s ease;
}

#tym .wp-block-buttons.is-layout-flex {
    justify-content: center;
}

#partneri {
    border-bottom: 1px solid lightgray;
}

.SiteFooter-facebook:before {
    content: url(./images/facebook.svg);
    left: 0.2rem !important;
}

#tym .NewsSection .wp-block-post .wp-block-columns {
    gap: 0;
}

.NewsSection .wp-block-group p {
    margin-bottom: 0.25rem !important;
}

.NewsSection .wp-block-post-excerpt__more-link {
    display: block;
}

@media (max-width: 641px) {
    .SiteHeader-aside div:nth-child(4) {
        position: absolute !important;
        right: 2rem;
    }
}

.SiteHeader-navOpener:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1.24rem;
    height: 2px;
    background: #d9dbe1;
    transition: var(--animationBase);
}

.SiteHeader-navOpener.is-opened:after {
    background: rgb(255, 255, 255);
    transform: rotate(45deg);
    bottom: 0.45rem !important;
    right: -0.2rem !important;
}

.SiteHeader li.wp-social-link-facebook {
    background: #1d93dd !important;
}

.SiteHeader a.wp-block-social-link-anchor svg {
    stroke-width: 0 !important;
    color: currentColor !important;
    fill: currentColor !important;
}
