/* ===== MATERIAL PAGE ===== */
    .mat-hero {
      padding: 40px 0 20px;
    }
    .mat-h1 {
      font-size: 40px;
      font-weight: 900;
      color: var(--text);
      margin-bottom: 14px;
      line-height: 1.15;
    }
    .mat-intro {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.65;
      max-width: 760px;
      margin-bottom: 6px;
    }

    /* Filter tabs */
    .mat-filter {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 28px 0 32px;
    }
    .mat-filter__btn {
      padding: 8px 20px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 600;
      border: 2px solid var(--border);
      background: var(--white);
      color: var(--text);
      cursor: pointer;
      transition: all .2s;
    }
    .mat-filter__btn--active,
    .mat-filter__btn:hover {
      background: var(--blue);
      border-color: var(--blue);
      color: var(--white);
    }

    /* Cards grid */
    .mat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 60px;
    }
    .mat-card {
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      display: block;
      transition: box-shadow .2s, transform .2s;
      aspect-ratio: 3/2;
      background: var(--gray-bg);
    }
    .mat-card:hover {
      box-shadow: 0 8px 32px rgba(0,0,0,.15);
      transform: translateY(-3px);
    }
    .mat-card__img {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 60px;
    }
    .mat-card__img--1 { background: linear-gradient(135deg, #0D1E35 0%, #1a3a5c 100%); }
    .mat-card__img--2 { background: linear-gradient(135deg, #C62828 0%, #E53935 100%); }
    .mat-card__img--3 { background: linear-gradient(135deg, #1B93D4 0%, #1578b0 100%); }
    .mat-card__img--4 { background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%); }

    .mat-card__tag {
      position: absolute;
      top: 14px;
      left: 14px;
      background: rgba(255,255,255,.15);
      backdrop-filter: blur(4px);
      color: rgba(255,255,255,.9);
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .5px;
      padding: 4px 10px;
      border-radius: 50px;
      border: 1px solid rgba(255,255,255,.2);
    }

    .mat-card__body {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px;
      background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
    }
    .mat-card__title {
      font-size: 17px;
      font-weight: 800;
      color: var(--white);
      line-height: 1.3;
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-color: rgba(255,255,255,.4);
    }
    .mat-card:hover .mat-card__title {
      text-decoration-color: rgba(255,255,255,.8);
    }

    /* SVG illustrations inside cards */
    .mat-card__svg {
      width: 70%;
      max-width: 220px;
    }

    @media (max-width: 960px) {
      .mat-h1 { font-size: 30px; }
      .mat-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .mat-h1 { font-size: 26px; }
      .mat-grid { grid-template-columns: 1fr; }
      .mat-card { aspect-ratio: 4/3; }
    }