/* Fonts */
@font-face {
    font-family: 'Futura Book';
    src: url('../fonts/futurabookc-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Demi';
    src: url('../fonts/futurademic-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "HeliosCondC";
    src: url("../fonts/Helioscondc.woff") format("woff"),
    url("../fonts/Helioscondc.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

/* Main wrap */
.b-specproject {
    padding: 0 5px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

@media (max-width: 1030px) {
    .b-specproject {
        padding: 0;
    }
}

/* Reset */
.b-specproject * {
    margin: 0;
    padding: 0;
    font: inherit;
    box-sizing: border-box;
}

/* Header */
.b-specproject__header {
    width: 700px;
    margin: 0 0 20px;
    padding: 15px 20px;
    color: #fff;
    background: #420f56;
}

.b-specproject__header-title {
    margin: 0 0 10px;
    font: normal 400 15px/20px 'Futura Book', sans-serif;
}

.b-specproject__header-text {
    font: normal 400 10px/18px 'Futura Book', sans-serif;
}

.b-specproject__header-text strong {
    font-weight: 700;
}

@media (max-width: 1030px) {
    .b-specproject__header {
        width: 100%;
        height: auto;
        padding: 15px;
        text-align: center;
    }

    .b-specproject__header-title {
        font-size: 16px;
    }

    .b-specproject__header-text {
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .b-specproject__header-title {
        font-size: 14px;
    }

    .b-specproject__header-text {
        font-size: 12px;
    }
}

/* Tiles */
.b-specproject__tiles-row {
    display: flex;
    margin: 0 0 20px;
}

.b-specproject__tiles-col {
    flex: 0 0 auto;
}

.b-specproject__tiles-col + .b-specproject__tiles-col {
    margin-left: 20px;
}

.b-specproject__tiles-col--w1 {
    width: 700px;
}

.b-specproject__tiles-col--w2 {
    width: 300px;
}

.b-specproject__tile {
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.b-specproject__tile:before {
    content: '';
    display: block;
    width: 100%;
}

.b-specproject__tile--w700 {
    max-width: 700px;
}


.b-specproject__tile--w700:before {
    padding: calc(400 / 700 * 100%) 0 0;
}

.b-specproject__tile--kuleshova {
    background-image: url(https://static.sobaka.ru/uploads/specprojects/wowpeople/kuleshova.jpg);
}

.b-specproject__tile + .b-specproject__tile {
    margin-left: 20px;
}

.b-specproject__tile--w500 {
    max-width: 500px;
}

.b-specproject__tile--w500:before {
    padding: calc(400 / 500 * 100%) 0 0;
}

.b-specproject__tile-wrap-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: inherit;
}

.b-specproject__tile-wrap-link:hover {
    color: inherit;
}

.b-specproject__tile-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px 15px;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, 0) 11.25%, rgba(0, 0, 0, 0.5) 80%);
}

.b-specproject__tile-title {
    width: 100%;
    margin: 0 0 10px;
    font: normal 400 20px/24px 'Futura Book', sans-serif;
}

.b-specproject__tile-name {
    font: normal 400 20px/24px 'Futura Demi', sans-serif;
}

.b-specproject__tile-text {
    width: 100%;
    margin: 0 0 10px;
    font: normal 400 18px/20px 'Futura Book', sans-serif;
}

.b-specproject__tile-text a {
    color: inherit;
    text-decoration: underline;
}

.b-specproject__tile-text a:hover {
    color: inherit;
    text-decoration: none;
}

.b-specproject__tile-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 165px;
    height: 40px;
    font: normal 400 16px/24px 'Futura Demi', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    background: #420f56;
    transition: all 0.3s;
}

.b-specproject__tile-wrap-link:hover .b-specproject__tile-link,
.b-specproject__tile-link:hover {
    color: #fff;
    background: #2A461E;
}

.b-specproject__tile--img {
    background-image: url(https://static.sobaka.ru/uploads/specprojects/wowpeople/1.jpg);
}

.b-specproject__tile--img:before {
    padding: calc(120 / 1020 * 100%) 0 0;
}

@media (max-width: 640px) {

    .b-specproject__tile--kuleshova {
        background-image: url(https://static.sobaka.ru/uploads/specprojects/wowpeople/kuleshova_m.jpg);
    }

    .b-specproject__tile--w700:before {
        padding: calc(400 / 500 * 100%) 0 0;
    }

    .b-specproject__tile--img {
        background-image: url(https://static.sobaka.ru/uploads/specprojects/wowpeople/1_m.jpg);
    }

    .b-specproject__tile--img:before {
        padding: calc(120 / 640 * 100%) 0 0;
    }
}

@media (max-width: 1030px) {
    .b-specproject__tiles-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .b-specproject__tiles-row--reverse {
        flex-direction: column-reverse;
        align-items: center;
    }

    .b-specproject__tiles-col {
        width: 100%;
        margin: 0;
    }

    .b-specproject__tiles-col + .b-specproject__tiles-col {
        margin: 20px 0 0;
    }

    .b-specproject__tile {
        width: 100%;
        margin: 0;
        background-size: cover;
    }

    .b-specproject__tiles-row--reverse .b-specproject__tile + .b-specproject__tile {
        margin: 0 auto 20px;
    }

    .b-specproject__tile + .b-specproject__tile {
        margin: 20px auto 0;
    }

    .b-specproject__tile-content {
        padding: 30px 15px;
    }

    .b-specproject__tile-content br {
        display: none;
    }
}

@media (max-width: 425px) {

    .b-specproject__tile-title {
        font: normal 400 18px/20px 'Futura Book', sans-serif;
    }

    .b-specproject__tile-text {
        font: normal 400 13px/18px 'Futura Book', sans-serif;
    }

    .b-specproject__tile-link {
        width: 120px;
        height: 40px;
        font: normal 400 12px/1 'Futura Demi', sans-serif;
    }

    .b-specproject__tile-content {
        padding: 15px 13px;
    }

    .b-specproject__tile + .b-specproject__tile {
        margin: 10px auto 0;
    }

    .b-specproject__tiles-row {
        margin: 0 0 10px;
    }
}

/* Share */
.b-specproject__share {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 30px;
}

.b-specproject__share-title {
    font: normal 400 14px/1 'Futura Demi', sans-serif;
}

.b-specproject__share-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 0 20px;
}

.b-specproject__share-btn {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    font-size: 1px;
    color: #fff;
    background: #420f56;
    border: 1px solid #420f56;
    border-radius: 50%;
    overflow: hidden;
    transition: background 0.3s;
}

.b-specproject__share-btn + .b-specproject__share-btn {
    margin-left: 5px;
}

.b-specproject__share-btn:focus:active {
    outline: none;
}

.b-specproject__share-btn:hover {
    background: #2A461E;
    color: #fff;
    border: 1px solid #2A461E;
}

.b-specproject__share-btn svg {
    position: absolute;
    top: 50%;
    left: 50%;
    fill: currentColor;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Hide the search form of the main layout */
#search-form {
    display: none;
}