    .belit-workx-v5{
      --navy:#051f3e; --blue:#128bcc; --red:#ed1c27; --white:#ffffff;
      --ink:#071a33; --muted:rgba(5,31,62,.70); --line:rgba(5,31,62,.12);
      --shadow: 0 18px 60px rgba(5,31,62,.10);
      --shadow2: 0 28px 90px rgba(5,31,62,.14);
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color:var(--ink); background:var(--white);
      overflow-x:hidden; isolation:isolate;
    }
    .belit-workx-v5 *{ box-sizing:border-box; }
    .belit-workx-v5 a{ color:inherit; text-decoration:none; }
    .bx5-wrap{ max-width:1240px; margin:0 auto; padding:0 20px; }
    .bx5-sec{ padding:76px 0; }
    @media (max-width: 900px){ .bx5-sec{ padding:58px 0; } }

    /* ===== HERO (copy left + illustration background) ===== */
    .bx5-pagehero{
      position:relative;
      min-height:100vh;
      min-height:100dvh;
      display:flex;
      align-items:flex-start;
      padding:var(--blt-hero-pad-top) 0 var(--blt-hero-pad-bottom);
      background:
        radial-gradient(1100px 520px at 12% -8%, rgba(18,139,204,.20), transparent 58%),
        radial-gradient(900px 480px at 88% 18%, rgba(237,28,39,.08), transparent 62%),
        linear-gradient(180deg, rgba(18,139,204,.05) 0%, rgba(255,255,255,1) 78%);
      border-bottom:1px solid rgba(5,31,62,.08);
      overflow:hidden;
    }
    .bx5-pagehero::before{
      content:"";
      position:absolute; inset:0;
      background-image:
        linear-gradient(rgba(5,31,62,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5,31,62,.04) 1px, transparent 1px);
      background-size:48px 48px;
      mask-image:linear-gradient(180deg, #000 0%, transparent 92%);
      -webkit-mask-image:linear-gradient(180deg, #000 0%, transparent 92%);
      pointer-events:none;
      opacity:.65;
    }
    .bx5-hero-bg{
      position:absolute; inset:0;
      z-index:1;
      pointer-events:none;
      overflow:hidden;
    }
    .bx5-hero-bg-img{
      position:absolute;
      right:0;
      top:50%;
      transform:translateY(-50%);
      width:min(72%, 760px);
      height:auto;
      max-height:min(92%, 420px);
      object-fit:contain;
      object-position:right center;
    }
    .bx5-hero-bg-fade{
      position:absolute; inset:0;
      z-index:1;
      pointer-events:none;
      background:linear-gradient(90deg,
        #fff 0%,
        #fff 28%,
        rgba(255,255,255,.92) 38%,
        rgba(255,255,255,.55) 50%,
        transparent 68%
      );
    }
    .bx5-hero-orbs{
      position:absolute; inset:0;
      pointer-events:none;
      overflow:hidden;
      z-index:0;
    }
    .bx5-orb{
      position:absolute;
      border-radius:50%;
      filter:blur(60px);
      opacity:.55;
    }
    .bx5-orb--blue{
      width:420px; height:420px;
      top:-120px; right:8%;
      background:rgba(18,139,204,.28);
    }
    .bx5-orb--red{
      width:280px; height:280px;
      bottom:-80px; left:6%;
      background:rgba(237,28,39,.14);
    }
    .bx5-pagehero > .bx5-wrap{
      width:100%;
      position:relative;
      z-index:2;
    }
    .bx5-hero-grid{
      position:relative;
      display:flex;
      flex-direction:column;
      gap:clamp(20px, 3vw, 28px);
      width:100%;
    }
    .bx5-hero-copy{
      max-width:min(54ch, 48%);
    }
    @media (max-width: 980px){
      .bx5-hero-copy{ max-width:none; }
      .bx5-hero-bg-img{
        width:min(100%, 520px);
        right:50%;
        transform:translate(50%, -42%);
        top:auto;
        bottom:0;
        opacity:.55;
      }
      .bx5-hero-bg-fade{
        background:linear-gradient(180deg,
          #fff 0%,
          #fff 42%,
          rgba(255,255,255,.75) 58%,
          transparent 78%
        );
      }
    }
    .bx5-hero-copy{
      position:relative;
      display:flex;
      flex-direction:column;
    }
    .bx5-pagehero .bx5-h1{ margin-top:0; }
    .bx5-pagehero .bx5-kicker{
      align-self:center;
      width:fit-content;
      max-width:100%;
    }
    .bx5-kicker{
      display:inline-flex; align-items:center; flex-wrap:wrap; gap:10px;
      padding:10px 16px; border-radius:999px;
      border:1px solid var(--line);
      background:rgba(255,255,255,.82);
      backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
      font-size:13px; font-weight:900;
      color:rgba(5,31,62,.80);
      letter-spacing:.02em;
    }
    .bx5-kicker .dot{
      width:9px; height:9px; border-radius:50%;
      background:var(--red);
      box-shadow:0 0 0 4px rgba(237,28,39,.16);
      animation:bx5-pulse 2.4s ease-in-out infinite;
    }
    .bx5-kicker-sep{
      width:1px; height:14px;
      background:rgba(5,31,62,.16);
    }
    .bx5-kicker-sub{
      font-weight:700;
      color:rgba(5,31,62,.62);
    }
    @keyframes bx5-pulse{
      0%,100%{ box-shadow:0 0 0 4px rgba(237,28,39,.16); }
      50%{ box-shadow:0 0 0 8px rgba(237,28,39,.06); }
    }
    .bx5-pagehero .bx5-h1{
      text-align:left;
      max-width:none;
      margin:0 0 18px;
      color:var(--navy);
      font-size:clamp(42px, 5.4vw, 76px);
      line-height:1.02;
      letter-spacing:-.04em;
    }
    .bx5-accent{
      display:block;
      background:linear-gradient(135deg, var(--blue) 0%, #0a6fa8 45%, var(--navy) 100%);
      -webkit-background-clip:text;
      background-clip:text;
      color:transparent;
    }
    .bx5-lead{
      margin:0;
      max-width:58ch;
      font-size:clamp(17px, 1.35vw, 20px);
      line-height:1.72;
      color:var(--muted);
      font-weight:500;
    }
    .bx5-pagehero .bx5-sub{
      margin:16px 0 0;
      max-width:58ch;
      color:var(--muted);
      line-height:1.72;
      font-size:clamp(15px, 1.15vw, 17px);
      font-weight:500;
    }
    .bx5-hero-nav{
      display:grid;
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:10px;
      width:100%;
      max-width:480px;
      margin-top:clamp(28px, 4vw, 44px);
    }
    @media (max-width: 980px){
      .bx5-hero-nav{ max-width:none; }
    }
    .belit-workx-v5 .bx5-hero-nav-link{
      display:flex; align-items:center; justify-content:center;
      min-height:44px; padding:0 12px;
      border-radius:5px;
      border:1px solid var(--blue);
      background:transparent;
      box-shadow:none;
      font-size:clamp(12px, 1.1vw, 13.5px); font-weight:500;
      color:var(--navy);
      text-align:center;
      transition:border-color .2s ease, background .2s ease, color .2s ease;
    }
    .belit-workx-v5 .bx5-hero-nav-link:hover{
      border-color:var(--blue);
      background:rgba(18,139,204,.06);
      color:var(--navy);
    }
    @media (max-width: 768px){
      .bx5-pagehero{ padding:120px 0 72px; }
      .bx5-pagehero .bx5-h1{ font-size:clamp(36px, 9vw, 52px); }
    }

    /* ===== REVEAL (safe: visible by default; animate only when .bx5-reveal-on exists) ===== */
    .belit-workx-v5 .bx5-reveal{ opacity:1; transform:none; filter:none; }
    .belit-workx-v5.bx5-reveal-on .bx5-observe .bx5-reveal{
      opacity:0;
      transform: translateY(18px) scale(.985);
      filter: blur(10px);
      transition: opacity .85s cubic-bezier(.18,.9,.2,1),
                  transform .85s cubic-bezier(.18,.9,.2,1),
                  filter .85s cubic-bezier(.18,.9,.2,1);
      will-change: opacity, transform, filter;
    }
    .belit-workx-v5.bx5-reveal-on .bx5-observe.bx5-in .bx5-reveal{
      opacity:1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
    @media (prefers-reduced-motion: reduce){
      .belit-workx-v5.bx5-reveal-on .bx5-reveal{
        transition:none !important;
        transform:none !important;
        filter:none !important;
        opacity:1 !important;
      }
    }

    /* ===== Explorer background ===== */
    .bx5-explorerBg{
      background:
        radial-gradient(1000px 560px at 18% 10%, rgba(18,139,204,.10), transparent 62%),
        radial-gradient(900px 520px at 86% 85%, rgba(237,28,39,.06), transparent 62%),
        linear-gradient(180deg, rgba(5,31,62,.02), rgba(255,255,255,1) 62%);
    }

    /* ===== Layout ===== */
    .bx5-explorer{
      display:grid;
      grid-template-columns: 320px 1fr;
      gap:22px;
      align-items:start;
    }
    @media (max-width: 1020px){ .bx5-explorer{ grid-template-columns:1fr; } }

    /* ===== Sidebar (sticky on desktop) ===== */
    .bx5-side{
      position: sticky;
      top: 12px;
      align-self:start;
      height: fit-content;
      padding: 18px 14px;
      border-left: 2px solid rgba(5,31,62,.08);
    }
    @media (max-width:1020px){
      .bx5-side{ position: static; border-left:0; border-top:2px solid rgba(5,31,62,.06); padding:16px 0 0; }
    }

    .bx5-sideTop{
      display:flex; align-items:center; justify-content:space-between; gap:12px;
      margin-bottom: 14px;
    }
    .bx5-sideTop b{
      font-weight:950; color:var(--navy);
      letter-spacing:-.02em; font-size:16px;
    }
    .bx5-reset{
      border:0;
      background: transparent;
      color: rgba(237,28,39,.92);
      font-weight:950;
      font-size:13px;
      cursor:pointer;
      padding:8px 10px;
      border-radius:10px;
      transition: background .18s ease, transform .18s cubic-bezier(.2,.8,.2,1);
    }
    .bx5-reset:hover{ background: rgba(237,28,39,.08); transform: translateY(-1px); }

    .bx5-groupTitle{
      font-size:11px; font-weight:950; letter-spacing:.14em; text-transform:uppercase;
      color: rgba(5,31,62,.55);
      margin: 12px 0 10px;
    }

    /* Category list */
    .bx5-cats{ display:grid; gap:6px; }
    .bx5-cat{
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      padding: 10px 10px 10px 12px;
      border-radius: 14px;
      cursor:pointer; user-select:none;
      border: 1px solid transparent;
      background: transparent;
      transition: background .18s ease, border-color .18s ease, transform .18s cubic-bezier(.2,.8,.2,1);
      position:relative;
    }
    .bx5-cat:hover{ background: rgba(5,31,62,.03); transform: translateY(-1px); }
    .bx5-cat.is-active{
      background: rgba(18,139,204,.08);
      border-color: rgba(18,139,204,.18);
    }
    .bx5-cat .l{ display:flex; align-items:center; gap:10px; min-width:0; }
    .bx5-dot{
      width:10px; height:10px; border-radius:3px;
      background: rgba(18,139,204,.55);
      box-shadow: 0 10px 24px rgba(18,139,204,.14);
      flex:0 0 auto;
    }
    .bx5-cat.is-active .bx5-dot{ background: rgba(237,28,39,.80); box-shadow: 0 12px 28px rgba(237,28,39,.18); }
    .bx5-cat .t{
      font-weight:900;
      color: rgba(5,31,62,.86);
      letter-spacing:-.01em;
      font-size:13px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .bx5-count{
      font-weight:950;
      font-size:12px;
      color: rgba(5,31,62,.60);
      padding-left:10px;
      border-left:1px solid rgba(5,31,62,.10);
      flex:0 0 auto;
    }

    /* Quick filters */
    .bx5-quick{ display:flex; flex-wrap:wrap; gap:10px; }
    .bx5-qBtn{
      border:0;
      background: transparent;
      color: rgba(5,31,62,.72);
      font-weight:950;
      font-size:13px;
      padding:6px 0;
      cursor:pointer;
      position:relative;
      transition: color .18s ease;
    }
    .bx5-qBtn:after{
      content:"";
      position:absolute; left:0; bottom:0;
      width:0%; height:2px;
      background: rgba(237,28,39,.75);
      transition: width .22s cubic-bezier(.2,.8,.2,1);
      border-radius:2px;
    }
    .bx5-qBtn:hover{ color: rgba(5,31,62,.88); }
    .bx5-qBtn.is-on{ color: rgba(5,31,62,.88); }
    .bx5-qBtn.is-on:after{ width:100%; }

    /* ===== Main ===== */
    .bx5-main{
      border-radius: 22px;
      border:1px solid rgba(5,31,62,.10);
      background: rgba(255,255,255,.82);
      box-shadow: var(--shadow);
      overflow:hidden;
    }

    /* 4) Search under title + full width */
    .bx5-mainTop{
      padding: 18px 18px 16px;
      background:
        radial-gradient(600px 260px at 20% 0%, rgba(18,139,204,.10), transparent 65%),
        linear-gradient(180deg, rgba(5,31,62,.02), rgba(255,255,255,.0));
      border-bottom: 1px solid rgba(5,31,62,.08);

      display:flex;
      flex-direction:column;
      align-items:stretch;
      gap:12px;
    }

    .bx5-titleBlock{ min-width: 0; }
    .bx5-mini{
      display:inline-flex; align-items:center; gap:10px;
      font-size:12px; font-weight:950; letter-spacing:.10em; text-transform:uppercase;
      color: rgba(5,31,62,.62);
    }
    .bx5-mini:before{ content:""; width:10px; height:10px; border-radius:3px; background: rgba(18,139,204,.65); }
    .bx5-h2{
      margin:10px 0 0; color:var(--navy); letter-spacing:-.03em;
      font-size:clamp(20px,2.2vw,30px); line-height:1.2;
    }
    .bx5-note{ margin:6px 0 0; color:var(--muted); font-size:14px; line-height:1.65; max-width: 64ch; }

    .bx5-topRow2{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      flex-wrap:wrap;
    }

    .bx5-searchWrap{ position:relative; width:100%; max-width:none; flex: 1 1 auto; }
    .bx5-search{
      width:100%;
      border-radius: 14px;
      border:1px solid rgba(5,31,62,.14);
      background: rgba(255,255,255,.92);
      padding: 14px 14px 14px 44px;
      font-size:14px;
      color:var(--navy);
      outline:none;
      box-shadow:none;
      transition: border-color .2s ease, box-shadow .2s ease, transform .18s cubic-bezier(.2,.8,.2,1);
      -webkit-appearance:none; appearance:none;
    }
    .bx5-search:focus{
      border-color: rgba(18,139,204,.45);
      box-shadow: 0 0 0 6px rgba(18,139,204,.12);
      transform: translateY(-1px);
    }
    .bx5-mag{
      position:absolute; left:14px; top:50%; transform:translateY(-50%);
      width:16px; height:16px; opacity:.68;
    }
    .bx5-mag:before{
      content:""; position:absolute; left:0; top:0;
      width:12px; height:12px; border:2px solid rgba(5,31,62,.55); border-radius:999px;
    }
    .bx5-mag:after{
      content:""; position:absolute; right:-2px; bottom:-1px;
      width:8px; height:2px; background: rgba(5,31,62,.55);
      transform: rotate(45deg); border-radius:2px;
    }

    .bx5-suggest{
      position:absolute;
      left:0; right:0;
      top: calc(100% + 10px);
      border-radius: 16px;
      border:1px solid rgba(5,31,62,.12);
      background: rgba(255,255,255,.96);
      box-shadow: var(--shadow);
      overflow:hidden;
      display:none;
      z-index: 20;
    }
    .bx5-suggest.is-on{ display:block; }
    .bx5-suggest button{
      width:100%;
      border:0;
      background: transparent;
      padding:12px 12px;
      display:flex;
      justify-content:space-between;
      gap:12px;
      align-items:center;
      cursor:pointer;
      text-align:left;
      color: rgba(5,31,62,.86);
      font-weight:900;
      font-size:13px;
      transition: background .18s ease;
    }
    .bx5-suggest button:hover{ background: rgba(18,139,204,.08); }
    .bx5-suggest small{
      font-weight:950;
      font-size:11px;
      color: rgba(5,31,62,.62);
      padding-left:10px;
      border-left:1px solid rgba(5,31,62,.12);
      white-space:nowrap;
    }

    /* View toggle */
    .bx5-view{ display:flex; gap:8px; align-items:center; user-select:none; }
    .bx5-viewBtn{
      border:1px solid rgba(5,31,62,.14);
      background: rgba(255,255,255,.72);
      padding:10px 12px;
      border-radius: 12px;
      cursor:pointer;
      font-weight:950;
      font-size:12px;
      color: rgba(5,31,62,.72);
      transition: transform .18s cubic-bezier(.2,.8,.2,1), border-color .2s ease, box-shadow .2s ease;
    }
    .bx5-viewBtn:hover{ transform: translateY(-1px); box-shadow: 0 16px 40px rgba(5,31,62,.10); }
    .bx5-viewBtn.is-on{
      border-color: rgba(237,28,39,.24);
      background: rgba(237,28,39,.08);
      color: rgba(5,31,62,.86);
    }

    /* 3) Hide grid/list switch on phone */
    @media (max-width: 860px){
      .bx5-view{ display:none !important; }
    }

    .bx5-mainBody{ padding: 18px; }

    .bx5-metaRow{
      display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
      margin-bottom: 14px;
      color: rgba(5,31,62,.62);
      font-size:13px;
    }
    .bx5-metaRow b{ color: var(--navy); font-weight:950; }
    .bx5-metaCount{ font-variant-numeric: tabular-nums; }

    .bx5-activeLine{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
    .bx5-active{
      display:flex; align-items:center; gap:10px;
      padding:10px 12px;
      border-radius: 14px;
      border:1px solid rgba(5,31,62,.12);
      background: rgba(255,255,255,.76);
      font-weight:950;
      color: rgba(5,31,62,.78);
    }
    .bx5-active i{ width:10px; height:10px; border-radius:3px; background: rgba(18,139,204,.65); display:inline-block; }
    .bx5-active .red{ background: rgba(237,28,39,.78); }

    /* ===== Cards ===== */
    .bx5-cards{
      display:grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap:18px;
    }
    @media (max-width: 980px){ .bx5-cards{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
    @media (max-width: 640px){ .bx5-cards{ grid-template-columns: 1fr; } }

    /* force “list mode” on phone (since toggle is hidden) */
    @media (max-width: 860px){
      .bx5-cards{ grid-template-columns: 1fr; }
    }

    .bx5-cards.is-list{ grid-template-columns: 1fr; }

    /* Pagination */
    .bx5-pagination{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      flex-wrap:wrap;
      margin-top:22px;
      padding-top:18px;
      border-top:1px solid rgba(5,31,62,.10);
    }
    .bx5-perPage{
      display:flex;
      align-items:center;
      gap:10px;
      font-size:13px;
      font-weight:800;
      color: rgba(5,31,62,.68);
    }
    .bx5-perPageSelect{
      border:1px solid rgba(5,31,62,.14);
      background: rgba(255,255,255,.82);
      padding:9px 32px 9px 12px;
      border-radius:12px;
      font-weight:950;
      font-size:13px;
      color: rgba(5,31,62,.86);
      cursor:pointer;
      appearance:none;
      background-image: linear-gradient(45deg, transparent 50%, rgba(5,31,62,.55) 50%), linear-gradient(135deg, rgba(5,31,62,.55) 50%, transparent 50%);
      background-position: calc(100% - 16px) calc(50% + 2px), calc(100% - 11px) calc(50% + 2px);
      background-size: 5px 5px, 5px 5px;
      background-repeat: no-repeat;
    }
    .bx5-pages{
      display:flex;
      align-items:center;
      gap:8px;
    }
    .bx5-pageNums{
      display:flex;
      align-items:center;
      gap:6px;
      flex-wrap:wrap;
    }
    .bx5-pageBtn{
      min-width:38px;
      height:38px;
      padding:0 10px;
      border:1px solid rgba(5,31,62,.14);
      background: rgba(255,255,255,.76);
      border-radius:12px;
      cursor:pointer;
      font-weight:950;
      font-size:13px;
      color: rgba(5,31,62,.78);
      transition: transform .18s cubic-bezier(.2,.8,.2,1), border-color .2s ease, box-shadow .2s ease;
    }
    .bx5-pageBtn:hover:not(:disabled){
      transform: translateY(-1px);
      box-shadow: 0 16px 40px rgba(5,31,62,.10);
    }
    .bx5-pageBtn.is-on{
      border-color: rgba(237,28,39,.24);
      background: rgba(237,28,39,.08);
      color: rgba(5,31,62,.9);
    }
    .bx5-pageBtn:disabled{
      opacity:.4;
      cursor:not-allowed;
    }
    .bx5-pageBtn--nav{ font-size:18px; line-height:1; }
    .bx5-pageEllipsis{
      min-width:24px;
      text-align:center;
      color: rgba(5,31,62,.45);
      font-weight:900;
    }
    @media (max-width: 640px){
      .bx5-pagination{ flex-direction:column; align-items:stretch; }
      .bx5-pages{ justify-content:center; }
      .bx5-perPage{ justify-content:center; }
    }

    .bx5-card{
      border-radius: 22px;
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(5,31,62,.10);
      box-shadow: var(--shadow);
      overflow:hidden;
      position:relative;
      transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease;
      will-change: transform;
    }
    .bx5-card:hover{
      transform: translateY(-5px);
      box-shadow: var(--shadow2);
      border-color: rgba(18,139,204,.20);
    }

    .bx5-cardInner{ display:grid; grid-template-rows: 150px auto; }
    .bx5-cards.is-list .bx5-cardInner{
      grid-template-rows: auto;
      grid-template-columns: 320px 1fr;
      min-height: 190px;
    }
    @media (max-width: 720px){
      .bx5-cards.is-list .bx5-cardInner{ grid-template-columns: 1fr; }
    }

    .bx5-thumb{
      height:150px;
      background:
        linear-gradient(180deg, rgba(5,31,62,.06), rgba(5,31,62,.44)),
        url('https://belit-ver2.medantemplate.rs/wp-content/uploads/2026/02/computer-room-with-computer-monitors-wall-scaled.jpg') center/cover no-repeat;
      position:relative;
      overflow:hidden;
    }
    .bx5-card:nth-child(3n+2) .bx5-thumb{
      background:
        linear-gradient(180deg, rgba(5,31,62,.05), rgba(5,31,62,.44)),
        url('https://belit-ver2.medantemplate.rs/wp-content/uploads/2026/02/439879.jpg') center/cover no-repeat;
    }
    .bx5-card:nth-child(3n) .bx5-thumb{
      background:
        linear-gradient(180deg, rgba(5,31,62,.05), rgba(5,31,62,.44)),
        url('https://belit-ver2.medantemplate.rs/wp-content/uploads/2026/02/128685-1.jpg') center/cover no-repeat;
    }

    .bx5-thumb:after{
      content:"";
      position:absolute;
      inset:-40%;
      background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.22) 45%, transparent 58%);
      transform: translateX(-60%) rotate(8deg);
      transition: transform .65s cubic-bezier(.2,.8,.2,1);
      pointer-events:none;
      opacity:0;
    }
    .bx5-card:hover .bx5-thumb:after{
      transform: translateX(40%) rotate(8deg);
      opacity:1;
    }

    /* Category sits in the bottom-left corner of the cover image as plain
       uppercase text. Drop shadow keeps it legible without a pill. */
    .bx5-label{
      position:absolute; left:16px; bottom:14px;
      display:inline-block;
      color:#fff;
      font-size:11.5px; font-weight:800;
      letter-spacing:.16em; text-transform:uppercase;
      text-shadow: 0 1px 2px rgba(5,31,62,.45), 0 6px 18px rgba(5,31,62,.35);
      max-width: calc(100% - 32px);
      overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
    }

    .bx5-body{ padding: 14px 16px 16px; }
    .bx5-name{
      margin: 2px 0 8px;
      font-size: 16px;
      line-height: 1.35;
      letter-spacing: -.01em;
      color: var(--navy);
      font-weight: 950;
    }
    .bx5-desc{
      margin:0;
      color: rgba(5,31,62,.70);
      font-size: 13px;
      line-height: 1.75;
      max-width: 68ch;
      /* Cap description at three lines so all cards align on the grid. */
      display:-webkit-box;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
      line-clamp:3;
      overflow:hidden;
      min-height: calc(1.75em * 3);
    }

    .bx5-foot{
      margin-top: 14px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }
    .bx5-go{
      display:inline-flex; align-items:center; gap:10px;
      font-weight:950; font-size:13px;
      color: rgba(5,31,62,.78);
      padding:10px 12px;
      border-radius: 12px;
      border:1px solid rgba(5,31,62,.12);
      background: rgba(255,255,255,.88);
      transition: transform .18s cubic-bezier(.2,.8,.2,1), border-color .2s ease, box-shadow .2s ease;
      white-space:nowrap;
    }
    .bx5-card:hover .bx5-go{
      transform: translateY(-1px);
      border-color: rgba(237,28,39,.22);
      box-shadow: 0 18px 46px rgba(5,31,62,.10);
    }
    .bx5-arr{
      width:10px; height:10px;
      border-right:2px solid currentColor;
      border-bottom:2px solid currentColor;
      transform: rotate(-45deg);
      margin-top:-1px;
      opacity:.9;
    }

    /* Inline meta row: technology tags as plain uppercase text separated by
       middle dots. Keeps card height constant regardless of tag count. */
    .bx5-meta{
      margin: 10px 0 0;
      display:flex; flex-wrap:wrap; align-items:center;
      gap: 6px 8px;
      color: rgba(5,31,62,.62);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
      line-height: 1.4;
    }
    .bx5-meta-item{ white-space:nowrap; }
    .bx5-meta-sep{ color: rgba(5,31,62,.30); }
    .bx5-meta-more{
      color: rgba(18,139,204,.95);
      font-weight: 900;
      letter-spacing: .04em;
      padding: 2px 6px;
      border-radius: 6px;
      background: rgba(18,139,204,.10);
    }

    /* Legacy tag pills - kept hidden in case the markup lingers in a cache. */
    .bx5-tags{ display:none; }

    /* Empty state */
    .bx5-empty{
      display:none;
      text-align:center;
      color: rgba(5,31,62,.64);
      margin:18px auto 0;
      padding:16px 18px;
      max-width: 760px;
      border-radius: 16px;
      border:1px dashed rgba(5,31,62,.18);
      background: rgba(5,31,62,.02);
    }
    .bx5-empty.is-on{ display:block; }

    /* ===== NEWS ===== */
    .bx5-newsBg{
      background:
        radial-gradient(900px 520px at 80% 10%, rgba(18,139,204,.12), transparent 60%),
        radial-gradient(900px 520px at 10% 80%, rgba(237,28,39,.08), transparent 62%),
        linear-gradient(180deg, rgba(5,31,62,.02), rgba(255,255,255,1) 60%);
      border-top: 1px solid rgba(5,31,62,.08);
    }

    /* 5) Align news header to same left as cards (no centered/max-width block) */
    .bx5-newsHead{
      display:flex; justify-content:space-between; gap:16px; align-items:flex-end; flex-wrap:wrap;
      margin: 0 0 18px;
      max-width:none;
    }

    .bx5-newsMini{
      display:inline-flex; align-items:center; gap:10px;
      font-size:12px; font-weight:950; letter-spacing:.10em;
      text-transform:uppercase; color: rgba(5,31,62,.62);
    }
    .bx5-newsMini:before{ content:""; width:10px; height:10px; border-radius:3px; background: rgba(237,28,39,.70); }
    .bx5-newsTitleBig{
      margin:12px 0 6px;
      font-size:clamp(24px, 2.4vw, 36px);
      letter-spacing:-.03em;
      color: var(--navy);
      line-height:1.15;
    }
    .bx5-newsDescBig{
      margin:0;
      color: var(--muted);
      line-height:1.85;
      font-size: clamp(14px, 1.1vw, 16px);
    }
    .bx5-newsGrid{
      margin-top:12px;
      display:grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap:18px;
    }
    @media (max-width: 1020px){ .bx5-newsGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
    @media (max-width: 640px){ .bx5-newsGrid{ grid-template-columns: 1fr; } }

    .bx5-news{
      border-radius: 22px;
      border:1px solid rgba(5,31,62,.10);
      background: rgba(255,255,255,.92);
      box-shadow: var(--shadow);
      overflow:hidden;
      transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease;
      min-height: 280px;
    }
    .bx5-news:hover{
      transform: translateY(-5px);
      box-shadow: var(--shadow2);
      border-color: rgba(18,139,204,.20);
    }
    .bx5-newsThumb{
      height:150px;
      background:
        linear-gradient(180deg, rgba(5,31,62,.05), rgba(5,31,62,.40)),
        url('https://belit-ver2.medantemplate.rs/wp-content/uploads/2026/02/124027.jpg') center/cover no-repeat;
      position:relative;
    }
    .bx5-news:nth-child(2) .bx5-newsThumb{
      background:
        linear-gradient(180deg, rgba(5,31,62,.05), rgba(5,31,62,.40)),
        url('https://belit-ver2.medantemplate.rs/wp-content/uploads/2026/02/439879.jpg') center/cover no-repeat;
    }
    .bx5-news:nth-child(3) .bx5-newsThumb{
      background:
        linear-gradient(180deg, rgba(5,31,62,.05), rgba(5,31,62,.40)),
        url('https://belit-ver2.medantemplate.rs/wp-content/uploads/2026/02/128685-1.jpg') center/cover no-repeat;
    }
    .bx5-newsBody{ padding:14px 16px 16px; }
    .bx5-newsTitle{
      margin:2px 0 8px;
      font-size:16px; line-height:1.35;
      letter-spacing:-.01em;
      color: var(--navy);
      font-weight:950;
    }
    .bx5-newsDesc{ margin:0; color: rgba(5,31,62,.70); font-size:13px; line-height:1.75; }

    @media (prefers-reduced-motion: reduce){
      .bx5-thumb:after{ display:none !important; }
    }

/* Single project layout. */
.belit-workx-v5 .blt-project__media{
	border-radius: 26px;
	overflow: hidden;
	box-shadow: var(--shadow);
	margin-bottom: 24px;
}
.belit-workx-v5 .blt-project__media img{
	display: block;
	width: 100%;
	height: auto;
}
.belit-workx-v5 .blt-project__layout{
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 28px;
	align-items: start;
}
@media (max-width: 900px){
	.belit-workx-v5 .blt-project__layout{ grid-template-columns: 1fr; }
}
.belit-workx-v5 .blt-project__body{
	color: var(--ink);
	font-size: 15px;
	line-height: 1.85;
}
.belit-workx-v5 .blt-project__body h2,
.belit-workx-v5 .blt-project__body h3{
	color: var(--navy);
	letter-spacing: -.02em;
	margin: 28px 0 12px;
}
.belit-workx-v5 .blt-project__body p{ margin: 0 0 14px; }
.belit-workx-v5 .blt-project__meta{
	border-radius: 22px;
	border: 1px solid rgba(5,31,62,.10);
	background: rgba(255,255,255,.92);
	box-shadow: var(--shadow);
	padding: 18px;
	position: sticky;
	top: 20px;
}
.belit-workx-v5 .blt-project__meta dl{ margin: 0; }
.belit-workx-v5 .blt-project__meta dt{
	font-size: 11px;
	font-weight: 950;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(5,31,62,.60);
	margin-top: 14px;
}
.belit-workx-v5 .blt-project__meta dt:first-child{ margin-top: 0; }
.belit-workx-v5 .blt-project__meta dd{
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--navy);
	font-weight: 700;
	line-height: 1.5;
}
.belit-workx-v5 .blt-project__back{
	display: inline-flex;
	margin-top: 22px;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid rgba(5,31,62,.12);
	background: rgba(255,255,255,.85);
	font-weight: 950;
	font-size: 13px;
	color: var(--navy);
}
.belit-workx-v5 .blt-project__back:hover{ border-color: rgba(237,28,39,.22); }
