/* WorkTrip – karta oferty v2 (zastępuje wt-offer.css) */

/* ---------- zdjęcie + plakietki ---------- */
.wt-media{position:relative}
.post-gallery .img-main{display:block;width:100%;height:auto;background:#eceaf7}

.wt-flag{
  position:absolute;left:12px;top:12px;z-index:20;
  display:flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.95);border-radius:999px;
  padding:6px 12px 6px 8px;font-size:13px;font-weight:700;line-height:1;color:#1d1f33;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.wt-flag img{border-radius:3px;display:block}

.wt-new{
  position:absolute;right:12px;top:12px;z-index:20;
  background:#5b57c9;color:#fff;border-radius:999px;
  padding:6px 12px;font-size:12px;font-weight:700;line-height:1;
}

/* ---------- treść ---------- */
.wt-offer{padding:16px 16px 4px;color:#1d1f33}
.wt-offer--compact{padding:0}

.wt-title{
  margin:0 0 6px;padding:0 !important;text-align:left !important;
  font-size:1.25rem;line-height:1.3;font-weight:800;color:#14151f;
}

.wt-byline{
  display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;
  margin-bottom:12px;font-size:.85rem;color:#5d6078;
}
.wt-byline svg{flex:none;margin-right:-8px}
.wt-byline span{white-space:nowrap}
.post-gallery img.img-main[width][height]{height:auto;aspect-ratio:1200/630}

.wt-meta-list{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.wt-meta-list:empty{display:none}
.wt-meta{font-size:.9rem;line-height:1.4;color:#3a3d54}
.wt-meta-k{font-weight:700;color:#5d6078;margin-right:6px}
.wt-meta-k::after{content:":"}

.wt-salary{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;
  background:#ecfaf1;border-radius:12px;padding:10px 14px;margin-bottom:12px;
}
.wt-salary-k{font-size:.75rem;font-weight:600;color:#1b7a43}
.wt-salary-v{font-size:1.2rem;font-weight:800;color:#14663a}
.wt-salary-u{font-size:.8rem;color:#1b7a43}

.wt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.wt-chip{
  font-size:.8rem;font-weight:600;line-height:1;
  background:#f0f1f6;color:#4a4d63;border-radius:999px;padding:7px 12px;
}
.wt-chip--country,.wt-chip--contract{background:#eeedfb;color:#3f3ba8}
.wt-chip--ok{background:#e5f6fa;color:#0b6b82}
.wt-chip--warn{background:#fff3e0;color:#9a5a00}

.wt-desc{margin:0 0 8px;padding:0 !important;font-size:.92rem;line-height:1.55;color:#3a3d54;text-align:left}
.wt-desc *{text-align:left}
.wt-desc-title{font-weight:700;margin-bottom:2px;color:#14151f}
.wt-more{display:inline-block;margin-top:4px;font-weight:700;text-decoration:none;color:#5b57c9}

/* ---------- przyciski ---------- */
.wt-actions{
  display:flex;align-items:flex-start;gap:12px;
  margin:12px 16px 0;padding:14px 0 16px;border-top:1px solid #ececf4;
}
.wt-offer--compact + .wt-actions{margin-left:0;margin-right:0}

.wt-btn{
  min-height:48px;padding:0 18px;border-radius:12px;
  font-size:.95rem;font-weight:700;
  background:#5b57c9;border-color:#5b57c9;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
}
.wt-btn:hover,.wt-btn:focus{background:#4a46b8;border-color:#4a46b8;color:#fff}
.wt-btn[disabled]{opacity:.55}

.wt-contact{flex:1;display:flex;flex-direction:column;gap:4px}
.wt-contact .wt-btn{width:100%}
.wt-contact-note{font-size:.7rem;color:#6c757d}
.wt-actions > .wt-btn:only-of-type{flex:1}

.wt-share{
  flex:none;width:48px;height:48px;padding:0;margin-left:auto;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #dcdcec;border-radius:12px;background:#fff;color:#4a4d63;
}
.wt-share i{font-size:1.2rem;line-height:1}

/* ---------- szkielet ładowania listy ---------- */
.wt-skel{overflow:hidden;border-radius:18px}
.wt-skel-img{aspect-ratio:1200/630;background:#eceaf7}
.wt-skel-body{padding:16px}
.wt-skel-line{height:14px;border-radius:7px;background:#eceaf7;margin-bottom:10px}
.wt-skel-img,.wt-skel-line{
  background-image:linear-gradient(90deg,#eceaf7 0,#f6f5fd 50%,#eceaf7 100%);
  background-size:200% 100%;animation:wtShimmer 1.2s linear infinite;
}
@keyframes wtShimmer{to{background-position:-200% 0}}
