/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://yourdomain.com/
 Description:  GeneratePress child theme for custom templates
 Author:       Your Name
 Author URI:   https://yourdomain.com/
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  generatepress-child
*/

/* ---------- Free Tools Hub Styles ---------- */

.vst-tools-hub {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
}

.vst-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.vst-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
}

.vst-hero-subtitle {
  font-size: 1.25rem;
  margin: 0 0 40px;
  opacity: 0.95;
}

.vst-search-bar {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.vst-search-bar input {
  flex: 1;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 50px;
  outline: none;
}

.vst-search-bar button {
  background: #667eea;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.vst-search-bar button:hover {
  background: #5568d3;
}

.vst-categories {
  padding: 80px 20px;
  background: #f8f9fa;
}

.vst-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vst-section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 50px;
  color: #1a1a1a;
}

.vst-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.vst-category-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.vst-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.vst-category-card:hover::before {
  transform: scaleX(1);
}

.vst-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: #667eea;
}

.vst-card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1;
}

.vst-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 15px;
  color: #1a1a1a;
}

.vst-card-desc {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.6;
}

.vst-tool-count {
  display: inline-block;
  background: #f0f0f0;
  color: #667eea;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.vst-features {
  padding: 80px 20px;
  background: #fff;
}

.vst-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.vst-feature-item {
  text-align: center;
}

.vst-feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.vst-feature-item h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: #1a1a1a;
  font-weight: 600;
}

.vst-feature-item p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .vst-hero-title {
    font-size: 2rem;
  }
  .vst-section-title {
    font-size: 1.8rem;
  }
  .vst-category-grid {
    grid-template-columns: 1fr;
  }
  .vst-search-bar {
    flex-direction: column;
  }
}



/* Fix width and centering on Free Tools Hub Page */
body.page-template-page-free-tools .inside-article,
body.page-template-page-free-tools .site-main,
body.page-template-page-free-tools .content-area {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.vst-tools-hub {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.vst-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.vst-hero, .vst-categories, .vst-features {
  width: 100%;
  padding: 40px 0;
}

.vst-category-grid, .vst-features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
