@charset "UTF-8";

:root {
    --color-primary-rgb: 244, 207, 98;
    --color-primary: rgb(var(--color-primary-rgb));

    --color-secondary-rgb: 220, 220, 207; /* dcdccf */
    --color-secondary: rgb(var(--color-secondary-rgb));    
    
    --color-black-rgb: 30, 27, 20; /* 1e1b14 */
    --color-black: rgb(var(--color-black-rgb));

    --color-black-dark-rgb: 0, 0, 0; 
    --color-black-dark: rgb(var(--color-black-dark-rgb));

    --color-danger-rgb: 255, 59, 49; /* ff3b31 */
    --color-danger: rgb(var(--color-danger-rgb));
    
    --color-danger-dark-rgb: 220, 39, 30; /* dc271e */
    --color-danger-dark: rgb(var(--color-danger-dark-rgb));

    --color-muted-rgb: 168, 167, 166; /* a8a7a6 */
    --color-muted: rgb(var(--color-muted-rgb));

    --color-border-rgb: 210, 209, 208; /* d2d1d0 */
    --color-border: rgb(var(--color-border-rgb));

    --color-link-rgb: 51, 120, 246; /* 3378f6 */
    --color-link: rgb(var(--color-link-rgb));
    
    --color-link-light-rgb: 209, 239, 253; /* d1effd */
    --color-link-light: rgb(var(--color-link-light-rgb));

    --font-article-ff: "BradfordLLWeb", sans;
    --font-article-fs: 22px;
    --font-article-lh: 1.5em;

    --font-published-ff: "InterDisplay", "Helvetica", sans-serif;
    --font-published-fs: 15px;
    --font-published-lh: 1.3em;    
    
    --img-radius: 65px;
    
    /* prevent zoom on mobile devices */
    touch-action: pan-x pan-y;
    height: 100%;
}

body {
    color: var(--color-black);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.btn {
    background: var(--color-black);
    transition: .2s all;
    color: white;
    border-radius: 100px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--color-black-dark);
}

.btn-loading {
    color: transparent;
    position: relative;
}

