/* Filtered Activities Pages Styling */

.filtered-activities-page {
  min-height: 100vh;
}

/* Hero Section */
.page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0 2rem;
  margin-bottom: 2rem;
}

.page-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.page-hero .lead {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.activity-count-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
}

.activity-count-badge strong {
  font-weight: 700;
  color: #fff;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  opacity: 0.6;
}

.breadcrumbs a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.breadcrumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumbs span {
  opacity: 1;
}

/* Quick Filters */
.quick-filters {
  background: #f8f9fa;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 2rem;
}

.quick-filters .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.filter-pills {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-label {
  font-weight: 600;
  color: #495057;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.filter-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 2rem;
  color: #495057;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.filter-pill:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-pill.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* Activities Grid Section */
.activities-grid-section {
  padding: 2rem 0 3rem;
}

.activities-grid-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.activities-grid-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #2d3748;
  font-weight: 600;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.featured-activities {
  margin-bottom: 3rem;
}

.featured-activities .activity-grid {
  margin-bottom: 0;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.no-results h2 {
  color: #495057;
  margin-bottom: 1rem;
}

.no-results p {
  color: #6c757d;
}

.no-results a {
  color: #667eea;
  font-weight: 600;
}

/* SEO Content Section */
.seo-content {
  background: #f8f9fa;
  padding: 3rem 0;
  margin-top: 3rem;
}

.seo-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.seo-text h2 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.seo-text h2:first-child {
  margin-top: 0;
}

.seo-text p {
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1rem;
}

/* Related Links */
.related-links {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  height: fit-content;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.related-links h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #2d3748;
}

.related-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-links li {
  margin-bottom: 0.75rem;
}

.related-links a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.related-links a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.related-links a::before {
  content: '→';
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Visually Hidden (for screen readers) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 1.75rem;
  }
  
  .page-hero .lead {
    font-size: 1rem;
  }
  
  .filter-pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .filter-group {
    flex-wrap: nowrap;
    min-width: max-content;
  }
  
  .activity-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .seo-content .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Clean Activity Cards - Minimal Design */
.activity-card-clean {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 4px solid #e2e8f0;
}

.activity-card-clean:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

/* Type Badge */
.activity-card-clean .type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: #f7fafc;
  border-radius: 6px;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
}

.type-icon {
  font-size: 1.1rem;
}

.type-name {
  color: #4a5568;
}

/* Title */
.activity-card-clean .activity-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

.activity-card-clean .activity-title a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.2s;
}

.activity-card-clean .activity-title a:hover {
  color: #667eea;
}

/* Essential Info */
.essentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.essential-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.85rem;
}

.essential-item .icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.essential-item .value {
  color: #4a5568;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.essential-item.price .value {
  color: #10b981;
  font-weight: 600;
}

/* View Button */
.activity-card-clean .view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  margin-top: auto;
}

.activity-card-clean .view-btn:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Type-specific border colors */
.activity-card-clean.music { border-left-color: #3b82f6; }
.activity-card-clean.swimming { border-left-color: #06b6d4; }
.activity-card-clean.sensory { border-left-color: #ec4899; }
.activity-card-clean.story { border-left-color: #f59e0b; }
.activity-card-clean.playgroup { border-left-color: #8b5cf6; }
.activity-card-clean.indoor { border-left-color: #6366f1; }
.activity-card-clean.outdoor { border-left-color: #10b981; }

/* Responsive */
@media (max-width: 768px) {
  .essentials {
    grid-template-columns: 1fr;
  }
  
  .activity-card-clean .activity-title {
    font-size: 1.05rem;
  }
}
