.torob-post-header {
    position: relative;
    isolation: isolate;
    width: 100%;
}

.torob-post-header__shape {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.torob-post-header__rect {
    position: absolute;
    display: block;
}

.torob-post-header__rect--small {
    border-radius: 0 0 32px 32px;
    right: 0;
    bottom: 26px;
    width: 65%;
    height: 100px;
    -webkit-mask: linear-gradient(#fff 0 0), url(../img/exclude-big-left.png);
    -webkit-mask-position: 0 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: xor; /* سافاری از exclude پشتیبانی نمی‌کنه، معادلش همینه */
    mask: linear-gradient(#fff 0 0), url(../img/exclude-big-left.png);
    mask-position: 0 100%;
    mask-repeat: no-repeat;
    mask-composite: exclude;
}

.torob-post-header__rect--large {
    top: 0;
    right: 0;
    width: calc(100% - 110px);
    height: calc(100% - 100px);
    border-radius: 32px 32px 0 32px;
}

.torob-post-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.torob-post-header__info,
.torob-post-header__thumbnail {
    min-width: 0;
    box-sizing: border-box;
}

.torob-post-header__title {
    padding: 0;
    margin-top: 0;
    line-height: 1.5;
    font-size: 24px;
    font-weight: 900;
}

.torob-post-header__excerpt {
    line-height: 1.9;
    font-size: 16px;
    font-weight: 500;
}

.torob-post-header__excerpt > :first-child {
    margin-top: 0;
}

.torob-post-header__excerpt > :last-child {
    margin-bottom: 0;
}

.torob-post-header__meta {
    display: grid;
    padding: 0;
    margin: 0;
    list-style: none;
}

.torob-post-header__meta-item {
    display: flex;
    align-items: center;
    min-width: 0;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 500;
}

.torob-post-header__meta-item a {
    transition: color .2s ease;
}

.torob-post-header__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.torob-post-header__icon svg {
    display: block;
}

.torob-post-header__meta-value {
    min-width: 0;
    overflow-wrap: anywhere;
}

.torob-post-header__thumbnail {
    padding: 0;
    margin: 0;
}

.torob-post-header__thumbnail img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

@media (max-width: 991px) {
    .torob-post-header__inner {
        flex-wrap: wrap;
    }

    .torob-post-header__info,
    .torob-post-header__thumbnail {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    .torob-post-header__rect--large {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .torob-post-header__inner {
        flex-direction: column !important;
    }

    .torob-post-header__rect--large {
        height: calc(100% - 80px);
    }

    .torob-post-header__rect--small {
        bottom: 0;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .torob-post-header__meta {
        grid-template-columns: 1fr !important;
    }

    .torob-post-header__rect--large {
        height: calc(100% - 40px);
    }

    .torob-post-header__rect--small {
        height: 40px;
    }
}
