/*
Theme Name: CIA
Theme URI: http://cloud-ink.ru;
Author: the Cloud Ink team
Author URI: https://wordpress.org/
Description: CIA Theme
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: cia
*/

@import url("https://fonts.googleapis.com/css?family=Lora:400,700|Montserrat:400,500,600,700&subset=latin,cyrillic,cyrillic-ext&display=swap");

@font-face {
	font-family: Sosa;
	src: local("Sosa"),
		url("/theme/fonts/sosa.ttf") format("truetype");
}

div.post-content p {
	line-height: 150% !important;
	letter-spacing: 0px;
	margin-top: 15px;
}

div.post-content ol {
	margin: 15px 20px 0 20px;
	font-size: 16px;
	font-style: italic;
}

div.post-content ol li{
	margin-bottom: 15px;
	
}

.brand-link * {
	color: #000;
}

.btn {
	background: transparent;
	border: 2px solid;
	border-radius: 0;
	margin: 10px 0 20px 0;
	transition: .5s;
}

.btn:hover {
	color: #fafafa;
	transition: .5s;
}

.btn-info {
	border-color: #000;
	color: #000;
}

.btn-info:hover {
	background: #000;
	border-color: #000;
}

*::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

*::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb
{
	background-color: #000000;
}

.blog-services {
	background: #fff;
}

.features-icon {
	font-size: 47px;

}

.sosa {
	font-family: Sosa;
}

.owl-theme .item .content p
{
	background: #31b0d5;
    padding: 10px;
    font-size: 16px;
    display: block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    color: #fff;
    line-height: 1.5 !important;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

.owl-theme .item .content {
    right: 110px;
    width: auto;
    max-width: none;
    box-sizing: border-box;
}

.owl-theme .item .content h1,
.owl-theme .item .content h2 {
    font-family: 'Lora', Georgia, serif;
    font-weight: bold;
    color: #222222;
    font-size: 50px;
    line-height: 1.2;
    margin: 0 0 14px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-transform: uppercase;
}

.owl-theme .item .content .btn {
    display: block;
    width: fit-content;
    clear: both;
    margin-top: 18px;
}

#scrollTop {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    left: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #000; /* Set a background color */
    color: #fff; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    font-size: 18px; /* Increase font size */
}

#scrollTop:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

.post-content img {
	max-width: 100%;
	height: auto;
	box-shadow: 1px 1px 5px 1px rgba(0,0,0, .2);
    margin: 25px 0;
}

