:root {
  --bg-color: #fbf7f4;
  --brand-dark: #FF6B00;
  --ink: #1f1f1f;
  --ink-soft: #555;
  --rule: #ececec;
  --card: #ffffff;
}
html{
  background-color: var(--bg-color);
}
body{
  font-family: "Cairo", sans-serif !important;
  background-color: var(--bg-color);
}
img, video { 
  max-width: 100%; 
  height: auto; 
  display: block; 
}
.row > [class^="col"] { 
  min-width: 0; 
}
.card-text, .card-title, a { 
overflow-wrap: anywhere; 
word-break: break-word; 
}
/* body { min-height: 100%; background-color: aqua;} */
html, body { overflow-x: clip; height: 100%;}
/* * { outline: 1px solid red; } */

/* إبقاء الزر شفاف دائماً وإخفاء السهم الصغير */
.btn-link.dropdown-toggle.no-caret::after { display: none; }

/* فتح القوائم بالتحويم على الشاشات الكبيرة فقط */
@media (hover: hover) and (pointer: fine) {
  .dropdown-hover:hover > .dropdown-menu {
    display: block;
  }
  /* مزامنة حالة aria-expanded بصرياً عند التحويم */
  .dropdown-hover:hover > .dropdown-toggle {
    color: var(--bs-primary);
  }
}

/* تأكيد شفافية الأزرار عبر الحالات */
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active,
.show > .btn-link.dropdown-toggle {
  background-color: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
}

/* ==========================================================
   Bootstrap Color Overrides
   Primary:   #FA9500 (orange)
   Secondary: #1D3B6E (dark navy blue)
   ========================================================== */

:root {
    /* --- Primary --- */
    --bs-primary: #FA9500;
    --bs-primary-rgb: 250, 149, 0;
    --bs-primary-hover: #c87700;
    --bs-primary-hover-rgb: 200, 119, 0;
    --bs-primary-active: #b56c00;
    --bs-link-color: var(--bs-primary);
    --bs-link-color-rgb: var(--bs-primary-rgb);
    --bs-link-hover-color: var(--bs-primary-hover);
    --bs-link-hover-color-rgb: var(--bs-primary-hover-rgb);

    /* --- Secondary --- */
    --bs-secondary: #1D3B6E;
    --bs-secondary-rgb: 29, 59, 110;
    --bs-secondary-hover: #162e58;
    --bs-secondary-active: #112347;

    /* --- Tints (alerts/hover backgrounds) --- */
    --bs-primary-tint-text: #7a4900;
    --bs-primary-tint-bg: #feebd0;
    --bs-primary-tint-border: #fde2b9;
    --bs-secondary-tint-text: var(--bs-secondary-active);
    --bs-secondary-tint-bg: #d4dae6;
    --bs-secondary-tint-border: #bfc8da;
}

/* ---- Buttons: Primary ---- */
.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary-hover);
    --bs-btn-hover-border-color: var(--bs-primary-hover);
    --bs-btn-active-bg: var(--bs-primary-active);
    --bs-btn-active-border-color: var(--bs-primary-active);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

/* ---- Buttons: Secondary ---- */
.btn-secondary {
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-secondary-hover);
    --bs-btn-hover-border-color: var(--bs-secondary-hover);
    --bs-btn-active-bg: var(--bs-secondary-active);
    --bs-btn-active-border-color: var(--bs-secondary-active);
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}

.btn-outline-secondary {
    --bs-btn-color: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-color: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}

/* ---- Utility classes ---- */
.text-primary { color: var(--bs-primary) !important; }
.bg-primary { background-color: var(--bs-primary) !important; }
.border-primary { border-color: var(--bs-primary) !important; }

.text-secondary { color: var(--bs-secondary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.border-secondary { border-color: var(--bs-secondary) !important; }

/* ---- Form controls ---- */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-switch .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-range::-webkit-slider-thumb {
    background-color: var(--bs-primary);
}

.form-range::-moz-range-thumb {
    background-color: var(--bs-primary);
}

/* ---- Navigation ---- */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--bs-primary);
}

.nav-link {
    color: var(--bs-primary);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--bs-primary-hover);
}

/* ---- Pagination ---- */
.page-link {
    color: var(--bs-primary);
}

