﻿:root{
  --white:#fff;
  --ink:#111827;
  --ink2:#374151;
  --ink3:#ffffff;
  --ink4:#ffffff;
  --ink5:#D1D5DB;
  --ink6:#F3F4F6;
  --ink7:#F9FAFB;
  --orange:#EA580C;
  --orange-l:#FB923C;
  --orange-bg:#FFF7ED;
  --orange-bd:#FED7AA;
  --green:#16A34A;
  --green-bg:#F0FDF4;
  --red:#DC2626;
  --blue:#1D4ED8;
  --blue-bg:#EFF6FF;
  --radius:12px;
  --shadow:0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);
  --shadow-md:0 4px 16px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.04);
}
.svg-55 {
  
    z-index: -1;
}
/* ── HERO ── */
.hero{padding:56px 20px 0;position:relative;overflow:hidden;    background: linear-gradient(to bottom, #4da4c7, #247fa3, #156b8d, #094664);}
.hero::after{content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgb(18 56 133) 0, transparent 148%);
    pointer-events: none;}
.hero-top{
    width:100%;
}
.hero-in{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:32px;align-items:end;position:relative;direction: rtl;z-index:1}
.bc{display:flex;align-items:center;gap:6px;color:#ffffff;margin-bottom:18px}
.bc a{color:#ffffff}.bc a:hover{color:var(--orange-l)}.bc-sep{color:#ffffff}
.hero h1{font-weight:900;color:var(--white);line-height:1.25;margin-bottom:10px}
.hero h1 em{color:var(--orange-l);font-style:normal}
.hero p{color:#ffffff;max-width:460px;line-height:1.7;margin-bottom:28px}
.hero-stats{display:flex;gap:0;border-top:1px solid rgba(255,255,255,.08);padding-top:24px}
.hs{padding:0 28px 0 0;margin:0 28px 0 0;border-left:1px solid rgba(255,255,255,.08)}
.hs:first-child{padding-right:0;margin-right:28px}
.hs:last-child{border-left:none}
.hs strong{display:block;font-size:1.8rem;font-weight:900;color:var(--orange-l);line-height:1}
.hs small{display:block;color:#ffffff;margin-top:3px}
.hero-img{display:flex;align-items:flex-end;padding-bottom:0}
.hero-badge{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px;text-align:center;min-width:180px}
.hero-badge .num{font-size:2.4rem;font-weight:900;color:var(--orange-l);line-height:1;direction:ltr}
.hero-badge .lbl{font-size:.78rem;color:#ffffff;margin-top:4px}
.hero-badge .sub{font-size:.7rem;color:#ffffff;margin-top:2px}
.sticky {
    position: sticky;
    top: 20px;
}
/* ── FILTER STRIP ── */

.fsearch{border:1.5px solid var(--ink5);border-radius:8px;padding:7px 12px;margin-top:10px;margin-bottom:10px;flex-shrink:0;    position: relative;}
.fsearch svg{    color: #EA580C;
       color: #EA580C;
    flex-shrink: 0;
    position: absolute;
    left: 9px;
    top: 10px;
    width: 28px;
    height: 23px;}
.fsearch input{    outline: none;
   
    color: var(--ink);
    width: 100%;
    background: none;
    padding: 5px 15px;
    border: none;}
.fsearch input::placeholder{color:#8d8d8d}

/* ── LAYOUT ── */
.wrap{display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
    direction: rtl;}

/* ── SORT ROW ── */
.sort-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.sort-row h2{font-size:1.05rem;font-weight:800}
.sort-cnt{color:var(--ink4);font-weight:400;margin-right:6px}
.sort-right{display:flex;align-items:center;gap:10px}
.sort-sel{border:1.5px solid var(--ink5);border-radius:8px;padding:7px 12px;font-family:'Vazirmatn',sans-serif;color:var(--ink2);background:var(--white);outline:none}
.view-grp{display:flex;gap:3px}
.vb{width:32px;height:32px;border:1.5px solid var(--ink5);border-radius:7px;background:var(--white);color:var(--ink4);display:flex;align-items:center;justify-content:center;transition:.15s}
.vb.on{background:var(--orange);border-color:var(--orange);color:var(--white)}

/* ── CARD ── */
.cards{display:flex;flex-direction:column;gap:14px}
.card-list{background:var(--white);border:1.5px solid var(--ink5);border-radius:var(--radius);display:grid;grid-template-columns:160px 1fr 180px;overflow:hidden;transition:.2s;cursor:pointer;
    text-decoration: none;}
.card-list:hover{box-shadow:var(--shadow-md);border-color:var(--orange-bd);transform:translateY(-1px)}
.card-list.top{border-color:var(--orange-l);box-shadow:0 0 0 1px rgba(234,88,12,.15)}

.ci{position:relative;overflow:hidden}
.ci-bg{width:100%;height:100%;min-height:140px;background:linear-gradient(135deg,#1f2937 0,#374151 100%);display:flex;align-items:center;justify-content:center;opacity:.7;    aspect-ratio: 1 / 1;}
.cbadge{position:absolute;top:10px;right:10px;padding:3px 9px;border-radius:20px;font-weight:700}
.cb-open{background:var(--green);color:#fff}
.cb-soon{background:#F59E0B;color:#fff}
.cb-live{background:var(--blue);color:#fff}
.cb-closed{background:#e91000;color:#fff}
.ctop{position:absolute;bottom:10px;right:10px;background:var(--orange);color:#fff;font-weight:800;padding:2px 8px;border-radius:4px}

.cb{padding:18px 20px}
.cmeta{display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.clvl{padding:2px 9px;border-radius:4px;font-weight:700}
.clvl-pro{background:#FEF3C7;color:#92400E}
.clvl-am{background:#D1FAE5;color:#065F46}
.clvl-op{background:#DBEAFE;color:#1E40AF}
.clvl-nim{    background: #9c27b03b;
    color: #9C27B0;}
.cdate{display:flex;align-items:center;gap:4px;}
.cdate svg{flex-shrink:0}
.cb h3{    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #123885;}
.cb p{color:#123885;line-height:1.65;margin-bottom:12px}
.cinfo{display:flex;gap:16px;flex-wrap:wrap}
.ci2{display:flex;align-items:center;gap:4px;color:#123885;}
.ci2 svg{color:var(--orange);flex-shrink:0}
.ci2 strong{color:var(--ink);font-weight:600}

.ca{padding:18px;border-right:1px solid var(--ink6);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.prize{text-align:center}
.plbl{font-size:.7rem;color:var(--ink4);margin-bottom:2px}
.pamt{font-size:1.5rem;font-weight:900;color:var(--orange);direction:ltr;display:block}
.pcur{font-size:.72rem;color:var(--ink4)}
.sbar-wrap{width:100%;text-align:center}
.sbar-row{display:flex;justify-content:space-between;font-size:.72rem;color:var(--ink4);margin-bottom:5px}
.sbar{width:100%;height:4px;background:var(--ink6);border-radius:2px;overflow:hidden;margin-bottom:3px}
.sfill{height:100%;background:linear-gradient(90deg,var(--orange),var(--orange-l));border-radius:2px}
.sfill.full{background:var(--red)}
.slbl{font-size:.68rem;color:var(--ink4)}
.breg{display:block;width:140px;padding:9px 0;text-align:center;background:var(--orange);color:#fff;border-radius:8px;font-size:.84rem;font-weight:700;transition:.15s}
.breg:hover{background:var(--orange-l)}
.breg.disabled{background:var(--ink5);color:var(--ink4);cursor:not-allowed}
.bdet{display:block;width:140px;padding:7px 0;text-align:center;border:1.5px solid var(--orange);color:var(--orange);border-radius:8px;font-size:.8rem;font-weight:600;transition:.15s}
.bdet:hover{background:var(--orange);color:#fff}

/* ── PAGINATION ── */
.pg{display:flex;justify-content:center;gap:6px;margin-top:28px}
.pg-btn{width:36px;height:36px;border:1.5px solid var(--ink5);border-radius:8px;background:var(--white);font-size:13px;display:flex;align-items:center;justify-content:center;transition:.15s}
.pg-btn:hover{border-color:var(--orange);color:var(--orange)}
.pg-btn.on{background:var(--orange);border-color:var(--orange);color:#fff;font-weight:700}
.pg-btn:disabled{opacity:.4}

/* ── SIDEBAR ── */
.sb{display:flex;flex-direction:column;gap:18px}
.sb-card{background:var(--white);border:1.5px solid var(--ink5);border-radius:var(--radius);padding:20px}
.sb-card .ti-frm{font-weight:800;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--ink6);display:flex;align-items:center;gap:6px}
.promo{background:var(--ink);border:none;text-align:center;position:relative;overflow:hidden}
.promo::before{content:'🏆';position:absolute;font-size:80px;opacity:.06;bottom:-10px;left:-5px}
.promo h3{color:#fff;border-bottom-color:rgba(255,255,255,.1)}
.promo p{font-size:.8rem;color:#ffffff;line-height:1.7;margin-bottom:14px}
.promo-btn{display:block;width:100%;padding:10px;background:var(--orange);color:#fff;border-radius:8px;font-size:.86rem;font-weight:800;transition:.15s;text-align:center}
.promo-btn:hover{background:var(--orange-l)}

.fg{margin-bottom:16px}
.fg:last-child{margin-bottom:0}
.fg label{font-weight:700;margin-bottom:8px;text-transform:uppercase;letter-spacing:.03em}
.fo{display:flex;flex-direction:column;gap:7px}
.fi{display:flex;align-items:center;justify-content:space-between}
.fl{display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #6b7280;
    cursor: pointer;}
.fl input{    accent-color: var(--orange);
    width: 20px;
    height: 20px;
    margin-top: -4px;
   
    float: right;}
.fc{background:var(--ink6);padding:2px 7px;border-radius:10px}

.me{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--ink6)}
.me:last-child{border-bottom:none;padding-bottom:0}
.md{background:var(--ink);border-radius:8px;padding:7px 10px;text-align:center;min-width:42px;flex-shrink:0}
.md strong{display:block;font-size:1.05rem;font-weight:900;color:#fff;line-height:1}
.md span{font-size:.62rem;color:#ffffff;display:block;margin-top:2px}
.mi h4{font-size:.8rem;font-weight:700;margin-bottom:2px}
.mi p{font-size:.7rem;color:var(--ink4)}
.mtag{display:inline-block;margin-top:4px;font-size:.65rem;padding:2px 7px;border-radius:3px;background:var(--blue-bg);color:var(--blue);font-weight:600}



/* ── MOBILE NAV ── */
.mnav{display:none;background:var(--white);border-top:1px solid var(--ink5);padding:12px 20px;flex-direction:column;gap:4px}
.mnav a{padding:10px 14px;border-radius:8px;font-size:.9rem;font-weight:500;color:var(--ink2);display:block;transition:.15s}
.mnav a:hover,.mnav a.on{background:var(--orange-bg);color:var(--orange)}



 /* ─── HERO ─── */
  .detail-hero {
       padding: 48px 40px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    direction: rtl;
  }
  .detail-hero::before {
    content: '';
    position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
    background: url("data:image/svg+xml,%3Csvg width='600' height='600' viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='300' cy='300' r='280' stroke='rgba(245,166,35,0.06)' stroke-width='2' fill='none'/%3E%3Ccircle cx='300' cy='300' r='220' stroke='rgba(245,166,35,0.04)' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
  }
  .hero-inner {
    max-width: 1200px; margin: 0 auto;
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center;
  }
  .breadcrumb {
    display: flex; gap: 8px; align-items: center;
    color: #c6d3e6; font-size: 0.82rem; margin-bottom: 20px;
  }
  .breadcrumb a { color: #c6d3e6; text-decoration: none; }
  .breadcrumb a:hover { color: var(--gold); }
  .breadcrumb span { color: var(--gold); font-weight: 600; }

  .hero-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
  .hero-tag {
    padding: 4px 12px; border-radius: 20px;
     
    font-size: 14px;
  }.hero-tag .clvl{
        border-radius: 20px;
   }
  .tag-featured { background:#f58220; color: #ffffff; }
  .tag-pro { background: rgba(239,68,68,0.2); color: #FCA5A5; }
  .tag-open { background: rgba(16,185,129,0.2); color: #6EE7B7; }
  .tag-close {     background: rgb(244 67 54 / 43%);
    color: #ff0000; }
  .hero-left h1 {
       color: var(--white);
    font-size: 30px;
    font-weight: 900;
    line-height: 36px;
    margin-bottom: 12px;
    margin-top: 30px;
  }
  .hero-left h1 em { color: #f58220; font-style: normal; }
  .hero-left .subtitle {
  color: #cfdae9;
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 24px;
  }

  .hero-quick-info {
    display: flex; gap: 24px; flex-wrap: wrap;
  }
  .quick-info-item {
    display: flex; align-items: center; gap: 8px;
  color: #fff;
    font-size: 14px;
  }
  .quick-info-item svg { color:#f58220; flex-shrink: 0; }
  .quick-info-item strong { color: var(--white); }

   /* register card floating */
  .hero-register-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 20px 20px 0 0;
    padding: 28px;
    position: relative;
    z-index: 2;
  }
  .reg-card-prize {
    text-align: center;
    background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(245,166,35,0.05));
    border: 1px solid rgba(245,166,35,0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
  }
  .reg-card-prize .label { color: #c6d3e6; font-size:20px; margin-bottom: 4px; }
  .reg-card-prize .amount {
       color: #f58220;
    font-size: 28px;
    font-weight: 900;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .reg-card-prize .sub { color: #c6d3e6; font-size:14px; }

  .reg-card-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .reg-card-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 16px;
  }
  .reg-card-row .lbl { color: #c6d3e6; }
  .reg-card-row .val { color: var(--white); font-weight: 600; }
  .reg-card-row .val.green { color: var(--green); }
  .reg-card-row .val.gold { color: var(--green); }

  .spots-bar-lg {
    width: 100%; height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px; overflow: hidden;
    margin-bottom: 6px;
  }
  .spots-fill-lg {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
  }
  .spots-label {
    display: flex; justify-content: space-between;
    font-size: 0.72rem; color: #c6d3e6; margin-bottom: 16px;
  }

  .btn-register-big {
       display: block;
    width: 100%;
    padding: 14px;
    background: #f58220;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .btn-register-big:hover {     background: #ff7500f5;
    color: #fff; }
  .btn-share {
    display: flex; width: 100%;
    align-items: center; justify-content: center; gap: 6px;
    padding: 10px; background: none;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 10px; color: #c6d3e6;
    font-family: 'Vazirmatn', sans-serif; font-size: 0.83rem;
    cursor: pointer; transition: all 0.2s;
  }
  .btn-share:hover { border-color: #c6d3e6; color: var(--white); }
  .reg-deadline {
   text-align: center;
    font-size: 15px;
    color: #ea0c0c;
    margin-top: 15px;
    font-weight: bold;
  }
    /* ─── BODY ─── */
  .body-wrap {
  display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
    padding-top: 30px;direction: rtl;
  }

  /* section title */
  .section-title {
   font-size: 23px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0a1f44;
  }
  .section-title::after {
    content: ''; flex: 1; height: 1px; background: #eee;
  }

  /* ─── ABOUT SECTION ─── */
  .about-section {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 14px; padding: 28px;
    margin-bottom: 28px;direction: rtl;
  }
  .about-section p {
    color: var(--gray-600); font-size: 16px; line-height: 1.9;
    margin-bottom: 12px;
  }
  .about-section p:last-child { margin-bottom: 0; }

  /* ─── PRIZE TABLE ─── */
  .prize-section {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 14px; padding: 28px;
    margin-bottom: 28px;
  }
  .prize-table { width: 100%; border-collapse: collapse; }
  .prize-table th {
   text-align: right;
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
  }
  .prize-table th:last-child { text-align: left; }
  .prize-table td {
   padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    color: var(--gray-700);
    vertical-align: middle;
  }
  .prize-table td:last-child { text-align: left;     direction: rtl;}
  .prize-table tr:last-child td { border-bottom: none; }
  .rank-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    font-weight: 800; font-size: 0.85rem;
  }
  .rank-1 { background: #FEF9C3; color: #854D0E; }
  .rank-2 { background: #F1F5F9; color: #475569; }
  .rank-3 { background: #FEE2E2; color: #991B1B; }
  .rank-other { background: var(--gray-100); color: var(--gray-600); }
  .prize-amount-cell { font-weight: 800; color: var(--gold); direction: ltr; }

 

  /* ─── BRACKET PREVIEW ─── */
  .bracket-section {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 14px; padding: 28px;
    margin-bottom: 28px;
  }
  .bracket-placeholder {
    background: #f8fafc; border-radius: 10px;
    padding: 48px; text-align: center;
    border: 2px dashed #e2e8f0;
  }
  .bracket-placeholder p { color: #c6d3e6; font-size: 0.85rem; margin-top: 8px; }
  .bracket-icon { font-size: 2.5rem; margin-bottom: 8px; display: block; }

  /* ─── FAQ ─── */
  .faq-section { margin-bottom: 28px; }
  .faq-item {
    background: var(--white);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px; margin-bottom: 8px;
    overflow: hidden;
  }
  .faq-q {
   display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    transition: background 0.2s;
    direction: rtl;
  }
  .faq-q:hover { background: #f8fafc; }
  .faq-icon { font-size: 18px; color: #2463eb; flex-shrink: 0; }
  .faq-a {
    padding: 0 20px 16px;
        font-size: 14px;
    color: #475569; line-height: 1.8;
    display: none;
  }
  .faq-item.open .faq-a { display: block; }
  .faq-item.open .faq-icon { transform: rotate(45deg); }

  /* ─── SIDEBAR ─── */
  .sidebar { display: flex; flex-direction: column; gap: 20px; }
  .sidebar-card {
    background: var(--white);
    border: 1.5px solid #f1f5f9;
    border-radius: 14px; padding: 22px;
  }
  .sidebar-card h3 {
   font-size: 18px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
  }

  /* organizer */
  .organizer-info { display: flex; gap: 14px; align-items: center; }
  .org-logo {
    width: 52px; height: 52px; border-radius: 10px;
    background: var(--navy); display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
  }
  .org-name { font-weight: 700; color: var(--gray-800); font-size:14px; margin-bottom: 3px; }
  .org-tag {     font-size: 14px;
    color: #2463eb;
    font-weight: 600; }
  .org-contact { margin-top: 14px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
  .contact-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--gray-600); margin-bottom: 8px;
  }
  .contact-row svg { color: #f58220; flex-shrink: 0; }

  /* location map */
  .map-preview {
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border-radius: 10px; height: 160px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; margin-bottom: 12px;
    border: 1.5px solid var(--gray-200);
    position: relative; overflow: hidden;
  }
  .map-preview::after {
   /* content: 'باشگاه رادیکال، تهران';*/
    position: absolute; bottom: 10px; right: 50%; transform: translateX(50%);
    background: rgba(255,255,255,0.9); padding: 4px 12px;
    border-radius: 20px; font-size: 0.72rem; color: var(--gray-800);
    white-space: nowrap; font-weight: 600;
  }
  .map-addr { font-size: 14px; color: var(--gray-600); margin-bottom: 10px; display: flex; gap: 6px; align-items: flex-start; }
  .map-addr svg { color:#f58220; flex-shrink: 0; margin-top: 2px; }
  


  /* related events */
  .related-event {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid #f1f5f9;
    cursor: pointer; text-decoration: none;
  }
  .related-event:last-child { border-bottom: none; }
  .rel-img {
    width: 52px; height: 52px; border-radius: 8px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
  }
  .rel-name { font-size: 13px;
    color: #333;
    margin-bottom: 3px; }
  .rel-meta { font-size: 12px; color: #94a3b8; }
  .rel-tag {
    display: inline-block;
    margin-top: 4px;
    font-size: 9px;
    padding: 0px 7px;
  }
    /* ─── RULES ─── */
  .rules-section {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 14px; padding: 28px;
    margin-bottom: 28px;
  }
  .rule-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid #f1f5f9;
  }
  .rule-item:last-child { border-bottom: none; }
  .rule-num {
      width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1e5595;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .rule-text { font-size:15px; color:#475569; line-height: 1.7; }
  .rule-text strong { color: var(--gray-800); }

  .share-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #043d8a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    z-index: 200;direction: rtl;
}
  .share-bar p {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}.btn-reg-float {
    background:#f5a623;
    color: #0d1b2a;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;    display: block !important;
}.btn-close-bar {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 17px;
    padding: 4px;
    line-height: 1;
}
   /* ══ مودال ══ */
    .wk-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,.5);
        z-index: 800;
    }

        .wk-overlay.open {
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .wk-modal {
        background: #fff;
        border-radius: 16px;
        width: 360px;
        max-width: 95vw;
        padding: 24px 22px 20px;
        direction: rtl;
        box-shadow: 0 20px 50px rgba(0,0,0,.2);
        animation: pop .2s;    max-height: 95%;
    overflow-y: scroll;
    }

    @keyframes pop {
        from {
            transform: scale(.94);
            opacity: 0
        }

        to {
            transform: scale(1);
            opacity: 1
        }
    }

    .wk-modal-title {
        font-size: 17px;
        font-weight: 800;
        color: #1e293b;
        margin: 0 0 14px;
    }

    .wk-info-box {
        background: #f0fdf4;
        border-right: 3px solid #22c55e;
        border-radius: 8px;
        padding: 10px 14px;
        margin-bottom: 18px;
        font-size: 13px;
        color: #166534;
        line-height: 2.1;
    }

    .wk-fld label {
        display: block;
        font-size: 12px;
        color: #64748b;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .wk-fld input {
        width: 100%;
        border: 1.5px solid #e2e8f0;
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 14px;
        font-family: inherit;
        direction: rtl;
        outline: none;
        transition: border-color .15s;
        margin-bottom: 12px;
        color: #1e293b;
    }

        .wk-fld input:focus {
            border-color: #22c55e;
        }

    .wk-modal-btns {
        display: flex;
        gap: 8px;
        margin-top: 4px;
    }

    .btn-confirm {
        flex: 1;
        background: #16a34a;
        color: #fff;
        border: none;
        border-radius: 9px;
        padding: 12px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit;
        transition: background .15s;
    }

        .btn-confirm:hover {
            background: #15803d;
        }

        .btn-confirm:disabled {
            background: #86efac;
            cursor: wait;
        }

    .btn-cancel {
        flex: 1;
        background: #f1f5f9;
        color: #475569;
        border: none;
        border-radius: 9px;
        padding: 12px;
        font-size: 14px;
        cursor: pointer;
        font-family: inherit;
    }

        .btn-cancel:hover {
            background: #e2e8f0;
        }

    /* ══ توست ══ */
    .wk-toast {
        display: none;
        position: fixed;
        bottom: 28px;
        left: 50%;
        transform: translateX(-50%);
        padding: 12px 28px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        box-shadow: 0 4px 20px rgba(0,0,0,.2);
        z-index: 9000;
        white-space: nowrap;
    }

        .wk-toast.show {
            display: block;
            animation: toastIn .25s;
        }

    @keyframes toastIn {
        from {
            opacity: 0;
            transform: translate(-50%,8px)
        }

        to {
            opacity: 1;
            transform: translate(-50%,0)
        }
    }

    /* ══ خالی ══ */
    .wk-empty {
        text-align: center;
        padding: 48px;
        color: #94a3b8;
        font-size: 15px;
    }
/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .hero-in{grid-template-columns:1fr}
  .hero-img{display:none}
  .wrap{grid-template-columns:1fr}
  .sb{display:grid;grid-template-columns:repeat(1,1fr)}
  .ft-grid{grid-template-columns:1fr 1fr}
}
/* تبلت */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}

@media(max-width:768px){
  .nav-links,.nav-cta{display:none}
  .ham{display:flex}
  .hero{padding:36px 20px 0}
 /* .hero h1{font-size:1.7rem}*/
  .hero-stats{flex-wrap:wrap;gap:16px}
  .hs{padding:0;margin:0;border:none}
  .wrap{padding:20px 16px 48px;grid-template-columns:1fr}
  .sb{display:flex;flex-direction:column}
  .card-list{grid-template-columns:130px 1fr}
  .ca{display:none}
  .fstrip-in{gap:0}
  .fsearch{display:none}
  .ft-grid{grid-template-columns:1fr;gap:24px}
  .ft-bot{flex-direction:column;gap:8px;align-items:center;text-align:center}
    .hero-inner ,.body-wrap{
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .detail-hero {
    padding: 48px 0px 0;
    
}.hero-quick-info {
      gap: 10px;
    flex-direction: column;
}
}
@media(max-width:500px){
  .card-list{grid-template-columns:1fr}
  .ci{display:none}
  .share-bar p {
    
    display: none;
}
}
.mnav.open{display:flex}

