/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,700&subset=cyrillic');

/* Base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p > a {
    text-decoration: underline;
}

p > a:hover {
    text-decoration: none;
}

/* Layout */
.b-post-container {
    max-width: 720px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .b-post-container {
        padding: 0 15px;
    }
}

/* Intro */
.b-post-intro {
    padding: 95px 0 85px;
}

.b-post-intro__title {
    margin: 0 0 15px;
    font-weight: 700;
    font-size: 72px;
    line-height: 86px;
    font-family: 'Roboto', sans-serif;
    color: #0070ba;
    text-align: center;
    text-transform: uppercase;
}

.b-post-intro__subtitle {
    margin: 0 0 35px;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    font-family: 'Roboto', sans-serif;
    color: #0070ba;
    text-align: center;
}

.b-post-intro__text {
    max-width: 685px;
    margin: 0 auto 55px;
}

.b-post-intro__text p {
    margin: 0 0 30px;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Roboto', sans-serif;
    color: #000;
    text-align: center;
}

.b-post-intro__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .b-post-intro {
        padding: 45px 0 35px;
    }

    .b-post-intro__title {
        font-size: 38px;
        line-height: 56px;
    }

    .b-post-intro__subtitle {
        font-size: 20px;
        line-height: 24px;
    }

    .b-post-intro__text p {
        margin: 0 0 15px;
        font-size: 16px;
        line-height: 24px;
    }

    .b-post-intro__text p:last-child {
        margin-bottom: 0;
    }
}

/* Map */
.b-post-map {
    position: relative;
    overflow: hidden;
}

.b-post-map__title {
    position: absolute;
    top: 0;
    left: 50%;
    font-weight: 700;
    font-size: 22px;
    line-height: 38px;
    font-family: 'Roboto', sans-serif;
    color: #0070ba;
    text-align: center;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.b-post-map__container {
    position: relative;
    width: 960px;
    height: 559px;
    margin: 0 auto;
    background: url(https://static.sobaka.ru/uploads/longread/64625/map.png) no-repeat;
}

.b-post-map__points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.b-post-map__point {
    position: absolute;
}

.b-post-map__point:before {
    content: " ";
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.45);
}

.b-post-map__point:hover:before {
    animation-name: map-point-hover;
    animation-duration: 1.2s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}

.b-post-map__point:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.45);
}

.b-post-map__point-title {
    position: absolute;
    top: 50%;
    margin: -6px 0 0;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    font-family: Arial, sans-serif;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.95), 0 1px 1px rgba(0, 0, 0, 0.95);
    transition: all .3s;
}

.b-post-map__point-title:hover {
    color: inherit;
}

.b-post-map__point--c1 {
    color: #16ade2 !important;
}

.b-post-map__point--c2 {
    color: #f69f1c !important;;
}

.b-post-map__point--c3 {
    color: #3cbfad !important;
}

.b-post-map__point--sankt-peterburg {
    top: 267px;
    left: 100px;
}

.b-post-map__point--sankt-peterburg .b-post-map__point-title {
    left: 100%;
    margin-top: 2px;
    margin-left: 6px;
}

.b-post-map__point--novyy-port {
    top: 276px;
    left: 362px;
}

.b-post-map__point--novyy-port .b-post-map__point-title  {
    right: 100%;
    margin-top: 2px;
    margin-right: 8px;
}

.b-post-map__point--mys-kamennyy {
    top: 260px;
    left: 392px;
}

.b-post-map__point--mys-kamennyy .b-post-map__point-title  {
    left: 100%;
    margin-left: 10px;
}

.b-post-map__point--muravlenko {
    top: 315px;
    left: 400px;
}

.b-post-map__point--muravlenko .b-post-map__point-title  {
    left: 100%;
    margin-top: -2px;
    margin-left: 8px;
}

.b-post-map__point--noyaborsk {
    top: 350px;
    left: 378px;
}

.b-post-map__point--noyaborsk .b-post-map__point-title  {
    left: 100%;
    margin-top: -2px;
    margin-left: 8px;
}