.page-link:hover {
    color: var(--bs-primary-hover);
}

.page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* ---- Badges ---- */
.badge.bg-primary {
    background-color: var(--bs-primary) !important;
}

.badge.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

/* ---- Alerts ---- */
.alert-primary {
    color: var(--bs-primary-tint-text);
    background-color: var(--bs-primary-tint-bg);
    border-color: var(--bs-primary-tint-border);
}

.alert-secondary {
    color: var(--bs-secondary-tint-text);
    background-color: var(--bs-secondary-tint-bg);
    border-color: var(--bs-secondary-tint-border);
}

/* ---- Progress bars ---- */
.progress-bar {
    background-color: var(--bs-primary);
}

/* ---- List groups ---- */
.list-group-item.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.list-group-item-action:active {
    background-color: var(--bs-primary-tint-bg);
}

/* ---- Spinners ---- */
.spinner-border.text-primary {
    color: var(--bs-primary) !important;
}

.spinner-border.text-secondary {
    color: var(--bs-secondary) !important;
}

/* ---- Dropdowns ---- */
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--bs-primary);
}

/* ---- Accordion ---- */
.accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: var(--bs-primary-tint-bg);
}

.accordion-button:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* ---- Links ---- */
a {
    color: var(--bs-primary);
}

a:hover {
    color: var(--bs-primary-hover);
}

/* ========================================
   Shared article card (.article-card-flat)
   Used by the "cards" block design, related articles, and profile pages.
   ======================================== */
.article-card-flat {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.article-card-flat:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.article-card-flat .article-image-wrapper {
  height: 220px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.article-card-flat .article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card-flat:hover .article-image-wrapper img {
  transform: scale(1.08);
}

.article-card-flat:hover .article-overlay {
  opacity: 1;
}

.article-card-flat .card-title {
  color: #2d3748;
  transition: color 0.3s ease;
}

.article-card-flat:hover .card-title {
  color: hsl(var(--w-color-primary-hue), var(--w-color-primary-saturation), var(--w-color-primary-lightness));
}

@media (max-width: 768px) {
  .article-card-flat:hover {
    transform: translateY(-3px);
  }
}

/* Line clamping used by the shared article card. */
.line-clamp-1,
.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
  min-height: 3em;
}

/* ========================================
   Article Cards (cards_with_featured design)
   ======================================== */
.card-title {
  line-height: 1.7em;
}

.article-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

[data-design="cards_with_featured"] .article-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  text-align: start !important;
}

[data-design="cards_with_featured"] .article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

[data-design="cards_with_featured"] .featured-article {
  border-radius: 12px;
  height: 360px;
}

[data-design="cards_with_featured"] .featured-image-col {
  max-height: 360px;
}

[data-design="cards_with_featured"] .featured-article:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

[data-design="cards_with_featured"] .article-image-wrapper-large {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  border-radius: 12px;
}

[data-design="cards_with_featured"] .article-image-wrapper-large img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-design="cards_with_featured"] .featured-article:hover .article-image-wrapper-large img {
  transform: scale(1.1);
}

[data-design="cards_with_featured"] .article-image-wrapper {
  height: 220px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

[data-design="cards_with_featured"] .article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-design="cards_with_featured"] .article-card:hover .article-image-wrapper img {
  transform: scale(1.12);
}

[data-design="cards_with_featured"] .horizontal-article {
  border-radius: 12px;
}

[data-design="cards_with_featured"] .horizontal-article:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

[data-design="cards_with_featured"] .article-image-wrapper-horizontal {
  height: 200px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  position: relative;
  border-radius: 12px;
}

[data-design="cards_with_featured"] .article-image-wrapper-horizontal img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-design="cards_with_featured"] .horizontal-article:hover .article-image-wrapper-horizontal img {
  transform: scale(1.1);
}

[data-design="cards_with_featured"] .article-card:hover .article-overlay {
  opacity: 1;
}

[data-design="cards_with_featured"] .article-card .card-title {
  color: #2d3748;
  transition: color 0.3s ease;
}

[data-design="cards_with_featured"] .article-card:hover .card-title {
  color: hsl(var(--w-color-primary-hue), var(--w-color-primary-saturation), var(--w-color-primary-lightness));
}

