.citta-youtube-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-control, 8px);
  background: #ff0033;
  color: #fff;
  box-shadow: 0 7px 18px rgba(183, 0, 37, 0.18);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.citta-youtube-button:hover {
  background: #d9002b;
  box-shadow: 0 9px 22px rgba(183, 0, 37, 0.28);
  color: #fff;
}

.citta-youtube-button:active {
  transform: translateY(1px);
}

.citta-youtube-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green, #0b5a33) 28%, transparent);
  outline-offset: 3px;
}

.citta-youtube-mark {
  position: relative;
  display: block;
  width: 23px;
  height: 16px;
  border-radius: 5px;
  background: #fff;
}

.citta-youtube-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #ff0033;
  content: "";
  transform: translate(-38%, -50%);
}

.citta-mobile-header-youtube {
  display: none;
}

@media (max-width: 1180px) {
  .citta-desktop-youtube {
    display: none;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    column-gap: 10px;
  }

  .site-header > .brand {
    grid-column: 1;
  }

  .site-header > .menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .site-header > .citta-mobile-header-youtube {
    grid-column: 4;
    display: inline-grid;
  }
}

@media (max-width: 680px) {
  .site-header {
    column-gap: 8px;
  }

  .citta-mobile-header-youtube {
    width: 42px;
    height: 42px;
    min-height: 42px;
    flex-basis: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .citta-youtube-button {
    transition: none;
  }
}
