/* ============================
   BLOG FILTERS
============================ */
.blog-filters{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

.filter-btn{
  background:#fff;
  border:1px solid #e2e8f0;
  padding:8px 18px;
  border-radius:20px;
  font-size:13px;
  font-weight:600;
  color:#64748b;
  cursor:pointer;
  transition:all .2s ease;
}

.filter-btn:hover{
  border-color:var(--blue);
  color:var(--blue);
}

.filter-btn.active{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

/* ============================
   FEATURED ARTICLE
============================ */
.featured-article{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:center;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:20px;
  padding:24px;
  margin-bottom:50px;
  text-decoration:none;
  color:inherit;
  transition:transform .2s ease, box-shadow .2s ease;
}

.featured-article:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.featured-article img{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:14px;
}

.featured-content h2{
  font-size:26px;
  margin:14px 0 12px;
  color:#0f172a;
}

.featured-content p{
  color:#64748b;
  font-size:15px;
  line-height:1.6;
  margin-bottom:16px;
}

/* ============================
   BLOG CARDS (extension .media-card)
============================ */
.media-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
}

.media-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:16px;
}

.media-card h3{
  font-size:17px;
  margin:0 0 8px;
  color:#0f172a;
  line-height:1.4;
}

.article-meta{
  font-size:12px;
  color:#94a3b8;
  margin-top:auto;
}

/* ============================
   NEWSLETTER FORM
============================ */
.newsletter-form{
  display:flex;
  gap:12px;
  max-width:450px;
  margin:0 auto;
}

.newsletter-form input{
  flex:1;
  padding:14px 18px;
  border-radius:10px;
  border:none;
  font-size:14px;
}

.newsletter-form button{
  background:#fff;
  color:var(--blue);
  border:none;
  padding:14px 24px;
  border-radius:10px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .2s ease;
}

.newsletter-form button:hover{
  transform:translateY(-2px);
}

/* ============================
   ARTICLE PAGE
============================ */
.article-page{
  max-width:760px;
}

.back-link{
  display:inline-block;
  color:var(--blue);
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  margin-bottom:24px;
}

.back-link:hover{
  text-decoration:underline;
}

.article-title{
  font-size:36px;
  line-height:1.3;
  margin:16px 0;
  color:#0f172a;
}

.article-meta-bar{
  display:flex;
  gap:8px;
  color:#94a3b8;
  font-size:14px;
  margin-bottom:30px;
}

.article-cover{
  width:100%;
  height:400px;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:40px;
}

.article-content p{
  font-size:15px;
  color:#2b3539;
  margin-bottom:2px;
  line-height: 1.5;
}

.article-content h2{
  font-size:24px;
  color:#041825;
  margin-top:10px;
  line-height: 1.5;
}

.article-content h3{
  font-size:20px;
  color:#041825;
  margin-top:10px;
  line-height: 1.5;
}

.article-content h4{
  font-size:18px;
  color:#041825;
  margin-top:10px;
  line-height: 1.5;
}

.article-content ul{
  list-style-type: none; 
  margin-bottom:10px;
  margin-top:10px;          
  padding:15px;            
}

.article-content li{
  list-style-type: none; 
    margin-left: 15px;  
  font-size:15px;
  color:#2b3539;           
}

.article-content blockquote{
  border-left:4px solid var(--blue);
  padding:16px 24px;
  margin:32px 0;
  font-style:italic;
  color:#475569;
  background:#f8fafc;
  border-radius:0 12px 12px 0;
  font-size:17px;
}

.article-share{
  display:flex;
  align-items:center;
  gap:16px;
  padding-top:30px;
  margin-top:40px;
  border-top:1px solid #e2e8f0;
  font-size:14px;
  color:#64748b;
}

.article-share a{
  color:var(--blue);
  text-decoration:none;
  font-weight:600;
}

.article-share a:hover{
  text-decoration:underline;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px){
  .featured-article{
    grid-template-columns:1fr;
  }

  .featured-article img{
    height:220px;
  }

  .article-title{
    font-size:26px;
  }

  .article-cover{
    height:220px;
  }

  .newsletter-form{
    flex-direction:column;
  }

  .blog-filters{
    justify-content:flex-start;
    overflow-x:auto;
    padding-bottom:8px;
  }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

table thead {
    background: linear-gradient(135deg, #1a365d 0%, #2c5f7a 100%);
    color: white;
}

table th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

table td {
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

table tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

table tbody tr:last-child td {
    border-bottom: none;
}

table td:first-child {
    font-weight: 600;
    color: #1a365d;
    width: 30%;
}