/* نادي الهندسة المدنية — جامعة الملك سعود
   لون الهوية من ملف الشعار الأصلي: #4B2E83 */

:root {
  --brand: #4B2E83;
  --brand-deep: #3A2266;
  --lav: #E0DCEA;
  --lav-soft: #F1EFF6;
  --paper: #FBFAF8;
  --paper-2: #F2F0F4;
  --ink: #1D1430;
  --ink-soft: #4C4361;
  --on-brand-soft: #D9D2E4;
  --lav-bright: #C9B6F2; /* بنفسجي فاتح للنصوص على الحقول الداكنة */
  /* خطوط المخطط: رفيعة تفصل الأقسام والخانات */
  --line: rgb(29 20 48 / 0.14);
  --line-2: rgb(29 20 48 / 0.34);

  --font: "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Sans Arabic", ui-monospace, Consolas, monospace;
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --t-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  --t-h2s: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --t-h1: clamp(2.75rem, 1.4rem + 5.6vw, 6rem);
  --t-figure: var(--t-h1);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --section: clamp(72px, 9vw, 168px);
  --head-h: 64px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- الأساس ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; text-wrap: balance; }
p, dd, li, figcaption { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }
bdi { unicode-bidi: isolate; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; inset-inline-start: 16px; inset-block-start: -100px; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 999px;
}
.skip:focus { inset-block-start: 12px; }

/* ---------- الحقول اللونية ---------- */
.f-brand { background: var(--brand); color: #fff; }
.f-brand .muted { color: var(--on-brand-soft); }
.muted { color: var(--ink-soft); }
.section { padding-block: var(--section); }

/* ---------- العناوين والنصوص ---------- */
.h1 { font-size: var(--t-h1); line-height: 1.25; }
.h2 { font-size: var(--t-h2); line-height: 1.25; }
.h3 { font-size: var(--t-h3); line-height: 1.35; }
.lead { font-size: var(--t-lead); line-height: 1.7; max-width: 44ch; }
.small { font-size: var(--t-small); }
/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-block-size: 48px; padding-inline: 1.5em; border: 0; border-radius: 999px;
  font-weight: 600; font-size: var(--t-body); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-ring { background: transparent; border: 2px solid currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--brand-deep); }
  .btn-light:hover { background: var(--lav); }
  .btn-ring:hover { background: rgb(255 255 255 / 0.12); }
  }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
a:hover .arrow { transform: translateX(-4px); }
.text-link { font-weight: 600; text-decoration: underline; }

/* ---------- الترويسة ---------- */
.announce { background: var(--brand-deep); color: #fff; text-align: center; padding: 10px var(--gutter); font-size: var(--t-small); }
.site-head { position: sticky; inset-block-start: 0; z-index: 50; background: var(--paper); border-block-end: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-block-size: var(--head-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: var(--t-body); margin-inline-end: auto; }
.brand img { inline-size: 36px; block-size: auto; }
.nav-desk { display: none; gap: 4px; }
.nav-desk a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background-color 200ms ease; }
.nav-desk a:hover { background: var(--paper-2); }
.nav-desk a[aria-current] { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 0.5em; }
.head-cta { display: none; }

.nav-mobile summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-block-size: 44px;
  padding-inline: 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--brand); color: #fff; }
.nav-mobile nav {
  position: absolute; inset-inline: 0; inset-block-start: 100%;
  background: var(--paper); padding: 8px var(--gutter) 24px;
  box-shadow: 0 24px 40px -24px rgb(29 20 48 / 0.35); /* taste-skill-ignore: real overlay menu */
  max-block-size: calc(100svh - var(--head-h)); overflow-x: hidden; overflow-y: auto;
}
.nav-mobile:not([open]) nav { display: none; }
.nav-mobile nav a { display: block; padding: 12px 0; font-size: var(--t-lead); font-weight: 600; text-decoration: none; }
.nav-mobile nav a[aria-current] { color: var(--brand); text-decoration: underline; }
/* الزر يبقى زرًّا داخل القائمة: نصه في الوسط لا ملتصقًا بالحافة كبقية الروابط */
.nav-mobile nav .btn { display: flex; margin-block-start: 12px; inline-size: 100%; padding: 0 1.5em; font-size: 1.0625rem; }

/* أضيق الجوالات (320): اسم النادي يبقى في سطر واحد بجانب زر القائمة */
@media (max-width: 359px) { .head-row { gap: 12px; } .brand { font-size: 0.9375rem; white-space: nowrap; } }
/* سبعة روابط واسم النادي وزر الانضمام تحتاج نحو 1120 بكسل في سطر واحد؛ دون ذلك قائمة الجوال */
@media (min-width: 1120px) {
  .nav-desk { display: flex; }
  .nav-desk a { white-space: nowrap; }
  .head-cta { display: inline-flex; min-block-size: 42px; }
  .nav-mobile { display: none; }
}