@media (max-width: 768px) {
  [data-design="cards_with_featured"] .featured-article {
    height: auto;
    min-height: auto;
  }

  [data-design="cards_with_featured"] .featured-image-col {
    max-height: 220px;
    overflow: hidden;
  }

  [data-design="cards_with_featured"] .article-image-wrapper-large {
    min-height: 220px;
  }

  [data-design="cards_with_featured"] .horizontal-article:hover {
    transform: translateY(-4px);
  }
}

/* ---------- Inline author byline (facepile) ---------- */
.authors-inline {
  --ai-size: 24px;
  gap: 0.5rem;
  line-height: 1.2;
  min-width: 0;
}

.authors-facepile {
  display: inline-flex;
  flex-shrink: 0;
}

.authors-facepile__item {
  /* width/height set inline on the element so the size always applies. */
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  background: #f1f3f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
  position: relative;
}

.authors-facepile__item + .authors-facepile__item {
  margin-inline-start: calc(var(--ai-size, 24px) * -0.35);
}

.authors-facepile__item:hover {
  transform: translateY(-1px);
  z-index: 2;
}

.authors-facepile__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.authors-facepile__fallback {
  color: #6c757d;
  font-size: 55%;
}

.authors-names {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.25rem;
  min-width: 0;
}

.authors-names a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.authors-names .authors-extra,
.authors-names .authors-sep {
  white-space: nowrap;
}

/* Select2 tag/chip picker for university_club (register + profile edit),
   restyled to match Bootstrap's .form-select instead of Select2's default look. */
.select2-container--default .select2-selection--multiple {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  min-height: calc(1.5em + 0.75rem + 2px);
  padding: 0.25rem 0.5rem;
}
/* Lay the chips out as a flex row instead of Select2's floats, so the field keeps
   the height of a .form-select next to it. The chips' own `margin-right: auto`
   (Select2's RTL sheet — inert under floats, but it eats every pixel of free space
   in a flex row) and the search input's margin/padding both have to go. Every rule
   here doubles its last class to outweigh the CDN sheet, which loads later. */
.select2-container--default .select2-selection--multiple .select2-selection__rendered.select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
}
.select2-container--default .select2-selection--multiple .select2-search__field.select2-search__field {
  margin: 0;
  padding: 0;
  height: 1.5em;
  line-height: 1.5;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}
/* Tripled class, not doubled: the CDN's RTL rule (`[dir="rtl"] … .__choice`, which
   is what sets the space-eating `margin-right: auto`) already weighs the same as a
   doubled one and would win the tie by loading later. */
.select2-container--default .select2-selection--multiple .select2-selection__choice.select2-selection__choice.select2-selection__choice {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.1rem 0.5rem;
  margin: 0;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove.select2-selection__choice__remove {
  color: #fff;
  margin-inline-end: 0.35rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove.select2-selection__choice__remove:hover {
  color: #fff;
  opacity: 0.75;
}


/* ==========================================================
   Site footer — "Clean Grid"
   Light warm ground, plain link lists, and soft-shadowed social
   chips. Brand orange is the only accent.
   ========================================================== */

.site-footer {
  /* Component-scoped tokens, aliased to the global palette so the two
     cannot drift. Only the faint ink, the warm rule and the chip shadows
     are genuinely footer-specific. */
  --footer-bg: var(--bg-color);
  --footer-ink: var(--ink);
  --footer-ink-soft: var(--ink-soft);
  --footer-ink-faint: #8b8b8b;
  --footer-rule: #e5dfd8;
  --footer-card: var(--card);
  --footer-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --footer-card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);

  background-color: var(--footer-bg);
  color: var(--footer-ink-soft);
  border-top: 3px solid var(--bs-primary);
}

.site-footer .footer-brand-name {
  color: var(--footer-ink);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.site-footer .footer-slogan {
  color: var(--bs-primary);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Separator dot between the brand name and the slogan on the same line. */
.site-footer .footer-slogan::before {
  content: "•";
  color: var(--footer-ink-faint);
  font-weight: 400;
  margin: 0 0.6rem;
}

/* Column headings: spaced-out labels rather than a rule. */
.site-footer .footer-heading {
  color: var(--footer-ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--footer-ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
  padding-block: 0.18rem;
  transition: color 0.25s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--bs-primary);
}

.footer-link:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Nudge the link toward the reading direction on hover. */
.footer-nav .footer-link {
  transition: color 0.25s ease, transform 0.25s ease;
}

[dir="rtl"] .footer-nav .footer-link:hover { transform: translateX(-3px); }
[dir="ltr"] .footer-nav .footer-link:hover { transform: translateX(3px); }

/* Social accounts as soft white cards that fill with brand orange. */
/* Each account is a labelled row — icon plus its name — with the contact
   address as the last one, so the whole column reads as one way to reach us. */
/* Icon-only row: the account names live in aria-label/title, not on screen.
   The row is full-width, so the icons stay grouped at its start rather than
   spread across it. */
.footer-social {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 0.6rem;
  align-items: center;
  justify-content: start;
}

.footer-social li {
  max-width: 100%;
}

.footer-social .footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: color 0.25s ease, background-color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease,
              transform 0.25s ease;
}

.footer-social .footer-link > .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--footer-rule);
  border-radius: 10px;
  background-color: var(--footer-card);
  box-shadow: var(--footer-card-shadow);
  font-size: 1.02rem;
}

