/*
Theme Name: Hamouz Capital's Theme
Version: 0.0.1
Description: Sablona vytvorena na miru pro firmu Hamouz Capital
Author: Matej Subrt
*/
/* hind-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hind';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/hind-v18-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* hind-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hind';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/hind-v18-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* hind-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hind';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/hind-v18-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root{
    --observer-animation-duration: .7s;
    --grey: #32383e;
    --dark-gold: #BA9C76;
    --hover-dark-gold: #c3aa88;
    --transparent-dark-gold: hsla(34, 33%, 60%, 50%);
    --light-background-gold: #ECE0D4;
    --border-and-separator-line: #AAA;
    --gradient-dark-background: linear-gradient(to bottom right, #222, var(--grey));
    --gradient-dark-background-transparent: linear-gradient(to bottom right, hsla(0, 0%, 13%, 85%), hsla(210, 11%, 22%, 85%));
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Hind", sans-serif;
}
@keyframes slide-to-top {
    from{ transform: translateY(100%); opacity: 0; }
    to{ transform: translateY(0%); opacity: 1; }
}
@keyframes slide-to-bottom {
    from{ transform: translateY(-100%); opacity: 0; }
    to{ transform: translateY(0%); opacity: 1; }
}
@keyframes slide-to-right {
    from{ transform: translateX(-100%); opacity: 0; }
    to{ transform: translateX(0%); opacity: 1; }
}
@keyframes slide-to-left {
    from{ transform: translateX(100%); opacity: 0; }
    to{ transform: translateX(0%); opacity: 1; }
}
@keyframes scaling-and-slide-to-left {
    from{ scale: 0; opacity: 0; transform: translateX(100%); }
    to{ scale: 1; opacity: 1; transform: translateX(0%); }
}
@keyframes scaling-and-slide-to-right {
    from{ scale: 0; opacity: 0; transform: translateX(-100%); }
    to{ scale: 1; opacity: 1; transform: translateX(0%); }
}
@keyframes scaling-and-slide-to-top {
    from{ scale: 0; opacity: 0; transform: translateY(100%); }
    to{ scale: 1; opacity: 1; transform: translateY(0%); }
}
@keyframes scaling-and-slide-to-bottom {
    from{ scale: 0; opacity: 0; transform: translateY(-100%); }
    to{ scale: 1; opacity: 1; transform: translateY(0%); }
}
@keyframes scaling-appear {
    from{ scale: 0; opacity: 0; }
    to{ scale: 1; opacity: 1; }
}
a{
    text-decoration: none;
}
header{
    position: relative;
    .top-bar{
        background-color: var(--dark-gold);
        padding: .5rem 2rem;
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        .left, .right, .center{
            margin: 0 .5rem;
            opacity: 0;
        }
        .left, .right{
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .left.show{
            animation: slide-to-right var(--observer-animation-duration) forwards;
        }
        .center.show{
            animation: slide-to-top var(--observer-animation-duration) forwards;
        }
        .right.show{
            animation: slide-to-left var(--observer-animation-duration) forwards;
        }
        .text{
            font-weight: 600;
            font-size: clamp(.5rem, calc(.2vw + .7rem), 1rem);
        }
    }
    .nav-container{
        position: absolute;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        top: 200%;
        z-index: 100;
        > a .logo{
            width: clamp(6rem, 7vw, 8rem);
            opacity: 0;
            &.show{
                animation: scaling-and-slide-to-right var(--observer-animation-duration) forwards;
            }
        }
        nav{
            label{
                cursor: pointer;
                display: none;
                opacity: 0;
                &.show{
                    animation: scaling-and-slide-to-left var(--observer-animation-duration) forwards;
                }
                span{
                    display: inline-block;
                    height: 3px;
                    width: 18px;
                    background-color: white;
                    border-radius: 10px;
                    position: relative;
                    rotate: 180deg;
                    transition: .3s;
                    &::before, &::after{
                        content: "";
                        position: absolute;
                        width: 140%;
                        height: 3px;
                        background-color: white;
                        border-radius: 10px;
                        transition: .3s;
                        left: 0;
                    }
                    &::before{
                        top: -.5rem;
                    }
                    &::after{
                        bottom: -.5rem;
                    }
                }
            }
            input{
                display: none;
                &:checked ~ label > span{
                    background-color: transparent;
                    &::before{
                        transform: rotate(45deg) translate(40%, 20%);
                    }
                    &::after{
                        transform: rotate(-45deg) translate(40%, -20%);
                    }
                }
            }
            ul{
                list-style: none;
                display: flex;
                gap: 4rem;
                z-index: 999;
                li{
                    opacity: 0;
                    &.show{
                        animation: scaling-and-slide-to-bottom var(--observer-animation-duration) forwards;
                    }
                    a{
                        color: white;
                        font-weight: 500;
                        font-size: clamp(1.25rem, calc(.4vw + .8rem), 1.375rem);
                        text-wrap: nowrap;
                        &::before{
                            content: "";
                            position: absolute;
                            width: 100%;
                            height: 3px;
                            left: 0;
                            bottom: -2px;
                            background-color: var(--dark-gold);
                            transition: transform .3s ease-in;
                            transform-origin: right;
                            transform: scaleX(0);
                        }
                        &:hover{
                            &::before{
                                transform: scaleX(1);
                                transform-origin: left;
                            }
                        }
                    }
                    &:has(> .sub-menu){
                        position: relative;
                        z-index: 9999;
                        &::after{
                            content: "";
                            position: absolute;
                            top: 50%;
                            transform: translateY(-50%);
                            right: -1.5rem;
                            width: 16px;
                            height: 9px;
                            background-image: url(images/sub-menu-arrow.png);
                            background-repeat: no-repeat;
                            background-size: cover;
                            background-position: center;
                            transition: transform .3s;
                        }
                        &:hover{
                            .sub-menu{
                                opacity: 1;
                                gap: 1rem;
                                padding: 1rem;
                                height: auto;
                                width: auto;
                                li{
                                    opacity: 1;
                                    animation: unset;
                                }
                            }
                            &::after{
                                transform: translateY(-50%) rotate(180deg);
                            }
                        }
                        .sub-menu{
                            overflow: hidden;
                            height: 0;
                            width: 0;
                            opacity: 0;
                            display: flex;
                            position: absolute;
                            left: 50%;
                            transform: translateX(-50%);
                            flex-direction: column;
                            align-items: center;
                            background-color: var(--dark-gold);
                            border-radius: 10px;
                            transition: .3s;
                            interpolate-size: allow-keywords;
                            a{
                                color: white;
                            }
                        }
                    }
                }
            }
        }
    }
}
:where(figure){
    margin: 0 !important;
}
html{
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
    &.page-id-74, &.page-id-72, &.page-id-70, &.page-id-68, &.page-id-66, &.page-id-64, &.page-id-82, &.page-id-87{
        .sub-menu-children{
            display: none !important;
        }
    }
    &.page-id-56{
        section:not(.entry-section){
            display: none;
        }
    }
}
input[type="range"]{
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: transparent;
    cursor: pointer;
    outline: none;
    opacity: 0;
    &.show{
        animation: scaling-appear var(--observer-animation-duration) forwards;
    }
}
input[type="range"]::-webkit-slider-runnable-track{
    width: 100%;
    height: 2px;
    background: hsla(30, 39%, 88%, 50%);
    border-radius: 1px;
}
input[type="range"]::-moz-range-track{
    width: 100%;
    height: 2px;
    background: hsla(30, 39%, 88%, 50%);
    border-radius: 1px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 25px;
    width: 50px;
    border-radius: 0;
    margin-top: -12.5px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='25' viewBox='0 0 50 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='50' height='25' rx='12.5' fill='%23BA9C76'/%3E%3Cpath d='M16 17.5L11 12.5L16 7.5L17.2 8.7L12.9 12.5L17.2 16.3L16 17.5Z' fill='white'/%3E%3Cpath d='M34 7.5L39 12.5L34 17.5L32.8 16.3L37.1 12.5L32.8 8.7L34 7.5Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
    border: none;
    height: 25px;
    width: 50px;
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='25' viewBox='0 0 50 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='50' height='25' rx='12.5' fill='%23BA9C76'/%3E%3Cpath d='M16 17.5L11 12.5L16 7.5L17.2 8.7L12.9 12.5L17.2 16.3L16 17.5Z' fill='white'/%3E%3Cpath d='M34 7.5L39 12.5L34 17.5L32.8 16.3L37.1 12.5L32.8 8.7L34 7.5Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}
.recaptcha-wrapper{
    width: 100%;
    position: relative;
    height: 78px;
    .g-recaptcha{
        position: absolute;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
    }
}
span.bold{
    font-weight: 600;
}
body:not(.home){
    main{
        section.child-post{
            --background: var(--light-background-gold);
            --text: var(--grey);
            --icons-filter: brightness(0) saturate(100%) invert(0%) sepia(5%) saturate(2252%) hue-rotate(322deg) brightness(108%) contrast(100%);
            background: var(--background);
            display: flex;
            flex-direction: column;
            gap: 5rem;
            h2, h3, h4, p{
                color: var(--text);
            }
            h2, h3, > p{
                text-align: center;
            }
            > p, h3{
                opacity: 0;
                &.show{
                    animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
                }
            }
            ol{
                list-style-type: none;
                display: flex;
                flex-direction: column;
                gap: 1rem;
                li{
                    position: relative;
                    font-size: clamp(.75rem, calc(.4vw + .8rem), 1.125rem);
                    color: var(--text);
                    opacity: 0;
                    &.show{
                        animation: scaling-and-slide-to-left var(--observer-animation-duration) forwards;
                    }
                    &::before{
                        content: "";
                        position: absolute;
                        left: -1rem;
                        top: 50%;
                        transform: translateY(-50%);
                        width: 10px;
                        height: 10px;
                        border-radius: 50%;
                        background-color: var(--dark-gold);
                    }
                }
            }
            > p:last-of-type{
                font-weight: 500;
            }
            > .wp-block-group > .wp-block-group__inner-container{
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 2rem;
                > h3, > p{
                    text-align: center;
                }
                > p{
                    opacity: 0;
                    &.show{
                        animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
                    }
                }
            }
            > .wp-block-columns{
                gap: 4rem;
                > .wp-block-column{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 2rem;
                    > p{
                        opacity: 0;
                        &.show{
                            animation: scaling-appear var(--observer-animation-duration) forwards;
                        }
                    }
                    > .wp-block-group{
                        width: 100%;
                        > .wp-block-group__inner-container{
                            width: 100%;
                            display: flex;
                            align-items: center;
                            justify-content: flex-start;
                            gap: 2rem;
                            opacity: 0;
                            &.show{
                                animation: scaling-appear var(--observer-animation-duration) forwards;
                            }
                            img{
                                filter: var(--icons-filter);
                                width: 48px;
                                height: 48px;
                                object-fit: cover;
                                overflow: visible;
                            }
                        }
                    }
                }
            }
            &:nth-child(2n + 1){
                --background: var(--gradient-dark-background);
                --text: white;
                --icons-filter: brightness(0) saturate(100%) invert(86%) sepia(44%) saturate(507%) hue-rotate(320deg) brightness(77%) contrast(84%);
            }
            &:first-child{
                position: relative;
                &::before{
                    content: "";
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    width: 50%;
                    height: 100%;
                    object-fit: contain;
                    background-position: center;
                    background-size: contain;
                    background-repeat: no-repeat;
                    opacity: 1;
                }
                > *{
                    z-index: 2;
                }
                > .wp-block-columns, > .wp-block-group{
                    background: var(--gradient-dark-background-transparent);
                    padding: 3rem;
                    border-radius: 20px;
                }
            }
        }
        section.standard-page-content {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            h1, h2, h3, h4, h5, h6 {
                color: white;
                margin-top: 1rem;
                margin-bottom: 0;
                text-align: left;
                opacity: 0;
                &.show {
                    animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
                }
            }
            p {
                text-align: left;
                color: white;
                font-size: clamp(.875rem, calc(.4vw + .8rem), 1.125rem);
                line-height: 1.6;
                opacity: 0;
                &.show {
                    animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
                }
            }
            a {
                color: var(--dark-gold);
                text-decoration: underline;
                font-weight: 500;
                transition: .3s ease;
                &:hover {
                    color: var(--hover-dark-gold);
                    text-decoration: none;
                }
            }
            ul, ol {
                list-style-type: none;
                display: flex;
                flex-direction: column;
                gap: 0.75rem;
                padding-left: 1.5rem;
                margin: 0;
                li {
                    position: relative;
                    font-size: clamp(.75rem, calc(.4vw + .8rem), 1.125rem);
                    color: white;
                    line-height: 1.5;
                    opacity: 0;
                    &.show {
                        animation: scaling-and-slide-to-left var(--observer-animation-duration) forwards;
                    }
                    &::before {
                        content: "";
                        position: absolute;
                        left: -1.5rem;
                        top: 0.6em;
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        background-color: var(--dark-gold);
                    }
                }
            }
            strong {
                color: white;
                font-weight: 600;
            }
        }
    }
    &.page-id-66{ /* výkup nemovitostí */
        section:first-child{ &::before{ background-image: url(images/house-background.svg); } }
    }
    &.page-id-64{ /* pojištění */
        section:first-child{ &::before{ background-image: url(images/weights-background.svg); } }
    }
    &.page-id-68{ /* rekonstrukce */
        section:first-child{ &::before{ background-image: url(images/rekonstrukce.svg); } }
    }
    &.page-id-82{ /* o nás */
        section:first-child{ &::before{ background-image: url(images/handshake-background.svg); } }
    }
    /* &.page-id-87{
        section:first-child{ &::before{ background-image: url(images/kontakt-background.svg); } }
    } */
}
main{
    .entry-section{
        background-image: url(images/section-one-background.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        height: 100vh;
        display: none;
        .text-container{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3rem;
            height: 100%;
            margin: 0 1rem;
            h1, h2{
                color: white;
                text-align: center;
                opacity: 0;
                &.show{
                    animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
                }
            }
            h1{
                font-size: clamp(1.5rem, calc(2vw + 1rem), 3rem);
            }
            p{
                color: white;
                text-align: center;
                opacity: 0;
                &.show{
                    animation: scaling-appear var(--observer-animation-duration) forwards;
                }
            }
            a{
                background-color: var(--dark-gold);
                border-radius: 0;
                padding: .75rem 3rem;
                font-weight: 600;
                font-size: clamp(.75rem, calc(.9vw + .8rem), 1.25rem);
                transition: .3s;
                opacity: 0;
                &.show{
                    animation: scaling-and-slide-to-bottom var(--observer-animation-duration) forwards;
                }
                &:hover{
                    border-radius: 20px;
                    background-color: var(--hover-dark-gold);
                }
            }
        }
        .sub-menu-children{
            width: 90%;
            display: flex;
            list-style: none;
            align-items: center;
            justify-content: center;
            align-content: space-evenly;
            flex-wrap: wrap;
            gap: 3rem;
            a{
                color: white;
                background-color: var(--dark-gold);
                padding: .75rem 2rem;
                border-radius: 10px;
                font-weight: 600;
                font-size: clamp(.75rem, calc(.4vw + .8rem), 1.125rem);
                text-wrap: nowrap;
                transition: .3s;
                display: inline-block;
                opacity: 0;
                &.show{
                    animation: scaling-appear var(--observer-animation-duration) forwards;
                }
                &:hover{
                    border-radius: 20px;
                    background-color: var(--hover-dark-gold);
                }
            }
        }
    }
    section{
        padding: 10rem 5rem;
        > p, > h2{
            text-align: center;
        }
        &:nth-child(2n){
            background: var(--light-background-gold);
            p, h2, h3, h4{
                color: var(--grey);
            }
        }
        &:nth-child(2n - 1){
            background: var(--gradient-dark-background);
            p, h2, h3, h4{
                color: white;
            }
        }
        h2{
            font-size: clamp(1.5rem, calc(1.2vw + 1rem), 2rem);
            opacity: 0;
            &.show{
                animation: scaling-and-slide-to-bottom var(--observer-animation-duration) forwards;
            }
        }
        h2, h3{
            &.underline{
                position: relative;
                &::before{
                    content: "";
                    position: absolute;
                    width: 50px;
                    height: 4px;
                    background-color: var(--dark-gold);
                    left: 50%;
                    transform: translateX(-50%);
                    bottom: -30%;
                }
            }
        }
        h3{
            font-weight: 600;
            font-size: clamp(1rem, calc(.7vw + .7rem), 1.5rem);
        }
        h4{
            font-weight: 600;
            font-size: clamp(.75rem, calc(.4vw + .8rem), 1.125rem);
        }
        p{
            font-size: clamp(.75rem, calc(.4vw + .8rem), 1.125rem);
        }
    }
    section:first-child{
        padding: 15rem 5rem;
    }
    #o-nas-sekce{
        display: flex;
        justify-content: center;
        gap: 5rem;
        h2{
            color: white;
        }
        h2.underline::before{
            left: 0;
            transform: translateX(0);
        }
        .left{
            height: 100%;
            width: 90%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 3rem;
            p{
                color: white;
                opacity: 0;
                &.show{
                    animation: scaling-and-slide-to-right var(--observer-animation-duration) forwards;
                }
            }
            a{
                background-color: var(--dark-gold);
                color: white;
                border-radius: 0;
                padding: .75rem 3rem;
                font-weight: 600;
                font-size: clamp(.75rem, calc(.9vw + .8rem), 1.25rem);
                transition: .3s;
                width: fit-content;
                opacity: 0;
                &:hover{
                    border-radius: 20px;
                    background-color: var(--hover-dark-gold);
                }
                &.show{
                    animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
                }
            }
        }
        img{
            opacity: 0;
            object-fit: cover;
            max-height: 600px;
            max-width: 400px;
            aspect-ratio: 3 / 4;
            &.show{
                animation: scaling-and-slide-to-left var(--observer-animation-duration) forwards;
            }
        }
    }
    #nase-sluzby-sekce{
        display: flex;
        flex-direction: column;
        gap: 5rem;
        position: relative;
        &::before, &::after{
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 50%;
            height: 100%;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        &::before{
            right: 0;
            background-image: url(images/line-chart-up.svg);
        }
        &::after{
            left: 0;
            background-image: url(images/bull.svg);
        }
        h2{
            text-align: center;
            color: white;
            z-index: 1;
        }
        h3{
            color: white;
        }
        .articles-container{
            margin: auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            z-index: 1;
            opacity: .95;
            .box{
                display: block;
                width: 250px;
                height: 250px;
                background-color: var(--dark-gold);
                border-radius: 20px;
                padding: 1rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 3rem;
                transition: .3s;
                opacity: 0;
                &.show{
                    animation: scaling-appear var(--observer-animation-duration) forwards;
                }
                &:hover{
                    background-color: var(--grey);
                }
                img{
                    width: 64px;
                    height: 64px;
                }
                h3{
                    background-color: unset;
                    padding: unset;
                    text-align: center;
                    font-weight: 600;
                    font-size: clamp(1rem, calc(.7vw + .7rem), 1.5rem);
                }
            }
        }    
    }
    #proc-nas-sekce {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
        gap: 5rem;
        h2 {
            text-align: center;
            color: var(--grey);
        }
        .container {
            max-width: 750px;
            width: 100%;
            margin: 0 auto;
            overflow: hidden;
            position: relative;
            &::before, &::after {
                content: "";
                position: absolute;
                top: 50%;
                width: 40px;
                height: 40px;
                opacity: .5;
                background-color: rgba(0, 0, 0, .4);
                background-repeat: no-repeat;
                background-position: center;
                background-size: 50%;
                border-radius: 50%;
                cursor: pointer;
                pointer-events: auto;
                z-index: 5;
            }
            &::before {
                background-image: url(images/sub-menu-arrow.png);
                transform: translateY(-50%) rotate(90deg);
                left: 10px;
            }
            &::after {
                background-image: url(images/sub-menu-arrow.png);
                transform: translateY(-50%) rotate(-90deg);
                right: 10px;
            }
            .slider-track {
                display: flex;
                justify-content: flex-start;
                align-items: stretch;
                gap: 20px;
                padding-top: 2rem;
                padding-bottom: 2rem;
                will-change: transform;
                cursor: grab;
                &:active {
                    cursor: grabbing;
                }
                * {
                    user-drag: none;
                    -webkit-user-drag: none;
                    user-select: none;
                }
                .slide {
                    min-width: 280px;
                    transition: transform 0.4s ease, opacity .4s ease;
                    opacity: .6;
                    transform: scale(0.85);
                    border: 2px solid var(--dark-gold);
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: flex-start;
                    text-align: center;
                    gap: 2rem;
                    padding: 2rem;
                    border-radius: 10px;
                    height: auto;
                    h3, p{
                        color: var(--grey);
                    }
                    .img-container{
                        background-color: var(--transparent-dark-gold);
                        border-radius: 50%;
                        padding: 1rem;
                        margin: 0;
                        transition: transform .4s ease;
                        img {
                            width: 48px;
                            height: 48px;
                            display: block;
                        }
                    }
                }
                .active-slide {
                    opacity: 1;
                    transform: scale(1.1);
                }
                .adjacent-slide {
                    transform: scale(1);
                    opacity: 0.8;
                }
            }
        }
    }
    #kontaktni-sekce, .kontaktni-formular-sekce{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        > p{
            opacity: 0;
            &.show{
                animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
            }
        }
        .container{
            background: var(--light-background-gold);
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 4rem;
            form{
                display: flex;
                flex-direction: column;
                gap: 1.5rem;
                width: 100%;
                .jmeno-a-prijmeni{
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    gap: 1.5rem;
                    input{
                        width: 50%;
                    }
                }
                input, textarea{
                    background: none;
                    border: none;
                    outline: none;
                    resize: none;
                    padding: .5rem;
                    border: 2px solid #aaa;
                    color: black;
                    border-radius: 10px;
                    font-size: clamp(.75rem, calc(.4vw + .8rem), 1rem);
                    display: inline-block;
                    opacity: 0;
                    &.show{
                        animation: scaling-appear var(--observer-animation-duration) forwards;
                    }
                }
                input[type="submit"]{
                    color: white;
                    background-color: var(--dark-gold);
                    border: none;
                    cursor: pointer;
                    font-weight: 600;
                    font-size: clamp(.75rem, calc(.6vw + .8rem), 1.25rem);
                    transition: .3s;
                    &:hover{
                        border-radius: 20px;
                        background-color: var(--hover-dark-gold);
                    }
                }
                .ccf-gdpr-field {
                    opacity: 0; 
                    &.show {
                        animation: scaling-appear var(--observer-animation-duration) forwards;
                    }
                    label {
                        font-size: clamp(0.7rem, calc(.3vw + .75rem), .9rem);
                        line-height: 1.4;
                        cursor: pointer;
                        input[type="checkbox"] {
                            appearance: auto;
                            width: auto;
                            border: none;
                            padding: 0;
                            margin-top: 0.2rem;
                            opacity: 1; 
                            animation: none; 
                            cursor: pointer;
                        }
                        a {
                            color: var(--dark-gold);
                            font-weight: bold;
                            text-decoration: underline;
                            transition: .3s;
                            &:hover {
                                color: var(--hover-dark-gold);
                            }
                        }
                    }
                }
            }
            .right-contact{
                display: none;
                width: 0;
                margin-left: 4rem;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2rem;
                h3, p{
                    color: var(--grey);
                }
                h3{
                    opacity: 0;
                    align-self: center;
                    &.show{
                        animation: scaling-and-slide-to-bottom var(--observer-animation-duration) forwards;
                    }
                }
                .info{
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    gap: 1rem;
                    opacity: 0;
                    &.show{
                        animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
                    }
                    figure, img{
                        overflow: visible;
                    }
                    img{
                        width: 24px;
                        height: 24px;
                        object-fit: cover;
                    }
                }
            }
        }
        &#kontaktni-sekce{
            .container{
                form{
                    border-right: 1px solid #aaa;
                    width: 50%;
                    padding-right: 4rem;
                }
                .right-contact{
                    width: 50%;
                    display: flex;
                }
            }
        }
    }
    section:has(> .kalkulacka-a-form-container){
        display: flex;
        flex-direction: column;
        gap: 5rem;
        position: relative;
        &::before, &::after{
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 50%;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        &::before{
            right: 0;
            background-image: url(images/line-chart-up.svg);
        }
        &::after{
            left: 0;
            background-image: url(images/bull.svg);
        }
        h2{
            color: black;
            text-align: center;
        }
        .kalkulacka-a-form-container{
            background: linear-gradient(to bottom right, hsla(0, 0%, 13%, 95%), hsla(210, 11%, 22%, 95%));
            width: 80%;
            max-width: 1200px;
            border-radius: 20px;
            padding: 3rem;
            margin: 0 auto;
            color: white;
            z-index: 1;
            .kalkulacka{
                display: flex;
                flex-direction: column;
                gap: 4rem;
                width: 100%;
                .vyse-investice, .delka-investice, .castka-uveru, .delka-uveru{
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    gap: 1rem;
                    .top{
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        h3{
                            opacity: 0;
                            &.show{
                                animation: scaling-and-slide-to-right var(--observer-animation-duration) forwards;
                            }
                        }
                        > .wrapper{
                            background-color: hsla(30, 39%, 88%, 40%);
                            padding: .75rem 1rem;
                            border-radius: 10px;
                            opacity: 0;
                            &.show{
                                animation: scaling-and-slide-to-left var(--observer-animation-duration) forwards;
                            }
                            span{
                                font-weight: 600;
                                font-size: clamp(.825rem, calc(.4vw + .8rem), 1.125rem);
                            }
                        }
                    }
                    
                }
                .summary{
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    .left{
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        opacity: 0;
                        &.show{
                            animation: scaling-appear var(--observer-animation-duration) forwards;
                        }
                        .wrapper{
                            color: var(--dark-gold);
                            font-weight: 700;
                            font-size: clamp(1.5rem, calc(2vw + 1rem), 3rem);
                        }
                    }
                    .right{
                        display: flex;
                        flex-direction: column;
                        align-items: flex-end;
                        justify-content: space-between;
                        &.show{
                            animation: scaling-appear var(--observer-animation-duration) forwards;
                        }
                        span.bold{
                            font-weight: 600;
                        }
                        .ik-vypocet-btn, .bf-vypocet-btn{
                            border: none;
                            background: none;
                            outline: none;
                            background-color: var(--dark-gold);
                            padding: .5rem 3rem;
                            border-radius: 10px;
                            color: white;
                            cursor: pointer;
                            font-weight: 600;
                            font-size: clamp(.75rem, calc(.9vw + .8rem), 1.25rem);
                            text-wrap: nowrap;
                            transition: .3s;
                            &:hover{
                                border-radius: 20px;
                                background-color: var(--hover-dark-gold);
                            }
                        }
                    }
                }
            }
            form{
                display: flex;
                flex-direction: column;
                gap: 1.5rem;
                width: 100%;
                .jmeno-a-email-wrapper, .vyse-a-delka-investice-wrapper, .castka-a-delka-wrapper{
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    gap: 1.5rem;
                    > *{
                        width: 50%;
                    }
                }
                .delka-investice-wrapper, .vyse-investice-wrapper, .delka-wrapper, .castka-wrapper{
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: space-between;
                    input{
                        border: none;
                        background: none;
                        padding: 0;
                    }
                    span{
                        text-align: center;
                    }
                }
                input, textarea, button, .vyse-investice-wrapper, .delka-investice-wrapper, .delka-wrapper, .castka-wrapper{
                    background: none;
                    border: none;
                    outline: none;
                    resize: none;
                    padding: .75rem;
                    border: 2px solid #aaa;
                    color: white;
                    border-radius: 10px;
                    font-size: clamp(.75rem, calc(.4vw + .8rem), 1rem);
                }
                input, textarea{
                    font-weight: 500;
                }
                input::placeholder, textarea::placeholder, span{
                    color: rgba(255, 255, 255, 50%);
                    font-size: clamp(.75rem, calc(.4vw + .8rem), 1rem);
                }
                button{
                    color: white;
                    background-color: var(--dark-gold);
                    border: none;
                    cursor: pointer;
                    font-weight: 600;
                    font-size: clamp(.75rem, calc(.6vw + .8rem), 1.25rem);
                    transition: .3s;
                    &:hover{
                        border-radius: 20px;
                        background-color: var(--hover-dark-gold);
                    }
                }
                input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
                    -webkit-appearance: none;
                    margin: 0;
                }
                input[type=number] {
                    -moz-appearance: textfield;
                }
                .gdpr-field {
                    label {
                        font-size: clamp(0.7rem, calc(.3vw + .75rem), .9rem);
                        line-height: 1.4;
                        cursor: pointer;
                        input[type="checkbox"] {
                            appearance: auto;
                            width: auto;
                            border: none;
                            padding: 0;
                            margin-top: 0.2rem;
                            opacity: 1; 
                            animation: none; 
                            cursor: pointer;
                        }
                        a {
                            color: var(--dark-gold);
                            font-weight: bold;
                            text-decoration: underline;
                            transition: .3s;
                            &:hover {
                                color: var(--hover-dark-gold);
                            }
                        }
                    }
                }
            }
        }
    }
    .komplexni-ochrana-na-miru-sekce{
        h3, h4{
            text-align: center;
        }
        h3, h4{
            opacity: 0;
            &.show{
                animation: scaling-and-slide-to-top var(--observer-animation-duration) forwards;
            }
            &.underline{
                position: relative;
                &::before{
                    content: "";
                    position: absolute;
                    width: 50px;
                    height: 4px;
                    background-color: var(--dark-gold);
                    left: 50%;
                    transform: translateX(-50%);
                    bottom: -30%;
                }
            }
        }
    }
    .kontaktni-formular-sekce{
        > .wp-block-group{
            > .wp-block-group__inner-container{
                form{
                    width: 100% !important;
                    padding-right: 0 !important;
                    border-right: 0px solid transparent !important;
                }
            }
        }
    }
    .kontaktujte-nas-sekce{
        iframe{
            margin: auto;
            width: clamp(250px, 40vw, 800px);
            aspect-ratio: 4 / 3;
        }
    }
}
footer{
    background-color: var(--light-background-gold);
    padding: 5rem 10rem 2.5rem 10rem;
    .text{
        font-size: clamp(1rem, calc(.45vw + .7rem), 2rem);
        text-align: center;
        color: black;
    }
    .top{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 2.5rem;
        border-bottom: 2px solid var(--border-and-separator-line);
        .left{
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.25rem;
            a{
                opacity: 0;
                &.show{
                    animation: scaling-and-slide-to-right var(--observer-animation-duration) forwards;
                }
            }
            img{
                width: 36px;
            }
        }
        .center{
            img{
                width: clamp(6rem, 7vw, 8rem);
                opacity: 0;
                &.show{
                    animation: scaling-appear var(--observer-animation-duration) forwards;
                }
            }
        }
        .right{
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 1.5rem;
            p{
                display: flex;
                align-items: center;
                gap: 1rem;
                opacity: 0;
                &.show{
                    animation: scaling-and-slide-to-left var(--observer-animation-duration) forwards;
                }
            }
            .material-icons{
                color: var(--dark-gold);
            }
        }
    }
    .bottom{
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 2.5rem;
        .right{
            display: flex;
            align-items: center;
            gap: 2rem;
            a{
                opacity: 0;
                &.show{
                    animation: slide-to-left var(--observer-animation-duration) forwards;
                }
            }
        }
        .left{
            span{
                opacity: 0;
                &.show{
                    animation: slide-to-right var(--observer-animation-duration) forwards;
                }
            }
        }
    }
}
@media(width < 1400px){
    main{
        #o-nas-sekce{
            flex-direction: column;
            align-items: center;
            h2.underline::before{
                left: 50%;
                transform: translateX(-50%);
            }
            .left{
                margin: auto;
                width: 100%;
                align-items: center;
                text-align: center;
            }
        }
    }
}
@media(width < 1200px){
    footer{
        padding: 5rem 5rem 2.5rem 5rem;
    }
}
@media(width < 1000px){
    header{
        .nav-container{
            nav{
                label{
                    display: inline-block;
                }
                input:checked ~ .menu-navigace-container > ul{
                    opacity: 1;
                    left: 50%;
                    transform: translateX(-50%);
                }
                ul{
                    gap: 5rem;
                    background-color: var(--dark-gold);
                    padding: 2rem;
                    top: 100%;
                    width: 100%;
                    justify-content: center;
                    flex-wrap: wrap;
                    align-content: center;
                    align-items: center;
                    position: absolute;
                    opacity: 0;
                    transform: translateX(-200%);
                    transition: .3s;
                    li{
                        a{
                            color: white;
                        }
                        &:has(> .sub-menu){
                            &::after{
                                background-image: url(images/sub-menu-arrow.png);
                            }
                            .sub-menu{
                                border: 2px solid var(--light-background-gold);
                            }
                        }
                    }
                }
            }
            .blank{
                display: none;
            }
        }
    }
    main{
        #nase-sluzby-sekce{
            &::before{ width: 100%; height: 50%; bottom: 0; top: auto; }
            &::after{ width: 100%; height: 50%; top: 0; bottom: auto; }
            .articles-container{
                grid-template-columns: repeat(2, 1fr);
            }
        }
        #kontaktni-sekce, .kontaktni-formular-sekce{
            .container{
                padding: 3rem;
                display: flex;
                flex-direction: column;
                form{
                    width: 100%;
                }
            }
            &#kontaktni-sekce{
                .container{
                    form{
                        width: 100%;
                        padding-right: 0;
                        border-right: 0px solid #aaa;
                        border-bottom: 1px solid #aaa;
                        padding-bottom: 3rem;
                    }
                    .right-contact{
                        width: 100%;
                        margin-left: 0;
                        margin-top: 3rem;
                    }
                }
            }
        }
        section:has(> .kalkulacka-a-form-container){
            .kalkulacka-a-form-container{
                width: 100%;
            }
        }
        .kontaktni-formular-sekce{
            > .wp-block-group{
                > .wp-block-group__inner-container{
                    form{
                        padding-bottom: 0 !important;
                        border-bottom: 0px solid transparent !important;
                    }
                }
            }
        }
    }
    footer{
        .top{
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 1rem;
            .center{
                grid-column: 1/3;
                grid-row: 1/2;
                justify-self: center;
            }
            .right{
                align-items: center;
            }
        }
        .bottom{
            flex-direction: column-reverse;
            gap: 2rem;
        }
    }
}
@media(width < 900px){
    main{
        section:has(> .kalkulacka-a-form-container), #nase-sluzby-sekce{
            .kalkulacka-a-form-container, kalkulacka-a-form-container{
                form{
                    .jmeno-a-email-wrapper, .vyse-a-delka-investice-wrapper, .castka-a-delka-wrapper{
                        flex-direction: column;
                        justify-content: center;
                        > *{
                            width: 100%;
                        }
                    }
                }
            }
        }
    }
}
@media(width < 800px){
    footer{
        .top{
            gap: 2rem;
            > *{
                grid-column: 1/3;
                justify-self: center;
            }
        }
    }
}
@media(width < 700px){
    body:not(.home){
        main{
            section:first-child{
                > .wp-block-columns, > .wp-block-group{
                    padding: 1rem;
                }
            }
            section{
                > .wp-block-columns{
                    > .wp-block-column{
                        > .wp-block-group{
                            > .wp-block-group__inner-container{
                                flex-direction: column;
                                justify-content: center;
                                gap: 2rem;
                                p{
                                    text-align: center;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    header{
        .top-bar{
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            .center{
                grid-column: 1/3;
                grid-row: 1/2;
                justify-self: center;
            }
        }
        .nav-container{
            top: 150%;
        }
    }
    main{
        #nase-sluzby-sekce{
            .articles-container{
                grid-template-columns: repeat(1, 1fr);
            }
        }
        #o-nas-sekce{
            gap: 4rem;
            .left{
                gap: 2rem;
            }
            img{
                max-width: 100%;
            }
        }
        section:has(> .kalkulacka-a-form-container){
            .kalkulacka-a-form-container{
                .kalkulacka{
                    .summary{
                        flex-direction: column;
                        justify-content: center;
                        gap: 2rem;
                        text-align: center;
                        .left{
                            align-items: center;
                            justify-content: center;
                            gap: 1rem;
                        }
                        .right{
                            align-items: center;
                            justify-content: center;
                            gap: 1rem;
                            .ik-vypocet-btn{
                                margin: auto;
                            }
                        }
                    }
                }
            }
        }
    }
}
@media(width < 600px){
    main{
        .section:has(> .kalkulacka-a-form-container){
            .kalkulacka-a-form-container{
                form{
                    .delka-investice-wrapper, .vyse-investice-wrapper{
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: space-between;
                        input{
                            width: 60%;
                        }
                        span{
                            width: 40%;
                        }
                    }
                }
            }
        }
    }
    footer{
        padding: 5rem 2.5rem 2.5rem 2.5rem;
    }
}
@media(width <= 500px){
    header{
        .top-bar{
            grid-template-rows: 1fr 1fr 1fr;
            gap: .5rem;
            .center{
                grid-column: 1/3;
                grid-row: 1/2;
            }
            .left{
                grid-column: 1/3;
                grid-row: 2/3;
                justify-self: center;
            }
            .right{
                justify-self: center;
                grid-column: 1/3;
                grid-row: 3/4;
            }
        }
    }
    main{
        section{
            padding: 5rem 2.5rem;
        }
        section:first-child{
            padding: 15rem 2.5rem;
        }
        #nase-sluzby-sekce{
            .articles-container{
                .box{
                    width: 230px;
                    height: 230px;
                }
            }
        }
        #proc-nas-sekce{
            .container{ /* box-container */
                .slider-track{
                    .slide{ /* box */
                        min-width: 220px;
                    }
                }
            }
        }
        #kontaktni-sekce, .kontaktni-formular-sekce{
            .container{
                form{
                    .jmeno-a-prijmeni{
                        flex-direction: column;
                        input{
                            width: 100%;
                        }
                    }
                }
            }
        }
        .section:has(> .kalkulacka-a-form-container){
            .kalkulacka-a-form-container{
                padding: 2rem;
                .ik-kalkulacka{
                    .vyse-investice, .delka-investice{
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        gap: 1rem;
                        .top{
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            gap: 1rem;
                        }
                    }
                }
            }
        }
    }
    footer{
        .bottom{
            .left{
                text-align: center;
            }
            .right{
                flex-direction: column;
                text-align: center;
            }
        }
    }
    .recaptcha-wrapper{
        .g-recaptcha{
            position: absolute;
            transform: translateX(-50%) scale(0.7);
        }
    }
}
