/* Import base styles */
@import url('../../contact-us/contact-us.css');

/* Article Hero */
.article-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.article-hero-content {
  max-width: 900px;
  position: relative;
  z-index: var(--z-elevated);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fire-red);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.back-link:hover {
  gap: 0.75rem;
}

.article-category-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--gradient-fire);
  color: white;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  box-shadow: var(--glow-red);
}

.article-hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.article-hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--fire-red);
}

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

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.author-title {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-stats {
  display: flex;
  gap: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.article-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Article Section */
.article-section {
  padding: 2rem 2rem 4rem;
}

.article-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* Main Article */
.article-main {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.article-image-featured {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

.article-content {
  padding: 3rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.article-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 3rem 0 1.5rem;
  color: var(--text-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  position: relative;
  padding-bottom: 0.75rem;
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-fire);
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-content li {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.article-content strong {
  color: var(--fire-red);
  font-weight: 700;
}

/* Article Callouts */
.article-callout {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(var(--particle-color), 0.05);
  border-left: 4px solid var(--fire-red);
  border-radius: 12px;
  margin: 2rem 0;
}

.article-callout i {
  font-size: 2rem;
  color: var(--fire-red);
  flex-shrink: 0;
}

.article-callout h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.article-callout p {
  margin: 0;
  color: var(--text-secondary);
}

.article-warning {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 165, 0, 0.05);
  border-left: 4px solid #FFA500;
  border-radius: 12px;
  margin: 2rem 0;
}

.article-warning i {
  font-size: 2rem;
  color: #FFA500;
  flex-shrink: 0;
}

.article-warning h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.article-highlight {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin: 1.5rem 0;
  font-size: 1rem;
  border: 1px solid var(--card-border);
}

/* Steps */
.article-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-fire);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--glow-red);
}

.step-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-content p {
  margin: 0;
  color: var(--text-secondary);
}

/* Article CTA */
.article-cta {
  margin: 3rem 0;
  padding: 3rem;
  background: var(--gradient-fire);
  border-radius: 20px;
  text-align: center;
  color: white;
}

.article-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.article-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: var(--fire-red);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Article Footer */
.article-footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--card-border);
  gap: 2rem;
  flex-wrap: wrap;
}

.article-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  border-color: var(--fire-red);
  color: var(--fire-red);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-share span {
  font-weight: 600;
  color: var(--text-muted);
}

.share-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.share-btn:hover {
  background: var(--gradient-fire);
  border-color: var(--fire-red);
  color: white;
  transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 2rem;
  padding: 3rem;
  background: var(--bg-secondary);
  border-radius: 20px;
  margin-top: 2rem;
  border: 1px solid var(--card-border);
}

.author-bio img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--fire-red);
  flex-shrink: 0;
}

.author-bio-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.author-bio-title {
  color: var(--fire-red);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.author-bio-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.author-social {
  display: flex;
  gap: 1rem;
}

.author-social a {
  width: 36px;
  height: 36px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-social a:hover {
  background: var(--gradient-fire);
  border-color: var(--fire-red);
  color: white;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid var(--card-border);
  padding: 2rem;
}

.sidebar-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--fire-red);
  font-family: 'Bricolage Grotesque', sans-serif;
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-article {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.related-article:hover {
  border-color: var(--fire-red);
  transform: translateX(4px);
}

.related-article img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.related-article h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.related-article span {
  font-size: 0.75rem;
  color: var(--text-dimmed);
}

.sidebar-newsletter {
  background: var(--gradient-fire);
  text-align: center;
  color: white;
}

.sidebar-newsletter h3 {
  color: white;
}

.sidebar-newsletter p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.newsletter-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input {
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.875rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  padding: 0.875rem;
  background: white;
  color: var(--fire-red);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .article-container {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .article-content {
    padding: 2rem;
  }

  .article-hero {
    padding: 7rem 1.5rem 3rem;
  }

  .article-hero-meta {
    flex-direction: column;
    gap: 1.5rem;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .author-bio img {
    margin: 0 auto;
  }

  .author-social {
    justify-content: center;
  }

  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .article-content {
    padding: 1.5rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

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