/* ---------- رأس الصفحات الداخلية ---------- */
/* رأس فاتح بخط سفلي، والصورة في إطار لا يتجاوز دقتها (صور إكس نحو 1000 إلى 1400 بكسل). */
.page-head { padding-block: clamp(32px, 5vw, 80px) 0; }
.page-head .h1 { max-width: 14ch; }
.page-head .lead { margin-block-start: 20px; }
/* مسار الرجوع أعلى صفحات الأدوات */
.crumb { margin-block-end: 10px; color: var(--ink-soft); }
.crumb a { color: inherit; text-underline-offset: 0.3em; }
.crumb a::after { content: " /"; display: inline-block; margin-inline-start: 4px; }
.page-head-grid { display: grid; gap: 32px; }
.page-head-media { max-inline-size: 600px; }
/* صورة الهيكل التنظيمي تُعرض كاملة دون قص وبلا تدرج، فخلفيتها بلون الهوية نفسه */
.page-head-media.whole { aspect-ratio: 16 / 9; background: var(--brand); }
.page-head-media.whole img { object-fit: contain; filter: none; }
.page-head-media.whole::after { display: none; }
.soon.page-head { border: 0; }
@media (min-width: 960px) {
  .page-head-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .page-head-media { justify-self: end; inline-size: 100%; }
}
.place { display: grid; gap: 32px; align-items: center; }
.place-media { max-inline-size: 600px; }
.place-text { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 960px) { .place { grid-template-columns: 1fr 1fr; gap: 64px; } }
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, 1fr); } }

/* ---------- الرئيسية: الواجهة ---------- */
.hero { display: grid; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr 1fr; min-block-size: calc(100svh - var(--head-h)); }
  }
/* ---------- الأرقام ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.stat dd { margin: 0; font-size: var(--t-figure); font-weight: 700; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat dt { font-size: var(--t-lead); font-weight: 600; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- الفعالية القادمة ---------- */
.next { display: grid; gap: 32px; align-items: center; }
.next-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--lav); }
.next-media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.next-body { display: grid; gap: 16px; justify-items: start; }
.next-date { font-size: var(--t-h3); font-weight: 700; color: var(--brand); }
@media (min-width: 900px) { .next { grid-template-columns: 1fr 1fr; gap: 64px; } }
.empty-state { display: grid; gap: 16px; justify-items: start; max-width: 60ch; }

/* ---------- الزيارات (بطاقات بالصور) ---------- */
.years { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 8px 24px; }
.chip {
  min-block-size: 44px; padding-inline: 18px; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
  background: transparent; font-weight: 600;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.f-brand .chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--brand); }
.count-line { font-size: var(--t-lead); font-weight: 600; margin-block-end: 32px; }

.more-row { margin-block-start: 48px; }

/* ---------- اللقاءات (قائمة بجانب العنوان) ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: 80px; }
  }
.talks { display: grid; gap: 8px; }
/* ---------- آخر المنشورات (تمرير أفقي على الجوال، شبكة على الحاسب) ---------- */
.posts { display: grid; gap: 8px; }
.post {
  display: grid; grid-template-columns: 96px 1fr; grid-template-rows: 1fr auto; column-gap: 16px; row-gap: 4px;
  padding: 12px; text-decoration: none; background: var(--lav-soft); transition: background-color 200ms ease;
}
.post:hover { background: var(--lav); }
.post-text { font-weight: 600; line-height: 1.55; align-self: end; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .posts { grid-template-columns: repeat(3, 1fr); }
  .post { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; padding: 0 0 20px; row-gap: 10px; }
  .post-text { padding-inline: 20px; }
  .post-text { align-self: start; }
}
.next-last { margin: 0; display: grid; gap: 12px; }
.next-last figcaption { color: var(--ink-soft); }

/* ---------- الشهادات ---------- */
.cert-teaser { display: grid; gap: 40px; }
@media (min-width: 960px) { .cert-teaser { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; } }

