﻿#header h1 {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: auto !important;
  min-height: 78px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-align: left !important;
}

#header h1 .tc-logo-3d {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 88px;
  margin: -8px 0 -8px -10px;
  overflow: visible;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(2px);
  filter: drop-shadow(0 14px 18px rgba(16, 73, 112, 0.2));
  transition: opacity 220ms ease, transform 220ms ease;
}

#header h1 .tc-logo-3d.is-ready {
  opacity: 1;
  transform: translateY(0);
}

#header h1 .tc-logo-3d__canvas {
  display: block;
  width: 136px !important;
  height: 88px !important;
}

#header h1:has(.tc-logo-3d)::before,
#header h1:has(.tc-logo-3d)::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 700px) {
  #header h1 {
    min-height: 60px !important;
    gap: 8px !important;
  }

  #header h1 .tc-logo-3d {
    width: 88px;
    height: 58px;
    margin-left: -6px;
  }

  #header h1 .tc-logo-3d__canvas {
    width: 88px !important;
    height: 58px !important;
  }
}
