/* ELBOSSILY | Header fire V4: letter-contour flame glow + sparse curling tongues.
 * Local preview only. Keep the actual title as accessible HTML text. */
body .site-header .brand {
  min-width: 0;
  overflow: visible !important;
}
body .site-header .brand > span:last-child {
  position: relative !important;
  isolation: isolate;
  overflow: visible !important;
}
body .site-header .brand strong[data-i18n="brandTitle"] {
  position: relative !important;
  z-index: 3 !important;
  display: block !important;
  width: max-content;
  max-width: 100%;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.72rem, 2.18vw, 2.3rem) !important;
  line-height: 1.24 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  color: #7d381f !important;
  background-image: linear-gradient(180deg, #fff0bc 0%, #db9a4f 18%, #a6572c 46%, #793619 70%, #52231a 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(1px 1px 0 #d18a47)
          drop-shadow(2px 2px 0 #96502a)
          drop-shadow(3px 3px 0 #552719)
          drop-shadow(3px 5px 5px rgba(54,25,12,.22));
  animation: none !important;
}
body.lang-ar .site-header .brand strong[data-i18n="brandTitle"] {
  font-family: 'Noto Kufi Arabic', Tahoma, Arial, sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.53 !important;
  letter-spacing: 0 !important;
}
body .site-header .brand small[data-i18n="brandSubtitle"] {
  position: relative;
  z-index: 3 !important;
}
/* Retire older flame engines. V4 inserts one non-interactive canvas behind the letters. */
body .site-header .brand .elb-fire-crown,
body .site-header .brand .elb-fire-canvas-v3 {
  display: none !important;
}
body .site-header .brand canvas.elb-letter-flames-v4 {
  position: absolute !important;
  display: block !important;
  z-index: 2 !important;
  max-width: none !important;
  height: auto;
  pointer-events: none !important;
  user-select: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: visible;
}
@media (max-width: 1110px) {
  body .site-header .brand strong[data-i18n="brandTitle"] {
    font-size: clamp(1.45rem, 2.55vw, 1.92rem) !important;
  }
}
@media (max-width: 700px) {
  body .site-header .brand strong[data-i18n="brandTitle"],
  body.lang-ar .site-header .brand strong[data-i18n="brandTitle"] {
    font-size: clamp(1.02rem, 3.72vw, 1.48rem) !important;
    max-width: min(100%, 80vw);
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .site-header .brand canvas.elb-letter-flames-v4 {
    opacity: .73;
  }
}
