.hero-section {
  height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/public/images/blog/blog_hero_outsourcingdev.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero-text span {
  color: #6998e1;
}

.hero-text h1 span {
  color: #6998e1;
  font-weight: bold;
}

.blog-articles {
  padding: 60px 20px;
  background-color: #f8f8f8;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-articles h2 {
  margin-bottom: 40px;
  max-width: 1200px;
}

.articles-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 1rem;
  text-align: center;
}

.blog-post h3 {
  margin: 20px 15px 10px 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  transition: color 0.2s;
}

.blog-post h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.blog-post h3 a:hover,
.blog-post h3 a:focus {
  color: #58dac0;
}

.blog-post p {
  margin: 15px;
}

.read-more {
  margin: 15px;
  text-align: center;
  padding: 10px;
  background-color: #58dac0;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-size: initial;
}

.read-more:hover {
  background-color: #4bb3a4;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

body {
  background-color: #f9f9f9; 
}

.article-title {
  font-size: 2.5rem;
  color: #6998e1;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.back-to-blog {
  text-align: center;
  margin: 40px 0;
}

.back-to-blog .btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #58dac0;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-to-blog .btn:hover {
  background-color: #4bb3a4;
  transform: scale(1.05);
}

@media (max-width: 768px) {

  h1 {
    font-size: 1.7rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .articles-container {
    grid-template-columns: 1fr; 
    gap: 15px;
  }

  .blog-post h3 {
    font-size: 1.2rem;
  }

  .blog-post p {
    font-size: 0.9rem;
  }

  .read-more {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-banner {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
}

.article-meta {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
}

.article-content h1, .article-content h2 {
  color: #6998e1;
}

.article-content h2 {
  margin-top: 30px;
}

.article-content p, .article-content ul {
  margin-bottom: 20px;
}

.article-content ul {
  padding-left: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #58dac0;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #4bb3a4;
  transform: scale(1.05);
}

.btn-primary {
  background-color: #58dac0;
}

@media (max-width: 768px) {
  .article-content {
    padding: 15px;
    font-size: 1rem;
  }
  
  .article-content h1 {
    font-size: 1.8rem;
  }
  
  .article-content h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .article-content {
    padding: 10px;
  }
  
  .btn {
    width: 80%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-post {
    margin-bottom: 20px;
  }
  
  .article-image {
    height: 200px;
  }
}

.blog-post {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

main {
  display: block;
}

nav[aria-label] {
  display: block;
  margin: 40px 0;
}

.article-content h1, .article-title {
  font-size: 2.5rem;
  color: #6998e1;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.article-content h2 {
  color: #6998e1;
  margin-top: 30px;
  font-size: 1.5rem;
}

.article-content h3 {
  color: #333;
  font-size: 1.2rem;
  margin-top: 25px;
}

.article-content a {
  color: #58dac0;
  text-decoration: underline;
}

.article-content a:hover {
  color: #4bb3a4;
}

@media (max-width: 768px) {
  .article-content h1, .article-title {
    font-size: 1.8rem;
  }
  .article-content h2 {
    font-size: 1.4rem;
  }
  .article-content h3 {
    font-size: 1.1rem;
  }
}

.article-content a:hover, .read-more:hover, .btn:hover,
.article-content a:focus, .read-more:focus, .btn:focus {
  color: #4bb3a4;
  background-color: #e6f7f3;
  outline: 2px solid #6998e1;
}
