/* Tax Strategies Page Styles */

.tax-strategies-hub {
  background-color: #f0f7f4; /* Light green/gray background */
  padding: 0;
  min-height: 80vh;
  padding-bottom: 4rem;
}

.hub-header {
  text-align: center;
  width: 100%;
  margin: 0 0 4rem 0;
  background-color: var(--color-wimper-navy);
  padding: 4rem 0;
  color: white;
  position: relative;
  z-index: 0;
}

.hub-header h1 {
  font-size: var(--text-4xl);
  color: white;
  margin-bottom: 1rem;
}

.hub-header .intro-text {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.strategy-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.strategy-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  text-decoration: none; /* Remove default link underline */
  color: inherit;
}

.strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.strategy-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-image {
  height: 200px;
  overflow: hidden;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.strategy-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-size: var(--text-2xl);
  color: var(--color-wimper-navy, #1a365d);
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  color: var(--color-wimper-navy, #1a365d);
  font-weight: 600;
  margin-top: auto;
  position: relative;
  padding-bottom: 2px;
}

.read-more::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-wimper-navy, #1a365d);
  transition: width 0.3s ease;
}

.strategy-card:hover .read-more::after {
  width: 100%;
}

@media (max-width: 768px) {
  .hub-header h1 {
    font-size: var(--text-3xl);
  }
  
  .strategy-grid .grid {
    grid-template-columns: 1fr;
  }
}
