*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1.5;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

:root {
    --color-bg: white;
    --color-bg--focus: #c7c7c7;
    --color-brand: #ed1d24;
    --color-brand--darker: #bc0006;
    --color-brand--hover: #6d6e71;
    -webkit-font-variant-ligatures: common-ligatures;
    font-variant-ligatures: common-ligatures;
    text-rendering: optimizeLegibility;
    font-smoothing: antialiased;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
}

body {
    font-size: 16px;
    background-color: var(--color-bg);
    margin: 0;
}

.a {
    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: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 1rem;
    height: 100%;
    width: 100%;
    font-size: medium;
    text-decoration: none;
    text-transform: uppercase;
    word-break: break-word;
}

.bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: -webkit-filter .3s;
    transition: -webkit-filter .3s;
    -o-transition: filter .3s;
    transition: filter .3s;
    transition: filter .3s, -webkit-filter .3s;
}
.bg--hover:hover {
    -webkit-filter: brightness(0.8);
            filter: brightness(0.8);
}
.bg--author {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
}
.bg--logo {
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center center;
}
.bg--center {
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: -webkit-filter .3s;
    transition: -webkit-filter .3s;
    -o-transition: filter .3s;
    transition: filter .3s;
    transition: filter .3s, -webkit-filter .3s;
}
.bg--date > .a {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.bg--red {
    background-color: var(--color-brand);
}
.bg--grey {
    background-color: var(--color-brand--hover);
}
.bg--light {
    background-color: #d1d3d4;
}
.bg--light-grey {
    background-color: #a7a9ae;
}
.bg--orange {
    background-color: #f7987b;
}
.bg--white {
    background-color: var(--color-bg);
}
.bg--art {
    background-color: #ffffff;
}

img {
    display: block;
    height: auto;
}
img,
canvas,
iframe,
video,
svg,
select,
textarea {
    max-width: 100%;
}

.h-1 {
    /* height = 1 block */
    height: 20%;
    min-height: 10rem;
}
.h-2 {
    /* height = 2 blocks */
    height: 40%;
    min-height: 20rem;
}
.h-3 {
    /* height = 3 blocks */
    height: 60%;
    min-height: 30rem;
}
.h-50 {
    /* height = 2 blocks (50%) */
    height: 50%;
}
.h-100 {
    /* height = 2 blocks (50%) */
    height: 100%;
    min-height: 10rem;
}
.w-1 {
    /* width = 1 block */
    width: calc(100% / 7);
}
.w-2 {
    /* width = 2 blocks */
    width: calc(100% / 7 * 2);
}
.w-3 {
    /* width = 3 blocks */
    width: calc(100% / 7 * 3);
}
.w-2 .w-1 > .w-1,
.w-3 .w-1 > .w-1 {
    width: 100%;
}
.w-2 > .w-1 {
    width: calc(100% / 2);
}
.w-2 > .w-2 {
    width: 100%;
}
.w-3 > .w-1 {
    width: calc(100% / 3);
}
.w-3 > .w-2 {
    width: calc(100% / 3 * 2);
}
.w-3 > .w-3 {
    width: 100%;
}

.main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.main__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
    width: 100%;
}
.main__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.main__item--center {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
}
.main__item--left {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}
.main__item--right {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
}

.text {
    line-height: 1.2;
    font-weight: 500;
}
.text--white {
    color: var(--color-bg);
}
.text--red {
    color: var(--color-brand);   
}
.text--black {
    color: black;
}
.text--orange {
    color: #f7987b;
}

.visially-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.date-card {
    position: relative;
    background-color: var(--color-brand);
    padding: .5rem .5rem .2rem 1rem;
    text-align: left;
    color: var(--color-bg);
    text-transform: uppercase;
    line-height: 1;
    overflow: hidden;
}
.date-card::after {
    content: '';
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: -1rem;
    left: -1rem;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    background-color: #a7a9ae;
}
.date-card__mounth {
    line-height: 1;
    font-size: .8rem;
}
.date-card__day {
    line-height: 1.2;
    font-size: 2rem;
    font-weight: 700;
}
.date-card__year {
    line-height: 1.2;
    font-weight: 600;
}

@media screen and (max-width: 60rem) {
    .main__row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .main__item {
        width: 100%;
    }
    .main__item--center {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
    }
    .main__item--left {
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
    }
    .main__item--right {
        -webkit-box-ordinal-group: 4;
            -ms-flex-order: 3;
                order: 3;
    }
    .bg--center {
        background-size: 40%;
    }
}

@media screen and (max-width: 30rem) {
    .main__item--center .main__block {
        height: 10rem;
        width: 100%;
    }
    /* m-50 - mobile width 50% */
    .main__item--center .main__block.m-50 {
        width: 50%;
    }
    /* m-reverse - mobile reverse column */
    .main__item--center .main__block.m-reverse {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }
    .bg--center {
        background-size: 60%;
    }
}
/*

 */
