:root {
  --kandu-blue: #1e4664;
  --kandu-green: #70bcb5;
  --kandu-gold: #edbd82;
  --kandu-dark-green: #2c4c23;
  --kandu-sage: #668570;
  --kandu-light-blue: #9fc0e8;
  --kandu-article: #2d3748;
}

#hero-section {
  background: white;
  padding: 8rem 0 1rem !important;
}

@media (max-width: 768px) {
  #hero-section {
    padding: 4rem 0 1rem !important;  
  }
}

@media (max-width: 480px) {
  #hero-section {
    padding: 3rem 0 1rem !important;  
  }
}

#hero-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

#hero-section p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 0;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

#filter-section {
  background: #f9fafb;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e5e7eb;
}

#filter-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 0.5rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  background: white;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.filter-pill:hover {
  border-color: var(--kandu-green);
  background: rgba(112, 188, 181, 0.05);
}

.filter-pill.active {
  background: var(--kandu-sage);
  border-color: var(--kandu-sage);
  color: white;
}

#resources-section {
  background: white;
  padding: 2rem 0;
}

#resources-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

#resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.resource-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.resource-card:active {
  transform: scale(0.98);
}

.card-image-wrapper {
  position: relative;
  height: 9.5rem;
  overflow: hidden;
  background: #f3f4f6;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 15px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.card-content {
  padding: 1rem;
}

.card-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.3;
}

.card-link {
  color: var(--kandu-article);
  text-decoration: none;
  display: block;
}

.card-link:active {
  opacity: 0.75;
}

.card-excerpt {
  display: none;
}

#cta-section {
  background: #f9fafb;
  padding: 3rem 0;
}

#cta-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

#cta-section p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--kandu-sage);
  color: white;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--kandu-dark-green);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  #filter-section {
    padding: 2rem 0;
  }
  
  .filter-pills {
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 0;
  }
  
  .filter-pill {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    min-height: 44px;
  }
  
  #resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .card-image-wrapper {
    height: 12rem;
  }
  
  .category-tag {
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.625rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
  
  .card-excerpt {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
  }

  .resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
}

@media (min-width: 1024px) {
  #hero-section {
    padding: 8rem 0 4rem;
  }
  
  #hero-section h1 {
    font-size: var(--font-size-h1) !important;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  #hero-section p {
    font-size: 1.25rem;
  }
  
  .filter-pill {
    font-size: 0.9375rem;
    padding: 0.625rem 1.5rem;
  }
  
  #resources-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .card-image-wrapper {
    height: 14rem;
  }
  
  .resource-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  
  .card-link:hover {
    opacity: 0.75;
  }
}

.hidden {
  display: none;
}

.seo-content {
  padding: 2rem;
}

.seo-content h2 {
  color: var(--kandu-blue);
  margin: 1.5rem 0 1rem;
}

.seo-content ul {
  list-style: none;
  padding: 0;
}

.seo-content li {
  margin-bottom: 0.5rem;
}

.seo-content a {
  color: var(--kandu-blue);
  text-decoration: none;
  font-weight: 600;
}


.category-tag[class*="668570"] {
  background-color: #668570 !important;
  color: white !important;
}