

.blog-featured {
  padding: 80px 0; 
  background-color:#151922 !important;
}

#blog-tag-filter {
  background: rgba(255, 255, 255, 0.03);   
  border: 1px solid rgba(255, 255, 255, 0.06); 
  border-radius: 6px;                     
  padding: 15px 20px;                     
  margin-bottom: 30px;                    
}

#blog-tag-filter .filter-label {
  color: #ccc;                            
  font-size: 0.9rem;                      
  font-weight: 600;                       
  margin-right: 10px;                     
}

#tag-list button {
  all: unset;                             
  cursor: pointer;                        
  background: var(--pst-blue, #1a237e);   
  color: #fff;                            
  border-radius: 4px;                     
  padding: 4px 12px;                      
  font-size: 0.75rem;                     
  text-transform: uppercase;              
  letter-spacing: 1px;                    
  font-weight: 600;                       
  display: inline-flex;                   
  align-items: center;
  justify-content: center;
  height: 32px;                           
  line-height: 1.2;
  font-family: inherit;                  
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease; 
}

#tag-list button.active {
  background: #2FC646;                    
  color: #000;                            
}

#tag-list .blog-tag:hover {
  background: #2FC646;  
  color: #000;          
  box-shadow: 0 0 8px rgba(47, 198, 70, 0.5); 
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

#tag-list .reset-tag-btn {
  background: transparent;                
  color: #ffffff;                         
  border: 2px solid #2FC646;              
  border-radius: 4px;                     
  padding: 4px 12px;                      
  font-size: 0.75rem;                     
  font-weight: 600;                       
  cursor: pointer;                        
  transition: color 0.3s ease, box-shadow 0.3s ease; 
  margin-top: 0;                          
  margin-left: 1rem;                      
  height: 32px;                           
}

#tag-list .reset-tag-btn:hover {
  background: transparent; 
  color: #2FC646;           
  box-shadow: 0 0 8px rgba(47, 198, 70, 0.5); 
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

.blog-grid-section {
  padding: 80px 0; 
}

.blog-thumb {
  width: 100%;
  height: 240px;            
  object-fit: cover;        
  object-position: top;     
  border-radius: 10px;      
  display: block;
}

.blog-card {
  
  position: relative;

  background-image: 
    linear-gradient(145deg, #0e1421, #1a1f2d),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.015),
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 2px
    ); 

  border-radius: 12px; 
  border: 1px solid rgba(255, 255, 255, 0.04); 
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    inset 0 0 6px rgba(0, 255, 255, 0.03); 

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #ccc; 
}

.read-more {
  display: inline;
  width: auto;
  max-width: max-content;
  padding: 0;
  margin-right: 0;
  margin-left: 0;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    inset 0 0 10px rgba(0, 255, 255, 0.06); 
}

.blog-card .related-date {
  font-size: 14px;        
  color: #6c757d;         
  font-weight: 500;       
  margin-bottom: 6px;     
  display: block;         
}

.blog-card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-label {
  display: inline-block;                   
  
  background: var(--pst-blue, #1a237e);    
  color: #fff;                             
  
  font-size: 0.8rem;                       
  font-weight: 700;                        
  padding: 6px 12px;                       
  
  border-radius: 4px;                      
  letter-spacing: 1px;                     
  text-transform: uppercase;               
  
  margin-bottom: 10px;                     
}

.blog-card-label-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; 
  margin-bottom: 10px;
}

.blog-label.green-label {
  background: #2FC646;
  color: #ffffff;
}

.blog-thumb {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  width: 100%;
  height: 200px;
  object-fit: cover; 
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.25;     
  overflow-wrap: break-word;
}

.blog-card-summary {
  font-size: 0.95rem;        
  line-height: 1.35;         
  color: #bbb;              
  margin-bottom: 10px;      
}

.read-more {
  display: inline-block;
  color: #2FC646; 
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.read-more:hover {
  color: #ffffff; 
  text-shadow: 0 0 6px rgba(47, 198, 70, 0.6); 
}

.back-to-blog-container {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-left: -1px; 
}

#tag-list .blog-tag:not(.active):hover {
  background: var(--pst-blue, #1a237e) !important;
  color: #fff !important;
  box-shadow: none !important;
}

#active-filter-note {
  color: #ccc !important; 
  margin-bottom: 20px;
  display: block;
  font-size: 0.9rem;
}

@media (max-width: 768px) {

  .blog-card {
    margin-bottom: 30px;
  }

  .blog-featured .row {
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .blog-grid-section {
    padding: 60px 15px; 
  }
}
