.nord-ref {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    font-size: 16px;
    overflow-x: hidden;
    color: #000;
    background: white;
    padding-top: 150px
}

.nord-ref h1, .nord-ref h2, .nord-ref h3, .nord-ref h4, .nord-ref h5, .nord-ref h6 {
    font-weight: 800
}

.nord-ref h2 {
    font-size: 4rem;
    margin-bottom: 2rem
}

.nord-ref p {
    font-family: Roboto, sans-serif;
    color: #4f4f4f;
    line-height: 1.5
}

.nord-ref header {
    padding: 200px 0 100px
}

.nord-ref header .mobile-title {
    display: none
}

.nord-ref header .container {
    position: relative
}

.nord-ref header .pytel {
    position: absolute;
    top: -100px;
    right: 0px;
    width: 50%
}

.nord-ref header .intext {
    max-width: 550px;
    margin-top: 100px
}

.nord-ref section {
    margin-bottom: 15rem
}

.nord-ref section.work {
    margin-bottom: 0
}

.nord-ref section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.nord-ref section .row::after, .nord-ref section .row::before {
    display: none
}

.nord-ref section .row .col-sm-6 {
    width: auto;
    max-width: 50%;
    flex: 0 0 50%
}

@media (max-width: 782px) {
    .nord-ref section .row .col-sm-6 {
        max-width: 100%;
        flex: 0 0 100%
    }
}

.nord-ref section.brand {
    position: relative;
    margin-bottom: 20rem
}

.nord-ref section.brand::after {
    content: '#ZnamSvouKavu';
    position: absolute;
    left: 0;
    font-size: 15rem;
    bottom: -10rem;
    font-weight: 800;
    opacity: 0.1
}

.nord-ref section.brand .logo img {
    width: 200px
}

.nord-ref section.znaskavu .mobile {
    text-align: center
}

.nord-ref section.znaskavu .mobile img {
    height: 500px
}

.nord-ref section.feedback {
    color: #fff;
    background-image: linear-gradient(to bottom, #151515, rgba(21, 21, 21, 0.5)), url('/media/case-study/nordbeans/background.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 5rem
}

.nord-ref section.feedback h2 {
    margin-bottom: 5rem
}

.nord-ref section.feedback .video {
    padding-top: 56.25%;
    background: #fff;
    position: relative;
    max-width: 100%;
    width: 100%
}

.nord-ref section.feedback .video::before {
    position: absolute;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #504033;
    background-image: url('/media/case-study/nordbeans/play-button.svg');
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: 55% center;
    box-shadow: 0px 0px 0px 20px rgba(80, 64, 51, 0.5);
    top: 50%;
    left: 50%
}

.nord-ref section.feedback .secretary {
    padding: 7rem 0;
    background: rgba(21, 21, 21, 0.75);
    margin-top: 5rem
}

.nord-ref section.feedback .secretary .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.nord-ref section.feedback .secretary .content .avatar {
    width: 150px;
    height: 150px;
    flex-basis: 150px;
    flex-shrink: 0;
    border-radius: 50%;
    margin-right: 6rem;
    background-size: cover;
    background: #fff center center
}

.nord-ref section.feedback .secretary .content .text {
    flex-grow: 1;
    flex-basis: 70%;
    position: relative
}

.nord-ref section.feedback .secretary .content .text p {
    margin-bottom: 0;
    color: white
}

.nord-ref section.feedback .secretary .content .text p::before, .nord-ref section.feedback .secretary .content .text p::After {
    content: '';
    width: 40px;
    height: 40px;
    display: block;
    background-image: url('/media/case-study/nordbeans/quote.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    opacity: 0.1
}

.nord-ref section.feedback .secretary .content .text p::before {
    top: -40px;
    right: -20px
}

.nord-ref section.feedback .secretary .content .text p::after {
    transform: rotate(180deg);
    left: -40px;
    bottom: 10px
}

.nord-ref section.feedback .secretary .content .who {
    text-align: right;
    font-size: 0.9em
}

.nord-ref section.feedback .secretary .content .who strong {
    font-size: 1.5em
}

.nord-ref section.eshop .video {
    overflow: hidden
}

.nord-ref section.eshop .video video {
    position: relative;
    width: 100%
}

.nord-ref section.packaging {
    background-image: url('/media/case-study/nordbeans/mountains.jpg');
    background-position: center top;
    background-size: cover;
    padding-top: 5rem;
    padding-bottom: 12rem;
    margin: 0
}

.nord-ref section.packaging .products {
    margin-top: 5rem
}

@media (max-width: 782px) {
    .nord-ref section.packaging .products .col-sm-3 {
        max-width: 50%;
        flex: 0 0 50%
    }
}

.nord-ref section.packaging .products .product {
    padding-top: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain
}

.nord-ref section.work {
    position: relative;
    background: #000000;
    padding: 5rem 0;
    color: #fff
}

.nord-ref section.work:after {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0);
    border-bottom-color: #000000;
    border-width: 60px;
    margin-left: -60px
}

.nord-ref section.work h2 {
    margin-bottom: 5rem
}

.nord-ref section.work .work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 70px)
}