.b-post-map__point--hanty-mansiysk {
    top: 382px;
    left: 322px;
}

.b-post-map__point--hanty-mansiysk .b-post-map__point-title  {
    left: 100%;
    margin-left: 10px;
}

.b-post-map__point--omsk {
    top: 452px;
    left: 346px;
}

.b-post-map__point--omsk .b-post-map__point-title  {
    left: 100%;
    margin-left: 8px;
}

.b-post-map__point--tomsk {
    top: 422px;
    left: 389px;
}

.b-post-map__point--tomsk .b-post-map__point-title  {
    left: 100%;
    margin-left: 10px;
}

.b-post-map__point--orenburg {
    top: 418px;
    left: 216px;
}

.b-post-map__point--orenburg .b-post-map__point-title  {
    right: 100%;
    margin-right: 8px;
}

.b-post-map__point--ekaterinburg {
    top: 350px;
    left: 288px;
}

.b-post-map__point--ekaterinburg .b-post-map__point-title  {
    right: 100%;
    margin-right: 8px;
}

.b-post-map__ship-container {
    position: absolute;
    bottom: 40px;
    left: 80px;
    width: 690px;
    height: 370px;
    z-index: 1;
}

.b-post-map__ship {
    position: absolute;
    top: 10px;
    left: 100px;
    width: 103px;
    height: 172px;
    transition: all 1.2s cubic-bezier(.49,.39,.55,.47);
    animation-name: ship;
    animation-duration: 6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.b-post-map__ship--flipped-x .b-post-map__ship-img {
    transform: scaleX(-1);
}

.b-post-map__ship--flipped-y .b-post-map__ship-img {
    transform: scaleY(-1);
}

@media (max-width: 640px) {
    .b-post-map__title {
        position: static;
        margin: 0 0 30px;
        transform: none;
    }

    .b-post-map__container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: static;
        width: 100%;
        height: auto;
        padding: 30px 15px;
        background: url(https://static.sobaka.ru/uploads/longread/64625/map-small.png) no-repeat 50% -15px;
        box-sizing: border-box;
    }

    .b-post-map__points {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        position: static;
        width: auto;
        height: auto;
    }

    .b-post-map__point {
        display: block;
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 0 0 25px;
        padding: 0 0 0 46px;
    }

    .b-post-map__point:before {
        position: absolute;
        top: 50%;
        right: auto;
        bottom: auto;
        left: 0;
        width: 24px;
        height: 24px;
        margin: -14px 0 0 -4px;
        box-shadow: none;
    }

    .b-post-map__point:after {
        position: absolute;
        top: 50%;
        left: 0;
        margin: -10px 0 0;
        box-shadow: none;
    }

    .b-post-map__point-title {
        position: static;
        margin: 0 0 35px !important;
        font-size: 24px;
        color: #000;
        text-shadow: none;
    }

    .b-post-map__ship-container {
        display: none;
    }
}

/* Map point hover animation */
@keyframes map-point-hover {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Ship animation */
@keyframes ship {
    0% {
        transform: translate3d(-5px, -5px, 0) rotate(-5deg);
    }
    50% {
        transform: translate3d(5px, 5px, 0) rotate(5deg);
    }
    100% {
        transform: translate3d(-5px, -5px, 0) rotate(-5deg);
    }
}

/* Columns */
.b-post-columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1980px;
    min-height: 600px;
    margin: 0 auto;
}

.b-post-columns__image-column,
.b-post-columns__content-column {
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.b-post-columns__affix {
    position: sticky;
    top: 0;
}

.b-post-columns__center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.b-post-columns__center--horizontal {
    align-items: center;
}

.b-post-columns__center--vertical {
    justify-content: center;
}

.b-post-columns__image-column img {
    display: block;
    max-width: 100%;
    height: auto;
}

.b-post-columns__content-column {
    max-width: 670px;
    padding: 30px 55px;
}

.b-post-columns__content-column p {
    margin: 0 0 30px;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

.b-post-intro__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .b-post-columns {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        min-height: 0;
    }

    .b-post-columns__image-column,
    .b-post-columns__content-column {
        width: 100%;
    }

    .b-post-columns__content-column {
        padding: 15px;
    }

    .b-post-columns__affix {
        position: relative;
    }
}

@media (max-width: 640px) {
    .b-post-columns__content-column p {
        margin: 0 0 15px;
        font-size: 16px;
        line-height: 24px;
    }

    .b-post-columns__content-column p:last-child {
        margin-bottom: 0;
    }
}

/* Art */
.b-post-art__content {
    max-width: 720px;
    margin: 0 auto;
    box-sizing: border-box;
}

.b-post-art__title {
    margin: 0 0 5px;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    font-family: 'Roboto', sans-serif;
    color: #0070ba;
    text-align: center;
}

.b-post-art__city {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    font-family: 'Roboto', sans-serif;
    color: #0070ba;
    text-align: center;
}

.b-post-art__author {
    margin: 0 0 35px;
    font-weight: 400;
    font-size: 18px;
    line-height: 36px;
    font-family: 'Roboto', sans-serif;
    color: #000;
    text-align: center;
}

.b-post-art__text {
    margin: 0 0 60px;
}

.b-post-art__text p {
    margin: 0 0 30px;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

.b-post-art__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {

    .b-post-art__content {
        padding: 0 15px;
    }

    .b-post-art__title {
        font-size: 34px;
        line-height: 42px;
    }

    .b-post-art__city {
        font-size: 24px;
        line-height: 38px;
    }

    .b-post-art__author {
        margin: 0 0 30px;
    }

    .b-post-art__text {
        margin: 0 0 30px;
    }

    .b-post-art__text p {
        margin: 0 0 15px;
        font-size: 16px;
        line-height: 24px;
    }

    .b-post-art__text p:last-child {
        margin-bottom: 0;
    }
}

/* Art Slideshow */
.b-post-art-slideshow {
    position: relative;
    margin: 0 0 50px;
    overflow: hidden;
}

.b-post-art-slideshow__slide {
    position: relative;
}

.b-post-art-slideshow__slide-caption {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 0 6%;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .7) 90%)
}

.b-post-art-slideshow__slide-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.b-post-art-slideshow__nav-arrow {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0;
    border: 3px solid #fff;
    border-radius: 50%;
    transition: all .3s;
    perspective: 1000px;
    cursor: pointer;
    z-index: 2;
    box-sizing: border-box;
}

.b-post-art-slideshow__nav-arrow:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border: 22px solid transparent;
    border-top-width: 10px;
    border-left-width: 10px;
    outline: 1px solid transparent;
}

