/* Homepage only; reuses the local Bootstrap RTL and Persian font. */
.tkd-home{--tkd-ink:#152d48;--tkd-muted:#526477;color:var(--tkd-ink);padding-bottom:2rem;overflow-wrap:anywhere}
.tkd-home *{box-sizing:border-box;min-width:0}
.tkd-home .btn,.tkd-home .form-select{min-height:46px}
.tkd-home .btn{display:inline-flex;justify-content:center;align-items:center;white-space:normal}
.tkd-home :is(a,button,select):focus-visible{outline:3px solid #c86a00;outline-offset:4px;box-shadow:0 0 0 2px white}
.tkd-hero{display:grid;gap:2rem;padding:1.5rem;background:linear-gradient(120deg,#183d5b,#101f36);border-radius:24px;color:#fff;margin-bottom:2.25rem;border-bottom:5px solid #bd3947}
.tkd-eyebrow{font-size:.85rem;letter-spacing:.02em;font-weight:700;margin-bottom:.75rem}
.tkd-hero .tkd-eyebrow{color:#dbe9f3}
.tkd-hero h1{font-size:clamp(1.65rem,3.7vw,2.9rem);font-weight:800;line-height:1.65;margin:0 0 1rem;max-width:23ch}
.tkd-hero-description{line-height:2;color:#e0e9f3;max-width:54ch;margin-bottom:1.5rem}
.tkd-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.tkd-hero-actions .btn{padding:.7rem 1.2rem;border-radius:12px}
.tkd-status-link{color:#fff;text-underline-offset:5px;padding:.8rem .3rem;font-size:.9rem}
.tkd-status-link:hover{color:#dce9f4}
.tkd-hero-mark{display:none}
.tkd-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem}
.tkd-section-heading .tkd-eyebrow{color:var(--tkd-muted)}
.tkd-section-heading h2{font-size:clamp(1.2rem,2.4vw,1.65rem);line-height:1.7;margin:0;font-weight:800}
.tkd-count{border-radius:30px;padding:.55rem 1rem;background:#e9eff6;font-size:.85rem;font-weight:700}
.tkd-contest-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem}
.tkd-contest-card{border:1px solid #dbe3ec!important;border-radius:18px!important;padding:1.25rem;box-shadow:0 5px 18px #16324b08!important;display:flex;flex-direction:column}
.tkd-card-top{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:space-between;align-items:center;margin-bottom:1rem}
.tkd-sport{font-size:.8rem;font-weight:700;color:#526477}
.tkd-contest-card h3{font-size:1.17rem;line-height:1.9;color:var(--tkd-ink);font-weight:800;margin:0 0 1.2rem}
.tkd-contest-card .row{line-height:1.85;row-gap:.8rem!important;margin-bottom:1.25rem!important}
.tkd-home .text-muted{color:var(--tkd-muted)!important}
.tkd-card-actions{margin-top:auto;padding-top:1rem;border-top:1px solid #e6ebf1}
.tkd-card-actions .btn{border-radius:10px}
.tkd-home .badge{white-space:normal;line-height:1.6}
.tkd-home .bg-success{background:#17663e!important}
.tkd-home .bg-secondary{background:#526477!important}
@media(min-width:700px){.tkd-contest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tkd-hero{padding:2.5rem}}
@media(min-width:1100px){.tkd-contest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tkd-hero{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:center}.tkd-hero-mark{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem;border-inline-start:1px solid #ffffff30;padding:2rem 1rem}.tkd-hero-mark span:first-child{font-size:2.6rem;font-weight:900}.tkd-hero-mark span:last-child{font-size:.85rem;color:#dbe9f3}}
@media(max-width:380px){.tkd-hero{padding:1.15rem}.tkd-hero-actions{align-items:stretch;flex-direction:column}.tkd-contest-card{padding:1rem}.tkd-contest-card .col-6{width:100%}}
/* Shared navigation targets on the homepage remain comfortable on touch devices. */
.site-header-modern :is(.btn,.smart-link){min-height:44px}
.site-header-modern :is(a,button):focus-visible{outline:3px solid #c86a00;outline-offset:3px}
