/* ------------------------------------------------------------------------ */
/*  BRAND STYLES
/* ------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------ */
/*  BASE STYLE
/* ------------------------------------------------------------------------ */
html,
body {
    height: 100%;
}

body {
    font-family: "Ubuntu", sans-serif;
}

strong {
    font-weight: 00;
}

h1 {
    line-height: 110%;
    /* font-size: 36px; */
    font-weight: 600;
    letter-spacing: -0.035em;
}

h2 {
    line-height: 120%;
    letter-spacing: -0.035em;
}

h3 {
    line-height: 120%;
    letter-spacing: -0.035em;
}

h3 em,
.bg-black h3 em {
    font-style: normal;
    color: #dd3e35;
}

.bg-red h3,
.bg-black h2,
.bg-black h3,
.bg-black h4,
.bg-dark-deco h2,
.bg-red h4,
.bg-red h3,
.bg-red h2,
.bg-grey-700 h3,
.bg-red a {
    color: #fff;
}

.bg-red a:hover {
    opacity: 0.5;
}

.text-white p {
    /* color: #B8BECF; */
}

div > h1:first-child,
div > h2:first-child,
div > h3:first-child,
div > h4:first-child {
    margin-top: 0;
}

.container {
    max-width: 1140px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.box-half {
    max-width: 570px;
}

.max-third {
    max-width: 380px;
}

blockquote {
    position: relative;
    text-align: left;
}

blockquote::before {
    content: "";
    position: absolute;
    left: -54px;
    top: 0;
    width: 32px;
    height: 32px;
    background: url(../images/quote.svg) no-repeat top left;
    background-size: contain;
    /* db */
}

@media (min-width: 1040px) {
    .container {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }
}

a {
    text-decoration: none;
    transition: 0.3s all ease-in-out;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

table {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* table tr td {
    border-top: 1px solid #080738;
    padding: 12px 0;
} */

code table {
    margin-top: 0;
    margin-bottom: 0;
}

code table tr td {
    margin-top: 0;
    margin-bottom: 0;
    border-top: none;
    padding: 0;
}

.img-sq {
    height: 0;
    width: 100%;
    padding-bottom: 86%;
}

.img-wide {
    height: 0;
    width: 100%;
    padding-bottom: 76%;
}

.img-wider {
    height: 0;
    width: 100%;
    padding-bottom: 56%;
}

.img-blog {
    height: 0;
    /* width: 100%; */
    padding-bottom: 60%;
}

.img-tall {
    height: 0;
    width: 100%;
    padding-bottom: 120%;
}

.img-mask {
    mask-image: url(../images/photo-mask.svg);
    -webkit-mask-image: url(../images/photo-mask.svg);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    max-width: 345px;
    width: 100%;
    display: inline-block;
}

.hello-mask {
    mask-image: url(../images/hello-mask.svg);
    -webkit-mask-image: url(../images/hello-mask.svg);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    max-width: 617px;
    width: 100%;
    display: inline-block;
}

.multiply {
    mix-blend-mode: multiply;
}

main ul,
.fancybox-content ul {
    padding-left: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    /* margin-left: 1rem; */
}

main ul li,
.fancybox-content ul li {
    list-style: url("../images/dot.svg");
    margin-top: 0.66em;
    margin-bottom: 0.66em;
}

.list-check ul,
.has-list-check ul,
.list-uncheck ul {
    padding-left: 0;
}

.has-list-check ul li {
    padding-left: 32px;
    /* padding-bottom: 12px; */
    margin-top: 0.66em;
    margin-bottom: 0.66em;
    /* padding-top: 0; */
    background: url('data:image/svg+xml;utf8,<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle fill="%23DD3E35" cx="16" cy="16" r="16"/><path stroke="%23FFF" stroke-width="2" stroke-linecap="round" d="M9 15.236L14.75 21l8.977-9"/></g></svg>')
        no-repeat left top;
    background-size: 20px;
    list-style: none;
}

.has-arrow,
.has-arrow-sm {
    position: relative;
    transition: all ease-in-out 0.3s;
}

.has-arrow-sm {
    padding-right: 36px;
}

.has-arrow-sm.link-arrow {
    padding-right: 24px;
}

.has-arrow::after {
    content: "";
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 23px;
    background: url(../images/arrow.svg) no-repeat right center;
    transition: all ease-in-out 0.3s;
    /* padding-right: 16px; */
}

.has-arrow:hover::after {
    right: 0px;
}

.has-arrow.has-arrow-bottom::after {
    content: "";
    position: absolute;
    left: 24px;
    top: auto;
    bottom: 24px;
    transform: none;
    height: 20px;
    width: 23px;
    background: url(../images/arrow.svg) no-repeat right center;
}

.has-arrow-sm::before {
    content: "";
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    border-width: 2px 2px 0 0;
    border-color: #1eb0e0;
    transition: all 0.2s ease-in-out;
    /* padding-right: 16px; */
}

.has-arrow-sm:hover::before {
    right: -3px;
}

.btn-arrow {
    display: inline-block;
    position: relative;
    padding: 12px 46px 12px 20px;
    line-height: 100%;
    border: 3px solid #dd3e35;
    color: #dd3e35;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-arrow::after {
    content: "";
    position: absolute;
    background: url('data:image/svg+xml;utf8,%3Csvg width="21" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="%23DD3E35" stroke-width="2" d="M0 6.5h19M13 1l6 5.5-6 5.5"/%3E%3C/svg%3E')
        no-repeat;
    right: 18px;
    top: 50%;
    margin-top: -6px;
    width: 21px;
    height: 13px;
    z-index: 10;
    transition: all 0.2s ease-in-out;
}

.btn-arrow:hover::after {
    right: 15px;
}

.link-arrow {
    color: #dd3e35;
    font-weight: 600;
    position: relative;
    padding-right: 32px;
    display: inline-block;
    border-bottom: none;
}

.link-arrow::after {
    content: "";
    position: absolute;
    background: url('data:image/svg+xml;utf8,%3Csvg width="21" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="%23DD3E35" stroke-width="2" d="M0 6.5h19M13 1l6 5.5-6 5.5"/%3E%3C/svg%3E')
        no-repeat;
    right: 2px;
    top: 50%;
    margin-top: -6px;
    width: 21px;
    height: 13px;
    z-index: 10;
    transition: all 0.2s ease-in-out;
}

.link-arrow:hover::after {
    right: 0;
}

.bg-red .link-arrow {
    color: #fff;
}

.bg-red .link-arrow::after {
    background: url('data:image/svg+xml;utf8,%3Csvg width="21" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="%23fff" stroke-width="2" d="M0 6.5h19M13 1l6 5.5-6 5.5"/%3E%3C/svg%3E')
        no-repeat;
}

.btn-white,
.bg-red .btn-arrow {
    border-color: #fff;
    color: #fff;
}

.btn-white::after,
.bg-red .btn-arrow::after {
    background: url('data:image/svg+xml;utf8,%3Csvg width="21" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="%23FFFFFF" stroke-width="2" d="M0 6.5h19M13 1l6 5.5-6 5.5"/%3E%3C/svg%3E')
        no-repeat;
}

.has-btn-play::after {
    content: "";
    width: 60px;
    height: 60px;
    background: #dd3e35 url(../images/play.svg) no-repeat center;
    background-size: 40px;
    /* border: 2px solid #fff; */
    border-radius: 100%;
    top: 2rem;
    left: 2rem;
    position: absolute;
    /* transform: translate(-50%, -50%); */
    transition: all 0.2s ease-in-out;
}

.has-btn-play:hover .btn-play {
    /* transform: scale(1.1); */
    /* opacity: .5; */
}

/* Password form */
.post-password-form input[type="password"] {
    padding: 12px 16px;
    border: 1px solid #b8c9de;
    border-radius: 8px;
}

.post-password-form input[type="submit"] {
    padding: 12px 16px;
    color: #fff;
    background-color: #dd3e35;
    font-weight: bold;
    border-radius: 8px;
}

.p-large > p:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

/* Custom utilities */
.img-responsive {
    max-width: 100%;
    height: auto;
}

ul.list-reset {
    padding: 0;
}

.list-reset li {
    list-style: none;
}

.grayscale {
    filter: grayscale(100);
}

.multiply {
    mix-blend-mode: multiply;
}

.translatey-50 {
    transform: translateY(-50%);
}

.client-logo {
    max-width: 130px;
    max-height: 62px;
    filter: grayscale(100);
    mix-blend-mode: multiply;
    transition: all 0.2s ease-in-out;
}

.is-selected .client-logo {
    filter: none;
    transform: scale(1.1);
}

.client-logo-inverted {
    max-width: 160px;
    max-height: 62px;
    filter: invert(100) grayscale(100) contrast(5);
    mix-blend-mode: screen;
}

.client-logo-inverted.logo-cover {
    max-width: 160px;
    max-height: 62px;
    filter: invert(100) grayscale(100) contrast(3);
}

.list-logos li {
    display: inline-block;
    vertical-align: middle;
}

.list-logos li img {
    filter: grayscale(100%) contrast(130%);
    mix-blend-mode: multiply;
    max-width: 140px;
    max-height: 50px;
    /* opacity: .8; */
}

.list-logos-lg li img {
    filter: none;
    mix-blend-mode: normal;
    max-width: 180px;
    max-height: 100px;
    /* opacity: .8; */
}

.list-check ul,
.list-uncheck ul {
    padding-left: 0;
    padding-bottom: 0;
    /* margin-top: 1.5rem;
    margin-bottom: 1.5rem; */
    /* margin-bottom: 0; */
}

.list-check li,
.list-uncheck li {
    padding-left: 50px;
    /* min-height: 6.25rem; */
    list-style: none;
}

.list-check li {
    background: url("data:image/svg+xml,%3Csvg width='35' height='35' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='17.5' cy='17.5' r='17.5' fill='%23F3F6F6'/%3E%3Cpath d='M11 17l5.5 5.5L25 14' stroke='%232CC256' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        no-repeat left 14px;
}

.list-uncheck li {
    background: url("data:image/svg+xml,%3Csvg width='35' height='35' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='17.5' cy='17.5' r='17.5' fill='%23F3F6F6'/%3E%3Cpath stroke='%23DD3E35' stroke-width='2' stroke-linecap='round' d='M12.414 13L23 23.586M22.586 13L12 23.586'/%3E%3C/svg%3E")
        no-repeat left 14px;
}

.logo-partners {
    max-height: 60px;
}

ol {
    /* list-style: decimal-leading-zero; */
    /* padding-bottom: 1rem; */
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding-left: 0em;
    list-style: none;
    counter-reset: my-awesome-counter;
    /* display: flex;
    flex-wrap: wrap; */
}

ol li {
    counter-increment: my-awesome-counter;
    padding-left: 28px;
    position: relative;
}

ol li::before {
    content: counter(my-awesome-counter) ".";
    /* margin-right: .5rem; */
    /* line-height: 1; */
    position: absolute;
    font-weight: bold;
    color: #dd3e35;
    left: 0;
}

.border-t-faded {
    border-top: 2px solid rgba(256, 256, 256, 0.1);
}

.link-social {
    padding-left: 28px;
    display: block;
    position: relative;
}

.link-social::before {
    content: url(../images/in.svg);
    position: absolute;
    left: 0px;
    height: 16px;
    width: 16px;
}

.link-social.link-tw::before {
    content: url(../images/tw.svg);
}

.link-social.link-email::before {
    content: url(../images/i-email.svg);
}

.link-social.link-git::before {
    content: url(../images/i-github.svg);
}

/* ------------------------------------------------------------------------ */
/*  HEADER
/* ------------------------------------------------------------------------ */
.header-inner {
    min-height: 480px;
}

.header-home {
    min-height: 95vh;
}

@media (min-width: 770px) {
    .header-inner {
        height: 90vh;
        max-height: 720px;
    }
}

.header-text {
    text-shadow: 0px 4px 40px rgba(0, 0, 0, 0.5);
}

.darken-img-top::after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        180.64deg,
        #000000 -48.85%,
        rgba(0, 0, 0, 0) 67.35%
    );
    mix-blend-mode: multiply;
    opacity: 0.8;
    position: absolute;
    /* transform: rotate(180deg); */
    z-index: 2;
}
.darken-img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 40%);
    mix-blend-mode: multiply;
    opacity: 1;
    position: absolute;
    z-index: 2;
    display: block;
}

