/* Thought Leadership Page Styles */

/* Hero Section */
.thought-leadership-hero {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.thought-leadership-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/hero.png') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.thought-leadership-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.thought-leadership-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ffffff;
}

.thought-leadership-hero .hero-subtitle {
  max-width: 700px;
  margin: 0 auto;
}

.thought-leadership-hero .hero-subtitle p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin: 0;
  color: #ffffff;
  opacity: 0.95;
}

/* Featured Post Section */
.featured-post-section {
  background: #ffffff;
}

.featured-post {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  padding: 40px;
  transition: all 0.3s ease;
}

.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.featured-post-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.post-category {
  background: #2563eb;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-date {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.post-readtime {
  font-size: 14px;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
}

.featured-post-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.featured-post-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-post-title a:hover {
  color: #2563eb;
}

.featured-post-excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 32px;
}

.post-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: #1e293b;
  font-size: 16px;
}

.author-title {
  font-size: 14px;
  color: #64748b;
}

.featured-post-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.featured-post-link:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* Posts Grid Section */
.posts-section {
  background: #f8fafc;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.post-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-color: #3b82f6;
}

.post-card-content {
  padding: 32px;
}

.post-card .post-meta {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.post-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.post-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #2563eb;
}

.post-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 24px;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.post-footer .post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.post-footer .author-name {
  font-size: 14px;
}

.post-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.post-link:hover {
  color: #1d4ed8;
  transform: translateX(2px);
}

/* Newsletter CTA Section */
.newsletter-cta-section {
  background: #f8fafc;
}

.newsletter-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.newsletter-cta-section .newsletter-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.2;
}

.newsletter-cta-section .newsletter-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.newsletter-form-wrapper {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
}

.newsletter-form .form-group {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-button {
  padding: 12px 24px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.newsletter-disclaimer {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* Contact CTA Section */
.contact-cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.contact-cta-section .cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-cta-section .cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
}

.contact-cta-section .cta-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #ffffff;
  opacity: 0.9;
}

.contact-cta-section .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .newsletter-cta {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .thought-leadership-hero {
    padding: 100px 0 60px;
  }
  
  .thought-leadership-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .thought-leadership-hero .hero-subtitle p {
    font-size: 1.125rem;
  }
  
  .featured-post {
    padding: 24px;
  }
  
  .featured-post-title {
    font-size: 1.875rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-card-content {
    padding: 24px;
  }
  
  .post-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .newsletter-form .form-group {
    flex-direction: column;
  }
  
  .newsletter-button {
    width: 100%;
  }
  
  .contact-cta-section .cta-title {
    font-size: 1.875rem;
  }
  
  .contact-cta-section .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-cta-section .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .thought-leadership-hero .hero-title {
    font-size: 2rem;
  }
  
  .featured-post-title {
    font-size: 1.5rem;
  }
  
  .newsletter-cta-section .newsletter-title {
    font-size: 1.875rem;
  }

  .newsletter-form-wrapper {
    padding: 24px;
  }
}