    /* ========== CSS Variables (Light / Dark) ========== */
    :root {
      --bg: #f4f6f8;
      --surface: #ffffff;
      --text: #1a1a1a;
      --text-muted: #555;
      --border: #e0e0e0;
      --shadow: 0 4px 12px rgba(0,0,0,0.08);
      --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
      --accent: #e53935;
      --card-radius: 12px;
      --transition: 0.25s ease;
    }

    [data-theme="dark"] {
      --bg: #121212;
      --surface: #1e1e1e;
      --text: #f0f0f0;
      --text-muted: #aaa;
      --border: #333;
      --shadow: 0 4px 12px rgba(0,0,0,0.4);
      --shadow-hover: 0 8px 24px rgba(0,0,0,0.5);
      --accent: #ef5350;
    }

    /* ========== Base ========== */
    *, *::before, *::after { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
      transition: background var(--transition), color var(--transition);
    }

    a { color: inherit; text-decoration: none; }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    hr {
      border: none;
      border-top: 1px solid var(--border);
      margin: 2.5rem 0;
    }

    /* ========== Header / Theme Toggle ========== */
.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
}

.header-logo {
  height: 40px;          /* adjust if you want bigger/smaller */
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.header-title {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Optional: hide the text on very small screens so the logo has room */
@media (max-width: 380px) {
  .header-title {
    display: none;
  }
}

    .page-header h1 {
      margin: 0;
      font-size: 1.25rem;
      font-weight: 700;
    }

    .theme-toggle {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 50px;
      padding: 0.4rem 0.9rem;
      cursor: pointer;
      font-size: 0.9rem;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 0.4rem;
      transition: background var(--transition);
    }

    .theme-toggle:hover {
      background: var(--border);
    }

    /* ========== Sections ========== */
    .section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 1.5rem 1rem;
    }

    .section-title {
      text-align: center;
      margin: 0 0 1.5rem;
      font-size: clamp(1.4rem, 4vw, 1.9rem);
      font-weight: 700;
      color: var(--text);
    }

    /* ========== Card Grid ========== */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 1rem;
      justify-items: center;
    }

    @media (min-width: 600px) {
      .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.25rem;
      }
    }

	@media (min-width: 1100px) {
		.card-grid {
		grid-template-columns: repeat(7, 1fr);
	  }
	}

    /* ========== Cards ========== */
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--card-radius);
      width: 100%;
      max-width: 180px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform var(--transition), box-shadow var(--transition);
      cursor: pointer;
      text-align: center;
      display: flex;
      flex-direction: column;
    }

    .card:hover,
    .card:focus-within {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .card a {
      display: flex;
      flex-direction: column;
      height: 100%;
      color: inherit;
    }

    .card-image {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: contain;
      background: #fafafa;
      padding: 0.5rem;
    }

    [data-theme="dark"] .card-image {
      background: #2a2a2a;
    }

    .card-content {
      padding: 0.75rem 0.5rem 1rem;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-title {
      font-size: 0.95rem;
      font-weight: 600;
      line-height: 1.3;
      margin: 0;
      color: var(--text);
    }

    /* ========== Angular Material compatibility (if still used) ========== */
    md-card {
      /* styles already handled by .card */
    }

    /* ========== Footer / Copyright area ========== */
    .footer {
      text-align: center;
      padding: 1.5rem 1rem 2.5rem;
      color: var(--text-muted);
      font-size: 0.9rem;
    }