/* =========================================
   1. SITE CONTAINER
   ========================================= */
   
main .sections:first-child .page-section:first-child {
  padding-top: 2vw;
}

.header .header-announcement-bar-wrapper {
  padding: 0px !important;
}

.page-section.vertical-alignment--top:not(.content-collection):not(.gallery-section):not(.user-items-list-section):not(.section-height--custom):not(.editmode-changing-rowcount)>.content-wrapper  {
  padding-top:0px;
}

/* =========================================
   2. HEADER
   ========================================= */

.header-title-logo img {
  display: none !important;
}


.logo {
  position: fixed;
  top: 2vw;
  right: 2vw;
  width: 34px; /* Adjust size as needed */
  height: 50px; 
  z-index: 999; /* Above content, below menu overlay */
  display: block;
  
  background-image: url('https://structure.studiokanban.nl/image/kanban-logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  transform-origin: center center;
  
  transition: opacity 0.3s ease, filter 0.3s ease;
  mix-blend-mode: difference !important;
}

body.menu-locked .logo {
  opacity: 0;
  pointer-events: none;
}

.logo:hover {
animation: gelatine 0.6s infinite;
}

@keyframes gelatine {
  from, to { transform: scale(1, 1); }
  25% { transform: scale(0.9, 1.1); }
  50% { transform: scale(1.1, 0.9); }
  75% { transform: scale(0.95, 1.05); }
}


/* =========================================
   3. FOOTER
   ========================================= */

.ftr-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ftr-left, .ftr-right {
  padding: 5px 0px;
}

.ftr-left {
  display: block;
}

.ftr-right {
  display: flex;
  gap: 1.5rem;
}

.ftr-right a {
  text-decoration: none;
}

/* =========================================
   4. MOBILE OVERRIDES
   ========================================= */
@media (max-width: 768px) {

  main .sections:first-child .page-section:first-child {
  padding-top: 6vw;
  }

  .logo {
  top: 6vw;
  right: 6vw;
  }

  .ftr-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0rem;
  }

  .ftr-right {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .header-title-logo:hover {
  animation: none;
  }
}