* {
  box-sizing: border-box;
}

.hd-blog-wrapper {
  width: 100%;
  max-width: 100%;
}

.hd-blog-filters-section {
  padding: 40px 20px;
  background: #f5f7fa;
  border-bottom: 1px solid #e2e8f0;
  margin-top: 120px;
}

.hd-blog-filters-section.hidden {
  display: none;
}

@media (max-width: 768px) {
  .hd-blog-filters-section {
    margin-top: 60px;
  }
}

.hd-blog-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hd-filter-btn {
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  background: white;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hd-filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
}

.hd-filter-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hd-blog-controls-section {
  padding: 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.hd-blog-controls-section.hidden {
  display: none;
}

.hd-blog-controls {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.hd-control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7fafc;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
}

.hd-control-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
  white-space: nowrap;
}

.hd-control-group select {
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  background: white;
  color: #2d3748;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.hd-control-group select:focus {
  border-color: #667eea;
}

.hd-blog-articles-section {
  padding: 60px 20px 80px;
  background: #ffffff;
  min-height: 60vh;
  max-width: 1400px;
  margin: 0 auto;
}

.hd-blog-loading {
  text-align: center;
  padding: 60px 20px;
  color: #718096;
}

.hd-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: hd-spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes hd-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hd-blog-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
  transition: all 0.3s ease;
}

.hd-blog-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.hd-blog-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.hd-blog-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.blog-article-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.blog-article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.blog-article-category {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.blog-article-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-article-excerpt {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #718096;
}

.blog-article-author {
  font-weight: 600;
}

.hd-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 45px;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.hd-blog-newsletter-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e3e6f0 100%);
}

.hd-newsletter-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hd-newsletter-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 30px;
}

.hd-newsletter-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
}

.hd-newsletter-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hd-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 550px;
  margin: 0 auto;
}

.hd-newsletter-input {
  flex: 1;
  padding: 16px 24px;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  outline: none;
  transition: all 0.3s ease;
}

.hd-newsletter-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.hd-newsletter-button {
  padding: 16px 35px;
  font-size: 1.05rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  white-space: nowrap;
}

.hd-newsletter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.no-articles {
  text-align: center;
  padding: 60px 20px;
  color: #718096;
  font-size: 1.2rem;
}

.hd-single-article {
  width: 100%;
  max-width: 100%;
}

.hd-article-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 120px;
}

.hd-article-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 900px;
}

.hd-article-category-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hd-article-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hd-article-meta {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1rem;
  opacity: 0.95;
}

.hd-article-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hd-article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2d3748;
}

.hd-article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin: 40px 0 20px;
}

.hd-article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #4a5568;
  margin: 30px 0 15px;
}

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

.hd-article-content ul,
.hd-article-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.hd-article-content li {
  margin-bottom: 10px;
}

.hd-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
}

.hd-article-excerpt-large {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #4a5568;
  font-style: italic;
  padding: 30px;
  background: #f7fafc;
  border-left: 4px solid #667eea;
  border-radius: 8px;
  margin-bottom: 30px;
}

.hd-article-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: #718096;
}

.hd-article-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
}

/* TAG-URILE AU FOST ELIMINATE - secțiunea .hd-article-tags nu mai există */

.hd-article-share {
  margin-bottom: 40px;
}

.hd-article-share h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.hd-share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hd-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  color: white !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.hd-share-btn:hover,
.hd-share-btn:focus,
.hd-share-btn:active {
  text-decoration: none !important;
  color: white !important;
}

.hd-share-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: white;
}

.hd-share-facebook {
  background: #1877f2 !important;
}

.hd-share-facebook:hover {
  background: #0d65d9 !important;
}

.hd-share-twitter {
  background: #000000 !important;
}

.hd-share-twitter:hover {
  background: #1a1a1a !important;
}

.hd-share-linkedin {
  background: #0a66c2 !important;
}

.hd-share-linkedin:hover {
  background: #004182 !important;
}

.hd-share-whatsapp {
  background: #25d366 !important;
  color: white !important;
}

.hd-share-whatsapp:hover {
  background: #1da851 !important;
  color: white !important;
}

.hd-share-email {
  background: #718096 !important;
}

.hd-share-email:hover {
  background: #4a5568 !important;
}

.hd-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hd-article-back-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hd-article-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hd-article-related {
  background: #f7fafc;
  padding: 80px 20px;
  width: 100%;
  max-width: 100%;
}

.hd-article-related h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 40px;
  text-align: center;
}

.hd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hd-related-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.hd-related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.hd-related-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hd-related-content {
  padding: 20px;
}

.hd-related-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
}

.hd-related-content p {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
}

.hd-article-not-found {
  text-align: center;
  padding: 100px 20px;
}

.hd-article-not-found h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.hd-article-not-found p {
  font-size: 1.2rem;
  color: #718096;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hd-article-hero {
    min-height: 400px;
    margin-top: 60px;
  }
  
  .hd-article-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .hd-article-container {
    padding: 40px 15px;
  }
  
  .hd-article-content {
    font-size: 1rem;
  }
  
  .hd-related-grid {
    grid-template-columns: 1fr;
  }
  
  .hd-share-buttons {
    flex-direction: column;
  }
  
  .hd-share-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 1200px) {
  .hd-blog-grid.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hd-blog-grid.cols-3,
  .hd-blog-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hd-blog-filters-section {
    padding: 30px 15px;
  }
  
  .hd-blog-controls-section {
    padding: 20px 15px;
  }
  
  .hd-blog-articles-section {
    padding: 40px 15px 60px;
  }
  
  .hd-blog-grid.cols-2,
  .hd-blog-grid.cols-3,
  .hd-blog-grid.cols-4 {
    grid-template-columns: 1fr;
  }
  
  .hd-blog-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hd-control-group {
    justify-content: space-between;
  }
  
  .hd-newsletter-form {
    flex-direction: column;
  }
  
  .hd-newsletter-button {
    width: 100%;
  }
}