/* Radhin PAUD V1.8.2 — Direct Demo Link & Template Card Refinement */
.template-grid{align-items:stretch}
.template-card{display:flex;min-height:100%;flex-direction:column}
.template-preview{flex:0 0 auto;aspect-ratio:16/9}
.template-preview:after{background:linear-gradient(transparent 48%,rgba(7,27,54,.78));opacity:.78}
.template-preview span{left:auto;right:14px;bottom:14px;display:inline-flex;align-items:center;gap:5px;opacity:1;transform:none;padding:9px 13px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(7,27,54,.18)}
.template-card-body{display:flex;flex:1;flex-direction:column;padding:22px}
.template-card p{min-height:0;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.template-card ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;margin:15px 0 18px;font-size:12.5px}
.template-card li{align-items:flex-start;line-height:1.45}
.template-price{margin-top:auto;padding-top:15px}
.template-card-actions{margin-top:12px}
.template-card-actions .btn{min-height:44px;white-space:nowrap}
.admin-template-actions a:first-child{background:#eaf2ff;color:#0a58c8}
.admin-template-copy small{line-height:1.45}
@media(max-width:720px){
  .template-card ul{grid-template-columns:1fr}
  .template-card-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  .template-card-actions{grid-template-columns:1fr}
}
