/* Activities Page Styles */

.activities-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.8;
  font-family: var(--font-text);
  color: var(--text-main);
}

.activities-intro p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.activities-intro p:last-child {
  margin-bottom: 0;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 32, 94, 0.05);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(59, 32, 94, 0.15);
}

.activities-grid-page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.activity-card-page {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(59, 32, 94, 0.04);
}

.activity-card-page:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(59, 32, 94, 0.12);
  border-color: transparent;
}

.ac-header {
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background: linear-gradient(180deg, rgba(250,248,245,0.5) 0%, white 100%);
}

.ac-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.2rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  background: rgba(169, 35, 85, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(169, 35, 85, 0.2);
}

.ac-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0;
}

.ac-body {
  padding: 1.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ac-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.ac-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.ac-details div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ac-details svg {
  color: var(--primary-color);
}

.ac-footer {
  margin-top: auto;
}

/* Detail Page */
.detail-hero {
  background: var(--hero-gradient);
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.8) 0%, transparent 60%);
  pointer-events: none;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: white;
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.detail-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-meta-item svg {
  color: var(--primary-color);
}

.detail-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  padding: 4rem 0;
}

.detail-main h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.detail-main h2:first-child {
  margin-top: 0;
}

.detail-main p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.detail-main ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.detail-main li {
  margin-bottom: 0.5rem;
}

.detail-sidebar {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: max-content;
  box-shadow: 0 10px 30px rgba(59, 32, 94, 0.06);
}

.sidebar-block {
  margin-bottom: 2rem;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 0.5rem;
}

.sidebar-info-row span:first-child {
  color: var(--text-muted);
}

.sidebar-info-row span:last-child {
  font-weight: 500;
  text-align: right;
}

@media (max-width: 900px) {
  .detail-content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .detail-sidebar {
    position: static;
  }
}
