/*
 * Copyright (c) 2020. Button Systems, s.r.o. www.buttonsystems.eu
 */

@font-face {
  font-family: "MacanPanWeb";
  src:
    url("../../fonts/MacanPanWeb-Regular.woff2") format("woff2"),
    url("../../fonts/MacanPanWeb-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MacanStencilPanWeb";
  src:
    url("../../fonts/MacanStencilPanWeb-Book.woff2") format("woff2"),
    url("../../fonts/MacanStencilPanWeb-Book.woff") format("woff");
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MacanPanWeb";
  src:
    url("../../fonts/MacanPanWeb-Medium.woff2") format("woff2"),
    url("../../fonts/MacanPanWeb-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MacanPanWeb";
  src:
    url("../../fonts/MacanPanWeb-Semibold.woff2") format("woff2"),
    url("../../fonts/MacanPanWeb-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

a {
    text-decoration: none;
    color: var(--black, #062329);
}

html, body {
    min-height: 100vh;
}

html {
    font-family: "MacanPanWeb", sans-serif;
    line-height: 1.15;
    color: var(--black);
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    /* font-family: 'Lato', sans-serif; */
    font-family: "MacanPanWeb", sans-serif;
    letter-spacing: -.15px;
    font-display: optional;
}

@media screen and (min-width: 320px) {
    body {
        font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1600 - 300)));
    }
}

@media screen and (min-width: 1200px) {
    html {
        font-size: 22px;
    }
}

legend.uk-legend,
legend,
h1, h2, h3, h4, h5, h6 {
    font-family: "MacanPanWeb", sans-serif;
    font-weight: 600;
    color: var(--black);
}

h0,
.h0,
h1 {
    font-family: "MacanStencilPanWeb", "MacanPanWeb", sans-serif;
    font-weight: 450;
}

h1.normal, h2.normal, h3.normal, h4.normal, h5.normal, h6.normal {
    font-weight: normal;
}

h1 {
    /* font-size: calc(40px + (80 - 40) * ((100vw - 300px) / (1600 - 300))); */
}

p {
    line-height: 28px;
    word-break: break-word;
    -webkit-font-feature-settings: "liga" 1;
    font-feature-settings: "liga" 1;
}
blockquote {
  background: var(--black);
  color: white;
  padding: 48px 96px;
  font-style: normal;
  font-size: 22px;
  line-height: 32px;
  margin: 48px 0;
}
.ps-wp__override blockquote.wp-block-quote p,
.ps-wp__override.slim blockquote.wp-block-quote p {
  background: var(--black);
  color: white;
  font-style: normal;
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 0;
}
blockquote cite {
  max-width: 540px;
  margin: 0 auto;
  margin-top: 36px;
  display: block;
  font-style: normal;
  font-size: 16px;
  line-height: 32px;
  font-weight: 600;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .55ch;
}
h5 a {
	font-weight: normal;
}
.ps-wp__override p {
	font-size: 16px;
	line-height: 24px;
	text-align: left;
	margin-bottom: 0;
}
.ps-wp__override.slim {
	max-width: 730px;
	margin: 0 auto;
	padding: 0 !important;
	margin-bottom: 96px;
}
.ps-wp__override.slim h3 {
	margin: 0;
}
.ps-wp__override.slim h3 br {
	display: none;
}
.ps-wp__override.slim h3 strong {
    font-size: 16px;
	line-height: 26px;
	margin:0;
	padding: 40ox 0 24px 0;
}
.ps-wp__override.slim h5 {
  font-weight: normal;
}
.ps-wp__override .wrap {
    text-align: center;
    margin: 0 auto 48px auto;
}
.ps-wp__override.ps-wp__override-gallery p {
	max-width: 730px;
    text-align: center;
    margin: 0 auto 48px auto;
}
.ps-wp__override-gallery.ps-wp__override .wrap {
	max-width: 100%;
}
.ps-wp__override .wrap {
	text-align: left;
	margin: 0 auto;
}
.ps-wp__override h2 {
  /* font-size: 24px;
  line-height: 34px; */
  font-size: 36px;
  line-height: 43px;
  font-weight: 600;
	margin: 20px 0 16px 0;
}
.ps-wp__override p {
    margin: 0;
	margin-bottom: 28px;
}
.ps-wp__override p:empty {
	display:none;
}
.ps-wp__override p.huge {
    font-size: 24px;
    line-height: 38px;
    text-align: center;
}
.ps-wp__override p.has-text-align-center {
  text-align: center;
  padding-top: 4px;
}

h2 {
  font-size: 36px;
  line-height: 43px;
}
h3 {
  font-size: 32px;
  line-height: 48px;
}
h4 {
  font-size: 24px;
  line-height: 34px;
}
h5 {
  font-size: 20px;
  line-height: 28px;
}
h6 {
  font-size: 18px;
  line-height: 25px;
}
.ps-wp__override h2 {
  font-size: 28px;
  line-height: 34px;
}
.ps-wp__override h3 {
  font-size: 24px;
  line-height: 28px;
}
.ps-wp__override h4 {
  font-size: 20px;
  line-height: 28px;
}
.ps-wp__override h5 {
  font-size: 18px;
  line-height: 25px;
}
.ps-wp__override ol li,
.ps-wp__override ul li {
  font-size: 16px;
  line-height: 26px;
}

@media all and (max-width: 1120px) {
  h2 {
    font-size: 32px;
    line-height: 38px;
  }
  h3 {
    font-size: 32px;
    line-height: 40px;
  }
  h4 {
    font-size: 24px;
    line-height: 34px;
  }
  h5 {
    font-size: 20px;
    line-height: 28px;
  }
  h6 {
    font-size: 18px;
    line-height: 25px;
  }
}
