/* Modern Blog Page Styles */

/* Hero Section */
.blog-hero {
  position: relative;
  height: 60vh;
  /* min-height: 650px; */
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0A1F3D 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.blog-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
}

.pattern-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 25s linear infinite;
}

.pattern-shape.shape-1 {
  width: 150px;
  height: 150px;
  background: var(--accent-color);
  border-radius: 50%;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.pattern-shape.shape-2 {
  width: 100px;
  height: 100px;
  background: var(--secondary-color);
  border-radius: 50%;
  top: 70%;
  right: 12%;
  animation-delay: -8s;
}

.pattern-shape.shape-3 {
  width: 80px;
  height: 200px;
  background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
  border-radius: 40px;
  top: 5%;
  right: 20%;
  animation-delay: -15s;
}

.pattern-shape.shape-4 {
  width: 120px;
  height: 120px;
  background: var(--accent-color);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: 15%;
  left: 15%;
  animation-delay: -20s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg) scale(1); }
  25% { transform: translateY(-25px) translateX(15px) rotate(90deg) scale(1.1); }
  50% { transform: translateY(0px) translateX(30px) rotate(180deg) scale(1); }
  75% { transform: translateY(25px) translateX(15px) rotate(270deg) scale(0.9); }
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 25% 25%, rgba(49, 61, 75, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, rgba(49, 61, 75, 0.15) 0%, transparent 50%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(49, 61, 75, 0.2);
  border: 1px solid rgba(49, 61, 75, 0.3);
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 35px;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-badge i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.8s ease-out 0.8s forwards;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Featured Section */
.featured-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

/* Center section headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.featured-article {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-article:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.article-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.article-category {
  display: none;
}

.featured-article .article-content {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: var(--secondary-color);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-meta i {
  color: var(--accent-color);
}

.article-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 30px;
  flex-grow: 1;
}

.article-footer {
  margin-top: auto;
  text-align: center;
}

.article-footer .btn {
  width: 100%;
  justify-content: center;
  gap: 10px;
}

/* Topics Section */
.topics-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.topics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(19, 41, 75, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(49, 61, 75, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.topic-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.topic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.topic-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 25px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 25px rgba(19, 41, 75, 0.3);
  border: 3px solid var(--accent-color);
}

.topic-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

.topic-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.topic-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 25px;
}

.topic-stats {
  font-size: 0.95rem;
  color: var(--secondary-color);
  font-weight: 500;
  background: rgba(49, 61, 75, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
}

/* Newsletter Section */
.newsletter-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0A1F3D 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.newsletter-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.float-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.float-element.element-1 {
  width: 120px;
  height: 120px;
  background: var(--accent-color);
  top: 20%;
  left: 10%;
  animation: float 30s linear infinite;
}

.float-element.element-2 {
  width: 180px;
  height: 180px;
  background: var(--secondary-color);
  top: 60%;
  right: 15%;
  animation: float 35s linear infinite reverse;
}

.float-element.element-3 {
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
  bottom: 25%;
  left: 75%;
  animation: float 40s linear infinite;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 40px;
  border-radius: 50%;
  background: rgba(49, 61, 75, 0.2);
  border: 3px solid rgba(49, 61, 75, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.newsletter-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.newsletter-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--white);
}

.newsletter-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.email-input {
  flex: 1;
  padding: 18px 25px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
  padding: 18px 30px;
  border-radius: 50px;
  gap: 10px;
  white-space: nowrap;
}

.newsletter-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 15px;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-hero {
    height: 60vh;
    min-height: 550px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .featured-section,
  .topics-section,
  .newsletter-section {
    padding: 70px 0;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .topics-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .newsletter-content h2 {
    font-size: 2.2rem;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .email-input {
    width: 100%;
  }
  
  .featured-article .article-content {
    padding: 32px;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    height: 55vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .featured-section,
  .topics-section,
  .newsletter-section {
    padding: 50px 0;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .featured-article {
    margin: 0 10px;
  }
  
  .featured-article .article-content {
    padding: 28px 24px;
  }
  
  .topic-card {
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 1.9rem;
  }
  
  .newsletter-content h2 {
    font-size: 1.8rem;
  }
  
  .newsletter-content p {
    font-size: 1.1rem;
  }
}

/* Article Page Styles */

/* Article Hero Section */
.article-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.article-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(19, 41, 75, 0.85) 0%, rgba(19, 41, 75, 0.75) 100%);
  z-index: 2;
}

.article-hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  text-align: center;
  width: 100%;
}

.article-category {
  display: none;
}

.article-hero .article-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.article-hero .article-meta {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.meta-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* Article Content */
.article-content {
  padding: 80px 0;
  background: var(--white);
}

.article-wrapper {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Table of Contents */
.table-of-contents {
  position: sticky;
  top: 100px;
  height: fit-content;
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.table-of-contents h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 8px;
}

.table-of-contents a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.table-of-contents a:hover {
  color: var(--accent-color);
}

/* Article Body */
.article-body {
  max-width: 800px;
}

.article-intro {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(49, 61, 75, 0.2);
}

.lead-paragraph {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text-color);
  font-weight: 400;
}

.article-section {
  margin-bottom: 50px;
}

.article-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

/* Highlight Boxes */
.highlight-box {
  background: linear-gradient(135deg, rgba(49, 61, 75, 0.1), rgba(49, 61, 75, 0.05));
  border: 1px solid rgba(49, 61, 75, 0.3);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
}

.highlight-box h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
}

.highlight-box li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Steps Container */
.steps-container {
  margin: 40px 0;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-color), #E6A500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

/* Best Practices Grid */
.best-practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.practice-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.practice-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.practice-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-color);
}

.practice-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.practice-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.practice-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
}

