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

/* ================================
   INTERIOR PAGE - CORNER LOGO & NAV
   ================================ */
.corner-logo {
  position: fixed;
  top: 12px;
  left: calc(4% + 12px);
  z-index: 1001;
  display: block;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.corner-logo img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-base), width var(--transition-base);
}

.corner-logo:hover img {
  transform: scale(1.05);
}

.corner-logo.scrolled img {
  width: 96px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Interior Nav - Starts with white background */
.page-interior .nav-interior {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.page-interior .nav-no-logo .nav-content {
  justify-content: flex-end;
  padding-left: 140px;
}

.page-interior .nav-links {
  margin-right: 40px;
}

.page-interior .nav-interior .nav-link,
.page-interior .nav-interior .nav-phone {
  color: var(--color-text);
}

.page-interior .nav-interior .nav-link:hover {
  color: var(--color-orange);
}

.page-interior .nav-interior .nav-phone-icon {
  color: var(--color-orange);
}

.page-interior .nav-interior .hamburger span {
  background-color: var(--color-text);
}

/* Scrolled state */
.page-interior .nav.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

/* ================================
   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: all 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) {
  .corner-logo {
    left: 12px;
  }

  .corner-logo img {
    width: 100px;
  }

  .corner-logo.scrolled img {
    width: 80px;
  }

  .page-interior .nav-no-logo .nav-content {
    padding-left: 120px;
  }

  .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 */