.b-post-art-slideshow__nav-arrow:after {
    border-top-color: #fff;
    border-left-color: #fff;
    transition: inherit;
}

.b-post-art-slideshow__nav-arrow:hover {
    border-color: #ca0f0a;
}

.b-post-art-slideshow__nav-arrow:hover:after {
    border-top-color: #ca0f0a;
    border-left-color: #ca0f0a;
}

.b-post-art-slideshow__nav-arrow--prev {
    left: 3.5%;
}

.b-post-art-slideshow__nav-arrow--prev:before,
.b-post-art-slideshow__nav-arrow--prev:after {
    transform: translate(-25%, -50%) scaleY(.6) rotate(-45deg);
}

.b-post-art-slideshow__nav-arrow--next {
    right: 3.5%;
}

.b-post-art-slideshow__nav-arrow--next:before,
.b-post-art-slideshow__nav-arrow--next:after {
    transform: translate(-75%, -50%) scaleY(.6) rotate(135deg);
}

.b-post-art-slideshow__nav-bullets {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 3.5%;
    transform: translateX(-50%);
}

.b-post-art-slideshow__nav-bullet {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 5px;
    background: #fff;
    border-radius: 50%;
    transition: all .3s;
    cursor: pointer;
}

.b-post-art-slideshow__nav-bullet:before {
    content: " ";
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all .3s;
}

