.event-header{ position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 82px; padding: 11px clamp(20px,4vw,70px); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(7,7,12,.9); backdrop-filter: blur(18px); }
.event-brand{ display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.event-brand > span{ display: grid; width: 50px; height: 50px; place-items: center; overflow: hidden; border-radius: 50%; background: #fff; }
.event-brand img{ width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.event-brand div{ display: grid; }
.event-brand strong{ font-family:"Changa",sans-serif; }
.event-brand small{ color:#f19544; font-size:11px; }
.event-nav{ display:flex; align-items:center; justify-content:flex-end; gap:18px; overflow-x:auto; font-size:12px; font-weight:800; }
.event-nav a{ white-space:nowrap; }
.event-nav .language-link,.event-main-link{ padding:8px 11px; border:1px solid rgba(255,255,255,.16); border-radius:999px; }
.event-main-link{ background:#f15b3a; color:#fff!important; }
@media(max-width:1000px){.event-header{align-items:flex-start;flex-direction:column}
.event-nav{width:100%;justify-content:flex-start;padding-bottom:5px}}
@media(max-width:650px){.event-header{position:relative;padding:12px 18px}}
.event-header{
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease;
}
.event-header.is-event-scrolled{
  background: rgba(7, 7, 12, .97);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .34);
}
.event-brand > span{
  animation: eventLogoPulse 3.2s ease-in-out infinite;
}
.event-nav a{
  position: relative;
  transition: color .25s ease, transform .25s ease;
}
.event-nav a:not(.event-main-link)::after{
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #f15b3a, #a04cff);
  content: "";
  transform: scaleX(0);
  transition: transform .3s ease;
}
.event-nav a:hover{
  color: #f19544;
  transform: translateY(-2px);
}
.event-nav a:hover::after{
  transform: scaleX(1);
}
.event-page:has(.event-nav.is-open){
  overflow: hidden;
}
.event-menu-toggle,.event-menu-backdrop{
  display: none;
}
.event-nav a:focus-visible,.event-menu-toggle:focus-visible{
  outline: 3px solid #f8b15c;
  outline-offset: 4px;
}
@media (max-width: 1000px){.event-header{
    min-height: 74px;
    padding: 11px 20px;
  }
.event-brand > span{
    width: 46px;
    height: 46px;
  }
.event-menu-toggle{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    cursor: pointer;
  }
.event-menu-toggle > span,.event-menu-toggle > span::before,.event-menu-toggle > span::after{
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform .25s ease;
  }
.event-menu-toggle > span{
    position: relative;
  }
.event-menu-toggle > span::before{
    position: absolute;
    top: -6px;
  }
.event-menu-toggle > span::after{
    position: absolute;
    top: 6px;
  }
.event-menu-toggle[aria-expanded="true"] > span{
    background: transparent;
  }
.event-menu-toggle[aria-expanded="true"] > span::before{
    top: 0;
    transform: rotate(45deg);
  }
.event-menu-toggle[aria-expanded="true"] > span::after{
    top: 0;
    transform: rotate(-45deg);
  }
.event-nav{
    position: fixed;
    z-index: 81;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    width: min(390px, 88vw);
    padding: 92px 24px 35px;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    background: #0d0a14;
    box-shadow: -20px 0 70px rgba(0, 0, 0, .42);
    transform: translateX(105%);
    transition: transform .32s ease;
  }
[dir="ltr"] .event-nav{
    right: auto;
    left: 0;
    box-shadow: 20px 0 70px rgba(0, 0, 0, .42);
    transform: translateX(-105%);
  }
.event-nav.is-open{
    transform: translateX(0);
  }
.event-nav a{
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
  }
.event-menu-backdrop{
    position: fixed;
    z-index: 80;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(0, 0, 0, .68);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
.event-menu-backdrop.is-visible{
    opacity: 1;
    pointer-events: auto;
  }}
@media (max-width: 650px){.event-brand div{
    max-width: 180px;
  }
.event-brand small{
    display: none;
  }
.event-menu-toggle strong{
    display: none;
  }}
.event-header { direction: rtl; font-family: "Tajawal", sans-serif; color: #f6f1e8; line-height: 1.5; }
.event-header a { color: inherit; text-decoration: none; }
.event-header strong { font-size: 16px; }
.event-header button { font-family: inherit; }
.event-archive-page > .page-wrapper { overflow-x: clip; }
.event-archive-page section .container { padding-inline: clamp(24px, 4vw, 56px); }
.event-archive-page section h1 { font-size: clamp(30px, 4vw, 54px) !important; line-height: 1.5 !important; }
.event-archive-page section h2 { font-size: clamp(24px, 3vw, 38px) !important; line-height: 1.55 !important; }
.event-archive-page section h3 { font-size: clamp(20px, 2.2vw, 28px) !important; line-height: 1.6 !important; }
.event-archive-page section p { font-size: 16px !important; line-height: 1.95 !important; }
.event-archive-page section li { line-height: 1.85; }
.event-archive-page section h1, .event-archive-page section h2, .event-archive-page section h3, .event-archive-page section p { overflow-wrap: break-word; }
@media(max-width:600px) {
 .event-archive-page section .container { padding-inline: 22px; }
 .event-archive-page section p { font-size: 14px !important; }
}

.archive-home-header { z-index: 1000; }
.archive-home-nav { display:flex; align-items:center; justify-content:center; gap:clamp(12px,2vw,30px); direction:rtl; }
.archive-home-nav a { color:#fff; font-size:15px; font-weight:800; text-decoration:none; white-space:nowrap; transition:color .2s ease; }
.archive-home-nav a:hover { color:var(--bs-primary,#f15b3a); }
@media (max-width: 900px) { .archive-home-header .header-wrapper { flex-wrap:wrap; gap:12px; } .archive-home-nav { order:3; width:100%; justify-content:flex-start; overflow-x:auto; padding:5px 0 8px; } .archive-home-nav a { font-size:13px; } }

/* Accessible floating social menu for the legacy event archive. */
.event-nav .language-link {
  display: inline-flex;
  min-width: 48px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-color: rgba(241, 149, 68, .45);
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.event-nav .language-link::before { content: none !important; display: none !important; }
.event-social-control {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 2000;
}
.event-social-menu { position: relative; perspective: 1000px; }
.event-social-menu > summary { list-style: none; cursor: pointer; }
.event-social-menu > summary::-webkit-details-marker { display: none; }
.event-social-menu:not([open]) > .event-social-panel { display: none; }
.event-social-menu[open] > .event-social-panel { display: flex; }
.event-social-toggle {
  box-sizing: border-box;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1.5px solid rgba(212, 175, 55, .5);
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 0 15px rgba(212, 175, 55, .2), inset 0 1px 1px rgba(255, 255, 255, .25);
  cursor: pointer;
  animation: event-social-pulse 3s infinite;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.event-social-toggle:hover { transform: scale(1.08) translateY(-2px); border-color: rgba(212, 175, 55, .8); }
.event-social-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.event-social-close-icon { display: none; }
.event-social-menu[open] .event-social-toggle { border-color: #d4af37; }
.event-social-menu[open] .event-social-share-icon { display: none; }
.event-social-menu[open] .event-social-close-icon { display: block; color: #d4af37; transform: rotate(360deg); }
.event-social-panel {
  position: absolute;
  right: auto;
  bottom: calc(100% + 16px);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 32px);
  max-height: 70vh;
  overflow-y: auto;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .4), inset 0 1px 1px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 25px) scale(.82) rotateX(-10deg);
  transform-origin: bottom center;
  transition: opacity .35s ease, visibility .35s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
}
.event-social-menu[open] > .event-social-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1) rotateX(0deg); pointer-events: auto; }
.event-social-panel a {
  position: relative;
  display: inline-flex;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 16px;
  background: rgba(0, 0, 0, .25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px) scale(.8);
  transition: opacity .3s ease, transform .35s cubic-bezier(.25, .8, .25, 1), background .3s ease, border-color .3s ease;
}
.event-social-menu[open] .event-social-panel a { opacity: 1; transform: translateY(0) scale(1); }
.event-social-menu[open] .event-social-panel a:nth-child(1) { transition-delay: .06s; }
.event-social-menu[open] .event-social-panel a:nth-child(2) { transition-delay: .12s; }
.event-social-menu[open] .event-social-panel a:nth-child(3) { transition-delay: .18s; }
.event-social-menu[open] .event-social-panel a:nth-child(4) { transition-delay: .24s; }
.event-social-panel a:hover,
.event-social-panel a:focus-visible { border-color: rgba(212, 175, 55, .7); background: rgba(255, 255, 255, .25); transform: translateY(-4px) scale(1.12); }
.event-social-icon { display: inline-flex; width: 100%; height: 100%; align-items: center; justify-content: center; overflow: hidden; border-radius: 14px; font-size: 16px; font-weight: 900; line-height: 1; }
.event-social-icon img { display: block; width: 100%; height: 100%; border-radius: 14px; object-fit: cover; transition: transform .3s ease; }
.event-social-panel a:hover img { transform: scale(1.08); }
.event-social-icon svg { width: 26px; height: 26px; fill: currentColor; }
.event-social-tooltip {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: calc(100% + 12px);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(15, 23, 42, .92);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(8px, -50%);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  pointer-events: none;
}
.event-social-panel a:hover .event-social-tooltip,
.event-social-panel a:focus-visible .event-social-tooltip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
@keyframes event-social-pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 0 12px rgba(212, 175, 55, .2); }
  50% { box-shadow: 0 12px 35px rgba(0, 0, 0, .45), 0 0 22px rgba(212, 175, 55, .5); }
}
@media (max-width: 650px) {
  .event-social-control { right: 16px; bottom: 92px; }
  .event-social-toggle { width: 60px; height: 60px; }
  .event-social-panel { gap: 10px; }
  .event-social-panel a { flex-basis: 48px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .event-social-toggle { animation: none; } }



/* Keep the complete social stack visible and clear of the floating share control. */
.event-social-control { z-index: 2000; }
.event-social-panel {
  bottom: calc(100% + 24px);
  max-height: none;
  overflow: visible;
  gap: 18px;
  padding: 14px;
}
@media (max-height: 720px) {
  .event-social-panel { gap: 10px; padding-block: 10px; }
  .event-social-panel a { flex-basis: 46px; width: 46px; height: 46px; }
}


/* Wall-solutions social menu: match the compact vertical widget used on the main site. */
.event-social-control { z-index: 2000; }
.event-social-panel {
  box-sizing: border-box;
  left: 50%;
  width: 82px;
  min-width: 82px;
  max-width: 82px;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  gap: 14px;
  padding: 14px;
  bottom: calc(100% + 24px);
}
.event-social-menu[open] > .event-social-panel { display: flex !important; }
.event-social-panel a {
  box-sizing: border-box;
  flex: 0 0 52px;
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 14px;
}
.event-social-icon,
.event-social-icon img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
/* Keep the same share symbol in both states, as on the main site. */
.event-social-close-icon { display: none !important; }
.event-social-menu[open] .event-social-share-icon { display: block !important; }
.event-social-menu[open] .event-social-close-icon { display: none !important; }
@media (max-height: 480px) {
  .event-social-panel { gap: 7px; padding-block: 8px; }
  .event-social-panel a { flex-basis: 38px; width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
}
