/* صفحة المواسم: مكوّنات خاصة بها فقط */

/* رمضان: النتيجة + القائمة */
.s-ram { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 1024px) { .s-ram { grid-template-columns: 1.15fr 1fr; gap: 28px; } }
.s-result { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--linen); color: var(--cream); }
.s-result__k { font-size: 13.5px; font-weight: 700; color: #f0b3b7; }
.s-result__big { display: flex; align-items: baseline; gap: 10px; }
.s-result__big b { font-size: clamp(64px, 8vw, 104px); font-weight: 700; line-height: 1; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.s-result__big span { color: var(--linen-ink); font-size: 17px; }
.s-result .progress { background: rgba(255, 255, 255, .14); }
.s-result__nums { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(233, 223, 204, .16); }
.s-result__nums div { display: flex; flex-direction: column-reverse; padding: 12px 0; }
.s-result__nums div + div { padding-inline-start: 14px; border-inline-start: 1px solid rgba(233, 223, 204, .16); }
.s-result__nums dd { font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-result__nums dt { font-size: 13px; color: var(--linen-ink); }
.s-result__h { font-size: 14px; font-weight: 700; color: #fff; margin-top: 4px; }
.s-result__list { display: grid; gap: 0; }
.s-result__list li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(233, 223, 204, .1); }
.s-result__list b { font-size: 19px; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-result__list span { color: var(--linen-ink); font-size: 15px; line-height: 1.6; }
.s-result__note { font-size: 14px; color: var(--linen-ink); opacity: .85; line-height: 1.75; }

.s-menu { display: grid; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.s-menu__k { font-size: 13.5px; font-weight: 700; color: var(--red); }
.s-menu h3 { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; }
.s-menu__list { display: grid; border-top: 1px solid hsl(var(--border)); margin-top: 6px; }
.s-menu__list li { border-bottom: 1px solid hsl(var(--border)); }
.s-menu__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 10px 8px; margin-inline: -8px; border-radius: var(--r-sm); transition: background-color .2s; }
.s-menu__list a:hover { background: hsl(var(--tint)); }
.s-menu__list span { display: grid; }
.s-menu__list b { font-size: 17.5px; }
.s-menu__list small { font-size: 14px; color: hsl(var(--fg-2)); line-height: 1.5; }
.s-menu__list em { flex-shrink: 0; font-style: normal; font-size: 22px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-menu__olive em { font-size: 16px; color: hsl(86 60% 26%); }
.s-menu__olive b { color: hsl(86 60% 26%); }
.s-menu__foot { font-size: 14px; color: hsl(var(--fg-2)); }

/* العشر الأواخر */
.s-ten { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .s-ten { grid-template-columns: 1fr 1fr; gap: 64px; } }
.s-sched { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.s-sched__amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.s-sched__amts button { min-height: 52px; border-radius: var(--r-sm); border: 1.5px solid rgba(255, 255, 255, .2); color: #fff; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; transition: background-color .2s, border-color .2s, color .2s; }
.s-sched__amts button:hover { border-color: rgba(255, 255, 255, .5); }
.s-sched__amts button[aria-checked="true"] { background: var(--cream); color: var(--linen); border-color: var(--cream); }
.s-sched__nights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.s-sched__nights li { display: grid; gap: 0; justify-items: center; padding: 10px 4px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.s-sched__nights small { font-size: 12px; color: var(--linen-ink); }
.s-sched__nights b { font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; }
.s-sched__nights .is-odd { background: rgba(196, 37, 47, .35); }
.s-sched__total { font-size: 15px; color: var(--linen-ink); }
.s-sched__total b { font-size: 24px; color: #fff; font-variant-numeric: tabular-nums; }

/* الأضحى */
#adha .split { align-items: center; }
.s-adha { display: grid; gap: 12px; margin-top: 24px; }

.s-adha__item { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.s-adha__k { font-size: 13px; font-weight: 700; color: var(--red); }
.s-adha__item ul { display: grid; gap: 6px; }
.s-adha__item li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 10px; align-items: baseline; }
.s-adha__item li b { font-size: 18px; white-space: nowrap; }
.s-adha__item li span { font-size: 14.5px; color: hsl(var(--fg-2)); }
.s-adha__nums { font-size: 14px; font-weight: 600; padding-top: 8px; border-top: 1px solid hsl(var(--border)); }
.s-adha__price { display: flex; align-items: baseline; gap: 8px; }
.s-adha__price b { font-size: 48px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.s-adha__price span { color: hsl(var(--fg-2)); }
.s-adha__small { font-size: 14px; color: hsl(var(--fg-2)); line-height: 1.7; }
.s-pics { display: grid; gap: 12px; }
.s-pics figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: hsl(var(--tint)); aspect-ratio: 3 / 2; }
.s-pics figure + figure { width: 72%; margin-top: -22%; margin-inline-start: auto; border: 6px solid hsl(var(--bg)); position: relative; }
.s-pics img { width: 100%; height: 100%; object-fit: cover; }

/* الشتاء */
.s-camp { display: grid; border-radius: var(--r-lg); overflow: hidden; background: hsl(var(--card)); box-shadow: var(--shadow-lift); }
@media (min-width: 960px) { .s-camp { grid-template-columns: 1.1fr 1fr; } }
.s-camp__media { position: relative; margin: 0; min-height: 280px; background: hsl(var(--tint)); }
.s-camp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-camp__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 22, 19, .5), transparent 40%); }
.s-camp__media figcaption { position: absolute; z-index: 1; inset-inline-start: 16px; bottom: 14px; color: rgba(255, 255, 255, .85); }
.s-camp__main { padding: clamp(24px, 3.4vw, 44px); }
.s-camp__k { font-size: 13.5px; font-weight: 700; color: var(--red-ink); }
.s-camp__big { display: flex; align-items: baseline; gap: 12px; }
.s-camp__big span { color: hsl(var(--fg-2)); font-size: 17px; }
.s-camp__main { display: grid; gap: 14px; justify-items: start; }
.s-camp__main .progress { width: 100%; }
.s-camp__nums { display: flex; flex-wrap: wrap; gap: 4px 18px; color: hsl(var(--fg-2)); font-size: 15px; }
.s-camp__nums b { color: hsl(var(--fg)); font-size: 18px; font-variant-numeric: tabular-nums; }
.s-camp__items { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.s-camp__items li { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-sm); background: hsl(var(--tint)); }
.s-camp__items b { font-size: 13px; font-weight: 700; color: var(--red-ink); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.s-camp__items span { font-size: 14.5px; line-height: 1.55; }

/* المدارس */
.s-school { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .s-school { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.s-bag { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.s-bag__price { display: flex; align-items: baseline; gap: 12px; }
.s-bag__price b { font-size: 56px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.s-bag__price span { color: hsl(var(--fg-2)); }
.s-bag__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-bag__opts .btn { padding-inline: 10px; justify-content: center; }
@media (max-width: 559px) { .s-bag__opts { grid-template-columns: 1fr; } }
.s-bag__note { font-size: 15px; color: hsl(var(--fg-2)); }

/* تقويم السنة: 24 نصف شهر */
.s-cal { display: grid; border-top: 2px solid hsl(var(--fg)); }
.s-cal__months, .s-cal__row { display: grid; grid-template-columns: 16rem 1fr; gap: 20px; align-items: center; }
.s-cal__months { padding: 10px 0; border-bottom: 1px solid hsl(var(--border)); }
.s-cal__months ol { display: grid; grid-template-columns: repeat(12, 1fr); }
.s-cal__months li { font-size: 12px; white-space: nowrap; font-weight: 600; color: hsl(var(--fg-2)); text-align: start; padding-inline-start: 4px; border-inline-start: 1px solid hsl(var(--border)); }
.s-cal__months li.is-now { color: var(--red); }
.s-cal__row { min-height: 64px; padding: 10px 0; border-bottom: 1px solid hsl(var(--border)); transition: background-color .2s; }
.s-cal__row:hover { background: hsl(var(--tint)); }
.s-cal__lab { display: grid; }
.s-cal__lab b { font-size: 16.5px; font-weight: 700; }
.s-cal__lab small { font-size: 13px; color: hsl(var(--fg-2)); }
.s-cal__track { position: relative; display: grid; grid-template-columns: repeat(24, 1fr); height: 22px; background: repeating-linear-gradient(to left, hsl(var(--border)) 0 1px, transparent 1px calc(100% / 12)); }
.s-cal__bar { grid-column: var(--s) / var(--e); grid-row: 1; height: 14px; align-self: center; border-radius: 999px; background: hsl(var(--fg)); }
.s-cal__bar--now { background: var(--red); }
.s-cal__bar--olive { background: hsl(86 60% 32%); }
.s-cal__bar--thin { height: 4px; }
@media (max-width: 759px) {
  .s-cal__months, .s-cal__row { grid-template-columns: 1fr; gap: 8px; }
  .s-cal__months > span { display: none; }
  .s-cal__months li { font-size: 11px; padding-inline-start: 0; text-align: center; border-inline-start: 0; }
  .s-cal__months li:nth-child(even) { color: transparent; }
}
/* أسماء الأشهر كاملة: في العرض المتوسط تضيق الخانة عن الاسم، فنُظهر شهرًا ونُخفي الذي يليه كما في الجوال */
@media (min-width: 760px) and (max-width: 979px) {
  .s-cal__months li { font-size: 11px; padding-inline-start: 0; text-align: center; border-inline-start: 0; }
  .s-cal__months li:nth-child(even) { color: transparent; }
}

/* تصحيحات بعد المعاينة */
.sec.dark#tennights { padding-block: clamp(64px, 7vw, 100px); }
#tennights > .wrap { border-top: 0; padding-top: 0; }
.s-result__list li { grid-template-columns: 6.5rem 1fr; }

/* رمضان: كيف نعمل */
.s-result__t { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.4; color: #fff; }
.s-result__list li { grid-template-columns: 7.5rem 1fr !important; }
.s-result__list b { font-size: 16px; }
.s-camp__media img { object-position: 50% 88%; }
.s-adha__item li b { white-space: nowrap; }

/* ===== جولة الخبراء ===== */
/* الرأس: px-hero */
.s-hero .px-hero__h { max-width: 13em; }
@media (max-width: 559px) {
  #adha .phero__cta .btn { flex: 1 1 100%; justify-content: center; }
}
/* الأضحى: الصور تثبت بجانب النص */
@media (min-width: 960px) {
  .s-pics { position: sticky; top: 160px; }
  .s-pics figure:first-child { aspect-ratio: 4 / 5; }
}
/* التقويم: بلا خط مزدوج ولا فراغ زائد */
#calendar > .wrap { border-top: 0; background: none; }
#calendar .shead { border-bottom: 0; padding-bottom: 0; margin-bottom: 24px; }
.s-pics figure:first-child img { object-position: 46% 70%; }
.s-pics figure + figure img { object-position: 50% 62%; }

/* الأقسام بعد الشريط */
.px-marquee + .subnav { margin-top: 14px; }

/* الحركات فوق السطر الأول من العنوان تحتاج نفَسًا تحت الوسم */
.s-hero .px-hero__eyebrow { margin-bottom: 22px; }

/* العشر الأواخر: مضاعفة الوترية وعدّاد المنضمين */
.s-sched__boost { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 14.5px; line-height: 1.6; cursor: pointer; }
.s-sched__boost input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
.s-sched__nights li.is-boost b { color: #ffd59a; }
.s-sched__count { margin: 6px 0 0; font-size: 13.5px; opacity: .85; }

/* شتاء آمن: جدار 500 عائلة. عند الصفر تنبض الطوبة الأولى دعوةً، ويمتلئ الجدار من الحملة الحية (data-sw-bricks) */
.s-camp__wall { display: grid; gap: 10px; width: 100%; padding: 14px; border-radius: var(--r-sm); border: 1px solid hsl(var(--border)); }
.s-camp__wall .px-bricks { gap: 2px; }
.s-camp__wall .px-bricks b { background: var(--px-sand-2, #e6dccb); }
.s-camp__wall .px-bricks b.on { background: var(--red); }
.s-camp__wall .px-bricks:not(:has(b.on, b.half)) b:first-child { background: #fbe9e7; box-shadow: inset 0 0 0 1.5px var(--red); animation: sFirst 2.4s ease-in-out infinite; }
@keyframes sFirst { 50% { background: #f1b9b3; } }
.s-camp__first { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 1.6; color: hsl(var(--fg-2)); }
.s-camp__first > i { flex: none; width: 18px; height: 9px; border-radius: 1px; background: #fbe9e7; box-shadow: inset 0 0 0 1.5px var(--red); }
.s-camp__wall:has(.px-bricks b.on) .s-camp__first { display: none; }
@media (prefers-reduced-motion: reduce) { .s-camp__wall .px-bricks b:first-child { animation: none !important; } }