.post-content p {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Homepage left-edge heading inset: see block after blog-grid */

.post-title {
	font-size: 35px;
    margin-bottom: 30px;
    position: relative;
    font-family: 'Lora', Georgia, serif;
    font-weight: bold;
    color: #222222;
}

.post-content {
	max-width: 800px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: 0;
}

.quote-page .post-content h1,
.quote-page .post-content h2,
.quote-page .post-content h3 {
	font-family: 'Lora', Georgia, serif;
	font-weight: bold;
	color: #222;
	letter-spacing: 0;
}

.quote-page .post-content h1 {
	font-size: 26px;
	margin: 36px 0 14px;
}

.quote-page .post-content h2 {
	font-size: 22px;
	margin: 32px 0 12px;
}

.quote-page .post-content h3 {
	font-size: 18px;
	margin: 24px 0 10px;
}

.quote-page .post-content h1:first-child,
.quote-page .post-content h2:first-child,
.quote-page .post-content h3:first-child {
	margin-top: 0;
}

.quote-page .post-content h1:empty,
.quote-page .post-content h2:empty,
.quote-page .post-content h3:empty {
	display: none;
}

/* Case body: standalone / heading links need room above and below */
.quote-page.case-page .post-content > a {
	display: block;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.quote-page.case-page .post-content > a > h1,
.quote-page.case-page .post-content > a > h2,
.quote-page.case-page .post-content > a > h3 {
	margin-top: 0;
	margin-bottom: 0;
}

.quote-page.case-page .post-content p:has(> a:only-child) {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.quote-page.case-page .post-content h1:has(> a),
.quote-page.case-page .post-content h2:has(> a),
.quote-page.case-page .post-content h3:has(> a) {
	margin-top: 1.6em;
	margin-bottom: 1.6em;
}

.quote-page.case-page .post-content h1:has(> a):first-child,
.quote-page.case-page .post-content h2:has(> a):first-child,
.quote-page.case-page .post-content h3:has(> a):first-child {
	margin-top: 0;
}

.post-content li {
    font-family: 'Montserrat',sans-serif;
    font-size: 16px;
    margin-top:10px;
}

.kama_breadcrumbs, #sleeptime, .btn{
    font-family: 'Montserrat',sans-serif;
}

.page-breadcrumbs {
    margin: 0 0 8px !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.4 !important;
    letter-spacing: 0;
}

.quote-page {
    padding-top: 24px;
}

.quote-page h1,
.quote-page h1.post-title,
.quote-page.case-page h1,
.quote-page.case-page h1.post-title {
    font-family: 'Lora', Georgia, serif;
    font-weight: bold;
    color: #222222;
}

.quote-page h1.post-title,
.quote-page h3 {
    margin-top: 0;
}

@media (max-width: 767px) {
    #owl-demo .item.fill {
        position: relative;
        height: auto;
    }

    #owl-demo .item img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right bottom;
    }

    .owl-theme .item .content,
    .owl-theme .active .content {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: auto;
        padding: 56px 56px 48px 20px;
        animation: none;
        -webkit-animation: none;
        opacity: 1;
    }

    .owl-theme .item .content h1,
    .owl-theme .item .content h2 {
        font-size: clamp(22px, 6vw, 32px);
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .owl-theme .item .content p {
        font-size: 14px;
        padding: 8px 10px;
        line-height: 1.45 !important;
    }

    .owl-theme .owl-pagination {
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
    }

    .owl-theme .owl-controls .owl-page span.owl-numbers::after {
        width: 12px;
        margin-left: 4px;
        margin-right: 0;
    }
}

@media (max-width: 380px) {
    .owl-theme .item .content,
    .owl-theme .active .content {
        padding: 52px 48px 40px 16px;
    }

    .owl-theme .item .content h1,
    .owl-theme .item .content h2 {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    #owl-demo .item img {
        object-position: right bottom;
    }
}

@media (min-width: 992px) {
    .owl-theme .item .content h1,
    .owl-theme .item .content h2 {
        font-size: 60px;
    }

    .owl-theme .item .content p {
        font-size: 18px;
    }
}

.cases-grid .content .col-md-3 {
    padding: 0 12px;
    margin-bottom: 8px;
}

.cases-grid .case-tile-link {
    display: block;
    color: inherit;
}

.cases-grid .case-tile-link:hover,
.cases-grid .case-tile-link:focus {
    text-decoration: none;
    color: inherit;
}

.cases-grid .content .item {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 24px;
    background: #1c1c1c;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(17, 17, 17, .1);
    transition: transform .35s ease, box-shadow .35s ease;
}

.cases-grid .content .item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    position: relative;
    z-index: 0;
    transform: scale(1);
    transition: transform .7s ease;
}

.cases-grid .content .item:hover img {
    transform: scale(1);
}

.cases-grid .content .item:hover .overlay {
    background-color: transparent;
}

.cases-grid .content .item .overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(
        to top,
        rgba(0, 0, 0, .94) 0%,
        rgba(0, 0, 0, .82) 32%,
        rgba(0, 0, 0, .42) 55%,
        rgba(0, 0, 0, .08) 74%,
        rgba(0, 0, 0, 0) 88%
    );
    transition: background-image .4s ease;
}

.cases-grid .content .item .overlay .case-tile-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 52px 22px 20px;
}

.cases-grid .content .item .overlay h3 {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.cases-grid .content .item .overlay h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 12px;
    background: #b2a287;
    border-radius: 2px;
    transition: width .35s ease;
}

.cases-grid .content .item .overlay .case-tile-cta {
    display: inline-block;
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #b2a287;
    opacity: .82;
    transition: opacity .35s ease, transform .35s ease, letter-spacing .35s ease;
}

