/* ========================================
   同城活动页面样式
   ======================================== */

/* ========================================
   同城活动特定样式
   ======================================== */

/* 分类标签栏 - 已移至common.css，使用.category-bar */

/* 活动列表 */
.event-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 活动卡片 */
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 卡片图片 */
.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image i {
    font-size: 48px;
    color: var(--icon-light);
}

/* 价格标签 */
.event-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--color-event-start) 0%, var(--color-event-end) 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3);
}

/* 卡片内容 */
.event-content {
    padding: 20px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-excerpt {
    font-size: 14px;
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-color-placeholder);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-meta i {
    font-size: 12px;
}

/* 热门推荐样式 */
.hot-article {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color-light);
    cursor: pointer;
    transition: all 0.3s;
}

.hot-article:last-child {
    border-bottom: none;
}

.hot-article:hover {
    padding-left: 10px;
}

body:not(.theme-dark) .hot-article:hover {
    background: var(--background-color-hover);
}

.hot-article-title {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-article-meta {
    font-size: 12px;
    color: var(--text-color-secondary);
}

.hot-article-meta i {
    margin-right: 3px;
}

/* 快速链接样式 */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--background-color-hover);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.quick-link:hover {
    background: var(--theme-gradient);
    color: #fff;
    transform: translateX(4px);
}

.quick-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.quick-link span {
    flex: 1;
}

/* 主题色适配 - 白天模式 */
body:not(.theme-dark) .event-category-item.active {
    background: linear-gradient(135deg, var(--color-event-start) 0%, var(--color-event-end) 100%);
}
