@font-face {
    font-family: 'Chomsky';
    src: url('../fonts/chomsky.otf');
    font-weight: 400;
    font-style: normal;
}

:root {
    --success-color: green;
    --error-color: #F44336;
    --ease-transition: ease;
    --scale: 1;
}

@media (min-width: 1920px) {
    :root{
        --scale: 0.8;
    }
}

* {
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

body, html {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font1);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 120%;
    font-weight: 400;
    font-family: var(--font2);
}

h1 {
    font-size: 72px;
}

h2 {
    font-size: 42px;
}

h3 {
    font-size: 38px;
}

h4 {
    font-size: 34px;
}

h5 {
    font-size: 30px;
}

h6 {
    font-size: 26px;
}

p {
    color: var(--text-color);
    font-family: var(--font1);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
}

.footer .footer-links-label,
.big-text,
.medium-text,
.small-text {
    text-transform: var(--heading-style) !important;
} 

.hover-image-opacity,
.kg-image,
.kg-signup-card-image,
.kg-header-card-image,
p img,
.kg-gallery-image img,
.kg-product-card-image {
    filter: var(--image-filter);                  
} 

html[data-image-style="Normal"] a.hover-image-opacity:hover::after,
html[data-image-style="Normal"] a.kg-image:hover::after,
html[data-image-style="Normal"] a.kg-signup-card-image:hover::after,
html[data-image-style="Normal"] a.kg-header-card-image:hover::after,
html[data-image-style="Normal"] a.p img:hover::after,
html[data-image-style="Normal"] a.kg-gallery-image img:hover::after,
html[data-image-style="Normal"] a.kg-product-card-image:hover::after {
    opacity: 1;
}

.wide-container {
    padding-left: 42px;
    padding-right: 42px;
}

.narrow-container {
    min-width: calc(56vw + 84px);
    width: calc(56vw + 84px);
    padding-left: 42px;
    padding-right: 42px;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

button,
.button,
.kg-btn,
.kg-header-card-button {
    margin: 0;
    cursor: pointer;
    padding: 8px 32px;
    line-height: 160%;
    font-family: var(--font1);
    color: var(--background-color);
    background-color: var(--text-color);
    font-size: 16px;
    opacity: 1;
    transition: all .2s ease;
    border: none;
    outline: none;
    font-weight: 400;
}

button:hover:not(.unstyled-button),
.button:hover,
.kg-btn:hover,
.kg-header-card-button:hover {
    opacity: 0.92;
}

.unstyled-button {
    padding: 0;
    border: none;
    outline: none;
    background-color: transparent;
}

.hover-underline:hover,
.small-card-bottom-text a:hover {
    text-decoration: underline;
}

.hover-image-opacity,
.kg-image,
.kg-signup-card-image,
.kg-header-card-image,
p img,
.kg-gallery-image img ,
.kg-product-card-image{
    position: relative;
    transition: filter 0.5s ease;
}

.post-content img:not(.no-lightense) {
    transition: filter 0.5s ease, transform var(--lightense-duration) var(--lightense-timing-func);
}

.hover-image-opacity img[loading="lazy"]{
    opacity: 0;
}

.hover-image-opacity img {
    transition: all .5s ease !important;   
}

.hover-image-opacity figure.loaded img {
    opacity: 1;
}

.hover-image-opacity figure::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--text-color);
    transition: opacity 0.5s ease !important;
    opacity: 0.08;
}

.hover-image-opacity figure.loaded::before {   
    opacity: 0;
}

.hover-image-opacity:hover,
.kg-image:hover,
.kg-signup-card-image:hover,
.kg-header-card-image:hover,
p img:hover,
.kg-gallery-image img:hover, 
.kg-product-card-image:hover {
    filter: grayscale(0);
}

.hover-image-opacity:after,
.kg-image:after,
.kg-signup-card-image:after,
.kg-header-card-image:after,
p img:after,
.kg-gallery-image img:after,
.kg-product-card-image:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.08);
    opacity: 0;
    transition: opacity .3s ease;
}

small,
figcaption {
    font-family: var(--font1);
    line-height: 140%;
    font-size: 14px;
}

figcaption a {
    text-decoration: underline;
}

.medium-text {
    line-height: 140%;
    font-family: var(--font3);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 24px;
}

.big-text {
    line-height: 140%;
    font-family: var(--font3);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 32px;
}

.small-text {
    line-height: 140%;
    font-family: var(--font3);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
}

img, figure {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

/* figure {
    display: flex;
    align-items: center;
    justify-content: center;
} */

.two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.three-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.initial-paragraph {
    position: relative;
    display: block;
    overflow: hidden;
}

.initial-paragraph-reset {
    
}

.initial-paragraph.three-lines {
    max-height: calc(3 * 1.6 * 16px);
}

.initial-paragraph.two-lines {
    max-height: calc(2 * 1.6 * 16px);
}

.initial-paragraph::first-letter {
    float: left;
    font-size: 50px;
    line-height: 100%;
    margin-right: 8px;
    font-family: var(--font4);
    color: var(--text-color);
}

input,
textarea {
    border: 1px solid var(--text-color);
    margin: 0px;
    outline: none;
    width: 100%;
    font-family: var(--font1);
    line-height: 160%;
    padding: 8px 16px;
    font-size: 16px;
    background-color: var(--background-color);
    border-radius: 0px;
}

textarea {
    resize: none;
    min-height: 32vh;
    padding: 12px 16px;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-color);
    opacity: 0.6;
}