.cases-grid .content .item .overlay .case-tile-cta::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1px;
    margin-left: 8px;
    margin-bottom: 3px;
    background: currentColor;
    vertical-align: middle;
    transition: width .35s ease, margin-left .35s ease;
}

@media (hover: hover) {
    .cases-grid .content .item:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 46px rgba(17, 17, 17, .2), 0 0 0 1px rgba(178, 162, 135, .28);
    }

    .cases-grid .content .item:hover img {
        transform: scale(1.1);
    }

    .cases-grid .content .item:hover .overlay {
        background-image: linear-gradient(
            to top,
            rgba(0, 0, 0, .96) 0%,
            rgba(0, 0, 0, .88) 34%,
            rgba(0, 0, 0, .5) 58%,
            rgba(0, 0, 0, .12) 78%,
            rgba(0, 0, 0, 0) 100%
        );
    }

    .cases-grid .content .item:hover .overlay h3::after {
        width: 56px;
    }

    .cases-grid .content .item:hover .overlay .case-tile-cta {
        opacity: 1;
        letter-spacing: .18em;
    }

    .cases-grid .content .item:hover .overlay .case-tile-cta::after {
        width: 22px;
        margin-left: 12px;
    }
}

.content-all-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .cases-grid .content .col-md-3 {
        padding: 0 10px;
    }

    .cases-grid .content .item {
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .cases-grid .content .item .overlay .case-tile-copy {
        padding: 44px 18px 16px;
    }

    .cases-grid .content .item .overlay h3 {
        font-size: 16px;
        padding: 0;
    }

    .content-all-cell {
        margin-bottom: 18px;
    }

    .cases-grid .content:has(.cases-all-cell) > .col-md-3:nth-child(n+4):has(.case-tile-link) {
        display: none;
    }
}

@media (min-width: 992px) {
    .cases-grid .content .item .overlay h3 {
        font-size: 16px;
    }
}

.blog-grid .content .col-md-3,
.blog-grid .content .col-md-4 {
    padding: 0 12px;
    margin-bottom: 8px;
}

.blog-grid .blog-tile-link {
    display: block;
    color: inherit;
}

.blog-grid .blog-tile-link:hover,
.blog-grid .blog-tile-link:focus {
    text-decoration: none;
    color: inherit;
}

.blog-grid .content .item {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 24px;
    background: #1c1c1c;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(17, 17, 17, .1);
    transition: transform .35s ease, box-shadow .35s ease;
}

.blog-grid .content .item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    position: relative;
    z-index: 0;
    transform: scale(1);
    transition: transform .7s ease;
}

.blog-grid .content .item:hover img {
    transform: scale(1);
}

.blog-grid .content .item:hover .overlay {
    background-color: transparent;
}

.blog-grid .content .item .overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(
        to top,
        rgba(0, 0, 0, .94) 0%,
        rgba(0, 0, 0, .82) 32%,
        rgba(0, 0, 0, .42) 55%,
        rgba(0, 0, 0, .08) 74%,
        rgba(0, 0, 0, 0) 88%
    );
    transition: background-image .4s ease;
}

.blog-grid .content .item .overlay .blog-tile-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 52px 22px 20px;
}

.blog-grid .content .item .overlay h3 {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.blog-grid .content .item .overlay h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 12px;
    background: #b2a287;
    border-radius: 2px;
    transition: width .35s ease;
}

.blog-grid .content .item .overlay .blog-tile-cta {
    display: inline-block;
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #b2a287;
    opacity: .82;
    transition: opacity .35s ease, transform .35s ease, letter-spacing .35s ease;
}

.blog-grid .content .item .overlay .blog-tile-cta::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1px;
    margin-left: 8px;
    margin-bottom: 3px;
    background: currentColor;
    vertical-align: middle;
    transition: width .35s ease, margin-left .35s ease;
}

