/* ============================================================
   HEADER MOBILE — TÉLÉPHONE PORTRAIT
============================================================ */

.site-header-mobile {
  display: none;
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  .site-header-desktop {
    display: none !important;
  }

  .site-header-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 10px 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }

  .site-header-mobile .mobile-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }

  .site-header-mobile .weather-icon {
    position: relative;
    width: 42px;
    height: 48px;
    flex: 0 0 auto;
    margin-top: 1px;
    margin-right: 0;
  }

  .site-header-mobile .weather-icon svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-2px);
  }

  .site-header-mobile .mobile-header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    flex: 1;
    width: 262px;
    flex-basis: 262px;
  }

  .site-header-mobile .mobile-site-title {
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 0;
  }

  .site-header-mobile .mobile-site-title svg {
    width: min(262px, 68vw);
    height: auto;
    display: block;
    overflow: visible;
    filter:
      drop-shadow(0 0 4px rgba(0, 255, 102, 0.6))
      drop-shadow(0 0 10px rgba(0, 255, 102, 0.4));
  }

  .site-header-mobile .mobile-site-title svg .glyph {
    fill: none;
    stroke: var(--neon-green);
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 1;
    visibility: hidden;
  }

  .site-header-mobile .mobile-site-title svg .glyph-fill-path {
    fill: var(--neon-green);
    stroke: none;
  }

  .site-header-mobile .mobile-site-title svg .fill-rect {
    opacity: 1;
  }

  .site-header-mobile .mobile-site-subtitle {
    font-size: 0.80rem;
    font-weight: 400;
    letter-spacing: 0.28px;
    line-height: 1.15;
    opacity: 0;
    margin: 4px 0 0 0;
    padding: 0;
    transform: translateY(6px);
  }

  .site-header-mobile .mobile-header-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    margin-top: 4px;
    width: 100%;
  }

  .site-header-mobile .mobile-site-date {
    font-size: 0.72rem;
    font-weight: 300;
    opacity: 0.88;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  #live-clock-mobile {
    display: inline-block;
    min-width: 42px;
  }

  .site-header-mobile .mobile-header-banner {
    display: block;
    width: 90px;
    height: auto;
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 6px;
    transform: none;
  }
}