.success {
    color: var(--success-color);
}

.error {
    color: var(--error-color);
}

#announcement-bar-root .gh-announcement-bar {
    font-family: var(--font1);
    font-size: 16px;
    line-height: 160%;
    padding: 12px 42px;
}

#announcement-bar-root .gh-announcement-bar-content {
    padding: 0px 42px;
}

#announcement-bar-root button:hover {
    background-color: transparent;
}

.section-heading {
    padding: 10px 0px;
    width: 100%;
    border-top: 1px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 100%;
    font-family: var(--font2);
    font-size: 20px;
}

.section-heading-button {
    display: flex;
    align-items: center;
}

.section-heading-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 26px;
    margin-left: 11px;
}

.section-padding {
    padding-top: 57px;
    padding-bottom: 57px;
}

.section-padding-top {
    padding-top: 57px;
}

.section-padding-bottom {
    padding-bottom: 57px;
}

.section-padding-small {
    padding-top: 45px;
    padding-bottom: 45px;
}

.pagination-button {
    margin-bottom: 57px;
}

.restricted-access-icon {
    width: 13px;
    min-width: 13px;
    height: 13px;
    min-height: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.access-icon-smaller {
    width: 11px;
    min-width: 11px;
    height: 11px;
    min-height: 11px;
}

.hide-on-desktop {
    display: none !important;
}

.italic-lower-opac {
    font-style: italic;
    opacity: 0.7;
}

.featured-tags-section {
    display: none;
}

.hidden {
    width: 0px;
    height: 0px;
    display: none;
}

.bold-link {
    font-weight: bold;
    text-decoration: none !important;
}

.bold-link:hover {
    text-decoration: underline !important;
}

.full-page-section {
    padding: 82px 0px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Styles for large desktop */
@media (min-width: 1439px) {  
    body, html {
        font-size: calc(1.11vw * var(--scale));
    }

    h1 {
        font-size: calc(5vw * var(--scale));
    }

    h2 {
        font-size: calc(2.92vw * var(--scale));
    }
    
    h3 {
        font-size: calc(2.64vw * var(--scale));
    }
    
    h4 {
        font-size: calc(2.36vw * var(--scale));
    }
    
    h5 {
        font-size: calc(2.08vw * var(--scale));
    }
    
    h6 {
        font-size: calc(1.81vw * var(--scale));
    }

    p {
        font-size: calc(1.11vw * var(--scale));
    }
    
    .wide-container {
        padding-left: 2.92vw;
        padding-right: 2.92vw;
    }

    .narrow-container {
        min-width: 61.84vw;
        width: 61.84vw;
        padding-left: 2.92vw;
        padding-right: 2.92vw;
    }
    
    button,
    .button,
    .kg-btn,
    .kg-header-card-button {
        padding: calc(0.56vw * var(--scale)) calc(2.22vw * var(--scale));
        font-size: calc(1.11vw * var(--scale));
    }

    small,
    figcaption {
        font-size: calc(0.97vw * var(--scale));
    }
    
    .medium-text {
        font-size: calc(1.67vw * var(--scale));
    }

    .big-text {
        font-size: calc(2.22vw * var(--scale));
    }

    .small-text {
        font-size: calc(1.38vw * var(--scale));
    }

    input,
    textarea {
        padding: calc(0.56vw * var(--scale)) calc(1.11vw * var(--scale));
        font-size: calc(1.11vw * var(--scale));
    }

    textarea {
        padding: calc(0.83vw * var(--scale)) calc(1.11vw * var(--scale));
    }

    #announcement-bar-root .gh-announcement-bar {
        font-size: calc(1.11vw * var(--scale));
        padding: calc(0.8vw * var(--scale)) 2.92vw;
        min-height: calc(3.3vw * var(--scale));
    }

    #announcement-bar-root .gh-announcement-bar-content {
        padding: 0px 2.92vw;
    }

    .gh-announcement-bar button {
        right: calc(0.55vw * var(--scale));
        margin-top: calc(-1.1vw * var(--scale));
        width: calc(2.2vw * var(--scale));
        height: calc(2.2vw * var(--scale));
    }

    .gh-announcement-bar button svg {
        width: calc(0.8vw * var(--scale));
        height: calc(0.8vw * var(--scale));
    }

    .section-heading {
        padding: calc(0.7vw * var(--scale)) 0px;
        font-size: calc(1.39vw * var(--scale));
    }

    .section-heading-arrow {
        width: calc(1.81vw * var(--scale));
        margin-left: calc(0.76vw * var(--scale));
    }

    .section-padding {
        padding-top: calc(3.96vw * var(--scale));
        padding-bottom: calc(3.96vw * var(--scale));
    }

    .section-padding-top {
        padding-top: calc(3.96vw * var(--scale));
    }

    .section-padding-bottom {
        padding-bottom: calc(3.96vw * var(--scale));
    }

    .section-padding-small {
        padding-top: calc(3.13vw * var(--scale));
        padding-bottom: calc(3.13vw * var(--scale));
    }

    .pagination-button {
        margin-bottom: calc(3.96vw * var(--scale));
    }

    .initial-paragraph::first-letter {
        font-size: calc(3.55vw * var(--scale));
        margin-right: calc(0.56vw * var(--scale));
    }

    .initial-paragraph.three-lines {
        max-height: calc(3 * 1.6 * (1.11vw * var(--scale)));
    }
    
    .initial-paragraph.two-lines {
        max-height: calc(2 * 1.6 * (1.11vw * var(--scale)));
    }

    .restricted-access-icon {
        width: calc(0.9vw * var(--scale));
        min-width: calc(0.9vw * var(--scale));
        height: calc(0.9vw * var(--scale));
        min-height: calc(0.9vw * var(--scale));
        margin-right: calc(0.35vw * var(--scale));
    }

    .access-icon-smaller {
        width: calc(0.76vw * var(--scale));
        min-width: calc(0.76vw * var(--scale));
        height: calc(0.76vw * var(--scale));
        min-height: calc(0.76vw * var(--scale));
    }

    .full-page-section {
        padding: calc(5.7vw * var(--scale)) 0px;
    }
}