/* nav bg */

.has-img-shade {
    position: relative;
    /* z-index: 1; */
}

.has-img-shade::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        180.64deg,
        #000000 -48.85%,
        rgba(0, 0, 0, 0) 67.35%
    );
    opacity: 0.75;
    content: "";
    position: absolute;
    z-index: 3;
    mix-blend-mode: multiply;
}

.btn-scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    margin-left: -10px;
    height: 100px;
    text-align: center;
    cursor: pointer;
    z-index: 100;
}

.btn-scroll-line {
    position: absolute;
    bottom: 0;
    width: 3px;
    height: 64px;
    background: rgba(6, 44, 67, 0.2);
    z-index: 50;
    overflow: hidden;
}

.btn-scroll-text {
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(-90deg);
    position: absolute;
    top: 0px;
    left: -8px;
    cursor: pointer;
    display: block;
}

.btn-scroll-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 16px;
    background: #dd3e35;
    animation: scroll 2s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(100px);
    }
}

/* ------------------------------------------------------------------------ */
/*  INTRO
/* ------------------------------------------------------------------------ */

/* .s-intro */
.s-intro {
    margin-top: calc(-3.75% - 5px);
}

.s-intro p em {
    font-style: normal;
    /* color: #DD3E35; */
}

.s-intro .btn-arrow {
    font-size: 1rem;
}

