@import '../../theme.module.less'; .activitySection { padding: var(--spacing-lg) 0; width: 100%; } .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--spacing-md); } .sectionTitle { font-size: 24px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 8px; &::before { content: ''; display: block; width: 4px; height: 24px; background: var(--primary-color); border-radius: 2px; } } .controls { display: flex; gap: var(--spacing-sm); @media (max-width: 768px) { display: none; /* Hide carousel controls on mobile */ } } .navBtn { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text-primary); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; &:hover { background: var(--primary-color); border-color: var(--primary-color); } } /* Desktop Carousel */ .desktopCarousel { position: relative; width: 100%; height: 440px; /* 400px card + space for dots */ overflow: hidden; @media (max-width: 768px) { display: none; } } .dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--spacing-md); } .dot { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; cursor: pointer; transition: all 0.3s; &.activeDot { background: var(--primary-color); transform: scale(1.2); } } /* Mobile List */ .mobileList { display: none; flex-direction: column; gap: var(--spacing-md); @media (max-width: 768px) { display: flex; } } /* --- Card Styles --- */ .activityCard { position: relative; width: 100%; height: 400px; border-radius: var(--border-radius-lg); overflow: hidden; cursor: pointer; background: var(--background-card); box-shadow: var(--box-shadow-base); transition: all 0.3s ease; @media (max-width: 768px) { height: 300px; } } .imageContainer { width: 100%; height: 100%; position: relative; img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } } .overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--spacing-lg); box-sizing: border-box; } .statusTag { display: inline-block; background: var(--primary-color); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: var(--spacing-sm); width: fit-content; text-transform: uppercase; } .title { color: var(--text-primary); font-size: 24px; font-weight: 700; margin-bottom: var(--spacing-xs); line-height: 1.3; text-shadow: 0 2px 4px rgba(0,0,0,0.5); @media (max-width: 768px) { font-size: 18px; } } .time { color: var(--text-secondary); font-size: 14px; display: flex; align-items: center; gap: 6px; } /* Detail Page Styles */ .detailHeader { position: relative; height: 50vh; min-height: 300px; width: 100%; overflow: hidden; } .detailImage { width: 100%; height: 100%; object-fit: cover; } .detailContent { max-width: 800px; margin: -60px auto 0; position: relative; z-index: 10; padding: 0 var(--spacing-lg) 100px; /* Bottom padding for fixed footer */ } .infoCard { background: var(--background-card); padding: var(--spacing-lg); border-radius: var(--border-radius-lg); box-shadow: var(--box-shadow-base); margin-bottom: var(--spacing-lg); border: 1px solid var(--border-color); } .richText { color: var(--text-secondary); line-height: 1.8; font-size: 16px; img { max-width: 100%; border-radius: var(--border-radius-base); margin: var(--spacing-md) 0; } h1, h2, h3 { color: var(--text-primary); margin-top: var(--spacing-lg); } } .fixedFooter { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(31, 31, 31, 0.95); backdrop-filter: blur(10px); padding: var(--spacing-md) var(--spacing-lg); border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; z-index: 100; box-shadow: 0 -4px 12px rgba(0,0,0,0.2); } .actionBtn { background: var(--primary-color); color: #fff; border: none; padding: 12px 32px; border-radius: 24px; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 185, 107, 0.3); transition: all 0.3s; &:disabled { background: #555; cursor: not-allowed; box-shadow: none; } }