header:not(.index) {
    margin-bottom: 30px;
}
.main-title {
    margin-bottom: 60px;
}
.container {
    margin-top: 70px;
}
.container .items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 90px 30px;
    margin-bottom: 150px;
}
.container .items .item {
    opacity: 0;
    transition: opacity 1s;
    display: flex;
    flex-direction: column;
    position: relative;
    border-bottom: 2px solid #ec3e32;
    padding-bottom: 20px;
}
.container .items .item.show {
    opacity: 1;
}
.container .items .item .img {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.container .items .item .img::after {
    content: '';
    display: block;
    margin-top: 80.3%;
}
.container .items .item .img img,
.container .items .item .img span {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: 0.5s;
}
.container .items .item .img img {
    object-fit: cover;
    transform: scale(1);
    width: 100%;
    height: 100%;
}
.container .items .item:hover .img img {
    object-fit: cover;
    transform: scale(1.05);
}
.container .items .item .img span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(236, 62, 50, 0.55);
    font-size: 42px;
    opacity: 0;
}
.container .items .item:hover .img span {
    opacity: 1;
}
.container .items .item .img span::after {
    content: '\e001';
    font-family: 'icon';
    font-size: 38px;
    line-height: 21px;
    margin-left: 20px;
    margin-top: 6px;
}
.container .items .item h2 {
    font-size: 42px;
    font-weight: 400;
    line-height: 42px;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}