.nord-ref section.work .work-grid div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.nord-ref section.work .work-grid div:nth-child(1) {
    grid-column: 1 / span 4;
    grid-row: 1 / span 7
}

.nord-ref section.work .work-grid div:nth-child(2) {
    grid-column: 5 / span 4;
    grid-row: 1 / span 7
}

.nord-ref section.work .work-grid div:nth-child(3) {
    grid-column: 9 / span 4;
    grid-row: 1 / span 7
}

.nord-ref section.work .work-grid div:nth-child(4) {
    grid-column: 1 / span 4;
    grid-row: 8 / span 7
}

.nord-ref section.work .work-grid div:nth-child(5) {
    grid-column: 5 / span 4;
    grid-row: 8 / span 7
}

.nord-ref section.work .work-grid div:nth-child(6) {
    grid-column: 9 / span 4;
    grid-row: 8 / span 7
}

@media (max-width: 992px) {
    .nord-ref section.feedback .video-container {
        width: 100%
    }
}

@media (max-width: 767px) {
    .nord-ref header {
        padding: 80px 0 0
    }

    .nord-ref header .intext {
        text-align: center;
        margin-top: 30px;
        width: 100%;
        max-width: unset
    }

    .nord-ref header .pytel {
        display: none
    }

    .nord-ref header .title {
        display: none
    }

    .nord-ref header .mobile-title {
        display: block;
        width: 100%
    }

    .nord-ref section {
        margin-bottom: 5rem
    }

    .nord-ref section .row {
        justify-content: center
    }

    .nord-ref section .row .text {
        order: -1;
        margin-bottom: 2rem
    }

    .nord-ref section.feedback .secretary .content {
        flex-direction: column;
        padding: 0 3rem
    }

    .nord-ref section.feedback .secretary .content .avatar {
        margin: 0;
        margin-bottom: 3rem
    }

    .nord-ref section.feedback .secretary .content p {
        text-align: center
    }

    .nord-ref section.feedback .secretary .content .text {
        order: 1
    }

    .nord-ref section.feedback .secretary .content .text p::before {
        right: -40px
    }

    .nord-ref section.feedback .secretary .content .who p {
        text-align: right
    }

    .nord-ref section.feedback .secretary .content .who {
        margin-top: 2rem
    }

    .nord-ref section.work .container .work-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 300px)
    }

    .nord-ref section.work .container .work-grid div {
        grid-column: auto;
        grid-row: auto
    }
}

@media (max-width: 450px) {
    .nord-ref header {
        margin-bottom: 5rem
    }

    .nord-ref section.work .container .work-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        grid-template-rows: auto
    }

    .nord-ref section.work .container .work-grid div {
        padding-top: 100%;
        position: relative
    }

    .nord-ref section.work .container .work-grid div img {
        position: absolute;
        left: 0;
        top: 0
    }
}

.blueimp-gallery .slide-content {
    object-fit: contain !important;
}