/* Exact art from DESIGN v3. Keep live semantic labels in the HTML. */
:root {
  --dymo-button-red: #b51f24;
  --dymo-button-sprite: url("assets/knappar-vit-rod-5texter.png");
  --dymo-button-collapse-sprite: url("assets/visa-farre-datum.png");
}

.hero-actions > a.button.button-primary[href="turne.html"],
.hero-actions > a.button.button-ghost[href="/hur-gick-det-till.html"],
.home-music .home-section-heading > a.button.button-ghost[href="diskografi.html"],
.contact-page .contact-form button.button.button-dark[type="submit"] {
  max-width: 100%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
}

.hero-actions > a.button.button-primary[href="turne.html"]::before {
  content: "";
  display: block;
  flex: 0 1 auto;
  width: 144px;
  max-width: 100%;
  aspect-ratio: 550 / 149;
  background-image: var(--dymo-button-sprite);
  background-repeat: no-repeat;
  background-size: 394.9091% auto;
  background-position: 4.5623% 0.6957%;
  pointer-events: none;
}

.hero-actions > a.button.button-ghost[href="/hur-gick-det-till.html"]::before {
  content: "";
  display: block;
  flex: 0 1 auto;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 1090 / 139;
  background-image: var(--dymo-button-sprite);
  background-repeat: no-repeat;
  background-size: 199.2661% auto;
  background-position: 6.8392% 27.0085%;
  pointer-events: none;
}

.home-music .home-section-heading > a.button.button-ghost[href="diskografi.html"]::before {
  content: "";
  display: block;
  flex: 0 1 auto;
  width: 348px;
  max-width: 100%;
  aspect-ratio: 1389 / 141;
  background-image: var(--dymo-button-sprite);
  background-repeat: no-repeat;
  background-size: 156.3715% auto;
  background-position: 9.4508% 75.3002%;
  pointer-events: none;
}

#tour-expand.tour-expand[aria-expanded="false"],
#tour-expand.tour-expand[aria-expanded="true"] {
  max-width: 100%;
  min-height: 48px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
  gap: 0 !important;
}

#tour-expand.tour-expand[aria-expanded="false"]::before,
#tour-expand.tour-expand[aria-expanded="true"]::before {
  content: "";
  display: block;
  flex: 0 1 auto;
  max-width: 100%;
  pointer-events: none;
}

#tour-expand.tour-expand[aria-expanded="false"]::before {
  width: 220px;
  aspect-ratio: 822 / 135;
  background-image: var(--dymo-button-sprite);
  background-repeat: no-repeat;
  background-size: 264.2336% auto;
  background-position: 5.4815% 51.1036%;
}

#tour-expand.tour-expand[aria-expanded="true"]::before {
  width: 248px;
  aspect-ratio: 1602 / 244;
  background-image: var(--dymo-button-collapse-sprite);
  background-repeat: no-repeat;
  background-size: 135.5805% auto;
  background-position: 50% 51.25%;
}

#tour-expand.tour-expand[aria-expanded="false"] > span,
#tour-expand.tour-expand[aria-expanded="true"] > span {
  color: var(--dymo-button-red) !important;
  font-size: 17px !important;
  line-height: 1;
  margin-left: 14px;
}

.contact-page .contact-form button.button.button-dark.dymo-button-contact[type="submit"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.dymo-button-contact__semantic {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dymo-button-contact__art {
  display: block;
  flex: 0 1 auto;
  width: 250px;
  max-width: 100%;
  aspect-ratio: 972 / 139;
  background-image: var(--dymo-button-sprite);
  background-repeat: no-repeat;
  background-size: 223.4568% auto;
  background-position: 6.1667% 99.6581%;
  pointer-events: none;
}

.dymo-button-contact__arrow {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--dymo-button-red);
  font: 700 18px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  pointer-events: none;
}

#tour-expand.tour-expand[aria-expanded="false"]::before,
#tour-expand.tour-expand[aria-expanded="true"]::before {
  transition: transform .18s ease, filter .18s ease;
}

#tour-expand.tour-expand[aria-expanded="false"]:hover::before,
#tour-expand.tour-expand[aria-expanded="false"]:focus-visible::before,
#tour-expand.tour-expand[aria-expanded="true"]:hover::before,
#tour-expand.tour-expand[aria-expanded="true"]:focus-visible::before {
  filter: brightness(.96);
  transform: translateY(-2px);
}

.dymo-button-contact__semantic {
  font-size: 1px !important;
  line-height: 1px !important;
}
