/* 一秒互联公司  www.yimiaonet.com */
.community-home-hero {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    background: #102b52;
}

body[data-page="community"] .community-home-hero {
    border-color: #183c6a;
    background: #102b52;
    color: #fff;
}

body[data-page="community"] .community-home-hero .community-modern-heading h1,
body[data-page="community"] .community-home-hero .community-home-overview dt {
    color: #fff;
}

body[data-page="community"] .community-home-hero .community-modern-heading > div > span,
body[data-page="community"] .community-home-hero .community-home-overview dd {
    color: #c8d7eb;
}

.community-home-hero::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: #1769e0;
    content: "";
}

.community-home-hero .community-modern-heading {
    align-items: flex-start;
    max-width: 720px;
}

.community-home-hero .community-modern-heading h1 {
    max-width: 680px;
    font-size: 31px;
}

.community-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.community-home-actions a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #4a8aea;
    border-radius: 6px;
    background: #1769e0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.community-home-actions a + a {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
}

.community-home-actions a:hover {
    background: #2a79e6;
}

.community-home-actions svg {
    width: 17px;
    height: 17px;
}

.community-home-overview {
    display: grid;
    flex: 0 0 330px;
    gap: 10px;
}

.community-home-badge {
    display: flex;
    gap: 7px;
    align-items: center;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    color: #d7e5f6;
    font-size: 12px;
}

.community-home-badge svg {
    width: 16px;
    height: 16px;
    color: #63d2a4;
}

.community-home-overview dl {
    width: 100%;
    min-width: 0;
}

.community-home-overview dl div {
    padding: 10px 16px;
}

.community-home-overview dt {
    font-size: 24px;
}

.community-home-overview dd {
    font-size: 12px;
}

.community-modern-detail-layout,
.community-publish-page,
.community-modern-author-page {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .community-home-hero {
        gap: 24px;
    }

    .community-home-overview {
        flex-basis: 290px;
    }
}

@media (max-width: 800px) {
    .community-home-hero {
        padding: 24px;
    }

    .community-home-overview {
        margin-top: 20px;
    }

    .community-home-hero .community-modern-heading h1 {
        font-size: 25px;
    }
}

@media (max-width: 430px) {
    /* 一秒互联公司  www.yimiaonet.com：手机端保持图标、标题与操作区紧凑排列，避免社区首屏出现大面积空白。 */
    .community-home-hero {
        padding: 18px;
    }

    .community-home-hero .community-modern-heading {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
    }

    .community-home-hero .community-modern-mark {
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .community-home-hero .community-modern-mark svg {
        width: 24px;
        height: 24px;
    }

    .community-home-hero .community-modern-heading h1 {
        font-size: 22px;
        line-height: 1.35;
    }

    .community-home-actions {
        margin-top: 14px;
    }

    .community-home-actions a {
        width: 100%;
    }

    .community-home-overview {
        margin-top: 16px;
    }

    .community-home-overview dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-home-overview dl div {
        padding: 8px 10px;
    }

    .community-home-overview dt {
        font-size: 20px;
        line-height: 1.2;
    }

    .community-home-overview dd {
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-home-hero *,
    .community-modern-channels * {
        transition-duration: .01ms !important;
    }
}
