
/* Original: service-ticker.css */
/* V36 — Syrian Postal Institution service ticker */

.service-ticker {
  position: relative;
  z-index: 8;
  width: 100%;
  min-height: 52px;
  overflow: hidden;
  color: #fff;
  background: #102f43;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 3px solid #d8a642;
  box-shadow: 0 5px 18px rgba(4,24,36,.12);
}

.service-ticker[hidden] {
  display: none !important;
}

.service-ticker-inner {
  display: flex;
  align-items: stretch;
  min-height: 49px;
  direction: rtl;
}

.service-ticker-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 112px;
  padding: 0 17px;
  color: #fff;
  background: #b63d3d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.service-ticker-live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #fff;
  animation: serviceTickerPulseV36 1.5s ease-in-out infinite;
}

@keyframes serviceTickerPulseV36 {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .48; transform: scale(.78); }
}

.service-ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  direction: ltr;
}

.service-ticker-track {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  align-items: center;
  direction: ltr;
  animation: serviceTickerScrollV36
    var(--service-ticker-duration, 45s) linear infinite;
  will-change: transform;
}

.service-ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 21px;
  padding: 0 12px;
  direction: rtl;
  white-space: nowrap;
}

.service-ticker-item {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: rgba(255,255,255,.96);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}

.service-ticker-separator {
  color: #e2b04a;
  font-size: 9px;
}

@keyframes serviceTickerScrollV36 {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Admin editor */
.service-ticker-admin-grid {
  margin-top: 10px;
}

#service-ticker-items {
  min-height: 330px;
  direction: rtl;
  text-align: right;
  line-height: 2;
  white-space: pre-wrap;
  font-family: inherit;
}

#service-ticker-admin-status.error {
  color: #b42318;
}

/* Hero arrows below the title and description */
#home .hero-cinema-overlay .hero-slider-controls {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: max-content !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  direction: ltr !important;
  pointer-events: auto !important;
}

#home .hero-cinema-overlay .hero-slider-controls > * {
  pointer-events: auto !important;
}

@media(max-width:650px) {
  .service-ticker {
    min-height: 46px;
  }

  .service-ticker-inner {
    min-height: 43px;
  }

  .service-ticker-label {
    min-width: 88px;
    gap: 7px;
    padding: 0 10px;
    font-size: 12px;
  }

  .service-ticker-item {
    min-height: 42px;
    font-size: 11px;
  }

  .service-ticker-group {
    gap: 14px;
  }

  #home .hero-cinema-overlay .hero-slider-controls {
    margin-top: 15px !important;
    height: 28px !important;
    min-height: 28px !important;
  }
}


/* Original: social-links.css */
/* V42 — social links, header utility row, admin editor */
body .top-strip { background: #071c2a !important; }
body .top-strip .top-inner {
  display: flex !important;
  direction: rtl !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 9px 22px !important;
  min-height: 44px !important;
  padding-block: 5px !important;
}
body .top-strip .top-inner > #today-date {
  display: block !important;
  order: 1;
  flex: 0 0 auto;
  color: #e1edf2 !important;
  font-size: 12px !important;
  text-align: right !important;
  direction: rtl !important;
}
body .top-strip .social-links-top { order: 2; margin-inline-start: auto; }
body .top-strip .top-links {
  order: 3;
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto;
  gap: 15px !important;
  margin-inline-start: 8px;
}
.social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.social-links[hidden] { display: none !important; }
.social-link {
  width: 33px; height: 33px; min-width: 33px;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #f7f9fa;
  background: rgba(255,255,255,.08);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.social-link:hover, .social-link:focus-visible {
  color: #082b42; background: #f2bd52; border-color: #f2bd52;
  transform: translateY(-2px); outline: none;
}
.social-link svg { width: 17px; height: 17px; display: block; fill: currentColor; }
.social-link-instagram svg, .social-link-whatsapp svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-link-instagram .social-icon-fill { fill: currentColor; stroke: none; }
.footer-socials, .social-links-footer { justify-content: flex-start; }
body .footer-bottom .social-links-footer .social-link {
  width: 35px; height: 35px; min-width: 35px;
  color: #f7d889; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07);
}
body .footer-bottom .social-links-footer .social-link:hover,
body .footer-bottom .social-links-footer .social-link:focus-visible {
  color: #082b42; background: #f2bd52; border-color: #f2bd52;
}
.social-links-admin-panel { grid-column: 1 / -1; }
body .footer-bottom { gap: 10px 18px; flex-wrap: wrap; }
body .footer-bottom .social-links-footer { max-width: 380px; }
.social-admin-grid { margin-top: 12px; }
.social-admin-grid input { direction: ltr; text-align: left; }
#social-links-status { min-width: 220px; }
@media (max-width: 760px) {
  body .top-strip .top-inner { justify-content: center !important; gap: 7px 12px !important; }
  body .top-strip .top-inner > #today-date { font-size: 10px !important; }
  body .top-strip .social-links-top { margin-inline-start: 0; gap: 5px; }
  body .top-strip .top-links { gap: 8px !important; margin-inline-start: 0; font-size: 10px !important; }
  .social-link { width: 29px; height: 29px; min-width: 29px; }
  .social-link svg { width: 15px; height: 15px; }
}
@media (max-width: 420px) {
  body .top-strip .top-inner { flex-direction: column !important; }
  body .top-strip .top-inner > #today-date { order: 1; }
  body .top-strip .social-links-top { order: 2; }
  body .top-strip .top-links { order: 3; }
}

