.community-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.667vw;
    list-style: none;
    grid-auto-rows: 1fr;
}

.previous-list {
    grid-template-columns: repeat(2, 1fr);
}

.community-list li {
    flex: 1;
    height: 100%;
    display: flex;
    width: 100%;
}

.community-list a,
.hot-card a {
    width: 100%;
    display: block;
    border: 1px solid #e1e1e1;
    padding: 20px;
}

.community-list a h3,
.hot-card a h3 {
    font-size: max(var(--font-min), 1vw);
    color: #232323;
    text-decoration: none;
    margin-top: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.community-list a img,
.hot-card a img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 0.6;
}

.community-list a p,
.hot-card a p {
    font-size: max(var(--font-min), 0.833vw);
    color: #838383;
    margin-top: 20px;
}

.community-list a:hover {
    border: 1px solid #F5BA31;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hot-carousel,
.community-list {
    margin-bottom: 3vw;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero img.bg {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.hero .txt {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    color: #fff;
}

.hero .txt h2 {
    font-size: max(var(--font-min), 3vw);
    text-shadow: 0 4px 7.3px rgba(0, 0, 0, 0.7);
    letter-spacing: 4px;
    white-space: nowrap;
}

.hero .txt p {
    font-size: max(var(--font-min), 1vw);
    text-shadow: 0 4px 7.3px rgba(0, 0, 0, 0.7);
    margin-bottom: 43px;
    letter-spacing: 4px;
    white-space: nowrap;
}

.hero .txt a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 14px 40px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.hero .txt a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero .txt a img {
    width: 16px;
    height: 16px;
}

@media(max-width:1024px) {
    .hero .txt h2 {
        font-size: 16px;

    }

    .community-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .community-list a,
    .hot-card a {
        padding: 15px;
    }

    .community-list a h3,
    .hot-card a h3 {
        font-size: 16px;
        margin-top: 15px;
    }

    .hero .txt {
        top: 30%;
    }

    .hero .txt a {

        padding: 6px 15px;
        font-size: 14px;
    }
}