@media (hover: hover) {
    .blog-grid .content .item:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 46px rgba(17, 17, 17, .2), 0 0 0 1px rgba(178, 162, 135, .28);
    }

    .blog-grid .content .item:hover img {
        transform: scale(1.1);
    }

    .blog-grid .content .item:hover .overlay {
        background-image: linear-gradient(
            to top,
            rgba(0, 0, 0, .96) 0%,
            rgba(0, 0, 0, .88) 34%,
            rgba(0, 0, 0, .5) 58%,
            rgba(0, 0, 0, .12) 78%,
            rgba(0, 0, 0, 0) 100%
        );
    }

    .blog-grid .content .item:hover .overlay h3::after {
        width: 56px;
    }

    .blog-grid .content .item:hover .overlay .blog-tile-cta {
        opacity: 1;
        letter-spacing: .18em;
    }

    .blog-grid .content .item:hover .overlay .blog-tile-cta::after {
        width: 22px;
        margin-left: 12px;
    }
}

@media (max-width: 767px) {
    .blog-grid .content .col-md-3,
    .blog-grid .content .col-md-4 {
        padding: 0 10px;
    }

    .blog-grid .content .item {
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .blog-grid .content .item .overlay .blog-tile-copy {
        padding: 44px 18px 16px;
    }

    .blog-grid .content .item .overlay h3 {
        font-size: 16px;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .blog-grid .content .col-md-3 .item .overlay h3 {
        font-size: 16px;
    }
}

/* Homepage: inset left-edge headings without breaking clip-paths.
   Features has no container; testimonials zeroed container padding
   and pulled the heading dash with margin-left: -15px. */

.features .overlay > .title {
    position: relative;
}

@media (min-width: 768px) {
    .services,
    .features {
        display: block;
        width: 100%;
    }

    .services .overlay,
    .features .overlay {
        display: flex;
        align-items: stretch;
        width: 100%;
    }

    .services .overlay {
        flex-direction: row-reverse;
    }

    .services .overlay > .title,
    .services .overlay > .content,
    .features .overlay > .title,
    .features .overlay > .content {
        float: none;
        position: relative;
        left: auto;
        right: auto;
        width: 50%;
        margin-top: 0;
        padding: 64px 8vw;
        box-sizing: border-box;
    }

    .services .title h2,
    .features .title h2 {
        margin-left: 0;
    }

    .services .title p,
    .features .title p {
        margin-left: 0;
    }

    .services .title span {
        left: -24px;
    }

    .features .title span {
        left: 8vw;
    }

    .services .overlay .content,
    .features .overlay .content {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .services .overlay .content {
        -webkit-clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
    }

    .features .overlay .content {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
    }

    .features .overlay .content .item {
        text-align: right;
    }

    .features .overlay .content .item .features-icon {
        text-align: right;
    }
}

.home-split__grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.home-split__cell {
    width: 50%;
    padding: 0 12px;
    box-sizing: border-box;
}

.testimonial .container {
    width: 100%;
    padding-left: 25px;
    padding-right: 40px;
    box-sizing: border-box;
}

.testimonial .title {
    position: relative;
    padding-right: 28px;
}

.testimonial .title h2::before {
    margin-left: 0;
}

@media (max-width: 767px) {
    .services .overlay > .title,
    .services .overlay > .content,
    .features .overlay > .title,
    .features .overlay > .content {
        padding: 40px 20px;
    }

    .home-split__grid {
        margin: 0 -8px;
    }

    .home-split__cell {
        padding: 0 8px;
    }

    .testimonial .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .testimonial .title {
        padding-right: 15px;
        margin-bottom: 24px;
    }
}

/* ========== Shared radius scale ==========
   Large 18px (14px mobile): media, cards, plaques
   Medium 14px: quotes, banners
   Small 10px: chips, controls
   Outlined black-border buttons: 2px (barely noticeable)
   Service/feature tiles: square, no plate
   Leave full-bleed sections, clip-paths, hairlines square. */

.btn,
.btn-info,
.btn-default {
    border-radius: 2px;
}

#scrollTop {
    border-radius: 10px;
}

.owl-theme .item .content p {
    border-radius: 2px;
}

.about .img {
    position: relative;
}

.about .img > div.img-responsive,
.about .img img {
    border-radius: 18px;
    overflow: hidden;
}

.services .overlay .content .item,
.features .overlay .content .item {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.testimonial .content .carousel-control i,
.testimonial .content .carousel-control .fa-chevron-left,
.testimonial .content .carousel-control .fa-chevron-right {
    border-radius: 10px;
}

.contact {
    position: relative;
    overflow: hidden;
    background-image: none;
    background-color: #e6e6e4;
    background-size: auto;
    background-position: 0 0;
}

.contact-poly {
    position: absolute;
    left: 0;
    right: 0;
    top: -34%;
    height: 168%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-poly__f {
    position: absolute;
    inset: 0;
    display: block;
    animation: contact-poly-fade 4s ease-in-out infinite;
}

.contact-poly__f:nth-child(odd) {
    animation-name: contact-poly-fade;
    animation-duration: 3.5s;
}

.contact-poly__f:nth-child(even) {
    animation-name: contact-poly-drift;
    animation-duration: 4.5s;
}

.contact-poly__f:nth-child(3n) {
    animation-delay: -.6s;
    animation-duration: 5s;
}

.contact-poly__f:nth-child(3n + 1) {
    animation-delay: -.2s;
    animation-duration: 3s;
}

.contact-poly__f:nth-child(3n + 2) {
    animation-delay: -.8s;
    animation-duration: 4s;
}

.contact .overlay {
    position: relative;
    z-index: 1;
}

.contact .overlay > .container {
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(17, 17, 17, .1);
}

@keyframes contact-poly-fade {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .32;
    }
}

@keyframes contact-poly-drift {
    0%,
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    50% {
        opacity: .38;
        transform: translate3d(0, -10px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-poly__f {
        animation-name: contact-poly-fade;
        animation-duration: 7s;
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
    }

    .contact-poly__f:nth-child(even) {
        animation-name: contact-poly-fade;
    }
}

.contact .form,
.contact .info {
    border-radius: 2px;
}

.post-content img,
.post-content figure,
.post-content iframe,
.post-content video,
.post-content object {
    border-radius: 18px;
    overflow: hidden;
}

.post-content figure img {
    margin-top: 0;
    margin-bottom: 0;
}

.post-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: #f7f5f1;
    border-radius: 14px;
    overflow: hidden;
}

.post-content table {
    border-radius: 14px;
    overflow: hidden;
}

.post-content pre {
    border-radius: 10px;
    overflow: hidden;
}

.form-control,
select.form-control,
textarea.form-control {
    border-radius: 10px;
}

.pagination > li > a,
.pagination > li > span,
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-radius: 10px;
    overflow: hidden;
}

.pagination > li > a,
.pagination > li > span {
    margin: 0 3px;
}

.fancybox-skin {
    border-radius: 18px;
    overflow: hidden;
}

.fancybox-inner {
    border-radius: 16px;
    overflow: hidden;
}

.img-thumbnail,
.thumbnail {
    border-radius: 14px;
    overflow: hidden;
}

.alert,
.well {
    border-radius: 14px;
    overflow: hidden;
}

.cookie-banner {
    border-radius: 14px;
    overflow: hidden;
}

.cookie-banner__accept {
    border-radius: 10px;
}

@media (max-width: 767px) {
    .about .img > div.img-responsive,
    .about .img img,
    .post-content img,
    .post-content figure,
    .post-content iframe,
    .post-content video,
    .fancybox-skin {
        border-radius: 14px;
    }

    .post-content blockquote,
    .cookie-banner {
        border-radius: 12px;
    }
}

/* Homepage partners marquee */

.partners {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 56px 0 32px;
    background: #fff;
}

.blog.partners,
#partners.partners {
    background: #fff;
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 36px 0;
    background: transparent;
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.partners-marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation-name: partners-ticker;
    animation-duration: 48s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
}

.partners-marquee__group {
    display: flex;
    align-items: center;
    flex: none;
}

.partners-marquee__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 0 56px;
}

.partners-marquee__item img {
    display: block;
    max-height: 104px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: filter .4s ease;
}

@media (hover: hover) {
    .partners-marquee__item img {
        filter: grayscale(1);
    }

    .partners-marquee__item:hover img {
        filter: grayscale(0);
    }
}

@keyframes partners-ticker {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-25%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        will-change: auto;
    }

    .partners-marquee__group + .partners-marquee__group {
        display: none;
    }
}

