/* ===================== Masthead ===================== */
    .blog-masthead {
      padding: 52px 0 96px; overflow: hidden; color: #fff;
      background:
        radial-gradient(ellipse 60% 60% at 88% 10%, rgba(255,159,28,.28), transparent 55%),
        linear-gradient(135deg, var(--grape), var(--sky));
    }
    .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 22px; }
    .breadcrumb a { color: rgba(255,255,255,.7); font-weight: 600; }
    .breadcrumb a:hover { color: #fff; }
    .breadcrumb span.sep { opacity: .5; }
    .breadcrumb span.current { color: #fff; font-weight: 700; }
    .blog-masthead .eyebrow {
      display: inline-block; font-weight: 700; font-size: 13px; color: #fff;
      background: rgba(255,255,255,.15); padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
    }
    .blog-masthead h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; max-width: 720px; margin-bottom: 14px; line-height: 1.3; }
    .blog-masthead p.lead { font-size: 16.5px; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 30px; }

    .blog-search {
      display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 100px;
      padding: 8px 8px 8px 20px; max-width: 520px; box-shadow: var(--shadow-lg);
    }
    .blog-search svg { width: 20px; height: 20px; color: var(--ink-soft); flex-shrink: 0; }
    .blog-search input {
      border: none; outline: none; flex: 1; font: inherit; font-size: 14.5px; background: transparent; color: var(--ink);
      min-width: 0;
    }
    .blog-search button { flex-shrink: 0; }

    .blog-cats {
      display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px;
    }
    .cat-pill {
      padding: 9px 18px; border-radius: 100px; font-weight: 700; font-size: 13.5px;
      background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22);
      transition: background .2s var(--ease), transform .2s var(--ease);
    }
    .cat-pill:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
    .cat-pill.is-active { background: #fff; color: var(--grape); }

    /* ===================== Featured post ===================== */
    .blog-featured-wrap { margin-top: -56px; margin-bottom: 64px; }
    .featured-card {
      display: grid; grid-template-columns: 1fr 1fr; gap: 0;
      background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
      box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    }
    .featured-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--sky-100); }
    .featured-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
    .featured-card .body { padding: 40px 40px; display: flex; flex-direction: column; justify-content: center; }
    .post-tag {
      display: inline-flex; align-self: flex-start; font-size: 11.5px; font-weight: 800;
      padding: 4px 12px; border-radius: 100px; margin-bottom: 14px;
    }
    .post-tag.parent-guide { background: var(--grape-100); color: var(--grape); }
    .post-tag.levels       { background: var(--sky-100); color: var(--sky); }
    .post-tag.cartoons     { background: var(--sun-100); color: var(--sun-deep); }
    .post-tag.quizzes      { background: var(--berry-100); color: var(--berry); }
    .post-tag.method       { background: var(--leaf-100); color: var(--leaf); }
    .post-tag.featured-tag { background: var(--ink); color: #fff; }

    .featured-card h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; margin-bottom: 12px; line-height: 1.45; }
    .featured-card .excerpt { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
    .post-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; flex-wrap: wrap; }
    .post-meta .who { display: flex; align-items: center; gap: 8px; }
    .avatar {
      width: 26px; height: 26px; border-radius: 50%; background: var(--sun-100); color: var(--sun-deep);
      display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
    }
    .post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

    /* ===================== Post grid ===================== */
    .blog-list { padding: 8px 0 80px; }
    .list-toolbar {
      display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
      margin-bottom: 30px;
    }
    .list-toolbar h2 { font-size: 20px; font-weight: 800; }
    .list-count { font-size: 13.5px; color: var(--ink-soft); }

    .post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .post-card {
      display: flex; flex-direction: column;
      background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
      overflow: hidden; box-shadow: var(--shadow-sm);
      transition: transform .22s var(--ease), box-shadow .22s var(--ease);
    }
    .post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
    .post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sky-100); }
    .post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
    .post-card:hover .thumb img { transform: scale(1.05); }
    .post-card .meta { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
    .post-card h3 { font-size: 16px; font-weight: 800; line-height: 1.55; margin-bottom: 8px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .post-card .excerpt { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; flex: 1;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .post-card .foot { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); }
    .post-card .foot .more { font-weight: 700; color: var(--sky); }

    .list-more { text-align: center; margin-top: 44px; }

    /* ===================== Sidebar layout ===================== */
    .blog-list-grid { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }

    @media (max-width: 1024px) {
      .blog-list-grid { grid-template-columns: 1fr; }
    }

    /* ===================== Newsletter ===================== */
    .newsletter { padding: 20px 0 80px; }
    .newsletter-inner {
      background: linear-gradient(135deg, var(--grape), var(--sky));
      border-radius: var(--radius-lg); padding: 52px 40px; text-align: center; color: #fff;
      position: relative; overflow: hidden;
    }
    .newsletter-mascot { width: 100px; height: auto; margin: 0 auto 16px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.25)); mix-blend-mode: screen; }
    .newsletter-inner h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; margin-bottom: 10px; }
    .newsletter-inner p { opacity: .92; margin-bottom: 26px; font-size: 15px; max-width: 480px; margin-inline: auto; }
    .newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
    .newsletter-form input {
      flex: 1; min-width: 200px; border: none; outline: none; border-radius: 100px;
      padding: 14px 20px; font: inherit; font-size: 14.5px; color: var(--ink);
    }
    .newsletter-note { margin-top: 16px; font-size: 12.5px; opacity: .8; }

.blog-cover-placeholder { width: 100%; height: 100%; min-height: 180px; background: var(--sky-100); }
.blog-cover-placeholder--lg { min-height: 280px; }
.blog-empty-msg { text-align: center; color: var(--ink-soft); margin-top: 30px; }
.ic-arrow-inline { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.blog-mobile-drawer a.is-active { color: var(--sun); }
.list-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
