/* ==========================================================================
   Pakdis — tenders & auctions (list + single). Hero, .fb-card, .fb-aside,
   fields and .link-arrow come from css/feedback.css and css/style.css.
   ========================================================================== */
.tn { padding-block: 72px 110px; }
.tn [hidden] { display: none !important; }

/* Badge: a shield stamp, as on the old site, in the identity's colours */
.tn-badge { position: relative; flex: none; display: grid; place-items: center; width: 86px; height: 98px; }
.tn-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tn-badge b { position: relative; z-index: 1; margin-top: -6px; font-size: 17px; font-weight: 900; line-height: 1; text-align: center; }
.tn-badge--ten svg path:first-child { fill: var(--purple); } .tn-badge--ten svg .in { fill: none; stroke: var(--gold); stroke-width: 1.5; } .tn-badge--ten b { color: #fff; }
.tn-badge--auc svg path:first-child { fill: var(--gold); } .tn-badge--auc svg .in { fill: none; stroke: var(--purple-deep); stroke-width: 1.5; opacity: .55; } .tn-badge--auc b { color: var(--purple-deep); }
.tn-badge--inq svg path:first-child { fill: #fff; stroke: var(--purple); stroke-width: 2; } .tn-badge--inq svg .in { fill: none; stroke: var(--gold); stroke-width: 1.5; } .tn-badge--inq b { color: var(--purple); }

/* List */
.tn-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid rgb(68 47 114 / .1); }
.tn-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tn-chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--purple); background: #fff; border: 1.5px solid rgb(68 47 114 / .2); border-radius: 9px 9px 9px 16px; cursor: pointer; transition: all .25s var(--ease); }
.tn-chip i { font-style: normal; font-size: 12.5px; padding: 1px 8px; border-radius: 10px; background: rgb(187 167 96 / .25); }
.tn-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.tn-chip.is-on { color: #fff; background: var(--purple); border-color: var(--purple); }
.tn-chip.is-on i { color: var(--purple-deep); background: var(--gold); }
.tn-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tn-count { margin: 0; font-size: 14.5px; font-weight: 300; color: var(--grey-600, #666); }
.tn-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.tn-item__link { position: relative; display: flex; align-items: center; gap: 28px; padding: 24px 32px; background: #fff; border: 1.5px solid rgb(68 47 114 / .14); border-radius: 9px 9px 36px 9px; box-shadow: 0 24px 44px -36px rgb(17 7 53 / .5); transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.tn-item__link::before { content: ""; position: absolute; inset-block: 24px; inset-inline-start: -1.5px; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold), rgb(187 167 96 / 0)); opacity: 0; transition: opacity .3s var(--ease); }
.tn-item__link:hover { transform: translateY(-4px); border-color: rgb(187 167 96 / .8); box-shadow: 0 30px 50px -30px rgb(17 7 53 / .6); }
.tn-item__link:hover::before { opacity: 1; }
.tn-item__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.tn-item__body { flex: 1; min-width: 0; }
.tn-item__title { margin: 0; font-size: 21px; font-weight: 900; line-height: 1.6; color: var(--purple); }
.tn-item__desc { margin: 6px 0 0; font-size: 16px; font-weight: 300; line-height: 1.95; color: #4b4560; }
.tn-item__meta, .tn-art__date { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 12px 0 0; font-size: 14px; color: var(--purple); }
.tn-item__meta svg, .tn-art__date svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tn-item__time { color: var(--grey-600, #666); font-weight: 300; }
.tn-item__go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 15px; font-weight: 700; color: var(--purple); border: 1.5px solid var(--gold); border-radius: 8px 8px 8px 16px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tn-item__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tn-item__link:hover .tn-item__go { background: var(--gold); color: var(--purple-deep); }
.tn-empty { margin-top: 24px; }
.tn-pages { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.tn-pages a, .tn-pages span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; font-weight: 700; color: var(--purple); border: 1.5px solid rgb(68 47 114 / .18); border-radius: 8px 8px 8px 14px; background: #fff; transition: all .25s var(--ease); }
.tn-pages span { border: 0; background: none; }
.tn-pages a:hover { border-color: var(--gold); }
.tn-pages a.is-cur { color: #fff; background: var(--purple); border-color: var(--purple); }
.tn-pages svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Single */
.tn-one__grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.tn-art__head { display: flex; align-items: center; gap: 26px; padding-bottom: 26px; border-bottom: 1px solid rgb(68 47 114 / .1); }
.tn-art__date { margin-top: 10px; }
.tn-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.tn-facts li { display: grid; gap: 4px; padding: 14px 16px; border: 1.5px solid rgb(187 167 96 / .5); border-radius: 9px 9px 9px 18px; background: rgb(187 167 96 / .07); }
.tn-facts span { font-size: 13px; font-weight: 300; color: var(--grey-600, #666); }
.tn-facts b { font-size: 16.5px; font-weight: 700; color: var(--purple); }
.tn-art__text { margin-top: 30px; font-size: 17.5px; line-height: 2.3; color: #2f2a40; transition: font-size .2s var(--ease); }
.tn-art__text p { margin: 0 0 16px; text-align: justify; }
.tn-art__text a { color: var(--purple); font-weight: 700; border-bottom: 1px solid var(--gold); }
.tn-art__sub { margin: 34px 0 14px; font-size: 19px; font-weight: 900; color: var(--purple); }
.tn-files { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tn-file { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1.5px solid rgb(68 47 114 / .16); border-radius: 9px 9px 9px 20px; background: #fbfaf7; transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease); }
.tn-file:hover { border-color: var(--gold); background: #fff; transform: translateY(-2px); }
.tn-file:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tn-file__ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; color: var(--gold); background: var(--purple); border-radius: 9px 9px 9px 16px; }
.tn-file__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tn-file__t { flex: 1; font-size: 16.5px; font-weight: 700; color: var(--purple); }
.tn-file__t small { display: block; font-size: 13px; font-weight: 300; color: var(--grey-600, #666); }
.tn-file__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; font-size: 14.5px; font-weight: 700; color: var(--purple); border: 1.5px solid var(--gold); border-radius: 8px 8px 8px 16px; transition: all .25s var(--ease); }
.tn-file__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tn-file:hover .tn-file__btn { background: var(--gold); color: var(--purple-deep); }
.tn-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgb(68 47 114 / .1); }
.tn-tool { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--purple); background: #fff; border: 1.5px solid rgb(68 47 114 / .2); border-radius: 8px 8px 8px 14px; cursor: pointer; transition: border-color .25s var(--ease); }
.tn-tool:hover { border-color: var(--gold); }
.tn-tool svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tn-tool--size { gap: 12px; padding: 4px 12px; }
.tn-tool--size button { width: 28px; height: 28px; font: inherit; font-size: 18px; font-weight: 900; color: var(--purple); border-radius: 6px; cursor: pointer; }
.tn-tool--size button:hover { background: rgb(187 167 96 / .25); }
.tn-tool:focus-visible, .tn-tool--size button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.tn-side { display: grid; gap: 22px; position: sticky; top: 120px; }
.tn-side__card { padding: 34px 28px 28px; }
.tn-side__card .fb-aside__title { font-size: 21px; }
.tn-rel { display: grid; gap: 4px; margin: 18px 0 0; padding: 0; list-style: none; }
.tn-rel a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 8px 8px 8px 14px; border: 1px solid transparent; color: #fff; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.tn-rel a:hover { background: rgb(255 255 255 / .08); border-color: rgb(187 167 96 / .5); }
.tn-mini { flex: none; padding: 3px 10px; font-size: 12.5px; font-weight: 900; border-radius: 6px 6px 6px 10px; color: var(--purple-deep); background: var(--gold); }
.tn-mini--ten { color: #fff; background: rgb(255 255 255 / .18); }
.tn-rel__t { font-size: 15px; font-weight: 700; line-height: 1.7; }
.tn-rel__t small { display: block; font-size: 12.5px; font-weight: 300; color: var(--gold); }
.tn-help { padding: 24px 26px; border: 1.5px solid rgb(187 167 96 / .55); border-radius: 9px 9px 32px 9px; background: rgb(187 167 96 / .08); }
.tn-help h3 { margin: 0; font-size: 18px; font-weight: 900; color: var(--purple); }
.tn-help p { margin: 6px 0 12px; font-size: 15px; font-weight: 300; color: var(--grey-600, #666); }
.tn-help a { font-size: 20px; font-weight: 900; color: var(--purple); border-bottom: 2px solid var(--gold); }

@media (max-width: 1100px) { .tn-one__grid { grid-template-columns: 1fr; } .tn-side { position: static; } .tn-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tn-item__link { flex-wrap: wrap; gap: 16px 20px; padding: 22px 22px; }
  .tn-item__body { flex-basis: calc(100% - 110px); }
  .tn-item__go { margin-inline-start: auto; }
}
@media (max-width: 620px) {
  .tn { padding-block: 48px 80px; }
  .tn-badge { width: 70px; height: 80px; } .tn-badge b { font-size: 14px; }
  .tn-item__body { flex-basis: calc(100% - 90px); } .tn-item__title { font-size: 18px; } .tn-item__desc { font-size: 15px; }
  .tn-item__go { width: 100%; justify-content: center; }
  .tn-art__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tn-facts { gap: 10px; } .tn-art__text { font-size: 16.5px; line-height: 2.1; }
  .tn-file { flex-wrap: wrap; } .tn-file__btn { margin-inline-start: auto; }
  .tn-chip { padding: 9px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .tn * { transition: none !important; } }
@media print { .tn-side, .tn-tools, .tn-bar, .tn-pages, .tn-file__btn, .tn-item__go { display: none; } .tn-one__grid { grid-template-columns: 1fr; } }