@keyframes loading-animation {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-loading::after {
    content: " ";
    position: absolute;
    width: 24px;
    height: 24px;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    border: 3px solid white;
    border-top-color: transparent;
    border-radius: 100px;
    opacity: .5;
    animation: loading-animation 1.5s infinite;
    animation-timing-function: linear;
}

a {
    color: var(--color-link);
}

a:hover {
    text-decoration: none;
}

/* font style */
* {
   font-family: "InterDisplay", "Helvetica", sans-serif;
   text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   font-smoothing: antialiased;
}

@-moz-document url-prefix() {
   /* Note: becouse FF has problem with lineheight on Helvetica */
   * {
      font-family: "InterDisplay", "Arial", sans-serif;
      text-rendering: auto;
   }
}

/*
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
*/

html,
body {
    margin: 0;
    padding: 0;
    display: block;
    height: 100%;
    /*  overscroll-behavior: none; */ 
    /* scroll-behavior: auto;     žiadne smooth animácie */
}

::placeholder {
    color: var(--color-muted);
    opacity: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.root {
    min-height: 100%;
    font-size: 15px;
    height: 100%;
}

.page-header * {
    font-family: "BradfordLLWeb";
    font-size: 22px;
    font-weight: 400;
}

.content-title * {
    font-family: "BradfordLLWeb";
}

.content-title h1 {
    font-size: 90px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    padding: 0;
    margin: 0 auto;
    max-width: 850px;
}

.content-title h1 em {
    letter-spacing: -0.04em;
}

.page-container {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
}

.page-intro .page-container {
    height: 100%;
}

.page-intro .page-content {
    flex-grow: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.page-footer {
    padding: 25px 20px;
    font-size: 13px;
    line-height: 1.2em;
    text-align: center;
}

.page {
    padding: 50px 50px 0 50px;
    height: 100%;
}

.page-wrapper {
    text-align: center;
    border-radius: 80px;
    padding: 100px;
    min-width: 100%;
    display: flex;
    flex-flow: column;
    flex-grow: 1;
}

.page-intro .page-wrapper {
    background: var(--color-primary);
}

.page-article .page-wrapper {
    box-shadow: 0 0 0 1px var(--color-border);
}

.content-title {
    margin-top: 56px;
    margin-bottom: 50px;
} 

.inline-form {
    background: white;
    display: inline-flex;
    padding: 10px;
    border-radius: 100px;
    width: 450px;
    max-width: 100%;
}

.inline-form .btn {
    height: 50px;
    padding: 0 20px;
    font-size: 15px;
    flex-shrink: 0;
    cursor: pointer;
}

.inline-form input {
    border: none;
    height: 50px;
    padding: 0 20px;
    font-size: 15px;
    flex-grow: 1;
    width: 100%;
}

.form-info {
    margin-bottom: 25px;
}

.inline-form input:focus,
.inline-form input:hover {
    outline: none;
}

.content-published { 
    font-family: var(--font-published-ff);
    line-height: var(--font-published-lh);
    font-size: var(--font-published-fs);
    text-transform: uppercase;
    margin: 40px 0;
}

.content-perex {
    font-size: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 70px;
    padding-bottom: 80px;
    position: relative;
    line-height: 1.35em;
}

.content-perex::after {
    position: absolute;
    content: " ";
    border-bottom: 1px solid var(--color-border);
    bottom: 0px;
    width: 300px;
    left: calc(50% - 150px);
}

.content-article {
    text-align: left;
    padding: 0 100px;
}

.content-article * {
    font-family: var(--font-article-ff);
    font-size: var(--font-article-fs);
    line-height: var(--font-article-lh);
}

.content-article h2 {
    font-size: 38px;
    line-height: 1.2em;
    font-weight: 500;
    font-style: italic;
}

.content-article h3 {
    font-size: 28px;
    line-height: 1.2em;
    font-weight: 500;
    margin-bottom: -0.25em;
    font-style: italic;
}

.btn-blog {
    width: 82px;
    height: 82px;
    background: var(--color-black);
    display: block;
    position: absolute;
    color: white;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-style: italic;
    font-family: "BradfordLLWeb", sans;
    font-size: 24px;
    transform: rotate(9deg);
    top: -41px;
    right: 115px;
    cursor: pointer;
    transition: .2s background-color;
}

.btn-blog:hover {
    background: var(--color-black-dark);
}

.page-cta {
    background-color: var(--color-primary);
    border-radius: 80px;
    margin-top: 25px;
    padding: 90px 100px;
    display: flex;
    column-gap: 50px;
    align-items: center;
}

.page-cta .cta-content {
    width: 50%;
    flex-shrink: 0;
}

.page-cta .cta-content .form-group {
    text-align: center;
}

.page-cta .form-info {
    display: none;
}

.cta-title, .cta-title em  {
    font-family: "BradfordLLWeb", sans;
    font-size: 24px;
    line-height: 1.4em;
}

.block-image img { 
    max-width: 100%; 
    height:auto; 
    border-radius: var(--img-radius); 
}

.block-gallery,
.block-image {
    margin-bottom: 40px;
}

.block + .block-image,
.block + .block-gallery {
    margin-top: 40px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 40px 40px 0 40px;
}

.features .feature {
    width: calc(50% - 25px);
    text-decoration: none;  
    color: var(--color-black);
}

.features .feature img {
    max-width: 100%;
    border-radius: var(--img-radius);
}

.feature .feature-title,
.feature .feature-title * {
    font-family: var(--font-article-ff);
    font-size: var(--font-article-fs);
    line-height: var(--font-article-lh);
}

.feature .feature-title {
    max-width: 225px;
    margin: 15px auto 20px auto;
}
    
.feature:hover .feature-title {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
}

.feature .feature-published{
    font-family: var(--font-published-ff);
    line-height: var(--font-published-lh);
    font-size: var(--font-published-fs);
    text-transform: uppercase;
    margin: 20px 20px 15px 20px;
}

.has-error.inline-form {
    box-shadow: 0 0 0 3px var(--color-danger), 0 0 0 3px rgba(var(--color-danger-rgb),.25);
}

.has-error.inline-form input {
    color: var(--color-danger);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.gallery .gallery-item {
    width: calc(33% - 20px);
}

.gallery .gallery-item a,
.gallery .gallery-item img {
    display: block;
    transition: .2s transform;
}

.gallery .gallery-item a {
    overflow: hidden;
    border-radius: var(--img-radius);
}

.gallery .gallery-item a:hover img {
    transform: scale(1.2);
}

.gallery img { 
    max-width: 100%;
}

.inline-form + .inline-form-err {
  color: var(--color-danger);
  height: 0px;
  overflow: visible;
  transform: translateY(10px)
}

.block-text-center {
  text-align: center;
}

.block-appendix { 
  padding-top: .5em;
}

@media screen and (max-width: 1199px) {
    .gallery .gallery-item {
        width: calc(50% - 15px);
    }

    .gallery .gallery-item {
        border-radius: 50px;
    }
}

@media screen and (max-width: 991px) {
    :root {
        --img-radius: 50px;
    }
    
    .content-article {
        text-align: left;
        padding: 0;
    }
    
    .page-cta {
        column-gap: 30px;
    }
    
    .features {
        gap: 40px;
        padding: 40px 0;
    }
}

@media screen and (max-width: 767px) {
    :root {
        --font-article-fs: 20px;
        --font-article-lh: 1.4em;
        --font-published-fs: 12px;
    }

    .page {
        padding: 0;
    }

    .page-wrapper {
        border-radius: 0px;
        padding: 40px 60px;
    }

    .page-article .page-wrapper {
        padding-bottom: 15px;
    }
    
    body.body-intro {
        background: var(--color-primary);
    }
    
    .page-header span { 
        display: none;
    }

    .btn-blog { 
        top: 20px; 
        right: 30px;
        height: 60px;
        width: 60px;
        font-size: 18px;
    }
    
    .page-footer {
        background: var(--color-primary);
    }

    .content-title h1 {
        font-size: 50px;
    }

    .content-title {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .page-cta {
        flex-direction: column;
        border-radius: 0px;
        row-gap: 20px;
        padding: 30px 30px 0px 30px;
    }
    
    .cta-title {
        display: none;
    }
    
    .page-cta {
        margin-top: 0px;
    }

    .page-cta .form-info {
        display: block;
        text-align: center;
    }
    
    .page-cta .cta-content {
        width: 100%;
    }

    .page-article .page-wrapper,
    .page-blog .page-wrapper {
        box-shadow: none;
    }
    
    .content-perex {
        font-size: 21px;
        max-width: 650px;
        margin-bottom: 32px;
        padding-bottom: 32px;
    }

    .content-perex::after {
        width: 150px;
        left: calc(50% - 75px);
    }
    
    .content-article {
        padding: 0px;
    }

    .block-gallery,
    .block-image {
        margin-bottom: 20px;
    }

    .block + .block-image,
    .block + .block-image {
        margin-top: 20px;
    }
    
    .features {
        gap: 40px;
        padding: 10px 0 30px 0 ;
    }

    .features .feature {
        width: 100%;
    }

    .feature .feature-published {
        margin: 15x 10px 10px 10px;
    }

    .feature .feature-title {
        margin: 10px auto 0px auto;   
    }

    .content-article h2 {
        font-size: 30px;
        line-height: 1.2em;
        font-weight: 500;
        margin-top: 20px;
        margin-bottom: 20px;
        
    }

    .content-article h3 {
        font-size: 22px;
        font-weight: 600;
    }
    
    .block-appendix { 
      padding-top: inherit;
    }

}

@media screen and (max-width: 575px) {
    .page-wrapper {
        padding: 40px 30px;
    }
    
    .gallery .gallery-item {
        width: 100%;
    }
}