  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue: #2E86AB;

    /* --blue:#1F2947;
    --bluelt:#0F5BA8;
    --blueblt:#1F2947; */

    --blue-lt: #EAF4F8; 
    --orange: #F59E0B; 
    --ink: #2B2D42;
    --ink-2: #333333;
    --ink-3: #6D6D6D; 
    --paper: #F7F7FF; 
    --white: #FFFFFF;
    --border: #E5E7EB;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --r-sm: 6px;
    --r-lg: 20px;
    --r-md: 12px;
  }

  body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
  }
  .blog-shift{
   text-decoration: none;
}

  /* ── HERO ─────────────────────────────────────── */
  .blog-hero {
    background: var(--ink);
    padding: 72px 5vw 60px;
    position: relative;
    overflow: hidden;
  }
  .blog-hero::before {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    /* background: radial-gradient(circle, #1D9E7522 0%, transparent 70%); */
    background: radial-gradient(circle, #2E86AB22 0%, transparent 70%);
    /* background: linear-gradient(
    135deg,
    #232743 0%,
    #2a2f52 50%,
    #1e2340 100%
); */
    pointer-events: none;
  }
  .blog-hero-inner { max-width: 1140px; margin: 0 auto; }
  .blog-hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--orange);
    margin-bottom: 20px;
  }
  .blog-hero-label span {
    width: 24px; height: 1px; background: var(--orange); display: inline-block;
  }
  .blog-hero h1 {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    max-width: 680px;
    margin-bottom: 18px;
  }
  .blog-hero h1 em { color: var(--orange); font-style: italic; }
  .blog-hero p {
    font-size: 16px; color: #9AABA0; line-height: 1.7; max-width: 520px;
  }

  /* ── FILTER BAR ───────────────────────────────── */
  .filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
  }
  .filter-bar-inner {
    max-width: 1140px; margin: 0 auto;
    padding: 0 5vw;
    display: flex; align-items: center; gap: 8px;
    overflow-x: auto; scrollbar-width: none;
  }
  .filter-bar-inner::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex-shrink: 0;
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    padding: 14px 18px;
    border: none; background: none; cursor: pointer;
    color: var(--ink-3);
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
  }
  .filter-btn:hover { color: var(--ink); }
  .filter-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

  /* ── MAIN LAYOUT ──────────────────────────────── */
  .blog-main {
    max-width: 1140px; margin: 0 auto;
    padding: 56px 5vw 80px;
  }
  .author-profile {
  display: inline-block;
  width: 50px;        
  height: 50px;         
  border-radius: 50%;   
  overflow: hidden;     
  vertical-align: middle;
}
.author-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  /* ── FEATURED ─────────────────────────────────── */
  .featured-wrap {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 56px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .5s .1s ease forwards;
  }
  .featured-img {
    min-height: 380px;
    background: var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 96px;
    position: relative; overflow: hidden;
  }
  .featured-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0E6E4A22, #1D9E7511);
    pointer-events: none;
  }
  .featured-body {
    padding: 48px 40px;
    display: flex; flex-direction: column; justify-content: center; gap: 16px;
  }
  .featured-eyebrow {
    display: flex; align-items: center; gap: 10px;
  }
  .featured-eyebrow span:first-child {
    font-size: 10px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--white);
    background: var(--blue); padding: 4px 10px; border-radius: 4px;
  }
  .featured-eyebrow .read-time {
    font-size: 12px; color: var(--ink-3); background: none;
  }
  .featured-body h2 {
    font-family: var(--serif);
    font-size: 28px; font-weight: 400; line-height: 1.3;
    color: var(--ink);
  }
  .featured-body p {
    font-size: 14px; color: var(--ink-2); line-height: 1.8;
  }
  .featured-meta {
    font-size: 12px; color: var(--ink-3);
    display: flex; align-items: center; gap: 8px;
    margin-top: 4px;
  }
  .featured-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
  .read-more {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--blue);
    text-decoration: none; margin-top: 8px;
    transition: gap .2s;
  }
  .read-more:hover { gap: 14px; }
  .read-more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
  .read-more::after {
    content: "";
    /* transition: var(--transition); */
}

  /* ── SECTION HEADING ──────────────────────────── */
  .section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 28px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }
  .section-head h3 {
    font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink);
  }
  .post-count { font-size: 12px; color: var(--ink-3); }

  /* ── CARD GRID ────────────────────────────────── */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }

  .card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    cursor: pointer;
    opacity: 0; transform: translateY(24px);
    animation: fadeUp .5s ease forwards;
    transition: transform .25s, box-shadow .25s, border-color .25s;
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14,110,74,.1);
    border-color: #C5DED4;
  }
  .card:nth-child(1) { animation-delay: .1s; }
  .card:nth-child(2) { animation-delay: .18s; }
  .card:nth-child(3) { animation-delay: .26s; }
  .card:nth-child(4) { animation-delay: .34s; }
  .card:nth-child(5) { animation-delay: .42s; }
  .card:nth-child(6) { animation-delay: .50s; }

  .card-thumb {
    height: 170px;
    display: flex; align-items: center; justify-content: center;
    font-size: 56px;
    position: relative;
    overflow: hidden;
  }
  .card-thumb::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,.04));
  }

  .card-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

  .card-tag {
    display: inline-block; width: fit-content;
    font-size: 10px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: 4px 10px;
    border-radius: var(--r-sm);
  }

  .card h4 {
    font-family: var(--serif);
    font-size: 18px; font-weight: 400; line-height: 1.4;
    color: var(--ink);
  }
  .card p {
    font-size: 13px; color: var(--ink-2); line-height: 1.75; flex: 1;
  }
  .card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 11px; color: var(--ink-3);
  }
  .card-date { display: flex; align-items: center; gap: 5px; }
  .card-date svg { width: 12px; height: 12px; stroke: currentColor; fill: none; }
  .card-arrow {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--blue-lt);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
  }
  .card:hover .card-arrow { background: var(--blue); }
  .card-arrow svg {
    width: 13px; height: 13px; stroke: var(--blue); fill: none;
    transition: stroke .2s;
  }
  .card:hover .card-arrow svg { stroke: var(--white); }

  /* ── NEWSLETTER STRIP ─────────────────────────── */
  .newsletter-box{
    margin-top: 72px;
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: 52px 48px;
  }
  .newsletter-extra{
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: 10px 10px;

    font-family: var(--sans); font-size: 14px;
    border: 1px solid #F18F01; 
    color: var(--white); outline: none;
    /* background: #aacab2; */
  }
  .newsletter-extra p {
    font-family: var(--serif); font-size: 16px; font-weight: 300; color: var(--border);
    margin-bottom: 6px;
    line-height: 2;
  }
  .newsletter-extra strong{
    color:var(--white);
    font-size: 18px;
    padding:2px;
  }
  .newsletter-extra a{
    font-family: var(--sans); font-size: 16px; font-weight: 500;
    padding: 4px 10px; border-radius: var(--r-sm);
    border: none; background: var(--blue); color: var(--white);
    cursor: pointer; white-space: nowrap;
    text-decoration: none;
  }
  .newsletter {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    position: relative; overflow: hidden;
  }
  .newsletter::before {
    content: '♻';
    position: absolute; right: 48px; top: 50%;
    transform: translateY(-50%);
    font-size: 140px; opacity: .04; line-height: 1;
    pointer-events: none;
  }
  .newsletter-copy h3 {
    font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--white);
    margin-bottom: 8px;
  }
  .newsletter-copy p { font-size: 14px; color: #9AABA0; line-height: 1.6; }
  .newsletter-form {
    display: flex; gap: 10px; flex-shrink: 0;
  }
  .newsletter-form input {
    font-family: var(--sans); font-size: 14px;
    padding: 12px 18px; border-radius: var(--r-sm);
    border: 1px solid #2E3D32; background: #1A2A1E;
    color: var(--white); width: 260px; outline: none;
    transition: border-color .2s;
  }
  .newsletter-form input::placeholder { color: #5A7060; }
  .newsletter-form input:focus { border-color: var(--orange); }
  .newsletter-form button {
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    padding: 12px 22px; border-radius: var(--r-sm);
    border: none; background: var(--blue); color: var(--white);
    cursor: pointer; white-space: nowrap;
    transition: background .2s, transform .15s;
  }
  .newsletter-form button:hover { background: var(--orange); }
  .newsletter-form button:active { transform: scale(.97); }

  /* ── ANIMATIONS ───────────────────────────────── */
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── HIDDEN filter ────────────────────────────── */
  .card[data-hidden] { display: none; }

  /* ── RESPONSIVE ───────────────────────────────── */
  @media (max-width: 800px) {
    .featured-wrap { grid-template-columns: 1fr; }
    .featured-img { min-height: 200px; }
    .featured-body { padding: 28px 24px; }
    .newsletter-box{
    margin-top: 32px;
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: 2px 12px 22px 12px;
  }
    .newsletter { flex-direction: column; padding: 36px 28px; }
    .newsletter-form { flex-direction: column; width: 100%; }
    .newsletter-form input { width: 100%; }
    .newsletter::before { display: none; }
  }