.b-post-art-slideshow__nav-bullet:hover,
.b-post-art-slideshow__nav-bullet--active {
    background: #ca0f0a;
}

.b-post-art-slideshow__nav-bullet:hover:before,
.b-post-art-slideshow__nav-bullet--active:before {
    border-color: #ca0f0a;
}

@media (max-width: 640px) {
    .b-post-art-slideshow {
        margin: 0 0 30px;
    }

    .b-post-art-slideshow__slide-caption {
        padding: 0 0 10%;
        font-size: 14px;
        line-height: 18px;
    }

    .b-post-art-slideshow__nav-bullet {
        transform: scale(.65);
    }
}

/* Art comment */
.b-post-art-comment {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 800px;
    margin: 0 auto 35px;
    padding: 30px 40px;
    background: #faa21c;
    box-sizing: border-box;
}

.b-post-art-comment__author {
    width: 100%;
    max-width: 120px;
    min-width: 80px;
}

.b-post-art-comment__author-avatar {
    display: block;
    max-width: 100%;
    height: auto;
}

.b-post-art-comment__content {
    flex: 1 1 auto; /* must be specified for IE 10 */
}

.b-post-art-comment__content:not(:first-child) {
    margin-left: 35px;
}

.b-post-art-comment__text {
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

.b-post-art-comment__text:not(:last-child) {
    margin-bottom: 40px;
}

.b-post-art-comment__button {
    display: inline-block;
    height: 60px;
    padding: 0 22px 0 30px;
    font-weight: 400;
    font-size: 16px;
    line-height: 60px;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: transparent;
    text-transform: uppercase;
    border: 2px solid #fff;
    border-radius: 2px;
    box-sizing: border-box;
}

.b-post-art-comment__button:after {
    content: " ";
    display: inline-block;
    width: 0;
    height: 0;
    margin: -4px 0 0 10px;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    vertical-align: middle;
    transition: all .3s;
}

.b-post-art-comment__button:hover {
    opacity: .85;
}

@media (max-width: 640px) {
    .b-post-art-comment {
        padding: 15px;
    }

    .b-post-art-comment__content:not(:first-child) {
        margin-left: 15px;
    }

    .b-post-art-comment__text {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
    }

    .b-post-art-comment__text:not(:last-child) {
        margin-bottom: 15px;
    }

    .b-post-art-comment__button {
        height: 50px;
        padding: 0 12px 0 16px;
        font-size: 12px;
        line-height: 50px;
    }

    .b-post-art-comment__button:after {
        border-width: 4px 0 4px 8px;
    }
}

/* Speaker */
.b-post-speaker {
    background: #e5e5e5;
}

/* Blockquote */
.b-post-blockquote {
    padding: 134px 0 0;
    background: url(https://static.sobaka.ru/uploads/longread/64625/quotes.png) no-repeat;
}

.b-post-blockquote__text {
    margin: 0 0 30px;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

.b-post-blockquote__author-name {
    margin: 0 0 5px;
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    font-family: 'Roboto', sans-serif;
    color: #0070ba;
}

.b-post-blockquote__author-status {
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    font-family: 'Roboto', sans-serif;
    color: #0070ba;
}

@media (max-width: 640px) {
    .b-post-blockquote {
        padding: 60px 0 0;
        background-size: auto 40px;
    }

    .b-post-blockquote__text {
        margin: 0 0 15px;
        font-size: 16px;
        line-height: 24px;
    }

    .b-post-blockquote__author-name {
        font-size: 30px;
        line-height: 30px;
    }

    .b-post-blockquote__author-status {
        font-size: 20px;
        line-height: 30px;
    }
}

/* Banner */
.b-post-banner {
    padding: 40px 0;
    border-top: 1px solid #c9c9c9;
    border-bottom: 1px solid #c9c9c9;
    text-align: center;
}

.b-post-banner img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .b-post-banner {
        padding: 20px 0;
    }
}

/* Utilities */
@media (max-width: 640px) {
    .u-desktop-only {
        display: none;
    }
}