﻿/* Shared structural identity, copied into each independently hosted project. */
.site-header {
  position: relative !important;
  inset: auto !important;
  z-index: 20;
  width: 100%;
  height: auto !important;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #dbe4ec;
  color: #183149;
  font-family: Tajawal, Arial, sans-serif;
}
.site-header__inner {
  width: min(1360px, calc(100% - 64px));
  margin: auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  color: inherit;
  text-decoration: none;
  line-height: 1.4;
}
.site-brand img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
}
.site-brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: #6b8092;
  margin-top: 3px;
}
.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}
.site-nav a {
  text-decoration: none;
  color: inherit;
}
.site-nav a:hover {
  color: #168da3;
}
.site-header__label {
  color: #7890a4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ui-icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  fill: none;
  vertical-align: -0.18em;
}
.site-header[data-theme='dark'] {
  background: #0c1b29;
  color: #eef5fc;
  border-color: #223746;
}
.site-header[data-theme='dark'] small {
  color: #97b3c5;
}
.site-header a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #3dbbb2;
  outline-offset: 4px;
}
body > .site-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  background: #0c2233;
  color: #c6d0d9;
  padding: 48px 0 24px;
  font: 16px/1.8 Tajawal, Arial, sans-serif;
  border: 0;
  direction: rtl;
}
.site-footer .footer-inner,
.site-footer .footer-bottom {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
}
.site-footer .footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 7px;
}
.site-footer .footer-brand h3 {
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 8px;
}
.site-footer .footer-brand p,
.site-footer .footer-contact p {
  font-size: 15px;
  max-width: 350px;
  margin: 0;
}
.site-footer .footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin: 0 0 18px;
}
.site-footer .footer-links a {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
}
.site-footer .footer-contact a {
  display: inline-block;
  direction: ltr;
  color: #84cfde;
  margin-top: 12px;
  text-decoration: none;
}
.site-footer .footer-bottom {
  border-top: 1px solid #304351;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.site-footer .copy {
  font-size: 12px;
  margin: 0;
}
.site-footer .esc-mark {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #7191a5;
}
.site-footer * {
  box-sizing: border-box;
}
.site-footer a:hover {
  color: white;
}
@media (max-width: 700px) {
  .site-header__inner {
    width: calc(100% - 32px);
    padding: 16px 0;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-header .site-brand {
    font-size: 17px;
  }
  .site-nav {
    gap: 16px;
    font-size: 13px;
  }
  .site-header__label {
    display: none;
  }
  .site-footer .footer-inner,
  .site-footer .footer-bottom {
    width: calc(100% - 32px);
  }
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer .footer-bottom {
    align-items: start;
  }
  .site-footer .copy {
    max-width: 260px;
  }
}
