/* === GALANTHII AI TOOLS LAYOUT — OceanWP Edition (Clean Final) === */

/* 🌿 Page wrapper */
.ai-tools-explorer {
  background: linear-gradient(180deg, #f6eee4 0%, #e2cfc0 100%);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
  text-align: center;
}

/* 🌿 Title */
.ai-te-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #3b2b1f;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* 🌿 Category buttons */
.ai-te-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.ai-te-filters button {
  background: transparent;
  border: 2px solid #01b2bf;
  color: #3b2b1f;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.ai-te-filters button:hover,
.ai-te-filters button.active {
  background: #01b2bf;
  color: #fff;
}

/* 🌿 Grid of cards */
.ai-te-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  justify-items: center;
  align-items: start;
}

/* 🌿 Individual tool cards */
.ai-te-card {
  border: 1px solid rgba(74,46,30,0.25);
  border-radius: 14px;
  background: linear-gradient(180deg, #f6eee4 0%, #e2cfc0 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: all 0.3s ease-in-out;
  padding: 20px;
  text-align: center;
}

.ai-te-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #01b2bf;
  box-shadow: 0 12px 26px rgba(1,178,191,0.3);
}

/* 🌿 Card content */
.ai-te-name {
  color: #3b2b1f;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.ai-te-tag {
  color: #5a4438;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

/* 🌿 Visit button */
.ai-te-btn {
  background: #01b2bf;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.ai-te-btn:hover {
  background: #019aa7;
  transform: scale(1.05);
}

/* 🌿 Responsive breakpoints */
@media (min-width: 768px) and (max-width: 1023px) {
  .ai-te-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .ai-te-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === GALANTHII PAGE-SPECIFIC FIXES === */

/* 🌿 Make the AI Tools page full-width (no sidebar) */
.page-id-1444 #secondary,
.page-id-1444 .sidebar,
.page-id-1444 .widget-area,
.page-id-1444 .elementor-sidebar {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.page-id-1444 #primary,
.page-id-1444 #content-wrap,
.page-id-1444 .content-area {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
  display: block !important;
}

/* 🌿 Proper grid layout inside expanded content */
.page-id-1444 .ai-tools-explorer {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}

.page-id-1444 .ai-te-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 24px !important;
  justify-items: center !important;
  align-items: start !important;
}