.s-intro .text-center img {
    margin-left: auto;
    margin-right: auto;
    margin-top: -3rem;
}

.s-intro-red + .bg-dark-deco::before {
    display: none;
}

.bg-dark-deco .p-intro {
    color: #929caf;
}

/* ------------------------------------------------------------------------ */
/*  FOOTER
/* ------------------------------------------------------------------------ */
footer p {
    margin: 0;
    padding: 0;
}

/* ------------------------------------------------------------------------ */
/*  DECORATION
/* ------------------------------------------------------------------------ */
.deco-line {
    position: absolute;
    top: 0;
    width: 3px;
    height: 20px;
    background: #dd3e35;
    left: 50%;
}

.deco-line-long {
    height: 20px;
    margin-top: 3.75%;
}

@media (min-width: 770px) {
    .deco-line-long {
        height: 60px;
    }
}

.deco-img-wide {
    /* width: calc(100% + 2px); */
    width: 103%;
    height: auto;
    max-width: none;
    margin-bottom: -1px;
    margin-top: -1px;
    margin-left: -3px;
    display: block;
}

/* .s-intro::before {
    content: "";
    height: 100px;
    width: 110%;
    background: url(../images/angle-white.svg) center top;
    background-size: cover;
    display: block;
} */

/* .s-intro-red::after {
    content: "";
    height: 80px;
    width: 110%;
    background: url(../images/angle-red-bottom.svg) center bottom;
    background-size: cover;
    position: absolute;
    bottom: -80px;
    left: 0;
} */

