/**
 * @file
 * Typography
 */

html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: 'Gilroy';
  color: var(--color-black);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  background-color: var(--color-grey-light);
}

@media print, screen and (min-width: 110em){
  html {
    font-size: 18px;
  }
  body{
    font-size: 1.1rem;
  }
}

@media print, screen and (min-width: 2250px){
  html {
    font-size: 23px;
  }
}
@media print, screen and (min-width: 2560px){
  html {
    font-size: 25px;
  }
}

a,
a.link {
  text-decoration: none;
  color: var(--color-red);
  -webkit-transition:all 0.2s ease;
  transition:all 0.2s ease;
}

a:hover,
a:active,
a:focus,
.link:hover,
.link:active,
.link:focus {
  text-decoration: none;
}
.link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1 a,
h2 a {
  border-bottom: none;
}

/**
 * Reusable heading classes are included to help modules change the styling of
 * headings on a page without affecting accessibility.
 */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Gilroy';
}

h1,
.h1 {
  margin: .6em 0;
  color: #000;
  font-size: calc(1.525rem + 3vw);
  font-weight: inherit;
  line-height: 1.1;
}
h2,
.h2 {
  margin: 1em 0 0.5em;
  font-size: calc(1.325rem + .9vw);
  font-weight: inherit;
  line-height: 1.2;
  font-weight: 600;
}
h3,
.h3 {
  margin: 1em 0 0.5em;
  font-size: calc(1.3rem + .6vw);
  font-weight: inherit;
  line-height: 1.3;
}
h4,
.h4 {
  margin: 1em 0 0.5em;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
}
h5,
.h5 {
  margin: 1em 0 0.5em;
  font-size: 1.125rem;
  font-weight: inherit;
  line-height: 1.3;
}
h6,
.h6{
  margin: 1em 0 0.5em;
  font-size: 1rem;
  font-weight: inherit;
  line-height: 1.3;
}
p {
  margin: 0 0 1.2em;
  font-size: 1.125rem;
}

.field--name-body ul {
  font-size: 1.125rem;
}

.small-h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 1rem 0;
  color: var(--color-red);
}

p {
  font-family: 'Gilroy';
}

@media print, screen and (min-width: 110em){
  p {
    font-size: 1.2rem;
  }
}

p.has-large-font-size {
  line-height: 1.3;
}

del {
  text-decoration: line-through;
}

img{
  vertical-align:middle;
}

blockquote {
  margin: 1.5em 2rem;
  padding: 0;
  background: transparent;
  position:relative;
}
blockquote p{
  font-size:1.5rem; font-weight:600;
}

blockquote:before {
  content: "";
  background:url(../../images/g-g.svg) no-repeat center / contain;
  display:block; width:28px; height:28px;
  position:absolute; left:0; top:0;
  -webkit-transform:translateX(-105%);transform:translateX(-105%);
}

blockquote:after {
  content: "";
  background:url(../../images/g-d.svg) no-repeat center / contain;
  display:block; width:28px; height:28px;
  position:absolute; left:100%; bottom:0; top:unset;
}

blockquote > p:first-child {
  display: inline;
}
.feed-icon {
  display: block;
  margin: 25px 0 0 0;
}
img {
  max-width: 100%;
  height: auto;
  -webkit-transition:all 0.3s ease; transition:all 0.3s ease;
}
ul,
ol {
  margin: 0;
  padding: 0 0 0.25em 1em; /* LTR */
}
[dir="rtl"] ul,
[dir="rtl"] ol {
  padding: 0 1em 0.25em 0;
}
ol ol,
ul ul {
  margin: 0;
  padding: 0 0 0.25em 1em; /* LTR */
}
[dir="rtl"] ol ol,
[dir="rtl"] ul ul {
  padding: 0 1em 0.25em 0;
}

@media print, screen and (orientation: landscape){
  blockquote {
    margin-left:0; margin-right:0;
  }
  blockquote:before, blockquote:after {
    width:40px; height:40px;
  }
  blockquote:before{ -webkit-transform:translate(-150%, -25%);transform:translate(-150%, -25%); }
  blockquote:after{ -webkit-transform:translate(100%, 25%);transform:translate(100%, 25%); }
}

@media print, screen and (min-width: 64em){
  h1, .h1 {
    font-size: 4.3rem;
  }
  h2, .h2 {
    font-size: 2.7rem;
    margin-bottom: 2.5rem;
  }
  h3, .h3 {
    font-size: 2.5rem;
  }
  h4, .h4 {
    font-size: 2rem;
  }
}

hr {
  border: none;
  opacity: 0.5;
  background-color: var(--color-black);
  margin: 1.7rem auto;
  height: 1px;
}
@media print, screen and (min-width: 100em){
  h1, .h1 {
    font-size: 4.8rem;
  }
  blockquote:before, blockquote:after {
    width:50px; height:50px;
  }
  .h1-big {
    font-size: 6rem;
  }
}