.verify-form { display: grid; gap: 12px; max-width: 520px; }
.verify-form label { font-weight: 600; }
.verify-row { display: flex; flex-wrap: wrap; gap: 8px; }
.input {
  flex: 1 1 240px; min-block-size: 52px; padding-inline: 22px; border: 2px solid var(--lav); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 1.0625rem;
}
.input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.f-brand .input { border-color: #fff; }
.f-brand .input:focus-visible { outline-color: #fff; }
.input-code { direction: ltr; text-align: left; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.input-code::placeholder { color: #6F6785; }

.wall { position: relative; overflow: hidden; display: grid; gap: 16px; padding-block: 8px; }
.wall-row { overflow: hidden; }
.wall-track { display: flex; gap: 16px; inline-size: max-content; animation: drift var(--dur, 80s) linear infinite; will-change: transform; }
.wall-row:nth-child(even) .wall-track { animation-direction: reverse; }
.wall.paused .wall-track { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(50%); } }
.cert {
  display: grid; gap: 4px; inline-size: 260px; padding: 20px 22px; flex: none;
  background: var(--lav-soft); color: var(--ink);
}
.f-brand .cert { background: #fff; }
.cert-name { font-weight: 700; font-size: var(--t-body); }
.cert-event { line-height: 1.5; }
.cert-meta { font-size: var(--t-small); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .wall:hover .wall-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) {
  .wall-track { animation: none; flex-wrap: wrap; inline-size: auto; }
  .wall .dup { display: none; }
}
.wall-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; margin-block: 24px 0; }

.cert-list { display: grid; gap: 8px; }
.cert-list li { display: grid; gap: 2px 24px; padding: 18px 20px; background: var(--paper); }
@media (min-width: 760px) {
  .cert-list li { grid-template-columns: 1.2fr 2fr auto; align-items: baseline; }
}
.cert-list .cert-name { font-size: 1.0625rem; }
.search { display: grid; gap: 8px; max-width: 520px; margin-block-end: 24px; }
.search label { font-weight: 600; }

.result { margin-block-start: 32px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; max-width: 640px; }
.result.ok { background: var(--paper); color: var(--ink); }
.result.bad { background: var(--lav); color: var(--ink); }
.result h2 { font-size: var(--t-h3); }
.result dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 8px 0 0; }
.result dt { color: var(--ink-soft); }
.result dd { margin: 0; font-weight: 600; }
.mark-ok { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); }
.mark-ok svg { inline-size: 28px; block-size: 28px; }

.soon { display: none; }
.demo-note { background: #FFF3C4; color: #3D2F00; padding: 14px 20px; font-weight: 600; margin-block-end: 24px; max-width: 72ch; }
.draft-note { font-size: var(--t-small); color: var(--ink-soft); font-style: normal; }

/* ---------- الرعاة ---------- */
.sponsors { display: grid; gap: 8px; }
.sponsor { display: grid; gap: 6px; padding: clamp(24px, 3vw, 36px); background: var(--lav-soft); }
.sponsor img { max-block-size: 64px; inline-size: auto; margin-block-end: 8px; }

.visited { display: grid; gap: 4px; }
.visited { gap: 0; border-block-start: 1px solid var(--line-2); }
.visited li { display: grid; grid-template-columns: 112px 1fr; gap: 4px 20px; align-items: center; padding: 16px 0; border-block-end: 1px solid var(--line); }
.visited li > div { display: grid; gap: 4px; }
.visited-name { font-size: var(--t-h3); font-weight: 700; }
.visited-dates { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* ---------- الفعاليات ---------- */
.filters { display: grid; gap: 16px; margin-block-end: 40px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.select {
  min-block-size: 44px; padding-inline: 18px 40px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper);
  font-weight: 600; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D1430' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 16px center;
}
.year-block { margin-block-end: clamp(72px, 8vw, 112px); }
.year-title { font-size: var(--t-h2); font-weight: 500; color: var(--brand); margin-block-end: 16px; }
.elist { display: grid; border-block-start: 1px solid var(--line-2); }
.erow { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding-block: 20px; border-block-end: 1px solid var(--line); text-decoration: none; }
.erow > .ph { align-self: start; }
.erow-body { display: grid; gap: 8px; align-content: start; }
.erow h3 { font-size: var(--t-lead); line-height: 1.45; transition: color 200ms ease; }
.erow-sum { font-size: var(--t-small); max-width: 65ch; }
@media (max-width: 599px) { .erow-sum { display: none; } }
@media (min-width: 700px) {
  .erow { grid-template-columns: 240px 1fr; gap: 32px; padding-block: 28px; }
  .erow h3 { font-size: var(--t-h3); }
  .erow-sum { font-size: var(--t-body); }
}
.open-list { display: grid; gap: 16px; }
.open-item { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--paper); color: var(--ink); justify-items: start; }
.open-item h3 { font-size: var(--t-h3); }

/* ---------- صفحة فعالية ---------- */
.ev-title { max-width: 20ch; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.75rem); }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-block-start: 20px; color: var(--ink-soft); }
.ev-meta .mono { color: var(--brand); }
/* التقرير: ماذا حدث، مع من، وما استفاده الطلاب */
.report { display: grid; margin: 0; border-block-start: 1px solid var(--line-2); }
.report > div { display: grid; gap: 8px; padding-block: 24px; border-block-end: 1px solid var(--line); }
.report dt { font-size: var(--t-lead); font-weight: 700; }
.report dt .mono { margin-inline-end: 14px; font-size: var(--t-small); font-weight: 500; color: var(--brand); }
.report dd { margin: 0; font-size: var(--t-lead); line-height: 1.8; max-width: 60ch; }
@media (min-width: 900px) { .report > div { grid-template-columns: 4fr 8fr; gap: 48px; padding-block: 32px; } }
.ev-note { margin-block-start: 24px; }
.ev-actions { margin-block-start: 32px; }
/* الصور في إطارات بحجم يناسب دقتها: عمودان بحد أقصى نحو 530 بكسل للصورة */
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr; max-inline-size: 1080px; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* بطاقة بصورة: الصورة دائرة يمين الاسم والدور */
.members-title { display: flex; align-items: baseline; gap: 10px; font-size: var(--t-body); margin-block: 28px 12px; }
.members-title span { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-weight: 500; }
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.member-grid li { padding: 12px 16px; background: var(--paper-2); font-weight: 600; line-height: 1.5; }
@media (min-width: 600px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
/* ---------- الإنجازات والتغطيات ---------- */
.coverage { display: grid; gap: 40px; }
.coverage h3 { font-size: var(--t-h3); color: var(--brand); margin-block-end: 8px; font-variant-numeric: tabular-nums; }
.coverage li { padding-block: 8px; }
.coverage a { text-decoration: none; }
.coverage a:hover { text-decoration: underline; }
.coverage .src { color: var(--ink-soft); font-size: var(--t-small); }
@media (min-width: 900px) { .coverage { grid-template-columns: repeat(2, 1fr); gap: 48px 80px; } }

/* ---------- انضم ---------- */
.links-grid { display: grid; gap: 8px; }
.links-grid a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: var(--paper); text-decoration: none; font-weight: 600; font-size: var(--t-lead); transition: background-color 200ms ease; }
.links-grid a:hover { background: var(--lav-soft); }
.links-grid .handle { font-weight: 400; color: var(--ink-soft); direction: ltr; }
@media (min-width: 700px) { .links-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================
   تصميم «لوحات المخطط»: خلفيات فاتحة، خطوط رفيعة بين الأقسام،
   أقسام مرقّمة، والبنفسجي لمسات مع قسم واحد قوي.
   ========================================================== */
.mono { font-family: var(--mono); font-weight: 400; font-variant-numeric: tabular-nums; }
.ink-brand { color: var(--brand); }
.f-brand .chip { border-color: rgb(255 255 255 / 0.5); }
.chip.mono { font-weight: 500; }

/* معالجة موحدة للصور: نسبة 4:3 للجميع، وتدرج خفيف بلون الهوية يجمع صور الجوال المختلفة.
   يختفي التدرج عند المرور على الرابط فتظهر الصورة بألوانها. */
.ph { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.ph img { inline-size: 100%; block-size: 100%; object-fit: cover; filter: saturate(0.88) contrast(1.05); transition: transform 300ms var(--ease-out), filter 300ms ease; }
.ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(75 46 131 / 0.3), rgb(75 46 131 / 0.06) 55%);
  mix-blend-mode: multiply;
}
@media (hover: hover) and (pointer: fine) {
  a:hover .ph img, a.ph:hover img { transform: scale(1.03); filter: none; }
}
/* ملصقات وتصاميم فيها نص («صور كاملة» = نعم في جدول الفعاليات): تُعرض كاملة دون قص ولا تدرج،
   على خلفية بلون الهوية الداكن الذي تُصمَّم به ملصقات النادي */