/* Styles for tablet */
@media (max-width: 991px) { 
    .wide-container,
    .narrow-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .narrow-container {
        min-width: unset;
        width: 100%;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 38px;
    }
    
    h3 {
        font-size: 34px;
    }
    
    h4 {
        font-size: 30px;
    }
    
    h5 {
        font-size: 26px;
    }
    
    h6 {
        font-size: 22px;
    }

    #announcement-bar-root .gh-announcement-bar {
        padding: 12px 30px;
    }

    #announcement-bar-root .gh-announcement-bar-content {
        padding: 0px 30px;
    }

    .hover-underline:hover,
    .small-card-bottom-text a:hover {
        text-decoration: none;
    }

    .hover-image-opacity:hover:after{
        opacity: 0;
    }

    .medium-text {
        font-size: 32px;
    }

    .small-text {
        font-size: 24px;
    }

    .section-heading {
        padding: 12px 0px;
        font-size: 26px;
    }

    .section-heading-arrow {
        width: 32px;
        margin-left: 14px;
    }

    .section-padding {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .section-padding-top {
        padding-top: 38px;
    }

    .section-padding-bottom {
        padding-bottom: 38px;
    }

    .section-padding-small {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .pagination-nav {
        margin-bottom: 38px;
    }

    .pagination-button {
        margin-bottom: 0px;
    }

    .access-icon-smaller {
        width: 13px;
        min-width: 13px;
        height: 13px;
        min-height: 13px;
    }

    .hide-on-desktop {
        display: block !important;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .full-page-section {
        margin-top: 26px;
        border-top: 1px solid var(--text-color);
        min-height: 80vh;
    }

    textarea {
        min-height: 25vh;
    }

    .two-lines-mobile {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Styles for mobile */
@media (max-width: 479px) { 
    body, html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 26px;
    }
    
    h4 {
        font-size: 24px;
    }
    
    h5 {
        font-size: 22px;
    }
    
    h6 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .wide-container,
    .narrow-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    button,
    .button,
    .kg-btn,
    .kg-header-card-button {
        padding: 8px 28px;
        font-size: 14px;
    }

    #announcement-bar-root .gh-announcement-bar {
        padding: 12px 18px;
    }

    #announcement-bar-root .gh-announcement-bar-content {
        padding: 0px 18px;
    }

    .big-text {
        font-size: 24px;
    }

    .medium-text {
        font-size: 24px;
    }

    .small-text {
        font-size: 20px;
    }

    input,
    textarea {
        padding: 8px 14px;
        font-size: 14px;
    }

    textarea {
        padding: 10px 14px;
    }

    .section-heading {
        padding: 10px 0px;
        font-size: 20px;
    }

    .section-heading-arrow {
        width: 26px;
        margin-left: 11px;
    }

    .section-padding {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .section-padding-top {
        padding-top: 32px;
    }

    .section-padding-bottom {
        padding-bottom: 32px;
    }

    .section-padding-small {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .pagination-nav {
        margin-bottom: 32px;
    }

    .initial-paragraph::first-letter {
        font-size: 44px;
    }

    .initial-paragraph.three-lines {
        max-height: calc(3 * 1.6 * 14px);
    }
    
    .initial-paragraph.two-lines {
        max-height: calc(2 * 1.6 * 14px);
    }

    .access-icon-smaller {
        width: 11px;
        min-width: 11px;
        height: 11px;
        min-height: 11px;
    } 
    
    .horizontal-card .restricted-access-icon {
        width: 11px;
        min-width: 11px;
        height: 11px;
        min-height: 11px;
    }

    .full-page-section {
        margin-top: 20px;
        padding: 57px 0px;
    } 
}