/* ===== INVESTMENT GUIDE LANDING ===== */

/* Remove default padding */
body.page-template-investment-guide .site-main {
  padding: 0 !important;
  max-width: none !important;
}

/* ===== HERO SECTION ===== */
.ig-hero {
  background: var(--gb-navy);
  color: var(--gb-white);
  padding: 4rem 2rem;
  text-align: center;
}

.ig-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gb-white);
}

.ig-hero .hero-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin: 0 auto;
  max-width: 900px;
}

/* ===== GUIDE CARDS SECTION ===== */
.ig-guides {
  background: var(--gb-white);
  padding: 4rem 0;
}

.ig-guides-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Individual Guide Card */
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--gb-white);
  border: 1px solid var(--gb-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.guide-card-content {
  flex: 1;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.guide-card-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 0.75rem;
}

.guide-card-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gb-text);
  margin-bottom: 1.25rem;
}

.guide-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Button styles */
.guide-card .btn {
  display: inline-block;
  background: var(--gb-navy);
  color: var(--gb-white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  width: fit-content;
}

.guide-card .btn:hover {
  background: var(--gb-gold);
  color: var(--gb-navy);
}

/* ===== LATEST ARTICLES SECTION ===== */
.ig-articles {
  background: #f5f5f5;
  padding: 4rem 2rem;
}

.ig-articles-inner > h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 2rem;
  text-align: center;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.article-card {
  background: var(--gb-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.article-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e0e0e0;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
}

.article-content {
  padding: 1.25rem;
}

.article-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.article-content h3 a {
  color: var(--gb-navy);
  text-decoration: none;
}

.article-content h3 a:hover {
  color: var(--gb-gold);
}

.article-content time {
  display: block;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.article-content .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gb-navy);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-content .read-more:hover {
  color: var(--gb-gold);
}

/* Articles CTA */
.articles-cta {
  text-align: center;
}

.articles-cta .btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gb-navy);
  border: 2px solid var(--gb-navy);
  padding: 0.75rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s;
}

.articles-cta .btn-outline:hover {
  background: var(--gb-navy);
  color: var(--gb-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ig-hero {
    padding: 3rem 1.5rem;
  }

  .ig-hero h1 {
    font-size: 1.75rem;
  }

  .ig-hero .hero-intro {
    font-size: 1rem;
  }

  .ig-guides {
    padding: 3rem 1.5rem;
  }

  .ig-guides-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .guide-card-content {
    padding: 1.5rem;
  }

  .ig-articles {
    padding: 3rem 1.5rem;
  }

  .ig-articles-inner > h2 {
    font-size: 1.5rem;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .article-content {
    padding: 1rem;
  }

  .article-content h3 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
