.container {
    max-width: 1800px;
    padding: 0 24px;
}

.activities-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 80%;
    padding-top: 100px;
}

.hero-title {
    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    max-width: 650px;
}

.hero-excerpt {
    font-size: 16px;
    line-height: 1.8;
    max-width: 650px;
    margin-bottom: 40px;
    opacity: 0.85;
    color: #ececec;
}

.hero-btn {
    display: inline-block;
    padding: 7px 17px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.hero-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.category-filter-bar {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-item {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.filter-item.active {
    color: #000;
}

.filter-item:hover {
    color: #000;
}

.filter-divider {
    color: #ddd;
    font-size: 14px;
}

.activities-section {
    padding: 30px 0 120px;
    background-color: #fff;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
    row-gap: 50px;
}

.activity-card {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #eee;
}

.card-image-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #eee;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.card-main-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.date-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #000;
    color: #fff;
    width: 50px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.3s;
    border-radius: 6px 0 8px 0;
}

.date-tag .day {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.date-tag .month-year {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.card-body {
    padding: 0 15px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.card-title a {
    text-decoration: none;
    color: #000;
    transition: opacity 0.3s;
}

.card-title a:hover {
    opacity: 0.6;
}

.card-excerpt {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 8px;
}

.layui-laypage a,
.layui-laypage-prev,
.layui-laypage-next {
    display: flex;
    /*width: 32px;*/
    height: 32px;
    float: left;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #7d7d7d;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.layui-laypage .layui-laypage-curr {
    background-color: #eee;
    color: #323232;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.layui-laypage a:hover:not(.active),
.page-prev:hover,
.page-next:hover {
    color: #323232;
}


.page-dots {
    color: #7d7d7d;
    padding: 0 5px;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.page-prev svg,
.page-next svg {
    stroke: #7d7d7d;
    transition: stroke 0.3s ease;
}

.page-prev:hover svg,
.page-next:hover svg {
    stroke: #323232;
}

@media (max-width: 640px) {
    .pagination {
        gap: 5px;
    }

    .page-numbers {
        gap: 2px;
    }
}

@media (max-width: 1600px) {
    .activities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }


    .activities-hero {
        height: 360px;
        align-items: flex-end;
        padding-bottom: 20px;
    }

    .hero-content {
        max-width: 92%;
        padding-top: 0;
    }


    .hero-title {
        font-size: 20px !important;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .hero-excerpt {
        display: none;
    }

    .hero-btn {
        padding: 3px 12px;
        font-size: 11px;
    }
}