.nw-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: auto;
    width: 100%;
    margin: 0 auto;
    padding: 2px;
    background-color: #f0f2f5;
    color: #1e293b;
    box-sizing: border-box;
    line-height: 1.6;
  }

  .nw-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: clamp(16px, 3vw, 24px);
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nw-card-title {
    font-size: clamp(1.35rem, 2.5vw + 0.8rem, 1.8rem);
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.3;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
  }

  .nw-paragraph {
    font-size: clamp(1rem, 1vw + 0.75rem, 1.15rem);
    color: #334155;
  }

  .nw-hl-orange-bg {
    display: inline;
    color: #d97706;
    font-weight: 700;
    background-color: #fef3c7;
    padding: 2px 4px;
    border-radius: 4px;
  }

  .nw-hl-blue {
    display: inline;
    color: #0284c7;
    font-weight: 700;
  }

  .nw-hl-purple {
    display: inline;
    color: #7c3aed;
    font-weight: 700;
  }

  .nw-hl-green {
    display: inline;
    color: #059669;
    font-weight: 700;
  }

  .nw-hl-red-bg {
    display: inline;
    color: #dc2626;
    font-weight: 700;
    background-color: #fee2e2;
    padding: 2px 4px;
    border-radius: 4px;
  }

  .nw-hl-orange {
    display: inline;
    color: #ea580c;
    font-weight: 700;
  }

  .nw-hl-red {
    display: inline;
    color: #dc2626;
    font-weight: 700;
  }

    /* Mobile-first layout: Stacks vertically */
  .nw-flex-col-8 {
    display: grid;
    grid-template-columns: 1fr; /* 1 column for mobile */
    gap: 8px;
    margin-top: 8px;
  }

  /* Desktop layout: Sits side-by-side */
  @media (min-width: 768px) {
    .nw-flex-col-8 {
      grid-template-columns: repeat(3, 1fr); /* 3 equal columns for desktop */
    }
  }


  .nw-info-blue {
    background-color: #eff6ff;
    padding: clamp(12px, 2vw, 16px);
    border-radius: 12px;
    border-left: 5px solid #3b82f6;
  }

  .nw-info-purple {
    background-color: #f5f3ff;
    padding: clamp(12px, 2vw, 16px);
    border-radius: 12px;
    border-left: 5px solid #8b5cf6;
  }

  .nw-info-green {
    background-color: #ecfdf5;
    padding: clamp(12px, 2vw, 16px);
    border-radius: 12px;
    border-left: 5px solid #10b981;
  }

  .nw-info-label {
    font-size: clamp(0.75rem, 1vw + 0.5rem, 0.85rem);
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
  }

  .nw-info-val-blue {
    font-size: clamp(1.1rem, 1.5vw + 0.7rem, 1.3rem);
    font-weight: 800;
    color: #1e40af;
  }

  .nw-info-val-purple {
    font-size: clamp(1.1rem, 1.5vw + 0.7rem, 1.3rem);
    font-weight: 800;
    color: #4c1d95;
  }

  .nw-info-val-green {
    font-size: clamp(1.1rem, 1.5vw + 0.7rem, 1.3rem);
    font-weight: 800;
    color: #065f46;
  }

  .nw-flex-col-12 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
  }

  .nw-list-box {
    background-color: #f8fafc;
    padding: clamp(16px, 2.5vw, 20px);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
  }

  .nw-list-title-blue {
    font-size: clamp(1.1rem, 1.5vw + 0.8rem, 1.25rem);
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 8px;
  }

  .nw-list-title-green {
    font-size: clamp(1.1rem, 1.5vw + 0.8rem, 1.25rem);
    font-weight: 800;
    color: #059669;
    margin-bottom: 8px;
  }

  .nw-list-title-red {
    font-size: clamp(1.1rem, 1.5vw + 0.8rem, 1.25rem);
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 8px;
  }

  .nw-list-text {
    font-size: clamp(0.95rem, 1vw + 0.6rem, 1.1rem);
    color: #475569;
  }

  .nw-list-text-gap {
    font-size: clamp(0.95rem, 1vw + 0.6rem, 1.1rem);
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .nw-list-item {
    display: flex;
    gap: 8px;
  }

  .nw-list-bullet {
    color: #dc2626;
  }

  .nw-warning-box {
    font-size: clamp(0.95rem, 1vw + 0.6rem, 1.1rem);
    background-color: #fffbeb;
    padding: clamp(16px, 2.5vw, 20px);
    border-radius: 12px;
    border: 1px solid #fde68a;
    color: #92400e;
    margin-top: 8px;
  }

  .nw-inline-heavy {
    display: inline;
    font-weight: 800;
  }

  .nw-quiz-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: clamp(16px, 3vw, 24px);
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-top: 4px solid #334155;
  }

  .nw-quiz-title {
    font-size: clamp(1.1rem, 2vw + 0.7rem, 1.4rem);
    font-weight: 800;
    color: #334155;
    margin-bottom: 12px;
  }

  .nw-quiz-q {
    font-size: clamp(0.95rem, 1vw + 0.7rem, 1.15rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
  }

  .nw-quiz-statements {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: clamp(0.9rem, 1vw + 0.6rem, 1.1rem);
    color: #475569;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 2px solid #cbd5e1;
  }

  .nw-quiz-italic {
    font-size: clamp(0.9rem, 1vw + 0.6rem, 1.1rem);
    font-style: italic;
    color: #64748b;
    margin-bottom: 12px;
  }

  .nw-quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nw-ans-normal {
    padding: clamp(12px, 2vw, 16px);
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: clamp(0.95rem, 1vw + 0.65rem, 1.1rem);
  }

  .nw-ans-correct {
    padding: clamp(12px, 2vw, 16px);
    border-radius: 8px;
    background-color: #ecfdf5;
    border: 2px solid #10b981;
    font-weight: 800;
    color: #065f46;
    font-size: clamp(0.95rem, 1vw + 0.65rem, 1.1rem);
  }

 /* Main Container */
  .nw-source-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: clamp(16px, 3vw, 24px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Full-width Section Heading */
  .nw-source-header {
    font-size: clamp(0.75rem, 1vw + 0.5rem, 0.85rem);
    text-transform: uppercase;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    width: 100%;
  }

  /* Mobile-first: Elements stack vertically */
  .nw-source-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .nw-source-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nw-source-title {
    font-size: clamp(1rem, 1.5vw + 0.7rem, 1.15rem);
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nw-source-icon {
    background-color: #eff6ff;
    color: #2563eb;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .nw-source-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 44px; /* Perfectly aligns tags under the text, clearing the icon */
  }

  .nw-source-tag {
    font-size: clamp(0.8rem, 1vw + 0.55rem, 0.9rem);
    color: #475569;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
  }

  /* Button gets full width on mobile */
  .nw-source-action {
    display: flex;
    width: 100%;
  }

  .nw-source-btn {
    text-decoration: none;
    background-color: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: clamp(0.95rem, 1vw + 0.65rem, 1.05rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.15);
    width: 100%;
  }

  /* Desktop Layout: Snap to side-by-side */
  @media (min-width: 640px) {
    .nw-source-body {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    
    .nw-source-action {
      width: auto; 
    }
    
    .nw-source-btn {
      width: auto;
      padding: 12px 28px;
    }
  }