/* Never elide an account name: they are short, and in an RTL column the
   ellipsis eats the *start* of a Latin name ("...agram").
   The global `a { overflow-wrap: anywhere; word-break: break-word }` has to be
   undone here — both values shrink the intrinsic min-content width, so each
   row shrink-wrapped to a few characters and every name broke mid-word. */
.footer-social .footer-link,
.footer-social-name {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}


.footer-social .footer-link:hover,
.footer-social .footer-link:focus-visible {
  transform: translateY(-2px);
}

.footer-social .footer-link:hover > .bi,
.footer-social .footer-link:focus-visible > .bi {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  box-shadow: var(--footer-card-shadow-hover);
  color: var(--footer-card);
}

.site-footer .footer-label {
  color: var(--footer-ink-faint);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* Disclaimer and copyright share one hairline-topped block. */
.footer-fine {
  border-top: 1px solid var(--footer-rule);
  color: var(--footer-ink-faint);
  font-size: 0.82rem;
  line-height: 1.9;
  /* Disclaimer and copyright sit on one line, pushed to opposite edges. */
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-fine p { margin-bottom: 0; }

@media (max-width: 767.98px) {
  /* Two columns: the long link list on one side, every other group stacked
     on the other. The stacked side gets the wider share — the contact email
     needs the room. The social icons then span a row of their own underneath. */
  .site-footer .footer-cols {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    column-gap: 1rem;
    /* Spacing comes from the items, not row-gap: the tall column spans every
       row, and gaps between its empty trailing rows would add dead space. */
    row-gap: 0;
    grid-auto-rows: min-content;
    margin-top: 0;
  }
  .site-footer .footer-cols > * {
    width: auto;
    max-width: none;
    margin-top: 0;
    margin-bottom: 2rem;
    grid-column: 2;
  }
  .site-footer .footer-cols > *:first-child {
    grid-column: 1;
    grid-row: 1 / span 98;
  }
  /* The social icons get a full-width row of their own, below both columns —
     row 99 is past the span of the tall first column. */
  .site-footer .footer-social-col {
    grid-column: 1 / -1;
    grid-row: 99;
  }


  /* The slogan gets its own line under the brand name. */
  .site-footer .footer-slogan {
    display: block;
    margin-top: 0.6rem;
  }
  .site-footer .footer-slogan::before { content: none; }

  /* Disclaimer and copyright stack, centred, clear of the floating chat button. */
  .footer-fine {
    justify-content: center;
    text-align: center;
    padding-inline: 0.5rem;
    padding-bottom: 5.5rem !important;
  }
  .footer-fine-copyright { white-space: normal; }

  /* Break the disclaimer into two even lines rather than a long one plus a stub. */
  .footer-fine-disclaimer { text-wrap: balance; }
}

.footer-fine-copyright { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .footer-link,
  .footer-nav .footer-link,
  .footer-social .footer-link { transition: none; }
  .footer-nav .footer-link:hover,
  .footer-social .footer-link:hover { transform: none; }
}