/* Issues List */
.issues-list {
  margin: 30px 0;
}

.issue-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid var(--secondary-color);
}

.issue-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(49, 61, 75, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--secondary-color);
}

.issue-icon i {
  font-size: 1.3rem;
  color: var(--secondary-color);
}

.issue-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.issue-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

/* Article Conclusion */
.article-conclusion {
  margin: 60px 0 40px;
}

.conclusion-box {
  background: linear-gradient(135deg, var(--primary-color), #0A1F3D);
  color: var(--white);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.conclusion-box h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.conclusion-box p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  opacity: 0.9;
}

/* Article Tags */
.article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.tag {
  background: rgba(49, 61, 75, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(49, 61, 75, 0.3);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* Article Navigation */
.article-navigation {
  padding: 50px 0;
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.back-to-blog {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-to-blog:hover {
  color: var(--accent-color);
}

.share-article {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn.linkedin {
  background: #0077b5;
  color: var(--white);
}

.share-btn.email {
  background: var(--primary-color);
  color: var(--white);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Articles */
.related-articles {
  padding: 80px 0;
  background: var(--white);
}

.related-articles h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.related-article {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.related-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.related-image {
  height: 200px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.related-content {
  padding: 25px;
}

.related-content h3 {
  margin-bottom: 15px;
}

.related-content h3 a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.related-content h3 a:hover {
  color: var(--accent-color);
}

.related-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 15px;
}

.related-meta {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Additional responsive styles for article layout */
@media (max-width: 1024px) {
  .article-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .table-of-contents {
    position: static;
    margin-bottom: 40px;
  }
  
  .article-hero .article-title {
    font-size: 2.8rem;
  }
  
  .best-practices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .article-hero {
    height: 50vh;
    min-height: 400px;
  }
  
  .article-hero .article-title {
    font-size: 2.2rem;
  }
  
  .article-hero .article-meta {
    flex-direction: row;
    gap: 15px;
  }
  
  .article-content {
    padding: 30px 0;
  }
  
  .article-wrapper {
    padding: 0 15px;
  }
  
  .best-practices-grid {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .issue-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .article-hero .article-title {
    font-size: 1.8rem;
  }
  
  .article-section h2 {
    font-size: 1.8rem;
  }
  
  .conclusion-box {
    padding: 25px;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
}

/* Simplified Article Body for Easy Updates */
.article-body-simple {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: inherit;
  line-height: 1.7;
}

.article-body-simple .lead-paragraph {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text-color);
  font-weight: 400;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(49, 61, 75, 0.2);
}

.article-body-simple h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 50px 0 20px 0;
  line-height: 1.3;
}

.article-body-simple h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 40px 0 15px 0;
  line-height: 1.3;
}

.article-body-simple h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 30px 0 15px 0;
  line-height: 1.3;
}

.article-body-simple p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.article-body-simple ul,
.article-body-simple ol {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin: 20px 0;
  padding-left: 30px;
}

.article-body-simple li {
  margin-bottom: 10px;
}

.article-body-simple li strong {
  color: var(--primary-color);
  font-weight: 600;
}

.article-body-simple blockquote {
  background: linear-gradient(135deg, rgba(49, 61, 75, 0.1), rgba(49, 61, 75, 0.05));
  border-left: 4px solid var(--accent-color);
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-color);
}

.article-body-simple code {
  background: rgba(19, 41, 75, 0.1);
  color: var(--primary-color);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.95em;
}

.article-body-simple pre {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
}

.article-body-simple img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: table;
}

.article-body-simple .dowenload-document img {
  margin: 5px auto;
}

.article-body-simple .article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for simplified layout */
@media (max-width: 768px) {
  .article-body-simple {
    padding: 20px 15px;
  }
  
  .article-body-simple .lead-paragraph {
    font-size: 1.2rem;
  }
  
  .article-body-simple h2 {
    font-size: 1.8rem;
  }
  
  .article-body-simple h3 {
    font-size: 1.5rem;
  }
  
  .article-body-simple h4 {
    font-size: 1.3rem;
  }
  
  .article-body-simple p,
  .article-body-simple ul,
  .article-body-simple ol {
    font-size: 1rem;
  }
}
