:root {
    --bg: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --accent: #0b67c2;
    --card: #f8fafc;
    --max-width: 1100px;

    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }

  * { 
    box-sizing: border-box; 
}
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
  a { 
    text-decoration: none; 
    color: inherit; 
}

  .container {
     max-width: var(--max-width); 
     margin: 0 auto; 
     padding: 18px; 
}

  /* Header */
  header.site-header {
    border-bottom: 1px solid #e6edf3;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.95));
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(4px);
}
  .header-inner {
    display: flex; 
    align-items: center; 
    gap: 18px; 
    justify-content: space-between;
}
  .brand { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  color: var(--text); 
}

.brand-logo {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.brand-text { 
  font-weight: 700; 
  font-size: 1.2rem;
  white-space: nowrap;
}
  .logo {
    width: 44px; 
    height: 44px; 
    border-radius: 6px;
    background: var(--accent); 
    color: #fff;
    display: grid; 
    place-items: center; 
    font-weight: 700;
}
  .brand-title { 
    font-weight: 700; 
}
  .brand-subtitle { 
    font-size: 13px; 
    color: var(--muted);
}

  /* Hero */
  .hero { 
    padding: 26px 0 10px;
}
  .hero-grid {
    display: grid; 
    grid-template-columns: 1fr 360px;
    gap: 18px; 
    align-items: start;
  }
  .hero-card {
    background: linear-gradient(180deg,#fff,#fbfeff);
    border-radius: 10px; 
    overflow: hidden;
    border: 1px solid #e6eef6;
    display: flex; 
    flex-direction: column;
  }
  
  /* Sidebar Advertisement */
  .hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  
  .sidebar-ad {
 
    padding: 16px;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .sidebar-ad img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 12px;
  }
  
  .sidebar-ad p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
  }
  .hero-media { 
    width: 100%;
    height: 340px; 
    background-size: cover; 
    background-position: center; 
}

.hero-media img {
    width: 100%;
    height: 100%;
}
  .hero-content { 
    padding: 18px; 
}
  .kicker {
    display: inline-block; 
    background: #eef6ff; 
    color: var(--accent);
    padding: 6px 8px; 
    border-radius: 8px;
    font-weight: 700; 
    margin-bottom: 12px; 
    font-size: 13px;
  }
  .hero-title { 
    font-size: 1.6rem; 
    margin: 0 0 8px; 
}
  
  /* Article Meta Information */
  .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e6eef6;
  }
  
  .article-category {
    background: #eef6ff;
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid #d1e7ff;
  }
  
  .article-stats {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  
  .views, .read-time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .hero-excerpt { 
    color: var(--muted);
     margin: 0 0 12px; 
}
  .read-btn {
    display: inline-block; 
    padding: 8px 12px;
    background: var(--accent); 
    color: #fff;
    border-radius: 8px; 
    font-weight: 600;
  }

  /* Side headlines & ads */
  .side-card {
    background: var(--card); 
    padding: 12px; 
    border-radius: 10px;
    border: 1px solid #eef2f7; 
    margin-bottom: 14px;
  }
  .side-card h3 { 
    margin: 0 0 8px; 
    font-size: 1rem; 
}

.side-card img {
    width: 100%;
    height: 100%;
}

.side-card2 {
    background: var(--card); 
    padding: 12px; 
    border-radius: 10px;
    border: 1px solid #eef2f7; 
    margin-bottom: 14px;
    place-items: center;
  }
  .side-card2 h3 { 
    margin: 0 0 8px; 
    font-size: 1rem; 
}

.side-card2 img {
    width: 100%;
    height: 100%;
}
  .headline {
    display: flex; 
    gap: 10px; 
    align-items: flex-start;
    padding: 8px 0; 
    border-top: 1px solid rgba(15,23,42,0.03);
  }
  .headline:first-of-type { 
    border-top: 0; 
}
  .thumb {
    width: 80px; 
    height: 56px; 
    border-radius: 6px;
    background-size: cover; 
    background-position: center;
  }

  .thumb img {
    width: 100%;
    height: 100%;
  }
  .headline h4 { 
    margin: 0; 
    font-size: 0.95rem; }
  .muted { 
    color: var(--muted); 
    font-size: 0.9rem; 
}

  /* Sections */
  .section { 
    padding: 22px 0; 
}
  .section-head {
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    margin-bottom: 12px;
  }
  .post-grid {
    display: grid; 
    grid-template-columns: repeat(3,1fr); 
    gap: 14px;
  }
  .post-card {
    background: #fff; 
    border-radius: 8px; 
    overflow: hidden;
    border: 1px solid #eef3f8; 
    display: flex; 
    flex-direction: column;
  }
  .post-card img { 
    width: 100%; 
    height: 150px; 
    object-fit: cover; 
    display: block; 
}
  .post-content { 
    padding: 12px; 
}
  .pill {
    display: inline-block; 
    background: #f0f9ff; 
    color: var(--accent);
    padding: 4px 8px; 
    border-radius: 999px;
    font-weight: 700; 
    font-size: 12px; 
    margin-bottom: 8px;
  }
  .post-title { 
    margin: 8px 0 6px; 
    font-size: 1rem; 
}
  .post-excerpt { 
    color: var(--muted); 
    font-size: 0.94rem; 
    margin: 0 0 10px; 
}

  /* Latest list */
  .post-list { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
  .post-row {
    display: flex; 
    gap: 12px; 
    align-items: flex-start;
    padding: 10px; 
    border-radius: 8px; 
    border: 1px solid #f1f5f9;
  }
  .post-row img {
    width: 140px; 
    height: 84px; 
    object-fit: cover; 
    border-radius: 6px;
  }
  .row-meta { 
    color: var(--muted); 
    font-size: 0.9rem; 
    margin-top: 6px; 
}

  /* Ads */
  .ad-slot {
    padding: 14px;
    text-align: center; 
    color: var(--muted); 
    font-weight: 600;
    font-size: 13px;
    height: 350px;
  }

  .ad-slot img{
    width: 50%;
    height: 100%;
    
  }

  /* Footer */
  footer.site-footer {
    padding: 20px 0; 
    border-top: 1px solid #eef3f8; 
    margin-top: 22px;
  }
  .footer-inner {
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    gap: 12px; 
    flex-wrap: wrap;
  }
  .footer-title { 
    font-weight: 700; 
}
  .footer-sub { 
    color: var(--muted); 
    font-size: 13px; 
}
  .footer-links a {
    color: var(--muted);
    margin-left: 12px;
    font-size: 13px;
  }

  /* Responsive */
  @media (max-width:980px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
    }
    .post-grid { 
        grid-template-columns: repeat(2,1fr); 
    }
    .hero-media { 
        height: 260px; 
    }
    .ad-slot {
        height: 250px;
      }

      .side-card2{
        height: 400px;
        width: 450px;
    }

    .side-card2 img{
        height: 100%;
        width: 100%;
    }
    
    /* Article meta responsive for tablet */
    .article-meta {
      flex-direction: column;
      gap: 12px;
      align-items: flex-start;
    }
    
    .article-stats {
      gap: 20px;
    }
    
    /* Sidebar responsive for tablet */
    .sidebar-ad {
      height: 300px;
    }
    
    .sidebar-ad img {
      height: 300px;
    }
    
    /* Logo responsive for tablet */
    .brand-logo {
      max-height: 50px;
    }
    
    .brand-text {
      font-size: 1.1rem;
    }
    
    .brand-title {
      font-size: 1rem;
    }
  }
  @media (max-width:640px) {
    .nav-menu { 
        display: none; 
    }
    .hero-media { 
        height: 180px; 
    }
    .post-grid { 
        grid-template-columns: 1fr; 
    }
    .post-row { 
        flex-direction: column;
     }
    .post-row img { 
        width: 100%; height: 160px; 
    }
    .ad-slot {
        height: 150px;
    }

    .side-card2{
        height: 300px;
        width: 350px;
    }

    .side-card2 img{
        height: 100%;
        width: 100%;
    }
    
    /* Article meta responsive for mobile */
    .article-meta {
      padding: 10px 0;
      margin-bottom: 12px;
    }
    
    .article-category {
      font-size: 12px;
      padding: 5px 10px;
    }
    
    .article-stats {
      gap: 16px;
    }
    
    .views, .read-time {
      font-size: 11px;
    }
    
    /* Sidebar responsive for mobile */
    .sidebar-ad {
      height: 500px;
    }
    
    .sidebar-ad img {
      height: 450px;
    }
    .ad-slot img{
        height: 150px;
        width: 100%;
    }
    /* Logo responsive for mobile */
    .brand-logo {
      max-height: 40px;
    }
    
    .brand-text {
      font-size: 1rem;
    }
    
    .brand-title {
      font-size: 0.9rem;
    }
    
    .brand-subtitle {
      font-size: 12px;
    }
    
    .header-inner {
      gap: 12px;
    }
  }