@media (max-width: 767px) {
    .partners {
        padding: 48px 0 28px;
    }

    .partners-marquee {
        padding: 24px 0;
    }

    .partners-marquee__item {
        height: 100px;
        padding: 0 36px;
    }

    .partners-marquee__item img {
        max-height: 72px;
        max-width: 200px;
    }

    .partners-marquee__track {
        animation-duration: 36s;
    }
}

.case-links {
    margin: 40px 0 8px;
}

.case-links__heading {
    margin: 0 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #b2a287;
}

.case-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.case-links__list li + li {
    margin-top: 12px;
}

.case-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px 18px 22px;
    background: #f7f6f3;
    border: 1px solid rgba(17, 17, 17, .06);
    border-left: 3px solid #b2a287;
    border-radius: 2px;
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.case-link-card:hover,
.case-link-card:focus {
    color: inherit;
    text-decoration: none;
}

.case-link-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.case-link-card__meta {
    display: block;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8a8070;
}

.case-link-card__title {
    display: block;
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}

.case-link-card__go {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 2px;
    background: #fff;
    position: relative;
}

.case-link-card__go::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #222;
    border-right: 1.5px solid #222;
    transform: translate(-60%, -40%) rotate(45deg);
}

@media (hover: hover) {
    .case-link-card:hover {
        background: #fff;
        border-color: rgba(178, 162, 135, .35);
        box-shadow: 0 10px 24px rgba(17, 17, 17, .08);
        transform: translateY(-2px);
    }

    .case-link-card:hover .case-link-card__go {
        border-color: #b2a287;
        background: #b2a287;
    }

    .case-link-card:hover .case-link-card__go::before {
        border-color: #fff;
    }
}

