.post-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--theme-border-radius-xl);
    background: linear-gradient(135deg, rgba(var(--theme-color-rgb), 0.12), rgba(255, 255, 255, 0.92));
    box-shadow: 0 10px 30px var(--main-shadow);
}

.io-black-mode .post-hero {
    background: linear-gradient(135deg, rgba(var(--theme-color-rgb), 0.18), rgba(45, 46, 47, 0.92));
}

.post-hero__cover {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.18;
    transform: scale(1.04);
}

.post-hero__body {
    position: relative;
    padding: 24px 22px;
}

.post-hero__breadcrumb,
.post-hero__breadcrumb a,
.post-hero__breadcrumb span {
    color: var(--muted-color2);
}

.post-hero__eyebrow a {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(var(--theme-color-rgb), 0.12);
    color: var(--theme-color);
    font-size: 12px;
}

.post-hero__title {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.3;
}

.post-hero__desc {
    max-width: 820px;
    margin: 14px 0 0;
    color: var(--muted-color2);
    font-size: 1rem;
    line-height: 1.85;
}

.post-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
    color: var(--muted-color2);
}

.post-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.is-featured-post-section .posts-item.post-item:first-child {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: var(--theme-border-radius-lg);
    background: var(--main-bg-color);
    box-shadow: 0 10px 24px var(--main-shadow);
}

.is-featured-post-section .posts-item.style-post-min:first-child {
    flex-direction: column;
}

.is-featured-post-section .posts-item.style-post-min:first-child .item-header,
.is-featured-post-section .posts-item.style-post-card:first-child .item-header,
.is-featured-post-section .posts-item.style-post-card2:first-child .item-header {
    width: 100%;
}

.is-featured-post-section .posts-item.post-item:first-child .item-media {
    min-height: 220px;
}

.is-featured-post-section .posts-item.post-item:first-child .item-body {
    padding: 18px;
}

.is-featured-post-section .posts-item.post-item:first-child .item-title {
    font-size: 1.1rem;
    line-height: 1.5;
}

.is-featured-post-section .posts-item.post-item:first-child .line1.text-muted {
    display: block !important;
    overflow: hidden;
    white-space: normal;
    line-height: 1.75;
    max-height: 5.25em;
}

.post-author-box {
    display: flex;
    gap: 18px;
    padding: 20px;
    border-radius: var(--theme-border-radius-lg);
    background: linear-gradient(135deg, rgba(var(--theme-color-rgb), 0.08), rgba(255, 255, 255, 0.98));
    box-shadow: 0 10px 24px var(--main-shadow);
}

.io-black-mode .post-author-box {
    background: linear-gradient(135deg, rgba(var(--theme-color-rgb), 0.14), rgba(45, 46, 47, 0.98));
}

.post-author-box__avatar img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
}

.post-author-box__body {
    flex: 1;
    min-width: 0;
}

.post-author-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.post-author-box__name {
    font-size: 1.1rem;
    font-weight: 600;
}

.post-author-box__desc {
    margin: 14px 0 0;
    color: var(--muted-color2);
    line-height: 1.8;
}

.post-author-box__recent {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--muted-bg-a-color);
}

.post-author-box__recent-title {
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.post-author-box__recent-item {
    display: block;
    padding: 6px 0;
    color: var(--muted-color2);
}

.posts-item.style-post-min-sm {
    align-items: stretch;
}

.posts-item.style-post-min-sm .item-body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.posts-item.style-post-min-sm .line1.text-muted {
    display: block !important;
    overflow: hidden;
    white-space: normal;
    line-height: 1.75;
    max-height: 3.5em;
    margin-top: 8px;
}

.posts-item.style-post-min-sm .item-meta {
    margin-top: 10px;
}

.posts-item.style-post-min-sm .item-media {
    width: 180px;
    min-width: 180px;
    padding-bottom: 112px;
}

@media (min-width: 768px) {
    .post-hero__body {
        padding: 32px 34px;
    }

    .is-featured-post-section .row-col-md-2a > *:first-child,
    .is-featured-post-section .row-col-md-3a > *:first-child,
    .is-featured-post-section .row-col-md-4a > *:first-child,
    .is-featured-post-section .row-col-md-5a > *:first-child,
    .is-featured-post-section .row-col-md-6a > *:first-child,
    .is-featured-post-section .row-col-lg-3a > *:first-child,
    .is-featured-post-section .row-col-lg-4a > *:first-child,
    .is-featured-post-section .row-col-lg-5a > *:first-child,
    .is-featured-post-section .row-col-lg-6a > *:first-child,
    .is-featured-post-section .row-col-xl-4a > *:first-child,
    .is-featured-post-section .row-col-xl-5a > *:first-child,
    .is-featured-post-section .row-col-xl-6a > *:first-child,
    .is-featured-post-section .row-col-xxl-5a > *:first-child,
    .is-featured-post-section .row-col-xxl-6a > *:first-child {
        flex: 0 0 calc(50% - var(--this-card-padding));
        max-width: calc(50% - var(--this-card-padding));
    }
}

@media (max-width: 767.98px) {
    .post-hero__title {
        font-size: 1.45rem;
    }

    .post-hero__desc {
        font-size: 0.95rem;
    }

    .post-author-box {
        flex-direction: column;
    }

    .post-author-box__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .posts-item.style-post-min-sm .item-media {
        width: 120px;
        min-width: 120px;
        padding-bottom: 78px;
    }
}