.ph.whole { background: var(--brand-deep); }
.ph.whole img { object-fit: contain; filter: none; }
.ph.whole::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  a:hover .ph.whole img, a.ph.whole:hover img { transform: none; }
}

/* فعالية بلا صورة: ختم بتاريخها بدل خانة فارغة. الحجم يتبع عرض الخانة (من 112 بكسل في القوائم إلى بطاقة كاملة) */
.ph.ph-none { background: var(--lav-soft); container-type: inline-size; }
.ph.ph-none::after { display: none; }
.ph-date { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.5em; color: var(--brand); font-size: 0.8125rem; font-size: clamp(0.75rem, 7cqi, 1.25rem); line-height: 1; }
.ph-date b { font-weight: 500; font-size: 1.75rem; font-size: clamp(1.5rem, 24cqi, 5rem); }

/* تصنيف الفعالية: مربع بنفسجي صغير ثم الاسم */
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); font-weight: 600; line-height: 1; color: var(--ink); }
.tag::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; background: var(--brand); }
.ph > .tag { position: absolute; z-index: 1; inset-block-start: 12px; inset-inline-start: 12px; padding: 8px 10px; background: var(--paper); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: var(--t-small); color: var(--ink-soft); }

/* الأقسام المرقّمة: خط في أعلى كل قسم ورقمه بخط Mono مثل لوحات المخططات (01، 02...).
   الترقيم تلقائي، والأقسام المخفية في المرحلة الأولى لا تأخذ رقمًا. */