.container .items .item p {
    font-size: 18px;
    color: #5e5a5a;
}
.container .items .item a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.post {
    margin-bottom: 150px;
    display: flex;
    flex-direction: column;
}
.post .image {
    margin-bottom: 60px;
}
.post .image img {
    width: 100%;
    height: 100%;
    max-height: 800px;
    min-height: 300px;
    object-fit: cover;
}
.post .content {
    margin-bottom: 100px;
    max-width: 1042px;
}
.post .content p,
.post .content a {
    margin-bottom: 30px;
    font-size: 35px;
    line-height: 42px;
    letter-spacing: -0.002em;
}
.post .content a {
    color: #cd1105;
    margin-bottom: 0;
    position: relative;
}
.post .content a::after {
    position: absolute;
    content: '';
    top: calc(100% - 2px);
    height: 2px;
    left: 0;
    width: 0;
    border-bottom: 2px solid #cd1105;
    transition: 0.35s;
}
.post .content a:hover::after {
    width: 100%;
}
.post .meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    position: relative;
}
.post .meta.view::before,
.post .meta.view::after {
    position: absolute;
    left: 0;
    width: 100%;
    transform: scaleX(1);
    border-top: 2px solid #ec3e32;
    content: '';
    transform-origin: left;
    animation: border 2s forwards cubic-bezier(0,0,0.1,1);
}
.post .meta::before {
    top: 0;
}
.post .meta::after {
    bottom: 0;
}
.post .meta .item {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px 28px 60px;
}
.post .meta .item:first-child {
    padding-left: 0;
}
.post .meta.view .item:nth-child(2)::before,
.post .meta.view .item:nth-child(2)::after,
.post .meta.view .item:nth-child(3)::after,
.post .meta.view .item:nth-child(4)::after {
    position: absolute;
    top: 0;
    height: 100%;
    transform: scaleY(1);
    border-left: 2px solid #ec3e32;
    content: '';
    transform-origin: top;
    animation: border-2 2s forwards cubic-bezier(0,0,0.1,1);
}
.post .meta.view .item:nth-child(2)::before {
    left: 0;
}
.post .meta.view .item:nth-child(2)::after,
.post .meta.view .item:nth-child(3)::after,
.post .meta.view .item:nth-child(4)::after {
    right: 0;
}
.post .meta.view .item:last-child::after {
    display: none;
}
.post .meta .item h2 {
    font-size: 18px;
    line-height: 20px;
    color: #5e5a5a;
    margin-bottom: 20px;
    font-weight: normal;
    letter-spacing: -0.01em;
}
.post .meta .item p {
    font-size: 35px;
    line-height: 42px;
    font-weight: normal;
    letter-spacing: -0.02em;
}
@keyframes border-2 {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}
.post .gallery {
    margin-top: 100px;
}
.post .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: minmax(300px, 1fr);
    grid-auto-rows: 1fr;
    grid-gap: 30px;
}
.post .gallery .item {
    position: relative;
    display: flex;
    opacity: 0;
    transition: opacity 1.5s;
}
.post .gallery .item.show {
    opacity: 1;
}
.post .gallery .item::after {
    content: '';
    display: block;
    margin-top: 65.7%;
}
.post .gallery .item img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
    cursor: pointer;
}
.post .gallery .item img:hover {
    opacity: 1;
    filter: brightness(0.7);
}
.post .link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 20px 20px;
    background: #101010;
    margin-top: 150px;
    position: relative;
}
.post .link span {
    color: #f5f5f5;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -0.02em;
    z-index: 1;
    white-space: nowrap;
}
.post .link i {
    display: block;
    position: absolute;
    top: calc(100% - 2px);
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #f5f5f5;
    transition: 0.2s;
}
.post .link:hover span, .post .link:active span {
    color: #101010;
}
.post .link:hover i, .post .link:active i {
    top: 2px;
}
.post .link b {
    font-weight: normal;
    width: 28px;
    overflow: hidden;
    margin-left: 10px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.post .link b::after {
    content: '\e001\e000\e001';
    font-family: 'icon';
    color: #f5f5f5;
    font-size: 28px;
    line-height: 18px;
    z-index: 1;
    box-sizing: border-box;
}
.post .link:hover b:after, .post .link:active b:after {
    color: #101010;
    position: relative;
    animation: move 0.6s;
}
.preview {
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    padding: 40px;
    background: rgba(16, 16, 16, 0.6);
    display: none;
}
.preview .product-slider {
    position: relative;
    display: flex;
    max-width: 1240px;
    max-height: 800px;
}
.preview .product-slider .slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.preview .product-slider .slider .slides {
    position: relative;
    display: flex;
    left: 0;
    transition: 0.8s;
}
.preview .product-slider .slider .slides .slide {
    width: 100%;
    min-width: 100%;
    overflow: hidden;
}
.preview .product-slider .slider .slides .slide img {
    width: 100%;
    object-fit: cover;
}
.preview .product-slider .arrow-l,
.preview .product-slider .arrow-r {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: calc(50% - 40px);
    width: 80px;
    min-width: 80px;
    height: 80px;
    background: rgba(16, 16, 16, 0.8);
    cursor: pointer;
    z-index: 100;
}
.preview .product-slider .arrow-l {
    left: -20px;
}
.preview .product-slider .arrow-r {
    right: -20px;
}
.preview .product-slider .arrow-l::after,
.preview .product-slider .arrow-r::after {
    content: '\e001';
    font-family: 'icon';
    color: #fff;
    font-size: 28px;
}
.preview .product-slider .arrow-l::after {
    transform: rotate(180deg);
}
.preview .pagination {
    position: fixed;
    top: 10px;
    left: 40px;
    display: flex;
    align-items: center;
    z-index: 100;
}
.preview .pagination div,
.preview .pagination span {
    font-size: 28px;
    color: #f5f5f5;
}
.preview .close {
    position: fixed;
    top: 10px;
    right: 40px;
    z-index: 100;
    cursor: pointer;
}
.preview .close::after {
    content: '\e003';
    font-family: 'icon';
    color: #f5f5f5;
    font-size: 28px;
}
@keyframes move {
    0% {
        right: 0;
    }
    100% {
        right: -55px;
    }
}
@media screen and (max-width: 1200px) {
    .container .items .item .img span {
        font-size: 35px;
    }
    .container .items .item .img span::after {
        font-size: 30px;
    }
    .container .items .item h2 {
        font-size: 35px;
        line-height: 35px;
    }
    .post .meta {
        grid-template-columns: 100%;
    }
    .post .meta .item {
        padding: 30px 0;
    }
    .post .meta.view .item:nth-child(2)::before,
    .post .meta.view .item:nth-child(2)::after,
    .post .meta.view .item:nth-child(3)::after,
    .post .meta.view .item:nth-child(4)::after {
        left: 0;
        height: unset;
        right: unset;
        width: 100%;
        transform: scaleX(1);
        border-top: 2px solid #ec3e32;
        border-left: unset;
        content: '';
        transform-origin: left;
        animation: border 2s forwards cubic-bezier(0,0,0.1,1);
    }
    .post .meta.view .item:nth-child(2)::before {
        top: 0;
    }
    .post .meta.view .item:nth-child(2)::after,
    .post .meta.view .item:nth-child(3)::after,
    .post .meta.view .item:nth-child(4)::after {
        bottom: 0;
        top: unset;
    }
    .post .meta.view .item:last-child::after {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    header:not(.index) {
        margin-bottom: 20px;
    }
    .main-title {
        margin-bottom: 30px;
    }
    .container {
        margin-top: 60px;
    }
    .container .items .item .img span {
        font-size: 28px;
    }
    .container .items .item .img span::after {
        font-size: 28px;
        margin-left: 10px;
    }
    .container .items .item h2 {
        font-size: 30px;
        line-height: 30px;
    }
    .container .items .item p {
        font-size: 14px;
        line-height: 18px;
    }
    .post {
        margin-bottom: 80px;
    }
    .post .image {
        margin-bottom: 30px;
    }
    .post .content {
        margin-bottom: 80px;
    }
    .post .content p,
    .post .content a {
        font-size: 25px;
        line-height: 30px;
    }
    .post .meta .item h2 {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 10px;
    }
    .post .meta .item p {
        font-size: 25px;
        line-height: 30px;
    }
    .post .gallery {
        grid-template-columns: 100%;
        grid-auto-rows: unset;
        width: 100%;
        max-width: 600px;
        justify-content: center;
        align-items: center;
        margin: 80px auto 0;
        grid-gap: 10px;
    }
    .post .gallery .item {
        min-height: 300px;
    }
    .post .link {
        width: 100%;
        max-width: 600px;
        font-size: 20px;
        line-height: 24px;
        margin-top: 80px;
    }
    .post .link::after {
        font-size: 19px;
    }
    .preview {
        padding: 40px 20px;
    }
    .preview .product-slider {
        max-width: calc(100vw - 40px);
        max-height: calc(100vh - 60px);
    }
    .preview .product-slider .arrow-l,
    .preview .product-slider .arrow-r {
        top: calc(50% - 25px);
        width: 50px;
        min-width: 50px;
        height: 50px;
    }
    .preview .product-slider .arrow-l {
        left: -15px;
    }
    .preview .product-slider .arrow-r {
        right: -15px;
    }
    .preview .product-slider .arrow-l::after,
    .preview .product-slider .arrow-r::after {
        font-size: 22px;
    }
    .preview .pagination {
        left: 20px;
    }
    .preview .pagination div,
    .preview .pagination span {
        font-size: 18px;
    }
    .preview .close {
        right: 20px;
    }
    .preview .close::after {
        font-size: 18px;
    }
    .post .link i {
        transition: unset;
    }
    .post .link:hover b:after, .post .link:active b:after {
        animation: unset;
    }
}
@media screen and (max-width: 578px) {
    .container .items {
        grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
        grid-gap: 60px 20px;
        margin-bottom: 80px;
    }
    .container .items .item .img {
        min-height: 300px;
    }
}