/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
/* ================================
   TIPS & ADVICE PAGE STYLES
   ================================ */

/* ================================
   TIPS & ADVICE CONTENT
   ================================ */

/* Tips & Advice Section */
.tips-advice-section {
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Section Header */
.section-header {
  margin-bottom: 48px;
}

.section-header h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  color: var(--color-blue-navy);
  margin-bottom: 16px;
}

.section-header p {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

/* Article Card */
.article-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Article Card Image */
.article-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: var(--color-gray-100);
  position: relative;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

/* Article Card Content */
.article-card-content {
  padding: 24px;
}

.article-card-content h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-blue-navy);
  margin-bottom: 12px;
  line-height: var(--line-height-heading);
}

.article-card-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--line-height-body);
  margin-bottom: 16px;
}

/* Article CTA */
.article-card-cta {
  display: inline-block;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-orange);
  transition: color var(--transition-fast);
}

.article-card:hover .article-card-cta {
  color: var(--color-orange-dark);
}

.article-card-cta.coming-soon {
  color: var(--text-muted);
  font-style: italic;
}

/* Placeholder Card */
.article-card-placeholder {
  opacity: 0.7;
}

.article-card-placeholder:hover {
  transform: none;
  cursor: default;
}

.article-card-placeholder .article-card-image img {
  filter: grayscale(50%);
}

.article-card-placeholder:hover .article-card-image img {
  transform: none;
}

/* Tips CTA Section */
.tips-cta {
  background-color: var(--color-blue-subtle);
  padding: 48px;
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tips-cta h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-blue-navy);
  margin-bottom: 16px;
}

.tips-cta p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.tips-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section-header h1 {
    font-size: var(--text-4xl);
  }

  .section-header p {
    font-size: var(--text-lg);
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-card-content h2 {
    font-size: var(--text-xl);
  }

  .tips-cta {
    padding: 32px 24px;
  }

  .tips-cta h2 {
    font-size: var(--text-2xl);
  }

  .tips-cta .cta-buttons {
    flex-direction: column;
  }

  .tips-cta .btn {
    width: 100%;
  }
}

/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
