/*
 Theme Name:   GeneratePress Child
 Theme URI:    http://fingertiponline.com/
 Description:  Child theme for GeneratePress
 Author:       Naivedyanandan Sonowal
 Author URI:   http://fingertiponline.com/
 Template:     generatepress
 Version:      1.0.0
*/
/* Universal search bar styling */
/* Universal search bar styling */
.header-search-below form {
    text-align: center;
    margin: 15px 0;
}
.header-search-below input {
    width: 70%;
    max-width: 800px; /* prevents over-stretching on very big screens */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px; /* makes left side rounded */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    font-size: 16px;
}
/* Search button styling */
.header-search-below button {
    padding: 10px 16px;
    border: none;
    background-color: #2b8ce6; /* slightly darker sky blue */
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.header-search-below button:hover {
    background-color: #1a75d1; /* deeper blue on hover */
}

/* Responsive design for mobile & tablets */
@media (max-width: 768px) {
    .header-search-below input {
        width: 80%; /* shrink nicely on mobile */
        max-width: 100%;
    }
    .header-search-below button {
        margin-top: 8px;
        width: auto;
    }
}
/* Money Decisions Category Page */ 

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero {
  text-align: center;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  color: #555;
  font-size: 1.1rem;
}

section {
  margin: 40px 0;
}

section h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
  background: #fff;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card h3 {
  padding: 15px;
  font-size: 1.1rem;
}

.featured-card img {
  width: 100%;
  border-radius: 12px;
}

.featured-card h3 {
  margin: 15px 0 10px;
  font-size: 1.4rem;
}

.featured-card p {
  color: #555;
}

.practical-guides ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.practical-guides a {
  padding: 10px 15px;
  background: #f1f1f1;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.cta {
  text-align: center;
  padding: 40px 20px;
  background: #f9fafb;
  border-radius: 12px;
}

.cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #0073aa;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
}
