/* ── Blog Page Styles ─────────────────────────────────── */

  /* Hero — Radar sweeping the world */
  .blog-hero {
    position: relative;
    background: #ffffff;
    color: #1b1b3c;
    padding: 80px 24px 0;
    text-align: center;
    overflow: hidden;
    min-height: 420px;
  }
  .blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 69, 98, 0.08) 0%, transparent 60%);
    pointer-events: none;
  }
  .blog-hero__container {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    z-index: 3;
  }
  .blog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FF4562;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }
  .blog-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1b1b3c;
    margin: 0 0 16px;
  }
  .blog-hero__title-accent { color: inherit; }
  .blog-hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.063rem);
    line-height: 1.7;
    color: #1b1b3c;
    margin: 0 auto 40px;
    max-width: 640px;
  }

  /* Radar + World map visualization (half-clipped at bottom of hero) */
  .blog-hero__scene {
    position: absolute;
    left: 50%;
    bottom: -50%;
    width: min(820px, 120%);
    aspect-ratio: 1 / 1;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
  }
  .blog-hero__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
    color: #a3a3a3;
  }
  .blog-hero__radar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
  .blog-hero__rings {
    position: absolute;
    inset: 0;
    border-radius: 50%;
  }
  .blog-hero__rings::before,
  .blog-hero__rings::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 69, 98, 0.18);
    border-radius: 50%;
  }
  .blog-hero__rings::after {
    inset: 18%;
    border-color: rgba(255, 69, 98, 0.12);
  }
  .blog-hero__rings-inner {
    position: absolute;
    inset: 36%;
    border: 1px solid rgba(255, 69, 98, 0.1);
    border-radius: 50%;
  }
  .blog-hero__sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      transparent 280deg,
      rgba(255, 69, 98, 0.04) 310deg,
      rgba(255, 69, 98, 0.22) 355deg,
      rgba(255, 69, 98, 0.35) 360deg
    );
    animation: blog-hero-sweep 9s linear infinite;
    mix-blend-mode: multiply;
  }
  .blog-hero__center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: #FF4562;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 69, 98, 0.15), 0 0 20px rgba(255, 69, 98, 0.45);
  }
  .blog-hero__blip {
    position: absolute;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #FF4562;
    box-shadow: 0 0 0 4px rgba(255, 69, 98, 0.18);
    animation: blog-hero-blip 3.5s ease-out infinite;
  }
  .blog-hero__blip--1 { top: 34%; left: 28%; animation-delay: 0s; }
  .blog-hero__blip--2 { top: 42%; left: 68%; animation-delay: 0.8s; }
  .blog-hero__blip--3 { top: 28%; left: 52%; animation-delay: 1.6s; }
  .blog-hero__blip--4 { top: 46%; left: 40%; animation-delay: 2.3s; }

  @keyframes blog-hero-sweep {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  @keyframes blog-hero-blip {
    0%   { transform: scale(0.6); opacity: 0; }
    15%  { transform: scale(1.2); opacity: 1; }
    60%  { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(0.9); opacity: 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .blog-hero__sweep,
    .blog-hero__blip { animation: none; }
  }

  /* Keep decorative radar scene from causing horizontal scroll on small screens */
  @media (max-width: 640px) {
    .blog-hero { padding: 56px 16px 0; min-height: 340px; }
    .blog-hero__scene { width: min(620px, 100%); }
  }

  /* ── Compact page header (replaces hero) ────────────── */
  .blog-header {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 56px 24px 32px;
    overflow: hidden;
  }
  .blog-header::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 60% at 50% 0%, rgba(255, 69, 98, 0.06) 0%, transparent 60%),
      radial-gradient(circle at 92% 100%, rgba(255, 69, 98, 0.04) 0%, transparent 50%);
    pointer-events: none;
  }
  .blog-header__container {
    position: relative; z-index: 1;
    max-width: 1320px; margin: 0 auto;
  }
  .blog-header__breadcrumb {
    font-size: 0.813rem; color: #4e4e70;
    margin-bottom: 22px;
    text-align: center;
  }
  .blog-header__breadcrumb a {
    color: #4e4e70; text-decoration: none;
    transition: color 0.15s;
  }
  .blog-header__breadcrumb a:hover { color: #FF4562; }
  .blog-header__breadcrumb-sep { margin: 0 8px; color: #d4d4d4; }
  .blog-header__breadcrumb-current { color: #1b1b3c; font-weight: 600; }

  .blog-header__row {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 24px;
  }

  .blog-header__eyebrow {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700; color: #FF4562;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
  }
  .blog-header__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800; line-height: 1.12; color: #1b1b3c;
    margin: 0 0 12px; letter-spacing: -0.02em;
  }
  .blog-header__sub {
    font-size: 1rem; line-height: 1.65;
    color: #1b1b3c; margin: 0 auto; max-width: 620px;
  }

  /* Sort pills */
  .blog-header__sort {
    display: inline-flex;
    background: #fff; border: 1px solid #e5e5e5;
    border-radius: 9999px; padding: 4px; gap: 2px;
    flex-shrink: 0;
  }
  .blog-header__sort-btn {
    border: none; background: transparent;
    padding: 8px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.813rem; font-weight: 600;
    color: #4e4e70; border-radius: 9999px;
    cursor: pointer; transition: background 0.15s, color 0.15s;
  }
  .blog-header__sort-btn:hover { color: #1b1b3c; }
  .blog-header__sort-btn.is-active {
    background: #FF4562; color: #fff;
  }

  /* Stats strip */
  .blog-header__stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px dashed #e5e5e5;
  }
  .blog-header__stat {
    display: flex; align-items: center; gap: 10px;
  }
  .blog-header__stat-icon {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 12px;
    background: rgba(255, 69, 98, 0.08);
    border: 1px solid rgba(255, 69, 98, 0.2);
    color: #1b1b3c;
    display: flex; align-items: center; justify-content: center;
  }
  .blog-header__stat-icon svg { width: 16px; height: 16px; }
  .blog-header__stat-value {
    display: block;
    font-size: 1rem; font-weight: 800; color: #1b1b3c;
    line-height: 1.1; letter-spacing: -0.01em;
  }
  .blog-header__stat-label {
    display: block;
    font-size: 0.75rem; color: #4e4e70;
    margin-top: 2px;
  }

  @media (max-width: 720px) {
    .blog-header { padding: 40px 20px 24px; }
    .blog-header__row { gap: 20px; }
    .blog-header__stats { gap: 20px; }
  }

  /* ── Topic chips bar ───────────────────────────────── */
  .blog-topics {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blog-topics::-webkit-scrollbar { display: none; }
  .blog-topics__container {
    max-width: 1320px; margin: 0 auto;
    display: flex; align-items: center; gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .blog-topics__label {
    flex-shrink: 0;
    font-size: 0.75rem; font-weight: 700;
    color: #a3a3a3;
    letter-spacing: 0.12em;
    margin-right: 6px;
  }
  .blog-topics__chip {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem; font-weight: 600;
    color: #404040;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
  }
  .blog-topics__chip:hover {
    background: rgba(255, 69, 98, 0.08);
    border-color: rgba(255, 69, 98, 0.4);
    color: #FF4562;
  }
  .blog-topics__chip-count {
    font-size: 0.6875rem;
    color: #a3a3a3;
    font-weight: 600;
  }
  .blog-topics__chip:hover .blog-topics__chip-count { color: #FF4562; }
  .blog-topics__chip--hot {
    background: linear-gradient(135deg, rgba(255, 69, 98, 0.08), rgba(255, 69, 98, 0.02));
    border-color: rgba(255, 69, 98, 0.3);
    color: #FF4562;
  }
  .blog-topics__chip--hot::before {
    content: '';
    display: inline-block;
    width: 0.85em; height: 0.85em;
    vertical-align: -0.1em;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* ── Editor's Picks 3-card grid ─────────────────── */
  .blog-picks {
    margin-bottom: 32px;
  }
  .blog-picks__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
  }
  .blog-picks__title {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9375rem; font-weight: 800; color: #1b1b3c;
    margin: 0; letter-spacing: -0.01em;
  }
  .blog-picks__title-icon {
    width: 22px; height: 22px; border-radius: 12px;
    background: rgba(255, 69, 98, 0.1);
    color: #1b1b3c;
    display: flex; align-items: center; justify-content: center;
  }
  .blog-picks__title-icon svg { width: 12px; height: 12px; }
  .blog-picks__more {
    font-size: 0.8125rem; font-weight: 700; color: #4e4e70;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
    transition: color 0.15s;
  }
  .blog-picks__more:hover { color: #FF4562; }
  .blog-picks__more svg { width: 12px; height: 12px; }

  .blog-picks__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .blog-pick {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .blog-pick:hover {
    border-color: rgba(255, 69, 98, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -2px rgba(0,0,0,0.10);
  }
  .blog-pick__cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }
  .blog-pick__cover::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
  }
  .blog-pick__cat {
    position: absolute; top: 10px; left: 10px;
    z-index: 1;
    padding: 3px 9px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-size: 0.6875rem; font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .blog-pick__rank {
    position: absolute; bottom: 10px; left: 12px;
    z-index: 1;
    font-size: 1.5rem; font-weight: 900; color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
  .blog-pick__body {
    padding: 16px 18px 18px;
    display: flex; flex-direction: column;
    flex: 1;
    gap: 10px;
  }
  .blog-pick__title {
    font-size: 0.9375rem; font-weight: 700;
    color: #1b1b3c; margin: 0; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
  }
  .blog-pick:hover .blog-pick__title { color: inherit; }
  .blog-pick__meta {
    margin-top: auto;
    display: flex; align-items: center; gap: 8px;
    font-size: 0.75rem; color: #4e4e70;
  }
  .blog-pick__meta-dot {
    width: 3px; height: 3px; border-radius: 50%;
    background: #d4d4d4;
  }

  @media (max-width: 1100px) {
    .blog-picks__grid { grid-template-columns: 1fr 1fr; }
    .blog-pick:nth-child(3) { display: none; }
  }
  @media (max-width: 720px) {
    .blog-picks__grid { grid-template-columns: 1fr; }
    .blog-pick:nth-child(3) { display: flex; }
  }

  /* ── Real cover images (cycled across all covers) ── */
  .blog-spotlight__cover,
  .blog-row__cover,
  .blog-pick__cover {
    background-size: cover !important;
    background-position: center !important;
  }
  /* Hide gradient overlay text/brand once a real image is in place */
  .blog-spotlight__cover .blog-spotlight__brand,
  .blog-spotlight__cover .blog-spotlight__cover-title,
  .blog-row__cover .blog-row__brand,
  .blog-row__cover .blog-row__cover-title { display: none; }

  /* Cycle through the 4 sample blog covers */
  .blog-spotlight .blog-spotlight__cover {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/blog-example-cover.png.webp');
  }
  .blog-row:nth-of-type(4n+1) .blog-row__cover {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/wormgpt-the-blueprint-for-malicious-ai.jpg.webp');
  }
  .blog-row:nth-of-type(4n+2) .blog-row__cover {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/cve-2026-38526-in-krayin-crm-enables-rce.jpg.webp');
  }
  .blog-row:nth-of-type(4n+3) .blog-row__cover {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/5-stages-of-the-threat-intelligence-lifecycle.png.webp');
  }
  .blog-row:nth-of-type(4n) .blog-row__cover {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/blog-example-cover.png.webp');
  }
  .blog-pick:nth-of-type(3n+1) .blog-pick__cover {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/wormgpt-the-blueprint-for-malicious-ai.jpg.webp');
  }
  .blog-pick:nth-of-type(3n+2) .blog-pick__cover {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/cve-2026-38526-in-krayin-crm-enables-rce.jpg.webp');
  }
  .blog-pick:nth-of-type(3n) .blog-pick__cover {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/5-stages-of-the-threat-intelligence-lifecycle.png.webp');
  }
  /* Top-articles thumbs in sidebar — also reuse the 4 covers */
  .blog-top-item__img {
    background-size: cover !important;
    background-position: center !important;
  }
  .blog-top-item__img > svg { display: none; }
  .blog-top-list .blog-top-item:nth-of-type(4n+1) .blog-top-item__img {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/blog-example-cover.png.webp');
  }
  .blog-top-list .blog-top-item:nth-of-type(4n+2) .blog-top-item__img {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/wormgpt-the-blueprint-for-malicious-ai.jpg.webp');
  }
  .blog-top-list .blog-top-item:nth-of-type(4n+3) .blog-top-item__img {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/cve-2026-38526-in-krayin-crm-enables-rce.jpg.webp');
  }
  .blog-top-list .blog-top-item:nth-of-type(4n) .blog-top-item__img {
    background-image: url('/wp-content/themes/srpoc/assets/images/blog/5-stages-of-the-threat-intelligence-lifecycle.png.webp');
  }

  /* ── Section divider ────────────────────────────────── */
  .blog-divider {
    position: relative;
    margin: 24px 0 18px;
    text-align: center;
  }
  .blog-divider::before {
    content: '';
    position: absolute; top: 50%; left: 0; right: 0;
    height: 1px; background: #e5e5e5;
  }
  .blog-divider__label {
    position: relative; z-index: 1;
    display: inline-block;
    padding: 0 14px;
    background: #fafafa;
    font-size: 0.75rem; font-weight: 700; color: #4e4e70;
    letter-spacing: 0.14em;
  }

  /* ── Featured spotlight (top of feed) ─────────────── */
  .blog-spotlight {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 28px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .blog-spotlight:hover {
    border-color: rgba(255, 69, 98, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -2px rgba(0,0,0,0.10);
  }
  .blog-spotlight__cover {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex; align-items: flex-end;
    padding: 24px;
    overflow: hidden;
  }
  .blog-spotlight__cover::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
  }
  .blog-spotlight__cover-title {
    position: relative; z-index: 1;
    font-size: 1.5rem; font-weight: 800; color: #fff;
    line-height: 1.2; letter-spacing: -0.01em;
    margin: 0; max-width: 90%;
  }
  .blog-spotlight__brand {
    position: absolute; top: 16px; left: 18px; z-index: 1;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
  }
  .blog-spotlight__brand svg { width: 14px; height: 14px; }
  .blog-spotlight__badge {
    position: absolute; top: 16px; right: 18px; z-index: 1;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px;
    background: #FF4562; color: #fff;
    border-radius: 12px;
    font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
  }
  .blog-spotlight__badge::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: #fff;
  }
  .blog-spotlight__body {
    padding: 22px 26px;
    display: flex; flex-direction: column;
    min-width: 0;
  }
  .blog-spotlight__cat {
    display: inline-block;
    font-size: 0.6875rem; font-weight: 700; color: #FF4562;
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 8px;
  }
  .blog-spotlight__title {
    font-size: 1.375rem; font-weight: 800; color: #1b1b3c;
    line-height: 1.25; margin: 0 0 10px;
    letter-spacing: -0.015em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-spotlight:hover .blog-spotlight__title { color: inherit; }
  .blog-spotlight__excerpt {
    font-size: 0.875rem; line-height: 1.6;
    color: #1b1b3c; margin: 0 0 14px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-spotlight__meta {
    display: flex; align-items: center; gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e5e5e5;
    font-size: 0.75rem;
    flex-wrap: wrap;
  }
  .blog-spotlight__avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, #FF4562, #e8294a);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6875rem; font-weight: 800;
  }
  .blog-spotlight__author { color: #1b1b3c; font-weight: 700; }
  .blog-spotlight__sep { color: #d4d4d4; }
  .blog-spotlight__date,
  .blog-spotlight__read { color: #4e4e70; }

  @media (max-width: 720px) {
    .blog-spotlight { grid-template-columns: 1fr; }
    .blog-spotlight__cover {
      aspect-ratio: 16 / 9;
      min-height: 0;
    }
    .blog-spotlight__body { padding: 24px 22px; }
    .blog-spotlight__title { font-size: 1.25rem; }
  }

  /* Layout — feed on LEFT, sidebar on RIGHT */
  .blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 96px 24px 24px;
  }

  /* Sidebar (right) */
  .blog-sidebar {
    order: 2;
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Search box */
  .blog-search {
    position: relative;
    width: 100%;
  }
  .blog-search-band {
    padding: 28px 24px 4px;
  }
  .blog-search-band .blog-search {
    max-width: 560px;
    margin: 0 auto;
  }
  .blog-search-band .blog-search__input {
    padding: 12px 16px 12px 42px;
  }
  .blog-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #a3a3a3;
    pointer-events: none;
  }
  .blog-search__input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #1b1b3c;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .blog-search__input::placeholder {
    color: #a3a3a3;
  }
  .blog-search__input:focus {
    border-color: #FF4562;
    box-shadow: 0 0 0 3px rgba(255,69,98,0.15);
  }

  /* Sidebar cards (Categories, Top Articles, Newsletter) */
  .blog-side-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    padding: 20px;
  }
  .blog-side-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .blog-side-card__icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 12px;
    background: rgba(255, 69, 98, 0.1);
    color: #1b1b3c;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .blog-side-card__icon svg {
    width: 14px;
    height: 14px;
  }
  .blog-side-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    font-weight: 700;
    color: #1b1b3c;
    margin: 0;
  }

  /* Categories list */
  .blog-cats {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .blog-cats__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #404040;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: color 0.15s;
  }
  .blog-cats__bullet {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #d4d4d4;
    background: transparent;
    transition: background 0.15s, border-color 0.15s;
  }
  .blog-cats__item:hover {
    color: #FF4562;
  }
  .blog-cats__item.is-active {
    color: #FF4562;
    font-weight: 700;
  }
  .blog-cats__item.is-active .blog-cats__bullet {
    background: #FF4562;
    border-color: #FF4562;
  }

  /* Top Articles */
  .blog-top-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .blog-top-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
  }
  .blog-top-item__img {
    width: 96px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
  }
  .blog-top-item__img svg {
    width: 22px;
    height: 22px;
  }
  .blog-top-item__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1b1b3c;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-top-item:hover .blog-top-item__title {
    color: inherit;
  }
  .blog-top-item__date {
    font-size: 0.688rem;
    color: #4e4e70;
  }

  /* Newsletter */
  .blog-news__desc {
    font-size: 0.813rem;
    line-height: 1.6;
    color: #4e4e70;
    margin: 0 0 14px;
  }
  .blog-news__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .blog-news__input {
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #1b1b3c;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .blog-news__input:focus {
    border-color: #FF4562;
    box-shadow: 0 0 0 3px rgba(255,69,98,0.15);
  }
  .blog-news__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #FF4562;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 20px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: background 0.2s;
  }
  .blog-news__btn:hover {
    background: #e8294a;
  }

  /* Feed (right) */
  .blog-feed {
    display: flex;
    flex-direction: column;
  }
  .blog-row {
    display: flex;
    align-items: stretch;
    gap: 32px;
    padding: 0 0 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none;
  }
  .blog-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
  }
  .blog-row__cover {
    flex: 1 1 0;
    max-width: 360px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #fff;
  }
  .blog-row__cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.18) 100%);
    pointer-events: none;
  }
  .blog-row__brand {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.688rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
    z-index: 2;
  }
  .blog-row__brand svg {
    width: 14px;
    height: 14px;
  }
  .blog-row__cover-title {
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-row__body {
    flex: 1.2 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  .blog-row__date {
    font-size: 0.75rem;
    color: #4e4e70;
  }
  .blog-row__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1b1b3c;
    line-height: 1.3;
    margin: 0;
  }
  .blog-row:hover .blog-row__title {
    color: inherit;
  }
  .blog-row__excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #1b1b3c;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Pagination */
  .blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px 0 80px;
  }
  .blog-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.813rem;
    font-weight: 600;
    color: #1b1b3c;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: color 0.15s, background 0.15s, border-color 0.15s;
  }
  .blog-pagination__btn:hover {
    color: #FF4562;
    border-color: rgba(255, 69, 98, 0.4);
  }
  .blog-pagination__btn.is-active {
    background: #FF4562;
    color: #fff;
    border-color: #FF4562;
  }
  .blog-pagination__ellipsis {
    color: #4e4e70;
    padding: 0 4px;
  }

  /* CTA */
  .blog-cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, #1b1b3c 0%, #2a2a52 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .blog-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(255, 69, 98, 0.18) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(255, 69, 98, 0.12) 0%, transparent 50%);
    pointer-events: none;
  }
  .blog-cta__container {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    z-index: 1;
  }
  .blog-cta__heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.25;
  }
  .blog-cta__desc {
    font-size: 1.063rem;
    line-height: 1.7;
    color: #d4d4d4;
    margin: 0 auto 36px;
    max-width: 560px;
  }
  .blog-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FF4562;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  }
  .blog-cta__btn:hover {
    background: #e8294a;
  }

  /* Gradient palettes — per-category themed */
  .blog-grad-cybernews   { background: linear-gradient(135deg, #ef4444, #ff4562); }       /* red */
  .blog-grad-cti         { background: linear-gradient(135deg, #2563eb, #0ea5e9); }       /* blue */
  .blog-grad-threat      { background: linear-gradient(135deg, #7c3aed, #a855f7); }       /* purple */
  .blog-grad-drp         { background: linear-gradient(135deg, #0ea5e9, #14b8a6); }       /* teal */
  .blog-grad-practice    { background: linear-gradient(135deg, #f59e0b, #f97316); }       /* amber/orange */
  .blog-grad-darkweb     { background: linear-gradient(135deg, #ec4899, #f43f5e); }       /* rose/pink */

  /* Responsive */
  @media (max-width: 960px) {
    .blog-layout {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 48px 24px 16px;
    }
    .blog-sidebar {
      position: static;
    }
  }
  @media (max-width: 640px) {
    .blog-row {
      flex-direction: column;
      gap: 20px;
    }
    .blog-row__cover {
      max-width: 100%;
      width: 100%;
      aspect-ratio: auto;
      max-height: 220px;
      min-height: 180px;
    }
    /* Reduce oversized section padding on phones */
    .blog-cta {
      padding: 64px 20px;
    }
    .blog-layout {
      padding: 40px 16px 16px;
      gap: 28px;
    }
    .blog-header { padding: 40px 16px 24px; }
    .blog-topics { padding: 14px 16px; }
    /* Touch targets ≥44px for primary tap controls */
    .blog-header__sort-btn { padding: 11px 18px;
      font-weight: 600;
    border-radius: 9999px;
  }
    .blog-cats__item { padding: 11px 4px; }
    .blog-pagination__btn { min-width: 44px; height: 44px;
      font-weight: 600;
    border-radius: 9999px;
  }
    .blog-search__input { padding: 12px 14px 12px 40px; }
    .blog-news__input { padding: 12px 14px;
    border-radius: 9999px;
  }
    .blog-news__btn { padding: 13px 20px;
      font-weight: 600;
    border-radius: 9999px;
  }
    /* Prevent any horizontal overflow on phones */
    .blog-cta__heading,
    .blog-spotlight__cover-title,
    .blog-row__cover-title { overflow-wrap: anywhere; }
  }