main { counter-reset: sheet; }
.sheet { padding-block: clamp(56px, 7vw, 120px); }
.sheet-soft { background: var(--paper-2); }
.sheet-head {
  display: grid; gap: 16px; padding-block-start: 20px; margin-block-end: clamp(32px, 4vw, 56px);
  border-block-start: 1px solid var(--line-2);
}
.sheet-head .h2::before {
  counter-increment: sheet;
  content: counter(sheet, decimal-leading-zero);
  content: counter(sheet, decimal-leading-zero) / "";
  /* الرقم يكبر مع العنوان ويقف في منتصف ارتفاعه، فلا يبدو صندوقًا صغيرًا مقطوعًا في زاويته */
  display: inline-block; vertical-align: middle; margin-inline-end: 0.75em;
  padding: 0.4em 0.55em; border: 1px solid currentColor;
  font: 500 clamp(0.875rem, 0.24em, 1.125rem) / 1 var(--mono); color: var(--brand);
}
@media (min-width: 960px) {
  .sheet-head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
  .sheet-head .lead { justify-self: end; }
}
.sheet .btn-ring:hover { background: rgb(75 46 131 / 0.08); }

/* القسم القوي الوحيد بالبنفسجي */
.sheet-brand { background: var(--brand); color: #fff; }
.sheet-brand .sheet-head { border-color: rgb(255 255 255 / 0.45); }
.sheet-brand .sheet-head .h2::before { color: var(--on-brand-soft); }
.sheet-brand .btn-ring:hover { background: rgb(255 255 255 / 0.12); }
.join2 { display: grid; gap: 40px; align-items: center; }
.join2-text { display: grid; gap: 24px; justify-items: start; }
.join2-text .sheet-head { margin: 0; justify-self: stretch; grid-template-columns: 1fr; }
@media (min-width: 960px) { .join2 { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* الواجهة: نص وصور ناس، ثم صف أرقام بخانات */
.stats2 { display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(40px, 5vw, 72px) 0 0; border-block-start: 1px solid var(--line-2); }
.stats2 > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 20px 16px 20px 0; border-block-end: 1px solid var(--line); }
.stats2 > div:nth-child(even) { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
.stats2 dd { margin: 0; font-family: var(--mono); font-weight: 500; font-size: var(--t-h2); line-height: 1; color: var(--brand); }
.stats2 dt { font-weight: 600; }
@media (min-width: 860px) {
  .stats2 { grid-template-columns: repeat(4, 1fr); }
  .stats2 > div { border-block-end: 0; padding-inline-start: 24px; }
  .stats2 > div + div { border-inline-start: 1px solid var(--line); }
  .stats2 > div:first-child { padding-inline-start: 0; }
}

/* بطاقات الفعاليات بنفس الأبعاد */
.cards { display: grid; gap: 36px 20px; }
.card { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.card h3 { font-size: var(--t-h3); line-height: 1.4; transition: color 200ms ease; }
@media (max-width: 639px) { .cards > :nth-child(n+5) { display: none; } }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* اللقاءات: قائمة مرقّمة بخطوط رفيعة */
.rows { border-block-start: 1px solid var(--line-2); }
.rows li { border-block-end: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1.75rem 1fr 84px; gap: 12px; align-items: center; padding-block: 20px; text-decoration: none; }
.row-no { align-self: start; padding-block-start: 0.5em; font-size: var(--t-small); color: var(--brand); }
.row-body { display: grid; gap: 10px; }
.row h3 { font-size: var(--t-lead); line-height: 1.45; transition: color 200ms ease; }
@media (min-width: 760px) {
  .row { grid-template-columns: 4rem 1fr 220px; gap: 32px; padding-block: 28px; }
  .row h3 { font-size: var(--t-h3); }
}

/* آخر المنشورات: صفوف على الجوال، ثلاثة أعمدة بخطوط فاصلة على الحاسب */
.posts2 { display: grid; border-block-start: 1px solid var(--line-2); }
.post2 {
  display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 8px;
  padding-block: 16px; border-block-end: 1px solid var(--line); text-decoration: none;
}
.post2 .ph { grid-row: span 2; }
.post2 .post-text { align-self: start; transition: color 200ms ease; }
@media (min-width: 1000px) {
  .posts2 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; border-block-start: 0; }
  .post2 { grid-template-columns: 1fr; grid-template-rows: auto; padding: 0 24px; border-block-end: 0; border-inline-start: 1px solid var(--line); }
  .post2:nth-child(3n+1) { border-inline-start: 0; padding-inline-start: 0; }
  .post2:nth-child(3n) { padding-inline-end: 0; }
  .post2 .ph { grid-row: auto; margin-block-end: 8px; }
}

/* الفعالية القادمة / آخر فعالية */
.sheet .next-last figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }

/* التذييل: حقل داكن بلون الحبر تُختم به الصفحة كما تُفتح الرئيسية بمشهدها الليلي.
   في أعلاه خط منسوب الأرض (±0.00) وتهشير التربة كما في المقاطع الإنشائية: ما تحته هو أساس الموقع. */
.foot { background: var(--ink); color: #fff; padding-block: clamp(40px, 5vw, 72px) max(24px, env(safe-area-inset-bottom)); }
.foot a { text-decoration: none; }
.foot-ground {
  position: relative; block-size: 14px; border-block-start: 1px solid rgb(255 255 255 / 0.42);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='14'%3E%3Cpath d='M17 0 7 12M25 0 15 12M33 0 23 12' fill='none' stroke='%23fff' stroke-opacity='.3'/%3E%3C/svg%3E") 0 0 / auto space no-repeat;
}
/* علامة المنسوب: مثلث رأسه على الخط والرقم فوقه */
.foot-ground span {
  /* العنصر نفسه اتجاهه من اليسار (رقم لاتيني)، فبدايته هي يسار الخط: الطرف البعيد عن العنوان */
  position: absolute; inset-inline-start: 0; inset-block-end: calc(100% + 1px);
  display: flex; align-items: flex-end; gap: 8px; font-size: 0.8125rem; line-height: 1; color: var(--lav-bright);
}
.foot-ground span::after { content: ""; inline-size: 11px; block-size: 9px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); }

.foot-top { display: grid; gap: 32px; padding-block-start: clamp(40px, 6vw, 88px); }
.foot-motto { font-size: clamp(2.5rem, 1.3rem + 5vw, 5.5rem); font-weight: 700; line-height: 1.32; }
.foot-motto span { display: block; color: var(--lav-bright); }
.foot-logos { display: flex; align-items: center; gap: 20px; }
.foot-logos img { inline-size: auto; block-size: clamp(36px, 11.5vw, 48px); }
/* شعار الجامعة ملف بلون واحد وخلفية شفافة، فيُعرض أبيض على الحقل الداكن */
.foot-ksu { filter: brightness(0) invert(1); padding-inline-start: 20px; border-inline-start: 1px solid rgb(255 255 255 / 0.3); box-sizing: content-box; }

.foot-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px;
  margin-block-start: clamp(40px, 6vw, 80px); padding-block-start: clamp(28px, 3vw, 40px);
  border-block-start: 1px solid rgb(255 255 255 / 0.16);
}
.foot-col h2 { font-size: var(--t-small); font-weight: 600; color: var(--on-brand-soft); margin-block-end: 8px; }
.foot-links a { display: flex; align-items: center; min-block-size: 44px; font-weight: 500; transition: color 200ms ease; }
.foot-contact { grid-column: 1 / -1; display: grid; gap: 6px; justify-items: start; }
.foot-contact h2 { margin-block-end: 2px; }
.foot-contact p { line-height: 1.7; }
.foot-contact a { display: inline-flex; align-items: center; min-block-size: 44px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; transition: color 200ms ease; }

.foot-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px;
  margin-block-start: clamp(36px, 5vw, 64px); padding-block-start: 16px;
  border-block-start: 1px solid rgb(255 255 255 / 0.16);
  font-size: var(--t-small); color: var(--on-brand-soft);
}
.foot-sheet { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.foot-sheet .mono { padding: 5px 9px; border: 1px solid currentColor; color: var(--lav-bright); font-weight: 500; line-height: 1; }
.foot-up { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; font-weight: 600; color: #fff; transition: color 200ms ease; }
.foot-up .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .foot-links a:hover, .foot-contact a:hover, .foot-up:hover { color: var(--lav-bright); }
  .foot-links a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
  .foot-up:hover .arrow { transform: translateY(-3px); }
}
@media (min-width: 760px) {
  .foot-logos img { block-size: 56px; }
  .foot-nav { grid-template-columns: 5fr 4fr 3fr; column-gap: 48px; }
  .foot-contact { grid-column: auto; align-content: start; }
  .foot-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .foot-links a { min-block-size: 40px; }
}
@media (min-width: 960px) {
  .foot-top { grid-template-columns: 1fr auto; align-items: end; gap: 64px; }
  .foot-logos { padding-block-end: 0.9rem; }
}

/* بقية الصفحات بنفس لغة اللوحات */
.sheet-brand .btn-solid { background: #fff; color: var(--brand); }
.sheet-brand .next-last figcaption, .sheet-brand .muted { color: var(--on-brand-soft); }
.sheet-brand .empty-state .lead { max-width: 52ch; }
.sheet .cert-teaser .sheet-head { border: 0; padding: 0; grid-template-columns: 1fr; }

/* سطر بلا صورة (سلاسلنا) */
.row-text { grid-template-columns: 1.75rem 1fr; }
.row-text p { max-width: 60ch; }
@media (min-width: 760px) { .row-text { grid-template-columns: 4rem 1fr; } }

/* روابط الحسابات (انضم إلينا) */
.links-grid { gap: 0 40px; border-block-start: 1px solid var(--line-2); }
.links-grid a { padding: 20px 0; background: none; border-block-end: 1px solid var(--line); }
.links-grid a:hover { background: none; color: var(--brand); }
.links-grid .handle { font-family: var(--mono); font-size: var(--t-small); }
.sheet-brand .links-grid { border-color: rgb(255 255 255 / 0.45); }
.sheet-brand .links-grid a { border-color: rgb(255 255 255 / 0.22); }
.sheet-brand .links-grid a:hover { color: #fff; text-decoration: underline; }
.sheet-brand .links-grid .handle { color: var(--on-brand-soft); }

/* التغطيات */
.coverage h3 { font-weight: 500; }
.coverage ul { border-block-start: 1px solid var(--line-2); }
.coverage li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 12px; border-block-end: 1px solid var(--line); }
.coverage .src { flex: none; }

/* الرعاة: بطاقة بخانة شعار بيضاء وخطوط رفيعة */
.sponsors { gap: 0; border-block-start: 1px solid var(--line-2); }
.sponsor { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; padding: 24px 0; background: none; border-block-end: 1px solid var(--line); }
.sponsor .sp-logo { aspect-ratio: 4 / 3; padding: 10px; }
.sponsor .sp-logo img { block-size: 100%; }
.sponsor .sp-name { font-size: var(--t-body); }
.sp-logo { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 20px; background: #fff; border: 1px solid var(--line); transition: border-color 200ms ease; }
.sp-logo img { inline-size: 78%; block-size: 88px; object-fit: contain; }
.sp-name { font-size: var(--t-h3); font-weight: 700; line-height: 1.35; text-align: center; color: var(--ink-soft); }
.sp-body { display: grid; gap: 10px; align-content: start; }
.sp-body h3 { font-size: var(--t-h3); }
.sp-body h3 a { text-decoration: none; }
.sp-body h3 a:hover { color: var(--brand); text-decoration: underline; }
@media (min-width: 760px) {
  .sponsor { grid-template-columns: 260px 1fr; gap: 32px; align-items: center; padding-block: 28px; }
  .sponsor .sp-logo { aspect-ratio: 16 / 9; padding: 20px; }
  .sponsor .sp-logo img { block-size: 88px; }
  .sponsor .sp-name { font-size: var(--t-h3); }
}
@media (min-width: 1100px) { .sponsors { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* شعارات الرعاة في الرئيسية */
/* minmax(0, …): على الشاشات الضيقة (320) لا يدفع اسم طويل الخانة خارج الشاشة */
.sp-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.sp-tile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; text-decoration: none; }
.sp-tile .sp-logo { padding: clamp(10px, 4vw, 20px); }
.sp-tile .sp-name { overflow-wrap: anywhere; }
.sp-tile .sp-logo { aspect-ratio: 3 / 2; }
.sp-tile .sp-logo img { block-size: 64px; }
.sp-tile .sp-name { font-size: var(--t-lead); }
@media (min-width: 900px) { .sp-strip { grid-template-columns: repeat(4, 1fr); } }

/* جهات زرناها: شعارات بلون واحد في خانات بخطوط رفيعة */
/* الخطوط على الخانات نفسها لا على خلفية الشبكة، فإذا نقص الصف الأخير لا تظهر خانات رمادية فارغة */
.visited { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 0; border-block-start: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.visited li { display: grid; grid-template-columns: 1fr; align-content: start; gap: 8px; padding: 20px; background: var(--paper-2); border: 0; border-inline-end: 1px solid var(--line); border-block-end: 1px solid var(--line); }
.vis-logo { display: grid; place-items: center; block-size: 88px; }
.vis-logo img { inline-size: 82%; block-size: 56px; object-fit: contain; filter: brightness(0); opacity: 0.78; }
/* شعار بلوح خلفي (مثل تيرنر آند تاونسند) يُحفظ مسبقًا بلون الحبر ويُعرض كما هو: اسمه ينتهي بـ -ink.svg */
.vis-logo img[src$="-ink.svg"] { filter: none; }
.visited .visited-name { font-size: var(--t-body); font-weight: 700; line-height: 1.45; }
.visited .visited-dates { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--t-small); }
@media (min-width: 760px) { .visited { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .visited { grid-template-columns: repeat(4, 1fr); } }

/* ---------- الرئيسية: بطاقة حاسبة الكمرات ----------
   رسم ثابت (كمرة بحمل منتظم ومخطط عزمها، الموجب إلى الأعلى كما في الحاسبة) يفتح الحاسبة. */
.tool-card { position: relative; display: block; border: 1px solid var(--line-2); background: #fff; text-decoration: none; transition: border-color 200ms ease; }
.tool-svg { display: block; inline-size: 100%; block-size: auto; max-block-size: 420px; direction: ltr; }
.tool-svg text { font: 500 15px/1 var(--mono); fill: var(--ink); }
.tool-svg .v { fill: var(--brand); font-weight: 600; }
.tool-svg .g { fill: none; stroke: var(--line-2); stroke-dasharray: 2 5; }
.tool-svg .d { fill: rgb(29 20 48 / 0.07); stroke: var(--ink); stroke-width: 1.2; }
.tool-svg .a, .tool-svg .x { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.tool-svg .h, .tool-svg .b { fill: var(--ink); }
.tool-svg .s { fill: #fff; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.tool-svg .m { fill: rgb(75 46 131 / 0.14); }
.tool-svg .c { fill: none; stroke: var(--brand); stroke-width: 2.5; }
.tool-svg .p { fill: var(--brand); }
.tool-go {
  position: absolute; inset-block-end: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 0.5em;
  min-block-size: 48px; padding-inline: 1.5em; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.tool-card:active .tool-go { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .tool-card:hover { border-color: var(--brand); } .tool-card:hover .tool-go { background: var(--brand-deep); } }
/* الجوال: الرسم يصغر إلى نصف عرضه، فتكبر كتابته لتبقى مقروءة، والزر تحته لا فوقه */
@media (max-width: 599px) { .tool-card { padding-block-end: 80px; } .tool-svg text { font-size: 26px; } }

/* ---------- عارض صور الفعالية (viewer.js) ----------
   نافذة تملأ الشاشة بلون الحبر: الصورة في الوسط كاملة، والأزرار حولها بمساحة لمس 48 بكسل. */
.viewer {
  inline-size: 100vw; block-size: 100vh; block-size: 100dvh; max-inline-size: none; max-block-size: none;
  margin: 0; padding: 56px 12px; border: 0; background: rgb(18 12 30 / 0.97); color: #fff; overflow: hidden;
}
.viewer[open] { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.viewer::backdrop { background: rgb(18 12 30 / 0.97); }
.viewer[open] { animation: vw-in 200ms var(--ease-out); }
@keyframes vw-in { from { opacity: 0; transform: scale(0.98); } }
.vw-img { max-inline-size: 100%; max-block-size: 100%; inline-size: auto; block-size: auto; object-fit: contain; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
/* العدّاد عنصر اتجاهه من اليسار، فنهايته هي يمين الشاشة: مقابل زر الإغلاق */
.vw-count { position: absolute; inset-block-start: 18px; inset-inline-end: 20px; margin: 0; font-size: var(--t-small); line-height: 20px; color: var(--on-brand-soft); }
.vw-btn {
  position: absolute; display: grid; place-items: center; inline-size: 48px; block-size: 48px; padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35); border-radius: 50%; background: rgb(18 12 30 / 0.6); color: #fff; cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.vw-btn svg { inline-size: 22px; block-size: 22px; }
.vw-btn:active { transform: scale(0.94); }
.vw-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.vw-close { inset-block-start: 4px; inset-inline-end: 8px; border-color: transparent; }
/* التالية جهة اليسار والسابقة جهة اليمين، كترتيب الصور في الصفحة */
.vw-next { inset-inline-end: 12px; inset-block-start: calc(50% - 24px); }
.vw-prev { inset-inline-start: 12px; inset-block-start: calc(50% - 24px); }
@media (hover: hover) and (pointer: fine) { .vw-btn:hover { background: #fff; border-color: #fff; color: var(--ink); } }
/* الجوال: الصورة بعرض الشاشة، وزرا التنقل في الأسفل تحت الإبهام */
@media (max-width: 759px) {
  .viewer { padding: 56px 0 88px; }
  .vw-next, .vw-prev { inset-block-start: auto; inset-block-end: max(20px, env(safe-area-inset-bottom)); }
  .vw-next { inset-inline-end: calc(50% - 60px); }
  .vw-prev { inset-inline-start: calc(50% - 60px); }
}
html:has(.viewer[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .viewer[open] { animation: none; } }
.gallery a { cursor: zoom-in; }

/* ---------- المرور والضغط ----------
   المرور للماوس فقط: على اللمس يعلق التأثير بعد الضغط. */
@media (hover: hover) and (pointer: fine) {
  .erow:hover h3 { color: var(--brand); }
  .card:hover h3 { color: var(--brand); }
  .row:hover h3 { color: var(--brand); }
  .post2:hover .post-text { color: var(--brand); }
  .sp-tile:hover .sp-logo { border-color: var(--brand); }
  }
/* ردة فعل الضغط على البطاقات والصفوف: صورتها تصغر قليلًا. الصغر على الصورة لا على البطاقة
   حتى لا يختلط بحركة ظهور البطاقة (rv) وتأخيرها. */
.ph { transition: transform 160ms var(--ease-out); }
.sp-logo { transition: border-color 200ms ease, transform 160ms var(--ease-out); }
.card:active .ph, .erow:active .ph, .row:active .ph, .post2:active .ph, .sp-tile:active .sp-logo { transform: scale(0.985); }
/* ---------- الحركة عند الظهور ---------- */
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.in {
  opacity: 1; transform: none;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  /* تتوقف حركات الانتقال والتكبير والكشف، وتبقى تغيّرات اللون والشفافية القصيرة لأنها تفيد ولا تزعج */
  *, *::before, *::after { transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity !important; }
}
