/* plagebleu — طبقة الكمبيوتر (شاشات ≥ 1024px فقط)
   - لا تؤثر على الهاتف إطلاقًا: كل القواعد داخل media (min-width:1024px).
   - تُحمَّل آخر ملف تنسيق لتتغلّب على الطبقات السابقة بنفس الخصوصية.
   - تعدّل: الشريط العلوي، السلايدر الرئيسي، بطاقات «ماذا تريد أن تفعل اليوم؟». */

/* ======================= كمبيوتر عادي ≥ 1024px ======================= */
@media (min-width:1024px){

  /* ---- الشريط العلوي: أوضح وأكثر تنفّسًا ---- */
  html body #navbar .nav-inner{min-height:76px!important;max-width:1680px!important;margin-inline:auto!important}
  html body #navbar .nav-brand{font-size:clamp(20px,1.6vw,28px)!important}
  html body #navbar #navLinks{gap:clamp(2px,.4vw,8px)!important}
  html body #navbar #navLinks .nav-link-single,
  html body #navbar #navLinks .nav-drop-btn,
  html body #navbar #navLinks .pb-classroom-nav-link,
  html body #navbar #navLinks .dt-studio-nav{
    font-size:clamp(14px,.95vw,17px)!important;
    padding:10px clamp(9px,.9vw,16px)!important;
    border-radius:12px!important;
    transition:background .18s,transform .18s
  }
  html body #navbar #navLinks .nav-link-single:hover,
  html body #navbar #navLinks .nav-drop-btn:hover{transform:translateY(-1px)}

  /* ---- السلايدر الرئيسي: أطول وأوسع ونص متناسب ---- */
  html body #mainContent #section-hero.hero-section{width:min(calc(100% - 64px),1560px)!important;max-width:1560px!important;margin-top:24px!important}
  html body #mainContent #section-hero.hero-section>.slider-container,
  html body #mainContent #section-hero.hero-section>.slider-container .slide{
    height:clamp(400px,56svh,580px)!important;
    min-height:0!important
  }
  html body #mainContent #section-hero.hero-section>.slider-container{min-height:clamp(400px,56svh,580px)!important}
  html body #mainContent #section-hero.hero-section>.slider-container .slide{
    padding:clamp(24px,2.6vw,48px) clamp(90px,8vw,150px) clamp(64px,6vw,96px)!important
  }
  html body #mainContent #section-hero.hero-section .slide-content{max-width:min(1000px,100%)!important;padding:0!important}
  html body #mainContent #section-hero.hero-section .slide-content h1{
    font-size:clamp(40px,3.4vw,68px)!important;
    line-height:1.2!important;
    margin:0 0 clamp(12px,1.2vw,22px)!important
  }
  html body #mainContent #section-hero.hero-section .slide-content p{
    font-size:clamp(18px,1.3vw,25px)!important;
    line-height:1.75!important;
    max-width:62ch!important;
    margin:0 auto clamp(18px,1.8vw,32px)!important
  }
  html body #mainContent #section-hero.hero-section .slide-content .btn-hero{
    padding:clamp(12px,1.1vw,18px) clamp(32px,3vw,52px)!important;
    font-size:clamp(17px,1.1vw,21px)!important;
    min-height:56px
  }
  /* أسهم التنقل: أكبر وعلى الحافتين وفي منتصف الارتفاع */
  html body #mainContent #section-hero .slider-nav{
    width:clamp(52px,3.6vw,68px)!important;height:clamp(52px,3.6vw,68px)!important;
    font-size:clamp(24px,1.8vw,32px)!important;
    top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;
    transition:background .2s,transform .2s
  }
  html body #mainContent #section-hero .slider-nav:hover{transform:translateY(-50%) scale(1.08)!important}
  html body #mainContent #section-hero .slider-nav.prev{right:clamp(20px,2.4vw,44px)!important}
  html body #mainContent #section-hero .slider-nav.next{left:clamp(20px,2.4vw,44px)!important}
  /* النقاط */
  html body #mainContent #section-hero .slider-dots{bottom:clamp(20px,2vw,32px)!important;gap:11px!important}
  html body #mainContent #section-hero .slider-dot{width:13px!important;height:13px!important}
  html body #mainContent #section-hero .slider-dot.active{width:38px!important}

  /* ---- بطاقات البدء السريع: أكبر وأوضح ---- */
  .pbl{max-width:min(1440px,100%)}
  .pbl-head h2{font-size:clamp(26px,1.9vw,38px)}
  .pbl-head p{font-size:clamp(16px,1.05vw,20px)}
  .pbl-grid{gap:clamp(14px,1.5vw,26px)}
  .pbl-tile{min-height:clamp(140px,10vw,190px);padding:clamp(16px,1.4vw,24px) 12px;gap:8px}
  .pbl-ic{font-size:clamp(44px,3.4vw,64px)}
  .pbl-tile strong{font-size:clamp(18px,1.25vw,24px)}
  .pbl-tile small{font-size:clamp(14px,.95vw,18px)}
  .pbl-tile:hover{transform:translateY(-5px)}
}

/* ======================= شاشات كبيرة ≥ 1700px ======================= */
@media (min-width:1700px){
  html body #mainContent #section-hero.hero-section{width:min(calc(100% - 96px),1680px)!important;max-width:1680px!important}
  html body #mainContent #section-hero.hero-section>.slider-container,
  html body #mainContent #section-hero.hero-section>.slider-container .slide{height:clamp(480px,58svh,660px)!important}
  html body #mainContent #section-hero.hero-section>.slider-container{min-height:clamp(480px,58svh,660px)!important}
  .pbl{max-width:min(1560px,100%)}
}

/* ======================= شاشات ارتفاعها قصير (لابتوب) ======================= */
@media (min-width:1024px) and (max-height:760px){
  html body #mainContent #section-hero.hero-section>.slider-container,
  html body #mainContent #section-hero.hero-section>.slider-container .slide{height:clamp(340px,60svh,440px)!important}
  html body #mainContent #section-hero.hero-section>.slider-container{min-height:clamp(340px,60svh,440px)!important}
  html body #mainContent #section-hero.hero-section .slide-content h1{font-size:clamp(34px,3vw,52px)!important}
  .pbl-tile{min-height:clamp(120px,9vw,150px)}
}