@media (max-width: 767px) {
    .case-link-card__title {
        font-size: 17px;
    }

    .case-link-card {
        padding: 16px 14px 16px 16px;
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .home-services { display: none; }
}

@media (max-width: 767px) {
    .title h2::before,
    .title h2::after,
    .blog .title h2::before,
    .blog .title h2::after,
    .portfolio .title h2::before,
    .services .title h2::before,
    .features .title h2::before,
    .testimonial .title h2::before {
        display: none;
        content: none;
        width: 0;
    }
}

.services .title > span,
.features .title > span,
.about .content > span {
    display: none;
}

@media (max-width: 767px) {
    .features .overlay > .title h2::before,
    .services .overlay > .title h2::before {
        display: none !important;
        content: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        background: none !important;
    }
}

@media (max-width: 767px) {
    .features,
    .features .overlay,
    .features .overlay .content {
        background: #fff;
        background-color: #fff;
    }

    .features .overlay .content {
        -webkit-clip-path: none;
        clip-path: none;
    }

    .features .overlay > .title,
    .features .overlay > .content {
        padding-left: 28px;
        padding-right: 28px;
    }
}

.blog .title h1 {
    font-size: 50px;
    letter-spacing: -1px;
    word-spacing: 4px;
    text-transform: uppercase;
    color: #505050;
    margin-bottom: 20px;
}

.blog .title h1::before,
.blog .title h1::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 60px;
    height: 3px;
    background-color: #505050;
}

.blog .title h1::before {
    margin-right: 20px;
}

.blog .title h1::after {
    margin-left: 20px;
}

.about .content h1 {
    font-size: 60px;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-left: -14%;
    margin-bottom: 30px;
}

.about .content h1::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 2px;
    width: 100px;
    z-index: -1;
    background-color: #222222;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 18px 0 8px;
    font-size: 13px;
}

.footer-nav a {
    color: #222;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .blog .title h1::before,
    .blog .title h1::after,
    .about .content h1::before {
        display: none;
        content: none;
        width: 0;
    }

    .about .content h1 {
        margin-left: 0;
        font-size: 36px;
    }
}
