:root{
    --bg: #f6f7fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
  
    --border: rgba(15, 23, 42, .10);
    --shadow: 0 18px 45px rgba(15, 23, 42, .08);
    --shadow2: 0 10px 30px rgba(15, 23, 42, .10);
  
    /* Accent paliek, bet nelietojam kā klasisku "zilo href" */
    --accent: #4f46e5;
    --accent2: rgba(79,70,229,.10);
  
    --ring: rgba(99,102,241,.22);
  }
  
  *{ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  
  body{
    background:
      radial-gradient(1200px 400px at 20% 0%, rgba(99,102,241,.10), transparent 55%),
      radial-gradient(900px 380px at 90% 10%, rgba(16,185,129,.08), transparent 60%),
      var(--bg);
    color: var(--text);
  }
  
  /* ===== Links (NO classic blue/underline) ===== */
  a{
    color: var(--text);
    text-decoration: none;
    border-radius: 10px;
    transition: color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease;
  }
  
  a:hover{
    color: var(--accent);
    background: var(--accent2);
  }
  
  a:active{
    transform: translateY(0.5px);
  }
  
  a:focus{ outline:none; }
  a:focus-visible{
    box-shadow: 0 0 0 4px var(--ring);
  }
  
  /* Card links keep clean (no pill bg) */
  a.card-link{
    background: transparent !important;
    color: inherit;
    border-radius: 20px;
  }
  
  /* Buttons shouldn't inherit link hover bg */
  a.btn{
    background: unset;
  }
  
  /* Navbar */
  .navbar{ backdrop-filter: blur(8px); }
  
  .brand-dot{
    width:12px; height:12px; border-radius:999px;
    background: radial-gradient(circle at 30% 30%, #111827, #94a3b8);
    display:inline-block;
  }
  
  .hero{
    background: linear-gradient(#fff, #fff);
    border-bottom: 1px solid var(--border);
  }
  
  /* Search */
  .search-input{
    width: 340px;
    border-radius: 999px;
    padding-left: 14px;
    border: 1px solid var(--border);
  }
  .search-input:focus{
    border-color: rgba(79,70,229,.35);
    box-shadow: 0 0 0 4px var(--ring);
  }
  
  /* ===== Breadcrumb – modern chip ===== */
  .breadcrumb{
    background: rgba(255,255,255,.78);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
  }
  
  .breadcrumb .breadcrumb-item + .breadcrumb-item::before{
    color: rgba(100,116,139,.65);
  }
  
  .breadcrumb a{
    color: rgba(15,23,42,.88);
    font-weight: 700;
    padding: 4px 10px;          /* padara par "pill" */
    border-radius: 999px;
  }
  
  .breadcrumb a:hover{
    color: var(--accent);
    background: rgba(79,70,229,.10);
  }
  
  .breadcrumb .active{
    color: rgba(15,23,42,.72);
    font-weight: 800;
  }
  
  /* ===== Cards ===== */
  .card-soft{
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 18px;
    overflow: hidden;
  }
  
  .cover{
    aspect-ratio: 16/10;
    width: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(148,163,184,.30), rgba(15,23,42,.04));
  }
  
  .item-grid{
    display:grid;
    grid-template-columns: repeat(1, minmax(0,1fr));
    gap: 16px;
  }
  @media (min-width: 576px){
    .item-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  }
  @media (min-width: 992px){
    .item-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  }
  
  .card-hover{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .card-hover:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow2);
    border-color: rgba(79,70,229,.18);
  }
  
  /* ===== Badges ===== */
  .badge-soft{
    background: rgba(15, 23, 42, .06);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, .10);
    font-weight: 700;
  }
  
  .badge-green{
    background: rgba(16,185,129,.12);
    color: #065f46;
    border: 1px solid rgba(16,185,129,.22);
  }
  
  .badge-red{
    background: rgba(239,68,68,.10);
    color: #7f1d1d;
    border: 1px solid rgba(239,68,68,.20);
  }
  
  /* ===== Gallery ===== */
  .gallery{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
  }
  @media (min-width: 768px){
    .gallery{ grid-template-columns: repeat(4, minmax(0,1fr)); }
  }
  .gallery a{
    display:block;
    border-radius: 14px;
    overflow:hidden;
    border:1px solid var(--border);
    background: transparent;
  }
  .gallery img{
    width:100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display:block;
    transition: transform .18s ease;
  }
  .gallery a:hover img{ transform: scale(1.02); }
  
  /* ===== List group (Faili) ===== */
  .list-group-item{
    border-color: rgba(15,23,42,.08);
  }
  
  .list-group-item-action{
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background-color .12s ease;
    border-radius: 14px;
    margin-bottom: 8px;
  }
  
  .list-group-item-action:hover{
    background: rgba(15,23,42,.03);
    border-color: rgba(79,70,229,.20);
  }
  
  .list-group-item-action:active{
    transform: scale(.995);
  }
  
  /* Little polish */
  .lead{ color: rgba(15,23,42,.62) !important; }
  .text-muted{ color: rgba(15,23,42,.55) !important; }
  