/* V2.7.13 — Polish tournament archive cards: cleaner proportions, equalized content blocks, aligned CTAs. */
body.post-type-archive-wpk_event #site-main .card-grid,
body.archive.post-type-archive-wpk_event #site-main .card-grid{
  align-items:stretch!important;
}
body.post-type-archive-wpk_event #site-main .card,
body.archive.post-type-archive-wpk_event #site-main .card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#17324a 0%,#132c42 100%)!important;
  border:1px solid rgba(100,151,186,.55)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.18)!important;
}
body.post-type-archive-wpk_event #site-main .card-photo,
body.archive.post-type-archive-wpk_event #site-main .card-photo{
  display:block!important;
  height:228px!important;
  min-height:228px!important;
  max-height:228px!important;
  overflow:hidden!important;
  border-radius:0!important;
  background:#102335!important;
}
body.post-type-archive-wpk_event #site-main .card-photo img,
body.archive.post-type-archive-wpk_event #site-main .card-photo img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.post-type-archive-wpk_event #site-main .card-content,
body.archive.post-type-archive-wpk_event #site-main .card-content{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  padding:18px 18px 16px!important;
  min-height:auto!important;
}
body.post-type-archive-wpk_event #site-main .card-content .eyebrow,
body.archive.post-type-archive-wpk_event #site-main .card-content .eyebrow{
  display:block!important;
  margin:0 0 10px!important;
  min-height:14px!important;
  font-size:10px!important;
  letter-spacing:.17em!important;
  color:#d8c08a!important;
}
body.post-type-archive-wpk_event #site-main .card-content h3,
body.archive.post-type-archive-wpk_event #site-main .card-content h3{
  width:100%!important;
  margin:0 0 10px!important;
  min-height:58px!important;
  line-height:1.28!important;
  font-size:clamp(15px,1.35vw,18px)!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
body.post-type-archive-wpk_event #site-main .card-content h3 a,
body.archive.post-type-archive-wpk_event #site-main .card-content h3 a{
  color:#f4f8fc!important;
}
body.post-type-archive-wpk_event #site-main .card-content p,
body.archive.post-type-archive-wpk_event #site-main .card-content p{
  width:100%!important;
  margin:0 0 12px!important;
  min-height:44px!important;
  line-height:1.55!important;
  color:#bfd0de!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
body.post-type-archive-wpk_event #site-main .card-meta,
body.archive.post-type-archive-wpk_event #site-main .card-meta{
  display:grid!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  min-height:70px!important;
  color:#d6e2ec!important;
}
body.post-type-archive-wpk_event #site-main .card-meta span,
body.archive.post-type-archive-wpk_event #site-main .card-meta span{
  display:flex!important;
  align-items:flex-start!important;
  gap:6px!important;
  line-height:1.5!important;
}
body.post-type-archive-wpk_event #site-main .card-bottom,
body.archive.post-type-archive-wpk_event #site-main .card-bottom{
  width:100%!important;
  margin-top:auto!important;
  padding-top:14px!important;
  border-top:1px solid rgba(117,154,183,.28)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
}
body.post-type-archive-wpk_event #site-main .card-bottom .chip,
body.archive.post-type-archive-wpk_event #site-main .card-bottom .chip{
  min-width:112px!important;
  padding-left:10px!important;
  padding-right:10px!important;
  margin-right:auto!important;
  text-align:center!important;
}
body.post-type-archive-wpk_event #site-main .card-bottom .text-link,
body.archive.post-type-archive-wpk_event #site-main .card-bottom .text-link{
  min-width:100px!important;
  padding-left:14px!important;
  padding-right:14px!important;
  margin-left:auto!important;
}
@media (max-width:1180px){
  body.post-type-archive-wpk_event #site-main .card-photo,
  body.archive.post-type-archive-wpk_event #site-main .card-photo{height:210px!important;min-height:210px!important;max-height:210px!important}
  body.post-type-archive-wpk_event #site-main .card-content{padding:16px!important}
}
@media (max-width:760px){
  body.post-type-archive-wpk_event #site-main .card-photo,
  body.archive.post-type-archive-wpk_event #site-main .card-photo{height:168px!important;min-height:168px!important;max-height:168px!important}
  body.post-type-archive-wpk_event #site-main .card-content,
  body.archive.post-type-archive-wpk_event #site-main .card-content{padding:13px!important}
  body.post-type-archive-wpk_event #site-main .card-content h3,
  body.archive.post-type-archive-wpk_event #site-main .card-content h3{min-height:48px!important;font-size:14px!important}
  body.post-type-archive-wpk_event #site-main .card-content p,
  body.archive.post-type-archive-wpk_event #site-main .card-content p{min-height:40px!important;font-size:13px!important}
  body.post-type-archive-wpk_event #site-main .card-meta,
  body.archive.post-type-archive-wpk_event #site-main .card-meta{min-height:64px!important;font-size:12px!important}
  body.post-type-archive-wpk_event #site-main .card-bottom,
  body.archive.post-type-archive-wpk_event #site-main .card-bottom{gap:8px!important}
  body.post-type-archive-wpk_event #site-main .card-bottom .chip,
  body.archive.post-type-archive-wpk_event #site-main .card-bottom .chip{min-width:96px!important;font-size:9px!important}
  body.post-type-archive-wpk_event #site-main .card-bottom .text-link,
  body.archive.post-type-archive-wpk_event #site-main .card-bottom .text-link{min-width:92px!important;font-size:9px!important}
}
@media (max-width:420px){
  body.post-type-archive-wpk_event #site-main .card-photo,
  body.archive.post-type-archive-wpk_event #site-main .card-photo{height:138px!important;min-height:138px!important;max-height:138px!important}
  body.post-type-archive-wpk_event #site-main .card-content,
  body.archive.post-type-archive-wpk_event #site-main .card-content{padding:11px!important}
  body.post-type-archive-wpk_event #site-main .card-content h3,
  body.archive.post-type-archive-wpk_event #site-main .card-content h3{min-height:42px!important;font-size:13px!important;margin-bottom:8px!important}
  body.post-type-archive-wpk_event #site-main .card-content p,
  body.archive.post-type-archive-wpk_event #site-main .card-content p{display:none!important}
  body.post-type-archive-wpk_event #site-main .card-meta,
  body.archive.post-type-archive-wpk_event #site-main .card-meta{min-height:56px!important;gap:6px!important;font-size:11px!important}
  body.post-type-archive-wpk_event #site-main .card-bottom,
  body.archive.post-type-archive-wpk_event #site-main .card-bottom{flex-direction:row!important;align-items:center!important;gap:6px!important}
  body.post-type-archive-wpk_event #site-main .card-bottom .chip,
  body.archive.post-type-archive-wpk_event #site-main .card-bottom .chip,
  body.post-type-archive-wpk_event #site-main .card-bottom .text-link,
  body.archive.post-type-archive-wpk_event #site-main .card-bottom .text-link{min-width:0!important;padding:7px 10px!important;font-size:9px!important}
}