/* .s-intro-red::before {
    background: url(../images/angle-red.svg) center top;
    background-size: cover;
} */

.dego-angle-img {
    width: 102%;
    max-width: none;
}

.bg-red-deco {
    background: url(../images/footer.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.bg-red-deco::before {
    content: "";
    background: url(../images/notch-red.svg) no-repeat top center;
    width: 165px;
    height: 25px;
    position: absolute;
    top: -23px;
    left: 50%;
    margin-left: -83px;
    z-index: 10;
}

.bg-dark-deco {
    background: url(../images/dark-pattern.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.bg-dark-deco::before {
    content: "";
    background: url(../images/notch-dark.svg) no-repeat top center;
    width: 165px;
    height: 64px;
    position: absolute;
    top: -25px;
    left: 50%;
    margin-left: -83px;
    z-index: 30;
}

.bg-logo {
    background: url(../images/logo-wire-md.svg) no-repeat center;
    background-size: contain;
}

.deco-white-logo {
    position: absolute;
    left: 50%;
    top: 0px;
    transform: scale(1.8) rotate(20deg);
    transform-origin: top left;
    z-index: -1;
    pointer-events: none;
}

.deco-white-sm {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-200%);
    pointer-events: none;
    /* transform-origin: top left; */
    /* z-index: -1; */
}

.deco-outline-right {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(85%, -40%);
    pointer-events: none;
}

.deco-outline-left {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(-85%, 20%);
    pointer-events: none;
    z-index: 30;
}

@media (min-width: 770px) {
    .deco-outline-left {
        transform: translate(-75%, 20%);
    }
}

/* .deco-outline-left-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(-75%, 20%);
    z-index: 10;
} */

/* .s-img-wide::before {
    content: "";
    height: 100px;
    width: 100%;
    background: url(../images/angle-white-complex.png) center bottom;
    background-size: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
} */

.fancybox-bg {
    background: #141719;
}

.fancybox-content {
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.08),
        0 5px 15px 0 rgba(0, 0, 0, 0.08);
    border-radius: 6px;
}

.overlay-box {
    display: none;
    width: 100%;
    max-width: 960px;
    border-radius: 2px;
}

.fancybox-content {
    width: 100%;
    max-width: 960px;
}

cite {
    font-style: normal;
}

/* ------------------------------------------------------------------------ */
/*  SECTIONS
/* ------------------------------------------------------------------------ */
/* CASES */
.case-img,
.img-hover {
    background-size: auto 100%;
    transition: all ease-in-out 0.4s !important;
    background-repeat: no-repeat;
    background-position: center;
}

.slider-box:hover .case-img,
.img-hover:hover {
    background-size: auto 102%;
}

.case-info {
    width: 85%;
    position: relative;
}

.case-info::after {
    content: "";
    width: 40px;
    height: 40px;
    display: block;
    background: #f9fbfb;
    border-top-right-radius: 10px;
    transform: skew(20deg);
    right: -20px;
    top: 0;
    position: absolute;
}

/* Wide image */
.text-mask::before {
    content: "";
    width: 100%;
    height: 70px;
    display: block;
    background: #dd3e35;
    border-radius: 4px;
    transform: skewY(-5deg);
    top: -40px;
    left: 0;
    position: absolute;
    z-index: -1;
}

.text-mask::after {
    content: "";
    width: 100%;
    height: 70px;
    display: block;
    background: #dd3e35;
    border-radius: 4px;
    transform: skewY(3deg);
    bottom: -40px;
    left: 0;
    position: absolute;
    z-index: -1;
}

.num-lg {
    font-size: 160px;
    opacity: 0.2;
    font-weight: 600;
    top: 10px;
    left: 20px;
    line-height: 100%;
}

.bg-white .num-lg {
    opacity: 0.1;
}

/* Lerning journey slider */

/* Learning journey slider */
.lj-slider {
}

.lj-slider-item {
    width: 240px;
    /* margin-right: -1px; */
    /* background: url('../images/bg-lj.svg') repeat-x center center; */
}

.lj-slider-item-box {
    width: 180px;
    height: 180px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    border: 2px solid #dd3e35;
    background-color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 20px;
    position: relative;
}

.lj-slider-item-box::after {
    content: "";
    border: 2px solid #dd3e35;
    width: 100%;
    height: 100%;
    transform: scale(1.15);
    position: absolute;
    border-radius: 100%;
    opacity: 0.1;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.lj-slider-item-box:hover {
    border: 2px solid #dd3e35;
    transform: scale(1.01);
}

.lj-slider-item.is-page a {
    color: #fff;
    background: #dd3e35;
}

.lj-slider-item-box:hover::after {
    opacity: 0;
    transform: scale(1.25);
}

.lj-slider-item::before {
    content: "";
    width: 100%;
    height: 100%;
    background: url("../images/bg-lj.svg") repeat-x center;
    position: absolute;
    left: 0;
    top: 0;
}

.lj-slider .lj-slider-item:last-child::before {
    content: "";
    width: 100%;
    height: 100%;
    background: url("../images/bg-lj-arrow.svg") no-repeat center right;
    position: absolute;
    left: 0;
    top: 0;
}

.lj-slider .lj-slider-item:first-child::before {
    content: "";
    width: 50%;
    left: 50%;
}

.lj-slider .lj-slider-item:last-child {
    /* background: #fff url('../images/bg-lj-arrow.svg') no-repeat center right; */
}

/* ------------------------------------------------------------------------ */
/*  CONTENT
/* ------------------------------------------------------------------------ */
.grid-cases {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
}

.grid-3 {
    grid-gap: 1rem;
}
/* .grid-3 {
    grid-gap: 1rem;
} */

.grid-gap-wide {
    grid-gap: 3rem;
}

.no-gap {
    grid-gap: 0;
}

/* Case studies */
@media (min-width: 770px) {
    .grid-cases {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }

    .grid-3 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .grid-4 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* Team */
.grid-team {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 770px) {
    .grid-team {
        grid-gap: 20px;
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Toggles */
.toggle-title {
    display: block;
    position: relative;
    cursor: pointer;
    padding-right: 20px;
    margin-bottom: 0;
}

.toggle-title::before {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    right: 0;
    width: 13px;
    height: 8px;
    background: url('data:image/svg+xml;utf8,%3Csvg width="14" height="8" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cpath d="M-1403-1086H237V826h-1640z"/%3E%3Cpath d="M13.027 2.754L6.845 7.337.663 2.754V.027L6.845 4.61 13.027.027z" fill="%231EB0E0" fill-rule="nonzero"/%3E%3C/g%3E%3C/svg%3E')
        no-repeat;
    z-index: 10;
    transform-origin: center;
    transition: all 0.2s ease-in-out;
}

.toggle-box .toggle-title.is-open::before {
    transform: rotate(180deg);
}

.toggle-box .toggle-target {
    display: none;
}

.transition {
    transition: all 0.3s ease-in-out;
    /* transform: translateY(-5px); */
}
.transition:hover {
    /* transition: all .2s ease-in-out; */
    transform: translateY(-5px);
}

/* ------------------------------------------------------------------------ */
/*  CAROUSEL
/* ------------------------------------------------------------------------ */
.content-offset {
    max-width: calc(50% + 570px);
}

.driven-cell {
    width: 78%;
}

@media (min-width: 770px) {
    .driven-cell {
        width: 28%;
    }
}

.flickity-enabled.is-fade .flickity-slider > * {
    pointer-events: none;
    z-index: 0;
}

.flickity-enabled.is-fade .flickity-slider > .is-selected {
    pointer-events: auto;
    z-index: 1;
}

.flickity-viewport {
    transition: height 0.2s;
    /* overflow: visible; */
}

.red-box {
}

/* ------------------------------------------------------------------------ */
/*  BLOG
/* ------------------------------------------------------------------------ */
article h1 {
    font-size: 2rem;
}

article h2 {
    margin-top: 1.8666667em;
    margin-bottom: 1.0666667em;
    font-size: 1.5rem;
    padding-bottom: 0;
    text-align: left;
}

article h3 {
    margin-top: 1.6666667em;
    margin-bottom: 0.6666667em;
    padding-bottom: 0;
    font-size: 1.25em;
    text-align: left;
}

article h4 {
    margin-top: 1.7777778em;
    margin-bottom: 0.4444444em;
    padding-bottom: 0;
    font-weight: bold;
    font-size: 1rem;
    text-align: left;
}

article p {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

@media (min-width: 770px) {
    article h1 {
        font-size: 2.5rem;
    }
    article h2 {
        font-size: 2rem;
    }
    article h3 {
        font-size: 1.5rem;
    }
    article h4 {
        font-size: 1.25rem;
    }
}

article .lead {
    font-size: 20px;
    line-height: 150%;
    margin-bottom: 2em;
    display: block;
    color: #080738;
}

article a {
    color: #dd3e35;
}
article a:hover {
    color: #062c43;
}

article iframe {
    width: 100% !important;
}

code {
    font-family: monospace, monospace;
    padding: 0.2rem 0.5rem;
    margin: 0 0.2rem;
    font-size: 90%;
    white-space: nowrap;
    background: #f9fbfb;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
}

pre code {
    display: block;
    /* padding: .5rem 1rem; */
    white-space: pre-wrap;
    background: #fff;
    margin-top: 2em;
    margin-bottom: 2em;
    line-height: 120%;
    border: none;
}

.ql-img-inline-formula {
    display: inline-block;
}

h2 .ql-img-inline-formula {
    height: 1.5rem;
    width: auto;
}

.footnotes {
    padding-top: 2rem;
    display: block;
    color: #7f869f;
    font-size: 14px;
}

.footnotes hr {
    margin-bottom: 2rem;
    border-color: #1eb0e0;
}

.latex {
    display: inline-block;
}

article .img-wrap {
    text-align: center;
}

.cat-list {
    padding-left: 0;

    /* padding-bottom: 0; */
    background: none;
}

.cat-list li {
    position: relative;
    list-style: none;
    display: inline;
}

.cat-list li::after {
    content: "/";
    display: inline-block;
    padding-left: 6px;
    padding-right: 4px;
    /* margin-right: 8px; */
    font-weight: normal;
    color: #b8becf;
    opacity: 0.75;
}
.cat-list li:last-child::after {
    content: "";
}

.blog-tile {
    min-height: 320px;
}

/* ------------------------------------------------------------------------ */
/*  Slick slider
/* ------------------------------------------------------------------------ */
.red-boxes-slider .slider-cell {
    width: 360px;
    display: flex;
    min-height: 100%;
    /* height: 100%; */
}

.has-hover-cover .hover-cover {
    width: 0;
    transition: all 0.3s ease-in-out;
}

.has-hover-cover:hover .hover-cover {
    width: 100%;
}

.red-boxes-slider .slider-cell:hover h4 {
    color: #dd3e35;
}

.red-boxes-slider .slider-cell:hover p {
    color: #0b3853;
}

.red-boxes-slider .slider-cell:hover .link-arrow {
    color: #dd3e35;
}

.red-boxes-slider .slider-cell:hover .link-arrow::after {
    background: url('data:image/svg+xml;utf8,%3Csvg width="21" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="%23DD3E35" stroke-width="2" d="M0 6.5h19M13 1l6 5.5-6 5.5"/%3E%3C/svg%3E')
        no-repeat;
}

.boxes-slider-nav button {
    border-color: transparent;
}

.boxes-slider-nav button.is-selected {
    color: #dd3e35;
    border-color: #dd3e35;
}

/* News slider */
.news-slider-post {
    width: 300px;
    display: flex;
    min-height: 100%;
}
