/* Tifli Radar v3.1 — weekend card repair and business launch center */

/* Force the weekend place cards into a stable vertical layout. This protects
   them from theme/article grid rules and keeps category logos proportional. */
.tr-weekend-guide .tr-weekend-place-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px!important;
    align-items:stretch!important;
    width:100%!important;
}
.tr-weekend-guide .tr-weekend-place-grid>.tr-place-card{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    margin:0!important;
    overflow:hidden!important;
}
.tr-weekend-guide .tr-weekend-place-grid .tr-place-card-identity{
    position:relative!important;
    display:grid!important;
    width:100%!important;
    min-width:0!important;
    height:180px!important;
    flex:0 0 180px!important;
    place-items:center!important;
    padding:20px!important;
    border-radius:21px 21px 0 0!important;
}
.tr-weekend-guide .tr-weekend-place-grid .tr-place-card-identity img{
    display:block!important;
    width:auto!important;
    max-width:min(78%,190px)!important;
    height:auto!important;
    max-height:118px!important;
    margin:auto!important;
    object-fit:contain!important;
}
.tr-weekend-guide .tr-weekend-place-grid .tr-place-initials{
    width:88px!important;
    height:88px!important;
    margin:auto!important;
}
.tr-weekend-guide .tr-weekend-place-grid .tr-place-card-body{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    padding:18px!important;
}
.tr-weekend-guide .tr-weekend-place-grid .tr-place-card h2{
    margin:10px 0 7px!important;
    font-size:19px!important;
    line-height:1.45!important;
}
.tr-weekend-guide .tr-weekend-place-grid .tr-place-address{
    min-height:0!important;
    margin-bottom:10px!important;
}
.tr-weekend-guide .tr-weekend-place-grid .tr-place-card-actions{
    margin-top:auto!important;
    padding-top:12px!important;
}
.tr-weekend-guide .tr-weekend-empty{
    grid-column:1/-1;
    padding:24px;
    border:1px dashed #cbd5e1;
    border-radius:16px;
    color:#64748b;
    background:#fff;
    text-align:center;
}

.tr-business-launch,.tr-launch-simple{
    width:min(calc(100% - 28px),1180px);
    margin:30px auto;
    color:#10233f;
    font-family:Tajawal,Arial,sans-serif;
}
.tr-business-launch *,.tr-launch-simple *{box-sizing:border-box}
.tr-business-launch-hero{
    display:flex;
    justify-content:space-between;
    gap:22px;
    align-items:center;
    padding:clamp(24px,4vw,42px);
    border:1px solid #e2eaf2;
    border-radius:26px;
    background:radial-gradient(circle at 8% 90%,rgba(239,90,103,.11),transparent 22rem),linear-gradient(135deg,#f5f9fd,#fff);
}
.tr-business-launch-hero>div>span{color:#ef5a67;font-weight:900}
.tr-business-launch-hero h1{margin:7px 0;color:#153a66;font-size:clamp(30px,4vw,46px)}
.tr-business-launch-hero p{margin:0;color:#607086}
.tr-launch-progress{
    display:grid;
    min-width:142px;
    place-items:center;
    padding:18px;
    border:1px solid #e1e9f2;
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 28px rgba(21,58,102,.08);
}
.tr-launch-progress strong{color:#ef5a67;font-size:34px;line-height:1}
.tr-launch-progress span{margin-top:7px;color:#607086;font-size:12px;font-weight:800}
.tr-launch-progress-bar{height:10px;margin:15px 4px 22px;overflow:hidden;border-radius:999px;background:#e8eef5}
.tr-launch-progress-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ef5a67,#153a66);transition:width .3s ease}
.tr-launch-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tr-launch-step{
    display:grid;
    grid-template-columns:54px minmax(0,1fr);
    gap:14px;
    padding:20px;
    border:1px solid #e2eaf2;
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 28px rgba(21,58,102,.055);
}
.tr-launch-step.is-done{border-color:#bbf7d0;background:#fbfffc}
.tr-launch-step-number{display:grid;width:48px;height:48px;place-items:center;border-radius:15px;color:#fff;background:#153a66;font-size:20px;font-weight:900}
.tr-launch-step.is-done .tr-launch-step-number{background:#2e8b3c}
.tr-launch-step span{color:#ef5a67;font-size:11px;font-weight:900}
.tr-launch-step.is-done span{color:#2e8b3c}
.tr-launch-step h2{margin:4px 0 7px;color:#153a66;font-size:21px}
.tr-launch-step p{min-height:48px;margin:0 0 12px;color:#607086;line-height:1.7}
.tr-launch-step a,.tr-launch-simple a{display:inline-flex;min-height:42px;align-items:center;padding:8px 14px;border-radius:11px;color:#fff!important;background:#153a66;font-weight:900;text-decoration:none!important}
.tr-launch-step.is-done a{color:#153a66!important;border:1px solid #dbe5ef;background:#fff}
.tr-launch-plans{margin-top:28px}
.tr-launch-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tr-launch-plan-grid article{padding:18px;border:1px solid #e2eaf2;border-radius:18px;background:#fff;text-align:center;box-shadow:0 8px 24px rgba(21,58,102,.05)}
.tr-launch-plan-grid article.is-featured{border:2px solid #ef5a67}
.tr-launch-plan-grid h3{margin:0 0 8px;color:#153a66}
.tr-launch-plan-grid strong{display:block;color:#ef5a67;font-size:23px}
.tr-launch-plan-grid span,.tr-launch-plan-grid p{margin:4px 0 0;color:#607086}
.tr-launch-simple{max-width:680px;padding:32px;border:1px solid #e2eaf2;border-radius:24px;background:#f7fafd;text-align:center}
.tr-launch-simple h1{color:#153a66}
.tr-launch-simple p{color:#607086}

@media(max-width:900px){
    .tr-weekend-guide .tr-weekend-place-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .tr-launch-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
    .tr-weekend-guide .tr-weekend-place-grid{grid-template-columns:1fr!important}
    .tr-weekend-guide .tr-weekend-place-grid .tr-place-card-identity{height:164px!important;flex-basis:164px!important}
    .tr-business-launch-hero{display:grid;text-align:center}
    .tr-launch-progress{width:100%}
    .tr-launch-step-grid,.tr-launch-plan-grid{grid-template-columns:1fr}
    .tr-launch-step{grid-template-columns:46px minmax(0,1fr);padding:17px}
    .tr-launch-step-number{width:42px;height:42px;border-radius:13px}
}
